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.



3281
3282
3283
# File 'generated/google/apis/apigee_v1/classes.rb', line 3281

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

Instance Attribute Details

#nameString

The name of the reference. Must be of the form 'organizations/org/environments/env/references/ref'. Corresponds to the JSON property name

Returns:

  • (String)


3272
3273
3274
# File 'generated/google/apis/apigee_v1/classes.rb', line 3272

def name
  @name
end

#resource_nameString

The name of the referred resource. Only references to keystore resources are supported. Must be of the form 'organizations/org/environments/env/keystores/ks'. Corresponds to the JSON property resourceName

Returns:

  • (String)


3279
3280
3281
# File 'generated/google/apis/apigee_v1/classes.rb', line 3279

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3286
3287
3288
3289
# File 'generated/google/apis/apigee_v1/classes.rb', line 3286

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