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

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

Reference to a certificate or key/certificate pair.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1Alias

Returns a new instance of GoogleCloudApigeeV1Alias.



420
421
422
# File 'lib/google/apis/apigee_v1/classes.rb', line 420

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

Instance Attribute Details

#aliasString

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

Returns:

  • (String)


408
409
410
# File 'lib/google/apis/apigee_v1/classes.rb', line 408

def alias
  @alias
end

#certs_infoGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1Certificate

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



413
414
415
# File 'lib/google/apis/apigee_v1/classes.rb', line 413

def certs_info
  @certs_info
end

#typeString

Type of alias. Corresponds to the JSON property type

Returns:

  • (String)


418
419
420
# File 'lib/google/apis/apigee_v1/classes.rb', line 418

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



425
426
427
428
429
# File 'lib/google/apis/apigee_v1/classes.rb', line 425

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