Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment

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

EnvironmentGroupAttachment is a resource which defines an attachment of an environment to an environment group.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1EnvironmentGroupAttachment

Returns a new instance of GoogleCloudApigeeV1EnvironmentGroupAttachment.



2774
2775
2776
# File 'generated/google/apis/apigee_v1/classes.rb', line 2774

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

Instance Attribute Details

#created_atFixnum

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

Returns:

  • (Fixnum)


2762
2763
2764
# File 'generated/google/apis/apigee_v1/classes.rb', line 2762

def created_at
  @created_at
end

#environmentString

Required. ID of the attached environment. Corresponds to the JSON property environment

Returns:

  • (String)


2767
2768
2769
# File 'generated/google/apis/apigee_v1/classes.rb', line 2767

def environment
  @environment
end

#nameString

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

Returns:

  • (String)


2772
2773
2774
# File 'generated/google/apis/apigee_v1/classes.rb', line 2772

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2779
2780
2781
2782
2783
# File 'generated/google/apis/apigee_v1/classes.rb', line 2779

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