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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/apigee_v1/classes.rb,
generated/google/apis/apigee_v1/representations.rb,
generated/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.



2740
2741
2742
# File 'generated/google/apis/apigee_v1/classes.rb', line 2740

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)


2722
2723
2724
# File 'generated/google/apis/apigee_v1/classes.rb', line 2722

def created_at
  @created_at
end

#hostnamesArray<String>

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

Returns:

  • (Array<String>)


2727
2728
2729
# File 'generated/google/apis/apigee_v1/classes.rb', line 2727

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)


2733
2734
2735
# File 'generated/google/apis/apigee_v1/classes.rb', line 2733

def last_modified_at
  @last_modified_at
end

#nameString

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

Returns:

  • (String)


2738
2739
2740
# File 'generated/google/apis/apigee_v1/classes.rb', line 2738

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2745
2746
2747
2748
2749
2750
# File 'generated/google/apis/apigee_v1/classes.rb', line 2745

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)
end