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.



5028
5029
5030
# File 'lib/google/apis/apigee_v1/classes.rb', line 5028

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)


5020
5021
5022
# File 'lib/google/apis/apigee_v1/classes.rb', line 5020

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)


5026
5027
5028
# File 'lib/google/apis/apigee_v1/classes.rb', line 5026

def reference
  @reference
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5033
5034
5035
5036
# File 'lib/google/apis/apigee_v1/classes.rb', line 5033

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