Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment
- 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
InstanceAttachment represents the installation of an environment onto an instance.
Instance Attribute Summary collapse
-
#created_at ⇒ Fixnum
Output only.
-
#environment ⇒ String
ID of the attached environment.
-
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1InstanceAttachment
constructor
A new instance of GoogleCloudApigeeV1InstanceAttachment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1InstanceAttachment
Returns a new instance of GoogleCloudApigeeV1InstanceAttachment.
3228 3229 3230 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3228 def initialize(**args) update!(**args) end |
Instance Attribute Details
#created_at ⇒ Fixnum
Output only. Time the attachment was created in milliseconds since epoch.
Corresponds to the JSON property createdAt
3216 3217 3218 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3216 def created_at @created_at end |
#environment ⇒ String
ID of the attached environment.
Corresponds to the JSON property environment
3221 3222 3223 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3221 def environment @environment end |
#name ⇒ String
Output only. ID of the attachment.
Corresponds to the JSON property name
3226 3227 3228 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3226 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3233 3234 3235 3236 3237 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3233 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 |