Versions in this module Expand all Collapse all v0 v0.25.2 May 21, 2020 Changes in this version + const CloudPlatformScope + type AwsAccessKey struct + AccessKeyId string + ForceSendFields []string + NullFields []string + SecretAccessKey string + func (s *AwsAccessKey) MarshalJSON() ([]byte, error) + type AwsS3Data struct + AwsAccessKey *AwsAccessKey + BucketName string + ForceSendFields []string + NullFields []string + func (s *AwsS3Data) MarshalJSON() ([]byte, error) + type AzureBlobStorageData struct + AzureCredentials *AzureCredentials + Container string + ForceSendFields []string + NullFields []string + StorageAccount string + func (s *AzureBlobStorageData) MarshalJSON() ([]byte, error) + type AzureCredentials struct + ForceSendFields []string + NullFields []string + SasToken string + func (s *AzureCredentials) MarshalJSON() ([]byte, error) + type Date struct + Day int64 + ForceSendFields []string + Month int64 + NullFields []string + Year int64 + func (s *Date) MarshalJSON() ([]byte, error) + type Empty struct + type ErrorLogEntry struct + ErrorDetails []string + ForceSendFields []string + NullFields []string + Url string + func (s *ErrorLogEntry) MarshalJSON() ([]byte, error) + type ErrorSummary struct + ErrorCode string + ErrorCount int64 + ErrorLogEntries []*ErrorLogEntry + ForceSendFields []string + NullFields []string + func (s *ErrorSummary) MarshalJSON() ([]byte, error) + type GcsData struct + BucketName string + ForceSendFields []string + NullFields []string + func (s *GcsData) MarshalJSON() ([]byte, error) + type GoogleServiceAccount struct + AccountEmail string + ForceSendFields []string + NullFields []string + func (s *GoogleServiceAccount) MarshalJSON() ([]byte, error) + type GoogleServiceAccountsGetCall struct + func (c *GoogleServiceAccountsGetCall) Context(ctx context.Context) *GoogleServiceAccountsGetCall + func (c *GoogleServiceAccountsGetCall) Do(opts ...googleapi.CallOption) (*GoogleServiceAccount, error) + func (c *GoogleServiceAccountsGetCall) Fields(s ...googleapi.Field) *GoogleServiceAccountsGetCall + func (c *GoogleServiceAccountsGetCall) Header() http.Header + func (c *GoogleServiceAccountsGetCall) IfNoneMatch(entityTag string) *GoogleServiceAccountsGetCall + type GoogleServiceAccountsService struct + func NewGoogleServiceAccountsService(s *Service) *GoogleServiceAccountsService + func (r *GoogleServiceAccountsService) Get(projectId string) *GoogleServiceAccountsGetCall + type HttpData struct + ForceSendFields []string + ListUrl string + NullFields []string + func (s *HttpData) MarshalJSON() ([]byte, error) + type ListOperationsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Operations []*Operation + func (s *ListOperationsResponse) MarshalJSON() ([]byte, error) + type ListTransferJobsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + TransferJobs []*TransferJob + func (s *ListTransferJobsResponse) MarshalJSON() ([]byte, error) + type NotificationConfig struct + EventTypes []string + ForceSendFields []string + NullFields []string + PayloadFormat string + PubsubTopic string + func (s *NotificationConfig) MarshalJSON() ([]byte, error) + type ObjectConditions struct + ExcludePrefixes []string + ForceSendFields []string + IncludePrefixes []string + LastModifiedBefore string + LastModifiedSince string + MaxTimeElapsedSinceLastModification string + MinTimeElapsedSinceLastModification string + NullFields []string + func (s *ObjectConditions) MarshalJSON() ([]byte, error) + type Operation struct + Done bool + Error *Status + ForceSendFields []string + Metadata googleapi.RawMessage + Name string + NullFields []string + Response googleapi.RawMessage + func (s *Operation) MarshalJSON() ([]byte, error) + type PauseTransferOperationRequest struct + type ResumeTransferOperationRequest struct + type Schedule struct + ForceSendFields []string + NullFields []string + ScheduleEndDate *Date + ScheduleStartDate *Date + StartTimeOfDay *TimeOfDay + func (s *Schedule) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + GoogleServiceAccounts *GoogleServiceAccountsService + TransferJobs *TransferJobsService + TransferOperations *TransferOperationsService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type Status struct + Code int64 + Details []googleapi.RawMessage + ForceSendFields []string + Message string + NullFields []string + func (s *Status) MarshalJSON() ([]byte, error) + type TimeOfDay struct + ForceSendFields []string + Hours int64 + Minutes int64 + Nanos int64 + NullFields []string + Seconds int64 + func (s *TimeOfDay) MarshalJSON() ([]byte, error) + type TransferCounters struct + BytesCopiedToSink int64 + BytesDeletedFromSink int64 + BytesDeletedFromSource int64 + BytesFailedToDeleteFromSink int64 + BytesFoundFromSource int64 + BytesFoundOnlyFromSink int64 + BytesFromSourceFailed int64 + BytesFromSourceSkippedBySync int64 + ForceSendFields []string + NullFields []string + ObjectsCopiedToSink int64 + ObjectsDeletedFromSink int64 + ObjectsDeletedFromSource int64 + ObjectsFailedToDeleteFromSink int64 + ObjectsFoundFromSource int64 + ObjectsFoundOnlyFromSink int64 + ObjectsFromSourceFailed int64 + ObjectsFromSourceSkippedBySync int64 + func (s *TransferCounters) MarshalJSON() ([]byte, error) + type TransferJob struct + CreationTime string + DeletionTime string + Description string + ForceSendFields []string + LastModificationTime string + Name string + NotificationConfig *NotificationConfig + NullFields []string + ProjectId string + Schedule *Schedule + Status string + TransferSpec *TransferSpec + func (s *TransferJob) MarshalJSON() ([]byte, error) + type TransferJobsCreateCall struct + func (c *TransferJobsCreateCall) Context(ctx context.Context) *TransferJobsCreateCall + func (c *TransferJobsCreateCall) Do(opts ...googleapi.CallOption) (*TransferJob, error) + func (c *TransferJobsCreateCall) Fields(s ...googleapi.Field) *TransferJobsCreateCall + func (c *TransferJobsCreateCall) Header() http.Header + type TransferJobsGetCall struct + func (c *TransferJobsGetCall) Context(ctx context.Context) *TransferJobsGetCall + func (c *TransferJobsGetCall) Do(opts ...googleapi.CallOption) (*TransferJob, error) + func (c *TransferJobsGetCall) Fields(s ...googleapi.Field) *TransferJobsGetCall + func (c *TransferJobsGetCall) Header() http.Header + func (c *TransferJobsGetCall) IfNoneMatch(entityTag string) *TransferJobsGetCall + func (c *TransferJobsGetCall) ProjectId(projectId string) *TransferJobsGetCall + type TransferJobsListCall struct + func (c *TransferJobsListCall) Context(ctx context.Context) *TransferJobsListCall + func (c *TransferJobsListCall) Do(opts ...googleapi.CallOption) (*ListTransferJobsResponse, error) + func (c *TransferJobsListCall) Fields(s ...googleapi.Field) *TransferJobsListCall + func (c *TransferJobsListCall) Filter(filter string) *TransferJobsListCall + func (c *TransferJobsListCall) Header() http.Header + func (c *TransferJobsListCall) IfNoneMatch(entityTag string) *TransferJobsListCall + func (c *TransferJobsListCall) PageSize(pageSize int64) *TransferJobsListCall + func (c *TransferJobsListCall) PageToken(pageToken string) *TransferJobsListCall + func (c *TransferJobsListCall) Pages(ctx context.Context, f func(*ListTransferJobsResponse) error) error + type TransferJobsPatchCall struct + func (c *TransferJobsPatchCall) Context(ctx context.Context) *TransferJobsPatchCall + func (c *TransferJobsPatchCall) Do(opts ...googleapi.CallOption) (*TransferJob, error) + func (c *TransferJobsPatchCall) Fields(s ...googleapi.Field) *TransferJobsPatchCall + func (c *TransferJobsPatchCall) Header() http.Header + type TransferJobsService struct + func NewTransferJobsService(s *Service) *TransferJobsService + func (r *TransferJobsService) Create(transferjob *TransferJob) *TransferJobsCreateCall + func (r *TransferJobsService) Get(jobName string) *TransferJobsGetCall + func (r *TransferJobsService) List() *TransferJobsListCall + func (r *TransferJobsService) Patch(jobName string, updatetransferjobrequest *UpdateTransferJobRequest) *TransferJobsPatchCall + type TransferOperation struct + Counters *TransferCounters + EndTime string + ErrorBreakdowns []*ErrorSummary + ForceSendFields []string + Name string + NotificationConfig *NotificationConfig + NullFields []string + ProjectId string + StartTime string + Status string + TransferJobName string + TransferSpec *TransferSpec + func (s *TransferOperation) MarshalJSON() ([]byte, error) + type TransferOperationsCancelCall struct + func (c *TransferOperationsCancelCall) Context(ctx context.Context) *TransferOperationsCancelCall + func (c *TransferOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *TransferOperationsCancelCall) Fields(s ...googleapi.Field) *TransferOperationsCancelCall + func (c *TransferOperationsCancelCall) Header() http.Header + type TransferOperationsGetCall struct + func (c *TransferOperationsGetCall) Context(ctx context.Context) *TransferOperationsGetCall + func (c *TransferOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *TransferOperationsGetCall) Fields(s ...googleapi.Field) *TransferOperationsGetCall + func (c *TransferOperationsGetCall) Header() http.Header + func (c *TransferOperationsGetCall) IfNoneMatch(entityTag string) *TransferOperationsGetCall + type TransferOperationsListCall struct + func (c *TransferOperationsListCall) Context(ctx context.Context) *TransferOperationsListCall + func (c *TransferOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error) + func (c *TransferOperationsListCall) Fields(s ...googleapi.Field) *TransferOperationsListCall + func (c *TransferOperationsListCall) Filter(filter string) *TransferOperationsListCall + func (c *TransferOperationsListCall) Header() http.Header + func (c *TransferOperationsListCall) IfNoneMatch(entityTag string) *TransferOperationsListCall + func (c *TransferOperationsListCall) PageSize(pageSize int64) *TransferOperationsListCall + func (c *TransferOperationsListCall) PageToken(pageToken string) *TransferOperationsListCall + func (c *TransferOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error + type TransferOperationsPauseCall struct + func (c *TransferOperationsPauseCall) Context(ctx context.Context) *TransferOperationsPauseCall + func (c *TransferOperationsPauseCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *TransferOperationsPauseCall) Fields(s ...googleapi.Field) *TransferOperationsPauseCall + func (c *TransferOperationsPauseCall) Header() http.Header + type TransferOperationsResumeCall struct + func (c *TransferOperationsResumeCall) Context(ctx context.Context) *TransferOperationsResumeCall + func (c *TransferOperationsResumeCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *TransferOperationsResumeCall) Fields(s ...googleapi.Field) *TransferOperationsResumeCall + func (c *TransferOperationsResumeCall) Header() http.Header + type TransferOperationsService struct + func NewTransferOperationsService(s *Service) *TransferOperationsService + func (r *TransferOperationsService) Cancel(name string) *TransferOperationsCancelCall + func (r *TransferOperationsService) Get(name string) *TransferOperationsGetCall + func (r *TransferOperationsService) List(name string) *TransferOperationsListCall + func (r *TransferOperationsService) Pause(name string, pausetransferoperationrequest *PauseTransferOperationRequest) *TransferOperationsPauseCall + func (r *TransferOperationsService) Resume(name string, resumetransferoperationrequest *ResumeTransferOperationRequest) *TransferOperationsResumeCall + type TransferOptions struct + DeleteObjectsFromSourceAfterTransfer bool + DeleteObjectsUniqueInSink bool + ForceSendFields []string + NullFields []string + OverwriteObjectsAlreadyExistingInSink bool + func (s *TransferOptions) MarshalJSON() ([]byte, error) + type TransferSpec struct + AwsS3DataSource *AwsS3Data + AzureBlobStorageDataSource *AzureBlobStorageData + ForceSendFields []string + GcsDataSink *GcsData + GcsDataSource *GcsData + HttpDataSource *HttpData + NullFields []string + ObjectConditions *ObjectConditions + TransferOptions *TransferOptions + func (s *TransferSpec) MarshalJSON() ([]byte, error) + type UpdateTransferJobRequest struct + ForceSendFields []string + NullFields []string + ProjectId string + TransferJob *TransferJob + UpdateTransferJobFieldMask string + func (s *UpdateTransferJobRequest) MarshalJSON() ([]byte, error)