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

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

InstanceAttachment represents the installation of an environment onto an instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1InstanceAttachment

Returns a new instance of GoogleCloudApigeeV1InstanceAttachment.


2858
2859
2860
# File 'generated/google/apis/apigee_v1/classes.rb', line 2858

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)

2846
2847
2848
# File 'generated/google/apis/apigee_v1/classes.rb', line 2846

def created_at
  @created_at
end

#environmentString

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

Returns:

  • (String)

2851
2852
2853
# File 'generated/google/apis/apigee_v1/classes.rb', line 2851

def environment
  @environment
end

#nameString

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

Returns:

  • (String)

2856
2857
2858
# File 'generated/google/apis/apigee_v1/classes.rb', line 2856

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


2863
2864
2865
2866
2867
# File 'generated/google/apis/apigee_v1/classes.rb', line 2863

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