Class: Google::Cloud::Dataproc::V1::ExecutionConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dataproc/v1/shared.rb

Overview

Execution configuration for a workload.

Instance Attribute Summary collapse

Instance Attribute Details

#idle_ttl::Google::Protobuf::Duration

Returns Optional. Applies to sessions only. The duration to keep the session alive while it's idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration). Defaults to 1 hour if not set. If both ttl and idle_ttl are specified for an interactive session, the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceeded, whichever occurs first.

Returns:

  • (::Google::Protobuf::Duration)

    Optional. Applies to sessions only. The duration to keep the session alive while it's idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration). Defaults to 1 hour if not set. If both ttl and idle_ttl are specified for an interactive session, the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceeded, whichever occurs first.



126
127
128
129
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 126

class ExecutionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#kms_key::String

Returns Optional. The Cloud KMS key to use for encryption.

Returns:

  • (::String)

    Optional. The Cloud KMS key to use for encryption.



126
127
128
129
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 126

class ExecutionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#network_tags::Array<::String>

Returns Optional. Tags used for network traffic control.

Returns:

  • (::Array<::String>)

    Optional. Tags used for network traffic control.



126
127
128
129
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 126

class ExecutionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#network_uri::String

Returns Optional. Network URI to connect workload to.

Returns:

  • (::String)

    Optional. Network URI to connect workload to.



126
127
128
129
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 126

class ExecutionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#service_account::String

Returns Optional. Service account that used to execute workload.

Returns:

  • (::String)

    Optional. Service account that used to execute workload.



126
127
128
129
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 126

class ExecutionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#staging_bucket::String

Returns Optional. A Cloud Storage bucket used to stage workload dependencies, config files, and store workload output and other ephemeral data, such as Spark history files. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location according to the region where your workload is running, and then create and manage project-level, per-location staging and temporary buckets. This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket..

Returns:

  • (::String)

    Optional. A Cloud Storage bucket used to stage workload dependencies, config files, and store workload output and other ephemeral data, such as Spark history files. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location according to the region where your workload is running, and then create and manage project-level, per-location staging and temporary buckets. This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.



126
127
128
129
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 126

class ExecutionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#subnetwork_uri::String

Returns Optional. Subnetwork URI to connect workload to.

Returns:

  • (::String)

    Optional. Subnetwork URI to connect workload to.



126
127
128
129
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 126

class ExecutionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#ttl::Google::Protobuf::Duration

Returns Optional. The duration after which the workload will be terminated, specified as the JSON representation for Duration. When the workload exceeds this duration, it will be unconditionally terminated without waiting for ongoing work to finish. If ttl is not specified for a batch workload, the workload will be allowed to run until it exits naturally (or run forever without exiting). If ttl is not specified for an interactive session, it defaults to 24 hours. If ttl is not specified for a batch that uses 2.1+ runtime version, it defaults to 4 hours. Minimum value is 10 minutes; maximum value is 14 days. If both ttl and idle_ttl are specified (for an interactive session), the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceeded, whichever occurs first.

Returns:

  • (::Google::Protobuf::Duration)

    Optional. The duration after which the workload will be terminated, specified as the JSON representation for Duration. When the workload exceeds this duration, it will be unconditionally terminated without waiting for ongoing work to finish. If ttl is not specified for a batch workload, the workload will be allowed to run until it exits naturally (or run forever without exiting). If ttl is not specified for an interactive session, it defaults to 24 hours. If ttl is not specified for a batch that uses 2.1+ runtime version, it defaults to 4 hours. Minimum value is 10 minutes; maximum value is 14 days. If both ttl and idle_ttl are specified (for an interactive session), the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceeded, whichever occurs first.



126
127
128
129
# File 'proto_docs/google/cloud/dataproc/v1/shared.rb', line 126

class ExecutionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end