Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProductAssociation
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProductAssociation
- 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
Overview
APIProductAssociation has the API product and its administrative state association.
Instance Attribute Summary collapse
-
#apiproduct ⇒ String
API product to be associated with the credential.
-
#status ⇒ String
The API product credential associated status.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1ApiProductAssociation
constructor
A new instance of GoogleCloudApigeeV1ApiProductAssociation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1ApiProductAssociation
Returns a new instance of GoogleCloudApigeeV1ApiProductAssociation.
134 135 136 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 134 def initialize(**args) update!(**args) end |
Instance Attribute Details
#apiproduct ⇒ String
API product to be associated with the credential.
Corresponds to the JSON property apiproduct
126 127 128 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 126 def apiproduct @apiproduct end |
#status ⇒ String
The API product credential associated status. Valid values are approved
or
revoked
.
Corresponds to the JSON property status
132 133 134 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 132 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
139 140 141 142 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 139 def update!(**args) @apiproduct = args[:apiproduct] if args.key?(:apiproduct) @status = args[:status] if args.key?(:status) end |