Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Reference
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1Reference
- 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
Overview
A Reference configuration. References must refer to a keystore that also exists in the parent environment.
Instance Attribute Summary collapse
-
#description ⇒ String
Optional.
-
#name ⇒ String
Required.
-
#refers ⇒ String
Required.
-
#resource_type ⇒ String
The type of resource referred to by this reference.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1Reference
constructor
A new instance of GoogleCloudApigeeV1Reference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1Reference
Returns a new instance of GoogleCloudApigeeV1Reference.
4815 4816 4817 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 4815 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Optional. A human-readable description of this reference.
Corresponds to the JSON property description
4794 4795 4796 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 4794 def description @description end |
#name ⇒ String
Required. The resource id of this reference. Values must match the regular
expression [\w\s-.]+.
Corresponds to the JSON property name
4800 4801 4802 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 4800 def name @name end |
#refers ⇒ String
Required. The id of the resource to which this reference refers. Must be the
id of a resource that exists in the parent environment and is of the given
resource_type.
Corresponds to the JSON property refers
4807 4808 4809 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 4807 def refers @refers end |
#resource_type ⇒ String
The type of resource referred to by this reference. Valid values are 'KeyStore'
or 'TrustStore'.
Corresponds to the JSON property resourceType
4813 4814 4815 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 4813 def resource_type @resource_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4820 4821 4822 4823 4824 4825 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 4820 def update!(**args) @description = args[:description] if args.key?(:description) @name = args[:name] if args.key?(:name) @refers = args[:refers] if args.key?(:refers) @resource_type = args[:resource_type] if args.key?(:resource_type) end |