Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment
- 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
EnvironmentGroupAttachment is a resource which defines an attachment of an environment to an environment group.
Instance Attribute Summary collapse
-
#created_at ⇒ Fixnum
Output only.
-
#environment ⇒ String
Required.
-
#name ⇒ String
ID of the environment group attachment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1EnvironmentGroupAttachment
constructor
A new instance of GoogleCloudApigeeV1EnvironmentGroupAttachment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1EnvironmentGroupAttachment
Returns a new instance of GoogleCloudApigeeV1EnvironmentGroupAttachment.
2799 2800 2801 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2799 def initialize(**args) update!(**args) end |
Instance Attribute Details
#created_at ⇒ Fixnum
Output only. The time at which the environment group attachment was created as
milliseconds since epoch.
Corresponds to the JSON property createdAt
2787 2788 2789 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2787 def created_at @created_at end |
#environment ⇒ String
Required. ID of the attached environment.
Corresponds to the JSON property environment
2792 2793 2794 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2792 def environment @environment end |
#name ⇒ String
ID of the environment group attachment.
Corresponds to the JSON property name
2797 2798 2799 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2797 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2804 2805 2806 2807 2808 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2804 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 |