Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance

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

Apigee runtime instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1Instance

Returns a new instance of GoogleCloudApigeeV1Instance.



3185
3186
3187
# File 'lib/google/apis/apigee_v1/classes.rb', line 3185

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

Instance Attribute Details

#created_atFixnum

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

Returns:

  • (Fixnum)


3127
3128
3129
# File 'lib/google/apis/apigee_v1/classes.rb', line 3127

def created_at
  @created_at
end

#descriptionString

Optional. Description of the instance. Corresponds to the JSON property description

Returns:

  • (String)


3132
3133
3134
# File 'lib/google/apis/apigee_v1/classes.rb', line 3132

def description
  @description
end

#disk_encryption_key_nameString

Customer Managed Encryption Key (CMEK) used for disk and volume encryption. Required for Apigee paid subscriptions only. Use the following format: projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+) Corresponds to the JSON property diskEncryptionKeyName

Returns:

  • (String)


3139
3140
3141
# File 'lib/google/apis/apigee_v1/classes.rb', line 3139

def disk_encryption_key_name
  @disk_encryption_key_name
end

#display_nameString

Optional. Display name for the instance. Corresponds to the JSON property displayName

Returns:

  • (String)


3144
3145
3146
# File 'lib/google/apis/apigee_v1/classes.rb', line 3144

def display_name
  @display_name
end

#hostString

Output only. Hostname or IP address of the exposed Apigee endpoint used by clients to connect to the service. Corresponds to the JSON property host

Returns:

  • (String)


3150
3151
3152
# File 'lib/google/apis/apigee_v1/classes.rb', line 3150

def host
  @host
end

#last_modified_atFixnum

Output only. Time the instance was last modified in milliseconds since epoch. Corresponds to the JSON property lastModifiedAt

Returns:

  • (Fixnum)


3155
3156
3157
# File 'lib/google/apis/apigee_v1/classes.rb', line 3155

def last_modified_at
  @last_modified_at
end

#locationString

Required. Compute Engine location where the instance resides. Corresponds to the JSON property location

Returns:

  • (String)


3160
3161
3162
# File 'lib/google/apis/apigee_v1/classes.rb', line 3160

def location
  @location
end

#nameString

Required. Resource ID of the instance. Values must match the regular expression ^a-z0,30[a-z\d]$. Corresponds to the JSON property name

Returns:

  • (String)


3166
3167
3168
# File 'lib/google/apis/apigee_v1/classes.rb', line 3166

def name
  @name
end

#peering_cidr_rangeString

Optional. The size of the CIDR block range that will be reserved by the instance. If not specified, default to SLASH_16. Corresponds to the JSON property peeringCidrRange

Returns:

  • (String)


3172
3173
3174
# File 'lib/google/apis/apigee_v1/classes.rb', line 3172

def peering_cidr_range
  @peering_cidr_range
end

#portString

Output only. Port number of the exposed Apigee endpoint. Corresponds to the JSON property port

Returns:

  • (String)


3177
3178
3179
# File 'lib/google/apis/apigee_v1/classes.rb', line 3177

def port
  @port
end

#stateString

Output only. State of the instance. Values other than ACTIVE means the resource is not ready to use. Corresponds to the JSON property state

Returns:

  • (String)


3183
3184
3185
# File 'lib/google/apis/apigee_v1/classes.rb', line 3183

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
# File 'lib/google/apis/apigee_v1/classes.rb', line 3190

def update!(**args)
  @created_at = args[:created_at] if args.key?(:created_at)
  @description = args[:description] if args.key?(:description)
  @disk_encryption_key_name = args[:disk_encryption_key_name] if args.key?(:disk_encryption_key_name)
  @display_name = args[:display_name] if args.key?(:display_name)
  @host = args[:host] if args.key?(:host)
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
  @location = args[:location] if args.key?(:location)
  @name = args[:name] if args.key?(:name)
  @peering_cidr_range = args[:peering_cidr_range] if args.key?(:peering_cidr_range)
  @port = args[:port] if args.key?(:port)
  @state = args[:state] if args.key?(:state)
end