Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryResponse
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryResponse
- 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
The API category resource wrapped with response status, error_code, etc.
Instance Attribute Summary collapse
-
#data ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory
ApiCategory
represents an API category. -
#error_code ⇒ String
Unique error code for the request, if any.
-
#message ⇒ String
Description of the operation.
-
#request_id ⇒ String
Unique ID of the request.
-
#status ⇒ String
Status of the operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1ApiCategoryResponse
constructor
A new instance of GoogleCloudApigeeV1ApiCategoryResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1ApiCategoryResponse
Returns a new instance of GoogleCloudApigeeV1ApiCategoryResponse.
576 577 578 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 576 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory
ApiCategory
represents an API category. Catalog items can be tagged with
API categories; users viewing the API catalog in the portal will have the
option to browse the catalog by category.
Corresponds to the JSON property data
554 555 556 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 554 def data @data end |
#error_code ⇒ String
Unique error code for the request, if any.
Corresponds to the JSON property errorCode
559 560 561 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 559 def error_code @error_code end |
#message ⇒ String
Description of the operation.
Corresponds to the JSON property message
564 565 566 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 564 def @message end |
#request_id ⇒ String
Unique ID of the request.
Corresponds to the JSON property requestId
569 570 571 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 569 def request_id @request_id end |
#status ⇒ String
Status of the operation.
Corresponds to the JSON property status
574 575 576 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 574 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
581 582 583 584 585 586 587 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 581 def update!(**args) @data = args[:data] if args.key?(:data) @error_code = args[:error_code] if args.key?(:error_code) @message = args[:message] if args.key?(:message) @request_id = args[:request_id] if args.key?(:request_id) @status = args[:status] if args.key?(:status) end |