Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ReferenceConfig

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

Returns a new instance of GoogleCloudApigeeV1ReferenceConfig.


4306
4307
4308
# File 'generated/google/apis/apigee_v1/classes.rb', line 4306

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

Instance Attribute Details

#nameString

Name of the reference in the following format: organizations/org/ environments/env/references/reference` Corresponds to the JSON propertyname`

Returns:

  • (String)

4297
4298
4299
# File 'generated/google/apis/apigee_v1/classes.rb', line 4297

def name
  @name
end

#resource_nameString

Name of the referenced resource in the following format: organizations/org/ environments/env/keystores/keystore`Only references to keystore resources are supported. Corresponds to the JSON propertyresourceName`

Returns:

  • (String)

4304
4305
4306
# File 'generated/google/apis/apigee_v1/classes.rb', line 4304

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


4311
4312
4313
4314
# File 'generated/google/apis/apigee_v1/classes.rb', line 4311

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