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

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

Returns a new instance of GoogleCloudApigeeV1ReferenceConfig.



8546
8547
8548
# File 'lib/google/apis/apigee_v1/classes.rb', line 8546

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)


8537
8538
8539
# File 'lib/google/apis/apigee_v1/classes.rb', line 8537

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)


8544
8545
8546
# File 'lib/google/apis/apigee_v1/classes.rb', line 8544

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8551
8552
8553
8554
# File 'lib/google/apis/apigee_v1/classes.rb', line 8551

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