Class: Google::Apis::DataflowV1b3::ServiceResources

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/google/apis/dataflow_v1b3/representations.rb

Overview

Resources used by the Dataflow Service to run the job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ServiceResources

Returns a new instance of ServiceResources.



4978
4979
4980
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4978

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#zonesArray<String>

Output only. List of Cloud Zones being used by the Dataflow Service for this job. Example: us-central1-c Corresponds to the JSON property zones

Returns:

  • (Array<String>)


4976
4977
4978
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4976

def zones
  @zones
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4983
4984
4985
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4983

def update!(**args)
  @zones = args[:zones] if args.key?(:zones)
end