datatransfer

package
v0.0.0-...-e165f0f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DataSourceParameter_Type_name = map[int32]string{
	0: "TYPE_UNSPECIFIED",
	1: "STRING",
	2: "INTEGER",
	3: "DOUBLE",
	4: "BOOLEAN",
	5: "RECORD",
	6: "PLUS_PAGE",
}
View Source
var DataSourceParameter_Type_value = map[string]int32{
	"TYPE_UNSPECIFIED": 0,
	"STRING":           1,
	"INTEGER":          2,
	"DOUBLE":           3,
	"BOOLEAN":          4,
	"RECORD":           5,
	"PLUS_PAGE":        6,
}
View Source
var DataSource_AuthorizationType_name = map[int32]string{
	0: "AUTHORIZATION_TYPE_UNSPECIFIED",
	1: "AUTHORIZATION_CODE",
	2: "GOOGLE_PLUS_AUTHORIZATION_CODE",
	3: "FIRST_PARTY_OAUTH",
}
View Source
var DataSource_AuthorizationType_value = map[string]int32{
	"AUTHORIZATION_TYPE_UNSPECIFIED": 0,
	"AUTHORIZATION_CODE":             1,
	"GOOGLE_PLUS_AUTHORIZATION_CODE": 2,
	"FIRST_PARTY_OAUTH":              3,
}
View Source
var DataSource_DataRefreshType_name = map[int32]string{
	0: "DATA_REFRESH_TYPE_UNSPECIFIED",
	1: "SLIDING_WINDOW",
	2: "CUSTOM_SLIDING_WINDOW",
}
View Source
var DataSource_DataRefreshType_value = map[string]int32{
	"DATA_REFRESH_TYPE_UNSPECIFIED": 0,
	"SLIDING_WINDOW":                1,
	"CUSTOM_SLIDING_WINDOW":         2,
}
View Source
var ImportedDataInfo_Encoding_name = map[int32]string{
	0: "ENCODING_UNSPECIFIED",
	1: "ISO_8859_1",
	2: "UTF8",
}
View Source
var ImportedDataInfo_Encoding_value = map[string]int32{
	"ENCODING_UNSPECIFIED": 0,
	"ISO_8859_1":           1,
	"UTF8":                 2,
}
View Source
var ImportedDataInfo_FieldSchema_Type_name = map[int32]string{
	0:  "TYPE_UNSPECIFIED",
	1:  "STRING",
	2:  "INTEGER",
	3:  "FLOAT",
	4:  "RECORD",
	5:  "BYTES",
	6:  "BOOLEAN",
	7:  "TIMESTAMP",
	8:  "DATE",
	9:  "TIME",
	10: "DATETIME",
	11: "NUMERIC",
	12: "GEOGRAPHY",
}
View Source
var ImportedDataInfo_FieldSchema_Type_value = map[string]int32{
	"TYPE_UNSPECIFIED": 0,
	"STRING":           1,
	"INTEGER":          2,
	"FLOAT":            3,
	"RECORD":           4,
	"BYTES":            5,
	"BOOLEAN":          6,
	"TIMESTAMP":        7,
	"DATE":             8,
	"TIME":             9,
	"DATETIME":         10,
	"NUMERIC":          11,
	"GEOGRAPHY":        12,
}
View Source
var ImportedDataInfo_Format_name = map[int32]string{
	0: "FORMAT_UNSPECIFIED",
	1: "CSV",
	2: "JSON",
	3: "AVRO",
	4: "RECORDIO",
	5: "COLUMNIO",
	6: "CAPACITOR",
	7: "PARQUET",
	8: "ORC",
}
View Source
var ImportedDataInfo_Format_value = map[string]int32{
	"FORMAT_UNSPECIFIED": 0,
	"CSV":                1,
	"JSON":               2,
	"AVRO":               3,
	"RECORDIO":           4,
	"COLUMNIO":           5,
	"CAPACITOR":          6,
	"PARQUET":            7,
	"ORC":                8,
}
View Source
var ListTransferRunsRequest_RunAttempt_name = map[int32]string{
	0: "RUN_ATTEMPT_UNSPECIFIED",
	1: "LATEST",
}
View Source
var ListTransferRunsRequest_RunAttempt_value = map[string]int32{
	"RUN_ATTEMPT_UNSPECIFIED": 0,
	"LATEST":                  1,
}
View Source
var TransferMessage_MessageSeverity_name = map[int32]string{
	0: "MESSAGE_SEVERITY_UNSPECIFIED",
	1: "INFO",
	2: "WARNING",
	3: "ERROR",
}
View Source
var TransferMessage_MessageSeverity_value = map[string]int32{
	"MESSAGE_SEVERITY_UNSPECIFIED": 0,
	"INFO":                         1,
	"WARNING":                      2,
	"ERROR":                        3,
}
View Source
var TransferState_name = map[int32]string{
	0: "TRANSFER_STATE_UNSPECIFIED",
	2: "PENDING",
	3: "RUNNING",
	4: "SUCCEEDED",
	5: "FAILED",
	6: "CANCELLED",
}
View Source
var TransferState_value = map[string]int32{
	"TRANSFER_STATE_UNSPECIFIED": 0,
	"PENDING":                    2,
	"RUNNING":                    3,
	"SUCCEEDED":                  4,
	"FAILED":                     5,
	"CANCELLED":                  6,
}
View Source
var TransferType_name = map[int32]string{
	0: "TRANSFER_TYPE_UNSPECIFIED",
	1: "BATCH",
	2: "STREAMING",
}
View Source
var TransferType_value = map[string]int32{
	"TRANSFER_TYPE_UNSPECIFIED": 0,
	"BATCH":                     1,
	"STREAMING":                 2,
}
View Source
var WriteDisposition_name = map[int32]string{
	0: "WRITE_DISPOSITION_UNSPECIFIED",
	1: "WRITE_TRUNCATE",
	2: "WRITE_APPEND",
}
View Source
var WriteDisposition_value = map[string]int32{
	"WRITE_DISPOSITION_UNSPECIFIED": 0,
	"WRITE_TRUNCATE":                1,
	"WRITE_APPEND":                  2,
}

Functions

func RegisterDataSourceServiceServer

func RegisterDataSourceServiceServer(s *grpc.Server, srv DataSourceServiceServer)

func RegisterDataTransferServiceServer

func RegisterDataTransferServiceServer(s *grpc.Server, srv DataTransferServiceServer)

Types

type 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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)

func (*CheckValidCredsRequest) GetName

func (m *CheckValidCredsRequest) GetName() string

func (*CheckValidCredsRequest) ProtoMessage

func (*CheckValidCredsRequest) ProtoMessage()

func (*CheckValidCredsRequest) Reset

func (m *CheckValidCredsRequest) Reset()

func (*CheckValidCredsRequest) String

func (m *CheckValidCredsRequest) String() string

func (*CheckValidCredsRequest) XXX_DiscardUnknown

func (m *CheckValidCredsRequest) XXX_DiscardUnknown()

func (*CheckValidCredsRequest) XXX_Marshal

func (m *CheckValidCredsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckValidCredsRequest) XXX_Merge

func (m *CheckValidCredsRequest) XXX_Merge(src proto.Message)

func (*CheckValidCredsRequest) XXX_Size

func (m *CheckValidCredsRequest) XXX_Size() int

func (*CheckValidCredsRequest) XXX_Unmarshal

func (m *CheckValidCredsRequest) XXX_Unmarshal(b []byte) error

type CheckValidCredsResponse

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A response indicating whether the credentials exist and are valid.

func (*CheckValidCredsResponse) Descriptor

func (*CheckValidCredsResponse) Descriptor() ([]byte, []int)

func (*CheckValidCredsResponse) GetHasValidCreds

func (m *CheckValidCredsResponse) GetHasValidCreds() bool

func (*CheckValidCredsResponse) ProtoMessage

func (*CheckValidCredsResponse) ProtoMessage()

func (*CheckValidCredsResponse) Reset

func (m *CheckValidCredsResponse) Reset()

func (*CheckValidCredsResponse) String

func (m *CheckValidCredsResponse) String() string

func (*CheckValidCredsResponse) XXX_DiscardUnknown

func (m *CheckValidCredsResponse) XXX_DiscardUnknown()

func (*CheckValidCredsResponse) XXX_Marshal

func (m *CheckValidCredsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckValidCredsResponse) XXX_Merge

func (m *CheckValidCredsResponse) XXX_Merge(src proto.Message)

func (*CheckValidCredsResponse) XXX_Size

func (m *CheckValidCredsResponse) XXX_Size() int

func (*CheckValidCredsResponse) XXX_Unmarshal

func (m *CheckValidCredsResponse) XXX_Unmarshal(b []byte) error

type CreateDataSourceDefinitionRequest

type CreateDataSourceDefinitionRequest struct {
	// The BigQuery project id for which data source definition is associated.
	// Must be in the form: `projects/{project_id}/locations/{location_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Data source definition.
	DataSourceDefinition *DataSourceDefinition `protobuf:"bytes,2,opt,name=data_source_definition,json=dataSourceDefinition,proto3" json:"data_source_definition,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Represents the request of the CreateDataSourceDefinition method.

func (*CreateDataSourceDefinitionRequest) Descriptor

func (*CreateDataSourceDefinitionRequest) Descriptor() ([]byte, []int)

func (*CreateDataSourceDefinitionRequest) GetDataSourceDefinition

func (m *CreateDataSourceDefinitionRequest) GetDataSourceDefinition() *DataSourceDefinition

func (*CreateDataSourceDefinitionRequest) GetParent

func (*CreateDataSourceDefinitionRequest) ProtoMessage

func (*CreateDataSourceDefinitionRequest) ProtoMessage()

func (*CreateDataSourceDefinitionRequest) Reset

func (*CreateDataSourceDefinitionRequest) String

func (*CreateDataSourceDefinitionRequest) XXX_DiscardUnknown

func (m *CreateDataSourceDefinitionRequest) XXX_DiscardUnknown()

func (*CreateDataSourceDefinitionRequest) XXX_Marshal

func (m *CreateDataSourceDefinitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateDataSourceDefinitionRequest) XXX_Merge

func (*CreateDataSourceDefinitionRequest) XXX_Size

func (m *CreateDataSourceDefinitionRequest) XXX_Size() int

func (*CreateDataSourceDefinitionRequest) XXX_Unmarshal

func (m *CreateDataSourceDefinitionRequest) XXX_Unmarshal(b []byte) error

type CreateTransferConfigRequest

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 if new credentials are needed, as indicated by
	// `CheckValidCreds`.
	// In order to obtain authorization_code, please make a
	// request to
	// https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri>
	//
	// * client_id should be OAuth client_id of BigQuery DTS API for the given
	//   data source returned by ListDataSources method.
	// * data_source_scopes are the scopes returned by ListDataSources method.
	// * redirect_uri is an optional parameter. If not specified, then
	//   authorization code is posted to the opener of authorization flow window.
	//   Otherwise it will be sent to the redirect uri. A special value of
	//   urn:ietf:wg:oauth:2.0:oob means that authorization code should be
	//   returned in the title bar of the browser, with the page text prompting
	//   the user to copy the code and paste it in the application.
	AuthorizationCode string `protobuf:"bytes,3,opt,name=authorization_code,json=authorizationCode,proto3" json:"authorization_code,omitempty"`
	// Optional version info. If users want to find a very recent access token,
	// that is, immediately after approving access, users have to set the
	// version_info claim in the token request. To obtain the version_info, users
	// must use the "none+gsession" response type. which be return a
	// version_info back in the authorization response which be be put in a JWT
	// claim in the token request.
	VersionInfo string `protobuf:"bytes,5,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
	// Optional service account name. If this field is set, transfer config will
	// be created with this service account credentials. It requires that
	// requesting user calling this API has permissions to act as this service
	// account.
	ServiceAccountName   string   `protobuf:"bytes,6,opt,name=service_account_name,json=serviceAccountName,proto3" json:"service_account_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A request to create a data transfer configuration. If new credentials are needed for this transfer configuration, an authorization code must be provided. If an authorization code is provided, the transfer configuration will be associated with the user id corresponding to the authorization code. Otherwise, the transfer configuration will be associated with the calling user.

func (*CreateTransferConfigRequest) Descriptor

func (*CreateTransferConfigRequest) Descriptor() ([]byte, []int)

func (*CreateTransferConfigRequest) GetAuthorizationCode

func (m *CreateTransferConfigRequest) GetAuthorizationCode() string

func (*CreateTransferConfigRequest) GetParent

func (m *CreateTransferConfigRequest) GetParent() string

func (*CreateTransferConfigRequest) GetServiceAccountName

func (m *CreateTransferConfigRequest) GetServiceAccountName() string

func (*CreateTransferConfigRequest) GetTransferConfig

func (m *CreateTransferConfigRequest) GetTransferConfig() *TransferConfig

func (*CreateTransferConfigRequest) GetVersionInfo

func (m *CreateTransferConfigRequest) GetVersionInfo() string

func (*CreateTransferConfigRequest) ProtoMessage

func (*CreateTransferConfigRequest) ProtoMessage()

func (*CreateTransferConfigRequest) Reset

func (m *CreateTransferConfigRequest) Reset()

func (*CreateTransferConfigRequest) String

func (m *CreateTransferConfigRequest) String() string

func (*CreateTransferConfigRequest) XXX_DiscardUnknown

func (m *CreateTransferConfigRequest) XXX_DiscardUnknown()

func (*CreateTransferConfigRequest) XXX_Marshal

func (m *CreateTransferConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateTransferConfigRequest) XXX_Merge

func (m *CreateTransferConfigRequest) XXX_Merge(src proto.Message)

func (*CreateTransferConfigRequest) XXX_Size

func (m *CreateTransferConfigRequest) XXX_Size() int

func (*CreateTransferConfigRequest) XXX_Unmarshal

func (m *CreateTransferConfigRequest) XXX_Unmarshal(b []byte) error

type DataSource

type DataSource struct {
	// Output only. Data source resource name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Data source id.
	DataSourceId string `protobuf:"bytes,2,opt,name=data_source_id,json=dataSourceId,proto3" json:"data_source_id,omitempty"`
	// User friendly data source name.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// User friendly data source description string.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Data source client id which should be used to receive refresh token.
	ClientId string `protobuf:"bytes,5,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// Api auth scopes for which refresh token needs to be obtained. These are
	// scopes needed by a data source to prepare data and ingest them into
	// BigQuery, e.g., https://www.googleapis.com/auth/bigquery
	Scopes []string `protobuf:"bytes,6,rep,name=scopes,proto3" json:"scopes,omitempty"`
	// Deprecated. This field has no effect.
	TransferType TransferType `` // Deprecated: Do not use.
	/* 154-byte string literal not displayed */
	// Deprecated. This field has no effect.
	SupportsMultipleTransfers bool `` // Deprecated: Do not use.
	/* 139-byte string literal not displayed */
	// The number of seconds to wait for an update from the data source
	// before the Data Transfer Service marks the transfer as FAILED.
	UpdateDeadlineSeconds int32 `` /* 127-byte string literal not displayed */
	// Default data transfer schedule.
	// Examples of valid schedules include:
	// `1st,3rd monday of month 15:30`,
	// `every wed,fri of jan,jun 13:15`, and
	// `first sunday of quarter 00:00`.
	DefaultSchedule string `protobuf:"bytes,10,opt,name=default_schedule,json=defaultSchedule,proto3" json:"default_schedule,omitempty"`
	// Specifies whether the data source supports a user defined schedule, or
	// operates on the default schedule.
	// When set to `true`, user can override default schedule.
	SupportsCustomSchedule bool `` /* 131-byte string literal not displayed */
	// Data source parameters.
	Parameters []*DataSourceParameter `protobuf:"bytes,12,rep,name=parameters,proto3" json:"parameters,omitempty"`
	// Url for the help document for this data source.
	HelpUrl string `protobuf:"bytes,13,opt,name=help_url,json=helpUrl,proto3" json:"help_url,omitempty"`
	// Indicates the type of authorization.
	AuthorizationType DataSource_AuthorizationType `` /* 186-byte string literal not displayed */
	// Specifies whether the data source supports automatic data refresh for the
	// past few days, and how it's supported.
	// For some data sources, data might not be complete until a few days later,
	// so it's useful to refresh data automatically.
	DataRefreshType DataSource_DataRefreshType `` /* 180-byte string literal not displayed */
	// Default data refresh window on days.
	// Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.
	DefaultDataRefreshWindowDays int32 `` /* 153-byte string literal not displayed */
	// Disables backfilling and manual run scheduling
	// for the data source.
	ManualRunsDisabled bool `protobuf:"varint,17,opt,name=manual_runs_disabled,json=manualRunsDisabled,proto3" json:"manual_runs_disabled,omitempty"`
	// The minimum interval for scheduler to schedule runs.
	MinimumScheduleInterval *duration.Duration `` /* 133-byte string literal not displayed */
	XXX_NoUnkeyedLiteral    struct{}           `json:"-"`
	XXX_unrecognized        []byte             `json:"-"`
	XXX_sizecache           int32              `json:"-"`
}

Represents data source metadata. Metadata is sufficient to render UI and request proper OAuth tokens.

func (*DataSource) Descriptor

func (*DataSource) Descriptor() ([]byte, []int)

func (*DataSource) GetAuthorizationType

func (m *DataSource) GetAuthorizationType() DataSource_AuthorizationType

func (*DataSource) GetClientId

func (m *DataSource) GetClientId() string

func (*DataSource) GetDataRefreshType

func (m *DataSource) GetDataRefreshType() DataSource_DataRefreshType

func (*DataSource) GetDataSourceId

func (m *DataSource) GetDataSourceId() string

func (*DataSource) GetDefaultDataRefreshWindowDays

func (m *DataSource) GetDefaultDataRefreshWindowDays() int32

func (*DataSource) GetDefaultSchedule

func (m *DataSource) GetDefaultSchedule() string

func (*DataSource) GetDescription

func (m *DataSource) GetDescription() string

func (*DataSource) GetDisplayName

func (m *DataSource) GetDisplayName() string

func (*DataSource) GetHelpUrl

func (m *DataSource) GetHelpUrl() string

func (*DataSource) GetManualRunsDisabled

func (m *DataSource) GetManualRunsDisabled() bool

func (*DataSource) GetMinimumScheduleInterval

func (m *DataSource) GetMinimumScheduleInterval() *duration.Duration

func (*DataSource) GetName

func (m *DataSource) GetName() string

func (*DataSource) GetParameters

func (m *DataSource) GetParameters() []*DataSourceParameter

func (*DataSource) GetScopes

func (m *DataSource) GetScopes() []string

func (*DataSource) GetSupportsCustomSchedule

func (m *DataSource) GetSupportsCustomSchedule() bool

func (*DataSource) GetSupportsMultipleTransfers deprecated

func (m *DataSource) GetSupportsMultipleTransfers() bool

Deprecated: Do not use.

func (*DataSource) GetTransferType deprecated

func (m *DataSource) GetTransferType() TransferType

Deprecated: Do not use.

func (*DataSource) GetUpdateDeadlineSeconds

func (m *DataSource) GetUpdateDeadlineSeconds() int32

func (*DataSource) ProtoMessage

func (*DataSource) ProtoMessage()

func (*DataSource) Reset

func (m *DataSource) Reset()

func (*DataSource) String

func (m *DataSource) String() string

func (*DataSource) XXX_DiscardUnknown

func (m *DataSource) XXX_DiscardUnknown()

func (*DataSource) XXX_Marshal

func (m *DataSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DataSource) XXX_Merge

func (m *DataSource) XXX_Merge(src proto.Message)

func (*DataSource) XXX_Size

func (m *DataSource) XXX_Size() int

func (*DataSource) XXX_Unmarshal

func (m *DataSource) XXX_Unmarshal(b []byte) error

type DataSourceDefinition

type DataSourceDefinition struct {
	// The resource name of the data source definition.
	// Data source definition names have the form
	// `projects/{project_id}/locations/{location}/dataSourceDefinitions/{data_source_id}`.
	Name string `protobuf:"bytes,21,opt,name=name,proto3" json:"name,omitempty"`
	// Data source metadata.
	DataSource *DataSource `protobuf:"bytes,1,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"`
	// The Pub/Sub topic to be used for broadcasting a message when a transfer run
	// is created. Both this topic and transfer_config_pubsub_topic can be
	// set to a custom topic. By default, both topics are auto-generated if none
	// of them is provided when creating the definition. However, if one topic is
	// manually set, the other topic has to be manually set as well. The only
	// difference is that transfer_run_pubsub_topic must be a non-empty Pub/Sub
	// topic, but transfer_config_pubsub_topic can be set to empty. The comments
	// about "{location}" for transfer_config_pubsub_topic apply here too.
	TransferRunPubsubTopic string `` /* 132-byte string literal not displayed */
	// Duration which should be added to schedule_time to calculate
	// run_time when job is scheduled. Only applicable for automatically
	// scheduled transfer runs. Used to start a run early on a data source that
	// supports continuous data refresh to compensate for unknown timezone
	// offsets. Use a negative number to start a run late for data sources not
	// supporting continuous data refresh.
	RunTimeOffset *duration.Duration `protobuf:"bytes,16,opt,name=run_time_offset,json=runTimeOffset,proto3" json:"run_time_offset,omitempty"`
	// Support e-mail address of the OAuth client's Brand, which contains the
	// consent screen data.
	SupportEmail string `protobuf:"bytes,22,opt,name=support_email,json=supportEmail,proto3" json:"support_email,omitempty"`
	// When service account is specified, BigQuery will share created dataset
	// with the given service account. Also, this service account will be
	// eligible to perform status updates and message logging for data transfer
	// runs for the corresponding data_source_id.
	ServiceAccount string `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// Is data source disabled? If true, data_source is not visible.
	// API will also stop returning any data transfer configs and/or runs
	// associated with the data source. This setting has higher priority
	// than whitelisted_project_ids.
	Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// The Pub/Sub topic to use for broadcasting a message for transfer config. If
	// empty, a message will not be broadcasted. Both this topic and
	// transfer_run_pubsub_topic are auto-generated if none of them is provided
	// when creating the definition. It is recommended to provide
	// transfer_config_pubsub_topic if a user-owned transfer_run_pubsub_topic is
	// provided. Otherwise, it will be set to empty. If "{location}" is found in
	// the value, then that means, data source wants to handle message separately
	// for datasets in different regions. We will replace {location} with the
	// actual dataset location, as the actual topic name. For example,
	// projects/connector/topics/scheduler-{location} could become
	// projects/connector/topics/scheduler-us. If "{location}" is not found, then
	// we will use the input value as topic name.
	TransferConfigPubsubTopic string `` /* 141-byte string literal not displayed */
	// Supported location_ids used for deciding in which locations Pub/Sub topics
	// need to be created. If custom Pub/Sub topics are used and they contains
	// '{location}', the location_ids will be used for validating the topics by
	// replacing the '{location}' with the individual location in the list. The
	// valid values are the "location_id" field of the response of `GET
	// https://bigquerydatatransfer.googleapis.com/v1/{name=projects/*}/locations`
	// In addition, if the data source needs to support all available regions,
	// supported_location_ids can be set to "global" (a single string element).
	// When "global" is specified:
	// 1) the data source implementation is supposed to stage the data in proper
	// region of the destination dataset;
	// 2) Data source developer should be aware of the implications (e.g., network
	// traffic latency, potential charge associated with cross-region traffic,
	// etc.) of supporting the "global" region;
	SupportedLocationIds []string `protobuf:"bytes,23,rep,name=supported_location_ids,json=supportedLocationIds,proto3" json:"supported_location_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents the data source definition.

func (*DataSourceDefinition) Descriptor

func (*DataSourceDefinition) Descriptor() ([]byte, []int)

func (*DataSourceDefinition) GetDataSource

func (m *DataSourceDefinition) GetDataSource() *DataSource

func (*DataSourceDefinition) GetDisabled

func (m *DataSourceDefinition) GetDisabled() bool

func (*DataSourceDefinition) GetName

func (m *DataSourceDefinition) GetName() string

func (*DataSourceDefinition) GetRunTimeOffset

func (m *DataSourceDefinition) GetRunTimeOffset() *duration.Duration

func (*DataSourceDefinition) GetServiceAccount

func (m *DataSourceDefinition) GetServiceAccount() string

func (*DataSourceDefinition) GetSupportEmail

func (m *DataSourceDefinition) GetSupportEmail() string

func (*DataSourceDefinition) GetSupportedLocationIds

func (m *DataSourceDefinition) GetSupportedLocationIds() []string

func (*DataSourceDefinition) GetTransferConfigPubsubTopic

func (m *DataSourceDefinition) GetTransferConfigPubsubTopic() string

func (*DataSourceDefinition) GetTransferRunPubsubTopic

func (m *DataSourceDefinition) GetTransferRunPubsubTopic() string

func (*DataSourceDefinition) ProtoMessage

func (*DataSourceDefinition) ProtoMessage()

func (*DataSourceDefinition) Reset

func (m *DataSourceDefinition) Reset()

func (*DataSourceDefinition) String

func (m *DataSourceDefinition) String() string

func (*DataSourceDefinition) XXX_DiscardUnknown

func (m *DataSourceDefinition) XXX_DiscardUnknown()

func (*DataSourceDefinition) XXX_Marshal

func (m *DataSourceDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DataSourceDefinition) XXX_Merge

func (m *DataSourceDefinition) XXX_Merge(src proto.Message)

func (*DataSourceDefinition) XXX_Size

func (m *DataSourceDefinition) XXX_Size() int

func (*DataSourceDefinition) XXX_Unmarshal

func (m *DataSourceDefinition) XXX_Unmarshal(b []byte) error

type DataSourceParameter

type DataSourceParameter struct {
	// Parameter identifier.
	ParamId string `protobuf:"bytes,1,opt,name=param_id,json=paramId,proto3" json:"param_id,omitempty"`
	// Parameter display name in the user interface.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Parameter description.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Parameter type.
	Type DataSourceParameter_Type `` /* 130-byte string literal not displayed */
	// Is parameter required.
	Required bool `protobuf:"varint,5,opt,name=required,proto3" json:"required,omitempty"`
	// Deprecated. This field has no effect.
	Repeated bool `protobuf:"varint,6,opt,name=repeated,proto3" json:"repeated,omitempty"`
	// Regular expression which can be used for parameter validation.
	ValidationRegex string `protobuf:"bytes,7,opt,name=validation_regex,json=validationRegex,proto3" json:"validation_regex,omitempty"`
	// All possible values for the parameter.
	AllowedValues []string `protobuf:"bytes,8,rep,name=allowed_values,json=allowedValues,proto3" json:"allowed_values,omitempty"`
	// For integer and double values specifies minimum allowed value.
	MinValue *wrappers.DoubleValue `protobuf:"bytes,9,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"`
	// For integer and double values specifies maxminum allowed value.
	MaxValue *wrappers.DoubleValue `protobuf:"bytes,10,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"`
	// Deprecated. This field has no effect.
	Fields []*DataSourceParameter `protobuf:"bytes,11,rep,name=fields,proto3" json:"fields,omitempty"`
	// Description of the requirements for this field, in case the user input does
	// not fulfill the regex pattern or min/max values.
	ValidationDescription string `protobuf:"bytes,12,opt,name=validation_description,json=validationDescription,proto3" json:"validation_description,omitempty"`
	// URL to a help document to further explain the naming requirements.
	ValidationHelpUrl string `protobuf:"bytes,13,opt,name=validation_help_url,json=validationHelpUrl,proto3" json:"validation_help_url,omitempty"`
	// Cannot be changed after initial creation.
	Immutable bool `protobuf:"varint,14,opt,name=immutable,proto3" json:"immutable,omitempty"`
	// Deprecated. This field has no effect.
	Recurse bool `protobuf:"varint,15,opt,name=recurse,proto3" json:"recurse,omitempty"`
	// If true, it should not be used in new transfers, and it should not be
	// visible to users.
	Deprecated           bool     `protobuf:"varint,20,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents a data source parameter with validation rules, so that parameters can be rendered in the UI. These parameters are given to us by supported data sources, and include all needed information for rendering and validation. Thus, whoever uses this api can decide to generate either generic ui, or custom data source specific forms.

func (*DataSourceParameter) Descriptor

func (*DataSourceParameter) Descriptor() ([]byte, []int)

func (*DataSourceParameter) GetAllowedValues

func (m *DataSourceParameter) GetAllowedValues() []string

func (*DataSourceParameter) GetDeprecated

func (m *DataSourceParameter) GetDeprecated() bool

func (*DataSourceParameter) GetDescription

func (m *DataSourceParameter) GetDescription() string

func (*DataSourceParameter) GetDisplayName

func (m *DataSourceParameter) GetDisplayName() string

func (*DataSourceParameter) GetFields

func (m *DataSourceParameter) GetFields() []*DataSourceParameter

func (*DataSourceParameter) GetImmutable

func (m *DataSourceParameter) GetImmutable() bool

func (*DataSourceParameter) GetMaxValue

func (m *DataSourceParameter) GetMaxValue() *wrappers.DoubleValue

func (*DataSourceParameter) GetMinValue

func (m *DataSourceParameter) GetMinValue() *wrappers.DoubleValue

func (*DataSourceParameter) GetParamId

func (m *DataSourceParameter) GetParamId() string

func (*DataSourceParameter) GetRecurse

func (m *DataSourceParameter) GetRecurse() bool

func (*DataSourceParameter) GetRepeated

func (m *DataSourceParameter) GetRepeated() bool

func (*DataSourceParameter) GetRequired

func (m *DataSourceParameter) GetRequired() bool

func (*DataSourceParameter) GetType

func (*DataSourceParameter) GetValidationDescription

func (m *DataSourceParameter) GetValidationDescription() string

func (*DataSourceParameter) GetValidationHelpUrl

func (m *DataSourceParameter) GetValidationHelpUrl() string

func (*DataSourceParameter) GetValidationRegex

func (m *DataSourceParameter) GetValidationRegex() string

func (*DataSourceParameter) ProtoMessage

func (*DataSourceParameter) ProtoMessage()

func (*DataSourceParameter) Reset

func (m *DataSourceParameter) Reset()

func (*DataSourceParameter) String

func (m *DataSourceParameter) String() string

func (*DataSourceParameter) XXX_DiscardUnknown

func (m *DataSourceParameter) XXX_DiscardUnknown()

func (*DataSourceParameter) XXX_Marshal

func (m *DataSourceParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DataSourceParameter) XXX_Merge

func (m *DataSourceParameter) XXX_Merge(src proto.Message)

func (*DataSourceParameter) XXX_Size

func (m *DataSourceParameter) XXX_Size() int

func (*DataSourceParameter) XXX_Unmarshal

func (m *DataSourceParameter) XXX_Unmarshal(b []byte) error

type DataSourceParameter_Type

type DataSourceParameter_Type int32

Parameter type.

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) EnumDescriptor

func (DataSourceParameter_Type) EnumDescriptor() ([]byte, []int)

func (DataSourceParameter_Type) String

func (x DataSourceParameter_Type) String() string

type DataSourceServiceClient

type DataSourceServiceClient interface {
	// Update a transfer run. If successful, resets
	// data_source.update_deadline_seconds timer.
	UpdateTransferRun(ctx context.Context, in *UpdateTransferRunRequest, opts ...grpc.CallOption) (*TransferRun, error)
	// Log messages for a transfer run. If successful (at least 1 message), resets
	// data_source.update_deadline_seconds timer.
	LogTransferRunMessages(ctx context.Context, in *LogTransferRunMessagesRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Notify the Data Transfer Service that data is ready for loading.
	// The Data Transfer Service will start and monitor multiple BigQuery Load
	// jobs for a transfer run. Monitored jobs will be automatically retried
	// and produce log messages when starting and finishing a job.
	// Can be called multiple times for the same transfer run.
	StartBigQueryJobs(ctx context.Context, in *StartBigQueryJobsRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Notify the Data Transfer Service that the data source is done processing
	// the run. No more status updates or requests to start/monitor jobs will be
	// accepted. The run will be finalized by the Data Transfer Service when all
	// monitored jobs are completed.
	// Does not need to be called if the run is set to FAILED.
	FinishRun(ctx context.Context, in *FinishRunRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Creates a data source definition.  Calling this method will automatically
	// use your credentials to create the following Google Cloud resources in
	// YOUR Google Cloud project.
	// 1. OAuth client
	// 2. Pub/Sub Topics and Subscriptions in each supported_location_ids. e.g.,
	// projects/{project_id}/{topics|subscriptions}/bigquerydatatransfer.{data_source_id}.{location_id}.run
	// The field data_source.client_id should be left empty in the input request,
	// as the API will create a new OAuth client on behalf of the caller. On the
	// other hand data_source.scopes usually need to be set when there are OAuth
	// scopes that need to be granted by end users.
	// 3. We need a longer deadline due to the 60 seconds SLO from Pub/Sub admin
	// Operations. This also applies to update and delete data source definition.
	CreateDataSourceDefinition(ctx context.Context, in *CreateDataSourceDefinitionRequest, opts ...grpc.CallOption) (*DataSourceDefinition, error)
	// Updates an existing data source definition. If changing
	// supported_location_ids, triggers same effects as mentioned in "Create a
	// data source definition."
	UpdateDataSourceDefinition(ctx context.Context, in *UpdateDataSourceDefinitionRequest, opts ...grpc.CallOption) (*DataSourceDefinition, error)
	// Deletes a data source definition, all of the transfer configs associated
	// with this data source definition (if any) must be deleted first by the user
	// in ALL regions, in order to delete the data source definition.
	// This method is primarily meant for deleting data sources created during
	// testing stage.
	// If the data source is referenced by transfer configs in the region
	// specified in the request URL, the method will fail immediately. If in the
	// current region (e.g., US) it's not used by any transfer configs, but in
	// another region (e.g., EU) it is, then although the method will succeed in
	// region US, but it will fail when the deletion operation is replicated to
	// region EU. And eventually, the system will replicate the data source
	// definition back from EU to US, in order to bring all regions to
	// consistency. The final effect is that the data source appears to be
	// 'undeleted' in the US region.
	DeleteDataSourceDefinition(ctx context.Context, in *DeleteDataSourceDefinitionRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Retrieves an existing data source definition.
	GetDataSourceDefinition(ctx context.Context, in *GetDataSourceDefinitionRequest, opts ...grpc.CallOption) (*DataSourceDefinition, error)
	// Lists supported data source definitions.
	ListDataSourceDefinitions(ctx context.Context, in *ListDataSourceDefinitionsRequest, opts ...grpc.CallOption) (*ListDataSourceDefinitionsResponse, error)
}

DataSourceServiceClient is the client API for DataSourceService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDataSourceServiceClient

func NewDataSourceServiceClient(cc *grpc.ClientConn) DataSourceServiceClient

type DataSourceServiceServer

type DataSourceServiceServer interface {
	// Update a transfer run. If successful, resets
	// data_source.update_deadline_seconds timer.
	UpdateTransferRun(context.Context, *UpdateTransferRunRequest) (*TransferRun, error)
	// Log messages for a transfer run. If successful (at least 1 message), resets
	// data_source.update_deadline_seconds timer.
	LogTransferRunMessages(context.Context, *LogTransferRunMessagesRequest) (*empty.Empty, error)
	// Notify the Data Transfer Service that data is ready for loading.
	// The Data Transfer Service will start and monitor multiple BigQuery Load
	// jobs for a transfer run. Monitored jobs will be automatically retried
	// and produce log messages when starting and finishing a job.
	// Can be called multiple times for the same transfer run.
	StartBigQueryJobs(context.Context, *StartBigQueryJobsRequest) (*empty.Empty, error)
	// Notify the Data Transfer Service that the data source is done processing
	// the run. No more status updates or requests to start/monitor jobs will be
	// accepted. The run will be finalized by the Data Transfer Service when all
	// monitored jobs are completed.
	// Does not need to be called if the run is set to FAILED.
	FinishRun(context.Context, *FinishRunRequest) (*empty.Empty, error)
	// Creates a data source definition.  Calling this method will automatically
	// use your credentials to create the following Google Cloud resources in
	// YOUR Google Cloud project.
	// 1. OAuth client
	// 2. Pub/Sub Topics and Subscriptions in each supported_location_ids. e.g.,
	// projects/{project_id}/{topics|subscriptions}/bigquerydatatransfer.{data_source_id}.{location_id}.run
	// The field data_source.client_id should be left empty in the input request,
	// as the API will create a new OAuth client on behalf of the caller. On the
	// other hand data_source.scopes usually need to be set when there are OAuth
	// scopes that need to be granted by end users.
	// 3. We need a longer deadline due to the 60 seconds SLO from Pub/Sub admin
	// Operations. This also applies to update and delete data source definition.
	CreateDataSourceDefinition(context.Context, *CreateDataSourceDefinitionRequest) (*DataSourceDefinition, error)
	// Updates an existing data source definition. If changing
	// supported_location_ids, triggers same effects as mentioned in "Create a
	// data source definition."
	UpdateDataSourceDefinition(context.Context, *UpdateDataSourceDefinitionRequest) (*DataSourceDefinition, error)
	// Deletes a data source definition, all of the transfer configs associated
	// with this data source definition (if any) must be deleted first by the user
	// in ALL regions, in order to delete the data source definition.
	// This method is primarily meant for deleting data sources created during
	// testing stage.
	// If the data source is referenced by transfer configs in the region
	// specified in the request URL, the method will fail immediately. If in the
	// current region (e.g., US) it's not used by any transfer configs, but in
	// another region (e.g., EU) it is, then although the method will succeed in
	// region US, but it will fail when the deletion operation is replicated to
	// region EU. And eventually, the system will replicate the data source
	// definition back from EU to US, in order to bring all regions to
	// consistency. The final effect is that the data source appears to be
	// 'undeleted' in the US region.
	DeleteDataSourceDefinition(context.Context, *DeleteDataSourceDefinitionRequest) (*empty.Empty, error)
	// Retrieves an existing data source definition.
	GetDataSourceDefinition(context.Context, *GetDataSourceDefinitionRequest) (*DataSourceDefinition, error)
	// Lists supported data source definitions.
	ListDataSourceDefinitions(context.Context, *ListDataSourceDefinitionsRequest) (*ListDataSourceDefinitionsResponse, error)
}

DataSourceServiceServer is the server API for DataSourceService service.

type DataSource_AuthorizationType

type DataSource_AuthorizationType int32

The type of authorization needed for this data source.

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 Client OAuth. First Party Client OAuth doesn't require a
	// refresh token to get an offline access token. Instead, it uses a
	// client-signed JWT assertion to retrieve an access token.
	DataSource_FIRST_PARTY_OAUTH DataSource_AuthorizationType = 3
)

func (DataSource_AuthorizationType) EnumDescriptor

func (DataSource_AuthorizationType) EnumDescriptor() ([]byte, []int)

func (DataSource_AuthorizationType) String

type DataSource_DataRefreshType

type DataSource_DataRefreshType int32

Represents how the data source supports data auto refresh.

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) EnumDescriptor

func (DataSource_DataRefreshType) EnumDescriptor() ([]byte, []int)

func (DataSource_DataRefreshType) String

type DataTransferServiceClient

type DataTransferServiceClient interface {
	// Retrieves a supported data source and returns its settings,
	// which can be used for UI rendering.
	GetDataSource(ctx context.Context, in *GetDataSourceRequest, opts ...grpc.CallOption) (*DataSource, error)
	// Lists supported data sources and returns their settings,
	// which can be used for UI rendering.
	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) (*empty.Empty, error)
	// Returns information about a data transfer config.
	GetTransferConfig(ctx context.Context, in *GetTransferConfigRequest, opts ...grpc.CallOption) (*TransferConfig, error)
	// Returns information about all data transfers in the project.
	ListTransferConfigs(ctx context.Context, in *ListTransferConfigsRequest, opts ...grpc.CallOption) (*ListTransferConfigsResponse, error)
	// 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.
	//
	// Deprecated: Do not use.
	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) (*empty.Empty, error)
	// Returns information about running and completed jobs.
	ListTransferRuns(ctx context.Context, in *ListTransferRunsRequest, opts ...grpc.CallOption) (*ListTransferRunsResponse, error)
	// Returns user facing log messages for the data 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.
	// Some data sources doesn't support service account, so we need to talk to
	// them on behalf of the end user. This API just checks whether we have OAuth
	// token for the particular user, which is a pre-requisite before user can
	// create a transfer config.
	CheckValidCreds(ctx context.Context, in *CheckValidCredsRequest, opts ...grpc.CallOption) (*CheckValidCredsResponse, 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.

type DataTransferServiceServer

type DataTransferServiceServer interface {
	// Retrieves a supported data source and returns its settings,
	// which can be used for UI rendering.
	GetDataSource(context.Context, *GetDataSourceRequest) (*DataSource, error)
	// Lists supported data sources and returns their settings,
	// which can be used for UI rendering.
	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) (*empty.Empty, error)
	// Returns information about a data transfer config.
	GetTransferConfig(context.Context, *GetTransferConfigRequest) (*TransferConfig, error)
	// Returns information about all data transfers in the project.
	ListTransferConfigs(context.Context, *ListTransferConfigsRequest) (*ListTransferConfigsResponse, error)
	// 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.
	//
	// Deprecated: Do not use.
	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) (*empty.Empty, error)
	// Returns information about running and completed jobs.
	ListTransferRuns(context.Context, *ListTransferRunsRequest) (*ListTransferRunsResponse, error)
	// Returns user facing log messages for the data transfer run.
	ListTransferLogs(context.Context, *ListTransferLogsRequest) (*ListTransferLogsResponse, error)
	// Returns true if valid credentials exist for the given data source and
	// requesting user.
	// Some data sources doesn't support service account, so we need to talk to
	// them on behalf of the end user. This API just checks whether we have OAuth
	// token for the particular user, which is a pre-requisite before user can
	// create a transfer config.
	CheckValidCreds(context.Context, *CheckValidCredsRequest) (*CheckValidCredsResponse, error)
}

DataTransferServiceServer is the server API for DataTransferService service.

type DeleteDataSourceDefinitionRequest

type DeleteDataSourceDefinitionRequest struct {
	// The field will contain name of the resource requested, for example:
	// `projects/{project_id}/locations/{location_id}/dataSourceDefinitions/{data_source_id}`
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents the request of the DeleteDataSourceDefinition method. All transfer configs associated with the data source must be deleted first, before the data source can be deleted.

func (*DeleteDataSourceDefinitionRequest) Descriptor

func (*DeleteDataSourceDefinitionRequest) Descriptor() ([]byte, []int)

func (*DeleteDataSourceDefinitionRequest) GetName

func (*DeleteDataSourceDefinitionRequest) ProtoMessage

func (*DeleteDataSourceDefinitionRequest) ProtoMessage()

func (*DeleteDataSourceDefinitionRequest) Reset

func (*DeleteDataSourceDefinitionRequest) String

func (*DeleteDataSourceDefinitionRequest) XXX_DiscardUnknown

func (m *DeleteDataSourceDefinitionRequest) XXX_DiscardUnknown()

func (*DeleteDataSourceDefinitionRequest) XXX_Marshal

func (m *DeleteDataSourceDefinitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteDataSourceDefinitionRequest) XXX_Merge

func (*DeleteDataSourceDefinitionRequest) XXX_Size

func (m *DeleteDataSourceDefinitionRequest) XXX_Size() int

func (*DeleteDataSourceDefinitionRequest) XXX_Unmarshal

func (m *DeleteDataSourceDefinitionRequest) XXX_Unmarshal(b []byte) error

type 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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)

func (*DeleteTransferConfigRequest) GetName

func (m *DeleteTransferConfigRequest) GetName() string

func (*DeleteTransferConfigRequest) ProtoMessage

func (*DeleteTransferConfigRequest) ProtoMessage()

func (*DeleteTransferConfigRequest) Reset

func (m *DeleteTransferConfigRequest) Reset()

func (*DeleteTransferConfigRequest) String

func (m *DeleteTransferConfigRequest) String() string

func (*DeleteTransferConfigRequest) XXX_DiscardUnknown

func (m *DeleteTransferConfigRequest) XXX_DiscardUnknown()

func (*DeleteTransferConfigRequest) XXX_Marshal

func (m *DeleteTransferConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteTransferConfigRequest) XXX_Merge

func (m *DeleteTransferConfigRequest) XXX_Merge(src proto.Message)

func (*DeleteTransferConfigRequest) XXX_Size

func (m *DeleteTransferConfigRequest) XXX_Size() int

func (*DeleteTransferConfigRequest) XXX_Unmarshal

func (m *DeleteTransferConfigRequest) XXX_Unmarshal(b []byte) error

type DeleteTransferRunRequest

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A request to delete data transfer run information.

func (*DeleteTransferRunRequest) Descriptor

func (*DeleteTransferRunRequest) Descriptor() ([]byte, []int)

func (*DeleteTransferRunRequest) GetName

func (m *DeleteTransferRunRequest) GetName() string

func (*DeleteTransferRunRequest) ProtoMessage

func (*DeleteTransferRunRequest) ProtoMessage()

func (*DeleteTransferRunRequest) Reset

func (m *DeleteTransferRunRequest) Reset()

func (*DeleteTransferRunRequest) String

func (m *DeleteTransferRunRequest) String() string

func (*DeleteTransferRunRequest) XXX_DiscardUnknown

func (m *DeleteTransferRunRequest) XXX_DiscardUnknown()

func (*DeleteTransferRunRequest) XXX_Marshal

func (m *DeleteTransferRunRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteTransferRunRequest) XXX_Merge

func (m *DeleteTransferRunRequest) XXX_Merge(src proto.Message)

func (*DeleteTransferRunRequest) XXX_Size

func (m *DeleteTransferRunRequest) XXX_Size() int

func (*DeleteTransferRunRequest) XXX_Unmarshal

func (m *DeleteTransferRunRequest) XXX_Unmarshal(b []byte) error

type EmailPreferences

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents preferences for sending email notifications for transfer run events.

func (*EmailPreferences) Descriptor

func (*EmailPreferences) Descriptor() ([]byte, []int)

func (*EmailPreferences) GetEnableFailureEmail

func (m *EmailPreferences) GetEnableFailureEmail() bool

func (*EmailPreferences) ProtoMessage

func (*EmailPreferences) ProtoMessage()

func (*EmailPreferences) Reset

func (m *EmailPreferences) Reset()

func (*EmailPreferences) String

func (m *EmailPreferences) String() string

func (*EmailPreferences) XXX_DiscardUnknown

func (m *EmailPreferences) XXX_DiscardUnknown()

func (*EmailPreferences) XXX_Marshal

func (m *EmailPreferences) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EmailPreferences) XXX_Merge

func (m *EmailPreferences) XXX_Merge(src proto.Message)

func (*EmailPreferences) XXX_Size

func (m *EmailPreferences) XXX_Size() int

func (*EmailPreferences) XXX_Unmarshal

func (m *EmailPreferences) XXX_Unmarshal(b []byte) error

type FinishRunRequest

type FinishRunRequest struct {
	// Name of the resource in the form:
	// "projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}"
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A request to finish a run.

func (*FinishRunRequest) Descriptor

func (*FinishRunRequest) Descriptor() ([]byte, []int)

func (*FinishRunRequest) GetName

func (m *FinishRunRequest) GetName() string

func (*FinishRunRequest) ProtoMessage

func (*FinishRunRequest) ProtoMessage()

func (*FinishRunRequest) Reset

func (m *FinishRunRequest) Reset()

func (*FinishRunRequest) String

func (m *FinishRunRequest) String() string

func (*FinishRunRequest) XXX_DiscardUnknown

func (m *FinishRunRequest) XXX_DiscardUnknown()

func (*FinishRunRequest) XXX_Marshal

func (m *FinishRunRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FinishRunRequest) XXX_Merge

func (m *FinishRunRequest) XXX_Merge(src proto.Message)

func (*FinishRunRequest) XXX_Size

func (m *FinishRunRequest) XXX_Size() int

func (*FinishRunRequest) XXX_Unmarshal

func (m *FinishRunRequest) XXX_Unmarshal(b []byte) error

type GetDataSourceDefinitionRequest

type GetDataSourceDefinitionRequest struct {
	// The field will contain name of the resource requested.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents the request of the GetDataSourceDefinition method.

func (*GetDataSourceDefinitionRequest) Descriptor

func (*GetDataSourceDefinitionRequest) Descriptor() ([]byte, []int)

func (*GetDataSourceDefinitionRequest) GetName

func (*GetDataSourceDefinitionRequest) ProtoMessage

func (*GetDataSourceDefinitionRequest) ProtoMessage()

func (*GetDataSourceDefinitionRequest) Reset

func (m *GetDataSourceDefinitionRequest) Reset()

func (*GetDataSourceDefinitionRequest) String

func (*GetDataSourceDefinitionRequest) XXX_DiscardUnknown

func (m *GetDataSourceDefinitionRequest) XXX_DiscardUnknown()

func (*GetDataSourceDefinitionRequest) XXX_Marshal

func (m *GetDataSourceDefinitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetDataSourceDefinitionRequest) XXX_Merge

func (m *GetDataSourceDefinitionRequest) XXX_Merge(src proto.Message)

func (*GetDataSourceDefinitionRequest) XXX_Size

func (m *GetDataSourceDefinitionRequest) XXX_Size() int

func (*GetDataSourceDefinitionRequest) XXX_Unmarshal

func (m *GetDataSourceDefinitionRequest) XXX_Unmarshal(b []byte) error

type GetDataSourceRequest

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A request to get data source info.

func (*GetDataSourceRequest) Descriptor

func (*GetDataSourceRequest) Descriptor() ([]byte, []int)

func (*GetDataSourceRequest) GetName

func (m *GetDataSourceRequest) GetName() string

func (*GetDataSourceRequest) ProtoMessage

func (*GetDataSourceRequest) ProtoMessage()

func (*GetDataSourceRequest) Reset

func (m *GetDataSourceRequest) Reset()

func (*GetDataSourceRequest) String

func (m *GetDataSourceRequest) String() string

func (*GetDataSourceRequest) XXX_DiscardUnknown

func (m *GetDataSourceRequest) XXX_DiscardUnknown()

func (*GetDataSourceRequest) XXX_Marshal

func (m *GetDataSourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetDataSourceRequest) XXX_Merge

func (m *GetDataSourceRequest) XXX_Merge(src proto.Message)

func (*GetDataSourceRequest) XXX_Size

func (m *GetDataSourceRequest) XXX_Size() int

func (*GetDataSourceRequest) XXX_Unmarshal

func (m *GetDataSourceRequest) XXX_Unmarshal(b []byte) error

type GetTransferConfigRequest

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A request to get data transfer information.

func (*GetTransferConfigRequest) Descriptor

func (*GetTransferConfigRequest) Descriptor() ([]byte, []int)

func (*GetTransferConfigRequest) GetName

func (m *GetTransferConfigRequest) GetName() string

func (*GetTransferConfigRequest) ProtoMessage

func (*GetTransferConfigRequest) ProtoMessage()

func (*GetTransferConfigRequest) Reset

func (m *GetTransferConfigRequest) Reset()

func (*GetTransferConfigRequest) String

func (m *GetTransferConfigRequest) String() string

func (*GetTransferConfigRequest) XXX_DiscardUnknown

func (m *GetTransferConfigRequest) XXX_DiscardUnknown()

func (*GetTransferConfigRequest) XXX_Marshal

func (m *GetTransferConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTransferConfigRequest) XXX_Merge

func (m *GetTransferConfigRequest) XXX_Merge(src proto.Message)

func (*GetTransferConfigRequest) XXX_Size

func (m *GetTransferConfigRequest) XXX_Size() int

func (*GetTransferConfigRequest) XXX_Unmarshal

func (m *GetTransferConfigRequest) XXX_Unmarshal(b []byte) error

type GetTransferRunRequest

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A request to get data transfer run information.

func (*GetTransferRunRequest) Descriptor

func (*GetTransferRunRequest) Descriptor() ([]byte, []int)

func (*GetTransferRunRequest) GetName

func (m *GetTransferRunRequest) GetName() string

func (*GetTransferRunRequest) ProtoMessage

func (*GetTransferRunRequest) ProtoMessage()

func (*GetTransferRunRequest) Reset

func (m *GetTransferRunRequest) Reset()

func (*GetTransferRunRequest) String

func (m *GetTransferRunRequest) String() string

func (*GetTransferRunRequest) XXX_DiscardUnknown

func (m *GetTransferRunRequest) XXX_DiscardUnknown()

func (*GetTransferRunRequest) XXX_Marshal

func (m *GetTransferRunRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTransferRunRequest) XXX_Merge

func (m *GetTransferRunRequest) XXX_Merge(src proto.Message)

func (*GetTransferRunRequest) XXX_Size

func (m *GetTransferRunRequest) XXX_Size() int

func (*GetTransferRunRequest) XXX_Unmarshal

func (m *GetTransferRunRequest) XXX_Unmarshal(b []byte) error

type ImportedDataInfo

type ImportedDataInfo struct {
	// SQL query to run. When empty, API checks that there is only one
	// table_def specified and loads this table. Only Standard SQL queries
	// are accepted. Legacy SQL is not allowed.
	Sql string `protobuf:"bytes,1,opt,name=sql,proto3" json:"sql,omitempty"`
	// Table where results should be written.
	DestinationTableId string `protobuf:"bytes,2,opt,name=destination_table_id,json=destinationTableId,proto3" json:"destination_table_id,omitempty"`
	// The description of a destination table. This can be several sentences
	// or paragraphs describing the table contents in detail.
	DestinationTableDescription string `` /* 145-byte string literal not displayed */
	// When used WITHOUT the "sql" parameter, describes the schema of the
	// destination table.
	// When used WITH the "sql" parameter, describes tables with data stored
	// outside of BigQuery.
	TableDefs []*ImportedDataInfo_TableDefinition `protobuf:"bytes,3,rep,name=table_defs,json=tableDefs,proto3" json:"table_defs,omitempty"`
	// Inline code for User-defined function resources.
	// Ignored when "sql" parameter is empty.
	UserDefinedFunctions []string `protobuf:"bytes,4,rep,name=user_defined_functions,json=userDefinedFunctions,proto3" json:"user_defined_functions,omitempty"`
	// Specifies the action if the destination table already exists.
	WriteDisposition     WriteDisposition `` /* 170-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

Describes data which should be imported.

func (*ImportedDataInfo) Descriptor

func (*ImportedDataInfo) Descriptor() ([]byte, []int)

func (*ImportedDataInfo) GetDestinationTableDescription

func (m *ImportedDataInfo) GetDestinationTableDescription() string

func (*ImportedDataInfo) GetDestinationTableId

func (m *ImportedDataInfo) GetDestinationTableId() string

func (*ImportedDataInfo) GetSql

func (m *ImportedDataInfo) GetSql() string

func (*ImportedDataInfo) GetTableDefs

func (*ImportedDataInfo) GetUserDefinedFunctions

func (m *ImportedDataInfo) GetUserDefinedFunctions() []string

func (*ImportedDataInfo) GetWriteDisposition

func (m *ImportedDataInfo) GetWriteDisposition() WriteDisposition

func (*ImportedDataInfo) ProtoMessage

func (*ImportedDataInfo) ProtoMessage()

func (*ImportedDataInfo) Reset

func (m *ImportedDataInfo) Reset()

func (*ImportedDataInfo) String

func (m *ImportedDataInfo) String() string

func (*ImportedDataInfo) XXX_DiscardUnknown

func (m *ImportedDataInfo) XXX_DiscardUnknown()

func (*ImportedDataInfo) XXX_Marshal

func (m *ImportedDataInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImportedDataInfo) XXX_Merge

func (m *ImportedDataInfo) XXX_Merge(src proto.Message)

func (*ImportedDataInfo) XXX_Size

func (m *ImportedDataInfo) XXX_Size() int

func (*ImportedDataInfo) XXX_Unmarshal

func (m *ImportedDataInfo) XXX_Unmarshal(b []byte) error

type ImportedDataInfo_Encoding

type ImportedDataInfo_Encoding int32

Encoding of input data in CSV/JSON format.

const (
	// Default encoding (UTF8).
	ImportedDataInfo_ENCODING_UNSPECIFIED ImportedDataInfo_Encoding = 0
	// ISO_8859_1 encoding.
	ImportedDataInfo_ISO_8859_1 ImportedDataInfo_Encoding = 1
	// UTF8 encoding.
	ImportedDataInfo_UTF8 ImportedDataInfo_Encoding = 2
)

func (ImportedDataInfo_Encoding) EnumDescriptor

func (ImportedDataInfo_Encoding) EnumDescriptor() ([]byte, []int)

func (ImportedDataInfo_Encoding) String

func (x ImportedDataInfo_Encoding) String() string

type ImportedDataInfo_FieldSchema

type ImportedDataInfo_FieldSchema struct {
	// Field name. Matches: [A-Za-z_][A-Za-z_0-9]{0,127}
	FieldName string `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	// Field type
	Type ImportedDataInfo_FieldSchema_Type `` /* 139-byte string literal not displayed */
	// Is field repeated.
	IsRepeated bool `protobuf:"varint,3,opt,name=is_repeated,json=isRepeated,proto3" json:"is_repeated,omitempty"`
	// Description for this field.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Present iff type == RECORD.
	Schema               *ImportedDataInfo_RecordSchema `protobuf:"bytes,5,opt,name=schema,proto3" json:"schema,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

Defines schema of a field in the imported data.

func (*ImportedDataInfo_FieldSchema) Descriptor

func (*ImportedDataInfo_FieldSchema) Descriptor() ([]byte, []int)

func (*ImportedDataInfo_FieldSchema) GetDescription

func (m *ImportedDataInfo_FieldSchema) GetDescription() string

func (*ImportedDataInfo_FieldSchema) GetFieldName

func (m *ImportedDataInfo_FieldSchema) GetFieldName() string

func (*ImportedDataInfo_FieldSchema) GetIsRepeated

func (m *ImportedDataInfo_FieldSchema) GetIsRepeated() bool

func (*ImportedDataInfo_FieldSchema) GetSchema

func (*ImportedDataInfo_FieldSchema) GetType

func (*ImportedDataInfo_FieldSchema) ProtoMessage

func (*ImportedDataInfo_FieldSchema) ProtoMessage()

func (*ImportedDataInfo_FieldSchema) Reset

func (m *ImportedDataInfo_FieldSchema) Reset()

func (*ImportedDataInfo_FieldSchema) String

func (*ImportedDataInfo_FieldSchema) XXX_DiscardUnknown

func (m *ImportedDataInfo_FieldSchema) XXX_DiscardUnknown()

func (*ImportedDataInfo_FieldSchema) XXX_Marshal

func (m *ImportedDataInfo_FieldSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImportedDataInfo_FieldSchema) XXX_Merge

func (m *ImportedDataInfo_FieldSchema) XXX_Merge(src proto.Message)

func (*ImportedDataInfo_FieldSchema) XXX_Size

func (m *ImportedDataInfo_FieldSchema) XXX_Size() int

func (*ImportedDataInfo_FieldSchema) XXX_Unmarshal

func (m *ImportedDataInfo_FieldSchema) XXX_Unmarshal(b []byte) error

type ImportedDataInfo_FieldSchema_Type

type ImportedDataInfo_FieldSchema_Type int32

LINT.IfChange Field type.

const (
	// Illegal value.
	ImportedDataInfo_FieldSchema_TYPE_UNSPECIFIED ImportedDataInfo_FieldSchema_Type = 0
	// 64K, UTF8.
	ImportedDataInfo_FieldSchema_STRING ImportedDataInfo_FieldSchema_Type = 1
	// 64-bit signed.
	ImportedDataInfo_FieldSchema_INTEGER ImportedDataInfo_FieldSchema_Type = 2
	// 64-bit IEEE floating point.
	ImportedDataInfo_FieldSchema_FLOAT ImportedDataInfo_FieldSchema_Type = 3
	// Aggregate type.
	ImportedDataInfo_FieldSchema_RECORD ImportedDataInfo_FieldSchema_Type = 4
	// 64K, Binary.
	ImportedDataInfo_FieldSchema_BYTES ImportedDataInfo_FieldSchema_Type = 5
	// 2-valued.
	ImportedDataInfo_FieldSchema_BOOLEAN ImportedDataInfo_FieldSchema_Type = 6
	// 64-bit signed usec since UTC epoch.
	ImportedDataInfo_FieldSchema_TIMESTAMP ImportedDataInfo_FieldSchema_Type = 7
	// Civil date - Year, Month, Day.
	ImportedDataInfo_FieldSchema_DATE ImportedDataInfo_FieldSchema_Type = 8
	// Civil time - Hour, Minute, Second, Microseconds.
	ImportedDataInfo_FieldSchema_TIME ImportedDataInfo_FieldSchema_Type = 9
	// Combination of civil date and civil time.
	ImportedDataInfo_FieldSchema_DATETIME ImportedDataInfo_FieldSchema_Type = 10
	// Numeric type with 38 decimal digits of precision and 9 decimal digits
	// of scale.
	ImportedDataInfo_FieldSchema_NUMERIC ImportedDataInfo_FieldSchema_Type = 11
	// Geography object (go/googlesql_geography).
	ImportedDataInfo_FieldSchema_GEOGRAPHY ImportedDataInfo_FieldSchema_Type = 12
)

func (ImportedDataInfo_FieldSchema_Type) EnumDescriptor

func (ImportedDataInfo_FieldSchema_Type) EnumDescriptor() ([]byte, []int)

func (ImportedDataInfo_FieldSchema_Type) String

type ImportedDataInfo_Format

type ImportedDataInfo_Format int32

Data format.

const (
	// Unspecified format. In this case, we have to infer the format from the
	// data source.
	ImportedDataInfo_FORMAT_UNSPECIFIED ImportedDataInfo_Format = 0
	// CSV format.
	ImportedDataInfo_CSV ImportedDataInfo_Format = 1
	// Newline-delimited JSON.
	ImportedDataInfo_JSON ImportedDataInfo_Format = 2
	// Avro format. See http://avro.apache.org .
	ImportedDataInfo_AVRO ImportedDataInfo_Format = 3
	// RecordIO.
	ImportedDataInfo_RECORDIO ImportedDataInfo_Format = 4
	// ColumnIO.
	ImportedDataInfo_COLUMNIO ImportedDataInfo_Format = 5
	// Capacitor.
	ImportedDataInfo_CAPACITOR ImportedDataInfo_Format = 6
	// Parquet format. See https://parquet.apache.org .
	ImportedDataInfo_PARQUET ImportedDataInfo_Format = 7
	// ORC format. See https://orc.apache.org .
	ImportedDataInfo_ORC ImportedDataInfo_Format = 8
)

func (ImportedDataInfo_Format) EnumDescriptor

func (ImportedDataInfo_Format) EnumDescriptor() ([]byte, []int)

func (ImportedDataInfo_Format) String

func (x ImportedDataInfo_Format) String() string

type ImportedDataInfo_RecordSchema

type ImportedDataInfo_RecordSchema struct {
	// One field per column in the record.
	Fields               []*ImportedDataInfo_FieldSchema `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

Describes schema of the data to be ingested.

func (*ImportedDataInfo_RecordSchema) Descriptor

func (*ImportedDataInfo_RecordSchema) Descriptor() ([]byte, []int)

func (*ImportedDataInfo_RecordSchema) GetFields

func (*ImportedDataInfo_RecordSchema) ProtoMessage

func (*ImportedDataInfo_RecordSchema) ProtoMessage()

func (*ImportedDataInfo_RecordSchema) Reset

func (m *ImportedDataInfo_RecordSchema) Reset()

func (*ImportedDataInfo_RecordSchema) String

func (*ImportedDataInfo_RecordSchema) XXX_DiscardUnknown

func (m *ImportedDataInfo_RecordSchema) XXX_DiscardUnknown()

func (*ImportedDataInfo_RecordSchema) XXX_Marshal

func (m *ImportedDataInfo_RecordSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImportedDataInfo_RecordSchema) XXX_Merge

func (m *ImportedDataInfo_RecordSchema) XXX_Merge(src proto.Message)

func (*ImportedDataInfo_RecordSchema) XXX_Size

func (m *ImportedDataInfo_RecordSchema) XXX_Size() int

func (*ImportedDataInfo_RecordSchema) XXX_Unmarshal

func (m *ImportedDataInfo_RecordSchema) XXX_Unmarshal(b []byte) error

type ImportedDataInfo_TableDefinition

type ImportedDataInfo_TableDefinition struct {
	// BigQuery table_id (required). This will be used to reference this
	// table in the query.
	TableId string `protobuf:"bytes,1,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
	// URIs for the data to be imported. All URIs must be from the same storage
	// system.
	SourceUris []string `protobuf:"bytes,2,rep,name=source_uris,json=sourceUris,proto3" json:"source_uris,omitempty"`
	// Describes the format of the data in source_uri.
	Format ImportedDataInfo_Format `` /* 133-byte string literal not displayed */
	// Specify the maximum number of bad records that can be ignored.
	// If bad records exceed this threshold the query is aborted.
	MaxBadRecords int32 `protobuf:"varint,4,opt,name=max_bad_records,json=maxBadRecords,proto3" json:"max_bad_records,omitempty"`
	// Character encoding of the input when applicable (CSV, JSON).
	// Defaults to UTF8.
	Encoding ImportedDataInfo_Encoding `` /* 139-byte string literal not displayed */
	// CSV specific options.
	CsvOptions *ImportedDataInfo_TableDefinition_CsvOptions `protobuf:"bytes,6,opt,name=csv_options,json=csvOptions,proto3" json:"csv_options,omitempty"`
	// Optional schema for the data. When not specified for JSON and CSV formats
	// we will try to detect it automatically.
	Schema *ImportedDataInfo_RecordSchema `protobuf:"bytes,7,opt,name=schema,proto3" json:"schema,omitempty"`
	// Indicates if extra values that are not represented in the table schema is
	// allowed.
	IgnoreUnknownValues  *wrappers.BoolValue `protobuf:"bytes,10,opt,name=ignore_unknown_values,json=ignoreUnknownValues,proto3" json:"ignore_unknown_values,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

External table definition. These tables can be referenced with 'name' in the query and can be read just like any other table.

func (*ImportedDataInfo_TableDefinition) Descriptor

func (*ImportedDataInfo_TableDefinition) Descriptor() ([]byte, []int)

func (*ImportedDataInfo_TableDefinition) GetCsvOptions

func (*ImportedDataInfo_TableDefinition) GetEncoding

func (*ImportedDataInfo_TableDefinition) GetFormat

func (*ImportedDataInfo_TableDefinition) GetIgnoreUnknownValues

func (m *ImportedDataInfo_TableDefinition) GetIgnoreUnknownValues() *wrappers.BoolValue

func (*ImportedDataInfo_TableDefinition) GetMaxBadRecords

func (m *ImportedDataInfo_TableDefinition) GetMaxBadRecords() int32

func (*ImportedDataInfo_TableDefinition) GetSchema

func (*ImportedDataInfo_TableDefinition) GetSourceUris

func (m *ImportedDataInfo_TableDefinition) GetSourceUris() []string

func (*ImportedDataInfo_TableDefinition) GetTableId

func (m *ImportedDataInfo_TableDefinition) GetTableId() string

func (*ImportedDataInfo_TableDefinition) ProtoMessage

func (*ImportedDataInfo_TableDefinition) ProtoMessage()

func (*ImportedDataInfo_TableDefinition) Reset

func (*ImportedDataInfo_TableDefinition) String

func (*ImportedDataInfo_TableDefinition) XXX_DiscardUnknown

func (m *ImportedDataInfo_TableDefinition) XXX_DiscardUnknown()

func (*ImportedDataInfo_TableDefinition) XXX_Marshal

func (m *ImportedDataInfo_TableDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImportedDataInfo_TableDefinition) XXX_Merge

func (*ImportedDataInfo_TableDefinition) XXX_Size

func (m *ImportedDataInfo_TableDefinition) XXX_Size() int

func (*ImportedDataInfo_TableDefinition) XXX_Unmarshal

func (m *ImportedDataInfo_TableDefinition) XXX_Unmarshal(b []byte) error

type ImportedDataInfo_TableDefinition_CsvOptions

type ImportedDataInfo_TableDefinition_CsvOptions struct {
	// The delimiter.  We currently restrict this to U+0001 to U+00FF and
	// apply additional constraints during validation.
	FieldDelimiter *wrappers.StringValue `protobuf:"bytes,1,opt,name=field_delimiter,json=fieldDelimiter,proto3" json:"field_delimiter,omitempty"`
	// Whether CSV files are allowed to have quoted newlines. If quoted
	// newlines are allowed, we can't split CSV files.
	AllowQuotedNewlines *wrappers.BoolValue `protobuf:"bytes,2,opt,name=allow_quoted_newlines,json=allowQuotedNewlines,proto3" json:"allow_quoted_newlines,omitempty"`
	// The quote character.  We currently restrict this to U+0000 to U+00FF
	// and apply additional constraints during validation. Set to '\0' to
	// indicate no quote is used.
	QuoteChar *wrappers.StringValue `protobuf:"bytes,3,opt,name=quote_char,json=quoteChar,proto3" json:"quote_char,omitempty"`
	// Number of leading rows to skip.
	SkipLeadingRows *wrappers.Int64Value `protobuf:"bytes,4,opt,name=skip_leading_rows,json=skipLeadingRows,proto3" json:"skip_leading_rows,omitempty"`
	// Accept rows that are missing trailing optional columns.
	AllowJaggedRows      *wrappers.BoolValue `protobuf:"bytes,5,opt,name=allow_jagged_rows,json=allowJaggedRows,proto3" json:"allow_jagged_rows,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

CSV specific options.

func (*ImportedDataInfo_TableDefinition_CsvOptions) Descriptor

func (*ImportedDataInfo_TableDefinition_CsvOptions) GetAllowJaggedRows

func (*ImportedDataInfo_TableDefinition_CsvOptions) GetAllowQuotedNewlines

func (m *ImportedDataInfo_TableDefinition_CsvOptions) GetAllowQuotedNewlines() *wrappers.BoolValue

func (*ImportedDataInfo_TableDefinition_CsvOptions) GetFieldDelimiter

func (*ImportedDataInfo_TableDefinition_CsvOptions) GetQuoteChar

func (*ImportedDataInfo_TableDefinition_CsvOptions) GetSkipLeadingRows

func (*ImportedDataInfo_TableDefinition_CsvOptions) ProtoMessage

func (*ImportedDataInfo_TableDefinition_CsvOptions) Reset

func (*ImportedDataInfo_TableDefinition_CsvOptions) String

func (*ImportedDataInfo_TableDefinition_CsvOptions) XXX_DiscardUnknown

func (m *ImportedDataInfo_TableDefinition_CsvOptions) XXX_DiscardUnknown()

func (*ImportedDataInfo_TableDefinition_CsvOptions) XXX_Marshal

func (m *ImportedDataInfo_TableDefinition_CsvOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImportedDataInfo_TableDefinition_CsvOptions) XXX_Merge

func (*ImportedDataInfo_TableDefinition_CsvOptions) XXX_Size

func (*ImportedDataInfo_TableDefinition_CsvOptions) XXX_Unmarshal

type ListDataSourceDefinitionsRequest

type ListDataSourceDefinitionsRequest struct {
	// The BigQuery project id for which data sources should be returned.
	// Must be in the form: `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 `ListDataSourceDefinitionsRequest` list results. For multiple-page
	// results, `ListDataSourceDefinitionsResponse` outputs a `next_page` token,
	// which can be used as the `page_token` value to request the next page of
	// the list results.
	PageToken string `protobuf:"bytes,2,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,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents the request of the ListDataSourceDefinitions method.

func (*ListDataSourceDefinitionsRequest) Descriptor

func (*ListDataSourceDefinitionsRequest) Descriptor() ([]byte, []int)

func (*ListDataSourceDefinitionsRequest) GetPageSize

func (m *ListDataSourceDefinitionsRequest) GetPageSize() int32

func (*ListDataSourceDefinitionsRequest) GetPageToken

func (m *ListDataSourceDefinitionsRequest) GetPageToken() string

func (*ListDataSourceDefinitionsRequest) GetParent

func (*ListDataSourceDefinitionsRequest) ProtoMessage

func (*ListDataSourceDefinitionsRequest) ProtoMessage()

func (*ListDataSourceDefinitionsRequest) Reset

func (*ListDataSourceDefinitionsRequest) String

func (*ListDataSourceDefinitionsRequest) XXX_DiscardUnknown

func (m *ListDataSourceDefinitionsRequest) XXX_DiscardUnknown()

func (*ListDataSourceDefinitionsRequest) XXX_Marshal

func (m *ListDataSourceDefinitionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDataSourceDefinitionsRequest) XXX_Merge

func (*ListDataSourceDefinitionsRequest) XXX_Size

func (m *ListDataSourceDefinitionsRequest) XXX_Size() int

func (*ListDataSourceDefinitionsRequest) XXX_Unmarshal

func (m *ListDataSourceDefinitionsRequest) XXX_Unmarshal(b []byte) error

type ListDataSourceDefinitionsResponse

type ListDataSourceDefinitionsResponse struct {
	// List of supported data source definitions.
	DataSourceDefinitions []*DataSourceDefinition `` /* 126-byte string literal not displayed */
	// Output only. The next-pagination token. For multiple-page list results,
	// this token can be used as the
	// `ListDataSourceDefinitionsRequest.page_token`
	// to request the next page of the list results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Returns a list of supported data source definitions.

func (*ListDataSourceDefinitionsResponse) Descriptor

func (*ListDataSourceDefinitionsResponse) Descriptor() ([]byte, []int)

func (*ListDataSourceDefinitionsResponse) GetDataSourceDefinitions

func (m *ListDataSourceDefinitionsResponse) GetDataSourceDefinitions() []*DataSourceDefinition

func (*ListDataSourceDefinitionsResponse) GetNextPageToken

func (m *ListDataSourceDefinitionsResponse) GetNextPageToken() string

func (*ListDataSourceDefinitionsResponse) ProtoMessage

func (*ListDataSourceDefinitionsResponse) ProtoMessage()

func (*ListDataSourceDefinitionsResponse) Reset

func (*ListDataSourceDefinitionsResponse) String

func (*ListDataSourceDefinitionsResponse) XXX_DiscardUnknown

func (m *ListDataSourceDefinitionsResponse) XXX_DiscardUnknown()

func (*ListDataSourceDefinitionsResponse) XXX_Marshal

func (m *ListDataSourceDefinitionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDataSourceDefinitionsResponse) XXX_Merge

func (*ListDataSourceDefinitionsResponse) XXX_Size

func (m *ListDataSourceDefinitionsResponse) XXX_Size() int

func (*ListDataSourceDefinitionsResponse) XXX_Unmarshal

func (m *ListDataSourceDefinitionsResponse) XXX_Unmarshal(b []byte) error

type ListDataSourcesRequest

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to list supported data sources and their data transfer settings.

func (*ListDataSourcesRequest) Descriptor

func (*ListDataSourcesRequest) Descriptor() ([]byte, []int)

func (*ListDataSourcesRequest) GetPageSize

func (m *ListDataSourcesRequest) GetPageSize() int32

func (*ListDataSourcesRequest) GetPageToken

func (m *ListDataSourcesRequest) GetPageToken() string

func (*ListDataSourcesRequest) GetParent

func (m *ListDataSourcesRequest) GetParent() string

func (*ListDataSourcesRequest) ProtoMessage

func (*ListDataSourcesRequest) ProtoMessage()

func (*ListDataSourcesRequest) Reset

func (m *ListDataSourcesRequest) Reset()

func (*ListDataSourcesRequest) String

func (m *ListDataSourcesRequest) String() string

func (*ListDataSourcesRequest) XXX_DiscardUnknown

func (m *ListDataSourcesRequest) XXX_DiscardUnknown()

func (*ListDataSourcesRequest) XXX_Marshal

func (m *ListDataSourcesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDataSourcesRequest) XXX_Merge

func (m *ListDataSourcesRequest) XXX_Merge(src proto.Message)

func (*ListDataSourcesRequest) XXX_Size

func (m *ListDataSourcesRequest) XXX_Size() int

func (*ListDataSourcesRequest) XXX_Unmarshal

func (m *ListDataSourcesRequest) XXX_Unmarshal(b []byte) error

type ListDataSourcesResponse

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Returns list of supported data sources and their metadata.

func (*ListDataSourcesResponse) Descriptor

func (*ListDataSourcesResponse) Descriptor() ([]byte, []int)

func (*ListDataSourcesResponse) GetDataSources

func (m *ListDataSourcesResponse) GetDataSources() []*DataSource

func (*ListDataSourcesResponse) GetNextPageToken

func (m *ListDataSourcesResponse) GetNextPageToken() string

func (*ListDataSourcesResponse) ProtoMessage

func (*ListDataSourcesResponse) ProtoMessage()

func (*ListDataSourcesResponse) Reset

func (m *ListDataSourcesResponse) Reset()

func (*ListDataSourcesResponse) String

func (m *ListDataSourcesResponse) String() string

func (*ListDataSourcesResponse) XXX_DiscardUnknown

func (m *ListDataSourcesResponse) XXX_DiscardUnknown()

func (*ListDataSourcesResponse) XXX_Marshal

func (m *ListDataSourcesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDataSourcesResponse) XXX_Merge

func (m *ListDataSourcesResponse) XXX_Merge(src proto.Message)

func (*ListDataSourcesResponse) XXX_Size

func (m *ListDataSourcesResponse) XXX_Size() int

func (*ListDataSourcesResponse) XXX_Unmarshal

func (m *ListDataSourcesResponse) XXX_Unmarshal(b []byte) error

type ListTransferConfigsRequest

type ListTransferConfigsRequest struct {
	// Required. The BigQuery project id for which data sources
	// 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A request to list data transfers configured for a BigQuery project.

func (*ListTransferConfigsRequest) Descriptor

func (*ListTransferConfigsRequest) Descriptor() ([]byte, []int)

func (*ListTransferConfigsRequest) GetDataSourceIds

func (m *ListTransferConfigsRequest) GetDataSourceIds() []string

func (*ListTransferConfigsRequest) GetPageSize

func (m *ListTransferConfigsRequest) GetPageSize() int32

func (*ListTransferConfigsRequest) GetPageToken

func (m *ListTransferConfigsRequest) GetPageToken() string

func (*ListTransferConfigsRequest) GetParent

func (m *ListTransferConfigsRequest) GetParent() string

func (*ListTransferConfigsRequest) ProtoMessage

func (*ListTransferConfigsRequest) ProtoMessage()

func (*ListTransferConfigsRequest) Reset

func (m *ListTransferConfigsRequest) Reset()

func (*ListTransferConfigsRequest) String

func (m *ListTransferConfigsRequest) String() string

func (*ListTransferConfigsRequest) XXX_DiscardUnknown

func (m *ListTransferConfigsRequest) XXX_DiscardUnknown()

func (*ListTransferConfigsRequest) XXX_Marshal

func (m *ListTransferConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListTransferConfigsRequest) XXX_Merge

func (m *ListTransferConfigsRequest) XXX_Merge(src proto.Message)

func (*ListTransferConfigsRequest) XXX_Size

func (m *ListTransferConfigsRequest) XXX_Size() int

func (*ListTransferConfigsRequest) XXX_Unmarshal

func (m *ListTransferConfigsRequest) XXX_Unmarshal(b []byte) error

type ListTransferConfigsResponse

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The returned list of pipelines in the project.

func (*ListTransferConfigsResponse) Descriptor

func (*ListTransferConfigsResponse) Descriptor() ([]byte, []int)

func (*ListTransferConfigsResponse) GetNextPageToken

func (m *ListTransferConfigsResponse) GetNextPageToken() string

func (*ListTransferConfigsResponse) GetTransferConfigs

func (m *ListTransferConfigsResponse) GetTransferConfigs() []*TransferConfig

func (*ListTransferConfigsResponse) ProtoMessage

func (*ListTransferConfigsResponse) ProtoMessage()

func (*ListTransferConfigsResponse) Reset

func (m *ListTransferConfigsResponse) Reset()

func (*ListTransferConfigsResponse) String

func (m *ListTransferConfigsResponse) String() string

func (*ListTransferConfigsResponse) XXX_DiscardUnknown

func (m *ListTransferConfigsResponse) XXX_DiscardUnknown()

func (*ListTransferConfigsResponse) XXX_Marshal

func (m *ListTransferConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListTransferConfigsResponse) XXX_Merge

func (m *ListTransferConfigsResponse) XXX_Merge(src proto.Message)

func (*ListTransferConfigsResponse) XXX_Size

func (m *ListTransferConfigsResponse) XXX_Size() int

func (*ListTransferConfigsResponse) XXX_Unmarshal

func (m *ListTransferConfigsResponse) XXX_Unmarshal(b []byte) error

type ListTransferLogsRequest

type ListTransferLogsRequest struct {
	// Required. Transfer run name in the form:
	// `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or
	// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_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 `ListTransferLogsRequest` list results. For multiple-page
	// results, `ListTransferLogsResponse` 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,4,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,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Message types to return. If not populated - INFO, WARNING and ERROR
	// messages are returned.
	MessageTypes         []TransferMessage_MessageSeverity `` /* 180-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

A request to get user facing log messages associated with data transfer run.

func (*ListTransferLogsRequest) Descriptor

func (*ListTransferLogsRequest) Descriptor() ([]byte, []int)

func (*ListTransferLogsRequest) GetMessageTypes

func (*ListTransferLogsRequest) GetPageSize

func (m *ListTransferLogsRequest) GetPageSize() int32

func (*ListTransferLogsRequest) GetPageToken

func (m *ListTransferLogsRequest) GetPageToken() string

func (*ListTransferLogsRequest) GetParent

func (m *ListTransferLogsRequest) GetParent() string

func (*ListTransferLogsRequest) ProtoMessage

func (*ListTransferLogsRequest) ProtoMessage()

func (*ListTransferLogsRequest) Reset

func (m *ListTransferLogsRequest) Reset()

func (*ListTransferLogsRequest) String

func (m *ListTransferLogsRequest) String() string

func (*ListTransferLogsRequest) XXX_DiscardUnknown

func (m *ListTransferLogsRequest) XXX_DiscardUnknown()

func (*ListTransferLogsRequest) XXX_Marshal

func (m *ListTransferLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListTransferLogsRequest) XXX_Merge

func (m *ListTransferLogsRequest) XXX_Merge(src proto.Message)

func (*ListTransferLogsRequest) XXX_Size

func (m *ListTransferLogsRequest) XXX_Size() int

func (*ListTransferLogsRequest) XXX_Unmarshal

func (m *ListTransferLogsRequest) XXX_Unmarshal(b []byte) error

type ListTransferLogsResponse

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The returned list transfer run messages.

func (*ListTransferLogsResponse) Descriptor

func (*ListTransferLogsResponse) Descriptor() ([]byte, []int)

func (*ListTransferLogsResponse) GetNextPageToken

func (m *ListTransferLogsResponse) GetNextPageToken() string

func (*ListTransferLogsResponse) GetTransferMessages

func (m *ListTransferLogsResponse) GetTransferMessages() []*TransferMessage

func (*ListTransferLogsResponse) ProtoMessage

func (*ListTransferLogsResponse) ProtoMessage()

func (*ListTransferLogsResponse) Reset

func (m *ListTransferLogsResponse) Reset()

func (*ListTransferLogsResponse) String

func (m *ListTransferLogsResponse) String() string

func (*ListTransferLogsResponse) XXX_DiscardUnknown

func (m *ListTransferLogsResponse) XXX_DiscardUnknown()

func (*ListTransferLogsResponse) XXX_Marshal

func (m *ListTransferLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListTransferLogsResponse) XXX_Merge

func (m *ListTransferLogsResponse) XXX_Merge(src proto.Message)

func (*ListTransferLogsResponse) XXX_Size

func (m *ListTransferLogsResponse) XXX_Size() int

func (*ListTransferLogsResponse) XXX_Unmarshal

func (m *ListTransferLogsResponse) XXX_Unmarshal(b []byte) error

type ListTransferRunsRequest

type ListTransferRunsRequest struct {
	// Required. Name of transfer configuration for which transfer runs should be retrieved.
	// Format of transfer configuration resource name is:
	// `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"`
	// When specified, only transfer runs with requested states are returned.
	States []TransferState `` /* 130-byte string literal not displayed */
	// Pagination token, which can be used to request a specific page
	// of `ListTransferRunsRequest` list results. For multiple-page
	// results, `ListTransferRunsResponse` 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"`
	// Indicates how run attempts are to be pulled.
	RunAttempt           ListTransferRunsRequest_RunAttempt `` /* 170-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

A request to list data transfer runs. UI can use this method to show/filter specific data transfer runs. The data source can use this method to request all scheduled transfer runs.

func (*ListTransferRunsRequest) Descriptor

func (*ListTransferRunsRequest) Descriptor() ([]byte, []int)

func (*ListTransferRunsRequest) GetPageSize

func (m *ListTransferRunsRequest) GetPageSize() int32

func (*ListTransferRunsRequest) GetPageToken

func (m *ListTransferRunsRequest) GetPageToken() string

func (*ListTransferRunsRequest) GetParent

func (m *ListTransferRunsRequest) GetParent() string

func (*ListTransferRunsRequest) GetRunAttempt

func (*ListTransferRunsRequest) GetStates

func (m *ListTransferRunsRequest) GetStates() []TransferState

func (*ListTransferRunsRequest) ProtoMessage

func (*ListTransferRunsRequest) ProtoMessage()

func (*ListTransferRunsRequest) Reset

func (m *ListTransferRunsRequest) Reset()

func (*ListTransferRunsRequest) String

func (m *ListTransferRunsRequest) String() string

func (*ListTransferRunsRequest) XXX_DiscardUnknown

func (m *ListTransferRunsRequest) XXX_DiscardUnknown()

func (*ListTransferRunsRequest) XXX_Marshal

func (m *ListTransferRunsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListTransferRunsRequest) XXX_Merge

func (m *ListTransferRunsRequest) XXX_Merge(src proto.Message)

func (*ListTransferRunsRequest) XXX_Size

func (m *ListTransferRunsRequest) XXX_Size() int

func (*ListTransferRunsRequest) XXX_Unmarshal

func (m *ListTransferRunsRequest) XXX_Unmarshal(b []byte) error

type ListTransferRunsRequest_RunAttempt

type ListTransferRunsRequest_RunAttempt int32

Represents which runs should be pulled.

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) EnumDescriptor

func (ListTransferRunsRequest_RunAttempt) EnumDescriptor() ([]byte, []int)

func (ListTransferRunsRequest_RunAttempt) String

type ListTransferRunsResponse

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The returned list of pipelines in the project.

func (*ListTransferRunsResponse) Descriptor

func (*ListTransferRunsResponse) Descriptor() ([]byte, []int)

func (*ListTransferRunsResponse) GetNextPageToken

func (m *ListTransferRunsResponse) GetNextPageToken() string

func (*ListTransferRunsResponse) GetTransferRuns

func (m *ListTransferRunsResponse) GetTransferRuns() []*TransferRun

func (*ListTransferRunsResponse) ProtoMessage

func (*ListTransferRunsResponse) ProtoMessage()

func (*ListTransferRunsResponse) Reset

func (m *ListTransferRunsResponse) Reset()

func (*ListTransferRunsResponse) String

func (m *ListTransferRunsResponse) String() string

func (*ListTransferRunsResponse) XXX_DiscardUnknown

func (m *ListTransferRunsResponse) XXX_DiscardUnknown()

func (*ListTransferRunsResponse) XXX_Marshal

func (m *ListTransferRunsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListTransferRunsResponse) XXX_Merge

func (m *ListTransferRunsResponse) XXX_Merge(src proto.Message)

func (*ListTransferRunsResponse) XXX_Size

func (m *ListTransferRunsResponse) XXX_Size() int

func (*ListTransferRunsResponse) XXX_Unmarshal

func (m *ListTransferRunsResponse) XXX_Unmarshal(b []byte) error

type LogTransferRunMessagesRequest

type LogTransferRunMessagesRequest struct {
	// Name of the resource in the form:
	// "projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Messages to append.
	TransferMessages     []*TransferMessage `protobuf:"bytes,2,rep,name=transfer_messages,json=transferMessages,proto3" json:"transfer_messages,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

A request to add transfer status messages to the run.

func (*LogTransferRunMessagesRequest) Descriptor

func (*LogTransferRunMessagesRequest) Descriptor() ([]byte, []int)

func (*LogTransferRunMessagesRequest) GetName

func (*LogTransferRunMessagesRequest) GetTransferMessages

func (m *LogTransferRunMessagesRequest) GetTransferMessages() []*TransferMessage

func (*LogTransferRunMessagesRequest) ProtoMessage

func (*LogTransferRunMessagesRequest) ProtoMessage()

func (*LogTransferRunMessagesRequest) Reset

func (m *LogTransferRunMessagesRequest) Reset()

func (*LogTransferRunMessagesRequest) String

func (*LogTransferRunMessagesRequest) XXX_DiscardUnknown

func (m *LogTransferRunMessagesRequest) XXX_DiscardUnknown()

func (*LogTransferRunMessagesRequest) XXX_Marshal

func (m *LogTransferRunMessagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogTransferRunMessagesRequest) XXX_Merge

func (m *LogTransferRunMessagesRequest) XXX_Merge(src proto.Message)

func (*LogTransferRunMessagesRequest) XXX_Size

func (m *LogTransferRunMessagesRequest) XXX_Size() int

func (*LogTransferRunMessagesRequest) XXX_Unmarshal

func (m *LogTransferRunMessagesRequest) XXX_Unmarshal(b []byte) error

type ScheduleOptions

type ScheduleOptions struct {
	// If true, automatic scheduling of data transfer runs for this configuration
	// will be disabled. The runs can be started on ad-hoc basis using
	// StartManualTransferRuns API. When automatic scheduling is disabled, the
	// TransferConfig.schedule field will be ignored.
	DisableAutoScheduling bool `` /* 127-byte string literal not displayed */
	// Specifies time to start scheduling transfer runs. The first run will be
	// scheduled at or after the start time according to a recurrence pattern
	// defined in the schedule string. The start time can be changed at any
	// moment. The time when a data transfer can be trigerred manually is not
	// limited by this option.
	StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Defines time to stop scheduling transfer runs. A transfer run cannot be
	// scheduled at or after the end time. The end time can be changed at any
	// moment. The time when a data transfer can be trigerred manually is not
	// limited by this option.
	EndTime              *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Options customizing the data transfer schedule.

func (*ScheduleOptions) Descriptor

func (*ScheduleOptions) Descriptor() ([]byte, []int)

func (*ScheduleOptions) GetDisableAutoScheduling

func (m *ScheduleOptions) GetDisableAutoScheduling() bool

func (*ScheduleOptions) GetEndTime

func (m *ScheduleOptions) GetEndTime() *timestamp.Timestamp

func (*ScheduleOptions) GetStartTime

func (m *ScheduleOptions) GetStartTime() *timestamp.Timestamp

func (*ScheduleOptions) ProtoMessage

func (*ScheduleOptions) ProtoMessage()

func (*ScheduleOptions) Reset

func (m *ScheduleOptions) Reset()

func (*ScheduleOptions) String

func (m *ScheduleOptions) String() string

func (*ScheduleOptions) XXX_DiscardUnknown

func (m *ScheduleOptions) XXX_DiscardUnknown()

func (*ScheduleOptions) XXX_Marshal

func (m *ScheduleOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScheduleOptions) XXX_Merge

func (m *ScheduleOptions) XXX_Merge(src proto.Message)

func (*ScheduleOptions) XXX_Size

func (m *ScheduleOptions) XXX_Size() int

func (*ScheduleOptions) XXX_Unmarshal

func (m *ScheduleOptions) XXX_Unmarshal(b []byte) error

type ScheduleTransferRunsRequest

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 *timestamp.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              *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

A request to schedule transfer runs for a time range.

func (*ScheduleTransferRunsRequest) Descriptor

func (*ScheduleTransferRunsRequest) Descriptor() ([]byte, []int)

func (*ScheduleTransferRunsRequest) GetEndTime

func (*ScheduleTransferRunsRequest) GetParent

func (m *ScheduleTransferRunsRequest) GetParent() string

func (*ScheduleTransferRunsRequest) GetStartTime

func (m *ScheduleTransferRunsRequest) GetStartTime() *timestamp.Timestamp

func (*ScheduleTransferRunsRequest) ProtoMessage

func (*ScheduleTransferRunsRequest) ProtoMessage()

func (*ScheduleTransferRunsRequest) Reset

func (m *ScheduleTransferRunsRequest) Reset()

func (*ScheduleTransferRunsRequest) String

func (m *ScheduleTransferRunsRequest) String() string

func (*ScheduleTransferRunsRequest) XXX_DiscardUnknown

func (m *ScheduleTransferRunsRequest) XXX_DiscardUnknown()

func (*ScheduleTransferRunsRequest) XXX_Marshal

func (m *ScheduleTransferRunsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScheduleTransferRunsRequest) XXX_Merge

func (m *ScheduleTransferRunsRequest) XXX_Merge(src proto.Message)

func (*ScheduleTransferRunsRequest) XXX_Size

func (m *ScheduleTransferRunsRequest) XXX_Size() int

func (*ScheduleTransferRunsRequest) XXX_Unmarshal

func (m *ScheduleTransferRunsRequest) XXX_Unmarshal(b []byte) error

type ScheduleTransferRunsResponse

type ScheduleTransferRunsResponse struct {
	// The transfer runs that were scheduled.
	Runs                 []*TransferRun `protobuf:"bytes,1,rep,name=runs,proto3" json:"runs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

A response to schedule transfer runs for a time range.

func (*ScheduleTransferRunsResponse) Descriptor

func (*ScheduleTransferRunsResponse) Descriptor() ([]byte, []int)

func (*ScheduleTransferRunsResponse) GetRuns

func (m *ScheduleTransferRunsResponse) GetRuns() []*TransferRun

func (*ScheduleTransferRunsResponse) ProtoMessage

func (*ScheduleTransferRunsResponse) ProtoMessage()

func (*ScheduleTransferRunsResponse) Reset

func (m *ScheduleTransferRunsResponse) Reset()

func (*ScheduleTransferRunsResponse) String

func (*ScheduleTransferRunsResponse) XXX_DiscardUnknown

func (m *ScheduleTransferRunsResponse) XXX_DiscardUnknown()

func (*ScheduleTransferRunsResponse) XXX_Marshal

func (m *ScheduleTransferRunsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScheduleTransferRunsResponse) XXX_Merge

func (m *ScheduleTransferRunsResponse) XXX_Merge(src proto.Message)

func (*ScheduleTransferRunsResponse) XXX_Size

func (m *ScheduleTransferRunsResponse) XXX_Size() int

func (*ScheduleTransferRunsResponse) XXX_Unmarshal

func (m *ScheduleTransferRunsResponse) XXX_Unmarshal(b []byte) error

type StartBigQueryJobsRequest

type StartBigQueryJobsRequest struct {
	// Name of the resource in the form:
	// "projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Import jobs which should be started and monitored.
	ImportedData []*ImportedDataInfo `protobuf:"bytes,2,rep,name=imported_data,json=importedData,proto3" json:"imported_data,omitempty"`
	// User credentials which should be used to start/monitor
	// BigQuery jobs. If not specified, then jobs
	// are started using data source service account credentials.
	// This may be OAuth token or JWT token.
	UserCredentials []byte `protobuf:"bytes,3,opt,name=user_credentials,json=userCredentials,proto3" json:"user_credentials,omitempty"`
	// The number of BQ Jobs that can run in parallel.
	MaxParallelism       int32    `protobuf:"varint,8,opt,name=max_parallelism,json=maxParallelism,proto3" json:"max_parallelism,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A request to start and monitor a BigQuery load job.

func (*StartBigQueryJobsRequest) Descriptor

func (*StartBigQueryJobsRequest) Descriptor() ([]byte, []int)

func (*StartBigQueryJobsRequest) GetImportedData

func (m *StartBigQueryJobsRequest) GetImportedData() []*ImportedDataInfo

func (*StartBigQueryJobsRequest) GetMaxParallelism

func (m *StartBigQueryJobsRequest) GetMaxParallelism() int32

func (*StartBigQueryJobsRequest) GetName

func (m *StartBigQueryJobsRequest) GetName() string

func (*StartBigQueryJobsRequest) GetUserCredentials

func (m *StartBigQueryJobsRequest) GetUserCredentials() []byte

func (*StartBigQueryJobsRequest) ProtoMessage

func (*StartBigQueryJobsRequest) ProtoMessage()

func (*StartBigQueryJobsRequest) Reset

func (m *StartBigQueryJobsRequest) Reset()

func (*StartBigQueryJobsRequest) String

func (m *StartBigQueryJobsRequest) String() string

func (*StartBigQueryJobsRequest) XXX_DiscardUnknown

func (m *StartBigQueryJobsRequest) XXX_DiscardUnknown()

func (*StartBigQueryJobsRequest) XXX_Marshal

func (m *StartBigQueryJobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartBigQueryJobsRequest) XXX_Merge

func (m *StartBigQueryJobsRequest) XXX_Merge(src proto.Message)

func (*StartBigQueryJobsRequest) XXX_Size

func (m *StartBigQueryJobsRequest) XXX_Size() int

func (*StartBigQueryJobsRequest) XXX_Unmarshal

func (m *StartBigQueryJobsRequest) XXX_Unmarshal(b []byte) error

type StartManualTransferRunsRequest

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 valid to be assigned to Time:
	//	*StartManualTransferRunsRequest_RequestedTimeRange
	//	*StartManualTransferRunsRequest_RequestedRunTime
	Time                 isStartManualTransferRunsRequest_Time `protobuf_oneof:"time"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

A request to start manual transfer runs.

func (*StartManualTransferRunsRequest) Descriptor

func (*StartManualTransferRunsRequest) Descriptor() ([]byte, []int)

func (*StartManualTransferRunsRequest) GetParent

func (m *StartManualTransferRunsRequest) GetParent() string

func (*StartManualTransferRunsRequest) GetRequestedRunTime

func (m *StartManualTransferRunsRequest) GetRequestedRunTime() *timestamp.Timestamp

func (*StartManualTransferRunsRequest) GetRequestedTimeRange

func (*StartManualTransferRunsRequest) GetTime

func (m *StartManualTransferRunsRequest) GetTime() isStartManualTransferRunsRequest_Time

func (*StartManualTransferRunsRequest) ProtoMessage

func (*StartManualTransferRunsRequest) ProtoMessage()

func (*StartManualTransferRunsRequest) Reset

func (m *StartManualTransferRunsRequest) Reset()

func (*StartManualTransferRunsRequest) String

func (*StartManualTransferRunsRequest) XXX_DiscardUnknown

func (m *StartManualTransferRunsRequest) XXX_DiscardUnknown()

func (*StartManualTransferRunsRequest) XXX_Marshal

func (m *StartManualTransferRunsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartManualTransferRunsRequest) XXX_Merge

func (m *StartManualTransferRunsRequest) XXX_Merge(src proto.Message)

func (*StartManualTransferRunsRequest) XXX_OneofWrappers

func (*StartManualTransferRunsRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*StartManualTransferRunsRequest) XXX_Size

func (m *StartManualTransferRunsRequest) XXX_Size() int

func (*StartManualTransferRunsRequest) XXX_Unmarshal

func (m *StartManualTransferRunsRequest) XXX_Unmarshal(b []byte) error

type StartManualTransferRunsRequest_RequestedRunTime

type StartManualTransferRunsRequest_RequestedRunTime struct {
	RequestedRunTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=requested_run_time,json=requestedRunTime,proto3,oneof"`
}

type StartManualTransferRunsRequest_RequestedTimeRange

type StartManualTransferRunsRequest_RequestedTimeRange struct {
	RequestedTimeRange *StartManualTransferRunsRequest_TimeRange `protobuf:"bytes,3,opt,name=requested_time_range,json=requestedTimeRange,proto3,oneof"`
}

type 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 betwen
	// start_time (inclusive) and end_time (exlusive).
	StartTime *timestamp.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 betwen start_time
	// (inclusive) and end_time (exlusive).
	EndTime              *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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)

func (*StartManualTransferRunsRequest_TimeRange) GetEndTime

func (*StartManualTransferRunsRequest_TimeRange) GetStartTime

func (*StartManualTransferRunsRequest_TimeRange) ProtoMessage

func (*StartManualTransferRunsRequest_TimeRange) Reset

func (*StartManualTransferRunsRequest_TimeRange) String

func (*StartManualTransferRunsRequest_TimeRange) XXX_DiscardUnknown

func (m *StartManualTransferRunsRequest_TimeRange) XXX_DiscardUnknown()

func (*StartManualTransferRunsRequest_TimeRange) XXX_Marshal

func (m *StartManualTransferRunsRequest_TimeRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartManualTransferRunsRequest_TimeRange) XXX_Merge

func (*StartManualTransferRunsRequest_TimeRange) XXX_Size

func (*StartManualTransferRunsRequest_TimeRange) XXX_Unmarshal

func (m *StartManualTransferRunsRequest_TimeRange) XXX_Unmarshal(b []byte) error

type StartManualTransferRunsResponse

type StartManualTransferRunsResponse struct {
	// The transfer runs that were created.
	Runs                 []*TransferRun `protobuf:"bytes,1,rep,name=runs,proto3" json:"runs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

A response to start manual transfer runs.

func (*StartManualTransferRunsResponse) Descriptor

func (*StartManualTransferRunsResponse) Descriptor() ([]byte, []int)

func (*StartManualTransferRunsResponse) GetRuns

func (*StartManualTransferRunsResponse) ProtoMessage

func (*StartManualTransferRunsResponse) ProtoMessage()

func (*StartManualTransferRunsResponse) Reset

func (*StartManualTransferRunsResponse) String

func (*StartManualTransferRunsResponse) XXX_DiscardUnknown

func (m *StartManualTransferRunsResponse) XXX_DiscardUnknown()

func (*StartManualTransferRunsResponse) XXX_Marshal

func (m *StartManualTransferRunsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartManualTransferRunsResponse) XXX_Merge

func (m *StartManualTransferRunsResponse) XXX_Merge(src proto.Message)

func (*StartManualTransferRunsResponse) XXX_Size

func (m *StartManualTransferRunsResponse) XXX_Size() int

func (*StartManualTransferRunsResponse) XXX_Unmarshal

func (m *StartManualTransferRunsResponse) XXX_Unmarshal(b []byte) error

type TransferConfig

type TransferConfig struct {
	// The resource name of the transfer config.
	// Transfer config names have the form of
	// `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`.
	// The name is automatically generated based on the config_id specified in
	// CreateTransferConfigRequest along with project_id and region. If config_id
	// is not provided, usually a uuid, even though it is not guaranteed or
	// required, will be generated for config_id.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The desination of the transfer config.
	//
	// Types that are valid to be assigned to Destination:
	//	*TransferConfig_DestinationDatasetId
	Destination isTransferConfig_Destination `protobuf_oneof:"destination"`
	// User specified display name for the data transfer.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Data source id. Cannot be changed once data transfer is created.
	DataSourceId string `protobuf:"bytes,5,opt,name=data_source_id,json=dataSourceId,proto3" json:"data_source_id,omitempty"`
	// Data transfer specific parameters.
	Params *_struct.Struct `protobuf:"bytes,9,opt,name=params,proto3" json:"params,omitempty"`
	// Data transfer schedule.
	// If the data source does not support a custom schedule, this should be
	// empty. If it is empty, the default value for the data source will be
	// used.
	// The specified times are in UTC.
	// Examples of valid format:
	// `1st,3rd monday of month 15:30`,
	// `every wed,fri of jan,jun 13:15`, and
	// `first sunday of quarter 00:00`.
	// See more explanation about the format here:
	// https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format
	// NOTE: the granularity should be at least 8 hours, or less frequent.
	Schedule string `protobuf:"bytes,7,opt,name=schedule,proto3" json:"schedule,omitempty"`
	// Options customizing the data transfer schedule.
	ScheduleOptions *ScheduleOptions `protobuf:"bytes,24,opt,name=schedule_options,json=scheduleOptions,proto3" json:"schedule_options,omitempty"`
	// The number of days to look back to automatically refresh the data.
	// For example, if `data_refresh_window_days = 10`, then every day
	// BigQuery reingests data for [today-10, today-1], rather than ingesting data
	// for just [today-1].
	// Only valid if the data source supports the feature. Set the value to  0
	// to use the default value.
	DataRefreshWindowDays int32 `` /* 130-byte string literal not displayed */
	// Is this config disabled. When set to true, no runs are scheduled
	// for a given transfer.
	Disabled bool `protobuf:"varint,13,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// Output only. Data transfer modification time. Ignored by server on input.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. Next time when data transfer will run.
	NextRunTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=next_run_time,json=nextRunTime,proto3" json:"next_run_time,omitempty"`
	// Output only. State of the most recently updated transfer run.
	State TransferState `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.bigquery.datatransfer.v1.TransferState" json:"state,omitempty"`
	// Deprecated. Unique ID of the user on whose behalf transfer is done.
	UserId int64 `protobuf:"varint,11,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Output only. Region in which BigQuery dataset is located.
	DatasetRegion string `protobuf:"bytes,14,opt,name=dataset_region,json=datasetRegion,proto3" json:"dataset_region,omitempty"`
	// Pub/Sub topic where notifications will be sent after transfer runs
	// associated with this transfer config finish.
	NotificationPubsubTopic string `` /* 133-byte string literal not displayed */
	// Email notifications will be sent according to these preferences
	// to the email address of the user who owns this transfer config.
	EmailPreferences     *EmailPreferences `protobuf:"bytes,18,opt,name=email_preferences,json=emailPreferences,proto3" json:"email_preferences,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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)

func (*TransferConfig) GetDataRefreshWindowDays

func (m *TransferConfig) GetDataRefreshWindowDays() int32

func (*TransferConfig) GetDataSourceId

func (m *TransferConfig) GetDataSourceId() string

func (*TransferConfig) GetDatasetRegion

func (m *TransferConfig) GetDatasetRegion() string

func (*TransferConfig) GetDestination

func (m *TransferConfig) GetDestination() isTransferConfig_Destination

func (*TransferConfig) GetDestinationDatasetId

func (m *TransferConfig) GetDestinationDatasetId() string

func (*TransferConfig) GetDisabled

func (m *TransferConfig) GetDisabled() bool

func (*TransferConfig) GetDisplayName

func (m *TransferConfig) GetDisplayName() string

func (*TransferConfig) GetEmailPreferences

func (m *TransferConfig) GetEmailPreferences() *EmailPreferences

func (*TransferConfig) GetName

func (m *TransferConfig) GetName() string

func (*TransferConfig) GetNextRunTime

func (m *TransferConfig) GetNextRunTime() *timestamp.Timestamp

func (*TransferConfig) GetNotificationPubsubTopic

func (m *TransferConfig) GetNotificationPubsubTopic() string

func (*TransferConfig) GetParams

func (m *TransferConfig) GetParams() *_struct.Struct

func (*TransferConfig) GetSchedule

func (m *TransferConfig) GetSchedule() string

func (*TransferConfig) GetScheduleOptions

func (m *TransferConfig) GetScheduleOptions() *ScheduleOptions

func (*TransferConfig) GetState

func (m *TransferConfig) GetState() TransferState

func (*TransferConfig) GetUpdateTime

func (m *TransferConfig) GetUpdateTime() *timestamp.Timestamp

func (*TransferConfig) GetUserId

func (m *TransferConfig) GetUserId() int64

func (*TransferConfig) ProtoMessage

func (*TransferConfig) ProtoMessage()

func (*TransferConfig) Reset

func (m *TransferConfig) Reset()

func (*TransferConfig) String

func (m *TransferConfig) String() string

func (*TransferConfig) XXX_DiscardUnknown

func (m *TransferConfig) XXX_DiscardUnknown()

func (*TransferConfig) XXX_Marshal

func (m *TransferConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransferConfig) XXX_Merge

func (m *TransferConfig) XXX_Merge(src proto.Message)

func (*TransferConfig) XXX_OneofWrappers

func (*TransferConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*TransferConfig) XXX_Size

func (m *TransferConfig) XXX_Size() int

func (*TransferConfig) XXX_Unmarshal

func (m *TransferConfig) XXX_Unmarshal(b []byte) error

type TransferConfig_DestinationDatasetId

type TransferConfig_DestinationDatasetId struct {
	DestinationDatasetId string `protobuf:"bytes,2,opt,name=destination_dataset_id,json=destinationDatasetId,proto3,oneof"`
}

type TransferMessage

type TransferMessage struct {
	// Time when message was logged.
	MessageTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=message_time,json=messageTime,proto3" json:"message_time,omitempty"`
	// Message severity.
	Severity TransferMessage_MessageSeverity `` /* 145-byte string literal not displayed */
	// Message text.
	MessageText          string   `protobuf:"bytes,3,opt,name=message_text,json=messageText,proto3" json:"message_text,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents a user facing message for a particular data transfer run.

func (*TransferMessage) Descriptor

func (*TransferMessage) Descriptor() ([]byte, []int)

func (*TransferMessage) GetMessageText

func (m *TransferMessage) GetMessageText() string

func (*TransferMessage) GetMessageTime

func (m *TransferMessage) GetMessageTime() *timestamp.Timestamp

func (*TransferMessage) GetSeverity

func (*TransferMessage) ProtoMessage

func (*TransferMessage) ProtoMessage()

func (*TransferMessage) Reset

func (m *TransferMessage) Reset()

func (*TransferMessage) String

func (m *TransferMessage) String() string

func (*TransferMessage) XXX_DiscardUnknown

func (m *TransferMessage) XXX_DiscardUnknown()

func (*TransferMessage) XXX_Marshal

func (m *TransferMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransferMessage) XXX_Merge

func (m *TransferMessage) XXX_Merge(src proto.Message)

func (*TransferMessage) XXX_Size

func (m *TransferMessage) XXX_Size() int

func (*TransferMessage) XXX_Unmarshal

func (m *TransferMessage) XXX_Unmarshal(b []byte) error

type TransferMessage_MessageSeverity

type TransferMessage_MessageSeverity int32

Represents data transfer user facing message severity.

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) EnumDescriptor

func (TransferMessage_MessageSeverity) EnumDescriptor() ([]byte, []int)

func (TransferMessage_MessageSeverity) String

type TransferRun

type TransferRun struct {
	// The resource name of the transfer run.
	// Transfer run names have the form
	// `projects/{project_id}/locations/{location}/transferConfigs/{config_id}/runs/{run_id}`.
	// The name is ignored when creating a transfer run.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Minimum time after which a transfer run can be started.
	ScheduleTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"`
	// For batch transfer runs, specifies the date and time of the data should be
	// ingested.
	RunTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty"`
	// Status of the transfer run.
	ErrorStatus *status.Status `protobuf:"bytes,21,opt,name=error_status,json=errorStatus,proto3" json:"error_status,omitempty"`
	// Output only. Time when transfer run was started.
	// Parameter ignored by server for input requests.
	StartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Output only. Time when transfer run ended.
	// Parameter ignored by server for input requests.
	EndTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Output only. Last time the data transfer run state was updated.
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. Data transfer specific parameters.
	Params *_struct.Struct `protobuf:"bytes,9,opt,name=params,proto3" json:"params,omitempty"`
	// Data transfer destination.
	//
	// Types that are valid to be assigned to Destination:
	//	*TransferRun_DestinationDatasetId
	Destination isTransferRun_Destination `protobuf_oneof:"destination"`
	// Output only. Data source id.
	DataSourceId string `protobuf:"bytes,7,opt,name=data_source_id,json=dataSourceId,proto3" json:"data_source_id,omitempty"`
	// Data transfer run state. Ignored for input requests.
	State TransferState `protobuf:"varint,8,opt,name=state,proto3,enum=google.cloud.bigquery.datatransfer.v1.TransferState" json:"state,omitempty"`
	// Deprecated. Unique ID of the user on whose behalf transfer is done.
	UserId int64 `protobuf:"varint,11,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Output only. Describes the schedule of this transfer run if it was
	// created as part of a regular schedule. For batch transfer runs that are
	// scheduled manually, this is empty.
	// NOTE: the system might choose to delay the schedule depending on the
	// current load, so `schedule_time` doesn't always match this.
	Schedule string `protobuf:"bytes,12,opt,name=schedule,proto3" json:"schedule,omitempty"`
	// Output only. Pub/Sub topic where a notification will be sent after this
	// transfer run finishes
	NotificationPubsubTopic string `` /* 133-byte string literal not displayed */
	// Output only. Email notifications will be sent according to these
	// preferences to the email address of the user who owns the transfer config
	// this run was derived from.
	EmailPreferences     *EmailPreferences `protobuf:"bytes,25,opt,name=email_preferences,json=emailPreferences,proto3" json:"email_preferences,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Represents a data transfer run.

func (*TransferRun) Descriptor

func (*TransferRun) Descriptor() ([]byte, []int)

func (*TransferRun) GetDataSourceId

func (m *TransferRun) GetDataSourceId() string

func (*TransferRun) GetDestination

func (m *TransferRun) GetDestination() isTransferRun_Destination

func (*TransferRun) GetDestinationDatasetId

func (m *TransferRun) GetDestinationDatasetId() string

func (*TransferRun) GetEmailPreferences

func (m *TransferRun) GetEmailPreferences() *EmailPreferences

func (*TransferRun) GetEndTime

func (m *TransferRun) GetEndTime() *timestamp.Timestamp

func (*TransferRun) GetErrorStatus

func (m *TransferRun) GetErrorStatus() *status.Status

func (*TransferRun) GetName

func (m *TransferRun) GetName() string

func (*TransferRun) GetNotificationPubsubTopic

func (m *TransferRun) GetNotificationPubsubTopic() string

func (*TransferRun) GetParams

func (m *TransferRun) GetParams() *_struct.Struct

func (*TransferRun) GetRunTime

func (m *TransferRun) GetRunTime() *timestamp.Timestamp

func (*TransferRun) GetSchedule

func (m *TransferRun) GetSchedule() string

func (*TransferRun) GetScheduleTime

func (m *TransferRun) GetScheduleTime() *timestamp.Timestamp

func (*TransferRun) GetStartTime

func (m *TransferRun) GetStartTime() *timestamp.Timestamp

func (*TransferRun) GetState

func (m *TransferRun) GetState() TransferState

func (*TransferRun) GetUpdateTime

func (m *TransferRun) GetUpdateTime() *timestamp.Timestamp

func (*TransferRun) GetUserId

func (m *TransferRun) GetUserId() int64

func (*TransferRun) ProtoMessage

func (*TransferRun) ProtoMessage()

func (*TransferRun) Reset

func (m *TransferRun) Reset()

func (*TransferRun) String

func (m *TransferRun) String() string

func (*TransferRun) XXX_DiscardUnknown

func (m *TransferRun) XXX_DiscardUnknown()

func (*TransferRun) XXX_Marshal

func (m *TransferRun) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransferRun) XXX_Merge

func (m *TransferRun) XXX_Merge(src proto.Message)

func (*TransferRun) XXX_OneofWrappers

func (*TransferRun) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*TransferRun) XXX_Size

func (m *TransferRun) XXX_Size() int

func (*TransferRun) XXX_Unmarshal

func (m *TransferRun) XXX_Unmarshal(b []byte) error

type TransferRun_DestinationDatasetId

type TransferRun_DestinationDatasetId struct {
	DestinationDatasetId string `protobuf:"bytes,2,opt,name=destination_dataset_id,json=destinationDatasetId,proto3,oneof"`
}

type TransferState

type TransferState int32

Represents data transfer run state.

const (
	// State placeholder.
	TransferState_TRANSFER_STATE_UNSPECIFIED TransferState = 0
	// Data transfer is scheduled and is waiting to be picked up by
	// data transfer backend.
	TransferState_PENDING TransferState = 2
	// Data transfer is in progress.
	TransferState_RUNNING TransferState = 3
	// Data transfer completed successfully.
	TransferState_SUCCEEDED TransferState = 4
	// Data transfer failed.
	TransferState_FAILED TransferState = 5
	// Data transfer is cancelled.
	TransferState_CANCELLED TransferState = 6
)

func (TransferState) EnumDescriptor

func (TransferState) EnumDescriptor() ([]byte, []int)

func (TransferState) String

func (x TransferState) String() string

type TransferType

type TransferType int32 // Deprecated: Do not use.

DEPRECATED. Represents data transfer type.

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) EnumDescriptor

func (TransferType) EnumDescriptor() ([]byte, []int)

func (TransferType) String

func (x TransferType) String() string

type UnimplementedDataSourceServiceServer

type UnimplementedDataSourceServiceServer struct {
}

UnimplementedDataSourceServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedDataSourceServiceServer) CreateDataSourceDefinition

func (*UnimplementedDataSourceServiceServer) DeleteDataSourceDefinition

func (*UnimplementedDataSourceServiceServer) FinishRun

func (*UnimplementedDataSourceServiceServer) GetDataSourceDefinition

func (*UnimplementedDataSourceServiceServer) ListDataSourceDefinitions

func (*UnimplementedDataSourceServiceServer) LogTransferRunMessages

func (*UnimplementedDataSourceServiceServer) StartBigQueryJobs

func (*UnimplementedDataSourceServiceServer) UpdateDataSourceDefinition

func (*UnimplementedDataSourceServiceServer) UpdateTransferRun

type UnimplementedDataTransferServiceServer

type UnimplementedDataTransferServiceServer struct {
}

UnimplementedDataTransferServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedDataTransferServiceServer) CheckValidCreds

func (*UnimplementedDataTransferServiceServer) CreateTransferConfig

func (*UnimplementedDataTransferServiceServer) DeleteTransferConfig

func (*UnimplementedDataTransferServiceServer) DeleteTransferRun

func (*UnimplementedDataTransferServiceServer) GetDataSource

func (*UnimplementedDataTransferServiceServer) GetTransferConfig

func (*UnimplementedDataTransferServiceServer) GetTransferRun

func (*UnimplementedDataTransferServiceServer) ListDataSources

func (*UnimplementedDataTransferServiceServer) ListTransferConfigs

func (*UnimplementedDataTransferServiceServer) ListTransferLogs

func (*UnimplementedDataTransferServiceServer) ListTransferRuns

func (*UnimplementedDataTransferServiceServer) ScheduleTransferRuns

func (*UnimplementedDataTransferServiceServer) StartManualTransferRuns

func (*UnimplementedDataTransferServiceServer) UpdateTransferConfig

type UpdateDataSourceDefinitionRequest

type UpdateDataSourceDefinitionRequest struct {
	// Data source definition.
	DataSourceDefinition *DataSourceDefinition `protobuf:"bytes,1,opt,name=data_source_definition,json=dataSourceDefinition,proto3" json:"data_source_definition,omitempty"`
	// Update field mask.
	UpdateMask           *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Represents the request of the UpdateDataSourceDefinition method.

func (*UpdateDataSourceDefinitionRequest) Descriptor

func (*UpdateDataSourceDefinitionRequest) Descriptor() ([]byte, []int)

func (*UpdateDataSourceDefinitionRequest) GetDataSourceDefinition

func (m *UpdateDataSourceDefinitionRequest) GetDataSourceDefinition() *DataSourceDefinition

func (*UpdateDataSourceDefinitionRequest) GetUpdateMask

func (*UpdateDataSourceDefinitionRequest) ProtoMessage

func (*UpdateDataSourceDefinitionRequest) ProtoMessage()

func (*UpdateDataSourceDefinitionRequest) Reset

func (*UpdateDataSourceDefinitionRequest) String

func (*UpdateDataSourceDefinitionRequest) XXX_DiscardUnknown

func (m *UpdateDataSourceDefinitionRequest) XXX_DiscardUnknown()

func (*UpdateDataSourceDefinitionRequest) XXX_Marshal

func (m *UpdateDataSourceDefinitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateDataSourceDefinitionRequest) XXX_Merge

func (*UpdateDataSourceDefinitionRequest) XXX_Size

func (m *UpdateDataSourceDefinitionRequest) XXX_Size() int

func (*UpdateDataSourceDefinitionRequest) XXX_Unmarshal

func (m *UpdateDataSourceDefinitionRequest) XXX_Unmarshal(b []byte) error

type 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.
	// If it is provided, the transfer configuration will be associated with the
	// authorizing user.
	// In order to obtain authorization_code, please make a
	// request to
	// https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatransferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri>
	//
	// * client_id should be OAuth client_id of BigQuery DTS API for the given
	//   data source returned by ListDataSources method.
	// * data_source_scopes are the scopes returned by ListDataSources method.
	// * redirect_uri is an optional parameter. If not specified, then
	//   authorization code is posted to the opener of authorization flow window.
	//   Otherwise it will be sent to the redirect uri. A special value of
	//   urn:ietf:wg:oauth:2.0:oob means that authorization code should be
	//   returned in the title bar of the browser, with the page text prompting
	//   the user to copy the code and paste it in the application.
	AuthorizationCode string `protobuf:"bytes,3,opt,name=authorization_code,json=authorizationCode,proto3" json:"authorization_code,omitempty"`
	// Required. Required list of fields to be updated in this request.
	UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Optional version info. If users want to find a very recent access token,
	// that is, immediately after approving access, users have to set the
	// version_info claim in the token request. To obtain the version_info, users
	// must use the "none+gsession" response type. which be return a
	// version_info back in the authorization response which be be put in a JWT
	// claim in the token request.
	VersionInfo string `protobuf:"bytes,5,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
	// Optional service account name. If this field is set and
	// "service_account_name" is set in update_mask, transfer config will be
	// updated to use this service account credentials. It requires that
	// requesting user calling this API has permissions to act as this service
	// account.
	ServiceAccountName   string   `protobuf:"bytes,6,opt,name=service_account_name,json=serviceAccountName,proto3" json:"service_account_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A request to update a transfer configuration. To update the user id of the transfer configuration, an authorization code needs to be provided.

func (*UpdateTransferConfigRequest) Descriptor

func (*UpdateTransferConfigRequest) Descriptor() ([]byte, []int)

func (*UpdateTransferConfigRequest) GetAuthorizationCode

func (m *UpdateTransferConfigRequest) GetAuthorizationCode() string

func (*UpdateTransferConfigRequest) GetServiceAccountName

func (m *UpdateTransferConfigRequest) GetServiceAccountName() string

func (*UpdateTransferConfigRequest) GetTransferConfig

func (m *UpdateTransferConfigRequest) GetTransferConfig() *TransferConfig

func (*UpdateTransferConfigRequest) GetUpdateMask

func (m *UpdateTransferConfigRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateTransferConfigRequest) GetVersionInfo

func (m *UpdateTransferConfigRequest) GetVersionInfo() string

func (*UpdateTransferConfigRequest) ProtoMessage

func (*UpdateTransferConfigRequest) ProtoMessage()

func (*UpdateTransferConfigRequest) Reset

func (m *UpdateTransferConfigRequest) Reset()

func (*UpdateTransferConfigRequest) String

func (m *UpdateTransferConfigRequest) String() string

func (*UpdateTransferConfigRequest) XXX_DiscardUnknown

func (m *UpdateTransferConfigRequest) XXX_DiscardUnknown()

func (*UpdateTransferConfigRequest) XXX_Marshal

func (m *UpdateTransferConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateTransferConfigRequest) XXX_Merge

func (m *UpdateTransferConfigRequest) XXX_Merge(src proto.Message)

func (*UpdateTransferConfigRequest) XXX_Size

func (m *UpdateTransferConfigRequest) XXX_Size() int

func (*UpdateTransferConfigRequest) XXX_Unmarshal

func (m *UpdateTransferConfigRequest) XXX_Unmarshal(b []byte) error

type UpdateTransferRunRequest

type UpdateTransferRunRequest struct {
	// Run name must be set and correspond to an already existing run. Only
	// state, error_status, and data_version fields will be updated. All other
	// fields will be ignored.
	TransferRun *TransferRun `protobuf:"bytes,1,opt,name=transfer_run,json=transferRun,proto3" json:"transfer_run,omitempty"`
	// Required list of fields to be updated in this request.
	UpdateMask           *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

A request to update a transfer run.

func (*UpdateTransferRunRequest) Descriptor

func (*UpdateTransferRunRequest) Descriptor() ([]byte, []int)

func (*UpdateTransferRunRequest) GetTransferRun

func (m *UpdateTransferRunRequest) GetTransferRun() *TransferRun

func (*UpdateTransferRunRequest) GetUpdateMask

func (m *UpdateTransferRunRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateTransferRunRequest) ProtoMessage

func (*UpdateTransferRunRequest) ProtoMessage()

func (*UpdateTransferRunRequest) Reset

func (m *UpdateTransferRunRequest) Reset()

func (*UpdateTransferRunRequest) String

func (m *UpdateTransferRunRequest) String() string

func (*UpdateTransferRunRequest) XXX_DiscardUnknown

func (m *UpdateTransferRunRequest) XXX_DiscardUnknown()

func (*UpdateTransferRunRequest) XXX_Marshal

func (m *UpdateTransferRunRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateTransferRunRequest) XXX_Merge

func (m *UpdateTransferRunRequest) XXX_Merge(src proto.Message)

func (*UpdateTransferRunRequest) XXX_Size

func (m *UpdateTransferRunRequest) XXX_Size() int

func (*UpdateTransferRunRequest) XXX_Unmarshal

func (m *UpdateTransferRunRequest) XXX_Unmarshal(b []byte) error

type WriteDisposition

type WriteDisposition int32

Options for writing to the table. The WRITE_EMPTY option is intentionally excluded from the enum and is not supported by the data transfer service.

const (
	// The default writeDispostion
	WriteDisposition_WRITE_DISPOSITION_UNSPECIFIED WriteDisposition = 0
	// overwrites the table data.
	WriteDisposition_WRITE_TRUNCATE WriteDisposition = 1
	// the data is appended to the table.
	// Note duplication might happen if this mode is used.
	WriteDisposition_WRITE_APPEND WriteDisposition = 2
)

func (WriteDisposition) EnumDescriptor

func (WriteDisposition) EnumDescriptor() ([]byte, []int)

func (WriteDisposition) String

func (x WriteDisposition) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL