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.
-
#environment_group_id ⇒ String
Output only.
-
#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.
4709 4710 4711 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4709 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
4692 4693 4694 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4692 def created_at @created_at end |
#environment ⇒ String
Required. ID of the attached environment.
Corresponds to the JSON property environment
4697 4698 4699 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4697 def environment @environment end |
#environment_group_id ⇒ String
Output only. ID of the environment group.
Corresponds to the JSON property environmentGroupId
4702 4703 4704 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4702 def environment_group_id @environment_group_id end |
#name ⇒ String
ID of the environment group attachment.
Corresponds to the JSON property name
4707 4708 4709 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4707 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4714 4715 4716 4717 4718 4719 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4714 def update!(**args) @created_at = args[:created_at] if args.key?(:created_at) @environment = args[:environment] if args.key?(:environment) @environment_group_id = args[:environment_group_id] if args.key?(:environment_group_id) @name = args[:name] if args.key?(:name) end |