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

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1AliasRevisionConfig

Returns a new instance of GoogleCloudApigeeV1AliasRevisionConfig.



259
260
261
# File 'generated/google/apis/apigee_v1/classes.rb', line 259

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

Instance Attribute Details

#locationString

Location of the alias file. For example, a Google Cloud Storage URI. Corresponds to the JSON property location

Returns:

  • (String)


245
246
247
# File 'generated/google/apis/apigee_v1/classes.rb', line 245

def location
  @location
end

#nameString

Name of the alias revision included in the keystore in the following format: organizations/org/environments/env/keystores/keystore/aliases/alias/ revisions/rev` Corresponds to the JSON propertyname`

Returns:

  • (String)


252
253
254
# File 'generated/google/apis/apigee_v1/classes.rb', line 252

def name
  @name
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


257
258
259
# File 'generated/google/apis/apigee_v1/classes.rb', line 257

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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