Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1InstanceAttachment

Returns a new instance of GoogleCloudApigeeV1InstanceAttachment.



5404
5405
5406
# File 'lib/google/apis/apigee_v1/classes.rb', line 5404

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

Instance Attribute Details

#created_atFixnum

Output only. Time the attachment was created in milliseconds since epoch. Corresponds to the JSON property createdAt

Returns:

  • (Fixnum)


5392
5393
5394
# File 'lib/google/apis/apigee_v1/classes.rb', line 5392

def created_at
  @created_at
end

#environmentString

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

Returns:

  • (String)


5397
5398
5399
# File 'lib/google/apis/apigee_v1/classes.rb', line 5397

def environment
  @environment
end

#nameString

Output only. ID of the attachment. Corresponds to the JSON property name

Returns:

  • (String)


5402
5403
5404
# File 'lib/google/apis/apigee_v1/classes.rb', line 5402

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5409
5410
5411
5412
5413
# File 'lib/google/apis/apigee_v1/classes.rb', line 5409

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