Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Alias

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

A reference to a certificate or key, certificate pair.

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) ⇒ GoogleCloudApigeeV1Alias

Returns a new instance of GoogleCloudApigeeV1Alias.


213
214
215
# File 'generated/google/apis/apigee_v1/classes.rb', line 213

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

Instance Attribute Details

#aliasString

The resource ID for this alias. Values must match regular expression [^/]1, 255`. Corresponds to the JSON propertyalias`

Returns:

  • (String)

201
202
203
# File 'generated/google/apis/apigee_v1/classes.rb', line 201

def alias
  @alias
end

#certs_infoGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1Certificate

The chain of certificates under this alias. Corresponds to the JSON property certsInfo


206
207
208
# File 'generated/google/apis/apigee_v1/classes.rb', line 206

def certs_info
  @certs_info
end

#typeString

The type of alias. Corresponds to the JSON property type

Returns:

  • (String)

211
212
213
# File 'generated/google/apis/apigee_v1/classes.rb', line 211

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


218
219
220
221
222
# File 'generated/google/apis/apigee_v1/classes.rb', line 218

def update!(**args)
  @alias = args[:alias] if args.key?(:alias)
  @certs_info = args[:certs_info] if args.key?(:certs_info)
  @type = args[:type] if args.key?(:type)
end