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.



3957
3958
3959
# File 'lib/google/apis/apigee_v1/classes.rb', line 3957

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)


3949
3950
3951
# File 'lib/google/apis/apigee_v1/classes.rb', line 3949

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)


3955
3956
3957
# File 'lib/google/apis/apigee_v1/classes.rb', line 3955

def reference
  @reference
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3962
3963
3964
3965
# File 'lib/google/apis/apigee_v1/classes.rb', line 3962

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