Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategory
- 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
the Api category resource wrapped with response status, error_code etc.
Instance Attribute Summary collapse
-
#data ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryData
the Api category resource.
-
#error_code ⇒ String
ID that can be used to find errors in the log files.
-
#message ⇒ String
Description of the operation.
-
#request_id ⇒ String
ID that can be used to find request details in the log files.
-
#status ⇒ String
Status of the operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1ApiCategory
constructor
A new instance of GoogleCloudApigeeV1ApiCategory.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1ApiCategory
Returns a new instance of GoogleCloudApigeeV1ApiCategory.
300 301 302 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 300 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryData
the Api category resource.
Corresponds to the JSON property data
278 279 280 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 278 def data @data end |
#error_code ⇒ String
ID that can be used to find errors in the log files.
Corresponds to the JSON property errorCode
283 284 285 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 283 def error_code @error_code end |
#message ⇒ String
Description of the operation.
Corresponds to the JSON property message
288 289 290 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 288 def @message end |
#request_id ⇒ String
ID that can be used to find request details in the log files.
Corresponds to the JSON property requestId
293 294 295 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 293 def request_id @request_id end |
#status ⇒ String
Status of the operation.
Corresponds to the JSON property status
298 299 300 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 298 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
305 306 307 308 309 310 311 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 305 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 |