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

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

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

Returns a new instance of GoogleCloudApigeeV1KeyAliasReference.


2980
2981
2982
# File 'generated/google/apis/apigee_v1/classes.rb', line 2980

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)

2972
2973
2974
# File 'generated/google/apis/apigee_v1/classes.rb', line 2972

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)

2978
2979
2980
# File 'generated/google/apis/apigee_v1/classes.rb', line 2978

def reference
  @reference
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


2985
2986
2987
2988
# File 'generated/google/apis/apigee_v1/classes.rb', line 2985

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