- 1.72.0 (latest)
- 1.71.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.2
- 1.65.0
- 1.64.0
- 1.63.1
- 1.62.0
- 1.61.0
- 1.60.0
- 1.59.1
- 1.58.0
- 1.57.1
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.2
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.1
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.2
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.1
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
Variables
DataSourceParameter_Type_name, DataSourceParameter_Type_value
var (
DataSourceParameter_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "STRING",
2: "INTEGER",
3: "DOUBLE",
4: "BOOLEAN",
5: "RECORD",
6: "PLUS_PAGE",
}
DataSourceParameter_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"STRING": 1,
"INTEGER": 2,
"DOUBLE": 3,
"BOOLEAN": 4,
"RECORD": 5,
"PLUS_PAGE": 6,
}
)Enum value maps for DataSourceParameter_Type.
DataSource_AuthorizationType_name, DataSource_AuthorizationType_value
var (
DataSource_AuthorizationType_name = map[int32]string{
0: "AUTHORIZATION_TYPE_UNSPECIFIED",
1: "AUTHORIZATION_CODE",
2: "GOOGLE_PLUS_AUTHORIZATION_CODE",
3: "FIRST_PARTY_OAUTH",
}
DataSource_AuthorizationType_value = map[string]int32{
"AUTHORIZATION_TYPE_UNSPECIFIED": 0,
"AUTHORIZATION_CODE": 1,
"GOOGLE_PLUS_AUTHORIZATION_CODE": 2,
"FIRST_PARTY_OAUTH": 3,
}
)Enum value maps for DataSource_AuthorizationType.
DataSource_DataRefreshType_name, DataSource_DataRefreshType_value
var (
DataSource_DataRefreshType_name = map[int32]string{
0: "DATA_REFRESH_TYPE_UNSPECIFIED",
1: "SLIDING_WINDOW",
2: "CUSTOM_SLIDING_WINDOW",
}
DataSource_DataRefreshType_value = map[string]int32{
"DATA_REFRESH_TYPE_UNSPECIFIED": 0,
"SLIDING_WINDOW": 1,
"CUSTOM_SLIDING_WINDOW": 2,
}
)Enum value maps for DataSource_DataRefreshType.
ListTransferRunsRequest_RunAttempt_name, ListTransferRunsRequest_RunAttempt_value
var (
ListTransferRunsRequest_RunAttempt_name = map[int32]string{
0: "RUN_ATTEMPT_UNSPECIFIED",
1: "LATEST",
}
ListTransferRunsRequest_RunAttempt_value = map[string]int32{
"RUN_ATTEMPT_UNSPECIFIED": 0,
"LATEST": 1,
}
)Enum value maps for ListTransferRunsRequest_RunAttempt.
TransferType_name, TransferType_value
var (
TransferType_name = map[int32]string{
0: "TRANSFER_TYPE_UNSPECIFIED",
1: "BATCH",
2: "STREAMING",
}
TransferType_value = map[string]int32{
"TRANSFER_TYPE_UNSPECIFIED": 0,
"BATCH": 1,
"STREAMING": 2,
}
)Enum value maps for TransferType.
TransferState_name, TransferState_value
var (
TransferState_name = map[int32]string{
0: "TRANSFER_STATE_UNSPECIFIED",
2: "PENDING",
3: "RUNNING",
4: "SUCCEEDED",
5: "FAILED",
6: "CANCELLED",
}
TransferState_value = map[string]int32{
"TRANSFER_STATE_UNSPECIFIED": 0,
"PENDING": 2,
"RUNNING": 3,
"SUCCEEDED": 4,
"FAILED": 5,
"CANCELLED": 6,
}
)Enum value maps for TransferState.
TransferMessage_MessageSeverity_name, TransferMessage_MessageSeverity_value
var (
TransferMessage_MessageSeverity_name = map[int32]string{
0: "MESSAGE_SEVERITY_UNSPECIFIED",
1: "INFO",
2: "WARNING",
3: "ERROR",
}
TransferMessage_MessageSeverity_value = map[string]int32{
"MESSAGE_SEVERITY_UNSPECIFIED": 0,
"INFO": 1,
"WARNING": 2,
"ERROR": 3,
}
)Enum value maps for TransferMessage_MessageSeverity.
File_google_cloud_bigquery_datatransfer_v1_datatransfer_proto
var File_google_cloud_bigquery_datatransfer_v1_datatransfer_proto protoreflect.FileDescriptorFile_google_cloud_bigquery_datatransfer_v1_transfer_proto
var File_google_cloud_bigquery_datatransfer_v1_transfer_proto protoreflect.FileDescriptorFunctions
func RegisterDataTransferServiceServer
func RegisterDataTransferServiceServer(s *grpc.Server, srv DataTransferServiceServer)CheckValidCredsRequest
type CheckValidCredsRequest struct {
// Required. The data source in the form:
// `projects/{project_id}/dataSources/{data_source_id}` or
// `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}A request to determine whether the user has valid credentials. This method is used to limit the number of OAuth popups in the user interface. The user id is inferred from the API call context. If the data source has the Google+ authorization type, this method returns false, as it cannot be determined whether the credentials are already valid merely based on the user id.
func (*CheckValidCredsRequest) Descriptor
func (*CheckValidCredsRequest) Descriptor() ([]byte, []int)Deprecated: Use CheckValidCredsRequest.ProtoReflect.Descriptor instead.
func (*CheckValidCredsRequest) GetName
func (x *CheckValidCredsRequest) GetName() stringfunc (*CheckValidCredsRequest) ProtoMessage
func (*CheckValidCredsRequest) ProtoMessage()func (*CheckValidCredsRequest) ProtoReflect
func (x *CheckValidCredsRequest) ProtoReflect() protoreflect.Messagefunc (*CheckValidCredsRequest) Reset
func (x *CheckValidCredsRequest) Reset()func (*CheckValidCredsRequest) String
func (x *CheckValidCredsRequest) String() stringCheckValidCredsResponse
type CheckValidCredsResponse struct {
// If set to `true`, the credentials exist and are valid.
HasValidCreds bool `protobuf:"varint,1,opt,name=has_valid_creds,json=hasValidCreds,proto3" json:"has_valid_creds,omitempty"`
// contains filtered or unexported fields
}A response indicating whether the credentials exist and are valid.
func (*CheckValidCredsResponse) Descriptor
func (*CheckValidCredsResponse) Descriptor() ([]byte, []int)Deprecated: Use CheckValidCredsResponse.ProtoReflect.Descriptor instead.
func (*CheckValidCredsResponse) GetHasValidCreds
func (x *CheckValidCredsResponse) GetHasValidCreds() boolfunc (*CheckValidCredsResponse) ProtoMessage
func (*CheckValidCredsResponse) ProtoMessage()func (*CheckValidCredsResponse) ProtoReflect
func (x *CheckValidCredsResponse) ProtoReflect() protoreflect.Messagefunc (*CheckValidCredsResponse) Reset
func (x *CheckValidCredsResponse) Reset()func (*CheckValidCredsResponse) String
func (x *CheckValidCredsResponse) String() stringCreateTransferConfigRequest
type CreateTransferConfigRequest struct {
// Required. The BigQuery project id where the transfer configuration should
// be created. Must be in the format
// projects/{project_id}/locations/{location_id} or projects/{project_id}. If
// specified location and location of the destination bigquery dataset do not
// match - the request will fail.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Data transfer configuration to create.
TransferConfig *TransferConfig `protobuf:"bytes,2,opt,name=transfer_config,json=transferConfig,proto3" json:"transfer_config,omitempty"`
// Optional OAuth2 authorization code to use with this transfer configuration.
// This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
// and new credentials are needed, as indicated by `CheckValidCreds`. In order
// to obtain authorization_code, make a request to the following URL:
// // https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes
// // https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes //
A request to create a data transfer configuration. If new credentials are needed for this transfer configuration, authorization info must be provided. If authorization info is provided, the transfer configuration will be associated with the user id corresponding to the authorization info. Otherwise, the transfer configuration will be associated with the calling user.
func (*CreateTransferConfigRequest) Descriptor
func (*CreateTransferConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateTransferConfigRequest.ProtoReflect.Descriptor instead.
func (*CreateTransferConfigRequest) GetAuthorizationCode
func (x *CreateTransferConfigRequest) GetAuthorizationCode() stringfunc (*CreateTransferConfigRequest) GetParent
func (x *CreateTransferConfigRequest) GetParent() stringfunc (*CreateTransferConfigRequest) GetServiceAccountName
func (x *CreateTransferConfigRequest) GetServiceAccountName() stringfunc (*CreateTransferConfigRequest) GetTransferConfig
func (x *CreateTransferConfigRequest) GetTransferConfig() *TransferConfigfunc (*CreateTransferConfigRequest) GetVersionInfo
func (x *CreateTransferConfigRequest) GetVersionInfo() stringfunc (*CreateTransferConfigRequest) ProtoMessage
func (*CreateTransferConfigRequest) ProtoMessage()func (*CreateTransferConfigRequest) ProtoReflect
func (x *CreateTransferConfigRequest) ProtoReflect() protoreflect.Messagefunc (*CreateTransferConfigRequest) Reset
func (x *CreateTransferConfigRequest) Reset()func (*CreateTransferConfigRequest) String
func (x *CreateTransferConfigRequest) String() stringDataSource
type DataSource struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DataSourceId string `protobuf:"bytes,2,opt,name=data_source_id,json=dataSourceId,proto3" json:"data_source_id,omitempty"`
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
ClientId string `protobuf:"bytes,5,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
Scopes []string `protobuf:"bytes,6,rep,name=scopes,proto3" json:"scopes,omitempty"`
TransferType TransferType "" /* 154 byte string literal not displayed */
SupportsMultipleTransfers bool "" /* 139 byte string literal not displayed */
UpdateDeadlineSeconds int32 "" /* 127 byte string literal not displayed */
DefaultSchedule string `protobuf:"bytes,10,opt,name=default_schedule,json=defaultSchedule,proto3" json:"default_schedule,omitempty"`
SupportsCustomSchedule bool "" /* 131 byte string literal not displayed */
Parameters []*DataSourceParameter `protobuf:"bytes,12,rep,name=parameters,proto3" json:"parameters,omitempty"`
HelpUrl string `protobuf:"bytes,13,opt,name=help_url,json=helpUrl,proto3" json:"help_url,omitempty"`
AuthorizationType DataSource_AuthorizationType "" /* 186 byte string literal not displayed */
DataRefreshType DataSource_DataRefreshType "" /* 180 byte string literal not displayed */
DefaultDataRefreshWindowDays int32 "" /* 153 byte string literal not displayed */
ManualRunsDisabled bool `protobuf:"varint,17,opt,name=manual_runs_disabled,json=manualRunsDisabled,proto3" json:"manual_runs_disabled,omitempty"`
MinimumScheduleInterval *durationpb.Duration "" /* 133 byte string literal not displayed */
}Defines the properties and custom parameters for a data source.
func (*DataSource) Descriptor
func (*DataSource) Descriptor() ([]byte, []int)Deprecated: Use DataSource.ProtoReflect.Descriptor instead.
func (*DataSource) GetAuthorizationType
func (x *DataSource) GetAuthorizationType() DataSource_AuthorizationTypefunc (*DataSource) GetClientId
func (x *DataSource) GetClientId() stringfunc (*DataSource) GetDataRefreshType
func (x *DataSource) GetDataRefreshType() DataSource_DataRefreshTypefunc (*DataSource) GetDataSourceId
func (x *DataSource) GetDataSourceId() stringfunc (*DataSource) GetDefaultDataRefreshWindowDays
func (x *DataSource) GetDefaultDataRefreshWindowDays() int32func (*DataSource) GetDefaultSchedule
func (x *DataSource) GetDefaultSchedule() stringfunc (*DataSource) GetDescription
func (x *DataSource) GetDescription() stringfunc (*DataSource) GetDisplayName
func (x *DataSource) GetDisplayName() stringfunc (*DataSource) GetHelpUrl
func (x *DataSource) GetHelpUrl() stringfunc (*DataSource) GetManualRunsDisabled
func (x *DataSource) GetManualRunsDisabled() boolfunc (*DataSource) GetMinimumScheduleInterval
func (x *DataSource) GetMinimumScheduleInterval() *durationpb.Durationfunc (*DataSource) GetName
func (x *DataSource) GetName() stringfunc (*DataSource) GetParameters
func (x *DataSource) GetParameters() []*DataSourceParameterfunc (*DataSource) GetScopes
func (x *DataSource) GetScopes() []stringfunc (*DataSource) GetSupportsCustomSchedule
func (x *DataSource) GetSupportsCustomSchedule() boolfunc (*DataSource) GetSupportsMultipleTransfers
func (x *DataSource) GetSupportsMultipleTransfers() boolDeprecated: Marked as deprecated in google/cloud/bigquery/datatransfer/v1/datatransfer.proto.
func (*DataSource) GetTransferType
func (x *DataSource) GetTransferType() TransferTypeDeprecated: Marked as deprecated in google/cloud/bigquery/datatransfer/v1/datatransfer.proto.
func (*DataSource) GetUpdateDeadlineSeconds
func (x *DataSource) GetUpdateDeadlineSeconds() int32func (*DataSource) ProtoMessage
func (*DataSource) ProtoMessage()func (*DataSource) ProtoReflect
func (x *DataSource) ProtoReflect() protoreflect.Messagefunc (*DataSource) Reset
func (x *DataSource) Reset()func (*DataSource) String
func (x *DataSource) String() stringDataSourceParameter
type DataSourceParameter struct {
ParamId string `protobuf:"bytes,1,opt,name=param_id,json=paramId,proto3" json:"param_id,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Type DataSourceParameter_Type "" /* 130 byte string literal not displayed */
Required bool `protobuf:"varint,5,opt,name=required,proto3" json:"required,omitempty"`
Repeated bool `protobuf:"varint,6,opt,name=repeated,proto3" json:"repeated,omitempty"`
ValidationRegex string `protobuf:"bytes,7,opt,name=validation_regex,json=validationRegex,proto3" json:"validation_regex,omitempty"`
AllowedValues []string `protobuf:"bytes,8,rep,name=allowed_values,json=allowedValues,proto3" json:"allowed_values,omitempty"`
MinValue *wrapperspb.DoubleValue `protobuf:"bytes,9,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"`
MaxValue *wrapperspb.DoubleValue `protobuf:"bytes,10,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"`
Fields []*DataSourceParameter `protobuf:"bytes,11,rep,name=fields,proto3" json:"fields,omitempty"`
ValidationDescription string `protobuf:"bytes,12,opt,name=validation_description,json=validationDescription,proto3" json:"validation_description,omitempty"`
ValidationHelpUrl string `protobuf:"bytes,13,opt,name=validation_help_url,json=validationHelpUrl,proto3" json:"validation_help_url,omitempty"`
Immutable bool `protobuf:"varint,14,opt,name=immutable,proto3" json:"immutable,omitempty"`
Recurse bool `protobuf:"varint,15,opt,name=recurse,proto3" json:"recurse,omitempty"`
Deprecated bool `protobuf:"varint,20,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
}A parameter used to define custom fields in a data source definition.
func (*DataSourceParameter) Descriptor
func (*DataSourceParameter) Descriptor() ([]byte, []int)Deprecated: Use DataSourceParameter.ProtoReflect.Descriptor instead.
func (*DataSourceParameter) GetAllowedValues
func (x *DataSourceParameter) GetAllowedValues() []stringfunc (*DataSourceParameter) GetDeprecated
func (x *DataSourceParameter) GetDeprecated() boolfunc (*DataSourceParameter) GetDescription
func (x *DataSourceParameter) GetDescription() stringfunc (*DataSourceParameter) GetDisplayName
func (x *DataSourceParameter) GetDisplayName() stringfunc (*DataSourceParameter) GetFields
func (x *DataSourceParameter) GetFields() []*DataSourceParameterfunc (*DataSourceParameter) GetImmutable
func (x *DataSourceParameter) GetImmutable() boolfunc (*DataSourceParameter) GetMaxValue
func (x *DataSourceParameter) GetMaxValue() *wrapperspb.DoubleValuefunc (*DataSourceParameter) GetMinValue
func (x *DataSourceParameter) GetMinValue() *wrapperspb.DoubleValuefunc (*DataSourceParameter) GetParamId
func (x *DataSourceParameter) GetParamId() stringfunc (*DataSourceParameter) GetRecurse
func (x *DataSourceParameter) GetRecurse() boolfunc (*DataSourceParameter) GetRepeated
func (x *DataSourceParameter) GetRepeated() boolfunc (*DataSourceParameter) GetRequired
func (x *DataSourceParameter) GetRequired() boolfunc (*DataSourceParameter) GetType
func (x *DataSourceParameter) GetType() DataSourceParameter_Typefunc (*DataSourceParameter) GetValidationDescription
func (x *DataSourceParameter) GetValidationDescription() stringfunc (*DataSourceParameter) GetValidationHelpUrl
func (x *DataSourceParameter) GetValidationHelpUrl() stringfunc (*DataSourceParameter) GetValidationRegex
func (x *DataSourceParameter) GetValidationRegex() stringfunc (*DataSourceParameter) ProtoMessage
func (*DataSourceParameter) ProtoMessage()func (*DataSourceParameter) ProtoReflect
func (x *DataSourceParameter) ProtoReflect() protoreflect.Messagefunc (*DataSourceParameter) Reset
func (x *DataSourceParameter) Reset()func (*DataSourceParameter) String
func (x *DataSourceParameter) String() stringDataSourceParameter_Type
type DataSourceParameter_Type int32Parameter type.
DataSourceParameter_TYPE_UNSPECIFIED, DataSourceParameter_STRING, DataSourceParameter_INTEGER, DataSourceParameter_DOUBLE, DataSourceParameter_BOOLEAN, DataSourceParameter_RECORD, DataSourceParameter_PLUS_PAGE
const (
// Type unspecified.
DataSourceParameter_TYPE_UNSPECIFIED DataSourceParameter_Type = 0
// String parameter.
DataSourceParameter_STRING DataSourceParameter_Type = 1
// Integer parameter (64-bits).
// Will be serialized to json as string.
DataSourceParameter_INTEGER DataSourceParameter_Type = 2
// Double precision floating point parameter.
DataSourceParameter_DOUBLE DataSourceParameter_Type = 3
// Boolean parameter.
DataSourceParameter_BOOLEAN DataSourceParameter_Type = 4
// Deprecated. This field has no effect.
DataSourceParameter_RECORD DataSourceParameter_Type = 5
// Page ID for a Google+ Page.
DataSourceParameter_PLUS_PAGE DataSourceParameter_Type = 6
)func (DataSourceParameter_Type) Descriptor
func (DataSourceParameter_Type) Descriptor() protoreflect.EnumDescriptorfunc (DataSourceParameter_Type) Enum
func (x DataSourceParameter_Type) Enum() *DataSourceParameter_Typefunc (DataSourceParameter_Type) EnumDescriptor
func (DataSourceParameter_Type) EnumDescriptor() ([]byte, []int)Deprecated: Use DataSourceParameter_Type.Descriptor instead.
func (DataSourceParameter_Type) Number
func (x DataSourceParameter_Type) Number() protoreflect.EnumNumberfunc (DataSourceParameter_Type) String
func (x DataSourceParameter_Type) String() stringfunc (DataSourceParameter_Type) Type
func (DataSourceParameter_Type) Type() protoreflect.EnumTypeDataSource_AuthorizationType
type DataSource_AuthorizationType int32The type of authorization needed for this data source.
DataSource_AUTHORIZATION_TYPE_UNSPECIFIED, DataSource_AUTHORIZATION_CODE, DataSource_GOOGLE_PLUS_AUTHORIZATION_CODE, DataSource_FIRST_PARTY_OAUTH
const (
// Type unspecified.
DataSource_AUTHORIZATION_TYPE_UNSPECIFIED DataSource_AuthorizationType = 0
// Use OAuth 2 authorization codes that can be exchanged
// for a refresh token on the backend.
DataSource_AUTHORIZATION_CODE DataSource_AuthorizationType = 1
// Return an authorization code for a given Google+ page that can then be
// exchanged for a refresh token on the backend.
DataSource_GOOGLE_PLUS_AUTHORIZATION_CODE DataSource_AuthorizationType = 2
// Use First Party OAuth.
DataSource_FIRST_PARTY_OAUTH DataSource_AuthorizationType = 3
)func (DataSource_AuthorizationType) Descriptor
func (DataSource_AuthorizationType) Descriptor() protoreflect.EnumDescriptorfunc (DataSource_AuthorizationType) Enum
func (x DataSource_AuthorizationType) Enum() *DataSource_AuthorizationTypefunc (DataSource_AuthorizationType) EnumDescriptor
func (DataSource_AuthorizationType) EnumDescriptor() ([]byte, []int)Deprecated: Use DataSource_AuthorizationType.Descriptor instead.
func (DataSource_AuthorizationType) Number
func (x DataSource_AuthorizationType) Number() protoreflect.EnumNumberfunc (DataSource_AuthorizationType) String
func (x DataSource_AuthorizationType) String() stringfunc (DataSource_AuthorizationType) Type
func (DataSource_AuthorizationType) Type() protoreflect.EnumTypeDataSource_DataRefreshType
type DataSource_DataRefreshType int32Represents how the data source supports data auto refresh.
DataSource_DATA_REFRESH_TYPE_UNSPECIFIED, DataSource_SLIDING_WINDOW, DataSource_CUSTOM_SLIDING_WINDOW
const (
// The data source won't support data auto refresh, which is default value.
DataSource_DATA_REFRESH_TYPE_UNSPECIFIED DataSource_DataRefreshType = 0
// The data source supports data auto refresh, and runs will be scheduled
// for the past few days. Does not allow custom values to be set for each
// transfer config.
DataSource_SLIDING_WINDOW DataSource_DataRefreshType = 1
// The data source supports data auto refresh, and runs will be scheduled
// for the past few days. Allows custom values to be set for each transfer
// config.
DataSource_CUSTOM_SLIDING_WINDOW DataSource_DataRefreshType = 2
)func (DataSource_DataRefreshType) Descriptor
func (DataSource_DataRefreshType) Descriptor() protoreflect.EnumDescriptorfunc (DataSource_DataRefreshType) Enum
func (x DataSource_DataRefreshType) Enum() *DataSource_DataRefreshTypefunc (DataSource_DataRefreshType) EnumDescriptor
func (DataSource_DataRefreshType) EnumDescriptor() ([]byte, []int)Deprecated: Use DataSource_DataRefreshType.Descriptor instead.
func (DataSource_DataRefreshType) Number
func (x DataSource_DataRefreshType) Number() protoreflect.EnumNumberfunc (DataSource_DataRefreshType) String
func (x DataSource_DataRefreshType) String() stringfunc (DataSource_DataRefreshType) Type
func (DataSource_DataRefreshType) Type() protoreflect.EnumTypeDataTransferServiceClient
type DataTransferServiceClient interface {
// Retrieves a supported data source and returns its settings.
GetDataSource(ctx context.Context, in *GetDataSourceRequest, opts ...grpc.CallOption) (*DataSource, error)
// Lists supported data sources and returns their settings.
ListDataSources(ctx context.Context, in *ListDataSourcesRequest, opts ...grpc.CallOption) (*ListDataSourcesResponse, error)
// Creates a new data transfer configuration.
CreateTransferConfig(ctx context.Context, in *CreateTransferConfigRequest, opts ...grpc.CallOption) (*TransferConfig, error)
// Updates a data transfer configuration.
// All fields must be set, even if they are not updated.
UpdateTransferConfig(ctx context.Context, in *UpdateTransferConfigRequest, opts ...grpc.CallOption) (*TransferConfig, error)
// Deletes a data transfer configuration, including any associated transfer
// runs and logs.
DeleteTransferConfig(ctx context.Context, in *DeleteTransferConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Returns information about a data transfer config.
GetTransferConfig(ctx context.Context, in *GetTransferConfigRequest, opts ...grpc.CallOption) (*TransferConfig, error)
// Returns information about all transfer configs owned by a project in the
// specified location.
ListTransferConfigs(ctx context.Context, in *ListTransferConfigsRequest, opts ...grpc.CallOption) (*ListTransferConfigsResponse, error)
// Deprecated: Do not use.
// Creates transfer runs for a time range [start_time, end_time].
// For each date - or whatever granularity the data source supports - in the
// range, one transfer run is created.
// Note that runs are created per UTC time in the time range.
// DEPRECATED: use StartManualTransferRuns instead.
ScheduleTransferRuns(ctx context.Context, in *ScheduleTransferRunsRequest, opts ...grpc.CallOption) (*ScheduleTransferRunsResponse, error)
// Start manual transfer runs to be executed now with schedule_time equal to
// current time. The transfer runs can be created for a time range where the
// run_time is between start_time (inclusive) and end_time (exclusive), or for
// a specific run_time.
StartManualTransferRuns(ctx context.Context, in *StartManualTransferRunsRequest, opts ...grpc.CallOption) (*StartManualTransferRunsResponse, error)
// Returns information about the particular transfer run.
GetTransferRun(ctx context.Context, in *GetTransferRunRequest, opts ...grpc.CallOption) (*TransferRun, error)
// Deletes the specified transfer run.
DeleteTransferRun(ctx context.Context, in *DeleteTransferRunRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Returns information about running and completed transfer runs.
ListTransferRuns(ctx context.Context, in *ListTransferRunsRequest, opts ...grpc.CallOption) (*ListTransferRunsResponse, error)
// Returns log messages for the transfer run.
ListTransferLogs(ctx context.Context, in *ListTransferLogsRequest, opts ...grpc.CallOption) (*ListTransferLogsResponse, error)
// Returns true if valid credentials exist for the given data source and
// requesting user.
CheckValidCreds(ctx context.Context, in *CheckValidCredsRequest, opts ...grpc.CallOption) (*CheckValidCredsResponse, error)
// Enroll data sources in a user project. This allows users to create transfer
// configurations for these data sources. They will also appear in the
// ListDataSources RPC and as such, will appear in the
// [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
// can be found in the public guide for
// [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
// [Data Transfer
// Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
EnrollDataSources(ctx context.Context, in *EnrollDataSourcesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}DataTransferServiceClient is the client API for DataTransferService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDataTransferServiceClient
func NewDataTransferServiceClient(cc grpc.ClientConnInterface) DataTransferServiceClientDataTransferServiceServer
type DataTransferServiceServer interface {
// Retrieves a supported data source and returns its settings.
GetDataSource(context.Context, *GetDataSourceRequest) (*DataSource, error)
// Lists supported data sources and returns their settings.
ListDataSources(context.Context, *ListDataSourcesRequest) (*ListDataSourcesResponse, error)
// Creates a new data transfer configuration.
CreateTransferConfig(context.Context, *CreateTransferConfigRequest) (*TransferConfig, error)
// Updates a data transfer configuration.
// All fields must be set, even if they are not updated.
UpdateTransferConfig(context.Context, *UpdateTransferConfigRequest) (*TransferConfig, error)
// Deletes a data transfer configuration, including any associated transfer
// runs and logs.
DeleteTransferConfig(context.Context, *DeleteTransferConfigRequest) (*emptypb.Empty, error)
// Returns information about a data transfer config.
GetTransferConfig(context.Context, *GetTransferConfigRequest) (*TransferConfig, error)
// Returns information about all transfer configs owned by a project in the
// specified location.
ListTransferConfigs(context.Context, *ListTransferConfigsRequest) (*ListTransferConfigsResponse, error)
// Deprecated: Do not use.
// Creates transfer runs for a time range [start_time, end_time].
// For each date - or whatever granularity the data source supports - in the
// range, one transfer run is created.
// Note that runs are created per UTC time in the time range.
// DEPRECATED: use StartManualTransferRuns instead.
ScheduleTransferRuns(context.Context, *ScheduleTransferRunsRequest) (*ScheduleTransferRunsResponse, error)
// Start manual transfer runs to be executed now with schedule_time equal to
// current time. The transfer runs can be created for a time range where the
// run_time is between start_time (inclusive) and end_time (exclusive), or for
// a specific run_time.
StartManualTransferRuns(context.Context, *StartManualTransferRunsRequest) (*StartManualTransferRunsResponse, error)
// Returns information about the particular transfer run.
GetTransferRun(context.Context, *GetTransferRunRequest) (*TransferRun, error)
// Deletes the specified transfer run.
DeleteTransferRun(context.Context, *DeleteTransferRunRequest) (*emptypb.Empty, error)
// Returns information about running and completed transfer runs.
ListTransferRuns(context.Context, *ListTransferRunsRequest) (*ListTransferRunsResponse, error)
// Returns log messages for the transfer run.
ListTransferLogs(context.Context, *ListTransferLogsRequest) (*ListTransferLogsResponse, error)
// Returns true if valid credentials exist for the given data source and
// requesting user.
CheckValidCreds(context.Context, *CheckValidCredsRequest) (*CheckValidCredsResponse, error)
// Enroll data sources in a user project. This allows users to create transfer
// configurations for these data sources. They will also appear in the
// ListDataSources RPC and as such, will appear in the
// [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
// can be found in the public guide for
// [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
// [Data Transfer
// Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
EnrollDataSources(context.Context, *EnrollDataSourcesRequest) (*emptypb.Empty, error)
}DataTransferServiceServer is the server API for DataTransferService service.
DeleteTransferConfigRequest
type DeleteTransferConfigRequest struct {
// Required. The field will contain name of the resource requested, for
// example: `projects/{project_id}/transferConfigs/{config_id}` or
// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}A request to delete data transfer information. All associated transfer runs and log messages will be deleted as well.
func (*DeleteTransferConfigRequest) Descriptor
func (*DeleteTransferConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteTransferConfigRequest.ProtoReflect.Descriptor instead.
func (*DeleteTransferConfigRequest) GetName
func (x *DeleteTransferConfigRequest) GetName() stringfunc (*DeleteTransferConfigRequest) ProtoMessage
func (*DeleteTransferConfigRequest) ProtoMessage()func (*DeleteTransferConfigRequest) ProtoReflect
func (x *DeleteTransferConfigRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteTransferConfigRequest) Reset
func (x *DeleteTransferConfigRequest) Reset()func (*DeleteTransferConfigRequest) String
func (x *DeleteTransferConfigRequest) String() stringDeleteTransferRunRequest
type DeleteTransferRunRequest struct {
// Required. The field will contain name of the resource requested, for
// example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
// or
// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}A request to delete data transfer run information.
func (*DeleteTransferRunRequest) Descriptor
func (*DeleteTransferRunRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteTransferRunRequest.ProtoReflect.Descriptor instead.
func (*DeleteTransferRunRequest) GetName
func (x *DeleteTransferRunRequest) GetName() stringfunc (*DeleteTransferRunRequest) ProtoMessage
func (*DeleteTransferRunRequest) ProtoMessage()func (*DeleteTransferRunRequest) ProtoReflect
func (x *DeleteTransferRunRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteTransferRunRequest) Reset
func (x *DeleteTransferRunRequest) Reset()func (*DeleteTransferRunRequest) String
func (x *DeleteTransferRunRequest) String() stringEmailPreferences
type EmailPreferences struct {
// If true, email notifications will be sent on transfer run failures.
EnableFailureEmail bool `protobuf:"varint,1,opt,name=enable_failure_email,json=enableFailureEmail,proto3" json:"enable_failure_email,omitempty"`
// contains filtered or unexported fields
}Represents preferences for sending email notifications for transfer run events.
func (*EmailPreferences) Descriptor
func (*EmailPreferences) Descriptor() ([]byte, []int)Deprecated: Use EmailPreferences.ProtoReflect.Descriptor instead.
func (*EmailPreferences) GetEnableFailureEmail
func (x *EmailPreferences) GetEnableFailureEmail() boolfunc (*EmailPreferences) ProtoMessage
func (*EmailPreferences) ProtoMessage()func (*EmailPreferences) ProtoReflect
func (x *EmailPreferences) ProtoReflect() protoreflect.Messagefunc (*EmailPreferences) Reset
func (x *EmailPreferences) Reset()func (*EmailPreferences) String
func (x *EmailPreferences) String() stringEnrollDataSourcesRequest
type EnrollDataSourcesRequest struct {
// The name of the project resource in the form: `projects/{project_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Data sources that are enrolled. It is required to provide at least one
// data source id.
DataSourceIds []string `protobuf:"bytes,2,rep,name=data_source_ids,json=dataSourceIds,proto3" json:"data_source_ids,omitempty"`
// contains filtered or unexported fields
}A request to enroll a set of data sources so they are visible in the
BigQuery UI's Transfer tab.
func (*EnrollDataSourcesRequest) Descriptor
func (*EnrollDataSourcesRequest) Descriptor() ([]byte, []int)Deprecated: Use EnrollDataSourcesRequest.ProtoReflect.Descriptor instead.
func (*EnrollDataSourcesRequest) GetDataSourceIds
func (x *EnrollDataSourcesRequest) GetDataSourceIds() []stringfunc (*EnrollDataSourcesRequest) GetName
func (x *EnrollDataSourcesRequest) GetName() stringfunc (*EnrollDataSourcesRequest) ProtoMessage
func (*EnrollDataSourcesRequest) ProtoMessage()func (*EnrollDataSourcesRequest) ProtoReflect
func (x *EnrollDataSourcesRequest) ProtoReflect() protoreflect.Messagefunc (*EnrollDataSourcesRequest) Reset
func (x *EnrollDataSourcesRequest) Reset()func (*EnrollDataSourcesRequest) String
func (x *EnrollDataSourcesRequest) String() stringGetDataSourceRequest
type GetDataSourceRequest struct {
// Required. The field will contain name of the resource requested, for
// example: `projects/{project_id}/dataSources/{data_source_id}` or
// `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}A request to get data source info.
func (*GetDataSourceRequest) Descriptor
func (*GetDataSourceRequest) Descriptor() ([]byte, []int)Deprecated: Use GetDataSourceRequest.ProtoReflect.Descriptor instead.
func (*GetDataSourceRequest) GetName
func (x *GetDataSourceRequest) GetName() stringfunc (*GetDataSourceRequest) ProtoMessage
func (*GetDataSourceRequest) ProtoMessage()func (*GetDataSourceRequest) ProtoReflect
func (x *GetDataSourceRequest) ProtoReflect() protoreflect.Messagefunc (*GetDataSourceRequest) Reset
func (x *GetDataSourceRequest) Reset()func (*GetDataSourceRequest) String
func (x *GetDataSourceRequest) String() stringGetTransferConfigRequest
type GetTransferConfigRequest struct {
// Required. The field will contain name of the resource requested, for
// example: `projects/{project_id}/transferConfigs/{config_id}` or
// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}A request to get data transfer information.
func (*GetTransferConfigRequest) Descriptor
func (*GetTransferConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use GetTransferConfigRequest.ProtoReflect.Descriptor instead.
func (*GetTransferConfigRequest) GetName
func (x *GetTransferConfigRequest) GetName() stringfunc (*GetTransferConfigRequest) ProtoMessage
func (*GetTransferConfigRequest) ProtoMessage()func (*GetTransferConfigRequest) ProtoReflect
func (x *GetTransferConfigRequest) ProtoReflect() protoreflect.Messagefunc (*GetTransferConfigRequest) Reset
func (x *GetTransferConfigRequest) Reset()func (*GetTransferConfigRequest) String
func (x *GetTransferConfigRequest) String() stringGetTransferRunRequest
type GetTransferRunRequest struct {
// Required. The field will contain name of the resource requested, for
// example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
// or
// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}A request to get data transfer run information.
func (*GetTransferRunRequest) Descriptor
func (*GetTransferRunRequest) Descriptor() ([]byte, []int)Deprecated: Use GetTransferRunRequest.ProtoReflect.Descriptor instead.
func (*GetTransferRunRequest) GetName
func (x *GetTransferRunRequest) GetName() stringfunc (*GetTransferRunRequest) ProtoMessage
func (*GetTransferRunRequest) ProtoMessage()func (*GetTransferRunRequest) ProtoReflect
func (x *GetTransferRunRequest) ProtoReflect() protoreflect.Messagefunc (*GetTransferRunRequest) Reset
func (x *GetTransferRunRequest) Reset()func (*GetTransferRunRequest) String
func (x *GetTransferRunRequest) String() stringListDataSourcesRequest
type ListDataSourcesRequest struct {
// Required. The BigQuery project id for which data sources should be
// returned. Must be in the form: `projects/{project_id}` or
// `projects/{project_id}/locations/{location_id}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Pagination token, which can be used to request a specific page
// of `ListDataSourcesRequest` list results. For multiple-page
// results, `ListDataSourcesResponse` outputs
// a `next_page` token, which can be used as the
// `page_token` value to request the next page of list results.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Page size. The default page size is the maximum value of 1000 results.
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// contains filtered or unexported fields
}Request to list supported data sources and their data transfer settings.
func (*ListDataSourcesRequest) Descriptor
func (*ListDataSourcesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListDataSourcesRequest.ProtoReflect.Descriptor instead.
func (*ListDataSourcesRequest) GetPageSize
func (x *ListDataSourcesRequest) GetPageSize() int32func (*ListDataSourcesRequest) GetPageToken
func (x *ListDataSourcesRequest) GetPageToken() stringfunc (*ListDataSourcesRequest) GetParent
func (x *ListDataSourcesRequest) GetParent() stringfunc (*ListDataSourcesRequest) ProtoMessage
func (*ListDataSourcesRequest) ProtoMessage()func (*ListDataSourcesRequest) ProtoReflect
func (x *ListDataSourcesRequest) ProtoReflect() protoreflect.Messagefunc (*ListDataSourcesRequest) Reset
func (x *ListDataSourcesRequest) Reset()func (*ListDataSourcesRequest) String
func (x *ListDataSourcesRequest) String() stringListDataSourcesResponse
type ListDataSourcesResponse struct {
// List of supported data sources and their transfer settings.
DataSources []*DataSource `protobuf:"bytes,1,rep,name=data_sources,json=dataSources,proto3" json:"data_sources,omitempty"`
// Output only. The next-pagination token. For multiple-page list results,
// this token can be used as the
// `ListDataSourcesRequest.page_token`
// to request the next page of list results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Returns list of supported data sources and their metadata.
func (*ListDataSourcesResponse) Descriptor
func (*ListDataSourcesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListDataSourcesResponse.ProtoReflect.Descriptor instead.
func (*ListDataSourcesResponse) GetDataSources
func (x *ListDataSourcesResponse) GetDataSources() []*DataSourcefunc (*ListDataSourcesResponse) GetNextPageToken
func (x *ListDataSourcesResponse) GetNextPageToken() stringfunc (*ListDataSourcesResponse) ProtoMessage
func (*ListDataSourcesResponse) ProtoMessage()func (*ListDataSourcesResponse) ProtoReflect
func (x *ListDataSourcesResponse) ProtoReflect() protoreflect.Messagefunc (*ListDataSourcesResponse) Reset
func (x *ListDataSourcesResponse) Reset()func (*ListDataSourcesResponse) String
func (x *ListDataSourcesResponse) String() stringListTransferConfigsRequest
type ListTransferConfigsRequest struct {
// Required. The BigQuery project id for which transfer configs
// should be returned: `projects/{project_id}` or
// `projects/{project_id}/locations/{location_id}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// When specified, only configurations of requested data sources are returned.
DataSourceIds []string `protobuf:"bytes,2,rep,name=data_source_ids,json=dataSourceIds,proto3" json:"data_source_ids,omitempty"`
// Pagination token, which can be used to request a specific page
// of `ListTransfersRequest` list results. For multiple-page
// results, `ListTransfersResponse` outputs
// a `next_page` token, which can be used as the
// `page_token` value to request the next page of list results.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Page size. The default page size is the maximum value of 1000 results.
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// contains filtered or unexported fields
}A request to list data transfers configured for a BigQuery project.
func (*ListTransferConfigsRequest) Descriptor
func (*ListTransferConfigsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListTransferConfigsRequest.ProtoReflect.Descriptor instead.
func (*ListTransferConfigsRequest) GetDataSourceIds
func (x *ListTransferConfigsRequest) GetDataSourceIds() []stringfunc (*ListTransferConfigsRequest) GetPageSize
func (x *ListTransferConfigsRequest) GetPageSize() int32func (*ListTransferConfigsRequest) GetPageToken
func (x *ListTransferConfigsRequest) GetPageToken() stringfunc (*ListTransferConfigsRequest) GetParent
func (x *ListTransferConfigsRequest) GetParent() stringfunc (*ListTransferConfigsRequest) ProtoMessage
func (*ListTransferConfigsRequest) ProtoMessage()func (*ListTransferConfigsRequest) ProtoReflect
func (x *ListTransferConfigsRequest) ProtoReflect() protoreflect.Messagefunc (*ListTransferConfigsRequest) Reset
func (x *ListTransferConfigsRequest) Reset()func (*ListTransferConfigsRequest) String
func (x *ListTransferConfigsRequest) String() stringListTransferConfigsResponse
type ListTransferConfigsResponse struct {
// Output only. The stored pipeline transfer configurations.
TransferConfigs []*TransferConfig `protobuf:"bytes,1,rep,name=transfer_configs,json=transferConfigs,proto3" json:"transfer_configs,omitempty"`
// Output only. The next-pagination token. For multiple-page list results,
// this token can be used as the
// `ListTransferConfigsRequest.page_token`
// to request the next page of list results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The returned list of pipelines in the project.
func (*ListTransferConfigsResponse) Descriptor
func (*ListTransferConfigsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListTransferConfigsResponse.ProtoReflect.Descriptor instead.
func (*ListTransferConfigsResponse) GetNextPageToken
func (x *ListTransferConfigsResponse) GetNextPageToken() stringfunc (*ListTransferConfigsResponse) GetTransferConfigs
func (x *ListTransferConfigsResponse) GetTransferConfigs() []*TransferConfigfunc (*ListTransferConfigsResponse) ProtoMessage
func (*ListTransferConfigsResponse) ProtoMessage()func (*ListTransferConfigsResponse) ProtoReflect
func (x *ListTransferConfigsResponse) ProtoReflect() protoreflect.Messagefunc (*ListTransferConfigsResponse) Reset
func (x *ListTransferConfigsResponse) Reset()func (*ListTransferConfigsResponse) String
func (x *ListTransferConfigsResponse) String() stringListTransferLogsRequest
type ListTransferLogsRequest struct {
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
MessageTypes []TransferMessage_MessageSeverity "" /* 180 byte string literal not displayed */
}A request to get user facing log messages associated with data transfer run.
func (*ListTransferLogsRequest) Descriptor
func (*ListTransferLogsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListTransferLogsRequest.ProtoReflect.Descriptor instead.
func (*ListTransferLogsRequest) GetMessageTypes
func (x *ListTransferLogsRequest) GetMessageTypes() []TransferMessage_MessageSeverityfunc (*ListTransferLogsRequest) GetPageSize
func (x *ListTransferLogsRequest) GetPageSize() int32func (*ListTransferLogsRequest) GetPageToken
func (x *ListTransferLogsRequest) GetPageToken() stringfunc (*ListTransferLogsRequest) GetParent
func (x *ListTransferLogsRequest) GetParent() stringfunc (*ListTransferLogsRequest) ProtoMessage
func (*ListTransferLogsRequest) ProtoMessage()func (*ListTransferLogsRequest) ProtoReflect
func (x *ListTransferLogsRequest) ProtoReflect() protoreflect.Messagefunc (*ListTransferLogsRequest) Reset
func (x *ListTransferLogsRequest) Reset()func (*ListTransferLogsRequest) String
func (x *ListTransferLogsRequest) String() stringListTransferLogsResponse
type ListTransferLogsResponse struct {
// Output only. The stored pipeline transfer messages.
TransferMessages []*TransferMessage `protobuf:"bytes,1,rep,name=transfer_messages,json=transferMessages,proto3" json:"transfer_messages,omitempty"`
// Output only. The next-pagination token. For multiple-page list results,
// this token can be used as the
// `GetTransferRunLogRequest.page_token`
// to request the next page of list results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The returned list transfer run messages.
func (*ListTransferLogsResponse) Descriptor
func (*ListTransferLogsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListTransferLogsResponse.ProtoReflect.Descriptor instead.
func (*ListTransferLogsResponse) GetNextPageToken
func (x *ListTransferLogsResponse) GetNextPageToken() stringfunc (*ListTransferLogsResponse) GetTransferMessages
func (x *ListTransferLogsResponse) GetTransferMessages() []*TransferMessagefunc (*ListTransferLogsResponse) ProtoMessage
func (*ListTransferLogsResponse) ProtoMessage()func (*ListTransferLogsResponse) ProtoReflect
func (x *ListTransferLogsResponse) ProtoReflect() protoreflect.Messagefunc (*ListTransferLogsResponse) Reset
func (x *ListTransferLogsResponse) Reset()func (*ListTransferLogsResponse) String
func (x *ListTransferLogsResponse) String() stringListTransferRunsRequest
type ListTransferRunsRequest struct {
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
States []TransferState "" /* 130 byte string literal not displayed */
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
RunAttempt ListTransferRunsRequest_RunAttempt "" /* 170 byte string literal not displayed */
}A request to list data transfer runs.
func (*ListTransferRunsRequest) Descriptor
func (*ListTransferRunsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListTransferRunsRequest.ProtoReflect.Descriptor instead.
func (*ListTransferRunsRequest) GetPageSize
func (x *ListTransferRunsRequest) GetPageSize() int32func (*ListTransferRunsRequest) GetPageToken
func (x *ListTransferRunsRequest) GetPageToken() stringfunc (*ListTransferRunsRequest) GetParent
func (x *ListTransferRunsRequest) GetParent() stringfunc (*ListTransferRunsRequest) GetRunAttempt
func (x *ListTransferRunsRequest) GetRunAttempt() ListTransferRunsRequest_RunAttemptfunc (*ListTransferRunsRequest) GetStates
func (x *ListTransferRunsRequest) GetStates() []TransferStatefunc (*ListTransferRunsRequest) ProtoMessage
func (*ListTransferRunsRequest) ProtoMessage()func (*ListTransferRunsRequest) ProtoReflect
func (x *ListTransferRunsRequest) ProtoReflect() protoreflect.Messagefunc (*ListTransferRunsRequest) Reset
func (x *ListTransferRunsRequest) Reset()func (*ListTransferRunsRequest) String
func (x *ListTransferRunsRequest) String() stringListTransferRunsRequest_RunAttempt
type ListTransferRunsRequest_RunAttempt int32Represents which runs should be pulled.
ListTransferRunsRequest_RUN_ATTEMPT_UNSPECIFIED, ListTransferRunsRequest_LATEST
const (
// All runs should be returned.
ListTransferRunsRequest_RUN_ATTEMPT_UNSPECIFIED ListTransferRunsRequest_RunAttempt = 0
// Only latest run per day should be returned.
ListTransferRunsRequest_LATEST ListTransferRunsRequest_RunAttempt = 1
)func (ListTransferRunsRequest_RunAttempt) Descriptor
func (ListTransferRunsRequest_RunAttempt) Descriptor() protoreflect.EnumDescriptorfunc (ListTransferRunsRequest_RunAttempt) Enum
func (x ListTransferRunsRequest_RunAttempt) Enum() *ListTransferRunsRequest_RunAttemptfunc (ListTransferRunsRequest_RunAttempt) EnumDescriptor
func (ListTransferRunsRequest_RunAttempt) EnumDescriptor() ([]byte, []int)Deprecated: Use ListTransferRunsRequest_RunAttempt.Descriptor instead.
func (ListTransferRunsRequest_RunAttempt) Number
func (x ListTransferRunsRequest_RunAttempt) Number() protoreflect.EnumNumberfunc (ListTransferRunsRequest_RunAttempt) String
func (x ListTransferRunsRequest_RunAttempt) String() stringfunc (ListTransferRunsRequest_RunAttempt) Type
func (ListTransferRunsRequest_RunAttempt) Type() protoreflect.EnumTypeListTransferRunsResponse
type ListTransferRunsResponse struct {
// Output only. The stored pipeline transfer runs.
TransferRuns []*TransferRun `protobuf:"bytes,1,rep,name=transfer_runs,json=transferRuns,proto3" json:"transfer_runs,omitempty"`
// Output only. The next-pagination token. For multiple-page list results,
// this token can be used as the
// `ListTransferRunsRequest.page_token`
// to request the next page of list results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The returned list of pipelines in the project.
func (*ListTransferRunsResponse) Descriptor
func (*ListTransferRunsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListTransferRunsResponse.ProtoReflect.Descriptor instead.
func (*ListTransferRunsResponse) GetNextPageToken
func (x *ListTransferRunsResponse) GetNextPageToken() stringfunc (*ListTransferRunsResponse) GetTransferRuns
func (x *ListTransferRunsResponse) GetTransferRuns() []*TransferRunfunc (*ListTransferRunsResponse) ProtoMessage
func (*ListTransferRunsResponse) ProtoMessage()func (*ListTransferRunsResponse) ProtoReflect
func (x *ListTransferRunsResponse) ProtoReflect() protoreflect.Messagefunc (*ListTransferRunsResponse) Reset
func (x *ListTransferRunsResponse) Reset()func (*ListTransferRunsResponse) String
func (x *ListTransferRunsResponse) String() stringScheduleOptions
type ScheduleOptions struct {
DisableAutoScheduling bool "" /* 127 byte string literal not displayed */
StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
}Options customizing the data transfer schedule.
func (*ScheduleOptions) Descriptor
func (*ScheduleOptions) Descriptor() ([]byte, []int)Deprecated: Use ScheduleOptions.ProtoReflect.Descriptor instead.
func (*ScheduleOptions) GetDisableAutoScheduling
func (x *ScheduleOptions) GetDisableAutoScheduling() boolfunc (*ScheduleOptions) GetEndTime
func (x *ScheduleOptions) GetEndTime() *timestamppb.Timestampfunc (*ScheduleOptions) GetStartTime
func (x *ScheduleOptions) GetStartTime() *timestamppb.Timestampfunc (*ScheduleOptions) ProtoMessage
func (*ScheduleOptions) ProtoMessage()func (*ScheduleOptions) ProtoReflect
func (x *ScheduleOptions) ProtoReflect() protoreflect.Messagefunc (*ScheduleOptions) Reset
func (x *ScheduleOptions) Reset()func (*ScheduleOptions) String
func (x *ScheduleOptions) String() stringScheduleTransferRunsRequest
type ScheduleTransferRunsRequest struct {
// Required. Transfer configuration name in the form:
// `projects/{project_id}/transferConfigs/{config_id}` or
// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Start time of the range of transfer runs. For example,
// `"2017-05-25T00:00:00+00:00"`.
StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Required. End time of the range of transfer runs. For example,
// `"2017-05-30T00:00:00+00:00"`.
EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}A request to schedule transfer runs for a time range.
func (*ScheduleTransferRunsRequest) Descriptor
func (*ScheduleTransferRunsRequest) Descriptor() ([]byte, []int)Deprecated: Use ScheduleTransferRunsRequest.ProtoReflect.Descriptor instead.
func (*ScheduleTransferRunsRequest) GetEndTime
func (x *ScheduleTransferRunsRequest) GetEndTime() *timestamppb.Timestampfunc (*ScheduleTransferRunsRequest) GetParent
func (x *ScheduleTransferRunsRequest) GetParent() stringfunc (*ScheduleTransferRunsRequest) GetStartTime
func (x *ScheduleTransferRunsRequest) GetStartTime() *timestamppb.Timestampfunc (*ScheduleTransferRunsRequest) ProtoMessage
func (*ScheduleTransferRunsRequest) ProtoMessage()func (*ScheduleTransferRunsRequest) ProtoReflect
func (x *ScheduleTransferRunsRequest) ProtoReflect() protoreflect.Messagefunc (*ScheduleTransferRunsRequest) Reset
func (x *ScheduleTransferRunsRequest) Reset()func (*ScheduleTransferRunsRequest) String
func (x *ScheduleTransferRunsRequest) String() stringScheduleTransferRunsResponse
type ScheduleTransferRunsResponse struct {
// The transfer runs that were scheduled.
Runs []*TransferRun `protobuf:"bytes,1,rep,name=runs,proto3" json:"runs,omitempty"`
// contains filtered or unexported fields
}A response to schedule transfer runs for a time range.
func (*ScheduleTransferRunsResponse) Descriptor
func (*ScheduleTransferRunsResponse) Descriptor() ([]byte, []int)Deprecated: Use ScheduleTransferRunsResponse.ProtoReflect.Descriptor instead.
func (*ScheduleTransferRunsResponse) GetRuns
func (x *ScheduleTransferRunsResponse) GetRuns() []*TransferRunfunc (*ScheduleTransferRunsResponse) ProtoMessage
func (*ScheduleTransferRunsResponse) ProtoMessage()func (*ScheduleTransferRunsResponse) ProtoReflect
func (x *ScheduleTransferRunsResponse) ProtoReflect() protoreflect.Messagefunc (*ScheduleTransferRunsResponse) Reset
func (x *ScheduleTransferRunsResponse) Reset()func (*ScheduleTransferRunsResponse) String
func (x *ScheduleTransferRunsResponse) String() stringStartManualTransferRunsRequest
type StartManualTransferRunsRequest struct {
// Transfer configuration name in the form:
// `projects/{project_id}/transferConfigs/{config_id}` or
// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The requested time specification - this can be a time range or a specific
// run_time.
//
// Types that are assignable to Time:
// *StartManualTransferRunsRequest_RequestedTimeRange
// *StartManualTransferRunsRequest_RequestedRunTime
Time isStartManualTransferRunsRequest_Time `protobuf_oneof:"time"`
// contains filtered or unexported fields
}A request to start manual transfer runs.
func (*StartManualTransferRunsRequest) Descriptor
func (*StartManualTransferRunsRequest) Descriptor() ([]byte, []int)Deprecated: Use StartManualTransferRunsRequest.ProtoReflect.Descriptor instead.
func (*StartManualTransferRunsRequest) GetParent
func (x *StartManualTransferRunsRequest) GetParent() stringfunc (*StartManualTransferRunsRequest) GetRequestedRunTime
func (x *StartManualTransferRunsRequest) GetRequestedRunTime() *timestamppb.Timestampfunc (*StartManualTransferRunsRequest) GetRequestedTimeRange
func (x *StartManualTransferRunsRequest) GetRequestedTimeRange() *StartManualTransferRunsRequest_TimeRangefunc (*StartManualTransferRunsRequest) GetTime
func (m *StartManualTransferRunsRequest) GetTime() isStartManualTransferRunsRequest_Timefunc (*StartManualTransferRunsRequest) ProtoMessage
func (*StartManualTransferRunsRequest) ProtoMessage()func (*StartManualTransferRunsRequest) ProtoReflect
func (x *StartManualTransferRunsRequest) ProtoReflect() protoreflect.Messagefunc (*StartManualTransferRunsRequest) Reset
func (x *StartManualTransferRunsRequest) Reset()func (*StartManualTransferRunsRequest) String
func (x *StartManualTransferRunsRequest) String() stringStartManualTransferRunsRequest_RequestedRunTime
type StartManualTransferRunsRequest_RequestedRunTime struct {
// Specific run_time for a transfer run to be started. The
// requested_run_time must not be in the future.
RequestedRunTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=requested_run_time,json=requestedRunTime,proto3,oneof"`
}StartManualTransferRunsRequest_RequestedTimeRange
type StartManualTransferRunsRequest_RequestedTimeRange struct {
// Time range for the transfer runs that should be started.
RequestedTimeRange *StartManualTransferRunsRequest_TimeRange `protobuf:"bytes,3,opt,name=requested_time_range,json=requestedTimeRange,proto3,oneof"`
}StartManualTransferRunsRequest_TimeRange
type StartManualTransferRunsRequest_TimeRange struct {
// Start time of the range of transfer runs. For example,
// `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
// the end_time. Creates transfer runs where run_time is in the range
// between start_time (inclusive) and end_time (exclusive).
StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// End time of the range of transfer runs. For example,
// `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
// Creates transfer runs where run_time is in the range between start_time
// (inclusive) and end_time (exclusive).
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}A specification for a time range, this will request transfer runs with run_time between start_time (inclusive) and end_time (exclusive).
func (*StartManualTransferRunsRequest_TimeRange) Descriptor
func (*StartManualTransferRunsRequest_TimeRange) Descriptor() ([]byte, []int)Deprecated: Use StartManualTransferRunsRequest_TimeRange.ProtoReflect.Descriptor instead.
func (*StartManualTransferRunsRequest_TimeRange) GetEndTime
func (x *StartManualTransferRunsRequest_TimeRange) GetEndTime() *timestamppb.Timestampfunc (*StartManualTransferRunsRequest_TimeRange) GetStartTime
func (x *StartManualTransferRunsRequest_TimeRange) GetStartTime() *timestamppb.Timestampfunc (*StartManualTransferRunsRequest_TimeRange) ProtoMessage
func (*StartManualTransferRunsRequest_TimeRange) ProtoMessage()func (*StartManualTransferRunsRequest_TimeRange) ProtoReflect
func (x *StartManualTransferRunsRequest_TimeRange) ProtoReflect() protoreflect.Messagefunc (*StartManualTransferRunsRequest_TimeRange) Reset
func (x *StartManualTransferRunsRequest_TimeRange) Reset()func (*StartManualTransferRunsRequest_TimeRange) String
func (x *StartManualTransferRunsRequest_TimeRange) String() stringStartManualTransferRunsResponse
type StartManualTransferRunsResponse struct {
// The transfer runs that were created.
Runs []*TransferRun `protobuf:"bytes,1,rep,name=runs,proto3" json:"runs,omitempty"`
// contains filtered or unexported fields
}A response to start manual transfer runs.
func (*StartManualTransferRunsResponse) Descriptor
func (*StartManualTransferRunsResponse) Descriptor() ([]byte, []int)Deprecated: Use StartManualTransferRunsResponse.ProtoReflect.Descriptor instead.
func (*StartManualTransferRunsResponse) GetRuns
func (x *StartManualTransferRunsResponse) GetRuns() []*TransferRunfunc (*StartManualTransferRunsResponse) ProtoMessage
func (*StartManualTransferRunsResponse) ProtoMessage()func (*StartManualTransferRunsResponse) ProtoReflect
func (x *StartManualTransferRunsResponse) ProtoReflect() protoreflect.Messagefunc (*StartManualTransferRunsResponse) Reset
func (x *StartManualTransferRunsResponse) Reset()func (*StartManualTransferRunsResponse) String
func (x *StartManualTransferRunsResponse) String() stringTransferConfig
type TransferConfig struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Destination isTransferConfig_Destination `protobuf_oneof:"destination"`
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
DataSourceId string `protobuf:"bytes,5,opt,name=data_source_id,json=dataSourceId,proto3" json:"data_source_id,omitempty"`
Params *structpb.Struct `protobuf:"bytes,9,opt,name=params,proto3" json:"params,omitempty"`
Schedule string `protobuf:"bytes,7,opt,name=schedule,proto3" json:"schedule,omitempty"`
ScheduleOptions *ScheduleOptions `protobuf:"bytes,24,opt,name=schedule_options,json=scheduleOptions,proto3" json:"schedule_options,omitempty"`
DataRefreshWindowDays int32 "" /* 130 byte string literal not displayed */
Disabled bool `protobuf:"varint,13,opt,name=disabled,proto3" json:"disabled,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
NextRunTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=next_run_time,json=nextRunTime,proto3" json:"next_run_time,omitempty"`
State TransferState `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.bigquery.datatransfer.v1.TransferState" json:"state,omitempty"`
UserId int64 `protobuf:"varint,11,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
DatasetRegion string `protobuf:"bytes,14,opt,name=dataset_region,json=datasetRegion,proto3" json:"dataset_region,omitempty"`
NotificationPubsubTopic string "" /* 133 byte string literal not displayed */
EmailPreferences *EmailPreferences `protobuf:"bytes,18,opt,name=email_preferences,json=emailPreferences,proto3" json:"email_preferences,omitempty"`
OwnerInfo *UserInfo `protobuf:"bytes,27,opt,name=owner_info,json=ownerInfo,proto3,oneof" json:"owner_info,omitempty"`
}Represents a data transfer configuration. A transfer configuration
contains all metadata needed to perform a data transfer. For example,
destination_dataset_id specifies where data should be stored.
When a new transfer configuration is created, the specified
destination_dataset_id is created when needed and shared with the
appropriate data source service account.
func (*TransferConfig) Descriptor
func (*TransferConfig) Descriptor() ([]byte, []int)Deprecated: Use TransferConfig.ProtoReflect.Descriptor instead.
func (*TransferConfig) GetDataRefreshWindowDays
func (x *TransferConfig) GetDataRefreshWindowDays() int32func (*TransferConfig) GetDataSourceId
func (x *TransferConfig) GetDataSourceId() stringfunc (*TransferConfig) GetDatasetRegion
func (x *TransferConfig) GetDatasetRegion() stringfunc (*TransferConfig) GetDestination
func (m *TransferConfig) GetDestination() isTransferConfig_Destinationfunc (*TransferConfig) GetDestinationDatasetId
func (x *TransferConfig) GetDestinationDatasetId() stringfunc (*TransferConfig) GetDisabled
func (x *TransferConfig) GetDisabled() boolfunc (*TransferConfig) GetDisplayName
func (x *TransferConfig) GetDisplayName() stringfunc (*TransferConfig) GetEmailPreferences
func (x *TransferConfig) GetEmailPreferences() *EmailPreferencesfunc (*TransferConfig) GetName
func (x *TransferConfig) GetName() stringfunc (*TransferConfig) GetNextRunTime
func (x *TransferConfig) GetNextRunTime() *timestamppb.Timestampfunc (*TransferConfig) GetNotificationPubsubTopic
func (x *TransferConfig) GetNotificationPubsubTopic() stringfunc (*TransferConfig) GetOwnerInfo
func (x *TransferConfig) GetOwnerInfo() *UserInfofunc (*TransferConfig) GetParams
func (x *TransferConfig) GetParams() *structpb.Structfunc (*TransferConfig) GetSchedule
func (x *TransferConfig) GetSchedule() stringfunc (*TransferConfig) GetScheduleOptions
func (x *TransferConfig) GetScheduleOptions() *ScheduleOptionsfunc (*TransferConfig) GetState
func (x *TransferConfig) GetState() TransferStatefunc (*TransferConfig) GetUpdateTime
func (x *TransferConfig) GetUpdateTime() *timestamppb.Timestampfunc (*TransferConfig) GetUserId
func (x *TransferConfig) GetUserId() int64func (*TransferConfig) ProtoMessage
func (*TransferConfig) ProtoMessage()func (*TransferConfig) ProtoReflect
func (x *TransferConfig) ProtoReflect() protoreflect.Messagefunc (*TransferConfig) Reset
func (x *TransferConfig) Reset()func (*TransferConfig) String
func (x *TransferConfig) String() stringTransferConfig_DestinationDatasetId
type TransferConfig_DestinationDatasetId struct {
// The BigQuery target dataset id.
DestinationDatasetId string `protobuf:"bytes,2,opt,name=destination_dataset_id,json=destinationDatasetId,proto3,oneof"`
}TransferMessage
type TransferMessage struct {
MessageTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=message_time,json=messageTime,proto3" json:"message_time,omitempty"`
Severity TransferMessage_MessageSeverity "" /* 145 byte string literal not displayed */
MessageText string `protobuf:"bytes,3,opt,name=message_text,json=messageText,proto3" json:"message_text,omitempty"`
}Represents a user facing message for a particular data transfer run.
func (*TransferMessage) Descriptor
func (*TransferMessage) Descriptor() ([]byte, []int)Deprecated: Use TransferMessage.ProtoReflect.Descriptor instead.
func (*TransferMessage) GetMessageText
func (x *TransferMessage) GetMessageText() stringfunc (*TransferMessage) GetMessageTime
func (x *TransferMessage) GetMessageTime() *timestamppb.Timestampfunc (*TransferMessage) GetSeverity
func (x *TransferMessage) GetSeverity() TransferMessage_MessageSeverityfunc (*TransferMessage) ProtoMessage
func (*TransferMessage) ProtoMessage()func (*TransferMessage) ProtoReflect
func (x *TransferMessage) ProtoReflect() protoreflect.Messagefunc (*TransferMessage) Reset
func (x *TransferMessage) Reset()func (*TransferMessage) String
func (x *TransferMessage) String() stringTransferMessage_MessageSeverity
type TransferMessage_MessageSeverity int32Represents data transfer user facing message severity.
TransferMessage_MESSAGE_SEVERITY_UNSPECIFIED, TransferMessage_INFO, TransferMessage_WARNING, TransferMessage_ERROR
const (
// No severity specified.
TransferMessage_MESSAGE_SEVERITY_UNSPECIFIED TransferMessage_MessageSeverity = 0
// Informational message.
TransferMessage_INFO TransferMessage_MessageSeverity = 1
// Warning message.
TransferMessage_WARNING TransferMessage_MessageSeverity = 2
// Error message.
TransferMessage_ERROR TransferMessage_MessageSeverity = 3
)func (TransferMessage_MessageSeverity) Descriptor
func (TransferMessage_MessageSeverity) Descriptor() protoreflect.EnumDescriptorfunc (TransferMessage_MessageSeverity) Enum
func (x TransferMessage_MessageSeverity) Enum() *TransferMessage_MessageSeverityfunc (TransferMessage_MessageSeverity) EnumDescriptor
func (TransferMessage_MessageSeverity) EnumDescriptor() ([]byte, []int)Deprecated: Use TransferMessage_MessageSeverity.Descriptor instead.
func (TransferMessage_MessageSeverity) Number
func (x TransferMessage_MessageSeverity) Number() protoreflect.EnumNumberfunc (TransferMessage_MessageSeverity) String
func (x TransferMessage_MessageSeverity) String() stringfunc (TransferMessage_MessageSeverity) Type
func (TransferMessage_MessageSeverity) Type() protoreflect.EnumTypeTransferRun
type TransferRun struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"`
RunTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty"`
ErrorStatus *status.Status `protobuf:"bytes,21,opt,name=error_status,json=errorStatus,proto3" json:"error_status,omitempty"`
StartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
EndTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
Params *structpb.Struct `protobuf:"bytes,9,opt,name=params,proto3" json:"params,omitempty"`
Destination isTransferRun_Destination `protobuf_oneof:"destination"`
DataSourceId string `protobuf:"bytes,7,opt,name=data_source_id,json=dataSourceId,proto3" json:"data_source_id,omitempty"`
State TransferState `protobuf:"varint,8,opt,name=state,proto3,enum=google.cloud.bigquery.datatransfer.v1.TransferState" json:"state,omitempty"`
UserId int64 `protobuf:"varint,11,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Schedule string `protobuf:"bytes,12,opt,name=schedule,proto3" json:"schedule,omitempty"`
NotificationPubsubTopic string "" /* 133 byte string literal not displayed */
EmailPreferences *EmailPreferences `protobuf:"bytes,25,opt,name=email_preferences,json=emailPreferences,proto3" json:"email_preferences,omitempty"`
}Represents a data transfer run.
func (*TransferRun) Descriptor
func (*TransferRun) Descriptor() ([]byte, []int)Deprecated: Use TransferRun.ProtoReflect.Descriptor instead.
func (*TransferRun) GetDataSourceId
func (x *TransferRun) GetDataSourceId() stringfunc (*TransferRun) GetDestination
func (m *TransferRun) GetDestination() isTransferRun_Destinationfunc (*TransferRun) GetDestinationDatasetId
func (x *TransferRun) GetDestinationDatasetId() stringfunc (*TransferRun) GetEmailPreferences
func (x *TransferRun) GetEmailPreferences() *EmailPreferencesfunc (*TransferRun) GetEndTime
func (x *TransferRun) GetEndTime() *timestamppb.Timestampfunc (*TransferRun) GetErrorStatus
func (x *TransferRun) GetErrorStatus() *status.Statusfunc (*TransferRun) GetName
func (x *TransferRun) GetName() stringfunc (*TransferRun) GetNotificationPubsubTopic
func (x *TransferRun) GetNotificationPubsubTopic() stringfunc (*TransferRun) GetParams
func (x *TransferRun) GetParams() *structpb.Structfunc (*TransferRun) GetRunTime
func (x *TransferRun) GetRunTime() *timestamppb.Timestampfunc (*TransferRun) GetSchedule
func (x *TransferRun) GetSchedule() stringfunc (*TransferRun) GetScheduleTime
func (x *TransferRun) GetScheduleTime() *timestamppb.Timestampfunc (*TransferRun) GetStartTime
func (x *TransferRun) GetStartTime() *timestamppb.Timestampfunc (*TransferRun) GetState
func (x *TransferRun) GetState() TransferStatefunc (*TransferRun) GetUpdateTime
func (x *TransferRun) GetUpdateTime() *timestamppb.Timestampfunc (*TransferRun) GetUserId
func (x *TransferRun) GetUserId() int64func (*TransferRun) ProtoMessage
func (*TransferRun) ProtoMessage()func (*TransferRun) ProtoReflect
func (x *TransferRun) ProtoReflect() protoreflect.Messagefunc (*TransferRun) Reset
func (x *TransferRun) Reset()func (*TransferRun) String
func (x *TransferRun) String() stringTransferRun_DestinationDatasetId
type TransferRun_DestinationDatasetId struct {
// Output only. The BigQuery target dataset id.
DestinationDatasetId string `protobuf:"bytes,2,opt,name=destination_dataset_id,json=destinationDatasetId,proto3,oneof"`
}TransferState
type TransferState int32Represents data transfer run state.
TransferState_TRANSFER_STATE_UNSPECIFIED, TransferState_PENDING, TransferState_RUNNING, TransferState_SUCCEEDED, TransferState_FAILED, TransferState_CANCELLED
const (
// State placeholder (0).
TransferState_TRANSFER_STATE_UNSPECIFIED TransferState = 0
// Data transfer is scheduled and is waiting to be picked up by
// data transfer backend (2).
TransferState_PENDING TransferState = 2
// Data transfer is in progress (3).
TransferState_RUNNING TransferState = 3
// Data transfer completed successfully (4).
TransferState_SUCCEEDED TransferState = 4
// Data transfer failed (5).
TransferState_FAILED TransferState = 5
// Data transfer is cancelled (6).
TransferState_CANCELLED TransferState = 6
)func (TransferState) Descriptor
func (TransferState) Descriptor() protoreflect.EnumDescriptorfunc (TransferState) Enum
func (x TransferState) Enum() *TransferStatefunc (TransferState) EnumDescriptor
func (TransferState) EnumDescriptor() ([]byte, []int)Deprecated: Use TransferState.Descriptor instead.
func (TransferState) Number
func (x TransferState) Number() protoreflect.EnumNumberfunc (TransferState) String
func (x TransferState) String() stringfunc (TransferState) Type
func (TransferState) Type() protoreflect.EnumTypeTransferType (deprecated)
type TransferType int32DEPRECATED. Represents data transfer type.
Deprecated: Marked as deprecated in google/cloud/bigquery/datatransfer/v1/transfer.proto.
TransferType_TRANSFER_TYPE_UNSPECIFIED, TransferType_BATCH, TransferType_STREAMING (deprecated)
const (
// Invalid or Unknown transfer type placeholder.
TransferType_TRANSFER_TYPE_UNSPECIFIED TransferType = 0
// Batch data transfer.
TransferType_BATCH TransferType = 1
// Streaming data transfer. Streaming data source currently doesn't
// support multiple transfer configs per project.
TransferType_STREAMING TransferType = 2
)func (TransferType) Descriptor (deprecated)
func (TransferType) Descriptor() protoreflect.EnumDescriptorfunc (TransferType) Enum (deprecated)
func (x TransferType) Enum() *TransferTypefunc (TransferType) EnumDescriptor (deprecated)
func (TransferType) EnumDescriptor() ([]byte, []int)Deprecated: Use TransferType.Descriptor instead.
func (TransferType) Number (deprecated)
func (x TransferType) Number() protoreflect.EnumNumberfunc (TransferType) String (deprecated)
func (x TransferType) String() stringfunc (TransferType) Type (deprecated)
func (TransferType) Type() protoreflect.EnumTypeUnimplementedDataTransferServiceServer
type UnimplementedDataTransferServiceServer struct {
}UnimplementedDataTransferServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedDataTransferServiceServer) CheckValidCreds
func (*UnimplementedDataTransferServiceServer) CheckValidCreds(context.Context, *CheckValidCredsRequest) (*CheckValidCredsResponse, error)func (*UnimplementedDataTransferServiceServer) CreateTransferConfig
func (*UnimplementedDataTransferServiceServer) CreateTransferConfig(context.Context, *CreateTransferConfigRequest) (*TransferConfig, error)func (*UnimplementedDataTransferServiceServer) DeleteTransferConfig
func (*UnimplementedDataTransferServiceServer) DeleteTransferConfig(context.Context, *DeleteTransferConfigRequest) (*emptypb.Empty, error)func (*UnimplementedDataTransferServiceServer) DeleteTransferRun
func (*UnimplementedDataTransferServiceServer) DeleteTransferRun(context.Context, *DeleteTransferRunRequest) (*emptypb.Empty, error)func (*UnimplementedDataTransferServiceServer) EnrollDataSources
func (*UnimplementedDataTransferServiceServer) EnrollDataSources(context.Context, *EnrollDataSourcesRequest) (*emptypb.Empty, error)func (*UnimplementedDataTransferServiceServer) GetDataSource
func (*UnimplementedDataTransferServiceServer) GetDataSource(context.Context, *GetDataSourceRequest) (*DataSource, error)func (*UnimplementedDataTransferServiceServer) GetTransferConfig
func (*UnimplementedDataTransferServiceServer) GetTransferConfig(context.Context, *GetTransferConfigRequest) (*TransferConfig, error)func (*UnimplementedDataTransferServiceServer) GetTransferRun
func (*UnimplementedDataTransferServiceServer) GetTransferRun(context.Context, *GetTransferRunRequest) (*TransferRun, error)func (*UnimplementedDataTransferServiceServer) ListDataSources
func (*UnimplementedDataTransferServiceServer) ListDataSources(context.Context, *ListDataSourcesRequest) (*ListDataSourcesResponse, error)func (*UnimplementedDataTransferServiceServer) ListTransferConfigs
func (*UnimplementedDataTransferServiceServer) ListTransferConfigs(context.Context, *ListTransferConfigsRequest) (*ListTransferConfigsResponse, error)func (*UnimplementedDataTransferServiceServer) ListTransferLogs
func (*UnimplementedDataTransferServiceServer) ListTransferLogs(context.Context, *ListTransferLogsRequest) (*ListTransferLogsResponse, error)func (*UnimplementedDataTransferServiceServer) ListTransferRuns
func (*UnimplementedDataTransferServiceServer) ListTransferRuns(context.Context, *ListTransferRunsRequest) (*ListTransferRunsResponse, error)func (*UnimplementedDataTransferServiceServer) ScheduleTransferRuns
func (*UnimplementedDataTransferServiceServer) ScheduleTransferRuns(context.Context, *ScheduleTransferRunsRequest) (*ScheduleTransferRunsResponse, error)func (*UnimplementedDataTransferServiceServer) StartManualTransferRuns
func (*UnimplementedDataTransferServiceServer) StartManualTransferRuns(context.Context, *StartManualTransferRunsRequest) (*StartManualTransferRunsResponse, error)func (*UnimplementedDataTransferServiceServer) UpdateTransferConfig
func (*UnimplementedDataTransferServiceServer) UpdateTransferConfig(context.Context, *UpdateTransferConfigRequest) (*TransferConfig, error)UpdateTransferConfigRequest
type UpdateTransferConfigRequest struct {
// Required. Data transfer configuration to create.
TransferConfig *TransferConfig `protobuf:"bytes,1,opt,name=transfer_config,json=transferConfig,proto3" json:"transfer_config,omitempty"`
// Optional OAuth2 authorization code to use with this transfer configuration.
// This is required only if `transferConfig.dataSourceId` is 'youtube_channel'
// and new credentials are needed, as indicated by `CheckValidCreds`. In order
// to obtain authorization_code, make a request to the following URL:
// // https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes
// // https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes //
A request to update a transfer configuration. To update the user id of the transfer configuration, authorization info needs to be provided.
func (*UpdateTransferConfigRequest) Descriptor
func (*UpdateTransferConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateTransferConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateTransferConfigRequest) GetAuthorizationCode
func (x *UpdateTransferConfigRequest) GetAuthorizationCode() stringfunc (*UpdateTransferConfigRequest) GetServiceAccountName
func (x *UpdateTransferConfigRequest) GetServiceAccountName() stringfunc (*UpdateTransferConfigRequest) GetTransferConfig
func (x *UpdateTransferConfigRequest) GetTransferConfig() *TransferConfigfunc (*UpdateTransferConfigRequest) GetUpdateMask
func (x *UpdateTransferConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateTransferConfigRequest) GetVersionInfo
func (x *UpdateTransferConfigRequest) GetVersionInfo() stringfunc (*UpdateTransferConfigRequest) ProtoMessage
func (*UpdateTransferConfigRequest) ProtoMessage()func (*UpdateTransferConfigRequest) ProtoReflect
func (x *UpdateTransferConfigRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateTransferConfigRequest) Reset
func (x *UpdateTransferConfigRequest) Reset()func (*UpdateTransferConfigRequest) String
func (x *UpdateTransferConfigRequest) String() stringUserInfo
type UserInfo struct {
// E-mail address of the user.
Email *string `protobuf:"bytes,1,opt,name=email,proto3,oneof" json:"email,omitempty"`
// contains filtered or unexported fields
}Information about a user.
func (*UserInfo) Descriptor
Deprecated: Use UserInfo.ProtoReflect.Descriptor instead.
func (*UserInfo) GetEmail
func (*UserInfo) ProtoMessage
func (*UserInfo) ProtoMessage()func (*UserInfo) ProtoReflect
func (x *UserInfo) ProtoReflect() protoreflect.Messagefunc (*UserInfo) Reset
func (x *UserInfo) Reset()