class Google::Apis::ComposerV1beta1::Environment
An environment for running orchestration tasks.
Attributes
Configuration information for an environment. Corresponds to the JSON property `config` @return [Google::Apis::ComposerV1beta1::EnvironmentConfig]
Output only. The time at which this environment was created. Corresponds to the JSON property `createTime` @return [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: 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. Corresponds to the JSON property `labels` @return [Hash<String,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` @return [String]
The current state of the environment. Corresponds to the JSON property `state` @return [String]
Output only. The time at which this environment was last modified. Corresponds to the JSON property `updateTime` @return [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` @return [String]
Public Class Methods
# File lib/google/apis/composer_v1beta1/classes.rb, line 282 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/composer_v1beta1/classes.rb, line 287 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) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) @uuid = args[:uuid] if args.key?(:uuid) end