Documentation
Overview ¶
Package dataflow provides access to the Dataflow API.
For product documentation, see: https://cloud.google.com/dataflow
Creating a client ¶
Usage example:
import "google.golang.org/api/dataflow/v1b3" ... ctx := context.Background() dataflowService, err := dataflow.NewService(ctx)
In this example, Google Application Default Credentials are used for authentication.
For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options ¶
By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
dataflowService, err := dataflow.NewService(ctx, option.WithScopes(dataflow.UserinfoEmailScope))
To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
dataflowService, err := dataflow.NewService(ctx, option.WithAPIKey("AIza..."))
To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
config := &oauth2.Config{...} // ... token, err := config.Exchange(ctx, ...) dataflowService, err := dataflow.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See https://godoc.org/google.golang.org/api/option/ for details on options.
Index ¶
- Constants
- type ApproximateProgress
- type ApproximateReportedProgress
- type ApproximateSplitRequest
- type Artifact
- type AutoscalingEvent
- type AutoscalingSettings
- type BigQueryIODetails
- type BigTableIODetails
- type CPUTime
- type CommitTemplateVersionRequest
- type ComponentSource
- type ComponentTransform
- type ComputationTopology
- type ConcatPosition
- type ContainerSpec
- type CounterMetadata
- type CounterStructuredName
- type CounterStructuredNameAndMetadata
- type CounterUpdate
- type CreateJobFromTemplateRequest
- type CreateTemplateVersionRequest
- type CustomSourceLocation
- type DataDiskAssignment
- type DatastoreIODetails
- type DeleteSnapshotResponse
- type DerivedSource
- type Disk
- type DisplayData
- type DistributionUpdate
- type DynamicSourceSplit
- type Empty
- type Environment
- type ExecutionStageState
- type ExecutionStageSummary
- type FailedLocation
- type FileIODetails
- type FlattenInstruction
- type FlexTemplateRuntimeEnvironment
- type FloatingPointList
- type FloatingPointMean
- type GetDebugConfigRequest
- type GetDebugConfigResponse
- type GetTemplateResponse
- type Histogram
- type HotKeyDetection
- type InstructionInput
- type InstructionOutput
- type IntegerGauge
- type IntegerList
- type IntegerMean
- type Job
- type JobExecutionDetails
- type JobExecutionInfo
- type JobExecutionStageInfo
- type JobMessage
- type JobMetadata
- type JobMetrics
- type KeyRangeDataDiskAssignment
- type KeyRangeLocation
- type LaunchFlexTemplateParameter
- type LaunchFlexTemplateRequest
- type LaunchFlexTemplateResponse
- type LaunchTemplateParameters
- type LaunchTemplateResponse
- type LeaseWorkItemRequest
- type LeaseWorkItemResponse
- type ListJobMessagesResponse
- type ListJobsResponse
- type ListSnapshotsResponse
- type ListTemplateVersionsResponse
- type MapTask
- type MemInfo
- type MetricShortId
- type MetricStructuredName
- type MetricUpdate
- type ModifyTemplateVersionLabelRequest
- type ModifyTemplateVersionLabelResponse
- type ModifyTemplateVersionTagRequest
- type ModifyTemplateVersionTagResponse
- type MountedDataDisk
- type MultiOutputInfo
- type NameAndKind
- type Package
- type ParDoInstruction
- type ParallelInstruction
- type Parameter
- type ParameterMetadata
- type PartialGroupByKeyInstruction
- type PipelineDescription
- type Point
- type Position
- type ProgressTimeseries
- type ProjectsCatalogTemplatesCommitCall
- func (c *ProjectsCatalogTemplatesCommitCall) Context(ctx context.Context) *ProjectsCatalogTemplatesCommitCall
- func (c *ProjectsCatalogTemplatesCommitCall) Do(opts ...googleapi.CallOption) (*TemplateVersion, error)
- func (c *ProjectsCatalogTemplatesCommitCall) Fields(s ...googleapi.Field) *ProjectsCatalogTemplatesCommitCall
- func (c *ProjectsCatalogTemplatesCommitCall) Header() http.Header
- type ProjectsCatalogTemplatesDeleteCall
- func (c *ProjectsCatalogTemplatesDeleteCall) Context(ctx context.Context) *ProjectsCatalogTemplatesDeleteCall
- func (c *ProjectsCatalogTemplatesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsCatalogTemplatesDeleteCall) Fields(s ...googleapi.Field) *ProjectsCatalogTemplatesDeleteCall
- func (c *ProjectsCatalogTemplatesDeleteCall) Header() http.Header
- type ProjectsCatalogTemplatesGetCall
- func (c *ProjectsCatalogTemplatesGetCall) Context(ctx context.Context) *ProjectsCatalogTemplatesGetCall
- func (c *ProjectsCatalogTemplatesGetCall) Do(opts ...googleapi.CallOption) (*TemplateVersion, error)
- func (c *ProjectsCatalogTemplatesGetCall) Fields(s ...googleapi.Field) *ProjectsCatalogTemplatesGetCall
- func (c *ProjectsCatalogTemplatesGetCall) Header() http.Header
- func (c *ProjectsCatalogTemplatesGetCall) IfNoneMatch(entityTag string) *ProjectsCatalogTemplatesGetCall
- type ProjectsCatalogTemplatesLabelCall
- func (c *ProjectsCatalogTemplatesLabelCall) Context(ctx context.Context) *ProjectsCatalogTemplatesLabelCall
- func (c *ProjectsCatalogTemplatesLabelCall) Do(opts ...googleapi.CallOption) (*ModifyTemplateVersionLabelResponse, error)
- func (c *ProjectsCatalogTemplatesLabelCall) Fields(s ...googleapi.Field) *ProjectsCatalogTemplatesLabelCall
- func (c *ProjectsCatalogTemplatesLabelCall) Header() http.Header
- type ProjectsCatalogTemplatesService
- func (r *ProjectsCatalogTemplatesService) Commit(name string, committemplateversionrequest *CommitTemplateVersionRequest) *ProjectsCatalogTemplatesCommitCall
- func (r *ProjectsCatalogTemplatesService) Delete(name string) *ProjectsCatalogTemplatesDeleteCall
- func (r *ProjectsCatalogTemplatesService) Get(name string) *ProjectsCatalogTemplatesGetCall
- func (r *ProjectsCatalogTemplatesService) Label(name string, ...) *ProjectsCatalogTemplatesLabelCall
- func (r *ProjectsCatalogTemplatesService) Tag(name string, modifytemplateversiontagrequest *ModifyTemplateVersionTagRequest) *ProjectsCatalogTemplatesTagCall
- type ProjectsCatalogTemplatesTagCall
- func (c *ProjectsCatalogTemplatesTagCall) Context(ctx context.Context) *ProjectsCatalogTemplatesTagCall
- func (c *ProjectsCatalogTemplatesTagCall) Do(opts ...googleapi.CallOption) (*ModifyTemplateVersionTagResponse, error)
- func (c *ProjectsCatalogTemplatesTagCall) Fields(s ...googleapi.Field) *ProjectsCatalogTemplatesTagCall
- func (c *ProjectsCatalogTemplatesTagCall) Header() http.Header
- type ProjectsCatalogTemplatesTemplateVersionsCreateCall
- func (c *ProjectsCatalogTemplatesTemplateVersionsCreateCall) Context(ctx context.Context) *ProjectsCatalogTemplatesTemplateVersionsCreateCall
- func (c *ProjectsCatalogTemplatesTemplateVersionsCreateCall) Do(opts ...googleapi.CallOption) (*TemplateVersion, error)
- func (c *ProjectsCatalogTemplatesTemplateVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsCatalogTemplatesTemplateVersionsCreateCall
- func (c *ProjectsCatalogTemplatesTemplateVersionsCreateCall) Header() http.Header
- type ProjectsCatalogTemplatesTemplateVersionsService
- type ProjectsDeleteSnapshotsCall
- func (c *ProjectsDeleteSnapshotsCall) Context(ctx context.Context) *ProjectsDeleteSnapshotsCall
- func (c *ProjectsDeleteSnapshotsCall) Do(opts ...googleapi.CallOption) (*DeleteSnapshotResponse, error)
- func (c *ProjectsDeleteSnapshotsCall) Fields(s ...googleapi.Field) *ProjectsDeleteSnapshotsCall
- func (c *ProjectsDeleteSnapshotsCall) Header() http.Header
- func (c *ProjectsDeleteSnapshotsCall) Location(location string) *ProjectsDeleteSnapshotsCall
- func (c *ProjectsDeleteSnapshotsCall) SnapshotId(snapshotId string) *ProjectsDeleteSnapshotsCall
- type ProjectsJobsAggregatedCall
- func (c *ProjectsJobsAggregatedCall) Context(ctx context.Context) *ProjectsJobsAggregatedCall
- func (c *ProjectsJobsAggregatedCall) Do(opts ...googleapi.CallOption) (*ListJobsResponse, error)
- func (c *ProjectsJobsAggregatedCall) Fields(s ...googleapi.Field) *ProjectsJobsAggregatedCall
- func (c *ProjectsJobsAggregatedCall) Filter(filter string) *ProjectsJobsAggregatedCall
- func (c *ProjectsJobsAggregatedCall) Header() http.Header
- func (c *ProjectsJobsAggregatedCall) IfNoneMatch(entityTag string) *ProjectsJobsAggregatedCall
- func (c *ProjectsJobsAggregatedCall) Location(location string) *ProjectsJobsAggregatedCall
- func (c *ProjectsJobsAggregatedCall) PageSize(pageSize int64) *ProjectsJobsAggregatedCall
- func (c *ProjectsJobsAggregatedCall) PageToken(pageToken string) *ProjectsJobsAggregatedCall
- func (c *ProjectsJobsAggregatedCall) Pages(ctx context.Context, f func(*ListJobsResponse) error) error
- func (c *ProjectsJobsAggregatedCall) View(view string) *ProjectsJobsAggregatedCall
- type ProjectsJobsCreateCall
- func (c *ProjectsJobsCreateCall) Context(ctx context.Context) *ProjectsJobsCreateCall
- func (c *ProjectsJobsCreateCall) Do(opts ...googleapi.CallOption) (*Job, error)
- func (c *ProjectsJobsCreateCall) Fields(s ...googleapi.Field) *ProjectsJobsCreateCall
- func (c *ProjectsJobsCreateCall) Header() http.Header
- func (c *ProjectsJobsCreateCall) Location(location string) *ProjectsJobsCreateCall
- func (c *ProjectsJobsCreateCall) ReplaceJobId(replaceJobId string) *ProjectsJobsCreateCall
- func (c *ProjectsJobsCreateCall) View(view string) *ProjectsJobsCreateCall
- type ProjectsJobsDebugGetConfigCall
- func (c *ProjectsJobsDebugGetConfigCall) Context(ctx context.Context) *ProjectsJobsDebugGetConfigCall
- func (c *ProjectsJobsDebugGetConfigCall) Do(opts ...googleapi.CallOption) (*GetDebugConfigResponse, error)
- func (c *ProjectsJobsDebugGetConfigCall) Fields(s ...googleapi.Field) *ProjectsJobsDebugGetConfigCall
- func (c *ProjectsJobsDebugGetConfigCall) Header() http.Header
- type ProjectsJobsDebugSendCaptureCall
- func (c *ProjectsJobsDebugSendCaptureCall) Context(ctx context.Context) *ProjectsJobsDebugSendCaptureCall
- func (c *ProjectsJobsDebugSendCaptureCall) Do(opts ...googleapi.CallOption) (*SendDebugCaptureResponse, error)
- func (c *ProjectsJobsDebugSendCaptureCall) Fields(s ...googleapi.Field) *ProjectsJobsDebugSendCaptureCall
- func (c *ProjectsJobsDebugSendCaptureCall) Header() http.Header
- type ProjectsJobsDebugService
- type ProjectsJobsGetCall
- func (c *ProjectsJobsGetCall) Context(ctx context.Context) *ProjectsJobsGetCall
- func (c *ProjectsJobsGetCall) Do(opts ...googleapi.CallOption) (*Job, error)
- func (c *ProjectsJobsGetCall) Fields(s ...googleapi.Field) *ProjectsJobsGetCall
- func (c *ProjectsJobsGetCall) Header() http.Header
- func (c *ProjectsJobsGetCall) IfNoneMatch(entityTag string) *ProjectsJobsGetCall
- func (c *ProjectsJobsGetCall) Location(location string) *ProjectsJobsGetCall
- func (c *ProjectsJobsGetCall) View(view string) *ProjectsJobsGetCall
- type ProjectsJobsGetMetricsCall
- func (c *ProjectsJobsGetMetricsCall) Context(ctx context.Context) *ProjectsJobsGetMetricsCall
- func (c *ProjectsJobsGetMetricsCall) Do(opts ...googleapi.CallOption) (*JobMetrics, error)
- func (c *ProjectsJobsGetMetricsCall) Fields(s ...googleapi.Field) *ProjectsJobsGetMetricsCall
- func (c *ProjectsJobsGetMetricsCall) Header() http.Header
- func (c *ProjectsJobsGetMetricsCall) IfNoneMatch(entityTag string) *ProjectsJobsGetMetricsCall
- func (c *ProjectsJobsGetMetricsCall) Location(location string) *ProjectsJobsGetMetricsCall
- func (c *ProjectsJobsGetMetricsCall) StartTime(startTime string) *ProjectsJobsGetMetricsCall
- type ProjectsJobsListCall
- func (c *ProjectsJobsListCall) Context(ctx context.Context) *ProjectsJobsListCall
- func (c *ProjectsJobsListCall) Do(opts ...googleapi.CallOption) (*ListJobsResponse, error)
- func (c *ProjectsJobsListCall) Fields(s ...googleapi.Field) *ProjectsJobsListCall
- func (c *ProjectsJobsListCall) Filter(filter string) *ProjectsJobsListCall
- func (c *ProjectsJobsListCall) Header() http.Header
- func (c *ProjectsJobsListCall) IfNoneMatch(entityTag string) *ProjectsJobsListCall
- func (c *ProjectsJobsListCall) Location(location string) *ProjectsJobsListCall
- func (c *ProjectsJobsListCall) PageSize(pageSize int64) *ProjectsJobsListCall
- func (c *ProjectsJobsListCall) PageToken(pageToken string) *ProjectsJobsListCall
- func (c *ProjectsJobsListCall) Pages(ctx context.Context, f func(*ListJobsResponse) error) error
- func (c *ProjectsJobsListCall) View(view string) *ProjectsJobsListCall
- type ProjectsJobsMessagesListCall
- func (c *ProjectsJobsMessagesListCall) Context(ctx context.Context) *ProjectsJobsMessagesListCall
- func (c *ProjectsJobsMessagesListCall) Do(opts ...googleapi.CallOption) (*ListJobMessagesResponse, error)
- func (c *ProjectsJobsMessagesListCall) EndTime(endTime string) *ProjectsJobsMessagesListCall
- func (c *ProjectsJobsMessagesListCall) Fields(s ...googleapi.Field) *ProjectsJobsMessagesListCall
- func (c *ProjectsJobsMessagesListCall) Header() http.Header
- func (c *ProjectsJobsMessagesListCall) IfNoneMatch(entityTag string) *ProjectsJobsMessagesListCall
- func (c *ProjectsJobsMessagesListCall) Location(location string) *ProjectsJobsMessagesListCall
- func (c *ProjectsJobsMessagesListCall) MinimumImportance(minimumImportance string) *ProjectsJobsMessagesListCall
- func (c *ProjectsJobsMessagesListCall) PageSize(pageSize int64) *ProjectsJobsMessagesListCall
- func (c *ProjectsJobsMessagesListCall) PageToken(pageToken string) *ProjectsJobsMessagesListCall
- func (c *ProjectsJobsMessagesListCall) Pages(ctx context.Context, f func(*ListJobMessagesResponse) error) error
- func (c *ProjectsJobsMessagesListCall) StartTime(startTime string) *ProjectsJobsMessagesListCall
- type ProjectsJobsMessagesService
- type ProjectsJobsService
- func (r *ProjectsJobsService) Aggregated(projectId string) *ProjectsJobsAggregatedCall
- func (r *ProjectsJobsService) Create(projectId string, job *Job) *ProjectsJobsCreateCall
- func (r *ProjectsJobsService) Get(projectId string, jobId string) *ProjectsJobsGetCall
- func (r *ProjectsJobsService) GetMetrics(projectId string, jobId string) *ProjectsJobsGetMetricsCall
- func (r *ProjectsJobsService) List(projectId string) *ProjectsJobsListCall
- func (r *ProjectsJobsService) Snapshot(projectId string, jobId string, snapshotjobrequest *SnapshotJobRequest) *ProjectsJobsSnapshotCall
- func (r *ProjectsJobsService) Update(projectId string, jobId string, job *Job) *ProjectsJobsUpdateCall
- type ProjectsJobsSnapshotCall
- func (c *ProjectsJobsSnapshotCall) Context(ctx context.Context) *ProjectsJobsSnapshotCall
- func (c *ProjectsJobsSnapshotCall) Do(opts ...googleapi.CallOption) (*Snapshot, error)
- func (c *ProjectsJobsSnapshotCall) Fields(s ...googleapi.Field) *ProjectsJobsSnapshotCall
- func (c *ProjectsJobsSnapshotCall) Header() http.Header
- type ProjectsJobsUpdateCall
- func (c *ProjectsJobsUpdateCall) Context(ctx context.Context) *ProjectsJobsUpdateCall
- func (c *ProjectsJobsUpdateCall) Do(opts ...googleapi.CallOption) (*Job, error)
- func (c *ProjectsJobsUpdateCall) Fields(s ...googleapi.Field) *ProjectsJobsUpdateCall
- func (c *ProjectsJobsUpdateCall) Header() http.Header
- func (c *ProjectsJobsUpdateCall) Location(location string) *ProjectsJobsUpdateCall
- type ProjectsJobsWorkItemsLeaseCall
- func (c *ProjectsJobsWorkItemsLeaseCall) Context(ctx context.Context) *ProjectsJobsWorkItemsLeaseCall
- func (c *ProjectsJobsWorkItemsLeaseCall) Do(opts ...googleapi.CallOption) (*LeaseWorkItemResponse, error)
- func (c *ProjectsJobsWorkItemsLeaseCall) Fields(s ...googleapi.Field) *ProjectsJobsWorkItemsLeaseCall
- func (c *ProjectsJobsWorkItemsLeaseCall) Header() http.Header
- type ProjectsJobsWorkItemsReportStatusCall
- func (c *ProjectsJobsWorkItemsReportStatusCall) Context(ctx context.Context) *ProjectsJobsWorkItemsReportStatusCall
- func (c *ProjectsJobsWorkItemsReportStatusCall) Do(opts ...googleapi.CallOption) (*ReportWorkItemStatusResponse, error)
- func (c *ProjectsJobsWorkItemsReportStatusCall) Fields(s ...googleapi.Field) *ProjectsJobsWorkItemsReportStatusCall
- func (c *ProjectsJobsWorkItemsReportStatusCall) Header() http.Header
- type ProjectsJobsWorkItemsService
- type ProjectsLocationsFlexTemplatesLaunchCall
- func (c *ProjectsLocationsFlexTemplatesLaunchCall) Context(ctx context.Context) *ProjectsLocationsFlexTemplatesLaunchCall
- func (c *ProjectsLocationsFlexTemplatesLaunchCall) Do(opts ...googleapi.CallOption) (*LaunchFlexTemplateResponse, error)
- func (c *ProjectsLocationsFlexTemplatesLaunchCall) Fields(s ...googleapi.Field) *ProjectsLocationsFlexTemplatesLaunchCall
- func (c *ProjectsLocationsFlexTemplatesLaunchCall) Header() http.Header
- type ProjectsLocationsFlexTemplatesService
- type ProjectsLocationsJobsCreateCall
- func (c *ProjectsLocationsJobsCreateCall) Context(ctx context.Context) *ProjectsLocationsJobsCreateCall
- func (c *ProjectsLocationsJobsCreateCall) Do(opts ...googleapi.CallOption) (*Job, error)
- func (c *ProjectsLocationsJobsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsCreateCall
- func (c *ProjectsLocationsJobsCreateCall) Header() http.Header
- func (c *ProjectsLocationsJobsCreateCall) ReplaceJobId(replaceJobId string) *ProjectsLocationsJobsCreateCall
- func (c *ProjectsLocationsJobsCreateCall) View(view string) *ProjectsLocationsJobsCreateCall
- type ProjectsLocationsJobsDebugGetConfigCall
- func (c *ProjectsLocationsJobsDebugGetConfigCall) Context(ctx context.Context) *ProjectsLocationsJobsDebugGetConfigCall
- func (c *ProjectsLocationsJobsDebugGetConfigCall) Do(opts ...googleapi.CallOption) (*GetDebugConfigResponse, error)
- func (c *ProjectsLocationsJobsDebugGetConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsDebugGetConfigCall
- func (c *ProjectsLocationsJobsDebugGetConfigCall) Header() http.Header
- type ProjectsLocationsJobsDebugSendCaptureCall
- func (c *ProjectsLocationsJobsDebugSendCaptureCall) Context(ctx context.Context) *ProjectsLocationsJobsDebugSendCaptureCall
- func (c *ProjectsLocationsJobsDebugSendCaptureCall) Do(opts ...googleapi.CallOption) (*SendDebugCaptureResponse, error)
- func (c *ProjectsLocationsJobsDebugSendCaptureCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsDebugSendCaptureCall
- func (c *ProjectsLocationsJobsDebugSendCaptureCall) Header() http.Header
- type ProjectsLocationsJobsDebugService
- func (r *ProjectsLocationsJobsDebugService) GetConfig(projectId string, location string, jobId string, ...) *ProjectsLocationsJobsDebugGetConfigCall
- func (r *ProjectsLocationsJobsDebugService) SendCapture(projectId string, location string, jobId string, ...) *ProjectsLocationsJobsDebugSendCaptureCall
- type ProjectsLocationsJobsGetCall
- func (c *ProjectsLocationsJobsGetCall) Context(ctx context.Context) *ProjectsLocationsJobsGetCall
- func (c *ProjectsLocationsJobsGetCall) Do(opts ...googleapi.CallOption) (*Job, error)
- func (c *ProjectsLocationsJobsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsGetCall
- func (c *ProjectsLocationsJobsGetCall) Header() http.Header
- func (c *ProjectsLocationsJobsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsJobsGetCall
- func (c *ProjectsLocationsJobsGetCall) View(view string) *ProjectsLocationsJobsGetCall
- type ProjectsLocationsJobsGetExecutionDetailsCall
- func (c *ProjectsLocationsJobsGetExecutionDetailsCall) Context(ctx context.Context) *ProjectsLocationsJobsGetExecutionDetailsCall
- func (c *ProjectsLocationsJobsGetExecutionDetailsCall) Do(opts ...googleapi.CallOption) (*JobExecutionDetails, error)
- func (c *ProjectsLocationsJobsGetExecutionDetailsCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsGetExecutionDetailsCall
- func (c *ProjectsLocationsJobsGetExecutionDetailsCall) Header() http.Header
- func (c *ProjectsLocationsJobsGetExecutionDetailsCall) IfNoneMatch(entityTag string) *ProjectsLocationsJobsGetExecutionDetailsCall
- func (c *ProjectsLocationsJobsGetExecutionDetailsCall) PageSize(pageSize int64) *ProjectsLocationsJobsGetExecutionDetailsCall
- func (c *ProjectsLocationsJobsGetExecutionDetailsCall) PageToken(pageToken string) *ProjectsLocationsJobsGetExecutionDetailsCall
- func (c *ProjectsLocationsJobsGetExecutionDetailsCall) Pages(ctx context.Context, f func(*JobExecutionDetails) error) error
- type ProjectsLocationsJobsGetMetricsCall
- func (c *ProjectsLocationsJobsGetMetricsCall) Context(ctx context.Context) *ProjectsLocationsJobsGetMetricsCall
- func (c *ProjectsLocationsJobsGetMetricsCall) Do(opts ...googleapi.CallOption) (*JobMetrics, error)
- func (c *ProjectsLocationsJobsGetMetricsCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsGetMetricsCall
- func (c *ProjectsLocationsJobsGetMetricsCall) Header() http.Header
- func (c *ProjectsLocationsJobsGetMetricsCall) IfNoneMatch(entityTag string) *ProjectsLocationsJobsGetMetricsCall
- func (c *ProjectsLocationsJobsGetMetricsCall) StartTime(startTime string) *ProjectsLocationsJobsGetMetricsCall
- type ProjectsLocationsJobsListCall
- func (c *ProjectsLocationsJobsListCall) Context(ctx context.Context) *ProjectsLocationsJobsListCall
- func (c *ProjectsLocationsJobsListCall) Do(opts ...googleapi.CallOption) (*ListJobsResponse, error)
- func (c *ProjectsLocationsJobsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsListCall
- func (c *ProjectsLocationsJobsListCall) Filter(filter string) *ProjectsLocationsJobsListCall
- func (c *ProjectsLocationsJobsListCall) Header() http.Header
- func (c *ProjectsLocationsJobsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsJobsListCall
- func (c *ProjectsLocationsJobsListCall) PageSize(pageSize int64) *ProjectsLocationsJobsListCall
- func (c *ProjectsLocationsJobsListCall) PageToken(pageToken string) *ProjectsLocationsJobsListCall
- func (c *ProjectsLocationsJobsListCall) Pages(ctx context.Context, f func(*ListJobsResponse) error) error
- func (c *ProjectsLocationsJobsListCall) View(view string) *ProjectsLocationsJobsListCall
- type ProjectsLocationsJobsMessagesListCall
- func (c *ProjectsLocationsJobsMessagesListCall) Context(ctx context.Context) *ProjectsLocationsJobsMessagesListCall
- func (c *ProjectsLocationsJobsMessagesListCall) Do(opts ...googleapi.CallOption) (*ListJobMessagesResponse, error)
- func (c *ProjectsLocationsJobsMessagesListCall) EndTime(endTime string) *ProjectsLocationsJobsMessagesListCall
- func (c *ProjectsLocationsJobsMessagesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsMessagesListCall
- func (c *ProjectsLocationsJobsMessagesListCall) Header() http.Header
- func (c *ProjectsLocationsJobsMessagesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsJobsMessagesListCall
- func (c *ProjectsLocationsJobsMessagesListCall) MinimumImportance(minimumImportance string) *ProjectsLocationsJobsMessagesListCall
- func (c *ProjectsLocationsJobsMessagesListCall) PageSize(pageSize int64) *ProjectsLocationsJobsMessagesListCall
- func (c *ProjectsLocationsJobsMessagesListCall) PageToken(pageToken string) *ProjectsLocationsJobsMessagesListCall
- func (c *ProjectsLocationsJobsMessagesListCall) Pages(ctx context.Context, f func(*ListJobMessagesResponse) error) error
- func (c *ProjectsLocationsJobsMessagesListCall) StartTime(startTime string) *ProjectsLocationsJobsMessagesListCall
- type ProjectsLocationsJobsMessagesService
- type ProjectsLocationsJobsService
- func (r *ProjectsLocationsJobsService) Create(projectId string, location string, job *Job) *ProjectsLocationsJobsCreateCall
- func (r *ProjectsLocationsJobsService) Get(projectId string, location string, jobId string) *ProjectsLocationsJobsGetCall
- func (r *ProjectsLocationsJobsService) GetExecutionDetails(projectId string, location string, jobId string) *ProjectsLocationsJobsGetExecutionDetailsCall
- func (r *ProjectsLocationsJobsService) GetMetrics(projectId string, location string, jobId string) *ProjectsLocationsJobsGetMetricsCall
- func (r *ProjectsLocationsJobsService) List(projectId string, location string) *ProjectsLocationsJobsListCall
- func (r *ProjectsLocationsJobsService) Snapshot(projectId string, location string, jobId string, ...) *ProjectsLocationsJobsSnapshotCall
- func (r *ProjectsLocationsJobsService) Update(projectId string, location string, jobId string, job *Job) *ProjectsLocationsJobsUpdateCall
- type ProjectsLocationsJobsSnapshotCall
- func (c *ProjectsLocationsJobsSnapshotCall) Context(ctx context.Context) *ProjectsLocationsJobsSnapshotCall
- func (c *ProjectsLocationsJobsSnapshotCall) Do(opts ...googleapi.CallOption) (*Snapshot, error)
- func (c *ProjectsLocationsJobsSnapshotCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsSnapshotCall
- func (c *ProjectsLocationsJobsSnapshotCall) Header() http.Header
- type ProjectsLocationsJobsSnapshotsListCall
- func (c *ProjectsLocationsJobsSnapshotsListCall) Context(ctx context.Context) *ProjectsLocationsJobsSnapshotsListCall
- func (c *ProjectsLocationsJobsSnapshotsListCall) Do(opts ...googleapi.CallOption) (*ListSnapshotsResponse, error)
- func (c *ProjectsLocationsJobsSnapshotsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsSnapshotsListCall
- func (c *ProjectsLocationsJobsSnapshotsListCall) Header() http.Header
- func (c *ProjectsLocationsJobsSnapshotsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsJobsSnapshotsListCall
- type ProjectsLocationsJobsSnapshotsService
- type ProjectsLocationsJobsStagesGetExecutionDetailsCall
- func (c *ProjectsLocationsJobsStagesGetExecutionDetailsCall) Context(ctx context.Context) *ProjectsLocationsJobsStagesGetExecutionDetailsCall
- func (c *ProjectsLocationsJobsStagesGetExecutionDetailsCall) Do(opts ...googleapi.CallOption) (*StageExecutionDetails, error)
- func (c *ProjectsLocationsJobsStagesGetExecutionDetailsCall) EndTime(endTime string) *ProjectsLocationsJobsStagesGetExecutionDetailsCall
- func (c *ProjectsLocationsJobsStagesGetExecutionDetailsCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsStagesGetExecutionDetailsCall
- func (c *ProjectsLocationsJobsStagesGetExecutionDetailsCall) Header() http.Header
- func (c *ProjectsLocationsJobsStagesGetExecutionDetailsCall) IfNoneMatch(entityTag string) *ProjectsLocationsJobsStagesGetExecutionDetailsCall
- func (c *ProjectsLocationsJobsStagesGetExecutionDetailsCall) PageSize(pageSize int64) *ProjectsLocationsJobsStagesGetExecutionDetailsCall
- func (c *ProjectsLocationsJobsStagesGetExecutionDetailsCall) PageToken(pageToken string) *ProjectsLocationsJobsStagesGetExecutionDetailsCall
- func (c *ProjectsLocationsJobsStagesGetExecutionDetailsCall) Pages(ctx context.Context, f func(*StageExecutionDetails) error) error
- func (c *ProjectsLocationsJobsStagesGetExecutionDetailsCall) StartTime(startTime string) *ProjectsLocationsJobsStagesGetExecutionDetailsCall
- type ProjectsLocationsJobsStagesService
- type ProjectsLocationsJobsUpdateCall
- func (c *ProjectsLocationsJobsUpdateCall) Context(ctx context.Context) *ProjectsLocationsJobsUpdateCall
- func (c *ProjectsLocationsJobsUpdateCall) Do(opts ...googleapi.CallOption) (*Job, error)
- func (c *ProjectsLocationsJobsUpdateCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsUpdateCall
- func (c *ProjectsLocationsJobsUpdateCall) Header() http.Header
- type ProjectsLocationsJobsWorkItemsLeaseCall
- func (c *ProjectsLocationsJobsWorkItemsLeaseCall) Context(ctx context.Context) *ProjectsLocationsJobsWorkItemsLeaseCall
- func (c *ProjectsLocationsJobsWorkItemsLeaseCall) Do(opts ...googleapi.CallOption) (*LeaseWorkItemResponse, error)
- func (c *ProjectsLocationsJobsWorkItemsLeaseCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsWorkItemsLeaseCall
- func (c *ProjectsLocationsJobsWorkItemsLeaseCall) Header() http.Header
- type ProjectsLocationsJobsWorkItemsReportStatusCall
- func (c *ProjectsLocationsJobsWorkItemsReportStatusCall) Context(ctx context.Context) *ProjectsLocationsJobsWorkItemsReportStatusCall
- func (c *ProjectsLocationsJobsWorkItemsReportStatusCall) Do(opts ...googleapi.CallOption) (*ReportWorkItemStatusResponse, error)
- func (c *ProjectsLocationsJobsWorkItemsReportStatusCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsWorkItemsReportStatusCall
- func (c *ProjectsLocationsJobsWorkItemsReportStatusCall) Header() http.Header
- type ProjectsLocationsJobsWorkItemsService
- func (r *ProjectsLocationsJobsWorkItemsService) Lease(projectId string, location string, jobId string, ...) *ProjectsLocationsJobsWorkItemsLeaseCall
- func (r *ProjectsLocationsJobsWorkItemsService) ReportStatus(projectId string, location string, jobId string, ...) *ProjectsLocationsJobsWorkItemsReportStatusCall
- type ProjectsLocationsService
- type ProjectsLocationsSnapshotsDeleteCall
- func (c *ProjectsLocationsSnapshotsDeleteCall) Context(ctx context.Context) *ProjectsLocationsSnapshotsDeleteCall
- func (c *ProjectsLocationsSnapshotsDeleteCall) Do(opts ...googleapi.CallOption) (*DeleteSnapshotResponse, error)
- func (c *ProjectsLocationsSnapshotsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSnapshotsDeleteCall
- func (c *ProjectsLocationsSnapshotsDeleteCall) Header() http.Header
- type ProjectsLocationsSnapshotsGetCall
- func (c *ProjectsLocationsSnapshotsGetCall) Context(ctx context.Context) *ProjectsLocationsSnapshotsGetCall
- func (c *ProjectsLocationsSnapshotsGetCall) Do(opts ...googleapi.CallOption) (*Snapshot, error)
- func (c *ProjectsLocationsSnapshotsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSnapshotsGetCall
- func (c *ProjectsLocationsSnapshotsGetCall) Header() http.Header
- func (c *ProjectsLocationsSnapshotsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSnapshotsGetCall
- type ProjectsLocationsSnapshotsListCall
- func (c *ProjectsLocationsSnapshotsListCall) Context(ctx context.Context) *ProjectsLocationsSnapshotsListCall
- func (c *ProjectsLocationsSnapshotsListCall) Do(opts ...googleapi.CallOption) (*ListSnapshotsResponse, error)
- func (c *ProjectsLocationsSnapshotsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSnapshotsListCall
- func (c *ProjectsLocationsSnapshotsListCall) Header() http.Header
- func (c *ProjectsLocationsSnapshotsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSnapshotsListCall
- func (c *ProjectsLocationsSnapshotsListCall) JobId(jobId string) *ProjectsLocationsSnapshotsListCall
- type ProjectsLocationsSnapshotsService
- func (r *ProjectsLocationsSnapshotsService) Delete(projectId string, location string, snapshotId string) *ProjectsLocationsSnapshotsDeleteCall
- func (r *ProjectsLocationsSnapshotsService) Get(projectId string, location string, snapshotId string) *ProjectsLocationsSnapshotsGetCall
- func (r *ProjectsLocationsSnapshotsService) List(projectId string, location string) *ProjectsLocationsSnapshotsListCall
- type ProjectsLocationsSqlService
- type ProjectsLocationsSqlValidateCall
- func (c *ProjectsLocationsSqlValidateCall) Context(ctx context.Context) *ProjectsLocationsSqlValidateCall
- func (c *ProjectsLocationsSqlValidateCall) Do(opts ...googleapi.CallOption) (*ValidateResponse, error)
- func (c *ProjectsLocationsSqlValidateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSqlValidateCall
- func (c *ProjectsLocationsSqlValidateCall) Header() http.Header
- func (c *ProjectsLocationsSqlValidateCall) IfNoneMatch(entityTag string) *ProjectsLocationsSqlValidateCall
- func (c *ProjectsLocationsSqlValidateCall) Query(query string) *ProjectsLocationsSqlValidateCall
- type ProjectsLocationsTemplatesCreateCall
- func (c *ProjectsLocationsTemplatesCreateCall) Context(ctx context.Context) *ProjectsLocationsTemplatesCreateCall
- func (c *ProjectsLocationsTemplatesCreateCall) Do(opts ...googleapi.CallOption) (*Job, error)
- func (c *ProjectsLocationsTemplatesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTemplatesCreateCall
- func (c *ProjectsLocationsTemplatesCreateCall) Header() http.Header
- type ProjectsLocationsTemplatesGetCall
- func (c *ProjectsLocationsTemplatesGetCall) Context(ctx context.Context) *ProjectsLocationsTemplatesGetCall
- func (c *ProjectsLocationsTemplatesGetCall) Do(opts ...googleapi.CallOption) (*GetTemplateResponse, error)
- func (c *ProjectsLocationsTemplatesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTemplatesGetCall
- func (c *ProjectsLocationsTemplatesGetCall) GcsPath(gcsPath string) *ProjectsLocationsTemplatesGetCall
- func (c *ProjectsLocationsTemplatesGetCall) Header() http.Header
- func (c *ProjectsLocationsTemplatesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTemplatesGetCall
- func (c *ProjectsLocationsTemplatesGetCall) View(view string) *ProjectsLocationsTemplatesGetCall
- type ProjectsLocationsTemplatesLaunchCall
- func (c *ProjectsLocationsTemplatesLaunchCall) Context(ctx context.Context) *ProjectsLocationsTemplatesLaunchCall
- func (c *ProjectsLocationsTemplatesLaunchCall) Do(opts ...googleapi.CallOption) (*LaunchTemplateResponse, error)
- func (c *ProjectsLocationsTemplatesLaunchCall) DynamicTemplateGcsPath(dynamicTemplateGcsPath string) *ProjectsLocationsTemplatesLaunchCall
- func (c *ProjectsLocationsTemplatesLaunchCall) DynamicTemplateStagingLocation(dynamicTemplateStagingLocation string) *ProjectsLocationsTemplatesLaunchCall
- func (c *ProjectsLocationsTemplatesLaunchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTemplatesLaunchCall
- func (c *ProjectsLocationsTemplatesLaunchCall) GcsPath(gcsPath string) *ProjectsLocationsTemplatesLaunchCall
- func (c *ProjectsLocationsTemplatesLaunchCall) Header() http.Header
- func (c *ProjectsLocationsTemplatesLaunchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsTemplatesLaunchCall
- type ProjectsLocationsTemplatesService
- func (r *ProjectsLocationsTemplatesService) Create(projectId string, location string, ...) *ProjectsLocationsTemplatesCreateCall
- func (r *ProjectsLocationsTemplatesService) Get(projectId string, location string) *ProjectsLocationsTemplatesGetCall
- func (r *ProjectsLocationsTemplatesService) Launch(projectId string, location string, ...) *ProjectsLocationsTemplatesLaunchCall
- type ProjectsLocationsWorkerMessagesCall
- func (c *ProjectsLocationsWorkerMessagesCall) Context(ctx context.Context) *ProjectsLocationsWorkerMessagesCall
- func (c *ProjectsLocationsWorkerMessagesCall) Do(opts ...googleapi.CallOption) (*SendWorkerMessagesResponse, error)
- func (c *ProjectsLocationsWorkerMessagesCall) Fields(s ...googleapi.Field) *ProjectsLocationsWorkerMessagesCall
- func (c *ProjectsLocationsWorkerMessagesCall) Header() http.Header
- type ProjectsService
- type ProjectsSnapshotsGetCall
- func (c *ProjectsSnapshotsGetCall) Context(ctx context.Context) *ProjectsSnapshotsGetCall
- func (c *ProjectsSnapshotsGetCall) Do(opts ...googleapi.CallOption) (*Snapshot, error)
- func (c *ProjectsSnapshotsGetCall) Fields(s ...googleapi.Field) *ProjectsSnapshotsGetCall
- func (c *ProjectsSnapshotsGetCall) Header() http.Header
- func (c *ProjectsSnapshotsGetCall) IfNoneMatch(entityTag string) *ProjectsSnapshotsGetCall
- func (c *ProjectsSnapshotsGetCall) Location(location string) *ProjectsSnapshotsGetCall
- type ProjectsSnapshotsListCall
- func (c *ProjectsSnapshotsListCall) Context(ctx context.Context) *ProjectsSnapshotsListCall
- func (c *ProjectsSnapshotsListCall) Do(opts ...googleapi.CallOption) (*ListSnapshotsResponse, error)
- func (c *ProjectsSnapshotsListCall) Fields(s ...googleapi.Field) *ProjectsSnapshotsListCall
- func (c *ProjectsSnapshotsListCall) Header() http.Header
- func (c *ProjectsSnapshotsListCall) IfNoneMatch(entityTag string) *ProjectsSnapshotsListCall
- func (c *ProjectsSnapshotsListCall) JobId(jobId string) *ProjectsSnapshotsListCall
- func (c *ProjectsSnapshotsListCall) Location(location string) *ProjectsSnapshotsListCall
- type ProjectsSnapshotsService
- type ProjectsTemplateVersionsListCall
- func (c *ProjectsTemplateVersionsListCall) Context(ctx context.Context) *ProjectsTemplateVersionsListCall
- func (c *ProjectsTemplateVersionsListCall) Do(opts ...googleapi.CallOption) (*ListTemplateVersionsResponse, error)
- func (c *ProjectsTemplateVersionsListCall) Fields(s ...googleapi.Field) *ProjectsTemplateVersionsListCall
- func (c *ProjectsTemplateVersionsListCall) Header() http.Header
- func (c *ProjectsTemplateVersionsListCall) IfNoneMatch(entityTag string) *ProjectsTemplateVersionsListCall
- func (c *ProjectsTemplateVersionsListCall) PageSize(pageSize int64) *ProjectsTemplateVersionsListCall
- func (c *ProjectsTemplateVersionsListCall) PageToken(pageToken string) *ProjectsTemplateVersionsListCall
- func (c *ProjectsTemplateVersionsListCall) Pages(ctx context.Context, f func(*ListTemplateVersionsResponse) error) error
- type ProjectsTemplateVersionsService
- type ProjectsTemplatesCreateCall
- func (c *ProjectsTemplatesCreateCall) Context(ctx context.Context) *ProjectsTemplatesCreateCall
- func (c *ProjectsTemplatesCreateCall) Do(opts ...googleapi.CallOption) (*Job, error)
- func (c *ProjectsTemplatesCreateCall) Fields(s ...googleapi.Field) *ProjectsTemplatesCreateCall
- func (c *ProjectsTemplatesCreateCall) Header() http.Header
- type ProjectsTemplatesGetCall
- func (c *ProjectsTemplatesGetCall) Context(ctx context.Context) *ProjectsTemplatesGetCall
- func (c *ProjectsTemplatesGetCall) Do(opts ...googleapi.CallOption) (*GetTemplateResponse, error)
- func (c *ProjectsTemplatesGetCall) Fields(s ...googleapi.Field) *ProjectsTemplatesGetCall
- func (c *ProjectsTemplatesGetCall) GcsPath(gcsPath string) *ProjectsTemplatesGetCall
- func (c *ProjectsTemplatesGetCall) Header() http.Header
- func (c *ProjectsTemplatesGetCall) IfNoneMatch(entityTag string) *ProjectsTemplatesGetCall
- func (c *ProjectsTemplatesGetCall) Location(location string) *ProjectsTemplatesGetCall
- func (c *ProjectsTemplatesGetCall) View(view string) *ProjectsTemplatesGetCall
- type ProjectsTemplatesLaunchCall
- func (c *ProjectsTemplatesLaunchCall) Context(ctx context.Context) *ProjectsTemplatesLaunchCall
- func (c *ProjectsTemplatesLaunchCall) Do(opts ...googleapi.CallOption) (*LaunchTemplateResponse, error)
- func (c *ProjectsTemplatesLaunchCall) DynamicTemplateGcsPath(dynamicTemplateGcsPath string) *ProjectsTemplatesLaunchCall
- func (c *ProjectsTemplatesLaunchCall) DynamicTemplateStagingLocation(dynamicTemplateStagingLocation string) *ProjectsTemplatesLaunchCall
- func (c *ProjectsTemplatesLaunchCall) Fields(s ...googleapi.Field) *ProjectsTemplatesLaunchCall
- func (c *ProjectsTemplatesLaunchCall) GcsPath(gcsPath string) *ProjectsTemplatesLaunchCall
- func (c *ProjectsTemplatesLaunchCall) Header() http.Header
- func (c *ProjectsTemplatesLaunchCall) Location(location string) *ProjectsTemplatesLaunchCall
- func (c *ProjectsTemplatesLaunchCall) ValidateOnly(validateOnly bool) *ProjectsTemplatesLaunchCall
- type ProjectsTemplatesService
- func (r *ProjectsTemplatesService) Create(projectId string, createjobfromtemplaterequest *CreateJobFromTemplateRequest) *ProjectsTemplatesCreateCall
- func (r *ProjectsTemplatesService) Get(projectId string) *ProjectsTemplatesGetCall
- func (r *ProjectsTemplatesService) Launch(projectId string, launchtemplateparameters *LaunchTemplateParameters) *ProjectsTemplatesLaunchCall
- type ProjectsWorkerMessagesCall
- func (c *ProjectsWorkerMessagesCall) Context(ctx context.Context) *ProjectsWorkerMessagesCall
- func (c *ProjectsWorkerMessagesCall) Do(opts ...googleapi.CallOption) (*SendWorkerMessagesResponse, error)
- func (c *ProjectsWorkerMessagesCall) Fields(s ...googleapi.Field) *ProjectsWorkerMessagesCall
- func (c *ProjectsWorkerMessagesCall) Header() http.Header
- type PubSubIODetails
- type PubsubLocation
- type PubsubSnapshotMetadata
- type QueryInfo
- type ReadInstruction
- type ReportWorkItemStatusRequest
- type ReportWorkItemStatusResponse
- type ReportedParallelism
- type ResourceUtilizationReport
- type ResourceUtilizationReportResponse
- type RuntimeEnvironment
- type RuntimeMetadata
- type SDKInfo
- type SdkHarnessContainerImage
- type SdkVersion
- type SendDebugCaptureRequest
- type SendDebugCaptureResponse
- type SendWorkerMessagesRequest
- type SendWorkerMessagesResponse
- type SeqMapTask
- type SeqMapTaskOutputInfo
- type Service
- type ShellTask
- type SideInputInfo
- type Sink
- type Snapshot
- type SnapshotJobRequest
- type Source
- type SourceFork
- type SourceGetMetadataRequest
- type SourceGetMetadataResponse
- type SourceMetadata
- type SourceOperationRequest
- type SourceOperationResponse
- type SourceSplitOptions
- type SourceSplitRequest
- type SourceSplitResponse
- type SourceSplitShard
- type SpannerIODetails
- type SplitInt64
- type StageExecutionDetails
- type StageSource
- type StageSummary
- type StateFamilyConfig
- type Status
- type Step
- type StreamLocation
- type StreamingApplianceSnapshotConfig
- type StreamingComputationConfig
- type StreamingComputationRanges
- type StreamingComputationTask
- type StreamingConfigTask
- type StreamingSetupTask
- type StreamingSideInputLocation
- type StreamingStageLocation
- type StringList
- type StructuredMessage
- type TaskRunnerSettings
- type TemplateMetadata
- type TemplateVersion
- type TopologyConfig
- type TransformSummary
- type ValidateResponse
- type WorkItem
- type WorkItemDetails
- type WorkItemServiceState
- type WorkItemStatus
- type WorkerDetails
- type WorkerHealthReport
- type WorkerHealthReportResponse
- type WorkerLifecycleEvent
- type WorkerMessage
- type WorkerMessageCode
- type WorkerMessageResponse
- type WorkerPool
- type WorkerSettings
- type WorkerShutdownNotice
- type WorkerShutdownNoticeResponse
- type WriteInstruction
Constants ¶
const ( // View and manage your data across Google Cloud Platform services CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform" // View and manage your Google Compute Engine resources ComputeScope = "https://www.googleapis.com/auth/compute" // View your Google Compute Engine resources ComputeReadonlyScope = "https://www.googleapis.com/auth/compute.readonly" // View your email address UserinfoEmailScope = "https://www.googleapis.com/auth/userinfo.email" )
OAuth2 scopes used by this API.
Variables ¶
Functions ¶
Types ¶
type ApproximateProgress ¶
type ApproximateProgress struct { // PercentComplete: Obsolete. PercentComplete float64 `json:"percentComplete,omitempty"` // Position: Obsolete. Position *Position `json:"position,omitempty"` // RemainingTime: Obsolete. RemainingTime string `json:"remainingTime,omitempty"` // ForceSendFields is a list of field names (e.g. "PercentComplete") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PercentComplete") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ApproximateProgress: Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest.
func (*ApproximateProgress) MarshalJSON ¶
func (s *ApproximateProgress) MarshalJSON() ([]byte, error)
func (*ApproximateProgress) UnmarshalJSON ¶
func (s *ApproximateProgress) UnmarshalJSON(data []byte) error
type ApproximateReportedProgress ¶
type ApproximateReportedProgress struct { // ConsumedParallelism: Total amount of parallelism in the portion of // input of this task that has already been consumed and is no longer // active. In the first two examples above (see remaining_parallelism), // the value should be 29 or 2 respectively. The sum of // remaining_parallelism and consumed_parallelism should equal the total // amount of parallelism in this work item. If specified, must be // finite. ConsumedParallelism *ReportedParallelism `json:"consumedParallelism,omitempty"` // FractionConsumed: Completion as fraction of the input consumed, from // 0.0 (beginning, nothing consumed), to 1.0 (end of the input, entire // input consumed). FractionConsumed float64 `json:"fractionConsumed,omitempty"` // Position: A Position within the work to represent a progress. Position *Position `json:"position,omitempty"` // RemainingParallelism: Total amount of parallelism in the input of // this task that remains, (i.e. can be delegated to this task and any // new tasks via dynamic splitting). Always at least 1 for non-finished // work items and 0 for finished. "Amount of parallelism" refers to how // many non-empty parts of the input can be read in parallel. This does // not necessarily equal number of records. An input that can be read in // parallel down to the individual records is called "perfectly // splittable". An example of non-perfectly parallelizable input is a // block-compressed file format where a block of records has to be read // as a whole, but different blocks can be read in parallel. Examples: * // If we are processing record #30 (starting at 1) out of 50 in a // perfectly splittable 50-record input, this value should be 21 (20 // remaining + 1 current). * If we are reading through block 3 in a // block-compressed file consisting of 5 blocks, this value should be 3 // (since blocks 4 and 5 can be processed in parallel by new tasks via // dynamic splitting and the current task remains processing block 3). * // If we are reading through the last block in a block-compressed file, // or reading or processing the last record in a perfectly splittable // input, this value should be 1, because apart from the current task, // no additional remainder can be split off. RemainingParallelism *ReportedParallelism `json:"remainingParallelism,omitempty"` // ForceSendFields is a list of field names (e.g. "ConsumedParallelism") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConsumedParallelism") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ApproximateReportedProgress: A progress measurement of a WorkItem by a worker.
func (*ApproximateReportedProgress) MarshalJSON ¶
func (s *ApproximateReportedProgress) MarshalJSON() ([]byte, error)
func (*ApproximateReportedProgress) UnmarshalJSON ¶
func (s *ApproximateReportedProgress) UnmarshalJSON(data []byte) error
type ApproximateSplitRequest ¶
type ApproximateSplitRequest struct { // FractionConsumed: A fraction at which to split the work item, from // 0.0 (beginning of the input) to 1.0 (end of the input). FractionConsumed float64 `json:"fractionConsumed,omitempty"` // FractionOfRemainder: The fraction of the remainder of work to split // the work item at, from 0.0 (split at the current position) to 1.0 // (end of the input). FractionOfRemainder float64 `json:"fractionOfRemainder,omitempty"` // Position: A Position at which to split the work item. Position *Position `json:"position,omitempty"` // ForceSendFields is a list of field names (e.g. "FractionConsumed") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FractionConsumed") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ApproximateSplitRequest: A suggestion by the service to the worker to dynamically split the WorkItem.
func (*ApproximateSplitRequest) MarshalJSON ¶
func (s *ApproximateSplitRequest) MarshalJSON() ([]byte, error)
func (*ApproximateSplitRequest) UnmarshalJSON ¶
func (s *ApproximateSplitRequest) UnmarshalJSON(data []byte) error
type Artifact ¶
type Artifact struct { // ContainerSpec: Container image path set for flex Template. ContainerSpec *ContainerSpec `json:"containerSpec,omitempty"` // JobGraphGcsPath: job_graph_gcs_path set for legacy Template. JobGraphGcsPath string `json:"jobGraphGcsPath,omitempty"` // Metadata: Metadata set for legacy Template. Metadata *TemplateMetadata `json:"metadata,omitempty"` // ForceSendFields is a list of field names (e.g. "ContainerSpec") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContainerSpec") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Artifact: Job information for templates.
func (*Artifact) MarshalJSON ¶
type AutoscalingEvent ¶
type AutoscalingEvent struct { // CurrentNumWorkers: The current number of workers the job has. CurrentNumWorkers int64 `json:"currentNumWorkers,omitempty,string"` // Description: A message describing why the system decided to adjust // the current number of workers, why it failed, or why the system // decided to not make any changes to the number of workers. Description *StructuredMessage `json:"description,omitempty"` // EventType: The type of autoscaling event to report. // // Possible values: // "TYPE_UNKNOWN" - Default type for the enum. Value should never be // returned. // "TARGET_NUM_WORKERS_CHANGED" - The TARGET_NUM_WORKERS_CHANGED type // should be used when the target worker pool size has changed at the // start of an actuation. An event should always be specified as // TARGET_NUM_WORKERS_CHANGED if it reflects a change in the // target_num_workers. // "CURRENT_NUM_WORKERS_CHANGED" - The CURRENT_NUM_WORKERS_CHANGED // type should be used when actual worker pool size has been changed, // but the target_num_workers has not changed. // "ACTUATION_FAILURE" - The ACTUATION_FAILURE type should be used // when we want to report an error to the user indicating why the // current number of workers in the pool could not be changed. Displayed // in the current status and history widgets. // "NO_CHANGE" - Used when we want to report to the user a reason why // we are not currently adjusting the number of workers. Should specify // both target_num_workers, current_num_workers and a decision_message. EventType string `json:"eventType,omitempty"` // TargetNumWorkers: The target number of workers the worker pool wants // to resize to use. TargetNumWorkers int64 `json:"targetNumWorkers,omitempty,string"` // Time: The time this event was emitted to indicate a new target or // current num_workers value. Time string `json:"time,omitempty"` // WorkerPool: A short and friendly name for the worker pool this event // refers to, populated from the value of // PoolStageRelation::user_pool_name. WorkerPool string `json:"workerPool,omitempty"` // ForceSendFields is a list of field names (e.g. "CurrentNumWorkers") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CurrentNumWorkers") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
AutoscalingEvent: A structured message reporting an autoscaling decision made by the Dataflow service.
func (*AutoscalingEvent) MarshalJSON ¶
func (s *AutoscalingEvent) MarshalJSON() ([]byte, error)
type AutoscalingSettings ¶
type AutoscalingSettings struct { // Algorithm: The algorithm to use for autoscaling. // // Possible values: // "AUTOSCALING_ALGORITHM_UNKNOWN" - The algorithm is unknown, or // unspecified. // "AUTOSCALING_ALGORITHM_NONE" - Disable autoscaling. // "AUTOSCALING_ALGORITHM_BASIC" - Increase worker count over time to // reduce job execution time. Algorithm string `json:"algorithm,omitempty"` // MaxNumWorkers: The maximum number of workers to cap scaling at. MaxNumWorkers int64 `json:"maxNumWorkers,omitempty"` // ForceSendFields is a list of field names (e.g. "Algorithm") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Algorithm") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AutoscalingSettings: Settings for WorkerPool autoscaling.
func (*AutoscalingSettings) MarshalJSON ¶
func (s *AutoscalingSettings) MarshalJSON() ([]byte, error)
type BigQueryIODetails ¶
type BigQueryIODetails struct { // Dataset: Dataset accessed in the connection. Dataset string `json:"dataset,omitempty"` // ProjectId: Project accessed in the connection. ProjectId string `json:"projectId,omitempty"` // Query: Query used to access data in the connection. Query string `json:"query,omitempty"` // Table: Table accessed in the connection. Table string `json:"table,omitempty"` // ForceSendFields is a list of field names (e.g. "Dataset") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dataset") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
BigQueryIODetails: Metadata for a BigQuery connector used by the job.
func (*BigQueryIODetails) MarshalJSON ¶
func (s *BigQueryIODetails) MarshalJSON() ([]byte, error)
type BigTableIODetails ¶
type BigTableIODetails struct { // InstanceId: InstanceId accessed in the connection. InstanceId string `json:"instanceId,omitempty"` // ProjectId: ProjectId accessed in the connection. ProjectId string `json:"projectId,omitempty"` // TableId: TableId accessed in the connection. TableId string `json:"tableId,omitempty"` // ForceSendFields is a list of field names (e.g. "InstanceId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "InstanceId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
BigTableIODetails: Metadata for a BigTable connector used by the job.
func (*BigTableIODetails) MarshalJSON ¶
func (s *BigTableIODetails) MarshalJSON() ([]byte, error)
type CPUTime ¶
type CPUTime struct { // Rate: Average CPU utilization rate (% non-idle cpu / second) since // previous sample. Rate float64 `json:"rate,omitempty"` // Timestamp: Timestamp of the measurement. Timestamp string `json:"timestamp,omitempty"` // TotalMs: Total active CPU time across all cores (ie., non-idle) in // milliseconds since start-up. TotalMs uint64 `json:"totalMs,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Rate") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Rate") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CPUTime: Modeled after information exposed by /proc/stat.
func (*CPUTime) MarshalJSON ¶
func (*CPUTime) UnmarshalJSON ¶
type CommitTemplateVersionRequest ¶
type CommitTemplateVersionRequest struct { // TemplateVersion: TemplateVersion obejct to create. TemplateVersion *TemplateVersion `json:"templateVersion,omitempty"` // ForceSendFields is a list of field names (e.g. "TemplateVersion") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TemplateVersion") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
CommitTemplateVersionRequest: Commit will add a new TemplateVersion to an existing template.
func (*CommitTemplateVersionRequest) MarshalJSON ¶
func (s *CommitTemplateVersionRequest) MarshalJSON() ([]byte, error)
type ComponentSource ¶
type ComponentSource struct { // Name: Dataflow service generated name for this source. Name string `json:"name,omitempty"` // OriginalTransformOrCollection: User name for the original user // transform or collection with which this source is most closely // associated. OriginalTransformOrCollection string `json:"originalTransformOrCollection,omitempty"` // UserName: Human-readable name for this transform; may be user or // system generated. UserName string `json:"userName,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ComponentSource: Description of an interstitial value between transforms in an execution stage.
func (*ComponentSource) MarshalJSON ¶
func (s *ComponentSource) MarshalJSON() ([]byte, error)
type ComponentTransform ¶
type ComponentTransform struct { // Name: Dataflow service generated name for this source. Name string `json:"name,omitempty"` // OriginalTransform: User name for the original user transform with // which this transform is most closely associated. OriginalTransform string `json:"originalTransform,omitempty"` // UserName: Human-readable name for this transform; may be user or // system generated. UserName string `json:"userName,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ComponentTransform: Description of a transform executed as part of an execution stage.
func (*ComponentTransform) MarshalJSON ¶
func (s *ComponentTransform) MarshalJSON() ([]byte, error)
type ComputationTopology ¶
type ComputationTopology struct { // ComputationId: The ID of the computation. ComputationId string `json:"computationId,omitempty"` // Inputs: The inputs to the computation. Inputs []*StreamLocation `json:"inputs,omitempty"` // KeyRanges: The key ranges processed by the computation. KeyRanges []*KeyRangeLocation `json:"keyRanges,omitempty"` // Outputs: The outputs from the computation. Outputs []*StreamLocation `json:"outputs,omitempty"` // StateFamilies: The state family values. StateFamilies []*StateFamilyConfig `json:"stateFamilies,omitempty"` // SystemStageName: The system stage name. SystemStageName string `json:"systemStageName,omitempty"` // ForceSendFields is a list of field names (e.g. "ComputationId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ComputationId") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ComputationTopology: All configuration data for a particular Computation.
func (*ComputationTopology) MarshalJSON ¶
func (s *ComputationTopology) MarshalJSON() ([]byte, error)
type ConcatPosition ¶
type ConcatPosition struct { // Index: Index of the inner source. Index int64 `json:"index,omitempty"` // Position: Position within the inner source. Position *Position `json:"position,omitempty"` // ForceSendFields is a list of field names (e.g. "Index") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Index") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ConcatPosition: A position that encapsulates an inner position and an index for the inner position. A ConcatPosition can be used by a reader of a source that encapsulates a set of other sources.
func (*ConcatPosition) MarshalJSON ¶
func (s *ConcatPosition) MarshalJSON() ([]byte, error)
type ContainerSpec ¶
type ContainerSpec struct { // DefaultEnvironment: Default runtime environment for the job. DefaultEnvironment *FlexTemplateRuntimeEnvironment `json:"defaultEnvironment,omitempty"` // Image: Name of the docker container image. E.g., // gcr.io/project/some-image Image string `json:"image,omitempty"` // Metadata: Metadata describing a template including description and // validation rules. Metadata *TemplateMetadata `json:"metadata,omitempty"` // SdkInfo: Required. SDK info of the Flex Template. SdkInfo *SDKInfo `json:"sdkInfo,omitempty"` // ForceSendFields is a list of field names (e.g. "DefaultEnvironment") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DefaultEnvironment") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ContainerSpec: Container Spec.
func (*ContainerSpec) MarshalJSON ¶
func (s *ContainerSpec) MarshalJSON() ([]byte, error)
type CounterMetadata ¶
type CounterMetadata struct { // Description: Human-readable description of the counter semantics. Description string `json:"description,omitempty"` // Kind: Counter aggregation kind. // // Possible values: // "INVALID" - Counter aggregation kind was not set. // "SUM" - Aggregated value is the sum of all contributed values. // "MAX" - Aggregated value is the max of all contributed values. // "MIN" - Aggregated value is the min of all contributed values. // "MEAN" - Aggregated value is the mean of all contributed values. // "OR" - Aggregated value represents the logical 'or' of all // contributed values. // "AND" - Aggregated value represents the logical 'and' of all // contributed values. // "SET" - Aggregated value is a set of unique contributed values. // "DISTRIBUTION" - Aggregated value captures statistics about a // distribution. // "LATEST_VALUE" - Aggregated value tracks the latest value of a // variable. Kind string `json:"kind,omitempty"` // OtherUnits: A string referring to the unit type. OtherUnits string `json:"otherUnits,omitempty"` // StandardUnits: System defined Units, see above enum. // // Possible values: // "BYTES" - Counter returns a value in bytes. // "BYTES_PER_SEC" - Counter returns a value in bytes per second. // "MILLISECONDS" - Counter returns a value in milliseconds. // "MICROSECONDS" - Counter returns a value in microseconds. // "NANOSECONDS" - Counter returns a value in nanoseconds. // "TIMESTAMP_MSEC" - Counter returns a timestamp in milliseconds. // "TIMESTAMP_USEC" - Counter returns a timestamp in microseconds. // "TIMESTAMP_NSEC" - Counter returns a timestamp in nanoseconds. StandardUnits string `json:"standardUnits,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CounterMetadata: CounterMetadata includes all static non-name non-value counter attributes.
func (*CounterMetadata) MarshalJSON ¶
func (s *CounterMetadata) MarshalJSON() ([]byte, error)
type CounterStructuredName ¶
type CounterStructuredName struct { // ComponentStepName: Name of the optimized step being executed by the // workers. ComponentStepName string `json:"componentStepName,omitempty"` // ExecutionStepName: Name of the stage. An execution step contains // multiple component steps. ExecutionStepName string `json:"executionStepName,omitempty"` // InputIndex: Index of an input collection that's being read // from/written to as a side input. The index identifies a step's side // inputs starting by 1 (e.g. the first side input has input_index 1, // the third has input_index 3). Side inputs are identified by a pair of // (original_step_name, input_index). This field helps uniquely identify // them. InputIndex int64 `json:"inputIndex,omitempty"` // Name: Counter name. Not necessarily globally-unique, but unique // within the context of the other fields. Required. Name string `json:"name,omitempty"` // Origin: One of the standard Origins defined above. // // Possible values: // "SYSTEM" - Counter was created by the Dataflow system. // "USER" - Counter was created by the user. Origin string `json:"origin,omitempty"` // OriginNamespace: A string containing a more specific namespace of the // counter's origin. OriginNamespace string `json:"originNamespace,omitempty"` // OriginalRequestingStepName: The step name requesting an operation, // such as GBK. I.e. the ParDo causing a read/write from shuffle to // occur, or a read from side inputs. OriginalRequestingStepName string `json:"originalRequestingStepName,omitempty"` // OriginalStepName: System generated name of the original step in the // user's graph, before optimization. OriginalStepName string `json:"originalStepName,omitempty"` // Portion: Portion of this counter, either key or value. // // Possible values: // "ALL" - Counter portion has not been set. // "KEY" - Counter reports a key. // "VALUE" - Counter reports a value. Portion string `json:"portion,omitempty"` // WorkerId: ID of a particular worker. WorkerId string `json:"workerId,omitempty"` // ForceSendFields is a list of field names (e.g. "ComponentStepName") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ComponentStepName") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
CounterStructuredName: Identifies a counter within a per-job namespace. Counters whose structured names are the same get merged into a single value for the job.
func (*CounterStructuredName) MarshalJSON ¶
func (s *CounterStructuredName) MarshalJSON() ([]byte, error)
type CounterStructuredNameAndMetadata ¶
type CounterStructuredNameAndMetadata struct { // Metadata: Metadata associated with a counter Metadata *CounterMetadata `json:"metadata,omitempty"` // Name: Structured name of the counter. Name *CounterStructuredName `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "Metadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Metadata") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CounterStructuredNameAndMetadata: A single message which encapsulates structured name and metadata for a given counter.
func (*CounterStructuredNameAndMetadata) MarshalJSON ¶
func (s *CounterStructuredNameAndMetadata) MarshalJSON() ([]byte, error)
type CounterUpdate ¶
type CounterUpdate struct { // Boolean: Boolean value for And, Or. Boolean bool `json:"boolean,omitempty"` // Cumulative: True if this counter is reported as the total cumulative // aggregate value accumulated since the worker started working on this // WorkItem. By default this is false, indicating that this counter is // reported as a delta. Cumulative bool `json:"cumulative,omitempty"` // Distribution: Distribution data Distribution *DistributionUpdate `json:"distribution,omitempty"` // FloatingPoint: Floating point value for Sum, Max, Min. FloatingPoint float64 `json:"floatingPoint,omitempty"` // FloatingPointList: List of floating point numbers, for Set. FloatingPointList *FloatingPointList `json:"floatingPointList,omitempty"` // FloatingPointMean: Floating point mean aggregation value for Mean. FloatingPointMean *FloatingPointMean `json:"floatingPointMean,omitempty"` // Integer: Integer value for Sum, Max, Min. Integer *SplitInt64 `json:"integer,omitempty"` // IntegerGauge: Gauge data IntegerGauge *IntegerGauge `json:"integerGauge,omitempty"` // IntegerList: List of integers, for Set. IntegerList *IntegerList `json:"integerList,omitempty"` // IntegerMean: Integer mean aggregation value for Mean. IntegerMean *IntegerMean `json:"integerMean,omitempty"` // Internal: Value for internally-defined counters used by the Dataflow // service. Internal interface{} `json:"internal,omitempty"` // NameAndKind: Counter name and aggregation type. NameAndKind *NameAndKind `json:"nameAndKind,omitempty"` // ShortId: The service-generated short identifier for this counter. The // short_id -> (name, metadata) mapping is constant for the lifetime of // a job. ShortId int64 `json:"shortId,omitempty,string"` // StringList: List of strings, for Set. StringList *StringList `json:"stringList,omitempty"` // StructuredNameAndMetadata: Counter structured name and metadata. StructuredNameAndMetadata *CounterStructuredNameAndMetadata `json:"structuredNameAndMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "Boolean") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Boolean") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CounterUpdate: An update to a Counter sent from a worker.
func (*CounterUpdate) MarshalJSON ¶
func (s *CounterUpdate) MarshalJSON() ([]byte, error)
func (*CounterUpdate) UnmarshalJSON ¶
func (s *CounterUpdate) UnmarshalJSON(data []byte) error
type CreateJobFromTemplateRequest ¶
type CreateJobFromTemplateRequest struct { // Environment: The runtime environment for the job. Environment *RuntimeEnvironment `json:"environment,omitempty"` // GcsPath: Required. A Cloud Storage path to the template from which to // create the job. Must be a valid Cloud Storage URL, beginning with // `gs://`. GcsPath string `json:"gcsPath,omitempty"` // JobName: Required. The job name to use for the created job. JobName string `json:"jobName,omitempty"` // Location: The [regional endpoint] // (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) // to which to direct the request. Location string `json:"location,omitempty"` // Parameters: The runtime parameters to pass to the job. Parameters map[string]string `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "Environment") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Environment") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CreateJobFromTemplateRequest: A request to create a Cloud Dataflow job from a template.
func (*CreateJobFromTemplateRequest) MarshalJSON ¶
func (s *CreateJobFromTemplateRequest) MarshalJSON() ([]byte, error)
type CreateTemplateVersionRequest ¶
type CreateTemplateVersionRequest struct { // TemplateVersion: The TemplateVersion object to create. TemplateVersion *TemplateVersion `json:"templateVersion,omitempty"` // ForceSendFields is a list of field names (e.g. "TemplateVersion") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TemplateVersion") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
CreateTemplateVersionRequest: Creates a new Template with TemplateVersions.
func (*CreateTemplateVersionRequest) MarshalJSON ¶
func (s *CreateTemplateVersionRequest) MarshalJSON() ([]byte, error)
type CustomSourceLocation ¶
type CustomSourceLocation struct { // Stateful: Whether this source is stateful. Stateful bool `json:"stateful,omitempty"` // ForceSendFields is a list of field names (e.g. "Stateful") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Stateful") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CustomSourceLocation: Identifies the location of a custom souce.
func (*CustomSourceLocation) MarshalJSON ¶
func (s *CustomSourceLocation) MarshalJSON() ([]byte, error)
type DataDiskAssignment ¶
type DataDiskAssignment struct { // DataDisks: Mounted data disks. The order is important a data disk's // 0-based index in this list defines which persistent directory the // disk is mounted to, for example the list of { // "myproject-1014-104817-4c2-harness-0-disk-0" }, { // "myproject-1014-104817-4c2-harness-0-disk-1" }. DataDisks []string `json:"dataDisks,omitempty"` // VmInstance: VM instance name the data disks mounted to, for example // "myproject-1014-104817-4c2-harness-0". VmInstance string `json:"vmInstance,omitempty"` // ForceSendFields is a list of field names (e.g. "DataDisks") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataDisks") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DataDiskAssignment: Data disk assignment for a given VM instance.
func (*DataDiskAssignment) MarshalJSON ¶
func (s *DataDiskAssignment) MarshalJSON() ([]byte, error)
type DatastoreIODetails ¶
type DatastoreIODetails struct { // Namespace: Namespace used in the connection. Namespace string `json:"namespace,omitempty"` // ProjectId: ProjectId accessed in the connection. ProjectId string `json:"projectId,omitempty"` // ForceSendFields is a list of field names (e.g. "Namespace") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Namespace") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DatastoreIODetails: Metadata for a Datastore connector used by the job.
func (*DatastoreIODetails) MarshalJSON ¶
func (s *DatastoreIODetails) MarshalJSON() ([]byte, error)
type DeleteSnapshotResponse ¶
type DeleteSnapshotResponse struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
DeleteSnapshotResponse: Response from deleting a snapshot.
type DerivedSource ¶
type DerivedSource struct { // DerivationMode: What source to base the produced source on (if any). // // Possible values: // "SOURCE_DERIVATION_MODE_UNKNOWN" - The source derivation is // unknown, or unspecified. // "SOURCE_DERIVATION_MODE_INDEPENDENT" - Produce a completely // independent Source with no base. // "SOURCE_DERIVATION_MODE_CHILD_OF_CURRENT" - Produce a Source based // on the Source being split. // "SOURCE_DERIVATION_MODE_SIBLING_OF_CURRENT" - Produce a Source // based on the base of the Source being split. DerivationMode string `json:"derivationMode,omitempty"` // Source: Specification of the source. Source *Source `json:"source,omitempty"` // ForceSendFields is a list of field names (e.g. "DerivationMode") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DerivationMode") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
DerivedSource: Specification of one of the bundles produced as a result of splitting a Source (e.g. when executing a SourceSplitRequest, or when splitting an active task using WorkItemStatus.dynamic_source_split), relative to the source being split.
func (*DerivedSource) MarshalJSON ¶
func (s *DerivedSource) MarshalJSON() ([]byte, error)
type Disk ¶
type Disk struct { // DiskType: Disk storage type, as defined by Google Compute Engine. // This must be a disk type appropriate to the project and zone in which // the workers will run. If unknown or unspecified, the service will // attempt to choose a reasonable default. For example, the standard // persistent disk type is a resource name typically ending in // "pd-standard". If SSD persistent disks are available, the resource // name typically ends with "pd-ssd". The actual valid values are // defined the Google Compute Engine API, not by the Cloud Dataflow API; // consult the Google Compute Engine documentation for more information // about determining the set of available disk types for a particular // project and zone. Google Compute Engine Disk types are local to a // particular project in a particular zone, and so the resource name // will typically look something like this: // compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-sta // ndard DiskType string `json:"diskType,omitempty"` // MountPoint: Directory in a VM where disk is mounted. MountPoint string `json:"mountPoint,omitempty"` // SizeGb: Size of disk in GB. If zero or unspecified, the service will // attempt to choose a reasonable default. SizeGb int64 `json:"sizeGb,omitempty"` // ForceSendFields is a list of field names (e.g. "DiskType") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DiskType") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Disk: Describes the data disk used by a workflow job.
func (*Disk) MarshalJSON ¶
type DisplayData ¶
type DisplayData struct { // BoolValue: Contains value if the data is of a boolean type. BoolValue bool `json:"boolValue,omitempty"` // DurationValue: Contains value if the data is of duration type. DurationValue string `json:"durationValue,omitempty"` // FloatValue: Contains value if the data is of float type. FloatValue float64 `json:"floatValue,omitempty"` // Int64Value: Contains value if the data is of int64 type. Int64Value int64 `json:"int64Value,omitempty,string"` // JavaClassValue: Contains value if the data is of java class type. JavaClassValue string `json:"javaClassValue,omitempty"` // Key: The key identifying the display data. This is intended to be // used as a label for the display data when viewed in a dax monitoring // system. Key string `json:"key,omitempty"` // Label: An optional label to display in a dax UI for the element. Label string `json:"label,omitempty"` // Namespace: The namespace for the key. This is usually a class name or // programming language namespace (i.e. python module) which defines the // display data. This allows a dax monitoring system to specially handle // the data and perform custom rendering. Namespace string `json:"namespace,omitempty"` // ShortStrValue: A possible additional shorter value to display. For // example a java_class_name_value of com.mypackage.MyDoFn will be // stored with MyDoFn as the short_str_value and com.mypackage.MyDoFn as // the java_class_name value. short_str_value can be displayed and // java_class_name_value will be displayed as a tooltip. ShortStrValue string `json:"shortStrValue,omitempty"` // StrValue: Contains value if the data is of string type. StrValue string `json:"strValue,omitempty"` // TimestampValue: Contains value if the data is of timestamp type. TimestampValue string `json:"timestampValue,omitempty"` // Url: An optional full URL. Url string `json:"url,omitempty"` // ForceSendFields is a list of field names (e.g. "BoolValue") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BoolValue") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DisplayData: Data provided with a pipeline or transform to provide descriptive info.
func (*DisplayData) MarshalJSON ¶
func (s *DisplayData) MarshalJSON() ([]byte, error)
func (*DisplayData) UnmarshalJSON ¶
func (s *DisplayData) UnmarshalJSON(data []byte) error
type DistributionUpdate ¶
type DistributionUpdate struct { // Count: The count of the number of elements present in the // distribution. Count *SplitInt64 `json:"count,omitempty"` // Histogram: (Optional) Histogram of value counts for the distribution. Histogram *Histogram `json:"histogram,omitempty"` // Max: The maximum value present in the distribution. Max *SplitInt64 `json:"max,omitempty"` // Min: The minimum value present in the distribution. Min *SplitInt64 `json:"min,omitempty"` // Sum: Use an int64 since we'd prefer the added precision. If overflow // is a common problem we can detect it and use an additional int64 or a // double. Sum *SplitInt64 `json:"sum,omitempty"` // SumOfSquares: Use a double since the sum of squares is likely to // overflow int64. SumOfSquares float64 `json:"sumOfSquares,omitempty"` // ForceSendFields is a list of field names (e.g. "Count") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Count") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DistributionUpdate: A metric value representing a distribution.
func (*DistributionUpdate) MarshalJSON ¶
func (s *DistributionUpdate) MarshalJSON() ([]byte, error)
func (*DistributionUpdate) UnmarshalJSON ¶
func (s *DistributionUpdate) UnmarshalJSON(data []byte) error
type DynamicSourceSplit ¶
type DynamicSourceSplit struct { // Primary: Primary part (continued to be processed by worker). // Specified relative to the previously-current source. Becomes current. Primary *DerivedSource `json:"primary,omitempty"` // Residual: Residual part (returned to the pool of work). Specified // relative to the previously-current source. Residual *DerivedSource `json:"residual,omitempty"` // ForceSendFields is a list of field names (e.g. "Primary") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Primary") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DynamicSourceSplit: When a task splits using WorkItemStatus.dynamic_source_split, this message describes the two parts of the split relative to the description of the current task's input.
func (*DynamicSourceSplit) MarshalJSON ¶
func (s *DynamicSourceSplit) MarshalJSON() ([]byte, error)
type Empty ¶
type Empty struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
Empty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
type Environment ¶
type Environment struct { // ClusterManagerApiService: The type of cluster manager API to use. If // unknown or unspecified, the service will attempt to choose a // reasonable default. This should be in the form of the API service // name, e.g. "compute.googleapis.com". ClusterManagerApiService string `json:"clusterManagerApiService,omitempty"` // Dataset: The dataset for the current project where various workflow // related tables are stored. The supported resource type is: Google // BigQuery: bigquery.googleapis.com/{dataset} Dataset string `json:"dataset,omitempty"` // Experiments: The list of experiments to enable. Experiments []string `json:"experiments,omitempty"` // FlexResourceSchedulingGoal: Which Flexible Resource Scheduling mode // to run in. // // Possible values: // "FLEXRS_UNSPECIFIED" - Run in the default mode. // "FLEXRS_SPEED_OPTIMIZED" - Optimize for lower execution time. // "FLEXRS_COST_OPTIMIZED" - Optimize for lower cost. FlexResourceSchedulingGoal string `json:"flexResourceSchedulingGoal,omitempty"` // InternalExperiments: Experimental settings. InternalExperiments googleapi.RawMessage `json:"internalExperiments,omitempty"` // SdkPipelineOptions: The Cloud Dataflow SDK pipeline options specified // by the user. These options are passed through the service and are // used to recreate the SDK pipeline options on the worker in a language // agnostic and platform independent way. SdkPipelineOptions googleapi.RawMessage `json:"sdkPipelineOptions,omitempty"` // ServiceAccountEmail: Identity to run virtual machines as. Defaults to // the default account. ServiceAccountEmail string `json:"serviceAccountEmail,omitempty"` // ServiceKmsKeyName: If set, contains the Cloud KMS key identifier used // to encrypt data at rest, AKA a Customer Managed Encryption Key // (CMEK). Format: // projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KE // Y ServiceKmsKeyName string `json:"serviceKmsKeyName,omitempty"` // ShuffleMode: Output only. The shuffle mode used for the job. // // Possible values: // "SHUFFLE_MODE_UNSPECIFIED" - Shuffle mode information is not // available. // "VM_BASED" - Shuffle is done on the worker VMs. // "SERVICE_BASED" - Shuffle is done on the service side. ShuffleMode string `json:"shuffleMode,omitempty"` // TempStoragePrefix: The prefix of the resources the system should use // for temporary storage. The system will append the suffix // "/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the // value of the job_name field. The resulting bucket and object prefix // is used as the prefix of the resources used to store temporary data // needed during the job execution. NOTE: This will override the value // in taskrunner_settings. The supported resource type is: Google Cloud // Storage: storage.googleapis.com/{bucket}/{object} // bucket.storage.googleapis.com/{object} TempStoragePrefix string `json:"tempStoragePrefix,omitempty"` // UserAgent: A description of the process that generated the request. UserAgent googleapi.RawMessage `json:"userAgent,omitempty"` // Version: A structure describing which components and their versions // of the service are required in order to run the job. Version googleapi.RawMessage `json:"version,omitempty"` // WorkerPools: The worker pools. At least one "harness" worker pool // must be specified in order for the job to have workers. WorkerPools []*WorkerPool `json:"workerPools,omitempty"` // WorkerRegion: The Compute Engine region // (https://cloud.google.com/compute/docs/regions-zones/regions-zones) // in which worker processing should occur, e.g. "us-west1". Mutually // exclusive with worker_zone. If neither worker_region nor worker_zone // is specified, default to the control plane's region. WorkerRegion string `json:"workerRegion,omitempty"` // WorkerZone: The Compute Engine zone // (https://cloud.google.com/compute/docs/regions-zones/regions-zones) // in which worker processing should occur, e.g. "us-west1-a". Mutually // exclusive with worker_region. If neither worker_region nor // worker_zone is specified, a zone in the control plane's region is // chosen based on available capacity. WorkerZone string `json:"workerZone,omitempty"` // ForceSendFields is a list of field names (e.g. // "ClusterManagerApiService") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ClusterManagerApiService") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
Environment: Describes the environment in which a Dataflow Job runs.
func (*Environment) MarshalJSON ¶
func (s *Environment) MarshalJSON() ([]byte, error)
type ExecutionStageState ¶
type ExecutionStageState struct { // CurrentStateTime: The time at which the stage transitioned to this // state. CurrentStateTime string `json:"currentStateTime,omitempty"` // ExecutionStageName: The name of the execution stage. ExecutionStageName string `json:"executionStageName,omitempty"` // ExecutionStageState: Executions stage states allow the same set of // values as JobState. // // Possible values: // "JOB_STATE_UNKNOWN" - The job's run state isn't specified. // "JOB_STATE_STOPPED" - `JOB_STATE_STOPPED` indicates that the job // has not yet started to run. // "JOB_STATE_RUNNING" - `JOB_STATE_RUNNING` indicates that the job is // currently running. // "JOB_STATE_DONE" - `JOB_STATE_DONE` indicates that the job has // successfully completed. This is a terminal job state. This state may // be set by the Cloud Dataflow service, as a transition from // `JOB_STATE_RUNNING`. It may also be set via a Cloud Dataflow // `UpdateJob` call, if the job has not yet reached a terminal state. // "JOB_STATE_FAILED" - `JOB_STATE_FAILED` indicates that the job has // failed. This is a terminal job state. This state may only be set by // the Cloud Dataflow service, and only as a transition from // `JOB_STATE_RUNNING`. // "JOB_STATE_CANCELLED" - `JOB_STATE_CANCELLED` indicates that the // job has been explicitly cancelled. This is a terminal job state. This // state may only be set via a Cloud Dataflow `UpdateJob` call, and only // if the job has not yet reached another terminal state. // "JOB_STATE_UPDATED" - `JOB_STATE_UPDATED` indicates that the job // was successfully updated, meaning that this job was stopped and // another job was started, inheriting state from this one. This is a // terminal job state. This state may only be set by the Cloud Dataflow // service, and only as a transition from `JOB_STATE_RUNNING`. // "JOB_STATE_DRAINING" - `JOB_STATE_DRAINING` indicates that the job // is in the process of draining. A draining job has stopped pulling // from its input sources and is processing any data that remains // in-flight. This state may be set via a Cloud Dataflow `UpdateJob` // call, but only as a transition from `JOB_STATE_RUNNING`. Jobs that // are draining may only transition to `JOB_STATE_DRAINED`, // `JOB_STATE_CANCELLED`, or `JOB_STATE_FAILED`. // "JOB_STATE_DRAINED" - `JOB_STATE_DRAINED` indicates that the job // has been drained. A drained job terminated by stopping pulling from // its input sources and processing any data that remained in-flight // when draining was requested. This state is a terminal state, may only // be set by the Cloud Dataflow service, and only as a transition from // `JOB_STATE_DRAINING`. // "JOB_STATE_PENDING" - `JOB_STATE_PENDING` indicates that the job // has been created but is not yet running. Jobs that are pending may // only transition to `JOB_STATE_RUNNING`, or `JOB_STATE_FAILED`. // "JOB_STATE_CANCELLING" - `JOB_STATE_CANCELLING` indicates that the // job has been explicitly cancelled and is in the process of stopping. // Jobs that are cancelling may only transition to `JOB_STATE_CANCELLED` // or `JOB_STATE_FAILED`. // "JOB_STATE_QUEUED" - `JOB_STATE_QUEUED` indicates that the job has // been created but is being delayed until launch. Jobs that are queued // may only transition to `JOB_STATE_PENDING` or `JOB_STATE_CANCELLED`. // "JOB_STATE_RESOURCE_CLEANING_UP" - `JOB_STATE_RESOURCE_CLEANING_UP` // indicates that the batch job's associated resources are currently // being cleaned up after a successful run. Currently, this is an opt-in // feature, please reach out to Cloud support team if you are intersted. ExecutionStageState string `json:"executionStageState,omitempty"` // ForceSendFields is a list of field names (e.g. "CurrentStateTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CurrentStateTime") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ExecutionStageState: A message describing the state of a particular execution stage.
func (*ExecutionStageState) MarshalJSON ¶
func (s *ExecutionStageState) MarshalJSON() ([]byte, error)
type ExecutionStageSummary ¶
type ExecutionStageSummary struct { // ComponentSource: Collections produced and consumed by component // transforms of this stage. ComponentSource []*ComponentSource `json:"componentSource,omitempty"` // ComponentTransform: Transforms that comprise this execution stage. ComponentTransform []*ComponentTransform `json:"componentTransform,omitempty"` // Id: Dataflow service generated id for this stage. Id string `json:"id,omitempty"` // InputSource: Input sources for this stage. InputSource []*StageSource `json:"inputSource,omitempty"` // Kind: Type of tranform this stage is executing. // // Possible values: // "UNKNOWN_KIND" - Unrecognized transform type. // "PAR_DO_KIND" - ParDo transform. // "GROUP_BY_KEY_KIND" - Group By Key transform. // "FLATTEN_KIND" - Flatten transform. // "READ_KIND" - Read transform. // "WRITE_KIND" - Write transform. // "CONSTANT_KIND" - Constructs from a constant value, such as with // Create.of. // "SINGLETON_KIND" - Creates a Singleton view of a collection. // "SHUFFLE_KIND" - Opening or closing a shuffle session, often as // part of a GroupByKey. Kind string `json:"kind,omitempty"` // Name: Dataflow service generated name for this stage. Name string `json:"name,omitempty"` // OutputSource: Output sources for this stage. OutputSource []*StageSource `json:"outputSource,omitempty"` // PrerequisiteStage: Other stages that must complete before this stage // can run. PrerequisiteStage []string `json:"prerequisiteStage,omitempty"` // ForceSendFields is a list of field names (e.g. "ComponentSource") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ComponentSource") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ExecutionStageSummary: Description of the composing transforms, names/ids, and input/outputs of a stage of execution. Some composing transforms and sources may have been generated by the Dataflow service during execution planning.
func (*ExecutionStageSummary) MarshalJSON ¶
func (s *ExecutionStageSummary) MarshalJSON() ([]byte, error)
type FailedLocation ¶
type FailedLocation struct { // Name: The name of the [regional endpoint] // (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) // that failed to respond. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
FailedLocation: Indicates which [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) failed to respond to a request for data.
func (*FailedLocation) MarshalJSON ¶
func (s *FailedLocation) MarshalJSON() ([]byte, error)
type FileIODetails ¶
type FileIODetails struct { // FilePattern: File Pattern used to access files by the connector. FilePattern string `json:"filePattern,omitempty"` // ForceSendFields is a list of field names (e.g. "FilePattern") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FilePattern") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
FileIODetails: Metadata for a File connector used by the job.
func (*FileIODetails) MarshalJSON ¶
func (s *FileIODetails) MarshalJSON() ([]byte, error)
type FlattenInstruction ¶
type FlattenInstruction struct { // Inputs: Describes the inputs to the flatten instruction. Inputs []*InstructionInput `json:"inputs,omitempty"` // ForceSendFields is a list of field names (e.g. "Inputs") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Inputs") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
FlattenInstruction: An instruction that copies its inputs (zero or more) to its (single) output.
func (*FlattenInstruction) MarshalJSON ¶
func (s *FlattenInstruction) MarshalJSON() ([]byte, error)
type FlexTemplateRuntimeEnvironment ¶
type FlexTemplateRuntimeEnvironment struct { // AdditionalExperiments: Additional experiment flags for the job. AdditionalExperiments []string `json:"additionalExperiments,omitempty"` // AdditionalUserLabels: Additional user labels to be specified for the // job. Keys and values must follow the restrictions specified in the // labeling restrictions // (https://cloud.google.com/compute/docs/labeling-resources#restrictions) // page. An object containing a list of "key": value pairs. Example: { // "name": "wrench", "mass": "1kg", "count": "3" }. AdditionalUserLabels map[string]string `json:"additionalUserLabels,omitempty"` // EnableStreamingEngine: Whether to enable Streaming Engine for the // job. EnableStreamingEngine bool `json:"enableStreamingEngine,omitempty"` // FlexrsGoal: Set FlexRS goal for the job. // https://cloud.google.com/dataflow/docs/guides/flexrs // // Possible values: // "FLEXRS_UNSPECIFIED" - Run in the default mode. // "FLEXRS_SPEED_OPTIMIZED" - Optimize for lower execution time. // "FLEXRS_COST_OPTIMIZED" - Optimize for lower cost. FlexrsGoal string `json:"flexrsGoal,omitempty"` // IpConfiguration: Configuration for VM IPs. // // Possible values: // "WORKER_IP_UNSPECIFIED" - The configuration is unknown, or // unspecified. // "WORKER_IP_PUBLIC" - Workers should have public IP addresses. // "WORKER_IP_PRIVATE" - Workers should have private IP addresses. IpConfiguration string `json:"ipConfiguration,omitempty"` // KmsKeyName: Name for the Cloud KMS key for the job. Key format is: // projects//locations//keyRings//cryptoKeys/ KmsKeyName string `json:"kmsKeyName,omitempty"` // MachineType: The machine type to use for the job. Defaults to the // value from the template if not specified. MachineType string `json:"machineType,omitempty"` // MaxWorkers: The maximum number of Google Compute Engine instances to // be made available to your pipeline during execution, from 1 to 1000. MaxWorkers int64 `json:"maxWorkers,omitempty"` // Network: Network to which VMs will be assigned. If empty or // unspecified, the service will use the network "default". Network string `json:"network,omitempty"` // NumWorkers: The initial number of Google Compute Engine instances for // the job. NumWorkers int64 `json:"numWorkers,omitempty"` // ServiceAccountEmail: The email address of the service account to run // the job as. ServiceAccountEmail string `json:"serviceAccountEmail,omitempty"` // Subnetwork: Subnetwork to which VMs will be assigned, if desired. You // can specify a subnetwork using either a complete URL or an // abbreviated path. Expected to be of the form // "https://www.googleapis.com/compute/v1/projects/HOST_PROJECT_ID/region // s/REGION/subnetworks/SUBNETWORK" or // "regions/REGION/subnetworks/SUBNETWORK". If the subnetwork is located // in a Shared VPC network, you must use the complete URL. Subnetwork string `json:"subnetwork,omitempty"` // TempLocation: The Cloud Storage path to use for temporary files. Must // be a valid Cloud Storage URL, beginning with `gs://`. TempLocation string `json:"tempLocation,omitempty"` // WorkerRegion: The Compute Engine region // (https://cloud.google.com/compute/docs/regions-zones/regions-zones) // in which worker processing should occur, e.g. "us-west1". Mutually // exclusive with worker_zone. If neither worker_region nor worker_zone // is specified, default to the control plane's region. WorkerRegion string `json:"workerRegion,omitempty"` // WorkerZone: The Compute Engine zone // (https://cloud.google.com/compute/docs/regions-zones/regions-zones) // in which worker processing should occur, e.g. "us-west1-a". Mutually // exclusive with worker_region. If neither worker_region nor // worker_zone is specified, a zone in the control plane's region is // chosen based on available capacity. If both `worker_zone` and `zone` // are set, `worker_zone` takes precedence. WorkerZone string `json:"workerZone,omitempty"` // Zone: The Compute Engine availability zone // (https://cloud.google.com/compute/docs/regions-zones/regions-zones) // for launching worker instances to run your pipeline. In the future, // worker_zone will take precedence. Zone string `json:"zone,omitempty"` // ForceSendFields is a list of field names (e.g. // "AdditionalExperiments") to unconditionally include in API requests. // By default, fields with empty values are omitted from API requests. // However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AdditionalExperiments") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
FlexTemplateRuntimeEnvironment: The environment values to be set at runtime for flex template.
func (*FlexTemplateRuntimeEnvironment) MarshalJSON ¶
func (s *FlexTemplateRuntimeEnvironment) MarshalJSON() ([]byte, error)
type FloatingPointList ¶
type FloatingPointList struct { // Elements: Elements of the list. Elements []float64 `json:"elements,omitempty"` // ForceSendFields is a list of field names (e.g. "Elements") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Elements") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
FloatingPointList: A metric value representing a list of floating point numbers.
func (*FloatingPointList) MarshalJSON ¶
func (s *FloatingPointList) MarshalJSON() ([]byte, error)
type FloatingPointMean ¶
type FloatingPointMean struct { // Count: The number of values being aggregated. Count *SplitInt64 `json:"count,omitempty"` // Sum: The sum of all values being aggregated. Sum float64 `json:"sum,omitempty"` // ForceSendFields is a list of field names (e.g. "Count") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Count") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
FloatingPointMean: A representation of a floating point mean metric contribution.
func (*FloatingPointMean) MarshalJSON ¶
func (s *FloatingPointMean) MarshalJSON() ([]byte, error)
func (*FloatingPointMean) UnmarshalJSON ¶
func (s *FloatingPointMean) UnmarshalJSON(data []byte) error
type GetDebugConfigRequest ¶
type GetDebugConfigRequest struct { // ComponentId: The internal component id for which debug configuration // is requested. ComponentId string `json:"componentId,omitempty"` // Location: The [regional endpoint] // (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) // that contains the job specified by job_id. Location string `json:"location,omitempty"` // WorkerId: The worker id, i.e., VM hostname. WorkerId string `json:"workerId,omitempty"` // ForceSendFields is a list of field names (e.g. "ComponentId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ComponentId") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GetDebugConfigRequest: Request to get updated debug configuration for component.
func (*GetDebugConfigRequest) MarshalJSON ¶
func (s *GetDebugConfigRequest) MarshalJSON() ([]byte, error)
type GetDebugConfigResponse ¶
type GetDebugConfigResponse struct { // Config: The encoded debug configuration for the requested component. Config string `json:"config,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Config") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Config") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GetDebugConfigResponse: Response to a get debug configuration request.
func (*GetDebugConfigResponse) MarshalJSON ¶
func (s *GetDebugConfigResponse) MarshalJSON() ([]byte, error)
type GetTemplateResponse ¶
type GetTemplateResponse struct { // Metadata: The template metadata describing the template name, // available parameters, etc. Metadata *TemplateMetadata `json:"metadata,omitempty"` // RuntimeMetadata: Describes the runtime metadata with SDKInfo and // available parameters. RuntimeMetadata *RuntimeMetadata `json:"runtimeMetadata,omitempty"` // Status: The status of the get template request. Any problems with the // request will be indicated in the error_details. Status *Status `json:"status,omitempty"` // TemplateType: Template Type. // // Possible values: // "UNKNOWN" - Unknown Template Type. // "LEGACY" - Legacy Template. // "FLEX" - Flex Template. TemplateType string `json:"templateType,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Metadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Metadata") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GetTemplateResponse: The response to a GetTemplate request.
func (*GetTemplateResponse) MarshalJSON ¶
func (s *GetTemplateResponse) MarshalJSON() ([]byte, error)
type Histogram ¶
type Histogram struct { // BucketCounts: Counts of values in each bucket. For efficiency, prefix // and trailing buckets with count = 0 are elided. Buckets can store the // full range of values of an unsigned long, with ULLONG_MAX falling // into the 59th bucket with range [1e19, 2e19). BucketCounts googleapi.Int64s `json:"bucketCounts,omitempty"` // FirstBucketOffset: Starting index of first stored bucket. The // non-inclusive upper-bound of the ith bucket is given by: // pow(10,(i-first_bucket_offset)/3) * // (1,2,5)[(i-first_bucket_offset)%3] FirstBucketOffset int64 `json:"firstBucketOffset,omitempty"` // ForceSendFields is a list of field names (e.g. "BucketCounts") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BucketCounts") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Histogram: Histogram of value counts for a distribution. Buckets have an inclusive lower bound and exclusive upper bound and use "1,2,5 bucketing": The first bucket range is from [0,1) and all subsequent bucket boundaries are powers of ten multiplied by 1, 2, or 5. Thus, bucket boundaries are 0, 1, 2, 5, 10, 20, 50, 100, 200, 500, 1000, ... Negative values are not supported.
func (*Histogram) MarshalJSON ¶
type HotKeyDetection ¶
type HotKeyDetection struct { // HotKeyAge: The age of the hot key measured from when it was first // detected. HotKeyAge string `json:"hotKeyAge,omitempty"` // SystemName: System-defined name of the step containing this hot key. // Unique across the workflow. SystemName string `json:"systemName,omitempty"` // UserStepName: User-provided name of the step that contains this hot // key. UserStepName string `json:"userStepName,omitempty"` // ForceSendFields is a list of field names (e.g. "HotKeyAge") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "HotKeyAge") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
HotKeyDetection: Proto describing a hot key detected on a given WorkItem.
func (*HotKeyDetection) MarshalJSON ¶
func (s *HotKeyDetection) MarshalJSON() ([]byte, error)
type InstructionInput ¶
type InstructionInput struct { // OutputNum: The output index (origin zero) within the producer. OutputNum int64 `json:"outputNum,omitempty"` // ProducerInstructionIndex: The index (origin zero) of the parallel // instruction that produces the output to be consumed by this input. // This index is relative to the list of instructions in this input's // instruction's containing MapTask. ProducerInstructionIndex int64 `json:"producerInstructionIndex,omitempty"` // ForceSendFields is a list of field names (e.g. "OutputNum") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "OutputNum") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
InstructionInput: An input of an instruction, as a reference to an output of a producer instruction.
func (*InstructionInput) MarshalJSON ¶
func (s *InstructionInput) MarshalJSON() ([]byte, error)
type InstructionOutput ¶
type InstructionOutput struct { // Codec: The codec to use to encode data being written via this output. Codec googleapi.RawMessage `json:"codec,omitempty"` // Name: The user-provided name of this output. Name string `json:"name,omitempty"` // OnlyCountKeyBytes: For system-generated byte and mean byte metrics, // certain instructions should only report the key size. OnlyCountKeyBytes bool `json:"onlyCountKeyBytes,omitempty"` // OnlyCountValueBytes: For system-generated byte and mean byte metrics, // certain instructions should only report the value size. OnlyCountValueBytes bool `json:"onlyCountValueBytes,omitempty"` // OriginalName: System-defined name for this output in the original // workflow graph. Outputs that do not contribute to an original // instruction do not set this. OriginalName string `json:"originalName,omitempty"` // SystemName: System-defined name of this output. Unique across the // workflow. SystemName string `json:"systemName,omitempty"` // ForceSendFields is a list of field names (e.g. "Codec") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Codec") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
InstructionOutput: An output of an instruction.
func (*InstructionOutput) MarshalJSON ¶
func (s *InstructionOutput) MarshalJSON() ([]byte, error)
type IntegerGauge ¶
type IntegerGauge struct { // Timestamp: The time at which this value was measured. Measured as // msecs from epoch. Timestamp string `json:"timestamp,omitempty"` // Value: The value of the variable represented by this gauge. Value *SplitInt64 `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Timestamp") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Timestamp") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
IntegerGauge: A metric value representing temporal values of a variable.
func (*IntegerGauge) MarshalJSON ¶
func (s *IntegerGauge) MarshalJSON() ([]byte, error)
type IntegerList ¶
type IntegerList struct { // Elements: Elements of the list. Elements []*SplitInt64 `json:"elements,omitempty"` // ForceSendFields is a list of field names (e.g. "Elements") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Elements") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
IntegerList: A metric value representing a list of integers.
func (*IntegerList) MarshalJSON ¶
func (s *IntegerList) MarshalJSON() ([]byte, error)
type IntegerMean ¶
type IntegerMean struct { // Count: The number of values being aggregated. Count *SplitInt64 `json:"count,omitempty"` // Sum: The sum of all values being aggregated. Sum *SplitInt64 `json:"sum,omitempty"` // ForceSendFields is a list of field names (e.g. "Count") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Count") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
IntegerMean: A representation of an integer mean metric contribution.
func (*IntegerMean) MarshalJSON ¶
func (s *IntegerMean) MarshalJSON() ([]byte, error)
type Job ¶
type Job struct { // ClientRequestId: The client's unique identifier of the job, re-used // across retried attempts. If this field is set, the service will // ensure its uniqueness. The request to create a job will fail if the // service has knowledge of a previously submitted job with the same // client's ID and job name. The caller may use this field to ensure // idempotence of job creation across retried attempts to create a job. // By default, the field is empty and, in that case, the service ignores // it. ClientRequestId string `json:"clientRequestId,omitempty"` // CreateTime: The timestamp when the job was initially created. // Immutable and set by the Cloud Dataflow service. CreateTime string `json:"createTime,omitempty"` // CreatedFromSnapshotId: If this is specified, the job's initial state // is populated from the given snapshot. CreatedFromSnapshotId string `json:"createdFromSnapshotId,omitempty"` // CurrentState: The current state of the job. Jobs are created in the // `JOB_STATE_STOPPED` state unless otherwise specified. A job in the // `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. // After a job has reached a terminal state, no further state updates // may be made. This field may be mutated by the Cloud Dataflow service; // callers cannot mutate it. // // Possible values: // "JOB_STATE_UNKNOWN" - The job's run state isn't specified. // "JOB_STATE_STOPPED" - `JOB_STATE_STOPPED` indicates that the job // has not yet started to run. // "JOB_STATE_RUNNING" - `JOB_STATE_RUNNING` indicates that the job is // currently running. // "JOB_STATE_DONE" - `JOB_STATE_DONE` indicates that the job has // successfully completed. This is a terminal job state. This state may // be set by the Cloud Dataflow service, as a transition from // `JOB_STATE_RUNNING`. It may also be set via a Cloud Dataflow // `UpdateJob` call, if the job has not yet reached a terminal state. // "JOB_STATE_FAILED" - `JOB_STATE_FAILED` indicates that the job has // failed. This is a terminal job state. This state may only be set by // the Cloud Dataflow service, and only as a transition from // `JOB_STATE_RUNNING`. // "JOB_STATE_CANCELLED" - `JOB_STATE_CANCELLED` indicates that the // job has been explicitly cancelled. This is a terminal job state. This // state may only be set via a Cloud Dataflow `UpdateJob` call, and only // if the job has not yet reached another terminal state. // "JOB_STATE_UPDATED" - `JOB_STATE_UPDATED` indicates that the job // was successfully updated, meaning that this job was stopped and // another job was started, inheriting state from this one. This is a // terminal job state. This state may only be set by the Cloud Dataflow // service, and only as a transition from `JOB_STATE_RUNNING`. // "JOB_STATE_DRAINING" - `JOB_STATE_DRAINING` indicates that the job // is in the process of draining. A draining job has stopped pulling // from its input sources and is processing any data that remains // in-flight. This state may be set via a Cloud Dataflow `UpdateJob` // call, but only as a transition from `JOB_STATE_RUNNING`. Jobs that // are draining may only transition to `JOB_STATE_DRAINED`, // `JOB_STATE_CANCELLED`, or `JOB_STATE_FAILED`. // "JOB_STATE_DRAINED" - `JOB_STATE_DRAINED` indicates that the job // has been drained. A drained job terminated by stopping pulling from // its input sources and processing any data that remained in-flight // when draining was requested. This state is a terminal state, may only // be set by the Cloud Dataflow service, and only as a transition from // `JOB_STATE_DRAINING`. // "JOB_STATE_PENDING" - `JOB_STATE_PENDING` indicates that the job // has been created but is not yet running. Jobs that are pending may // only transition to `JOB_STATE_RUNNING`, or `JOB_STATE_FAILED`. // "JOB_STATE_CANCELLING" - `JOB_STATE_CANCELLING` indicates that the // job has been explicitly cancelled and is in the process of stopping. // Jobs that are cancelling may only transition to `JOB_STATE_CANCELLED` // or `JOB_STATE_FAILED`. // "JOB_STATE_QUEUED" - `JOB_STATE_QUEUED` indicates that the job has // been created but is being delayed until launch. Jobs that are queued // may only transition to `JOB_STATE_PENDING` or `JOB_STATE_CANCELLED`. // "JOB_STATE_RESOURCE_CLEANING_UP" - `JOB_STATE_RESOURCE_CLEANING_UP` // indicates that the batch job's associated resources are currently // being cleaned up after a successful run. Currently, this is an opt-in // feature, please reach out to Cloud support team if you are intersted. CurrentState string `json:"currentState,omitempty"` // CurrentStateTime: The timestamp associated with the current state. CurrentStateTime string `json:"currentStateTime,omitempty"` // Environment: The environment for the job. Environment *Environment `json:"environment,omitempty"` // ExecutionInfo: Deprecated. ExecutionInfo *JobExecutionInfo `json:"executionInfo,omitempty"` // Id: The unique ID of this job. This field is set by the Cloud // Dataflow service when the Job is created, and is immutable for the // life of the job. Id string `json:"id,omitempty"` // JobMetadata: This field is populated by the Dataflow service to // support filtering jobs by the metadata values provided here. // Populated for ListJobs and all GetJob views SUMMARY and higher. JobMetadata *JobMetadata `json:"jobMetadata,omitempty"` // Labels: User-defined labels for this job. The labels map can contain // no more than 64 entries. Entries of the labels map are UTF8 strings // that comply with the following restrictions: * Keys must conform to // regexp: \p{Ll}\p{Lo}{0,62} * Values must conform to regexp: // [\p{Ll}\p{Lo}\p{N}_-]{0,63} * Both keys and values are additionally // constrained to be <= 128 bytes in size. Labels map[string]string `json:"labels,omitempty"` // Location: The [regional endpoint] // (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) // that contains this job. Location string `json:"location,omitempty"` // Name: The user-specified Cloud Dataflow job name. Only one Job with a // given name may exist in a project at any given time. If a caller // attempts to create a Job with the same name as an already-existing // Job, the attempt returns the existing Job. The name must match the // regular expression `[a-z]([-a-z0-9]{0,38}[a-z0-9])?` Name string `json:"name,omitempty"` // PipelineDescription: Preliminary field: The format of this data may // change at any time. A description of the user pipeline and stages // through which it is executed. Created by Cloud Dataflow service. Only // retrieved with JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL. PipelineDescription *PipelineDescription `json:"pipelineDescription,omitempty"` // ProjectId: The ID of the Cloud Platform project that the job belongs // to. ProjectId string `json:"projectId,omitempty"` // ReplaceJobId: If this job is an update of an existing job, this field // is the job ID of the job it replaced. When sending a // `CreateJobRequest`, you can update a job by specifying it here. The // job named here is stopped, and its intermediate state is transferred // to this job. ReplaceJobId string `json:"replaceJobId,omitempty"` // ReplacedByJobId: If another job is an update of this job (and thus, // this job is in `JOB_STATE_UPDATED`), this field contains the ID of // that job. ReplacedByJobId string `json:"replacedByJobId,omitempty"` // RequestedState: The job's requested state. `UpdateJob` may be used to // switch between the `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING` // states, by setting requested_state. `UpdateJob` may also be used to // directly set a job's requested state to `JOB_STATE_CANCELLED` or // `JOB_STATE_DONE`, irrevocably terminating the job if it has not // already reached a terminal state. // // Possible values: // "JOB_STATE_UNKNOWN" - The job's run state isn't specified. // "JOB_STATE_STOPPED" - `JOB_STATE_STOPPED` indicates that the job // has not yet started to run. // "JOB_STATE_RUNNING" - `JOB_STATE_RUNNING` indicates that the job is // currently running. // "JOB_STATE_DONE" - `JOB_STATE_DONE` indicates that the job has // successfully completed. This is a terminal job state. This state may // be set by the Cloud Dataflow service, as a transition from // `JOB_STATE_RUNNING`. It may also be set via a Cloud Dataflow // `UpdateJob` call, if the job has not yet reached a terminal state. // "JOB_STATE_FAILED" - `JOB_STATE_FAILED` indicates that the job has // failed. This is a terminal job state. This state may only be set by // the Cloud Dataflow service, and only as a transition from // `JOB_STATE_RUNNING`. // "JOB_STATE_CANCELLED" - `JOB_STATE_CANCELLED` indicates that the // job has been explicitly cancelled. This is a terminal job state. This // state may only be set via a Cloud Dataflow `UpdateJob` call, and only // if the job has not yet reached another terminal state. // "JOB_STATE_UPDATED" - `JOB_STATE_UPDATED` indicates that the job // was successfully updated, meaning that this job was stopped and // another job was started, inheriting state from this one. This is a // terminal job state. This state may only be set by the Cloud Dataflow // service, and only as a transition from `JOB_STATE_RUNNING`. // "JOB_STATE_DRAINING" - `JOB_STATE_DRAINING` indicates that the job // is in the process of draining. A draining job has stopped pulling // from its input sources and is processing any data that remains // in-flight. This state may be set via a Cloud Dataflow `UpdateJob` // call, but only as a transition from `JOB_STATE_RUNNING`. Jobs that // are draining may only transition to `JOB_STATE_DRAINED`, // `JOB_STATE_CANCELLED`, or `JOB_STATE_FAILED`. // "JOB_STATE_DRAINED" - `JOB_STATE_DRAINED` indicates that the job // has been drained. A drained job terminated by stopping pulling from // its input sources and processing any data that remained in-flight // when draining was requested. This state is a terminal state, may only // be set by the Cloud Dataflow service, and only as a transition from // `JOB_STATE_DRAINING`. // "JOB_STATE_PENDING" - `JOB_STATE_PENDING` indicates that the job // has been created but is not yet running. Jobs that are pending may // only transition to `JOB_STATE_RUNNING`, or `JOB_STATE_FAILED`. // "JOB_STATE_CANCELLING" - `JOB_STATE_CANCELLING` indicates that the // job has been explicitly cancelled and is in the process of stopping. // Jobs that are cancelling may only transition to `JOB_STATE_CANCELLED` // or `JOB_STATE_FAILED`. // "JOB_STATE_QUEUED" - `JOB_STATE_QUEUED` indicates that the job has // been created but is being delayed until launch. Jobs that are queued // may only transition to `JOB_STATE_PENDING` or `JOB_STATE_CANCELLED`. // "JOB_STATE_RESOURCE_CLEANING_UP" - `JOB_STATE_RESOURCE_CLEANING_UP` // indicates that the batch job's associated resources are currently // being cleaned up after a successful run. Currently, this is an opt-in // feature, please reach out to Cloud support team if you are intersted. RequestedState string `json:"requestedState,omitempty"` // SatisfiesPzs: Reserved for future use. This field is set only in // responses from the server; it is ignored if it is set in any // requests. SatisfiesPzs bool `json:"satisfiesPzs,omitempty"` // StageStates: This field may be mutated by the Cloud Dataflow service; // callers cannot mutate it. StageStates []*ExecutionStageState `json:"stageStates,omitempty"` // StartTime: The timestamp when the job was started (transitioned to // JOB_STATE_PENDING). Flexible resource scheduling jobs are started // with some delay after job creation, so start_time is unset before // start and is updated when the job is started by the Cloud Dataflow // service. For other jobs, start_time always equals to create_time and // is immutable and set by the Cloud Dataflow service. StartTime string `json:"startTime,omitempty"` // Steps: Exactly one of step or steps_location should be specified. The // top-level steps that constitute the entire job. Only retrieved with // JOB_VIEW_ALL. Steps []*Step `json:"steps,omitempty"` // StepsLocation: The GCS location where the steps are stored. StepsLocation string `json:"stepsLocation,omitempty"` // TempFiles: A set of files the system should be aware of that are used // for temporary storage. These temporary files will be removed on job // completion. No duplicates are allowed. No file patterns are // supported. The supported files are: Google Cloud Storage: // storage.googleapis.com/{bucket}/{object} // bucket.storage.googleapis.com/{object} TempFiles []string `json:"tempFiles,omitempty"` // TransformNameMapping: The map of transform name prefixes of the job // to be replaced to the corresponding name prefixes of the new job. TransformNameMapping map[string]string `json:"transformNameMapping,omitempty"` // Type: The type of Cloud Dataflow job. // // Possible values: // "JOB_TYPE_UNKNOWN" - The type of the job is unspecified, or // unknown. // "JOB_TYPE_BATCH" - A batch job with a well-defined end point: data // is read, data is processed, data is written, and the job is done. // "JOB_TYPE_STREAMING" - A continuously streaming job with no end: // data is read, processed, and written continuously. Type string `json:"type,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ClientRequestId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ClientRequestId") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
Job: Defines a job to be run by the Cloud Dataflow service. nextID: 26
func (*Job) MarshalJSON ¶
type JobExecutionDetails ¶
type JobExecutionDetails struct { // NextPageToken: If present, this response does not contain all // requested tasks. To obtain the next page of results, repeat the // request with page_token set to this value. NextPageToken string `json:"nextPageToken,omitempty"` // Stages: The stages of the job execution. Stages []*StageSummary `json:"stages,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
JobExecutionDetails: Information about the execution of a job.
func (*JobExecutionDetails) MarshalJSON ¶
func (s *JobExecutionDetails) MarshalJSON() ([]byte, error)
type JobExecutionInfo ¶
type JobExecutionInfo struct { // Stages: A mapping from each stage to the information about that // stage. Stages map[string]JobExecutionStageInfo `json:"stages,omitempty"` // ForceSendFields is a list of field names (e.g. "Stages") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Stages") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
JobExecutionInfo: Additional information about how a Cloud Dataflow job will be executed that isn't contained in the submitted job.
func (*JobExecutionInfo) MarshalJSON ¶
func (s *JobExecutionInfo) MarshalJSON() ([]byte, error)
type JobExecutionStageInfo ¶
type JobExecutionStageInfo struct { // StepName: The steps associated with the execution stage. Note that // stages may have several steps, and that a given step might be run by // more than one stage. StepName []string `json:"stepName,omitempty"` // ForceSendFields is a list of field names (e.g. "StepName") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "StepName") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
JobExecutionStageInfo: Contains information about how a particular google.dataflow.v1beta3.Step will be executed.
func (*JobExecutionStageInfo) MarshalJSON ¶
func (s *JobExecutionStageInfo) MarshalJSON() ([]byte, error)
type JobMessage ¶
type JobMessage struct { // Id: Deprecated. Id string `json:"id,omitempty"` // MessageImportance: Importance level of the message. // // Possible values: // "JOB_MESSAGE_IMPORTANCE_UNKNOWN" - The message importance isn't // specified, or is unknown. // "JOB_MESSAGE_DEBUG" - The message is at the 'debug' level: // typically only useful for software engineers working on the code the // job is running. Typically, Dataflow pipeline runners do not display // log messages at this level by default. // "JOB_MESSAGE_DETAILED" - The message is at the 'detailed' level: // somewhat verbose, but potentially useful to users. Typically, // Dataflow pipeline runners do not display log messages at this level // by default. These messages are displayed by default in the Dataflow // monitoring UI. // "JOB_MESSAGE_BASIC" - The message is at the 'basic' level: useful // for keeping track of the execution of a Dataflow pipeline. Typically, // Dataflow pipeline runners display log messages at this level by // default, and these messages are displayed by default in the Dataflow // monitoring UI. // "JOB_MESSAGE_WARNING" - The message is at the 'warning' level: // indicating a condition pertaining to a job which may require human // intervention. Typically, Dataflow pipeline runners display log // messages at this level by default, and these messages are displayed // by default in the Dataflow monitoring UI. // "JOB_MESSAGE_ERROR" - The message is at the 'error' level: // indicating a condition preventing a job from succeeding. Typically, // Dataflow pipeline runners display log messages at this level by // default, and these messages are displayed by default in the Dataflow // monitoring UI. MessageImportance string `json:"messageImportance,omitempty"` // MessageText: The text of the message. MessageText string `json:"messageText,omitempty"` // Time: The timestamp of the message. Time string `json:"time,omitempty"` // ForceSendFields is a list of field names (e.g. "Id") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Id") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
JobMessage: A particular message pertaining to a Dataflow job.
func (*JobMessage) MarshalJSON ¶
func (s *JobMessage) MarshalJSON() ([]byte, error)
type JobMetadata ¶
type JobMetadata struct { // BigTableDetails: Identification of a BigTable source used in the // Dataflow job. BigTableDetails []*BigTableIODetails `json:"bigTableDetails,omitempty"` // BigqueryDetails: Identification of a BigQuery source used in the // Dataflow job. BigqueryDetails []*BigQueryIODetails `json:"bigqueryDetails,omitempty"` // DatastoreDetails: Identification of a Datastore source used in the // Dataflow job. DatastoreDetails []*DatastoreIODetails `json:"datastoreDetails,omitempty"` // FileDetails: Identification of a File source used in the Dataflow // job. FileDetails []*FileIODetails `json:"fileDetails,omitempty"` // PubsubDetails: Identification of a PubSub source used in the Dataflow // job. PubsubDetails []*PubSubIODetails `json:"pubsubDetails,omitempty"` // SdkVersion: The SDK version used to run the job. SdkVersion *SdkVersion `json:"sdkVersion,omitempty"` // SpannerDetails: Identification of a Spanner source used in the // Dataflow job. SpannerDetails []*SpannerIODetails `json:"spannerDetails,omitempty"` // ForceSendFields is a list of field names (e.g. "BigTableDetails") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigTableDetails") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
JobMetadata: Metadata available primarily for filtering jobs. Will be included in the ListJob response and Job SUMMARY view.
func (*JobMetadata) MarshalJSON ¶
func (s *JobMetadata) MarshalJSON() ([]byte, error)
type JobMetrics ¶
type JobMetrics struct { // MetricTime: Timestamp as of which metric values are current. MetricTime string `json:"metricTime,omitempty"` // Metrics: All metrics for this job. Metrics []*MetricUpdate `json:"metrics,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "MetricTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MetricTime") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
JobMetrics: JobMetrics contains a collection of metrics describing the detailed progress of a Dataflow job. Metrics correspond to user-defined and system-defined metrics in the job. This resource captures only the most recent values of each metric; time-series data can be queried for them (under the same metric names) from Cloud Monitoring.
func (*JobMetrics) MarshalJSON ¶
func (s *JobMetrics) MarshalJSON() ([]byte, error)
type KeyRangeDataDiskAssignment ¶
type KeyRangeDataDiskAssignment struct { // DataDisk: The name of the data disk where data for this range is // stored. This name is local to the Google Cloud Platform project and // uniquely identifies the disk within that project, for example // "myproject-1014-104817-4c2-harness-0-disk-1". DataDisk string `json:"dataDisk,omitempty"` // End: The end (exclusive) of the key range. End string `json:"end,omitempty"` // Start: The start (inclusive) of the key range. Start string `json:"start,omitempty"` // ForceSendFields is a list of field names (e.g. "DataDisk") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataDisk") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
KeyRangeDataDiskAssignment: Data disk assignment information for a specific key-range of a sharded computation. Currently we only support UTF-8 character splits to simplify encoding into JSON.
func (*KeyRangeDataDiskAssignment) MarshalJSON ¶
func (s *KeyRangeDataDiskAssignment) MarshalJSON() ([]byte, error)
type KeyRangeLocation ¶
type KeyRangeLocation struct { // DataDisk: The name of the data disk where data for this range is // stored. This name is local to the Google Cloud Platform project and // uniquely identifies the disk within that project, for example // "myproject-1014-104817-4c2-harness-0-disk-1". DataDisk string `json:"dataDisk,omitempty"` // DeliveryEndpoint: The physical location of this range assignment to // be used for streaming computation cross-worker message delivery. DeliveryEndpoint string `json:"deliveryEndpoint,omitempty"` // DeprecatedPersistentDirectory: DEPRECATED. The location of the // persistent state for this range, as a persistent directory in the // worker local filesystem. DeprecatedPersistentDirectory string `json:"deprecatedPersistentDirectory,omitempty"` // End: The end (exclusive) of the key range. End string `json:"end,omitempty"` // Start: The start (inclusive) of the key range. Start string `json:"start,omitempty"` // ForceSendFields is a list of field names (e.g. "DataDisk") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataDisk") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
KeyRangeLocation: Location information for a specific key-range of a sharded computation. Currently we only support UTF-8 character splits to simplify encoding into JSON.
func (*KeyRangeLocation) MarshalJSON ¶
func (s *KeyRangeLocation) MarshalJSON() ([]byte, error)
type LaunchFlexTemplateParameter ¶
type LaunchFlexTemplateParameter struct { // ContainerSpec: Spec about the container image to launch. ContainerSpec *ContainerSpec `json:"containerSpec,omitempty"` // ContainerSpecGcsPath: Gcs path to a file with json serialized // ContainerSpec as content. ContainerSpecGcsPath string `json:"containerSpecGcsPath,omitempty"` // Environment: The runtime environment for the FlexTemplate job Environment *FlexTemplateRuntimeEnvironment `json:"environment,omitempty"` // JobName: Required. The job name to use for the created job. For // update job request, job name should be same as the existing running // job. JobName string `json:"jobName,omitempty"` // LaunchOptions: Launch options for this flex template job. This is a // common set of options across languages and templates. This should not // be used to pass job parameters. LaunchOptions map[string]string `json:"launchOptions,omitempty"` // Parameters: The parameters for FlexTemplate. Ex. {"num_workers":"5"} Parameters map[string]string `json:"parameters,omitempty"` // TransformNameMappings: Use this to pass transform_name_mappings for // streaming update jobs. // Ex:{"oldTransformName":"newTransformName",...}' TransformNameMappings map[string]string `json:"transformNameMappings,omitempty"` // Update: Set this to true if you are sending a request to update a // running streaming job. When set, the job name should be the same as // the running job. Update bool `json:"update,omitempty"` // ForceSendFields is a list of field names (e.g. "ContainerSpec") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContainerSpec") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
LaunchFlexTemplateParameter: Launch FlexTemplate Parameter.
func (*LaunchFlexTemplateParameter) MarshalJSON ¶
func (s *LaunchFlexTemplateParameter) MarshalJSON() ([]byte, error)
type LaunchFlexTemplateRequest ¶
type LaunchFlexTemplateRequest struct { // LaunchParameter: Required. Parameter to launch a job form Flex // Template. LaunchParameter *LaunchFlexTemplateParameter `json:"launchParameter,omitempty"` // ValidateOnly: If true, the request is validated but not actually // executed. Defaults to false. ValidateOnly bool `json:"validateOnly,omitempty"` // ForceSendFields is a list of field names (e.g. "LaunchParameter") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LaunchParameter") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
LaunchFlexTemplateRequest: A request to launch a Cloud Dataflow job from a FlexTemplate.
func (*LaunchFlexTemplateRequest) MarshalJSON ¶
func (s *LaunchFlexTemplateRequest) MarshalJSON() ([]byte, error)
type LaunchFlexTemplateResponse ¶
type LaunchFlexTemplateResponse struct { // Job: The job that was launched, if the request was not a dry run and // the job was successfully launched. Job *Job `json:"job,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Job") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Job") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
LaunchFlexTemplateResponse: Response to the request to launch a job from Flex Template.
func (*LaunchFlexTemplateResponse) MarshalJSON ¶
func (s *LaunchFlexTemplateResponse) MarshalJSON() ([]byte, error)
type LaunchTemplateParameters ¶
type LaunchTemplateParameters struct { // Environment: The runtime environment for the job. Environment *RuntimeEnvironment `json:"environment,omitempty"` // JobName: Required. The job name to use for the created job. JobName string `json:"jobName,omitempty"` // Parameters: The runtime parameters to pass to the job. Parameters map[string]string `json:"parameters,omitempty"` // TransformNameMapping: Only applicable when updating a pipeline. Map // of transform name prefixes of the job to be replaced to the // corresponding name prefixes of the new job. TransformNameMapping map[string]string `json:"transformNameMapping,omitempty"` // Update: If set, replace the existing pipeline with the name specified // by jobName with this pipeline, preserving state. Update bool `json:"update,omitempty"` // ForceSendFields is a list of field names (e.g. "Environment") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Environment") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
LaunchTemplateParameters: Parameters to provide to the template being launched.
func (*LaunchTemplateParameters) MarshalJSON ¶
func (s *LaunchTemplateParameters) MarshalJSON() ([]byte, error)
type LaunchTemplateResponse ¶
type LaunchTemplateResponse struct { // Job: The job that was launched, if the request was not a dry run and // the job was successfully launched. Job *Job `json:"job,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Job") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Job") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
LaunchTemplateResponse: Response to the request to launch a template.
func (*LaunchTemplateResponse) MarshalJSON ¶
func (s *LaunchTemplateResponse) MarshalJSON() ([]byte, error)
type LeaseWorkItemRequest ¶
type LeaseWorkItemRequest struct { // CurrentWorkerTime: The current timestamp at the worker. CurrentWorkerTime string `json:"currentWorkerTime,omitempty"` // Location: The [regional endpoint] // (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) // that contains the WorkItem's job. Location string `json:"location,omitempty"` // RequestedLeaseDuration: The initial lease period. RequestedLeaseDuration string `json:"requestedLeaseDuration,omitempty"` // UnifiedWorkerRequest: Untranslated bag-of-bytes WorkRequest from // UnifiedWorker. UnifiedWorkerRequest googleapi.RawMessage `json:"unifiedWorkerRequest,omitempty"` // WorkItemTypes: Filter for WorkItem type. WorkItemTypes []string `json:"workItemTypes,omitempty"` // WorkerCapabilities: Worker capabilities. WorkItems might be limited // to workers with specific capabilities. WorkerCapabilities []string `json:"workerCapabilities,omitempty"` // WorkerId: Identifies the worker leasing work -- typically the ID of // the virtual machine running the worker. WorkerId string `json:"workerId,omitempty"` // ForceSendFields is a list of field names (e.g. "CurrentWorkerTime") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CurrentWorkerTime") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
LeaseWorkItemRequest: Request to lease WorkItems.
func (*LeaseWorkItemRequest) MarshalJSON ¶
func (s *LeaseWorkItemRequest) MarshalJSON() ([]byte, error)
type LeaseWorkItemResponse ¶
type LeaseWorkItemResponse struct { // UnifiedWorkerResponse: Untranslated bag-of-bytes WorkResponse for // UnifiedWorker. UnifiedWorkerResponse googleapi.RawMessage `json:"unifiedWorkerResponse,omitempty"` // WorkItems: A list of the leased WorkItems. WorkItems []*WorkItem `json:"workItems,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. // "UnifiedWorkerResponse") to unconditionally include in API requests. // By default, fields with empty values are omitted from API requests. // However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "UnifiedWorkerResponse") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
LeaseWorkItemResponse: Response to a request to lease WorkItems.
func (*LeaseWorkItemResponse) MarshalJSON ¶
func (s *LeaseWorkItemResponse) MarshalJSON() ([]byte, error)
type ListJobMessagesResponse ¶
type ListJobMessagesResponse struct { // AutoscalingEvents: Autoscaling events in ascending timestamp order. AutoscalingEvents []*AutoscalingEvent `json:"autoscalingEvents,omitempty"` // JobMessages: Messages in ascending timestamp order. JobMessages []*JobMessage `json:"jobMessages,omitempty"` // NextPageToken: The token to obtain the next page of results if there // are more. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AutoscalingEvents") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AutoscalingEvents") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ListJobMessagesResponse: Response to a request to list job messages.
func (*ListJobMessagesResponse) MarshalJSON ¶
func (s *ListJobMessagesResponse) MarshalJSON() ([]byte, error)
type ListJobsResponse ¶
type ListJobsResponse struct { // FailedLocation: Zero or more messages describing the [regional // endpoints] // (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) // that failed to respond. FailedLocation []*FailedLocation `json:"failedLocation,omitempty"` // Jobs: A subset of the requested job information. Jobs []*Job `json:"jobs,omitempty"` // NextPageToken: Set if there may be more results than fit in this // response. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "FailedLocation") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FailedLocation") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ListJobsResponse: Response to a request to list Cloud Dataflow jobs in a project. This might be a partial response, depending on the page size in the ListJobsRequest. However, if the project does not have any jobs, an instance of ListJobsResponse is not returned and the requests's response body is empty {}.
func (*ListJobsResponse) MarshalJSON ¶
func (s *ListJobsResponse) MarshalJSON() ([]byte, error)
type ListSnapshotsResponse ¶
type ListSnapshotsResponse struct { // Snapshots: Returned snapshots. Snapshots []*Snapshot `json:"snapshots,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Snapshots") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Snapshots") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListSnapshotsResponse: List of snapshots.
func (*ListSnapshotsResponse) MarshalJSON ¶
func (s *ListSnapshotsResponse) MarshalJSON() ([]byte, error)
type ListTemplateVersionsResponse ¶
type ListTemplateVersionsResponse struct { // NextPageToken: A token that can be sent as `page_token` to retrieve // the next page. If this field is omitted, there are no subsequent // pages. NextPageToken string `json:"nextPageToken,omitempty"` // TemplateVersions: A list of TemplateVersions. TemplateVersions []*TemplateVersion `json:"templateVersions,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListTemplateVersionsResponse: Respond a list of TemplateVersions.
func (*ListTemplateVersionsResponse) MarshalJSON ¶
func (s *ListTemplateVersionsResponse) MarshalJSON() ([]byte, error)
type MapTask ¶
type MapTask struct { // CounterPrefix: Counter prefix that can be used to prefix counters. // Not currently used in Dataflow. CounterPrefix string `json:"counterPrefix,omitempty"` // Instructions: The instructions in the MapTask. Instructions []*ParallelInstruction `json:"instructions,omitempty"` // StageName: System-defined name of the stage containing this MapTask. // Unique across the workflow. StageName string `json:"stageName,omitempty"` // SystemName: System-defined name of this MapTask. Unique across the // workflow. SystemName string `json:"systemName,omitempty"` // ForceSendFields is a list of field names (e.g. "CounterPrefix") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CounterPrefix") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
MapTask: MapTask consists of an ordered set of instructions, each of which describes one particular low-level operation for the worker to perform in order to accomplish the MapTask's WorkItem. Each instruction must appear in the list before any instructions which depends on its output.
func (*MapTask) MarshalJSON ¶
type MemInfo ¶
type MemInfo struct { // CurrentLimitBytes: Instantenous memory limit in bytes. CurrentLimitBytes uint64 `json:"currentLimitBytes,omitempty,string"` // CurrentRssBytes: Instantenous memory (RSS) size in bytes. CurrentRssBytes uint64 `json:"currentRssBytes,omitempty,string"` // Timestamp: Timestamp of the measurement. Timestamp string `json:"timestamp,omitempty"` // TotalGbMs: Total memory (RSS) usage since start up in GB * ms. TotalGbMs uint64 `json:"totalGbMs,omitempty,string"` // ForceSendFields is a list of field names (e.g. "CurrentLimitBytes") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CurrentLimitBytes") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
MemInfo: Information about the memory usage of a worker or a container within a worker.
func (*MemInfo) MarshalJSON ¶
type MetricShortId ¶
type MetricShortId struct { // MetricIndex: The index of the corresponding metric in the // ReportWorkItemStatusRequest. Required. MetricIndex int64 `json:"metricIndex,omitempty"` // ShortId: The service-generated short identifier for the metric. ShortId int64 `json:"shortId,omitempty,string"` // ForceSendFields is a list of field names (e.g. "MetricIndex") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MetricIndex") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
MetricShortId: The metric short id is returned to the user alongside an offset into ReportWorkItemStatusRequest
func (*MetricShortId) MarshalJSON ¶
func (s *MetricShortId) MarshalJSON() ([]byte, error)
type MetricStructuredName ¶
type MetricStructuredName struct { // Context: Zero or more labeled fields which identify the part of the // job this metric is associated with, such as the name of a step or // collection. For example, built-in counters associated with steps will // have context['step'] = . Counters associated with PCollections in the // SDK will have context['pcollection'] = . Context map[string]string `json:"context,omitempty"` // Name: Worker-defined metric name. Name string `json:"name,omitempty"` // Origin: Origin (namespace) of metric name. May be blank for // user-define metrics; will be "dataflow" for metrics defined by the // Dataflow service or SDK. Origin string `json:"origin,omitempty"` // ForceSendFields is a list of field names (e.g. "Context") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Context") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
MetricStructuredName: Identifies a metric, by describing the source which generated the metric.
func (*MetricStructuredName) MarshalJSON ¶
func (s *MetricStructuredName) MarshalJSON() ([]byte, error)
type MetricUpdate ¶
type MetricUpdate struct { // Cumulative: True if this metric is reported as the total cumulative // aggregate value accumulated since the worker started working on this // WorkItem. By default this is false, indicating that this metric is // reported as a delta that is not associated with any WorkItem. Cumulative bool `json:"cumulative,omitempty"` // Distribution: A struct value describing properties of a distribution // of numeric values. Distribution interface{} `json:"distribution,omitempty"` // Gauge: A struct value describing properties of a Gauge. Metrics of // gauge type show the value of a metric across time, and is aggregated // based on the newest value. Gauge interface{} `json:"gauge,omitempty"` // Internal: Worker-computed aggregate value for internal use by the // Dataflow service. Internal interface{} `json:"internal,omitempty"` // Kind: Metric aggregation kind. The possible metric aggregation kinds // are "Sum", "Max", "Min", "Mean", "Set", "And", "Or", and // "Distribution". The specified aggregation kind is case-insensitive. // If omitted, this is not an aggregated value but instead a single // metric sample value. Kind string `json:"kind,omitempty"` // MeanCount: Worker-computed aggregate value for the "Mean" aggregation // kind. This holds the count of the aggregated values and is used in // combination with mean_sum above to obtain the actual mean aggregate // value. The only possible value type is Long. MeanCount interface{} `json:"meanCount,omitempty"` // MeanSum: Worker-computed aggregate value for the "Mean" aggregation // kind. This holds the sum of the aggregated values and is used in // combination with mean_count below to obtain the actual mean aggregate // value. The only possible value types are Long and Double. MeanSum interface{} `json:"meanSum,omitempty"` // Name: Name of the metric. Name *MetricStructuredName `json:"name,omitempty"` // Scalar: Worker-computed aggregate value for aggregation kinds "Sum", // "Max", "Min", "And", and "Or". The possible value types are Long, // Double, and Boolean. Scalar interface{} `json:"scalar,omitempty"` // Set: Worker-computed aggregate value for the "Set" aggregation kind. // The only possible value type is a list of Values whose type can be // Long, Double, or String, according to the metric's type. All Values // in the list must be of the same type. Set interface{} `json:"set,omitempty"` // UpdateTime: Timestamp associated with the metric value. Optional when // workers are reporting work progress; it will be filled in responses // from the metrics API. UpdateTime string `json:"updateTime,omitempty"` // ForceSendFields is a list of field names (e.g. "Cumulative") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Cumulative") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
MetricUpdate: Describes the state of a metric.
func (*MetricUpdate) MarshalJSON ¶
func (s *MetricUpdate) MarshalJSON() ([]byte, error)
type ModifyTemplateVersionLabelRequest ¶
type ModifyTemplateVersionLabelRequest struct { // Key: The label key for update. Key string `json:"key,omitempty"` // Op: Requests for add label to TemplateVersion or remove label from // TemplateVersion. // // Possible values: // "OPERATION_UNSPECIFIED" - Default value. // "ADD" - Add the label to the TemplateVersion object. // "REMOVE" - Remove the label from the TemplateVersion object. Op string `json:"op,omitempty"` // Value: The label value for update. Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Key") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Key") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ModifyTemplateVersionLabelRequest: Either add the label to TemplateVersion or remove it from the TemplateVersion.
func (*ModifyTemplateVersionLabelRequest) MarshalJSON ¶
func (s *ModifyTemplateVersionLabelRequest) MarshalJSON() ([]byte, error)
type ModifyTemplateVersionLabelResponse ¶
type ModifyTemplateVersionLabelResponse struct { // Labels: All the label in the TemplateVersion. Labels map[string]string `json:"labels,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Labels") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Labels") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ModifyTemplateVersionLabelResponse: Respond the labels in the TemplateVersion.
func (*ModifyTemplateVersionLabelResponse) MarshalJSON ¶
func (s *ModifyTemplateVersionLabelResponse) MarshalJSON() ([]byte, error)
type ModifyTemplateVersionTagRequest ¶
type ModifyTemplateVersionTagRequest struct { // RemoveOnly: The flag that indicates if the request is only for remove // tag from TemplateVersion. RemoveOnly bool `json:"removeOnly,omitempty"` // Tag: The tag for update. Tag string `json:"tag,omitempty"` // ForceSendFields is a list of field names (e.g. "RemoveOnly") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "RemoveOnly") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ModifyTemplateVersionTagRequest: Add a tag to the current TemplateVersion. If tag exist in another TemplateVersion in the Template, remove the tag before add it to the current TemplateVersion. If remove_only set, remove the tag from the current TemplateVersion.
func (*ModifyTemplateVersionTagRequest) MarshalJSON ¶
func (s *ModifyTemplateVersionTagRequest) MarshalJSON() ([]byte, error)
type ModifyTemplateVersionTagResponse ¶
type ModifyTemplateVersionTagResponse struct { // Tags: All the tags in the TemplateVersion. Tags []string `json:"tags,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Tags") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Tags") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ModifyTemplateVersionTagResponse: Respond the current tags in the TemplateVersion.
func (*ModifyTemplateVersionTagResponse) MarshalJSON ¶
func (s *ModifyTemplateVersionTagResponse) MarshalJSON() ([]byte, error)
type MountedDataDisk ¶
type MountedDataDisk struct { // DataDisk: The name of the data disk. This name is local to the Google // Cloud Platform project and uniquely identifies the disk within that // project, for example "myproject-1014-104817-4c2-harness-0-disk-1". DataDisk string `json:"dataDisk,omitempty"` // ForceSendFields is a list of field names (e.g. "DataDisk") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataDisk") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
MountedDataDisk: Describes mounted data disk.
func (*MountedDataDisk) MarshalJSON ¶
func (s *MountedDataDisk) MarshalJSON() ([]byte, error)
type MultiOutputInfo ¶
type MultiOutputInfo struct { // Tag: The id of the tag the user code will emit to this output by; // this should correspond to the tag of some SideInputInfo. Tag string `json:"tag,omitempty"` // ForceSendFields is a list of field names (e.g. "Tag") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Tag") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
MultiOutputInfo: Information about an output of a multi-output DoFn.
func (*MultiOutputInfo) MarshalJSON ¶
func (s *MultiOutputInfo) MarshalJSON() ([]byte, error)
type NameAndKind ¶
type NameAndKind struct { // Kind: Counter aggregation kind. // // Possible values: // "INVALID" - Counter aggregation kind was not set. // "SUM" - Aggregated value is the sum of all contributed values. // "MAX" - Aggregated value is the max of all contributed values. // "MIN" - Aggregated value is the min of all contributed values. // "MEAN" - Aggregated value is the mean of all contributed values. // "OR" - Aggregated value represents the logical 'or' of all // contributed values. // "AND" - Aggregated value represents the logical 'and' of all // contributed values. // "SET" - Aggregated value is a set of unique contributed values. // "DISTRIBUTION" - Aggregated value captures statistics about a // distribution. // "LATEST_VALUE" - Aggregated value tracks the latest value of a // variable. Kind string `json:"kind,omitempty"` // Name: Name of the counter. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "Kind") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Kind") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
NameAndKind: Basic metadata about a counter.
func (*NameAndKind) MarshalJSON ¶
func (s *NameAndKind) MarshalJSON() ([]byte, error)
type Package ¶
type Package struct { // Location: The resource to read the package from. The supported // resource type is: Google Cloud Storage: // storage.googleapis.com/{bucket} bucket.storage.googleapis.com/ Location string `json:"location,omitempty"` // Name: The name of the package. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "Location") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Location") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Package: The packages that must be installed in order for a worker to run the steps of the Cloud Dataflow job that will be assigned to its worker pool. This is the mechanism by which the Cloud Dataflow SDK causes code to be loaded onto the workers. For example, the Cloud Dataflow Java SDK might use this to install jars containing the user's code and all of the various dependencies (libraries, data files, etc.) required in order for that code to run.
func (*Package) MarshalJSON ¶
type ParDoInstruction ¶
type ParDoInstruction struct { // Input: The input. Input *InstructionInput `json:"input,omitempty"` // MultiOutputInfos: Information about each of the outputs, if user_fn // is a MultiDoFn. MultiOutputInfos []*MultiOutputInfo `json:"multiOutputInfos,omitempty"` // NumOutputs: The number of outputs. NumOutputs int64 `json:"numOutputs,omitempty"` // SideInputs: Zero or more side inputs. SideInputs []*SideInputInfo `json:"sideInputs,omitempty"` // UserFn: The user function to invoke. UserFn googleapi.RawMessage `json:"userFn,omitempty"` // ForceSendFields is a list of field names (e.g. "Input") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Input") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ParDoInstruction: An instruction that does a ParDo operation. Takes one main input and zero or more side inputs, and produces zero or more outputs. Runs user code.
func (*ParDoInstruction) MarshalJSON ¶
func (s *ParDoInstruction) MarshalJSON() ([]byte, error)
type ParallelInstruction ¶
type ParallelInstruction struct { // Flatten: Additional information for Flatten instructions. Flatten *FlattenInstruction `json:"flatten,omitempty"` // Name: User-provided name of this operation. Name string `json:"name,omitempty"` // OriginalName: System-defined name for the operation in the original // workflow graph. OriginalName string `json:"originalName,omitempty"` // Outputs: Describes the outputs of the instruction. Outputs []*InstructionOutput `json:"outputs,omitempty"` // ParDo: Additional information for ParDo instructions. ParDo *ParDoInstruction `json:"parDo,omitempty"` // PartialGroupByKey: Additional information for PartialGroupByKey // instructions. PartialGroupByKey *PartialGroupByKeyInstruction `json:"partialGroupByKey,omitempty"` // Read: Additional information for Read instructions. Read *ReadInstruction `json:"read,omitempty"` // SystemName: System-defined name of this operation. Unique across the // workflow. SystemName string `json:"systemName,omitempty"` // Write: Additional information for Write instructions. Write *WriteInstruction `json:"write,omitempty"` // ForceSendFields is a list of field names (e.g. "Flatten") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Flatten") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ParallelInstruction: Describes a particular operation comprising a MapTask.
func (*ParallelInstruction) MarshalJSON ¶
func (s *ParallelInstruction) MarshalJSON() ([]byte, error)
type Parameter ¶
type Parameter struct { // Key: Key or name for this parameter. Key string `json:"key,omitempty"` // Value: Value for this parameter. Value interface{} `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Key") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Key") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Parameter: Structured data associated with this message.
func (*Parameter) MarshalJSON ¶
type ParameterMetadata ¶
type ParameterMetadata struct { // HelpText: Required. The help text to display for the parameter. HelpText string `json:"helpText,omitempty"` // IsOptional: Optional. Whether the parameter is optional. Defaults to // false. IsOptional bool `json:"isOptional,omitempty"` // Label: Required. The label to display for the parameter. Label string `json:"label,omitempty"` // Name: Required. The name of the parameter. Name string `json:"name,omitempty"` // ParamType: Optional. The type of the parameter. Used for selecting // input picker. // // Possible values: // "DEFAULT" - Default input type. // "TEXT" - The parameter specifies generic text input. // "GCS_READ_BUCKET" - The parameter specifies a GCS Bucket to read // from. // "GCS_WRITE_BUCKET" - The parameter specifies a GCS Bucket to write // to. // "GCS_READ_FILE" - The parameter specifies a GCS file path to read // from. // "GCS_WRITE_FILE" - The parameter specifies a GCS file path to write // to. // "GCS_READ_FOLDER" - The parameter specifies a GCS folder path to // read from. // "GCS_WRITE_FOLDER" - The parameter specifies a GCS folder to write // to. // "PUBSUB_TOPIC" - The parameter specifies a Pub/Sub Topic. // "PUBSUB_SUBSCRIPTION" - The parameter specifies a Pub/Sub // Subscription. ParamType string `json:"paramType,omitempty"` // Regexes: Optional. Regexes that the parameter must match. Regexes []string `json:"regexes,omitempty"` // ForceSendFields is a list of field names (e.g. "HelpText") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "HelpText") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ParameterMetadata: Metadata for a specific parameter.
func (*ParameterMetadata) MarshalJSON ¶
func (s *ParameterMetadata) MarshalJSON() ([]byte, error)
type PartialGroupByKeyInstruction ¶
type PartialGroupByKeyInstruction struct { // Input: Describes the input to the partial group-by-key instruction. Input *InstructionInput `json:"input,omitempty"` // InputElementCodec: The codec to use for interpreting an element in // the input PTable. InputElementCodec googleapi.RawMessage `json:"inputElementCodec,omitempty"` // OriginalCombineValuesInputStoreName: If this instruction includes a // combining function this is the name of the intermediate store between // the GBK and the CombineValues. OriginalCombineValuesInputStoreName string `json:"originalCombineValuesInputStoreName,omitempty"` // OriginalCombineValuesStepName: If this instruction includes a // combining function, this is the name of the CombineValues instruction // lifted into this instruction. OriginalCombineValuesStepName string `json:"originalCombineValuesStepName,omitempty"` // SideInputs: Zero or more side inputs. SideInputs []*SideInputInfo `json:"sideInputs,omitempty"` // ValueCombiningFn: The value combining function to invoke. ValueCombiningFn googleapi.RawMessage `json:"valueCombiningFn,omitempty"` // ForceSendFields is a list of field names (e.g. "Input") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Input") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
PartialGroupByKeyInstruction: An instruction that does a partial group-by-key. One input and one output.
func (*PartialGroupByKeyInstruction) MarshalJSON ¶
func (s *PartialGroupByKeyInstruction) MarshalJSON() ([]byte, error)
type PipelineDescription ¶
type PipelineDescription struct { // DisplayData: Pipeline level display data. DisplayData []*DisplayData `json:"displayData,omitempty"` // ExecutionPipelineStage: Description of each stage of execution of the // pipeline. ExecutionPipelineStage []*ExecutionStageSummary `json:"executionPipelineStage,omitempty"` // OriginalPipelineTransform: Description of each transform in the // pipeline and collections between them. OriginalPipelineTransform []*TransformSummary `json:"originalPipelineTransform,omitempty"` // ForceSendFields is a list of field names (e.g. "DisplayData") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayData") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
PipelineDescription: A descriptive representation of submitted pipeline as well as the executed form. This data is provided by the Dataflow service for ease of visualizing the pipeline and interpreting Dataflow provided metrics.
func (*PipelineDescription) MarshalJSON ¶
func (s *PipelineDescription) MarshalJSON() ([]byte, error)
type Point ¶
type Point struct { // Time: The timestamp of the point. Time string `json:"time,omitempty"` // Value: The value of the point. Value float64 `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Time") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Time") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Point: A point in the timeseries.
func (*Point) MarshalJSON ¶
func (*Point) UnmarshalJSON ¶
type Position ¶
type Position struct { // ByteOffset: Position is a byte offset. ByteOffset int64 `json:"byteOffset,omitempty,string"` // ConcatPosition: CloudPosition is a concat position. ConcatPosition *ConcatPosition `json:"concatPosition,omitempty"` // End: Position is past all other positions. Also useful for the end // position of an unbounded range. End bool `json:"end,omitempty"` // Key: Position is a string key, ordered lexicographically. Key string `json:"key,omitempty"` // RecordIndex: Position is a record index. RecordIndex int64 `json:"recordIndex,omitempty,string"` // ShufflePosition: CloudPosition is a base64 encoded // BatchShufflePosition (with FIXED sharding). ShufflePosition string `json:"shufflePosition,omitempty"` // ForceSendFields is a list of field names (e.g. "ByteOffset") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ByteOffset") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Position: Position defines a position within a collection of data. The value can be either the end position, a key (used with ordered collections), a byte offset, or a record index.
func (*Position) MarshalJSON ¶
type ProgressTimeseries ¶
type ProgressTimeseries struct { // CurrentProgress: The current progress of the component, in the range // [0,1]. CurrentProgress float64 `json:"currentProgress,omitempty"` // DataPoints: History of progress for the component. Points are sorted // by time. DataPoints []*Point `json:"dataPoints,omitempty"` // ForceSendFields is a list of field names (e.g. "CurrentProgress") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CurrentProgress") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ProgressTimeseries: Information about the progress of some component of job execution.
func (*ProgressTimeseries) MarshalJSON ¶
func (s *ProgressTimeseries) MarshalJSON() ([]byte, error)
func (*ProgressTimeseries) UnmarshalJSON ¶
func (s *ProgressTimeseries) UnmarshalJSON(data []byte) error
type ProjectsCatalogTemplatesCommitCall ¶
type ProjectsCatalogTemplatesCommitCall struct {
// contains filtered or unexported fields
}
func (*ProjectsCatalogTemplatesCommitCall) Context ¶
func (c *ProjectsCatalogTemplatesCommitCall) Context(ctx context.Context) *ProjectsCatalogTemplatesCommitCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsCatalogTemplatesCommitCall) Do ¶
func (c *ProjectsCatalogTemplatesCommitCall) Do(opts ...googleapi.CallOption) (*TemplateVersion, error)
Do executes the "dataflow.projects.catalogTemplates.commit" call. Exactly one of *TemplateVersion or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TemplateVersion.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsCatalogTemplatesCommitCall) Fields ¶
func (c *ProjectsCatalogTemplatesCommitCall) Fields(s ...googleapi.Field) *ProjectsCatalogTemplatesCommitCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsCatalogTemplatesCommitCall) Header ¶
func (c *ProjectsCatalogTemplatesCommitCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsCatalogTemplatesDeleteCall ¶
type ProjectsCatalogTemplatesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsCatalogTemplatesDeleteCall) Context ¶
func (c *ProjectsCatalogTemplatesDeleteCall) Context(ctx context.Context) *ProjectsCatalogTemplatesDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsCatalogTemplatesDeleteCall) Do ¶
func (c *ProjectsCatalogTemplatesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "dataflow.projects.catalogTemplates.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsCatalogTemplatesDeleteCall) Fields ¶
func (c *ProjectsCatalogTemplatesDeleteCall) Fields(s ...googleapi.Field) *ProjectsCatalogTemplatesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsCatalogTemplatesDeleteCall) Header ¶
func (c *ProjectsCatalogTemplatesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsCatalogTemplatesGetCall ¶
type ProjectsCatalogTemplatesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsCatalogTemplatesGetCall) Context ¶
func (c *ProjectsCatalogTemplatesGetCall) Context(ctx context.Context) *ProjectsCatalogTemplatesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsCatalogTemplatesGetCall) Do ¶
func (c *ProjectsCatalogTemplatesGetCall) Do(opts ...googleapi.CallOption) (*TemplateVersion, error)
Do executes the "dataflow.projects.catalogTemplates.get" call. Exactly one of *TemplateVersion or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TemplateVersion.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsCatalogTemplatesGetCall) Fields ¶
func (c *ProjectsCatalogTemplatesGetCall) Fields(s ...googleapi.Field) *ProjectsCatalogTemplatesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsCatalogTemplatesGetCall) Header ¶
func (c *ProjectsCatalogTemplatesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsCatalogTemplatesGetCall) IfNoneMatch ¶
func (c *ProjectsCatalogTemplatesGetCall) IfNoneMatch(entityTag string) *ProjectsCatalogTemplatesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsCatalogTemplatesLabelCall ¶
type ProjectsCatalogTemplatesLabelCall struct {
// contains filtered or unexported fields
}
func (*ProjectsCatalogTemplatesLabelCall) Context ¶
func (c *ProjectsCatalogTemplatesLabelCall) Context(ctx context.Context) *ProjectsCatalogTemplatesLabelCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsCatalogTemplatesLabelCall) Do ¶
func (c *ProjectsCatalogTemplatesLabelCall) Do(opts ...googleapi.CallOption) (*ModifyTemplateVersionLabelResponse, error)
Do executes the "dataflow.projects.catalogTemplates.label" call. Exactly one of *ModifyTemplateVersionLabelResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ModifyTemplateVersionLabelResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsCatalogTemplatesLabelCall) Fields ¶
func (c *ProjectsCatalogTemplatesLabelCall) Fields(s ...googleapi.Field) *ProjectsCatalogTemplatesLabelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsCatalogTemplatesLabelCall) Header ¶
func (c *ProjectsCatalogTemplatesLabelCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsCatalogTemplatesService ¶
type ProjectsCatalogTemplatesService struct { TemplateVersions *ProjectsCatalogTemplatesTemplateVersionsService // contains filtered or unexported fields }
func NewProjectsCatalogTemplatesService ¶
func NewProjectsCatalogTemplatesService(s *Service) *ProjectsCatalogTemplatesService
func (*ProjectsCatalogTemplatesService) Commit ¶
func (r *ProjectsCatalogTemplatesService) Commit(name string, committemplateversionrequest *CommitTemplateVersionRequest) *ProjectsCatalogTemplatesCommitCall
Commit: Creates a new TemplateVersion (Important: not new Template) entry in the spanner table. Requires project_id and display_name (template).
func (*ProjectsCatalogTemplatesService) Delete ¶
func (r *ProjectsCatalogTemplatesService) Delete(name string) *ProjectsCatalogTemplatesDeleteCall
Delete: Deletes an existing Template. Do nothing if Template does not exist.
func (*ProjectsCatalogTemplatesService) Get ¶
func (r *ProjectsCatalogTemplatesService) Get(name string) *ProjectsCatalogTemplatesGetCall
Get: Get TemplateVersion using project_id and display_name with an optional version_id field. Get latest (has tag "latest") TemplateVersion if version_id not set.
func (*ProjectsCatalogTemplatesService) Label ¶
func (r *ProjectsCatalogTemplatesService) Label(name string, modifytemplateversionlabelrequest *ModifyTemplateVersionLabelRequest) *ProjectsCatalogTemplatesLabelCall
Label: Updates the label of the TemplateVersion. Label can be duplicated in Template, so either add or remove the label in the TemplateVersion.
func (*ProjectsCatalogTemplatesService) Tag ¶
func (r *ProjectsCatalogTemplatesService) Tag(name string, modifytemplateversiontagrequest *ModifyTemplateVersionTagRequest) *ProjectsCatalogTemplatesTagCall
Tag: Updates the tag of the TemplateVersion, and tag is unique in Template. If tag exists in another TemplateVersion in the Template, updates the tag to this TemplateVersion will remove it from the old TemplateVersion and add it to this TemplateVersion. If request is remove_only (remove_only = true), remove the tag from this TemplateVersion.
type ProjectsCatalogTemplatesTagCall ¶
type ProjectsCatalogTemplatesTagCall struct {
// contains filtered or unexported fields
}
func (*ProjectsCatalogTemplatesTagCall) Context ¶
func (c *ProjectsCatalogTemplatesTagCall) Context(ctx context.Context) *ProjectsCatalogTemplatesTagCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsCatalogTemplatesTagCall) Do ¶
func (c *ProjectsCatalogTemplatesTagCall) Do(opts ...googleapi.CallOption) (*ModifyTemplateVersionTagResponse, error)
Do executes the "dataflow.projects.catalogTemplates.tag" call. Exactly one of *ModifyTemplateVersionTagResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ModifyTemplateVersionTagResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsCatalogTemplatesTagCall) Fields ¶
func (c *ProjectsCatalogTemplatesTagCall) Fields(s ...googleapi.Field) *ProjectsCatalogTemplatesTagCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsCatalogTemplatesTagCall) Header ¶
func (c *ProjectsCatalogTemplatesTagCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsCatalogTemplatesTemplateVersionsCreateCall ¶
type ProjectsCatalogTemplatesTemplateVersionsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsCatalogTemplatesTemplateVersionsCreateCall) Context ¶
func (c *ProjectsCatalogTemplatesTemplateVersionsCreateCall) Context(ctx context.Context) *ProjectsCatalogTemplatesTemplateVersionsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsCatalogTemplatesTemplateVersionsCreateCall) Do ¶
func (c *ProjectsCatalogTemplatesTemplateVersionsCreateCall) Do(opts ...googleapi.CallOption) (*TemplateVersion, error)
Do executes the "dataflow.projects.catalogTemplates.templateVersions.create" call. Exactly one of *TemplateVersion or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TemplateVersion.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsCatalogTemplatesTemplateVersionsCreateCall) Fields ¶
func (c *ProjectsCatalogTemplatesTemplateVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsCatalogTemplatesTemplateVersionsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsCatalogTemplatesTemplateVersionsCreateCall) Header ¶
func (c *ProjectsCatalogTemplatesTemplateVersionsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsCatalogTemplatesTemplateVersionsService ¶
type ProjectsCatalogTemplatesTemplateVersionsService struct {
// contains filtered or unexported fields
}
func NewProjectsCatalogTemplatesTemplateVersionsService ¶
func NewProjectsCatalogTemplatesTemplateVersionsService(s *Service) *ProjectsCatalogTemplatesTemplateVersionsService
func (*ProjectsCatalogTemplatesTemplateVersionsService) Create ¶
func (r *ProjectsCatalogTemplatesTemplateVersionsService) Create(parent string, createtemplateversionrequest *CreateTemplateVersionRequest) *ProjectsCatalogTemplatesTemplateVersionsCreateCall
Create: Creates a new Template with TemplateVersion. Requires project_id(projects) and template display_name(catalogTemplates). The template display_name is set by the user.
type ProjectsDeleteSnapshotsCall ¶
type ProjectsDeleteSnapshotsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDeleteSnapshotsCall) Context ¶
func (c *ProjectsDeleteSnapshotsCall) Context(ctx context.Context) *ProjectsDeleteSnapshotsCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsDeleteSnapshotsCall) Do ¶
func (c *ProjectsDeleteSnapshotsCall) Do(opts ...googleapi.CallOption) (*DeleteSnapshotResponse, error)
Do executes the "dataflow.projects.deleteSnapshots" call. Exactly one of *DeleteSnapshotResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DeleteSnapshotResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsDeleteSnapshotsCall) Fields ¶
func (c *ProjectsDeleteSnapshotsCall) Fields(s ...googleapi.Field) *ProjectsDeleteSnapshotsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDeleteSnapshotsCall) Header ¶
func (c *ProjectsDeleteSnapshotsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsDeleteSnapshotsCall) Location ¶
func (c *ProjectsDeleteSnapshotsCall) Location(location string) *ProjectsDeleteSnapshotsCall
Location sets the optional parameter "location": The location that contains this snapshot.
func (*ProjectsDeleteSnapshotsCall) SnapshotId ¶
func (c *ProjectsDeleteSnapshotsCall) SnapshotId(snapshotId string) *ProjectsDeleteSnapshotsCall
SnapshotId sets the optional parameter "snapshotId": The ID of the snapshot.
type ProjectsJobsAggregatedCall ¶
type ProjectsJobsAggregatedCall struct {
// contains filtered or unexported fields
}
func (*ProjectsJobsAggregatedCall) Context ¶
func (c *ProjectsJobsAggregatedCall) Context(ctx context.Context) *ProjectsJobsAggregatedCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsJobsAggregatedCall) Do ¶
func (c *ProjectsJobsAggregatedCall) Do(opts ...googleapi.CallOption) (*ListJobsResponse, error)
Do executes the "dataflow.projects.jobs.aggregated" call. Exactly one of *ListJobsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListJobsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsJobsAggregatedCall) Fields ¶
func (c *ProjectsJobsAggregatedCall) Fields(s ...googleapi.Field) *ProjectsJobsAggregatedCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsJobsAggregatedCall) Filter ¶
func (c *ProjectsJobsAggregatedCall) Filter(filter string) *ProjectsJobsAggregatedCall
Filter sets the optional parameter "filter": The kind of filter to use.
Possible values:
"UNKNOWN" - The filter isn't specified, or is unknown. This returns
all jobs ordered on descending `JobUuid`.
"ALL" - Returns all running jobs first ordered on creation
timestamp, then returns all terminated jobs ordered on the termination timestamp.
"TERMINATED" - Filters the jobs that have a terminated state,
ordered on the termination timestamp. Example terminated states: `JOB_STATE_STOPPED`, `JOB_STATE_UPDATED`, `JOB_STATE_DRAINED`, etc.
"ACTIVE" - Filters the jobs that are running ordered on the
creation timestamp.
func (*ProjectsJobsAggregatedCall) Header ¶
func (c *ProjectsJobsAggregatedCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsJobsAggregatedCall) IfNoneMatch ¶
func (c *ProjectsJobsAggregatedCall) IfNoneMatch(entityTag string) *ProjectsJobsAggregatedCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsJobsAggregatedCall) Location ¶
func (c *ProjectsJobsAggregatedCall) Location(location string) *ProjectsJobsAggregatedCall
Location sets the optional parameter "location": The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
func (*ProjectsJobsAggregatedCall) PageSize ¶
func (c *ProjectsJobsAggregatedCall) PageSize(pageSize int64) *ProjectsJobsAggregatedCall
PageSize sets the optional parameter "pageSize": If there are many jobs, limit response to at most this many. The actual number of jobs returned will be the lesser of max_responses and an unspecified server-defined limit.
func (*ProjectsJobsAggregatedCall) PageToken ¶
func (c *ProjectsJobsAggregatedCall) PageToken(pageToken string) *ProjectsJobsAggregatedCall
PageToken sets the optional parameter "pageToken": Set this to the 'next_page_token' field of a previous response to request additional results in a long list.
func (*ProjectsJobsAggregatedCall) Pages ¶
func (c *ProjectsJobsAggregatedCall) Pages(ctx context.Context, f func(*ListJobsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (*ProjectsJobsAggregatedCall) View ¶
func (c *ProjectsJobsAggregatedCall) View(view string) *ProjectsJobsAggregatedCall
View sets the optional parameter "view": Deprecated. ListJobs always returns summaries now. Use GetJob for other JobViews.
Possible values:
"JOB_VIEW_UNKNOWN" - The job view to return isn't specified, or is
unknown. Responses will contain at least the `JOB_VIEW_SUMMARY` information, and may contain additional information.
"JOB_VIEW_SUMMARY" - Request summary information only: Project ID,
Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.
"JOB_VIEW_ALL" - Request all information available for this job. "JOB_VIEW_DESCRIPTION" - Request summary info and limited job
description data for steps, labels and environment.
type ProjectsJobsCreateCall ¶
type ProjectsJobsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsJobsCreateCall) Context ¶
func (c *ProjectsJobsCreateCall) Context(ctx context.Context) *ProjectsJobsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsJobsCreateCall) Do ¶
func (c *ProjectsJobsCreateCall) Do(opts ...googleapi.CallOption) (*Job, error)
Do executes the "dataflow.projects.jobs.create" call. Exactly one of *Job or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Job.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsJobsCreateCall) Fields ¶
func (c *ProjectsJobsCreateCall) Fields(s ...googleapi.Field) *ProjectsJobsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsJobsCreateCall) Header ¶
func (c *ProjectsJobsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsJobsCreateCall) Location ¶
func (c *ProjectsJobsCreateCall) Location(location string) *ProjectsJobsCreateCall
Location sets the optional parameter "location": The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
func (*ProjectsJobsCreateCall) ReplaceJobId ¶
func (c *ProjectsJobsCreateCall) ReplaceJobId(replaceJobId string) *ProjectsJobsCreateCall
ReplaceJobId sets the optional parameter "replaceJobId": Deprecated. This field is now in the Job message.
func (*ProjectsJobsCreateCall) View ¶
func (c *ProjectsJobsCreateCall) View(view string) *ProjectsJobsCreateCall
View sets the optional parameter "view": The level of information requested in response.
Possible values:
"JOB_VIEW_UNKNOWN" - The job view to return isn't specified, or is
unknown. Responses will contain at least the `JOB_VIEW_SUMMARY` information, and may contain additional information.
"JOB_VIEW_SUMMARY" - Request summary information only: Project ID,
Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.
"JOB_VIEW_ALL" - Request all information available for this job. "JOB_VIEW_DESCRIPTION" - Request summary info and limited job
description data for steps, labels and environment.
type ProjectsJobsDebugGetConfigCall ¶
type ProjectsJobsDebugGetConfigCall struct {
// contains filtered or unexported fields
}
func (*ProjectsJobsDebugGetConfigCall) Context ¶
func (c *ProjectsJobsDebugGetConfigCall) Context(ctx context.Context) *ProjectsJobsDebugGetConfigCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsJobsDebugGetConfigCall) Do ¶
func (c *ProjectsJobsDebugGetConfigCall) Do(opts ...googleapi.CallOption) (*GetDebugConfigResponse, error)
Do executes the "dataflow.projects.jobs.debug.getConfig" call. Exactly one of *GetDebugConfigResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GetDebugConfigResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsJobsDebugGetConfigCall) Fields ¶
func (c *ProjectsJobsDebugGetConfigCall) Fields(s ...googleapi.Field) *ProjectsJobsDebugGetConfigCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsJobsDebugGetConfigCall) Header ¶
func (c *ProjectsJobsDebugGetConfigCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsJobsDebugSendCaptureCall ¶
type ProjectsJobsDebugSendCaptureCall struct {
// contains filtered or unexported fields
}
func (*ProjectsJobsDebugSendCaptureCall) Context ¶
func (c *ProjectsJobsDebugSendCaptureCall) Context(ctx context.Context) *ProjectsJobsDebugSendCaptureCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsJobsDebugSendCaptureCall) Do ¶
func (c *ProjectsJobsDebugSendCaptureCall) Do(opts ...googleapi.CallOption) (*SendDebugCaptureResponse, error)
Do executes the "dataflow.projects.jobs.debug.sendCapture" call. Exactly one of *SendDebugCaptureResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SendDebugCaptureResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsJobsDebugSendCaptureCall) Fields ¶
func (c *ProjectsJobsDebugSendCaptureCall) Fields(s ...googleapi.Field) *ProjectsJobsDebugSendCaptureCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsJobsDebugSendCaptureCall) Header ¶
func (c *ProjectsJobsDebugSendCaptureCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsJobsDebugService ¶
type ProjectsJobsDebugService struct {
// contains filtered or unexported fields
}
func NewProjectsJobsDebugService ¶
func NewProjectsJobsDebugService(s *Service) *ProjectsJobsDebugService
func (*ProjectsJobsDebugService) GetConfig ¶
func (r *ProjectsJobsDebugService) GetConfig(projectId string, jobId string, getdebugconfigrequest *GetDebugConfigRequest) *ProjectsJobsDebugGetConfigCall
GetConfig: Get encoded debug configuration for component. Not cacheable.
func (*ProjectsJobsDebugService) SendCapture ¶
func (r *ProjectsJobsDebugService) SendCapture(projectId string, jobId string, senddebugcapturerequest *SendDebugCaptureRequest) *ProjectsJobsDebugSendCaptureCall
SendCapture: Send encoded debug capture data for component.
type ProjectsJobsGetCall ¶
type ProjectsJobsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsJobsGetCall) Context ¶
func (c *ProjectsJobsGetCall) Context(ctx context.Context) *ProjectsJobsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsJobsGetCall) Do ¶
func (c *ProjectsJobsGetCall) Do(opts ...googleapi.CallOption) (*Job, error)
Do executes the "dataflow.projects.jobs.get" call. Exactly one of *Job or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Job.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsJobsGetCall) Fields ¶
func (c *ProjectsJobsGetCall) Fields(s ...googleapi.Field) *ProjectsJobsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsJobsGetCall) Header ¶
func (c *ProjectsJobsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsJobsGetCall) IfNoneMatch ¶
func (c *ProjectsJobsGetCall) IfNoneMatch(entityTag string) *ProjectsJobsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsJobsGetCall) Location ¶
func (c *ProjectsJobsGetCall) Location(location string) *ProjectsJobsGetCall
Location sets the optional parameter "location": The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
func (*ProjectsJobsGetCall) View ¶
func (c *ProjectsJobsGetCall) View(view string) *ProjectsJobsGetCall
View sets the optional parameter "view": The level of information requested in response.
Possible values:
"JOB_VIEW_UNKNOWN" - The job view to return isn't specified, or is
unknown. Responses will contain at least the `JOB_VIEW_SUMMARY` information, and may contain additional information.
"JOB_VIEW_SUMMARY" - Request summary information only: Project ID,
Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.
"JOB_VIEW_ALL" - Request all information available for this job. "JOB_VIEW_DESCRIPTION" - Request summary info and limited job
description data for steps, labels and environment.
type ProjectsJobsGetMetricsCall ¶
type ProjectsJobsGetMetricsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsJobsGetMetricsCall) Context ¶
func (c *ProjectsJobsGetMetricsCall) Context(ctx context.Context) *ProjectsJobsGetMetricsCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsJobsGetMetricsCall) Do ¶
func (c *ProjectsJobsGetMetricsCall) Do(opts ...googleapi.CallOption) (*JobMetrics, error)
Do executes the "dataflow.projects.jobs.getMetrics" call. Exactly one of *JobMetrics or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *JobMetrics.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsJobsGetMetricsCall) Fields ¶
func (c *ProjectsJobsGetMetricsCall) Fields(s ...googleapi.Field) *ProjectsJobsGetMetricsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsJobsGetMetricsCall) Header ¶
func (c *ProjectsJobsGetMetricsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsJobsGetMetricsCall) IfNoneMatch ¶
func (c *ProjectsJobsGetMetricsCall) IfNoneMatch(entityTag string) *ProjectsJobsGetMetricsCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsJobsGetMetricsCall) Location ¶
func (c *ProjectsJobsGetMetricsCall) Location(location string) *ProjectsJobsGetMetricsCall
Location sets the optional parameter "location": The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.
func (*ProjectsJobsGetMetricsCall) StartTime ¶
func (c *ProjectsJobsGetMetricsCall) StartTime(startTime string) *ProjectsJobsGetMetricsCall
StartTime sets the optional parameter "startTime": Return only metric data that has changed since this time. Default is to return all information about all metrics for the job.
type ProjectsJobsListCall ¶
type ProjectsJobsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsJobsListCall) Context ¶
func (c *ProjectsJobsListCall) Context(ctx context.Context) *ProjectsJobsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsJobsListCall) Do ¶
func (c *ProjectsJobsListCall) Do(opts ...googleapi.CallOption) (*ListJobsResponse, error)
Do executes the "dataflow.projects.jobs.list" call. Exactly one of *ListJobsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListJobsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsJobsListCall) Fields ¶
func (c *ProjectsJobsListCall) Fields(s ...googleapi.Field) *ProjectsJobsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsJobsListCall) Filter ¶
func (c *ProjectsJobsListCall) Filter(filter string) *ProjectsJobsListCall
Filter sets the optional parameter "filter": The kind of filter to use.
Possible values:
"UNKNOWN" - The filter isn't specified, or is unknown. This returns
all jobs ordered on descending `JobUuid`.
"ALL" - Returns all running jobs first ordered on creation
timestamp, then returns all terminated jobs ordered on the termination timestamp.
"TERMINATED" - Filters the jobs that have a terminated state,
ordered on the termination timestamp. Example terminated states: `JOB_STATE_STOPPED`, `JOB_STATE_UPDATED`, `JOB_STATE_DRAINED`, etc.
"ACTIVE" - Filters the jobs that are running ordered on the
creation timestamp.
func (*ProjectsJobsListCall) Header ¶
func (c *ProjectsJobsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsJobsListCall) IfNoneMatch ¶
func (c *ProjectsJobsListCall) IfNoneMatch(entityTag string) *ProjectsJobsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsJobsListCall) Location ¶
func (c *ProjectsJobsListCall) Location(location string) *ProjectsJobsListCall
Location sets the optional parameter "location": The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
func (*ProjectsJobsListCall) PageSize ¶
func (c *ProjectsJobsListCall) PageSize(pageSize int64) *ProjectsJobsListCall
PageSize sets the optional parameter "pageSize": If there are many jobs, limit response to at most this many. The actual number of jobs returned will be the lesser of max_responses and an unspecified server-defined limit.
func (*ProjectsJobsListCall) PageToken ¶
func (c *ProjectsJobsListCall) PageToken(pageToken string) *ProjectsJobsListCall
PageToken sets the optional parameter "pageToken": Set this to the 'next_page_token' field of a previous response to request additional results in a long list.
func (*ProjectsJobsListCall) Pages ¶
func (c *ProjectsJobsListCall) Pages(ctx context.Context, f func(*ListJobsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (*ProjectsJobsListCall) View ¶
func (c *ProjectsJobsListCall) View(view string) *ProjectsJobsListCall
View sets the optional parameter "view": Deprecated. ListJobs always returns summaries now. Use GetJob for other JobViews.
Possible values:
"JOB_VIEW_UNKNOWN" - The job view to return isn't specified, or is
unknown. Responses will contain at least the `JOB_VIEW_SUMMARY` information, and may contain additional information.
"JOB_VIEW_SUMMARY" - Request summary information only: Project ID,
Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.
"JOB_VIEW_ALL" - Request all information available for this job. "JOB_VIEW_DESCRIPTION" - Request summary info and limited job
description data for steps, labels and environment.
type ProjectsJobsMessagesListCall ¶
type ProjectsJobsMessagesListCall struct {
// contains filtered or unexported fields
}