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.



3806
3807
3808
# File 'lib/google/apis/apigee_v1/classes.rb', line 3806

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)


3798
3799
3800
# File 'lib/google/apis/apigee_v1/classes.rb', line 3798

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)


3804
3805
3806
# File 'lib/google/apis/apigee_v1/classes.rb', line 3804

def reference
  @reference
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3811
3812
3813
3814
# File 'lib/google/apis/apigee_v1/classes.rb', line 3811

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