Class: Google::Apis::ComposerV1::Environment
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ComposerV1::Environment
 
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/composer_v1/classes.rb,
 lib/google/apis/composer_v1/representations.rb,
 lib/google/apis/composer_v1/representations.rb
Overview
An environment for running orchestration tasks.
Instance Attribute Summary collapse
- 
  
    
      #config  ⇒ Google::Apis::ComposerV1::EnvironmentConfig 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Configuration information for an environment. 
- 
  
    
      #create_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
- 
  
    
      #labels  ⇒ Hash<String,String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The resource name of the environment, in the form: "projects/ projectId/ locations/locationId/environments/environmentId" EnvironmentId must start with a lowercase letter followed by up to 63 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
- 
  
    
      #satisfies_pzs  ⇒ Boolean 
    
    
      (also: #satisfies_pzs?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
- 
  
    
      #state  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The current state of the environment. 
- 
  
    
      #storage_config  ⇒ Google::Apis::ComposerV1::StorageConfig 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The configuration for data storage in the environment. 
- 
  
    
      #update_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
- 
  
    
      #uuid  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Environment 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Environment. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ Environment
Returns a new instance of Environment.
| 321 322 323 | # File 'lib/google/apis/composer_v1/classes.rb', line 321 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#config ⇒ Google::Apis::ComposerV1::EnvironmentConfig
Configuration information for an environment.
Corresponds to the JSON property config
| 270 271 272 | # File 'lib/google/apis/composer_v1/classes.rb', line 270 def config @config end | 
#create_time ⇒ String
Output only. The time at which this environment was created.
Corresponds to the JSON property createTime
| 275 276 277 | # File 'lib/google/apis/composer_v1/classes.rb', line 275 def create_time @create_time end | 
#labels ⇒ Hash<String,String>
Optional. User-defined labels for this environment. 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: \pLl\
pLo0,62 * Values must conform to regexp: [\pLl\pLo\pN_-]0,63 *
Both keys and values are additionally constrained to be <= 128 bytes in size.
Corresponds to the JSON property labels
| 284 285 286 | # File 'lib/google/apis/composer_v1/classes.rb', line 284 def labels @labels end | 
#name ⇒ String
The resource name of the environment, in the form: "projects/projectId/
locations/locationId/environments/environmentId" EnvironmentId must start
with a lowercase letter followed by up to 63 lowercase letters, numbers, or
hyphens, and cannot end with a hyphen.
Corresponds to the JSON property name
| 292 293 294 | # File 'lib/google/apis/composer_v1/classes.rb', line 292 def name @name end | 
#satisfies_pzs ⇒ Boolean Also known as: satisfies_pzs?
Output only. Reserved for future use.
Corresponds to the JSON property satisfiesPzs
| 297 298 299 | # File 'lib/google/apis/composer_v1/classes.rb', line 297 def satisfies_pzs @satisfies_pzs end | 
#state ⇒ String
The current state of the environment.
Corresponds to the JSON property state
| 303 304 305 | # File 'lib/google/apis/composer_v1/classes.rb', line 303 def state @state end | 
#storage_config ⇒ Google::Apis::ComposerV1::StorageConfig
The configuration for data storage in the environment.
Corresponds to the JSON property storageConfig
| 308 309 310 | # File 'lib/google/apis/composer_v1/classes.rb', line 308 def storage_config @storage_config end | 
#update_time ⇒ String
Output only. The time at which this environment was last modified.
Corresponds to the JSON property updateTime
| 313 314 315 | # File 'lib/google/apis/composer_v1/classes.rb', line 313 def update_time @update_time end | 
#uuid ⇒ String
Output only. The UUID (Universally Unique IDentifier) associated with this
environment. This value is generated when the environment is created.
Corresponds to the JSON property uuid
| 319 320 321 | # File 'lib/google/apis/composer_v1/classes.rb', line 319 def uuid @uuid end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 326 327 328 329 330 331 332 333 334 335 336 | # File 'lib/google/apis/composer_v1/classes.rb', line 326 def update!(**args) @config = args[:config] if args.key?(:config) @create_time = args[:create_time] if args.key?(:create_time) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs) @state = args[:state] if args.key?(:state) @storage_config = args[:storage_config] if args.key?(:storage_config) @update_time = args[:update_time] if args.key?(:update_time) @uuid = args[:uuid] if args.key?(:uuid) end |