Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AliasRevisionConfig

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

Returns a new instance of GoogleCloudApigeeV1AliasRevisionConfig.



280
281
282
# File 'generated/google/apis/apigee_v1/classes.rb', line 280

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

Instance Attribute Details

#locationString

The location of the alias file, e.g. a GCS URI. Corresponds to the JSON property location

Returns:

  • (String)


265
266
267
# File 'generated/google/apis/apigee_v1/classes.rb', line 265

def location
  @location
end

#nameString

The name of the alias revision included in the keystore. Must be of the form: 'organizations/org/environments/env/keystores/keystore/aliases/alias/ revisions/rev'. Corresponds to the JSON property name

Returns:

  • (String)


273
274
275
# File 'generated/google/apis/apigee_v1/classes.rb', line 273

def name
  @name
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


278
279
280
# File 'generated/google/apis/apigee_v1/classes.rb', line 278

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



285
286
287
288
289
# File 'generated/google/apis/apigee_v1/classes.rb', line 285

def update!(**args)
  @location = args[:location] if args.key?(:location)
  @name = args[:name] if args.key?(:name)
  @type = args[:type] if args.key?(:type)
end