api: google.golang.org/api/dataflow/v1b3 Index | Files

package dataflow

import "google.golang.org/api/dataflow/v1b3"

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

Package Files

dataflow-gen.go

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.

type ApproximateProgress Uses

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 Uses

func (s *ApproximateProgress) MarshalJSON() ([]byte, error)

func (*ApproximateProgress) UnmarshalJSON Uses

func (s *ApproximateProgress) UnmarshalJSON(data []byte) error

type ApproximateReportedProgress Uses

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 Uses

func (s *ApproximateReportedProgress) MarshalJSON() ([]byte, error)

func (*ApproximateReportedProgress) UnmarshalJSON Uses

func (s *ApproximateReportedProgress) UnmarshalJSON(data []byte) error

type ApproximateSplitRequest Uses

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 Uses

func (s *ApproximateSplitRequest) MarshalJSON() ([]byte, error)

func (*ApproximateSplitRequest) UnmarshalJSON Uses

func (s *ApproximateSplitRequest) UnmarshalJSON(data []byte) error

type AutoscalingEvent Uses

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 Uses

func (s *AutoscalingEvent) MarshalJSON() ([]byte, error)

type AutoscalingSettings Uses

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 Uses

func (s *AutoscalingSettings) MarshalJSON() ([]byte, error)

type BigQueryIODetails Uses

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 Uses

func (s *BigQueryIODetails) MarshalJSON() ([]byte, error)

type BigTableIODetails Uses

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 Uses

func (s *BigTableIODetails) MarshalJSON() ([]byte, error)

type CPUTime Uses

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 Uses

func (s *CPUTime) MarshalJSON() ([]byte, error)

func (*CPUTime) UnmarshalJSON Uses

func (s *CPUTime) UnmarshalJSON(data []byte) error

type ComponentSource Uses

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 Uses

func (s *ComponentSource) MarshalJSON() ([]byte, error)

type ComponentTransform Uses

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 Uses

func (s *ComponentTransform) MarshalJSON() ([]byte, error)

type ComputationTopology Uses

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 Uses

func (s *ComputationTopology) MarshalJSON() ([]byte, error)

type ConcatPosition Uses

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 Uses

func (s *ConcatPosition) MarshalJSON() ([]byte, error)

type CounterMetadata Uses

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 Uses

func (s *CounterMetadata) MarshalJSON() ([]byte, error)

type CounterStructuredName Uses

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 Uses

func (s *CounterStructuredName) MarshalJSON() ([]byte, error)

type CounterStructuredNameAndMetadata Uses

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 Uses

func (s *CounterStructuredNameAndMetadata) MarshalJSON() ([]byte, error)

type CounterUpdate Uses

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 Uses

func (s *CounterUpdate) MarshalJSON() ([]byte, error)

func (*CounterUpdate) UnmarshalJSON Uses

func (s *CounterUpdate) UnmarshalJSON(data []byte) error

type CreateJobFromTemplateRequest Uses

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-en
    // dpoints) 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 Uses

func (s *CreateJobFromTemplateRequest) MarshalJSON() ([]byte, error)

type CustomSourceLocation Uses

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 Uses

func (s *CustomSourceLocation) MarshalJSON() ([]byte, error)

type DataDiskAssignment Uses

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 Uses

func (s *DataDiskAssignment) MarshalJSON() ([]byte, error)

type DatastoreIODetails Uses

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 Uses

func (s *DatastoreIODetails) MarshalJSON() ([]byte, error)

type DeleteSnapshotResponse Uses

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 Uses

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 Uses

func (s *DerivedSource) MarshalJSON() ([]byte, error)

type Disk Uses

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-standard
    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 Uses

func (s *Disk) MarshalJSON() ([]byte, error)

type DisplayData Uses

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 Uses

func (s *DisplayData) MarshalJSON() ([]byte, error)

func (*DisplayData) UnmarshalJSON Uses

func (s *DisplayData) UnmarshalJSON(data []byte) error

type DistributionUpdate Uses

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 Uses

func (s *DistributionUpdate) MarshalJSON() ([]byte, error)

func (*DistributionUpdate) UnmarshalJSON Uses

func (s *DistributionUpdate) UnmarshalJSON(data []byte) error

type DynamicSourceSplit Uses

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 Uses

func (s *DynamicSourceSplit) MarshalJSON() ([]byte, error)

type Environment Uses

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"`

    // 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"`

    // 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 Uses

func (s *Environment) MarshalJSON() ([]byte, error)

type ExecutionStageState Uses

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`.
    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 Uses

func (s *ExecutionStageState) MarshalJSON() ([]byte, error)

type ExecutionStageSummary Uses

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"`

    // 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 Uses

func (s *ExecutionStageSummary) MarshalJSON() ([]byte, error)

type FailedLocation Uses

type FailedLocation struct {
    // Name: The name of the [regional
    // endpoint]
    // (https://cloud.google.com/dataflow/docs/concepts/regional-en
    // dpoints) 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-en dpoints) failed to respond to a request for data.

func (*FailedLocation) MarshalJSON Uses

func (s *FailedLocation) MarshalJSON() ([]byte, error)

type FileIODetails Uses

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 Uses

func (s *FileIODetails) MarshalJSON() ([]byte, error)

type FlattenInstruction Uses

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 Uses

func (s *FlattenInstruction) MarshalJSON() ([]byte, error)

type FloatingPointList Uses

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 Uses

func (s *FloatingPointList) MarshalJSON() ([]byte, error)

type FloatingPointMean Uses

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 Uses

func (s *FloatingPointMean) MarshalJSON() ([]byte, error)

func (*FloatingPointMean) UnmarshalJSON Uses

func (s *FloatingPointMean) UnmarshalJSON(data []byte) error

type GetDebugConfigRequest Uses

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-en
    // dpoints) 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 Uses

func (s *GetDebugConfigRequest) MarshalJSON() ([]byte, error)

type GetDebugConfigResponse Uses

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 Uses

func (s *GetDebugConfigResponse) MarshalJSON() ([]byte, error)

type GetTemplateResponse Uses

type GetTemplateResponse struct {
    // Metadata: The template metadata describing the template name,
    // available
    // parameters, etc.
    Metadata *TemplateMetadata `json:"metadata,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"`

    // 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 Uses

func (s *GetTemplateResponse) MarshalJSON() ([]byte, error)

type Histogram Uses

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 Uses

func (s *Histogram) MarshalJSON() ([]byte, error)

type HotKeyDetection Uses

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 Uses

func (s *HotKeyDetection) MarshalJSON() ([]byte, error)

type InstructionInput Uses

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 Uses

func (s *InstructionInput) MarshalJSON() ([]byte, error)

type InstructionOutput Uses

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 Uses

func (s *InstructionOutput) MarshalJSON() ([]byte, error)

type IntegerGauge Uses

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 Uses

func (s *IntegerGauge) MarshalJSON() ([]byte, error)

type IntegerList Uses

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 Uses

func (s *IntegerList) MarshalJSON() ([]byte, error)

type IntegerMean Uses

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 Uses

func (s *IntegerMean) MarshalJSON() ([]byte, error)

type Job Uses

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`.
    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-en
    // dpoints) 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`.
    RequestedState string `json:"requestedState,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.
    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.

func (*Job) MarshalJSON Uses

func (s *Job) MarshalJSON() ([]byte, error)

type JobExecutionInfo Uses

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 Uses

func (s *JobExecutionInfo) MarshalJSON() ([]byte, error)

type JobExecutionStageInfo Uses

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 Uses

func (s *JobExecutionStageInfo) MarshalJSON() ([]byte, error)

type JobMessage Uses

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 Uses

func (s *JobMessage) MarshalJSON() ([]byte, error)

type JobMetadata Uses

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 Uses

func (s *JobMetadata) MarshalJSON() ([]byte, error)

type JobMetrics Uses

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 Uses

func (s *JobMetrics) MarshalJSON() ([]byte, error)

type KeyRangeDataDiskAssignment Uses

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 Uses

func (s *KeyRangeDataDiskAssignment) MarshalJSON() ([]byte, error)

type KeyRangeLocation Uses

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 Uses

func (s *KeyRangeLocation) MarshalJSON() ([]byte, error)

type LaunchTemplateParameters Uses

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 Uses

func (s *LaunchTemplateParameters) MarshalJSON() ([]byte, error)

type LaunchTemplateResponse Uses

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 Uses

func (s *LaunchTemplateResponse) MarshalJSON() ([]byte, error)

type LeaseWorkItemRequest Uses

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-en
    // dpoints) 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 Uses

func (s *LeaseWorkItemRequest) MarshalJSON() ([]byte, error)

type LeaseWorkItemResponse Uses

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 Uses

func (s *LeaseWorkItemResponse) MarshalJSON() ([]byte, error)

type ListJobMessagesResponse Uses

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 Uses

func (s *ListJobMessagesResponse) MarshalJSON() ([]byte, error)

type ListJobsResponse Uses

type ListJobsResponse struct {
    // FailedLocation: Zero or more messages describing the [regional
    // endpoints]
    // (https://cloud.google.com/dataflow/docs/concepts/regional-e
    // ndpoints) 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. This may be a partial response, depending on the page size in the ListJobsRequest.

func (*ListJobsResponse) MarshalJSON Uses

func (s *ListJobsResponse) MarshalJSON() ([]byte, error)

type ListSnapshotsResponse Uses

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 Uses

func (s *ListSnapshotsResponse) MarshalJSON() ([]byte, error)

type MapTask Uses

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 Uses

func (s *MapTask) MarshalJSON() ([]byte, error)

type MetricShortId Uses

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 Uses

func (s *MetricShortId) MarshalJSON() ([]byte, error)

type MetricStructuredName Uses

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'] = <step-name>. Counters associated with
    // PCollections
    // in the SDK will have context['pcollection'] = <pcollection-name>.
    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 Uses

func (s *MetricStructuredName) MarshalJSON() ([]byte, error)

type MetricUpdate Uses

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 Uses

func (s *MetricUpdate) MarshalJSON() ([]byte, error)

type MountedDataDisk Uses

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 Uses

func (s *MountedDataDisk) MarshalJSON() ([]byte, error)

type MultiOutputInfo Uses

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 Uses

func (s *MultiOutputInfo) MarshalJSON() ([]byte, error)

type NameAndKind Uses

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 Uses

func (s *NameAndKind) MarshalJSON() ([]byte, error)

type Package Uses

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 Uses

func (s *Package) MarshalJSON() ([]byte, error)

type ParDoInstruction Uses

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 Uses

func (s *ParDoInstruction) MarshalJSON() ([]byte, error)

type ParallelInstruction Uses

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 Uses

func (s *ParallelInstruction) MarshalJSON() ([]byte, error)

type Parameter Uses

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 Uses

func (s *Parameter) MarshalJSON() ([]byte, error)

type ParameterMetadata Uses

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"`

    // 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 Uses

func (s *ParameterMetadata) MarshalJSON() ([]byte, error)

type PartialGroupByKeyInstruction Uses

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 Uses

func (s *PartialGroupByKeyInstruction) MarshalJSON() ([]byte, error)

type PipelineDescription Uses

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 Uses

func (s *PipelineDescription) MarshalJSON() ([]byte, error)

type Position Uses

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 Uses

func (s *Position) MarshalJSON() ([]byte, error)

type ProjectsDeleteSnapshotsCall Uses

type ProjectsDeleteSnapshotsCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsDeleteSnapshotsCall) Context Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (c *ProjectsDeleteSnapshotsCall) Location(location string) *ProjectsDeleteSnapshotsCall

Location sets the optional parameter "location": The location that contains this snapshot.

func (*ProjectsDeleteSnapshotsCall) SnapshotId Uses

func (c *ProjectsDeleteSnapshotsCall) SnapshotId(snapshotId string) *ProjectsDeleteSnapshotsCall

SnapshotId sets the optional parameter "snapshotId": The ID of the snapshot.

type ProjectsJobsAggregatedCall Uses

type ProjectsJobsAggregatedCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsJobsAggregatedCall) Context Uses

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 Uses

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 Uses

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 Uses

func (c *ProjectsJobsAggregatedCall) Filter(filter string) *ProjectsJobsAggregatedCall

Filter sets the optional parameter "filter": The kind of filter to use.

Possible values:

"UNKNOWN"
"ALL"
"TERMINATED"
"ACTIVE"

func (*ProjectsJobsAggregatedCall) Header Uses

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 Uses

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 Uses

func (c *ProjectsJobsAggregatedCall) Location(location string) *ProjectsJobsAggregatedCall

Location sets the optional parameter "location": The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-en dpoints) that contains this job.

func (*ProjectsJobsAggregatedCall) PageSize Uses

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 Uses

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 Uses

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 Uses

func (c *ProjectsJobsAggregatedCall) View(view string) *ProjectsJobsAggregatedCall

View sets the optional parameter "view": Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.

Possible values:

"JOB_VIEW_UNKNOWN"
"JOB_VIEW_SUMMARY"
"JOB_VIEW_ALL"
"JOB_VIEW_DESCRIPTION"

type ProjectsJobsCreateCall Uses

type ProjectsJobsCreateCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsJobsCreateCall) Context Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (c *ProjectsJobsCreateCall) Location(location string) *ProjectsJobsCreateCall

Location sets the optional parameter "location": The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-en dpoints) that contains this job.

func (*ProjectsJobsCreateCall) ReplaceJobId Uses

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 Uses

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"
"JOB_VIEW_SUMMARY"
"JOB_VIEW_ALL"
"JOB_VIEW_DESCRIPTION"

type ProjectsJobsDebugGetConfigCall Uses

type ProjectsJobsDebugGetConfigCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsJobsDebugGetConfigCall) Context Uses

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 Uses

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 Uses

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 Uses

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 Uses

type ProjectsJobsDebugSendCaptureCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsJobsDebugSendCaptureCall) Context Uses

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 Uses

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 Uses

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 Uses

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 Uses

type ProjectsJobsDebugService struct {
    // contains filtered or unexported fields
}

func NewProjectsJobsDebugService Uses

func NewProjectsJobsDebugService(s *Service) *ProjectsJobsDebugService

func (*ProjectsJobsDebugService) GetConfig Uses

func (r *ProjectsJobsDebugService) GetConfig(projectId string, jobId string, getdebugconfigrequest *GetDebugConfigRequest) *ProjectsJobsDebugGetConfigCall

GetConfig: Get encoded debug configuration for component. Not cacheable.

func (*ProjectsJobsDebugService) SendCapture Uses

func (r *ProjectsJobsDebugService) SendCapture(projectId string, jobId string, senddebugcapturerequest *SendDebugCaptureRequest) *ProjectsJobsDebugSendCaptureCall

SendCapture: Send encoded debug capture data for component.

type ProjectsJobsGetCall Uses

type ProjectsJobsGetCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsJobsGetCall) Context Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (c *ProjectsJobsGetCall) Location(location string) *ProjectsJobsGetCall

Location sets the optional parameter "location": The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-en dpoints) that contains this job.

func (*ProjectsJobsGetCall) View Uses

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"
"JOB_VIEW_SUMMARY"
"JOB_VIEW_ALL"
"JOB_VIEW_DESCRIPTION"

type ProjectsJobsGetMetricsCall Uses

type ProjectsJobsGetMetricsCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsJobsGetMetricsCall) Context Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (c *ProjectsJobsGetMetricsCall) Location(location string) *ProjectsJobsGetMetricsCall

Location sets the optional parameter "location": The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-en dpoints) that contains the job specified by job_id.

func (*ProjectsJobsGetMetricsCall) StartTime Uses

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 Uses

type ProjectsJobsListCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsJobsListCall) Context Uses

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 Uses

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 Uses

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 Uses

func (c *ProjectsJobsListCall) Filter(filter string) *ProjectsJobsListCall

Filter sets the optional parameter "filter": The kind of filter to use.

Possible values:

"UNKNOWN"
"ALL"
"TERMINATED"
"ACTIVE"

func (*ProjectsJobsListCall) Header Uses

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 Uses

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 Uses

func (c *ProjectsJobsListCall) Location(location string) *ProjectsJobsListCall

Location sets the optional parameter "location": The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-en dpoints) that contains this job.

func (*ProjectsJobsListCall) PageSize Uses

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 Uses

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 Uses

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 Uses

func (c *ProjectsJobsListCall) View(view string) *ProjectsJobsListCall

View sets the optional parameter "view": Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.

Possible values:

"JOB_VIEW_UNKNOWN"
"JOB_VIEW_SUMMARY"
"JOB_VIEW_ALL"
"JOB_VIEW_DESCRIPTION"

type ProjectsJobsMessagesListCall Uses

type ProjectsJobsMessagesListCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsJobsMessagesListCall) Context Uses

func (c *ProjectsJobsMessagesListCall) Context(ctx context.Context) *ProjectsJobsMessagesListCall

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 (*ProjectsJobsMessagesListCall) Do Uses

func (c *ProjectsJobsMessagesListCall) Do(opts ...googleapi.CallOption) (*ListJobMessagesResponse, error)

Do executes the "dataflow.projects.jobs.messages.list" call. Exactly one of *ListJobMessagesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListJobMessagesResponse.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 (*ProjectsJobsMessagesListCall) EndTime Uses

func (c *ProjectsJobsMessagesListCall) EndTime(endTime string) *ProjectsJobsMessagesListCall

EndTime sets the optional parameter "endTime": Return only messages with timestamps < end_time. The default is now (i.e. return up to the latest messages available).

func (*ProjectsJobsMessagesListCall) Fields Uses

func (c *ProjectsJobsMessagesListCall) Fields(s ...googleapi.Field) *ProjectsJobsMessagesListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsJobsMessagesListCall) Header Uses

func (c *ProjectsJobsMessagesListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsJobsMessagesListCall) IfNoneMatch Uses

func (c *ProjectsJobsMessagesListCall) IfNoneMatch(entityTag string) *ProjectsJobsMessagesListCall

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 (*ProjectsJobsMessagesListCall) Location Uses

func (c *ProjectsJobsMessagesListCall) Location(location string) *ProjectsJobsMessagesListCall

Location sets the optional parameter "location": The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-en dpoints) that contains the job specified by job_id.

func (*ProjectsJobsMessagesListCall) MinimumImportance Uses

func (c *ProjectsJobsMessagesListCall) MinimumImportance(minimumImportance string) *ProjectsJobsMessagesListCall

MinimumImportance sets the optional parameter "minimumImportance": Filter to only get messages with importance >= level

Possible values:

"JOB_MESSAGE_IMPORTANCE_UNKNOWN"
"JOB_MESSAGE_DEBUG"
"JOB_MESSAGE_DETAILED"
"JOB_MESSAGE_BASIC"
"JOB_MESSAGE_WARNING"
"JOB_MESSAGE_ERROR"

func (*ProjectsJobsMessagesListCall) PageSize Uses

func (c *ProjectsJobsMessagesListCall) PageSize(pageSize int64) *ProjectsJobsMessagesListCall

PageSize sets the optional parameter "pageSize": If specified, determines the maximum number of messages to return. If unspecified, the service may choose an appropriate default, or may return an arbitrarily large number of results.

func (*ProjectsJobsMessagesListCall) PageToken Uses

func (c *ProjectsJobsMessagesListCall) PageToken(pageToken string) *ProjectsJobsMessagesListCall

PageToken sets the optional parameter "pageToken": If supplied, this should be the value of next_page_token returned by an earlier call. This will cause the next page of results to be returned.

func (*ProjectsJobsMessagesListCall) Pages Uses

func (c *ProjectsJobsMessagesListCall) Pages(ctx context.Context, f func(*ListJobMessagesResponse) 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 (*ProjectsJobsMessagesListCall) StartTime Uses

func (c *ProjectsJobsMessagesListCall) StartTime(startTime string) *ProjectsJobsMessagesListCall

StartTime sets the optional parameter "startTime": If specified, return only messages with timestamps >= start_time. The default is the job creation time (i.e. beginning of messages).

type ProjectsJobsMessagesService Uses

type ProjectsJobsMessagesService struct {
    // contains filtered or unexported fields
}

func NewProjectsJobsMessagesService Uses

func NewProjectsJobsMessagesService(s *Service) *ProjectsJobsMessagesService

func (*ProjectsJobsMessagesService) List Uses

func (r *ProjectsJobsMessagesService) List(projectId string, jobId string) *ProjectsJobsMessagesListCall

List: Request the job status.

To request the status of a job, we recommend using `projects.locations.jobs.messages.list` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-en dpoints). Using `projects.jobs.messages.list` is not recommended, as you can only request the status of jobs that are running in `us-central1`.

type ProjectsJobsService Uses

type ProjectsJobsService struct {
    Debug *ProjectsJobsDebugService

    Messages *ProjectsJobsMessagesService

    WorkItems *ProjectsJobsWorkItemsService
    // contains filtered or unexported fields
}

func NewProjectsJobsService Uses

func NewProjectsJobsService(s *Service) *ProjectsJobsService

func (*ProjectsJobsService) Aggregated Uses

func (r *ProjectsJobsService) Aggregated(projectId string) *ProjectsJobsAggregatedCall

Aggregated: List the jobs of a project across all regions.

func (*ProjectsJobsService) Create Uses

func (r *ProjectsJobsService) Create(projectId string, job *Job) *ProjectsJobsCreateCall

Create: Creates a Cloud Dataflow job.

To create a job, we recommend using `projects.locations.jobs.create` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-en dpoints). Using `projects.jobs.create` is not recommended, as your job will always start in `us-central1`.

func (*ProjectsJobsService) Get Uses

func (r *ProjectsJobsService) Get(projectId string, jobId string) *ProjectsJobsGetCall

Get: Gets the state of the specified Cloud Dataflow job.

To get the state of a job, we recommend using `projects.locations.jobs.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-en dpoints). Using `projects.jobs.get` is not recommended, as you can only get the state of jobs that are running in `us-central1`.

func (*ProjectsJobsService) GetMetrics Uses

func (r *ProjectsJobsService) GetMetrics(projectId string, jobId string) *ProjectsJobsGetMetricsCall

GetMetrics: Request the job status.

To request the status of a job, we recommend using `projects.locations.jobs.getMetrics` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-en dpoints). Using `projects.jobs.getMetrics` is not recommended, as you can only request the status of jobs that are running in `us-central1`.

func (*ProjectsJobsService) List Uses

func (r *ProjectsJobsService) List(projectId string) *ProjectsJobsListCall

List: List the jobs of a project.

To list the jobs of a project in a region, we recommend using `projects.locations.jobs.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-en dpoints). To list the all jobs across all regions, use `projects.jobs.aggregated`. Using `projects.jobs.list` is not recommended, as you can only get the list of jobs that are running in `us-central1`.

func (*ProjectsJobsService) Snapshot Uses

func (r *ProjectsJobsService) Snapshot(projectId string, jobId string, snapshotjobrequest *SnapshotJobRequest) *ProjectsJobsSnapshotCall

Snapshot: Snapshot the state of a streaming job.

func (*ProjectsJobsService) Update Uses

func (r *ProjectsJobsService) Update(projectId string, jobId string, job *Job) *ProjectsJobsUpdateCall

Update: Updates the state of an existing Cloud Dataflow job.

To update the state of an existing job, we recommend using `projects.locations.jobs.update` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-en dpoints). Using `projects.jobs.update` is not recommended, as you can only update the state of jobs that are running in `us-central1`.

type ProjectsJobsSnapshotCall Uses

type ProjectsJobsSnapshotCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsJobsSnapshotCall) Context Uses

func (c *ProjectsJobsSnapshotCall) Context(ctx context.Context) *ProjectsJobsSnapshotCall

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 (*ProjectsJobsSnapshotCall) Do Uses

func (c *ProjectsJobsSnapshotCall) Do(opts ...googleapi.CallOption) (*Snapshot, error)

Do executes the "dataflow.projects.jobs.snapshot" call. Exactly one of *Snapshot or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Snapshot.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 (*ProjectsJobsSnapshotCall) Fields Uses

func (c *ProjectsJobsSnapshotCall) Fields(s ...googleapi.Field) *ProjectsJobsSnapshotCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsJobsSnapshotCall) Header Uses

func (c *ProjectsJobsSnapshotCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsJobsUpdateCall Uses

type ProjectsJobsUpdateCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsJobsUpdateCall) Context Uses

func (c *ProjectsJobsUpdateCall) Context(ctx context.Context) *ProjectsJobsUpdateCall

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 (*ProjectsJobsUpdateCall) Do Uses

func (c *ProjectsJobsUpdateCall) Do(opts ...googleapi.CallOption) (*Job, error)

Do executes the "dataflow.projects.jobs.update" 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 (*ProjectsJobsUpdateCall) Fields Uses

func (c *ProjectsJobsUpdateCall) Fields(s ...googleapi.Field) *ProjectsJobsUpdateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsJobsUpdateCall) Header Uses

func (c *ProjectsJobsUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsJobsUpdateCall) Location Uses

func (c *ProjectsJobsUpdateCall) Location(location string) *ProjectsJobsUpdateCall

Location sets the optional parameter "location": The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-en dpoints) that contains this job.

type ProjectsJobsWorkItemsLeaseCall Uses

type ProjectsJobsWorkItemsLeaseCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsJobsWorkItemsLeaseCall) Context Uses

func (c *ProjectsJobsWorkItemsLeaseCall) Context(ctx context.Context) *ProjectsJobsWorkItemsLeaseCall

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 (*ProjectsJobsWorkItemsLeaseCall) Do Uses

func (c *ProjectsJobsWorkItemsLeaseCall) Do(opts ...googleapi.CallOption) (*LeaseWorkItemResponse, error)

Do executes the "dataflow.projects.jobs.workItems.lease" call. Exactly one of *LeaseWorkItemResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LeaseWorkItemResponse.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 (*ProjectsJobsWorkItemsLeaseCall) Fields Uses

func (c *ProjectsJobsWorkItemsLeaseCall) Fields(s ...googleapi.Field) *ProjectsJobsWorkItemsLeaseCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsJobsWorkItemsLeaseCall) Header Uses

func (c *ProjectsJobsWorkItemsLeaseCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsJobsWorkItemsReportStatusCall Uses

type ProjectsJobsWorkItemsReportStatusCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsJobsWorkItemsReportStatusCall) Context Uses

func (c *ProjectsJobsWorkItemsReportStatusCall) Context(ctx context.Context) *ProjectsJobsWorkItemsReportStatusCall

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 (*ProjectsJobsWorkItemsReportStatusCall) Do Uses

func (c *ProjectsJobsWorkItemsReportStatusCall) Do(opts ...googleapi.CallOption) (*ReportWorkItemStatusResponse, error)

Do executes the "dataflow.projects.jobs.workItems.reportStatus" call. Exactly one of *ReportWorkItemStatusResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ReportWorkItemStatusResponse.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 (*ProjectsJobsWorkItemsReportStatusCall) Fields Uses

func (c *ProjectsJobsWorkItemsReportStatusCall) Fields(s ...googleapi.Field) *ProjectsJobsWorkItemsReportStatusCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsJobsWorkItemsReportStatusCall) Header Uses

func (c *ProjectsJobsWorkItemsReportStatusCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsJobsWorkItemsService Uses

type ProjectsJobsWorkItemsService struct {
    // contains filtered or unexported fields
}

func NewProjectsJobsWorkItemsService Uses

func NewProjectsJobsWorkItemsService(s *Service) *ProjectsJobsWorkItemsService

func (*ProjectsJobsWorkItemsService) Lease Uses

func (r *ProjectsJobsWorkItemsService) Lease(projectId string, jobId string, leaseworkitemrequest *LeaseWorkItemRequest) *ProjectsJobsWorkItemsLeaseCall

Lease: Leases a dataflow WorkItem to run.

func (*ProjectsJobsWorkItemsService) ReportStatus Uses

func (r *ProjectsJobsWorkItemsService) ReportStatus(projectId string, jobId string, reportworkitemstatusrequest *ReportWorkItemStatusRequest) *ProjectsJobsWorkItemsReportStatusCall

ReportStatus: Reports the status of dataflow WorkItems leased by a worker.

type ProjectsLocationsJobsCreateCall Uses

type ProjectsLocationsJobsCreateCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsJobsCreateCall) Context Uses

func (c *ProjectsLocationsJobsCreateCall) Context(ctx context.Context) *ProjectsLocationsJobsCreateCall

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 (*ProjectsLocationsJobsCreateCall) Do Uses

func (c *ProjectsLocationsJobsCreateCall) Do(opts ...googleapi.CallOption) (*Job, error)

Do executes the "dataflow.projects.locations.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 (*ProjectsLocationsJobsCreateCall) Fields Uses

func (c *ProjectsLocationsJobsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsCreateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsJobsCreateCall) Header Uses

func (c *ProjectsLocationsJobsCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsJobsCreateCall) ReplaceJobId Uses

func (c *ProjectsLocationsJobsCreateCall) ReplaceJobId(replaceJobId string) *ProjectsLocationsJobsCreateCall

ReplaceJobId sets the optional parameter "replaceJobId": Deprecated. This field is now in the Job message.

func (*ProjectsLocationsJobsCreateCall) View Uses

func (c *ProjectsLocationsJobsCreateCall) View(view string) *ProjectsLocationsJobsCreateCall

View sets the optional parameter "view": The level of information requested in response.

Possible values:

"JOB_VIEW_UNKNOWN"
"JOB_VIEW_SUMMARY"
"JOB_VIEW_ALL"
"JOB_VIEW_DESCRIPTION"

type ProjectsLocationsJobsDebugGetConfigCall Uses

type ProjectsLocationsJobsDebugGetConfigCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsJobsDebugGetConfigCall) Context Uses

func (c *ProjectsLocationsJobsDebugGetConfigCall) Context(ctx context.Context) *ProjectsLocationsJobsDebugGetConfigCall

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 (*ProjectsLocationsJobsDebugGetConfigCall) Do Uses

func (c *ProjectsLocationsJobsDebugGetConfigCall) Do(opts ...googleapi.CallOption) (*GetDebugConfigResponse, error)

Do executes the "dataflow.projects.locations.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 (*ProjectsLocationsJobsDebugGetConfigCall) Fields Uses

func (c *ProjectsLocationsJobsDebugGetConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsDebugGetConfigCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsJobsDebugGetConfigCall) Header Uses

func (c *ProjectsLocationsJobsDebugGetConfigCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsJobsDebugSendCaptureCall Uses

type ProjectsLocationsJobsDebugSendCaptureCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsJobsDebugSendCaptureCall) Context Uses

func (c *ProjectsLocationsJobsDebugSendCaptureCall) Context(ctx context.Context) *ProjectsLocationsJobsDebugSendCaptureCall

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 (*ProjectsLocationsJobsDebugSendCaptureCall) Do Uses

func (c *ProjectsLocationsJobsDebugSendCaptureCall) Do(opts ...googleapi.CallOption) (*SendDebugCaptureResponse, error)

Do executes the "dataflow.projects.locations.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 (*ProjectsLocationsJobsDebugSendCaptureCall) Fields Uses

func (c *ProjectsLocationsJobsDebugSendCaptureCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsDebugSendCaptureCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsJobsDebugSendCaptureCall) Header Uses

func (c *ProjectsLocationsJobsDebugSendCaptureCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsJobsDebugService Uses

type ProjectsLocationsJobsDebugService struct {
    // contains filtered or unexported fields
}

func NewProjectsLocationsJobsDebugService Uses

func NewProjectsLocationsJobsDebugService(s *Service) *ProjectsLocationsJobsDebugService

func (*ProjectsLocationsJobsDebugService) GetConfig Uses

func (r *ProjectsLocationsJobsDebugService) GetConfig(projectId string, location string, jobId string, getdebugconfigrequest *GetDebugConfigRequest) *ProjectsLocationsJobsDebugGetConfigCall

GetConfig: Get encoded debug configuration for component. Not cacheable.

func (*ProjectsLocationsJobsDebugService) SendCapture Uses

func (r *ProjectsLocationsJobsDebugService) SendCapture(projectId string, location string, jobId string, senddebugcapturerequest *SendDebugCaptureRequest) *ProjectsLocationsJobsDebugSendCaptureCall

SendCapture: Send encoded debug capture data for component.

type ProjectsLocationsJobsGetCall Uses

type ProjectsLocationsJobsGetCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsJobsGetCall) Context Uses

func (c *ProjectsLocationsJobsGetCall) Context(ctx context.Context) *ProjectsLocationsJobsGetCall

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 (*ProjectsLocationsJobsGetCall) Do Uses

func (c *ProjectsLocationsJobsGetCall) Do(opts ...googleapi.CallOption) (*Job, error)

Do executes the "dataflow.projects.locations.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 (*ProjectsLocationsJobsGetCall) Fields Uses

func (c *ProjectsLocationsJobsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsJobsGetCall) Header Uses

func (c *ProjectsLocationsJobsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsJobsGetCall) IfNoneMatch Uses

func (c *ProjectsLocationsJobsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsJobsGetCall

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 (*ProjectsLocationsJobsGetCall) View Uses

func (c *ProjectsLocationsJobsGetCall) View(view string) *ProjectsLocationsJobsGetCall

View sets the optional parameter "view": The level of information requested in response.

Possible values:

"JOB_VIEW_UNKNOWN"
"JOB_VIEW_SUMMARY"
"JOB_VIEW_ALL"
"JOB_VIEW_DESCRIPTION"

type ProjectsLocationsJobsGetMetricsCall Uses

type ProjectsLocationsJobsGetMetricsCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsJobsGetMetricsCall) Context Uses

func (c *ProjectsLocationsJobsGetMetricsCall) Context(ctx context.Context) *ProjectsLocationsJobsGetMetricsCall

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 (*ProjectsLocationsJobsGetMetricsCall) Do Uses

func (c *ProjectsLocationsJobsGetMetricsCall) Do(opts ...googleapi.CallOption) (*JobMetrics, error)

Do executes the "dataflow.projects.locations.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 (*ProjectsLocationsJobsGetMetricsCall) Fields Uses

func (c *ProjectsLocationsJobsGetMetricsCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsGetMetricsCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsJobsGetMetricsCall) Header Uses

func (c *ProjectsLocationsJobsGetMetricsCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsJobsGetMetricsCall) IfNoneMatch Uses

func (c *ProjectsLocationsJobsGetMetricsCall) IfNoneMatch(entityTag string) *ProjectsLocationsJobsGetMetricsCall

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 (*ProjectsLocationsJobsGetMetricsCall) StartTime Uses

func (c *ProjectsLocationsJobsGetMetricsCall) StartTime(startTime string) *ProjectsLocationsJobsGetMetricsCall

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 ProjectsLocationsJobsListCall Uses

type ProjectsLocationsJobsListCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsJobsListCall) Context Uses

func (c *ProjectsLocationsJobsListCall) Context(ctx context.Context) *ProjectsLocationsJobsListCall

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 (*ProjectsLocationsJobsListCall) Do Uses

func (c *ProjectsLocationsJobsListCall) Do(opts ...googleapi.CallOption) (*ListJobsResponse, error)

Do executes the "dataflow.projects.locations.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 (*ProjectsLocationsJobsListCall) Fields Uses

func (c *ProjectsLocationsJobsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsJobsListCall) Filter Uses

func (c *ProjectsLocationsJobsListCall) Filter(filter string) *ProjectsLocationsJobsListCall

Filter sets the optional parameter "filter": The kind of filter to use.

Possible values:

"UNKNOWN"
"ALL"
"TERMINATED"
"ACTIVE"

func (*ProjectsLocationsJobsListCall) Header Uses

func (c *ProjectsLocationsJobsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsJobsListCall) IfNoneMatch Uses

func (c *ProjectsLocationsJobsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsJobsListCall

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 (*ProjectsLocationsJobsListCall) PageSize Uses

func (c *ProjectsLocationsJobsListCall) PageSize(pageSize int64) *ProjectsLocationsJobsListCall

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 (*ProjectsLocationsJobsListCall) PageToken Uses

func (c *ProjectsLocationsJobsListCall) PageToken(pageToken string) *ProjectsLocationsJobsListCall

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 (*ProjectsLocationsJobsListCall) Pages Uses

func (c *ProjectsLocationsJobsListCall) 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 (*ProjectsLocationsJobsListCall) View Uses

func (c *ProjectsLocationsJobsListCall) View(view string) *ProjectsLocationsJobsListCall

View sets the optional parameter "view": Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.

Possible values:

"JOB_VIEW_UNKNOWN"
"JOB_VIEW_SUMMARY"
"JOB_VIEW_ALL"
"JOB_VIEW_DESCRIPTION"

type ProjectsLocationsJobsMessagesListCall Uses

type ProjectsLocationsJobsMessagesListCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsJobsMessagesListCall) Context Uses

func (c *ProjectsLocationsJobsMessagesListCall) Context(ctx context.Context) *ProjectsLocationsJobsMessagesListCall

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 (*ProjectsLocationsJobsMessagesListCall) Do Uses

func (c *ProjectsLocationsJobsMessagesListCall) Do(opts ...googleapi.CallOption) (*ListJobMessagesResponse, error)

Do executes the "dataflow.projects.locations.jobs.messages.list" call. Exactly one of *ListJobMessagesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListJobMessagesResponse.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 (*ProjectsLocationsJobsMessagesListCall) EndTime Uses

func (c *ProjectsLocationsJobsMessagesListCall) EndTime(endTime string) *ProjectsLocationsJobsMessagesListCall

EndTime sets the optional parameter "endTime": Return only messages with timestamps < end_time. The default is now (i.e. return up to the latest messages available).

func (*ProjectsLocationsJobsMessagesListCall) Fields Uses

func (c *ProjectsLocationsJobsMessagesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsMessagesListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsJobsMessagesListCall) Header Uses

func (c *ProjectsLocationsJobsMessagesListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsJobsMessagesListCall) IfNoneMatch Uses

func (c *ProjectsLocationsJobsMessagesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsJobsMessagesListCall

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 (*ProjectsLocationsJobsMessagesListCall) MinimumImportance Uses

func (c *ProjectsLocationsJobsMessagesListCall) MinimumImportance(minimumImportance string) *ProjectsLocationsJobsMessagesListCall

MinimumImportance sets the optional parameter "minimumImportance": Filter to only get messages with importance >= level

Possible values:

"JOB_MESSAGE_IMPORTANCE_UNKNOWN"
"JOB_MESSAGE_DEBUG"
"JOB_MESSAGE_DETAILED"
"JOB_MESSAGE_BASIC"
"JOB_MESSAGE_WARNING"
"JOB_MESSAGE_ERROR"

func (*ProjectsLocationsJobsMessagesListCall) PageSize Uses

func (c *ProjectsLocationsJobsMessagesListCall) PageSize(pageSize int64) *ProjectsLocationsJobsMessagesListCall

PageSize sets the optional parameter "pageSize": If specified, determines the maximum number of messages to return. If unspecified, the service may choose an appropriate default, or may return an arbitrarily large number of results.

func (*ProjectsLocationsJobsMessagesListCall) PageToken Uses

func (c *ProjectsLocationsJobsMessagesListCall) PageToken(pageToken string) *ProjectsLocationsJobsMessagesListCall

PageToken sets the optional parameter "pageToken": If supplied, this should be the value of next_page_token returned by an earlier call. This will cause the next page of results to be returned.

func (*ProjectsLocationsJobsMessagesListCall) Pages Uses

func (c *ProjectsLocationsJobsMessagesListCall) Pages(ctx context.Context, f func(*ListJobMessagesResponse) 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 (*ProjectsLocationsJobsMessagesListCall) StartTime Uses

func (c *ProjectsLocationsJobsMessagesListCall) StartTime(startTime string) *ProjectsLocationsJobsMessagesListCall

StartTime sets the optional parameter "startTime": If specified, return only messages with timestamps >= start_time. The default is the job creation time (i.e. beginning of messages).

type ProjectsLocationsJobsMessagesService Uses

type ProjectsLocationsJobsMessagesService struct {
    // contains filtered or unexported fields
}

func NewProjectsLocationsJobsMessagesService Uses

func NewProjectsLocationsJobsMessagesService(s *Service) *ProjectsLocationsJobsMessagesService

func (*ProjectsLocationsJobsMessagesService) List Uses

func (r *ProjectsLocationsJobsMessagesService) List(projectId string, location string, jobId string) *ProjectsLocationsJobsMessagesListCall

List: Request the job status.

To request the status of a job, we recommend using `projects.locations.jobs.messages.list` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-en dpoints). Using `projects.jobs.messages.list` is not recommended, as you can only request the status of jobs that are running in `us-central1`.

type ProjectsLocationsJobsService Uses

type ProjectsLocationsJobsService struct {
    Debug *ProjectsLocationsJobsDebugService

    Messages *ProjectsLocationsJobsMessagesService

    Snapshots *ProjectsLocationsJobsSnapshotsService

    WorkItems *ProjectsLocationsJobsWorkItemsService
    // contains filtered or unexported fields
}

func NewProjectsLocationsJobsService Uses

func NewProjectsLocationsJobsService(s *Service) *ProjectsLocationsJobsService

func (*ProjectsLocationsJobsService) Create Uses

func (r *ProjectsLocationsJobsService) Create(projectId string, location string, job *Job) *ProjectsLocationsJobsCreateCall

Create: Creates a Cloud Dataflow job.

To create a job, we recommend using `projects.locations.jobs.create` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-en dpoints). Using `projects.jobs.create` is not recommended, as your job will always start in `us-central1`.

func (*ProjectsLocationsJobsService) Get Uses

func (r *ProjectsLocationsJobsService) Get(projectId string, location string, jobId string) *ProjectsLocationsJobsGetCall

Get: Gets the state of the specified Cloud Dataflow job.

To get the state of a job, we recommend using `projects.locations.jobs.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-en dpoints). Using `projects.jobs.get` is not recommended, as you can only get the state of jobs that are running in `us-central1`.

func (*ProjectsLocationsJobsService) GetMetrics Uses

func (r *ProjectsLocationsJobsService) GetMetrics(projectId string, location string, jobId string) *ProjectsLocationsJobsGetMetricsCall

GetMetrics: Request the job status.

To request the status of a job, we recommend using `projects.locations.jobs.getMetrics` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-en dpoints). Using `projects.jobs.getMetrics` is not recommended, as you can only request the status of jobs that are running in `us-central1`.

func (*ProjectsLocationsJobsService) List Uses

func (r *ProjectsLocationsJobsService) List(projectId string, location string) *ProjectsLocationsJobsListCall

List: List the jobs of a project.

To list the jobs of a project in a region, we recommend using `projects.locations.jobs.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-en dpoints). To list the all jobs across all regions, use `projects.jobs.aggregated`. Using `projects.jobs.list` is not recommended, as you can only get the list of jobs that are running in `us-central1`.

func (*ProjectsLocationsJobsService) Snapshot Uses

func (r *ProjectsLocationsJobsService) Snapshot(projectId string, location string, jobId string, snapshotjobrequest *SnapshotJobRequest) *ProjectsLocationsJobsSnapshotCall

Snapshot: Snapshot the state of a streaming job.

func (*ProjectsLocationsJobsService) Update Uses

func (r *ProjectsLocationsJobsService) Update(projectId string, location string, jobId string, job *Job) *ProjectsLocationsJobsUpdateCall

Update: Updates the state of an existing Cloud Dataflow job.

To update the state of an existing job, we recommend using `projects.locations.jobs.update` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-en dpoints). Using `projects.jobs.update` is not recommended, as you can only update the state of jobs that are running in `us-central1`.

type ProjectsLocationsJobsSnapshotCall Uses

type ProjectsLocationsJobsSnapshotCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsJobsSnapshotCall) Context Uses

func (c *ProjectsLocationsJobsSnapshotCall) Context(ctx context.Context) *ProjectsLocationsJobsSnapshotCall

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 (*ProjectsLocationsJobsSnapshotCall) Do Uses

func (c *ProjectsLocationsJobsSnapshotCall) Do(opts ...googleapi.CallOption) (*Snapshot, error)

Do executes the "dataflow.projects.locations.jobs.snapshot" call. Exactly one of *Snapshot or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Snapshot.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 (*ProjectsLocationsJobsSnapshotCall) Fields Uses

func (c *ProjectsLocationsJobsSnapshotCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsSnapshotCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsJobsSnapshotCall) Header Uses

func (c *ProjectsLocationsJobsSnapshotCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsJobsSnapshotsListCall Uses

type ProjectsLocationsJobsSnapshotsListCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsJobsSnapshotsListCall) Context Uses

func (c *ProjectsLocationsJobsSnapshotsListCall) Context(ctx context.Context) *ProjectsLocationsJobsSnapshotsListCall

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 (*ProjectsLocationsJobsSnapshotsListCall) Do Uses

func (c *ProjectsLocationsJobsSnapshotsListCall) Do(opts ...googleapi.CallOption) (*ListSnapshotsResponse, error)

Do executes the "dataflow.projects.locations.jobs.snapshots.list" call. Exactly one of *ListSnapshotsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListSnapshotsResponse.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 (*ProjectsLocationsJobsSnapshotsListCall) Fields Uses

func (c *ProjectsLocationsJobsSnapshotsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsSnapshotsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsJobsSnapshotsListCall) Header Uses

func (c *ProjectsLocationsJobsSnapshotsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsJobsSnapshotsListCall) IfNoneMatch Uses

func (c *ProjectsLocationsJobsSnapshotsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsJobsSnapshotsListCall

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 ProjectsLocationsJobsSnapshotsService Uses

type ProjectsLocationsJobsSnapshotsService struct {
    // contains filtered or unexported fields
}

func NewProjectsLocationsJobsSnapshotsService Uses

func NewProjectsLocationsJobsSnapshotsService(s *Service) *ProjectsLocationsJobsSnapshotsService

func (*ProjectsLocationsJobsSnapshotsService) List Uses

func (r *ProjectsLocationsJobsSnapshotsService) List(projectId string, location string, jobId string) *ProjectsLocationsJobsSnapshotsListCall

List: Lists snapshots.

type ProjectsLocationsJobsUpdateCall Uses

type ProjectsLocationsJobsUpdateCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsJobsUpdateCall) Context Uses

func (c *ProjectsLocationsJobsUpdateCall) Context(ctx context.Context) *ProjectsLocationsJobsUpdateCall

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 (*ProjectsLocationsJobsUpdateCall) Do Uses

func (c *ProjectsLocationsJobsUpdateCall) Do(opts ...googleapi.CallOption) (*Job, error)

Do executes the "dataflow.projects.locations.jobs.update" 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 (*ProjectsLocationsJobsUpdateCall) Fields Uses

func (c *ProjectsLocationsJobsUpdateCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsUpdateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsJobsUpdateCall) Header Uses

func (c *ProjectsLocationsJobsUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsJobsWorkItemsLeaseCall Uses

type ProjectsLocationsJobsWorkItemsLeaseCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsJobsWorkItemsLeaseCall) Context Uses

func (c *ProjectsLocationsJobsWorkItemsLeaseCall) Context(ctx context.Context) *ProjectsLocationsJobsWorkItemsLeaseCall

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 (*ProjectsLocationsJobsWorkItemsLeaseCall) Do Uses

func (c *ProjectsLocationsJobsWorkItemsLeaseCall) Do(opts ...googleapi.CallOption) (*LeaseWorkItemResponse, error)

Do executes the "dataflow.projects.locations.jobs.workItems.lease" call. Exactly one of *LeaseWorkItemResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LeaseWorkItemResponse.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 (*ProjectsLocationsJobsWorkItemsLeaseCall) Fields Uses

func (c *ProjectsLocationsJobsWorkItemsLeaseCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsWorkItemsLeaseCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsJobsWorkItemsLeaseCall) Header Uses

func (c *ProjectsLocationsJobsWorkItemsLeaseCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsJobsWorkItemsReportStatusCall Uses

type ProjectsLocationsJobsWorkItemsReportStatusCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsJobsWorkItemsReportStatusCall) Context Uses

func (c *ProjectsLocationsJobsWorkItemsReportStatusCall) Context(ctx context.Context) *ProjectsLocationsJobsWorkItemsReportStatusCall

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 (*ProjectsLocationsJobsWorkItemsReportStatusCall) Do Uses

func (c *ProjectsLocationsJobsWorkItemsReportStatusCall) Do(opts ...googleapi.CallOption) (*ReportWorkItemStatusResponse, error)

Do executes the "dataflow.projects.locations.jobs.workItems.reportStatus" call. Exactly one of *ReportWorkItemStatusResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ReportWorkItemStatusResponse.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 (*ProjectsLocationsJobsWorkItemsReportStatusCall) Fields Uses

func (c *ProjectsLocationsJobsWorkItemsReportStatusCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsWorkItemsReportStatusCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsJobsWorkItemsReportStatusCall) Header Uses

func (c *ProjectsLocationsJobsWorkItemsReportStatusCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsJobsWorkItemsService Uses

type ProjectsLocationsJobsWorkItemsService struct {
    // contains filtered or unexported fields
}

func NewProjectsLocationsJobsWorkItemsService Uses

func NewProjectsLocationsJobsWorkItemsService(s *Service) *ProjectsLocationsJobsWorkItemsService

func (*ProjectsLocationsJobsWorkItemsService) Lease Uses

func (r *ProjectsLocationsJobsWorkItemsService) Lease(projectId string, location string, jobId string, leaseworkitemrequest *LeaseWorkItemRequest) *ProjectsLocationsJobsWorkItemsLeaseCall

Lease: Leases a dataflow WorkItem to run.

func (*ProjectsLocationsJobsWorkItemsService) ReportStatus Uses

func (r *ProjectsLocationsJobsWorkItemsService) ReportStatus(projectId string, location string, jobId string, reportworkitemstatusrequest *ReportWorkItemStatusRequest) *ProjectsLocationsJobsWorkItemsReportStatusCall

ReportStatus: Reports the status of dataflow WorkItems leased by a worker.

type ProjectsLocationsService Uses

type ProjectsLocationsService struct {
    Jobs *ProjectsLocationsJobsService

    Snapshots *ProjectsLocationsSnapshotsService

    Sql *ProjectsLocationsSqlService

    Templates *ProjectsLocationsTemplatesService
    // contains filtered or unexported fields
}

func NewProjectsLocationsService Uses

func NewProjectsLocationsService(s *Service) *ProjectsLocationsService

func (*ProjectsLocationsService) WorkerMessages Uses

func (r *ProjectsLocationsService) WorkerMessages(projectId string, location string, sendworkermessagesrequest *SendWorkerMessagesRequest) *ProjectsLocationsWorkerMessagesCall

WorkerMessages: Send a worker_message to the service.

type ProjectsLocationsSnapshotsDeleteCall Uses

type ProjectsLocationsSnapshotsDeleteCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsSnapshotsDeleteCall) Context Uses

func (c *ProjectsLocationsSnapshotsDeleteCall) Context(ctx context.Context) *ProjectsLocationsSnapshotsDeleteCall

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 (*ProjectsLocationsSnapshotsDeleteCall) Do Uses

func (c *ProjectsLocationsSnapshotsDeleteCall) Do(opts ...googleapi.CallOption) (*DeleteSnapshotResponse, error)

Do executes the "dataflow.projects.locations.snapshots.delete" 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 (*ProjectsLocationsSnapshotsDeleteCall) Fields Uses

func (c *ProjectsLocationsSnapshotsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSnapshotsDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSnapshotsDeleteCall) Header Uses

func (c *ProjectsLocationsSnapshotsDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsSnapshotsGetCall Uses

type ProjectsLocationsSnapshotsGetCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsSnapshotsGetCall) Context Uses

func (c *ProjectsLocationsSnapshotsGetCall) Context(ctx context.Context) *ProjectsLocationsSnapshotsGetCall

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 (*ProjectsLocationsSnapshotsGetCall) Do Uses

func (c *ProjectsLocationsSnapshotsGetCall) Do(opts ...googleapi.CallOption) (*Snapshot, error)

Do executes the "dataflow.projects.locations.snapshots.get" call. Exactly one of *Snapshot or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Snapshot.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 (*ProjectsLocationsSnapshotsGetCall) Fields Uses

func (c *ProjectsLocationsSnapshotsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSnapshotsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSnapshotsGetCall) Header Uses

func (c *ProjectsLocationsSnapshotsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSnapshotsGetCall) IfNoneMatch Uses

func (c *ProjectsLocationsSnapshotsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSnapshotsGetCall

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 ProjectsLocationsSnapshotsListCall Uses

type ProjectsLocationsSnapshotsListCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsSnapshotsListCall) Context Uses

func (c *ProjectsLocationsSnapshotsListCall) Context(ctx context.Context) *ProjectsLocationsSnapshotsListCall

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 (*ProjectsLocationsSnapshotsListCall) Do Uses

func (c *ProjectsLocationsSnapshotsListCall) Do(opts ...googleapi.CallOption) (*ListSnapshotsResponse, error)

Do executes the "dataflow.projects.locations.snapshots.list" call. Exactly one of *ListSnapshotsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListSnapshotsResponse.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 (*ProjectsLocationsSnapshotsListCall) Fields Uses

func (c *ProjectsLocationsSnapshotsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSnapshotsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSnapshotsListCall) Header Uses

func (c *ProjectsLocationsSnapshotsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSnapshotsListCall) IfNoneMatch Uses

func (c *ProjectsLocationsSnapshotsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSnapshotsListCall

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 (*ProjectsLocationsSnapshotsListCall) JobId Uses

func (c *ProjectsLocationsSnapshotsListCall) JobId(jobId string) *ProjectsLocationsSnapshotsListCall

JobId sets the optional parameter "jobId": If specified, list snapshots created from this job.

type ProjectsLocationsSnapshotsService Uses

type ProjectsLocationsSnapshotsService struct {
    // contains filtered or unexported fields
}

func NewProjectsLocationsSnapshotsService Uses

func NewProjectsLocationsSnapshotsService(s *Service) *ProjectsLocationsSnapshotsService

func (*ProjectsLocationsSnapshotsService) Delete Uses

func (r *ProjectsLocationsSnapshotsService) Delete(projectId string, location string, snapshotId string) *ProjectsLocationsSnapshotsDeleteCall

Delete: Deletes a snapshot.

func (*ProjectsLocationsSnapshotsService) Get Uses

func (r *ProjectsLocationsSnapshotsService) Get(projectId string, location string, snapshotId string) *ProjectsLocationsSnapshotsGetCall

Get: Gets information about a snapshot.

func (*ProjectsLocationsSnapshotsService) List Uses

func (r *ProjectsLocationsSnapshotsService) List(projectId string, location string) *ProjectsLocationsSnapshotsListCall

List: Lists snapshots.

type ProjectsLocationsSqlService Uses

type ProjectsLocationsSqlService struct {
    // contains filtered or unexported fields
}

func NewProjectsLocationsSqlService Uses

func NewProjectsLocationsSqlService(s *Service) *ProjectsLocationsSqlService

func (*ProjectsLocationsSqlService) Validate Uses

func (r *ProjectsLocationsSqlService) Validate(projectId string, location string) *ProjectsLocationsSqlValidateCall

Validate: Validates a GoogleSQL query for Cloud Dataflow syntax. Will always confirm the given query parses correctly, and if able to look up schema information from DataCatalog, will validate that the query analyzes properly as well.

type ProjectsLocationsSqlValidateCall Uses

type ProjectsLocationsSqlValidateCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsSqlValidateCall) Context Uses

func (c *ProjectsLocationsSqlValidateCall) Context(ctx context.Context) *ProjectsLocationsSqlValidateCall

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 (*ProjectsLocationsSqlValidateCall) Do Uses

func (c *ProjectsLocationsSqlValidateCall) Do(opts ...googleapi.CallOption) (*ValidateResponse, error)

Do executes the "dataflow.projects.locations.sql.validate" call. Exactly one of *ValidateResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ValidateResponse.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 (*ProjectsLocationsSqlValidateCall) Fields Uses

func (c *ProjectsLocationsSqlValidateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSqlValidateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsSqlValidateCall) Header Uses

func (c *ProjectsLocationsSqlValidateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsSqlValidateCall) IfNoneMatch Uses

func (c *ProjectsLocationsSqlValidateCall) IfNoneMatch(entityTag string) *ProjectsLocationsSqlValidateCall

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 (*ProjectsLocationsSqlValidateCall) Query Uses

func (c *ProjectsLocationsSqlValidateCall) Query(query string) *ProjectsLocationsSqlValidateCall

Query sets the optional parameter "query": The sql query to validate.

type ProjectsLocationsTemplatesCreateCall Uses

type ProjectsLocationsTemplatesCreateCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsTemplatesCreateCall) Context Uses

func (c *ProjectsLocationsTemplatesCreateCall) Context(ctx context.Context) *ProjectsLocationsTemplatesCreateCall

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 (*ProjectsLocationsTemplatesCreateCall) Do Uses

func (c *ProjectsLocationsTemplatesCreateCall) Do(opts ...googleapi.CallOption) (*Job, error)

Do executes the "dataflow.projects.locations.templates.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 (*ProjectsLocationsTemplatesCreateCall) Fields Uses

func (c *ProjectsLocationsTemplatesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTemplatesCreateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsTemplatesCreateCall) Header Uses

func (c *ProjectsLocationsTemplatesCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsTemplatesGetCall Uses

type ProjectsLocationsTemplatesGetCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsTemplatesGetCall) Context Uses

func (c *ProjectsLocationsTemplatesGetCall) Context(ctx context.Context) *ProjectsLocationsTemplatesGetCall

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 (*ProjectsLocationsTemplatesGetCall) Do Uses

func (c *ProjectsLocationsTemplatesGetCall) Do(opts ...googleapi.CallOption) (*GetTemplateResponse, error)

Do executes the "dataflow.projects.locations.templates.get" call. Exactly one of *GetTemplateResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GetTemplateResponse.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 (*ProjectsLocationsTemplatesGetCall) Fields Uses

func (c *ProjectsLocationsTemplatesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTemplatesGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsTemplatesGetCall) GcsPath Uses

func (c *ProjectsLocationsTemplatesGetCall) GcsPath(gcsPath string) *ProjectsLocationsTemplatesGetCall

GcsPath sets the optional parameter "gcsPath": Required. A Cloud Storage path to the template from which to create the job. Must be valid Cloud Storage URL, beginning with 'gs://'.

func (*ProjectsLocationsTemplatesGetCall) Header Uses

func (c *ProjectsLocationsTemplatesGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsTemplatesGetCall) IfNoneMatch Uses

func (c *ProjectsLocationsTemplatesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTemplatesGetCall

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 (*ProjectsLocationsTemplatesGetCall) View Uses

func (c *ProjectsLocationsTemplatesGetCall) View(view string) *ProjectsLocationsTemplatesGetCall

View sets the optional parameter "view": The view to retrieve. Defaults to METADATA_ONLY.

Possible values:

"METADATA_ONLY"

type ProjectsLocationsTemplatesLaunchCall Uses

type ProjectsLocationsTemplatesLaunchCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsTemplatesLaunchCall) Context Uses

func (c *ProjectsLocationsTemplatesLaunchCall) Context(ctx context.Context) *ProjectsLocationsTemplatesLaunchCall

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 (*ProjectsLocationsTemplatesLaunchCall) Do Uses

func (c *ProjectsLocationsTemplatesLaunchCall) Do(opts ...googleapi.CallOption) (*LaunchTemplateResponse, error)

Do executes the "dataflow.projects.locations.templates.launch" call. Exactly one of *LaunchTemplateResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LaunchTemplateResponse.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 (*ProjectsLocationsTemplatesLaunchCall) DynamicTemplateGcsPath Uses

func (c *ProjectsLocationsTemplatesLaunchCall) DynamicTemplateGcsPath(dynamicTemplateGcsPath string) *ProjectsLocationsTemplatesLaunchCall

DynamicTemplateGcsPath sets the optional parameter "dynamicTemplate.gcsPath": Path to dynamic template spec file on GCS. The file must be a Json serialized DynamicTemplateFieSpec object.

func (*ProjectsLocationsTemplatesLaunchCall) DynamicTemplateStagingLocation Uses

func (c *ProjectsLocationsTemplatesLaunchCall) DynamicTemplateStagingLocation(dynamicTemplateStagingLocation string) *ProjectsLocationsTemplatesLaunchCall

DynamicTemplateStagingLocation sets the optional parameter "dynamicTemplate.stagingLocation": Cloud Storage path for staging dependencies. Must be a valid Cloud Storage URL, beginning with `gs://`.

func (*ProjectsLocationsTemplatesLaunchCall) Fields Uses

func (c *ProjectsLocationsTemplatesLaunchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTemplatesLaunchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsTemplatesLaunchCall) GcsPath Uses

func (c *ProjectsLocationsTemplatesLaunchCall) GcsPath(gcsPath string) *ProjectsLocationsTemplatesLaunchCall

GcsPath sets the optional parameter "gcsPath": A Cloud Storage path to the template from which to create the job. Must be valid Cloud Storage URL, beginning with 'gs://'.

func (*ProjectsLocationsTemplatesLaunchCall) Header Uses

func (c *ProjectsLocationsTemplatesLaunchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsTemplatesLaunchCall) ValidateOnly Uses

func (c *ProjectsLocationsTemplatesLaunchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsTemplatesLaunchCall

ValidateOnly sets the optional parameter "validateOnly": If true, the request is validated but not actually executed. Defaults to false.

type ProjectsLocationsTemplatesService Uses

type ProjectsLocationsTemplatesService struct {
    // contains filtered or unexported fields
}

func NewProjectsLocationsTemplatesService Uses

func NewProjectsLocationsTemplatesService(s *Service) *ProjectsLocationsTemplatesService

func (*ProjectsLocationsTemplatesService) Create Uses

func (r *ProjectsLocationsTemplatesService) Create(projectId string, location string, createjobfromtemplaterequest *CreateJobFromTemplateRequest) *ProjectsLocationsTemplatesCreateCall

Create: Creates a Cloud Dataflow job from a template.

func (*ProjectsLocationsTemplatesService) Get Uses

func (r *ProjectsLocationsTemplatesService) Get(projectId string, location string) *ProjectsLocationsTemplatesGetCall

Get: Get the template associated with a template.

func (*ProjectsLocationsTemplatesService) Launch Uses

func (r *ProjectsLocationsTemplatesService) Launch(projectId string, location string, launchtemplateparameters *LaunchTemplateParameters) *ProjectsLocationsTemplatesLaunchCall

Launch: Launch a template.

type ProjectsLocationsWorkerMessagesCall Uses

type ProjectsLocationsWorkerMessagesCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsWorkerMessagesCall) Context Uses

func (c *ProjectsLocationsWorkerMessagesCall) Context(ctx context.Context) *ProjectsLocationsWorkerMessagesCall

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 (*ProjectsLocationsWorkerMessagesCall) Do Uses

func (c *ProjectsLocationsWorkerMessagesCall) Do(opts ...googleapi.CallOption) (*SendWorkerMessagesResponse, error)

Do executes the "dataflow.projects.locations.workerMessages" call. Exactly one of *SendWorkerMessagesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SendWorkerMessagesResponse.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 (*ProjectsLocationsWorkerMessagesCall) Fields Uses

func (c *ProjectsLocationsWorkerMessagesCall) Fields(s ...googleapi.Field) *ProjectsLocationsWorkerMessagesCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsWorkerMessagesCall) Header Uses

func (c *ProjectsLocationsWorkerMessagesCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsService Uses

type ProjectsService struct {
    Jobs *ProjectsJobsService

    Locations *ProjectsLocationsService

    Snapshots *ProjectsSnapshotsService

    Templates *ProjectsTemplatesService
    // contains filtered or unexported fields
}

func NewProjectsService Uses

func NewProjectsService(s *Service) *ProjectsService

func (*ProjectsService) DeleteSnapshots Uses

func (r *ProjectsService) DeleteSnapshots(projectId string) *ProjectsDeleteSnapshotsCall

DeleteSnapshots: Deletes a snapshot.

func (*ProjectsService) WorkerMessages Uses

func (r *ProjectsService) WorkerMessages(projectId string, sendworkermessagesrequest *SendWorkerMessagesRequest) *ProjectsWorkerMessagesCall

WorkerMessages: Send a worker_message to the service.

type ProjectsSnapshotsGetCall Uses

type ProjectsSnapshotsGetCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsSnapshotsGetCall) Context Uses

func (c *ProjectsSnapshotsGetCall) Context(ctx context.Context) *ProjectsSnapshotsGetCall

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 (*ProjectsSnapshotsGetCall) Do Uses

func (c *ProjectsSnapshotsGetCall) Do(opts ...googleapi.CallOption) (*Snapshot, error)

Do executes the "dataflow.projects.snapshots.get" call. Exactly one of *Snapshot or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Snapshot.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 (*ProjectsSnapshotsGetCall) Fields Uses

func (c *ProjectsSnapshotsGetCall) Fields(s ...googleapi.Field) *ProjectsSnapshotsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsSnapshotsGetCall) Header Uses

func (c *ProjectsSnapshotsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsSnapshotsGetCall) IfNoneMatch Uses

func (c *ProjectsSnapshotsGetCall) IfNoneMatch(entityTag string) *ProjectsSnapshotsGetCall

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 (*ProjectsSnapshotsGetCall) Location Uses

func (c *ProjectsSnapshotsGetCall) Location(location string) *ProjectsSnapshotsGetCall

Location sets the optional parameter "location": The location that contains this snapshot.

type ProjectsSnapshotsListCall Uses

type ProjectsSnapshotsListCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsSnapshotsListCall) Context Uses

func (c *ProjectsSnapshotsListCall) Context(ctx context.Context) *ProjectsSnapshotsListCall

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 (*ProjectsSnapshotsListCall) Do Uses

func (c *ProjectsSnapshotsListCall) Do(opts ...googleapi.CallOption) (*ListSnapshotsResponse, error)

Do executes the "dataflow.projects.snapshots.list" call. Exactly one of *ListSnapshotsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListSnapshotsResponse.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 (*ProjectsSnapshotsListCall) Fields Uses

func (c *ProjectsSnapshotsListCall) Fields(s ...googleapi.Field) *ProjectsSnapshotsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsSnapshotsListCall) Header Uses

func (c *ProjectsSnapshotsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsSnapshotsListCall) IfNoneMatch Uses

func (c *ProjectsSnapshotsListCall) IfNoneMatch(entityTag string) *ProjectsSnapshotsListCall

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 (*ProjectsSnapshotsListCall) JobId Uses

func (c *ProjectsSnapshotsListCall) JobId(jobId string) *ProjectsSnapshotsListCall

JobId sets the optional parameter "jobId": If specified, list snapshots created from this job.

func (*ProjectsSnapshotsListCall) Location Uses

func (c *ProjectsSnapshotsListCall) Location(location string) *ProjectsSnapshotsListCall

Location sets the optional parameter "location": The location to list snapshots in.

type ProjectsSnapshotsService Uses

type ProjectsSnapshotsService struct {
    // contains filtered or unexported fields
}

func NewProjectsSnapshotsService Uses

func NewProjectsSnapshotsService(s *Service) *ProjectsSnapshotsService

func (*ProjectsSnapshotsService) Get Uses

func (r *ProjectsSnapshotsService) Get(projectId string, snapshotId string) *ProjectsSnapshotsGetCall

Get: Gets information about a snapshot.

func (*ProjectsSnapshotsService) List Uses

func (r *ProjectsSnapshotsService) List(projectId string) *ProjectsSnapshotsListCall

List: Lists snapshots.

type ProjectsTemplatesCreateCall Uses

type ProjectsTemplatesCreateCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsTemplatesCreateCall) Context Uses

func (c *ProjectsTemplatesCreateCall) Context(ctx context.Context) *ProjectsTemplatesCreateCall

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 (*ProjectsTemplatesCreateCall) Do Uses

func (c *ProjectsTemplatesCreateCall) Do(opts ...googleapi.CallOption) (*Job, error)

Do executes the "dataflow.projects.templates.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 (*ProjectsTemplatesCreateCall) Fields Uses

func (c *ProjectsTemplatesCreateCall) Fields(s ...googleapi.Field) *ProjectsTemplatesCreateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTemplatesCreateCall) Header Uses

func (c *ProjectsTemplatesCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsTemplatesGetCall Uses

type ProjectsTemplatesGetCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsTemplatesGetCall) Context Uses

func (c *ProjectsTemplatesGetCall) Context(ctx context.Context) *ProjectsTemplatesGetCall

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 (*ProjectsTemplatesGetCall) Do Uses

func (c *ProjectsTemplatesGetCall) Do(opts ...googleapi.CallOption) (*GetTemplateResponse, error)

Do executes the "dataflow.projects.templates.get" call. Exactly one of *GetTemplateResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GetTemplateResponse.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 (*ProjectsTemplatesGetCall) Fields Uses

func (c *ProjectsTemplatesGetCall) Fields(s ...googleapi.Field) *ProjectsTemplatesGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTemplatesGetCall) GcsPath Uses

func (c *ProjectsTemplatesGetCall) GcsPath(gcsPath string) *ProjectsTemplatesGetCall

GcsPath sets the optional parameter "gcsPath": Required. A Cloud Storage path to the template from which to create the job. Must be valid Cloud Storage URL, beginning with 'gs://'.

func (*ProjectsTemplatesGetCall) Header Uses

func (c *ProjectsTemplatesGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsTemplatesGetCall) IfNoneMatch Uses

func (c *ProjectsTemplatesGetCall) IfNoneMatch(entityTag string) *ProjectsTemplatesGetCall

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 (*ProjectsTemplatesGetCall) Location Uses

func (c *ProjectsTemplatesGetCall) Location(location string) *ProjectsTemplatesGetCall

Location sets the optional parameter "location": The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-en dpoints) to which to direct the request.

func (*ProjectsTemplatesGetCall) View Uses

func (c *ProjectsTemplatesGetCall) View(view string) *ProjectsTemplatesGetCall

View sets the optional parameter "view": The view to retrieve. Defaults to METADATA_ONLY.

Possible values:

"METADATA_ONLY"

type ProjectsTemplatesLaunchCall Uses

type ProjectsTemplatesLaunchCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsTemplatesLaunchCall) Context Uses

func (c *ProjectsTemplatesLaunchCall) Context(ctx context.Context) *ProjectsTemplatesLaunchCall

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 (*ProjectsTemplatesLaunchCall) Do Uses

func (c *ProjectsTemplatesLaunchCall) Do(opts ...googleapi.CallOption) (*LaunchTemplateResponse, error)

Do executes the "dataflow.projects.templates.launch" call. Exactly one of *LaunchTemplateResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LaunchTemplateResponse.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 (*ProjectsTemplatesLaunchCall) DynamicTemplateGcsPath Uses

func (c *ProjectsTemplatesLaunchCall) DynamicTemplateGcsPath(dynamicTemplateGcsPath string) *ProjectsTemplatesLaunchCall

DynamicTemplateGcsPath sets the optional parameter "dynamicTemplate.gcsPath": Path to dynamic template spec file on GCS. The file must be a Json serialized DynamicTemplateFieSpec object.

func (*ProjectsTemplatesLaunchCall) DynamicTemplateStagingLocation Uses

func (c *ProjectsTemplatesLaunchCall) DynamicTemplateStagingLocation(dynamicTemplateStagingLocation string) *ProjectsTemplatesLaunchCall

DynamicTemplateStagingLocation sets the optional parameter "dynamicTemplate.stagingLocation": Cloud Storage path for staging dependencies. Must be a valid Cloud Storage URL, beginning with `gs://`.

func (*ProjectsTemplatesLaunchCall) Fields Uses

func (c *ProjectsTemplatesLaunchCall) Fields(s ...googleapi.Field) *ProjectsTemplatesLaunchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsTemplatesLaunchCall) GcsPath Uses

func (c *ProjectsTemplatesLaunchCall) GcsPath(gcsPath string) *ProjectsTemplatesLaunchCall

GcsPath sets the optional parameter "gcsPath": A Cloud Storage path to the template from which to create the job. Must be valid Cloud Storage URL, beginning with 'gs://'.

func (*ProjectsTemplatesLaunchCall) Header Uses

func (c *ProjectsTemplatesLaunchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsTemplatesLaunchCall) Location Uses

func (c *ProjectsTemplatesLaunchCall) Location(location string) *ProjectsTemplatesLaunchCall

Location sets the optional parameter "location": The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-en dpoints) to which to direct the request.

func (*ProjectsTemplatesLaunchCall) ValidateOnly Uses

func (c *ProjectsTemplatesLaunchCall) ValidateOnly(validateOnly bool) *ProjectsTemplatesLaunchCall

ValidateOnly sets the optional parameter "validateOnly": If true, the request is validated but not actually executed. Defaults to false.

type ProjectsTemplatesService Uses

type ProjectsTemplatesService struct {
    // contains filtered or unexported fields
}

func NewProjectsTemplatesService Uses

func NewProjectsTemplatesService(s *Service) *ProjectsTemplatesService

func (*ProjectsTemplatesService) Create Uses

func (r *ProjectsTemplatesService) Create(projectId string, createjobfromtemplaterequest *CreateJobFromTemplateRequest) *ProjectsTemplatesCreateCall

Create: Creates a Cloud Dataflow job from a template.

func (*ProjectsTemplatesService) Get Uses

func (r *ProjectsTemplatesService) Get(projectId string) *ProjectsTemplatesGetCall

Get: Get the template associated with a template.

func (*ProjectsTemplatesService) Launch Uses

func (r *ProjectsTemplatesService) Launch(projectId string, launchtemplateparameters *LaunchTemplateParameters) *ProjectsTemplatesLaunchCall

Launch: Launch a template.

type ProjectsWorkerMessagesCall Uses

type ProjectsWorkerMessagesCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsWorkerMessagesCall) Context Uses

func (c *ProjectsWorkerMessagesCall) Context(ctx context.Context) *ProjectsWorkerMessagesCall

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 (*ProjectsWorkerMessagesCall) Do Uses

func (c *ProjectsWorkerMessagesCall) Do(opts ...googleapi.CallOption) (*SendWorkerMessagesResponse, error)

Do executes the "dataflow.projects.workerMessages" call. Exactly one of *SendWorkerMessagesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SendWorkerMessagesResponse.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 (*ProjectsWorkerMessagesCall) Fields Uses

func (c *ProjectsWorkerMessagesCall) Fields(s ...googleapi.Field) *ProjectsWorkerMessagesCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsWorkerMessagesCall) Header Uses

func (c *ProjectsWorkerMessagesCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type PubSubIODetails Uses

type PubSubIODetails struct {
    // Subscription: Subscription used in the connection.
    Subscription string `json:"subscription,omitempty"`

    // Topic: Topic accessed in the connection.
    Topic string `json:"topic,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Subscription") 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. "Subscription") 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:"-"`
}

PubSubIODetails: Metadata for a PubSub connector used by the job.

func (*PubSubIODetails) MarshalJSON Uses

func (s *PubSubIODetails) MarshalJSON() ([]byte, error)

type PubsubLocation Uses

type PubsubLocation struct {
    // DropLateData: Indicates whether the pipeline allows late-arriving
    // data.
    DropLateData bool `json:"dropLateData,omitempty"`

    // IdLabel: If set, contains a pubsub label from which to extract record
    // ids.
    // If left empty, record deduplication will be strictly best effort.
    IdLabel string `json:"idLabel,omitempty"`

    // Subscription: A pubsub subscription, in the form
    // of
    // "pubsub.googleapis.com/subscriptions/<project-id>/<subscription-nam
    // e>"
    Subscription string `json:"subscription,omitempty"`

    // TimestampLabel: If set, contains a pubsub label from which to extract
    // record timestamps.
    // If left empty, record timestamps will be generated upon arrival.
    TimestampLabel string `json:"timestampLabel,omitempty"`

    // Topic: A pubsub topic, in the form
    // of
    // "pubsub.googleapis.com/topics/<project-id>/<topic-name>"
    Topic string `json:"topic,omitempty"`

    // TrackingSubscription: If set, specifies the pubsub subscription that
    // will be used for tracking
    // custom time timestamps for watermark estimation.
    TrackingSubscription string `json:"trackingSubscription,omitempty"`

    // WithAttributes: If true, then the client has requested to get pubsub
    // attributes.
    WithAttributes bool `json:"withAttributes,omitempty"`

    // ForceSendFields is a list of field names (e.g. "DropLateData") 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. "DropLateData") 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:"-"`
}

PubsubLocation: Identifies a pubsub location to use for transferring data into or out of a streaming Dataflow job.

func (*PubsubLocation) MarshalJSON Uses

func (s *PubsubLocation) MarshalJSON() ([]byte, error)

type ReadInstruction Uses

type ReadInstruction struct {
    // Source: The source to read from.
    Source *Source `json:"source,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Source") 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. "Source") 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:"-"`
}

ReadInstruction: An instruction that reads records. Takes no inputs, produces one output.

func (*ReadInstruction) MarshalJSON Uses

func (s *ReadInstruction) MarshalJSON() ([]byte, error)

type ReportWorkItemStatusRequest Uses

type ReportWorkItemStatusRequest 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-en
    // dpoints) that
    // contains the WorkItem's job.
    Location string `json:"location,omitempty"`

    // UnifiedWorkerRequest: Untranslated bag-of-bytes
    // WorkProgressUpdateRequest from UnifiedWorker.
    UnifiedWorkerRequest googleapi.RawMessage `json:"unifiedWorkerRequest,omitempty"`

    // WorkItemStatuses: The order is unimportant, except that the order of
    // the
    // WorkItemServiceState messages in the
    // ReportWorkItemStatusResponse
    // corresponds to the order of WorkItemStatus messages here.
    WorkItemStatuses []*WorkItemStatus `json:"workItemStatuses,omitempty"`

    // WorkerId: The ID of the worker reporting the WorkItem status.  If
    // this
    // does not match the ID of the worker which the Dataflow
    // service
    // believes currently has the lease on the WorkItem, the report
    // will be dropped (with an error response).
    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:"-"`
}

ReportWorkItemStatusRequest: Request to report the status of WorkItems.

func (*ReportWorkItemStatusRequest) MarshalJSON Uses

func (s *ReportWorkItemStatusRequest) MarshalJSON() ([]byte, error)

type ReportWorkItemStatusResponse Uses

type ReportWorkItemStatusResponse struct {
    // UnifiedWorkerResponse: Untranslated bag-of-bytes
    // WorkProgressUpdateResponse for UnifiedWorker.
    UnifiedWorkerResponse googleapi.RawMessage `json:"unifiedWorkerResponse,omitempty"`

    // WorkItemServiceStates: A set of messages indicating the service-side
    // state for each
    // WorkItem whose status was reported, in the same order as
    // the
    // WorkItemStatus messages in the ReportWorkItemStatusRequest
    // which
    // resulting in this response.
    WorkItemServiceStates []*WorkItemServiceState `json:"workItemServiceStates,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:"-"`
}

ReportWorkItemStatusResponse: Response from a request to report the status of WorkItems.

func (*ReportWorkItemStatusResponse) MarshalJSON Uses

func (s *ReportWorkItemStatusResponse) MarshalJSON() ([]byte, error)

type ReportedParallelism Uses

type ReportedParallelism struct {
    // IsInfinite: Specifies whether the parallelism is infinite. If true,
    // "value" is
    // ignored.
    // Infinite parallelism means the service will assume that the work
    // item
    // can always be split into more non-empty work items by dynamic
    // splitting.
    // This is a work-around for lack of support for infinity by the
    // current
    // JSON-based Java RPC stack.
    IsInfinite bool `json:"isInfinite,omitempty"`

    // Value: Specifies the level of parallelism in case it is finite.
    Value float64 `json:"value,omitempty"`

    // ForceSendFields is a list of field names (e.g. "IsInfinite") 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. "IsInfinite") 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:"-"`
}

ReportedParallelism: Represents the level of parallelism in a WorkItem's input, reported by the worker.

func (*ReportedParallelism) MarshalJSON Uses

func (s *ReportedParallelism) MarshalJSON() ([]byte, error)

func (*ReportedParallelism) UnmarshalJSON Uses

func (s *ReportedParallelism) UnmarshalJSON(data []byte) error

type ResourceUtilizationReport Uses

type ResourceUtilizationReport struct {
    // CpuTime: CPU utilization samples.
    CpuTime []*CPUTime `json:"cpuTime,omitempty"`

    // ForceSendFields is a list of field names (e.g. "CpuTime") 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. "CpuTime") 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:"-"`
}

ResourceUtilizationReport: Worker metrics exported from workers. This contains resource utilization metrics accumulated from a variety of sources. For more information, see go/df-resource-signals.

func (*ResourceUtilizationReport) MarshalJSON Uses

func (s *ResourceUtilizationReport) MarshalJSON() ([]byte, error)

type ResourceUtilizationReportResponse Uses

type ResourceUtilizationReportResponse struct {
}

ResourceUtilizationReportResponse: Service-side response to WorkerMessage reporting resource utilization.

type RuntimeEnvironment Uses

type RuntimeEnvironment 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 should follow the restrictions specified in the
    // [labeling
    // restrictions](https://cloud.google.com/compute/docs/labeling
    // -resources#restrictions)
    // page.
    AdditionalUserLabels map[string]string `json:"additionalUserLabels,omitempty"`

    // BypassTempDirValidation: Whether to bypass the safety checks for the
    // job's temporary directory.
    // Use with caution.
    BypassTempDirValidation bool `json:"bypassTempDirValidation,omitempty"`

    // KmsKeyName: Optional. Name for the Cloud KMS key for the job.
    // Key format
    // is:
    // projects/<project>/locations/<location>/keyRings/<keyring>/cryptoK
    // eys/<key>
    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 instnaces 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.
    // Expected to be of
    // the form "regions/REGION/subnetworks/SUBNETWORK".
    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"`

    // Zone: The Compute Engine
    // [availability
    // zone](https://cloud.google.com/compute/docs/regions-zone
    // s/regions-zones)
    // for launching worker instances to run your pipeline.
    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:"-"`
}

RuntimeEnvironment: The environment values to set at runtime.

func (*RuntimeEnvironment) MarshalJSON Uses

func (s *RuntimeEnvironment) MarshalJSON() ([]byte, error)

type SdkVersion Uses

type SdkVersion struct {
    // SdkSupportStatus: The support status for this SDK version.
    //
    // Possible values:
    //   "UNKNOWN" - Cloud Dataflow is unaware of this version.
    //   "SUPPORTED" - This is a known version of an SDK, and is supported.
    //   "STALE" - A newer version of the SDK family exists, and an update
    // is recommended.
    //   "DEPRECATED" - This version of the SDK is deprecated and will
    // eventually be no
    // longer supported.
    //   "UNSUPPORTED" - Support for this SDK version has ended and it
    // should no longer be used.
    SdkSupportStatus string `json:"sdkSupportStatus,omitempty"`

    // Version: The version of the SDK used to run the job.
    Version string `json:"version,omitempty"`

    // VersionDisplayName: A readable string describing the version of the
    // SDK.
    VersionDisplayName string `json:"versionDisplayName,omitempty"`

    // ForceSendFields is a list of field names (e.g. "SdkSupportStatus") 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. "SdkSupportStatus") 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:"-"`
}

SdkVersion: The version of the SDK used to run the job.

func (*SdkVersion) MarshalJSON Uses

func (s *SdkVersion) MarshalJSON() ([]byte, error)

type SendDebugCaptureRequest Uses

type SendDebugCaptureRequest struct {
    // ComponentId: The internal component id for which debug information is
    // sent.
    ComponentId string `json:"componentId,omitempty"`

    // Data: The encoded debug information.
    Data string `json:"data,omitempty"`

    // Location: The [regional
    // endpoint]
    // (https://cloud.google.com/dataflow/docs/concepts/regional-en
    // dpoints) 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:"-"`
}

SendDebugCaptureRequest: Request to send encoded debug information.

func (*SendDebugCaptureRequest) MarshalJSON Uses

func (s *SendDebugCaptureRequest) MarshalJSON() ([]byte, error)

type SendDebugCaptureResponse Uses

type SendDebugCaptureResponse struct {
    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`
}

SendDebugCaptureResponse: Response to a send capture request. nothing

type SendWorkerMessagesRequest Uses

type SendWorkerMessagesRequest struct {
    // Location: The [regional
    // endpoint]
    // (https://cloud.google.com/dataflow/docs/concepts/regional-en
    // dpoints) that
    // contains the job.
    Location string `json:"location,omitempty"`

    // WorkerMessages: The WorkerMessages to send.
    WorkerMessages []*WorkerMessage `json:"workerMessages,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:"-"`
}

SendWorkerMessagesRequest: A request for sending worker messages to the service.

func (*SendWorkerMessagesRequest) MarshalJSON Uses

func (s *SendWorkerMessagesRequest) MarshalJSON() ([]byte, error)

type SendWorkerMessagesResponse Uses

type SendWorkerMessagesResponse struct {
    // WorkerMessageResponses: The servers response to the worker messages.
    WorkerMessageResponses []*WorkerMessageResponse `json:"workerMessageResponses,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g.
    // "WorkerMessageResponses") 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. "WorkerMessageResponses")
    // 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:"-"`
}

SendWorkerMessagesResponse: The response to the worker messages.

func (*SendWorkerMessagesResponse) MarshalJSON Uses

func (s *SendWorkerMessagesResponse) MarshalJSON() ([]byte, error)

type SeqMapTask Uses

type SeqMapTask struct {
    // Inputs: Information about each of the inputs.
    Inputs []*SideInputInfo `json:"inputs,omitempty"`

    // Name: The user-provided name of the SeqDo operation.
    Name string `json:"name,omitempty"`

    // OutputInfos: Information about each of the outputs.
    OutputInfos []*SeqMapTaskOutputInfo `json:"outputInfos,omitempty"`

    // StageName: System-defined name of the stage containing the SeqDo
    // operation.
    // Unique across the workflow.
    StageName string `json:"stageName,omitempty"`

    // SystemName: System-defined name of the SeqDo operation.
    // Unique across the workflow.
    SystemName string `json:"systemName,omitempty"`

    // UserFn: The user function to invoke.
    UserFn googleapi.RawMessage `json:"userFn,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:"-"`
}

SeqMapTask: Describes a particular function to invoke.

func (*SeqMapTask) MarshalJSON Uses

func (s *SeqMapTask) MarshalJSON() ([]byte, error)

type SeqMapTaskOutputInfo Uses

type SeqMapTaskOutputInfo struct {
    // Sink: The sink to write the output value to.
    Sink *Sink `json:"sink,omitempty"`

    // Tag: The id of the TupleTag the user code will tag the output value
    // by.
    Tag string `json:"tag,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Sink") 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. "Sink") 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:"-"`
}

SeqMapTaskOutputInfo: Information about an output of a SeqMapTask.

func (*SeqMapTaskOutputInfo) MarshalJSON Uses

func (s *SeqMapTaskOutputInfo) MarshalJSON() ([]byte, error)

type Service Uses

type Service struct {
    BasePath  string // API endpoint base URL
    UserAgent string // optional additional User-Agent fragment

    Projects *ProjectsService
    // contains filtered or unexported fields
}

func New Uses

func New(client *http.Client) (*Service, error)

New creates a new Service. It uses the provided http.Client for requests.

Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.

func NewService Uses

func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)

NewService creates a new Service.

type ShellTask Uses

type ShellTask struct {
    // Command: The shell command to run.
    Command string `json:"command,omitempty"`

    // ExitCode: Exit code for the task.
    ExitCode int64 `json:"exitCode,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Command") 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. "Command") 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:"-"`
}

ShellTask: A task which consists of a shell command for the worker to execute.

func (*ShellTask) MarshalJSON Uses

func (s *ShellTask) MarshalJSON() ([]byte, error)

type SideInputInfo Uses

type SideInputInfo struct {
    // Kind: How to interpret the source element(s) as a side input value.
    Kind googleapi.RawMessage `json:"kind,omitempty"`

    // Sources: The source(s) to read element(s) from to get the value of
    // this side input.
    // If more than one source, then the elements are taken from
    // the
    // sources, in the specified order if order matters.
    // At least one source is required.
    Sources []*Source `json:"sources,omitempty"`

    // Tag: The id of the tag the user code will access this side input
    // by;
    // this should correspond to the tag of some MultiOutputInfo.
    Tag string `json:"tag,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:"-"`
}

SideInputInfo: Information about a side input of a DoFn or an input of a SeqDoFn.

func (*SideInputInfo) MarshalJSON Uses

func (s *SideInputInfo) MarshalJSON() ([]byte, error)

type Sink Uses

type Sink struct {
    // Codec: The codec to use to encode data written to the sink.
    Codec googleapi.RawMessage `json:"codec,omitempty"`

    // Spec: The sink to write to, plus its parameters.
    Spec googleapi.RawMessage `json:"spec,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:"-"`
}

Sink: A sink that records can be encoded and written to.

func (*Sink) MarshalJSON Uses

func (s *Sink) MarshalJSON() ([]byte, error)

type Snapshot Uses

type Snapshot struct {
    // CreationTime: The time this snapshot was created.
    CreationTime string `json:"creationTime,omitempty"`

    // Id: The unique ID of this snapshot.
    Id  string `json:"id,omitempty"`

    // ProjectId: The project this snapshot belongs to.
    ProjectId string `json:"projectId,omitempty"`

    // SourceJobId: The job this snapshot was created from.
    SourceJobId string `json:"sourceJobId,omitempty"`

    // State: State of the snapshot.
    //
    // Possible values:
    //   "UNKNOWN_SNAPSHOT_STATE" - Unknown state.
    //   "PENDING" - Snapshot intent to create has been persisted,
    // snapshotting of state has not
    // yet started.
    //   "RUNNING" - Snapshotting is being performed.
    //   "READY" - Snapshot has been created and is ready to be used.
    //   "FAILED" - Snapshot failed to be created.
    //   "DELETED" - Snapshot has been deleted.
    State string `json:"state,omitempty"`

    // Ttl: The time after which this snapshot will be automatically
    // deleted.
    Ttl string `json:"ttl,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "CreationTime") 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. "CreationTime") 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:"-"`
}

Snapshot: Represents a snapshot of a job.

func (*Snapshot) MarshalJSON Uses

func (s *Snapshot) MarshalJSON() ([]byte, error)

type SnapshotJobRequest Uses

type SnapshotJobRequest struct {
    // Location: The location that contains this job.
    Location string `json:"location,omitempty"`

    // Ttl: TTL for the snapshot.
    Ttl string `json:"ttl,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:"-"`
}

SnapshotJobRequest: Request to create a snapshot of a job.

func (*SnapshotJobRequest) MarshalJSON Uses

func (s *SnapshotJobRequest) MarshalJSON() ([]byte, error)

type Source Uses

type Source struct {
    // BaseSpecs: While splitting, sources may specify the produced
    // bundles
    // as differences against another source, in order to save
    // backend-side
    // memory and allow bigger jobs. For details, see SourceSplitRequest.
    // To support this use case, the full set of parameters of the source
    // is logically obtained by taking the latest explicitly specified
    // value
    // of each parameter in the order:
    // base_specs (later items win), spec (overrides anything in
    // base_specs).
    BaseSpecs []googleapi.RawMessage `json:"baseSpecs,omitempty"`

    // Codec: The codec to use to decode data read from the source.
    Codec googleapi.RawMessage `json:"codec,omitempty"`

    // DoesNotNeedSplitting: Setting this value to true hints to the
    // framework that the source
    // doesn't need splitting, and using SourceSplitRequest on it
    // would
    // yield SOURCE_SPLIT_OUTCOME_USE_CURRENT.
    //
    // E.g. a file splitter may set this to true when splitting a single
    // file
    // into a set of byte ranges of appropriate size, and set this
    // to false when splitting a filepattern into individual files.
    // However, for efficiency, a file splitter may decide to produce
    // file subranges directly from the filepattern to avoid a
    // splitting
    // round-trip.
    //
    // See SourceSplitRequest for an overview of the splitting
    // process.
    //
    // This field is meaningful only in the Source objects populated
    // by the user (e.g. when filling in a DerivedSource).
    // Source objects supplied by the framework to the user don't have
    // this field populated.
    DoesNotNeedSplitting bool `json:"doesNotNeedSplitting,omitempty"`

    // Metadata: Optionally, metadata for this source can be supplied right
    // away,
    // avoiding a SourceGetMetadataOperation roundtrip
    // (see SourceOperationRequest).
    //
    // This field is meaningful only in the Source objects populated
    // by the user (e.g. when filling in a DerivedSource).
    // Source objects supplied by the framework to the user don't have
    // this field populated.
    Metadata *SourceMetadata `json:"metadata,omitempty"`

    // Spec: The source to read from, plus its parameters.
    Spec googleapi.RawMessage `json:"spec,omitempty"`

    // ForceSendFields is a list of field names (e.g. "BaseSpecs") 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. "BaseSpecs") 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:"-"`
}

Source: A source that records can be read and decoded from.

func (*Source) MarshalJSON Uses

func (s *Source) MarshalJSON() ([]byte, error)

type SourceFork Uses

type SourceFork struct {
    // Primary: DEPRECATED
    Primary *SourceSplitShard `json:"primary,omitempty"`

    // PrimarySource: DEPRECATED
    PrimarySource *DerivedSource `json:"primarySource,omitempty"`

    // Residual: DEPRECATED
    Residual *SourceSplitShard `json:"residual,omitempty"`

    // ResidualSource: DEPRECATED
    ResidualSource *DerivedSource `json:"residualSource,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:"-"`
}

SourceFork: DEPRECATED in favor of DynamicSourceSplit.

func (*SourceFork) MarshalJSON Uses

func (s *SourceFork) MarshalJSON() ([]byte, error)

type SourceGetMetadataRequest Uses

type SourceGetMetadataRequest struct {
    // Source: Specification of the source whose metadata should be
    // computed.
    Source *Source `json:"source,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Source") 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. "Source") 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:"-"`
}

SourceGetMetadataRequest: A request to compute the SourceMetadata of a Source.

func (*SourceGetMetadataRequest) MarshalJSON Uses

func (s *SourceGetMetadataRequest) MarshalJSON() ([]byte, error)

type SourceGetMetadataResponse Uses

type SourceGetMetadataResponse struct {
    // Metadata: The computed metadata.
    Metadata *SourceMetadata `json:"metadata,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:"-"`
}

SourceGetMetadataResponse: The result of a SourceGetMetadataOperation.

func (*SourceGetMetadataResponse) MarshalJSON Uses

func (s *SourceGetMetadataResponse) MarshalJSON() ([]byte, error)

type SourceMetadata Uses

type SourceMetadata struct {
    // EstimatedSizeBytes: An estimate of the total size (in bytes) of the
    // data that would be
    // read from this source.  This estimate is in terms of external
    // storage
    // size, before any decompression or other processing done by the
    // reader.
    EstimatedSizeBytes int64 `json:"estimatedSizeBytes,omitempty,string"`

    // Infinite: Specifies that the size of this source is known to be
    // infinite
    // (this is a streaming source).
    Infinite bool `json:"infinite,omitempty"`

    // ProducesSortedKeys: Whether this source is known to produce key/value
    // pairs with
    // the (encoded) keys in lexicographically sorted order.
    ProducesSortedKeys bool `json:"producesSortedKeys,omitempty"`

    // ForceSendFields is a list of field names (e.g. "EstimatedSizeBytes")
    // 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. "EstimatedSizeBytes") 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:"-"`
}

SourceMetadata: Metadata about a Source useful for automatically optimizing and tuning the pipeline, etc.

func (*SourceMetadata) MarshalJSON Uses

func (s *SourceMetadata) MarshalJSON() ([]byte, error)

type SourceOperationRequest Uses

type SourceOperationRequest struct {
    // GetMetadata: Information about a request to get metadata about a
    // source.
    GetMetadata *SourceGetMetadataRequest `json:"getMetadata,omitempty"`

    // Name: User-provided name of the Read instruction for this source.
    Name string `json:"name,omitempty"`

    // OriginalName: System-defined name for the Read instruction for this
    // source
    // in the original workflow graph.
    OriginalName string `json:"originalName,omitempty"`

    // Split: Information about a request to split a source.
    Split *SourceSplitRequest `json:"split,omitempty"`

    // StageName: System-defined name of the stage containing the source
    // operation.
    // Unique across the workflow.
    StageName string `json:"stageName,omitempty"`

    // SystemName: System-defined name of the Read instruction for this
    // source.
    // Unique across the workflow.
    SystemName string `json:"systemName,omitempty"`

    // ForceSendFields is a list of field names (e.g. "GetMetadata") 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. "GetMetadata") 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:"-"`
}

SourceOperationRequest: A work item that represents the different operations that can be performed on a user-defined Source specification.

func (*SourceOperationRequest) MarshalJSON Uses

func (s *SourceOperationRequest) MarshalJSON() ([]byte, error)

type SourceOperationResponse Uses

type SourceOperationResponse struct {
    // GetMetadata: A response to a request to get metadata about a source.
    GetMetadata *SourceGetMetadataResponse `json:"getMetadata,omitempty"`

    // Split: A response to a request to split a source.
    Split *SourceSplitResponse `json:"split,omitempty"`

    // ForceSendFields is a list of field names (e.g. "GetMetadata") 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. "GetMetadata") 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:"-"`
}

SourceOperationResponse: The result of a SourceOperationRequest, specified in ReportWorkItemStatusRequest.source_operation when the work item is completed.

func (*SourceOperationResponse) MarshalJSON Uses

func (s *SourceOperationResponse) MarshalJSON() ([]byte, error)

type SourceSplitOptions Uses

type SourceSplitOptions struct {
    // DesiredBundleSizeBytes: The source should be split into a set of
    // bundles where the estimated size
    // of each is approximately this many bytes.
    DesiredBundleSizeBytes int64 `json:"desiredBundleSizeBytes,omitempty,string"`

    // DesiredShardSizeBytes: DEPRECATED in favor of
    // desired_bundle_size_bytes.
    DesiredShardSizeBytes int64 `json:"desiredShardSizeBytes,omitempty,string"`

    // ForceSendFields is a list of field names (e.g.
    // "DesiredBundleSizeBytes") 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. "DesiredBundleSizeBytes")
    // 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:"-"`
}

SourceSplitOptions: Hints for splitting a Source into bundles (parts for parallel processing) using SourceSplitRequest.

func (*SourceSplitOptions) MarshalJSON Uses

func (s *SourceSplitOptions) MarshalJSON() ([]byte, error)

type SourceSplitRequest Uses

type SourceSplitRequest struct {
    // Options: Hints for tuning the splitting process.
    Options *SourceSplitOptions `json:"options,omitempty"`

    // Source: Specification of the source to be split.
    Source *Source `json:"source,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Options") 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. "Options") 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:"-"`
}

SourceSplitRequest: Represents the operation to split a high-level Source specification into bundles (parts for parallel processing).

At a high level, splitting of a source into bundles happens as follows: SourceSplitRequest is applied to the source. If it returns SOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting happens and the source is used "as is". Otherwise, splitting is applied recursively to each produced DerivedSource.

As an optimization, for any Source, if its does_not_need_splitting is true, the framework assumes that splitting this source would return SOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't initiate a SourceSplitRequest. This applies both to the initial source being split and to bundles produced from it.

func (*SourceSplitRequest) MarshalJSON Uses

func (s *SourceSplitRequest) MarshalJSON() ([]byte, error)

type SourceSplitResponse Uses

type SourceSplitResponse struct {
    // Bundles: If outcome is SPLITTING_HAPPENED, then this is a list of
    // bundles
    // into which the source was split. Otherwise this field is
    // ignored.
    // This list can be empty, which means the source represents an empty
    // input.
    Bundles []*DerivedSource `json:"bundles,omitempty"`

    // Outcome: Indicates whether splitting happened and produced a list of
    // bundles.
    // If this is USE_CURRENT_SOURCE_AS_IS, the current source should
    // be processed "as is" without splitting. "bundles" is ignored in this
    // case.
    // If this is SPLITTING_HAPPENED, then "bundles" contains a list
    // of
    // bundles into which the source was split.
    //
    // Possible values:
    //   "SOURCE_SPLIT_OUTCOME_UNKNOWN" - The source split outcome is
    // unknown, or unspecified.
    //   "SOURCE_SPLIT_OUTCOME_USE_CURRENT" - The current source should be
    // processed "as is" without splitting.
    //   "SOURCE_SPLIT_OUTCOME_SPLITTING_HAPPENED" - Splitting produced a
    // list of bundles.
    Outcome string `json:"outcome,omitempty"`

    // Shards: DEPRECATED in favor of bundles.
    Shards []*SourceSplitShard `json:"shards,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Bundles") 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. "Bundles") 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:"-"`
}

SourceSplitResponse: The response to a SourceSplitRequest.

func (*SourceSplitResponse) MarshalJSON Uses

func (s *SourceSplitResponse) MarshalJSON() ([]byte, error)

type SourceSplitShard Uses

type SourceSplitShard struct {
    // DerivationMode: DEPRECATED
    //
    // 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: DEPRECATED
    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:"-"`
}

SourceSplitShard: DEPRECATED in favor of DerivedSource.

func (*SourceSplitShard) MarshalJSON Uses

func (s *SourceSplitShard) MarshalJSON() ([]byte, error)

type SpannerIODetails Uses

type SpannerIODetails struct {
    // DatabaseId: DatabaseId accessed in the connection.
    DatabaseId string `json:"databaseId,omitempty"`

    // InstanceId: InstanceId accessed in the connection.
    InstanceId string `json:"instanceId,omitempty"`

    // ProjectId: ProjectId accessed in the connection.
    ProjectId string `json:"projectId,omitempty"`

    // ForceSendFields is a list of field names (e.g. "DatabaseId") 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. "DatabaseId") 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:"-"`
}

SpannerIODetails: Metadata for a Spanner connector used by the job.

func (*SpannerIODetails) MarshalJSON Uses

func (s *SpannerIODetails) MarshalJSON() ([]byte, error)

type SplitInt64 Uses

type SplitInt64 struct {
    // HighBits: The high order bits, including the sign: n >> 32.
    HighBits int64 `json:"highBits,omitempty"`

    // LowBits: The low order bits: n & 0xffffffff.
    LowBits int64 `json:"lowBits,omitempty"`

    // ForceSendFields is a list of field names (e.g. "HighBits") 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. "HighBits") 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:"-"`
}

SplitInt64: A representation of an int64, n, that is immune to precision loss when encoded in JSON.

func (*SplitInt64) MarshalJSON Uses

func (s *SplitInt64) MarshalJSON() ([]byte, error)

type StageSource Uses

type StageSource 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"`

    // SizeBytes: Size of the source, if measurable.
    SizeBytes int64 `json:"sizeBytes,omitempty,string"`

    // UserName: Human-readable name for this source; 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:"-"`
}

StageSource: Description of an input or output of an execution stage.

func (*StageSource) MarshalJSON Uses

func (s *StageSource) MarshalJSON() ([]byte, error)

type StateFamilyConfig Uses

type StateFamilyConfig struct {
    // IsRead: If true, this family corresponds to a read operation.
    IsRead bool `json:"isRead,omitempty"`

    // StateFamily: The state family value.
    StateFamily string `json:"stateFamily,omitempty"`

    // ForceSendFields is a list of field names (e.g. "IsRead") 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. "IsRead") 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:"-"`
}

StateFamilyConfig: State family configuration.

func (*StateFamilyConfig) MarshalJSON Uses

func (s *StateFamilyConfig) MarshalJSON() ([]byte, error)

type Status Uses

type Status struct {
    // Code: The status code, which should be an enum value of
    // google.rpc.Code.
    Code int64 `json:"code,omitempty"`

    // Details: A list of messages that carry the error details.  There is a
    // common set of
    // message types for APIs to use.
    Details []googleapi.RawMessage `json:"details,omitempty"`

    // Message: A developer-facing error message, which should be in
    // English. Any
    // user-facing error message should be localized and sent in
    // the
    // google.rpc.Status.details field, or localized by the client.
    Message string `json:"message,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Code") 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. "Code") 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:"-"`
}

Status: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details.

You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).

func (*Status) MarshalJSON Uses

func (s *Status) MarshalJSON() ([]byte, error)

type Step Uses

type Step struct {
    // Kind: The kind of step in the Cloud Dataflow job.
    Kind string `json:"kind,omitempty"`

    // Name: The name that identifies the step. This must be unique for
    // each
    // step with respect to all other steps in the Cloud Dataflow job.
    Name string `json:"name,omitempty"`

    // Properties: Named properties associated with the step. Each kind
    // of
    // predefined step has its own required set of properties.
    // Must be provided on Create.  Only retrieved with JOB_VIEW_ALL.
    Properties googleapi.RawMessage `json:"properties,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:"-"`
}

Step: Defines a particular step within a Cloud Dataflow job.

A job consists of multiple steps, each of which performs some specific operation as part of the overall job. Data is typically passed from one step to another as part of the job.

Here's an example of a sequence of steps which together implement a Map-Reduce job:

* Read a collection of data from some source, parsing the
  collection's elements.

* Validate the elements.

* Apply a user-defined function to map each element to some value
  and extract an element-specific key value.

* Group elements with the same key into a single element with
  that key, transforming a multiply-keyed collection into a
  uniquely-keyed collection.

* Write the elements out to some data sink.

Note that the Cloud Dataflow service may be used to run many different types of jobs, not just Map-Reduce.

func (*Step) MarshalJSON Uses

func (s *Step) MarshalJSON() ([]byte, error)

type StreamLocation Uses

type StreamLocation struct {
    // CustomSourceLocation: The stream is a custom source.
    CustomSourceLocation *CustomSourceLocation `json:"customSourceLocation,omitempty"`

    // PubsubLocation: The stream is a pubsub stream.
    PubsubLocation *PubsubLocation `json:"pubsubLocation,omitempty"`

    // SideInputLocation: The stream is a streaming side input.
    SideInputLocation *StreamingSideInputLocation `json:"sideInputLocation,omitempty"`

    // StreamingStageLocation: The stream is part of another computation
    // within the current
    // streaming Dataflow job.
    StreamingStageLocation *StreamingStageLocation `json:"streamingStageLocation,omitempty"`

    // ForceSendFields is a list of field names (e.g.
    // "CustomSourceLocation") 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. "CustomSourceLocation") 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:"-"`
}

StreamLocation: Describes a stream of data, either as input to be processed or as output of a streaming Dataflow job.

func (*StreamLocation) MarshalJSON Uses

func (s *StreamLocation) MarshalJSON() ([]byte, error)

type StreamingApplianceSnapshotConfig Uses

type StreamingApplianceSnapshotConfig struct {
    // ImportStateEndpoint: Indicates which endpoint is used to import
    // appliance state.
    ImportStateEndpoint string `json:"importStateEndpoint,omitempty"`

    // SnapshotId: If set, indicates the snapshot id for the snapshot being
    // performed.
    SnapshotId string `json:"snapshotId,omitempty"`

    // ForceSendFields is a list of field names (e.g. "ImportStateEndpoint")
    // 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. "ImportStateEndpoint") 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:"-"`
}

StreamingApplianceSnapshotConfig: Streaming appliance snapshot configuration.

func (*StreamingApplianceSnapshotConfig) MarshalJSON Uses

func (s *StreamingApplianceSnapshotConfig) MarshalJSON() ([]byte, error)

type StreamingComputationConfig Uses

type StreamingComputationConfig struct {
    // ComputationId: Unique identifier for this computation.
    ComputationId string `json:"computationId,omitempty"`

    // Instructions: Instructions that comprise the computation.
    Instructions []*ParallelInstruction `json:"instructions,omitempty"`

    // StageName: Stage name of this computation.
    StageName string `json:"stageName,omitempty"`

    // SystemName: System defined name for this computation.
    SystemName string `json:"systemName,omitempty"`

    // TransformUserNameToStateFamily: Map from user name of stateful
    // transforms in this stage to their state
    // family.
    TransformUserNameToStateFamily map[string]string `json:"transformUserNameToStateFamily,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:"-"`
}

StreamingComputationConfig: Configuration information for a single streaming computation.

func (*StreamingComputationConfig) MarshalJSON Uses

func (s *StreamingComputationConfig) MarshalJSON() ([]byte, error)

type StreamingComputationRanges Uses

type StreamingComputationRanges struct {
    // ComputationId: The ID of the computation.
    ComputationId string `json:"computationId,omitempty"`

    // RangeAssignments: Data disk assignments for ranges from this
    // computation.
    RangeAssignments []*KeyRangeDataDiskAssignment `json:"rangeAssignments,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:"-"`
}

StreamingComputationRanges: Describes full or partial data disk assignment information of the computation ranges.

func (*StreamingComputationRanges) MarshalJSON Uses

func (s *StreamingComputationRanges) MarshalJSON() ([]byte, error)

type StreamingComputationTask Uses

type StreamingComputationTask struct {
    // ComputationRanges: Contains ranges of a streaming computation this
    // task should apply to.
    ComputationRanges []*StreamingComputationRanges `json:"computationRanges,omitempty"`

    // DataDisks: Describes the set of data disks this task should apply to.
    DataDisks []*MountedDataDisk `json:"dataDisks,omitempty"`

    // TaskType: A type of streaming computation task.
    //
    // Possible values:
    //   "STREAMING_COMPUTATION_TASK_UNKNOWN" - The streaming computation
    // task is unknown, or unspecified.
    //   "STREAMING_COMPUTATION_TASK_STOP" - Stop processing specified
    // streaming computation range(s).
    //   "STREAMING_COMPUTATION_TASK_START" - Start processing specified
    // streaming computation range(s).
    TaskType string `json:"taskType,omitempty"`

    // ForceSendFields is a list of field names (e.g. "ComputationRanges")
    // 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. "ComputationRanges") 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:"-"`
}

StreamingComputationTask: A task which describes what action should be performed for the specified streaming computation ranges.

func (*StreamingComputationTask) MarshalJSON Uses

func (s *StreamingComputationTask) MarshalJSON() ([]byte, error)

type StreamingConfigTask Uses

type StreamingConfigTask struct {
    // MaxWorkItemCommitBytes: Maximum size for work item commit supported
    // windmill storage layer.
    MaxWorkItemCommitBytes int64 `json:"maxWorkItemCommitBytes,omitempty,string"`

    // StreamingComputationConfigs: Set of computation configuration
    // information.
    StreamingComputationConfigs []*StreamingComputationConfig `json:"streamingComputationConfigs,omitempty"`

    // UserStepToStateFamilyNameMap: Map from user step names to state
    // families.
    UserStepToStateFamilyNameMap map[string]string `json:"userStepToStateFamilyNameMap,omitempty"`

    // WindmillServiceEndpoint: If present, the worker must use this
    // endpoint to communicate with Windmill
    // Service dispatchers, otherwise the worker must continue to use
    // whatever
    // endpoint it had been using.
    WindmillServiceEndpoint string `json:"windmillServiceEndpoint,omitempty"`

    // WindmillServicePort: If present, the worker must use this port to
    // communicate with Windmill
    // Service dispatchers. Only applicable when windmill_service_endpoint
    // is
    // specified.
    WindmillServicePort int64 `json:"windmillServicePort,omitempty,string"`

    // ForceSendFields is a list of field names (e.g.
    // "MaxWorkItemCommitBytes") 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. "MaxWorkItemCommitBytes")
    // 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:"-"`
}

StreamingConfigTask: A task that carries configuration information for streaming computations.

func (*StreamingConfigTask) MarshalJSON Uses

func (s *StreamingConfigTask) MarshalJSON() ([]byte, error)

type StreamingSetupTask Uses

type StreamingSetupTask struct {
    // Drain: The user has requested drain.
    Drain bool `json:"drain,omitempty"`

    // ReceiveWorkPort: The TCP port on which the worker should listen for
    // messages from
    // other streaming computation workers.
    ReceiveWorkPort int64 `json:"receiveWorkPort,omitempty"`

    // SnapshotConfig: Configures streaming appliance snapshot.
    SnapshotConfig *StreamingApplianceSnapshotConfig `json:"snapshotConfig,omitempty"`

    // StreamingComputationTopology: The global topology of the streaming
    // Dataflow job.
    StreamingComputationTopology *TopologyConfig `json:"streamingComputationTopology,omitempty"`

    // WorkerHarnessPort: The TCP port used by the worker to communicate
    // with the Dataflow
    // worker harness.
    WorkerHarnessPort int64 `json:"workerHarnessPort,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Drain") 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. "Drain") 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:"-"`
}

StreamingSetupTask: A task which initializes part of a streaming Dataflow job.

func (*StreamingSetupTask) MarshalJSON Uses

func (s *StreamingSetupTask) MarshalJSON() ([]byte, error)

type StreamingSideInputLocation Uses

type StreamingSideInputLocation struct {
    // StateFamily: Identifies the state family where this side input is
    // stored.
    StateFamily string `json:"stateFamily,omitempty"`

    // Tag: Identifies the particular side input within the streaming
    // Dataflow job.
    Tag string `json:"tag,omitempty"`

    // ForceSendFields is a list of field names (e.g. "StateFamily") 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. "StateFamily") 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:"-"`
}

StreamingSideInputLocation: Identifies the location of a streaming side input.

func (*StreamingSideInputLocation) MarshalJSON Uses

func (s *StreamingSideInputLocation) MarshalJSON() ([]byte, error)

type StreamingStageLocation Uses

type StreamingStageLocation struct {
    // StreamId: Identifies the particular stream within the streaming
    // Dataflow
    // job.
    StreamId string `json:"streamId,omitempty"`

    // ForceSendFields is a list of field names (e.g. "StreamId") 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. "StreamId") 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:"-"`
}

StreamingStageLocation: Identifies the location of a streaming computation stage, for stage-to-stage communication.

func (*StreamingStageLocation) MarshalJSON Uses

func (s *StreamingStageLocation) MarshalJSON() ([]byte, error)

type StringList Uses

type StringList struct {
    // Elements: Elements of the list.
    Elements []string `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:"-"`
}

StringList: A metric value representing a list of strings.

func (*StringList) MarshalJSON Uses

func (s *StringList) MarshalJSON() ([]byte, error)

type StructuredMessage Uses

type StructuredMessage struct {
    // MessageKey: Identifier for this message type.  Used by external
    // systems to
    // internationalize or personalize message.
    MessageKey string `json:"messageKey,omitempty"`

    // MessageText: Human-readable version of message.
    MessageText string `json:"messageText,omitempty"`

    // Parameters: The structured data associated with this message.
    Parameters []*Parameter `json:"parameters,omitempty"`

    // ForceSendFields is a list of field names (e.g. "MessageKey") 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. "MessageKey") 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:"-"`
}

StructuredMessage: A rich message format, including a human readable string, a key for identifying the message, and structured data associated with the message for programmatic consumption.

func (*StructuredMessage) MarshalJSON Uses

func (s *StructuredMessage) MarshalJSON() ([]byte, error)

type TaskRunnerSettings Uses

type TaskRunnerSettings struct {
    // Alsologtostderr: Whether to also send taskrunner log info to stderr.
    Alsologtostderr bool `json:"alsologtostderr,omitempty"`

    // BaseTaskDir: The location on the worker for task-specific
    // subdirectories.
    BaseTaskDir string `json:"baseTaskDir,omitempty"`

    // BaseUrl: The base URL for the taskrunner to use when accessing Google
    // Cloud APIs.
    //
    // When workers access Google Cloud APIs, they logically do so
    // via
    // relative URLs.  If this field is specified, it supplies the base
    // URL to use for resolving these relative URLs.  The
    // normative
    // algorithm used is defined by RFC 1808, "Relative Uniform
    // Resource
    // Locators".
    //
    // If not specified, the default value is "http://www.googleapis.com/"
    BaseUrl string `json:"baseUrl,omitempty"`

    // CommandlinesFileName: The file to store preprocessing commands in.
    CommandlinesFileName string `json:"commandlinesFileName,omitempty"`

    // ContinueOnException: Whether to continue taskrunner if an exception
    // is hit.
    ContinueOnException bool `json:"continueOnException,omitempty"`

    // DataflowApiVersion: The API version of endpoint, e.g. "v1b3"
    DataflowApiVersion string `json:"dataflowApiVersion,omitempty"`

    // HarnessCommand: The command to launch the worker harness.
    HarnessCommand string `json:"harnessCommand,omitempty"`

    // LanguageHint: The suggested backend language.
    LanguageHint string `json:"languageHint,omitempty"`

    // LogDir: The directory on the VM to store logs.
    LogDir string `json:"logDir,omitempty"`

    // LogToSerialconsole: Whether to send taskrunner log info to Google
    // Compute Engine VM serial
    // console.
    LogToSerialconsole bool `json:"logToSerialconsole,omitempty"`

    // LogUploadLocation: Indicates where to put logs.  If this is not
    // specified, the logs
    // will not be uploaded.
    //
    // The supported resource type is:
    //
    // Google Cloud Storage:
    //   storage.googleapis.com/{bucket}/{object}
    //   bucket.storage.googleapis.com/{object}
    LogUploadLocation string `json:"logUploadLocation,omitempty"`

    // OauthScopes: The OAuth2 scopes to be requested by the taskrunner in
    // order to
    // access the Cloud Dataflow API.
    OauthScopes []string `json:"oauthScopes,omitempty"`

    // ParallelWorkerSettings: The settings to pass to the parallel worker
    // harness.
    ParallelWorkerSettings *WorkerSettings `json:"parallelWorkerSettings,omitempty"`

    // StreamingWorkerMainClass: The streaming worker main class name.
    StreamingWorkerMainClass string `json:"streamingWorkerMainClass,omitempty"`

    // TaskGroup: The UNIX group ID on the worker VM to use for tasks
    // launched by
    // taskrunner; e.g. "wheel".
    TaskGroup string `json:"taskGroup,omitempty"`

    // TaskUser: The UNIX user ID on the worker VM to use for tasks launched
    // by
    // taskrunner; e.g. "root".
    TaskUser string `json:"taskUser,omitempty"`

    // TempStoragePrefix: The prefix of the resources the taskrunner should
    // use for
    // temporary storage.
    //
    // The supported resource type is:
    //
    // Google Cloud Storage:
    //   storage.googleapis.com/{bucket}/{object}
    //   bucket.storage.googleapis.com/{object}
    TempStoragePrefix string `json:"tempStoragePrefix,omitempty"`

    // VmId: The ID string of the VM.
    VmId string `json:"vmId,omitempty"`

    // WorkflowFileName: The file to store the workflow in.
    WorkflowFileName string `json:"workflowFileName,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Alsologtostderr") 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. "Alsologtostderr") 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:"-"`
}

TaskRunnerSettings: Taskrunner configuration settings.

func (*TaskRunnerSettings) MarshalJSON Uses

func (s *TaskRunnerSettings) MarshalJSON() ([]byte, error)

type TemplateMetadata Uses

type TemplateMetadata struct {
    // Description: Optional. A description of the template.
    Description string `json:"description,omitempty"`

    // Name: Required. The name of the template.
    Name string `json:"name,omitempty"`

    // Parameters: The parameters for the template.
    Parameters []*ParameterMetadata `json:"parameters,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:"-"`
}

TemplateMetadata: Metadata describing a template.

func (*TemplateMetadata) MarshalJSON Uses

func (s *TemplateMetadata) MarshalJSON() ([]byte, error)

type TopologyConfig Uses

type TopologyConfig struct {
    // Computations: The computations associated with a streaming Dataflow
    // job.
    Computations []*ComputationTopology `json:"computations,omitempty"`

    // DataDiskAssignments: The disks assigned to a streaming Dataflow job.
    DataDiskAssignments []*DataDiskAssignment `json:"dataDiskAssignments,omitempty"`

    // ForwardingKeyBits: The size (in bits) of keys that will be assigned
    // to source messages.
    ForwardingKeyBits int64 `json:"forwardingKeyBits,omitempty"`

    // PersistentStateVersion: Version number for persistent state.
    PersistentStateVersion int64 `json:"persistentStateVersion,omitempty"`

    // UserStageToComputationNameMap: Maps user stage names to stable
    // computation names.
    UserStageToComputationNameMap map[string]string `json:"userStageToComputationNameMap,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Computations") 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. "Computations") 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:"-"`
}

TopologyConfig: Global topology of the streaming Dataflow job, including all computations and their sharded locations.

func (*TopologyConfig) MarshalJSON