dataflow
v1b3
|
#include <environment.h>
Public Member Functions | |
Environment (const Json::Value &storage) | |
Environment (Json::Value *storage) | |
virtual | ~Environment () |
const StringPiece | GetTypeName () const |
bool | has_cluster_manager_api_service () const |
void | clear_cluster_manager_api_service () |
const StringPiece | get_cluster_manager_api_service () const |
void | set_cluster_manager_api_service (const StringPiece &value) |
bool | has_dataset () const |
void | clear_dataset () |
const StringPiece | get_dataset () const |
void | set_dataset (const StringPiece &value) |
bool | has_experiments () const |
void | clear_experiments () |
const client::JsonCppArray< string > | get_experiments () const |
client::JsonCppArray< string > | mutable_experiments () |
bool | has_flex_resource_scheduling_goal () const |
void | clear_flex_resource_scheduling_goal () |
const StringPiece | get_flex_resource_scheduling_goal () const |
void | set_flex_resource_scheduling_goal (const StringPiece &value) |
bool | has_internal_experiments () const |
void | clear_internal_experiments () |
const client::JsonCppAssociativeArray< client::JsonCppData > | get_internal_experiments () const |
client::JsonCppAssociativeArray< client::JsonCppData > | mutable_internalExperiments () |
bool | has_sdk_pipeline_options () const |
void | clear_sdk_pipeline_options () |
const client::JsonCppAssociativeArray< client::JsonCppData > | get_sdk_pipeline_options () const |
client::JsonCppAssociativeArray< client::JsonCppData > | mutable_sdkPipelineOptions () |
bool | has_service_account_email () const |
void | clear_service_account_email () |
const StringPiece | get_service_account_email () const |
void | set_service_account_email (const StringPiece &value) |
bool | has_service_kms_key_name () const |
void | clear_service_kms_key_name () |
const StringPiece | get_service_kms_key_name () const |
void | set_service_kms_key_name (const StringPiece &value) |
bool | has_temp_storage_prefix () const |
void | clear_temp_storage_prefix () |
const StringPiece | get_temp_storage_prefix () const |
void | set_temp_storage_prefix (const StringPiece &value) |
bool | has_user_agent () const |
void | clear_user_agent () |
const client::JsonCppAssociativeArray< client::JsonCppData > | get_user_agent () const |
client::JsonCppAssociativeArray< client::JsonCppData > | mutable_userAgent () |
bool | has_version () const |
void | clear_version () |
const client::JsonCppAssociativeArray< client::JsonCppData > | get_version () const |
client::JsonCppAssociativeArray< client::JsonCppData > | mutable_version () |
bool | has_worker_pools () const |
void | clear_worker_pools () |
const client::JsonCppArray< WorkerPool > | get_worker_pools () const |
client::JsonCppArray< WorkerPool > | mutable_workerPools () |
bool | has_worker_region () const |
void | clear_worker_region () |
const StringPiece | get_worker_region () const |
void | set_worker_region (const StringPiece &value) |
bool | has_worker_zone () const |
void | clear_worker_zone () |
const StringPiece | get_worker_zone () const |
void | set_worker_zone (const StringPiece &value) |
Static Public Member Functions | |
static Environment * | New () |
Describes the environment in which a Dataflow Job runs.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'clusterManagerApiService
' attribute.
|
inline |
Clears the 'dataset
' attribute.
|
inline |
Clears the 'experiments
' attribute.
|
inline |
Clears the 'flexResourceSchedulingGoal
' attribute.
|
inline |
Clears the 'internalExperiments
' attribute.
|
inline |
Clears the 'sdkPipelineOptions
' attribute.
|
inline |
Clears the 'serviceAccountEmail
' attribute.
|
inline |
Clears the 'serviceKmsKeyName
' attribute.
|
inline |
Clears the 'tempStoragePrefix
' attribute.
|
inline |
Clears the 'userAgent
' attribute.
|
inline |
Clears the 'version
' attribute.
|
inline |
Clears the 'workerPools
' attribute.
|
inline |
Clears the 'workerRegion
' attribute.
|
inline |
Clears the 'workerZone
' attribute.
|
inline |
Get the value of the 'clusterManagerApiService
' attribute.
|
inline |
Get the value of the 'dataset
' attribute.
|
inline |
Get a reference to the value of the 'experiments
' attribute.
|
inline |
Get the value of the 'flexResourceSchedulingGoal
' attribute.
|
inline |
Get a reference to the value of the 'internalExperiments
' attribute.
|
inline |
Get a reference to the value of the 'sdkPipelineOptions
' attribute.
|
inline |
Get the value of the 'serviceAccountEmail
' attribute.
|
inline |
Get the value of the 'serviceKmsKeyName
' attribute.
|
inline |
Get the value of the 'tempStoragePrefix
' attribute.
|
inline |
Get a reference to the value of the 'userAgent
' attribute.
|
inline |
Get a reference to the value of the 'version
' attribute.
const client::JsonCppArray<WorkerPool > google_dataflow_api::Environment::get_worker_pools | ( | ) | const |
Get a reference to the value of the 'workerPools
' attribute.
|
inline |
Get the value of the 'workerRegion
' attribute.
|
inline |
Get the value of the 'workerZone
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'clusterManagerApiService
' attribute was set.
clusterManagerApiService
' attribute was set.
|
inline |
Determine if the 'dataset
' attribute was set.
dataset
' attribute was set.
|
inline |
Determine if the 'experiments
' attribute was set.
experiments
' attribute was set.
|
inline |
Determine if the 'flexResourceSchedulingGoal
' attribute was set.
flexResourceSchedulingGoal
' attribute was set.
|
inline |
Determine if the 'internalExperiments
' attribute was set.
internalExperiments
' attribute was set.
|
inline |
Determine if the 'sdkPipelineOptions
' attribute was set.
sdkPipelineOptions
' attribute was set.
|
inline |
Determine if the 'serviceAccountEmail
' attribute was set.
serviceAccountEmail
' attribute was set.
|
inline |
Determine if the 'serviceKmsKeyName
' attribute was set.
serviceKmsKeyName
' attribute was set.
|
inline |
Determine if the 'tempStoragePrefix
' attribute was set.
tempStoragePrefix
' attribute was set.
|
inline |
Determine if the 'userAgent
' attribute was set.
userAgent
' attribute was set.
|
inline |
Determine if the 'version
' attribute was set.
version
' attribute was set.
|
inline |
Determine if the 'workerPools
' attribute was set.
workerPools
' attribute was set.
|
inline |
Determine if the 'workerRegion
' attribute was set.
workerRegion
' attribute was set.
|
inline |
Determine if the 'workerZone
' attribute was set.
workerZone
' attribute was set.
|
inline |
Gets a reference to a mutable value of the 'experiments
' property.
The list of experiments to enable.
|
inline |
Gets a reference to a mutable value of the 'internalExperiments
' property.
Experimental settings.
|
inline |
Gets a reference to a mutable value of the 'sdkPipelineOptions
' property.
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.
|
inline |
Gets a reference to a mutable value of the 'userAgent
' property.
A description of the process that generated the request.
|
inline |
Gets a reference to a mutable value of the 'version
' property.
A structure describing which components and their versions of the service are required in order to run the job.
client::JsonCppArray<WorkerPool > google_dataflow_api::Environment::mutable_workerPools | ( | ) |
Gets a reference to a mutable value of the 'workerPools
' property.
The worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
|
static |
Creates a new default instance.
|
inline |
Change the 'clusterManagerApiService
' attribute.
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".
[in] | value | The new value. |
|
inline |
Change the 'dataset
' attribute.
The dataset for the current project where various workflow related tables are stored.
The supported resource type is:
Google BigQuery: bigquery.googleapis.com/{dataset}.
[in] | value | The new value. |
|
inline |
Change the 'flexResourceSchedulingGoal
' attribute.
Which Flexible Resource Scheduling mode to run in.
[in] | value | The new value. |
|
inline |
Change the 'serviceAccountEmail
' attribute.
Identity to run virtual machines as. Defaults to the default account.
[in] | value | The new value. |
|
inline |
Change the 'serviceKmsKeyName
' attribute.
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/KEY.
[in] | value | The new value. |
|
inline |
Change the 'tempStoragePrefix
' attribute.
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}.
[in] | value | The new value. |
|
inline |
Change the 'workerRegion
' attribute.
The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
which worker processing should occur, e.g. "us-west1". Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane's region.
[in] | value | The new value. |
|
inline |
Change the 'workerZone
' attribute.
The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
which worker processing should occur, e.g. "us-west1-a". Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane's region is chosen based on available capacity.
[in] | value | The new value. |