Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1KeyAliasReference

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1KeyAliasReference

Returns a new instance of GoogleCloudApigeeV1KeyAliasReference.



5545
5546
5547
# File 'lib/google/apis/apigee_v1/classes.rb', line 5545

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

Instance Attribute Details

#alias_idString

Alias ID. Must exist in the keystore referred to by the reference. Corresponds to the JSON property aliasId

Returns:

  • (String)


5537
5538
5539
# File 'lib/google/apis/apigee_v1/classes.rb', line 5537

def alias_id
  @alias_id
end

#referenceString

Reference name in the following format: organizations/org/environments/env /references/reference` Corresponds to the JSON propertyreference`

Returns:

  • (String)


5543
5544
5545
# File 'lib/google/apis/apigee_v1/classes.rb', line 5543

def reference
  @reference
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5550
5551
5552
5553
# File 'lib/google/apis/apigee_v1/classes.rb', line 5550

def update!(**args)
  @alias_id = args[:alias_id] if args.key?(:alias_id)
  @reference = args[:reference] if args.key?(:reference)
end