Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProductAssociation

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

Overview

APIProductAssociation has the API product and its administrative state association.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#apiproductString

API product to be associated with the credential. Corresponds to the JSON property apiproduct

Returns:

  • (String)


126
127
128
# File 'lib/google/apis/apigee_v1/classes.rb', line 126

def apiproduct
  @apiproduct
end

#statusString

The API product credential associated status. Valid values are approved or revoked. Corresponds to the JSON property status

Returns:

  • (String)


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