Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup

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

Overview

EnvironmentGroup configuration. An environment group is used to group one or more Apigee environments under a single host name.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1EnvironmentGroup

Returns a new instance of GoogleCloudApigeeV1EnvironmentGroup.



3435
3436
3437
# File 'lib/google/apis/apigee_v1/classes.rb', line 3435

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

Instance Attribute Details

#created_atFixnum

Output only. The time at which the environment group was created as milliseconds since epoch. Corresponds to the JSON property createdAt

Returns:

  • (Fixnum)


3411
3412
3413
# File 'lib/google/apis/apigee_v1/classes.rb', line 3411

def created_at
  @created_at
end

#hostnamesArray<String>

Required. Host names for this environment group. Corresponds to the JSON property hostnames

Returns:

  • (Array<String>)


3416
3417
3418
# File 'lib/google/apis/apigee_v1/classes.rb', line 3416

def hostnames
  @hostnames
end

#last_modified_atFixnum

Output only. The time at which the environment group was last updated as milliseconds since epoch. Corresponds to the JSON property lastModifiedAt

Returns:

  • (Fixnum)


3422
3423
3424
# File 'lib/google/apis/apigee_v1/classes.rb', line 3422

def last_modified_at
  @last_modified_at
end

#nameString

ID of the environment group. Corresponds to the JSON property name

Returns:

  • (String)


3427
3428
3429
# File 'lib/google/apis/apigee_v1/classes.rb', line 3427

def name
  @name
end

#stateString

Output only. State of the environment group. Values other than ACTIVE means the resource is not ready to use. Corresponds to the JSON property state

Returns:

  • (String)


3433
3434
3435
# File 'lib/google/apis/apigee_v1/classes.rb', line 3433

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3440
3441
3442
3443
3444
3445
3446
# File 'lib/google/apis/apigee_v1/classes.rb', line 3440

def update!(**args)
  @created_at = args[:created_at] if args.key?(:created_at)
  @hostnames = args[:hostnames] if args.key?(:hostnames)
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
  @name = args[:name] if args.key?(:name)
  @state = args[:state] if args.key?(:state)
end