Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListApiCategoriesResponse

Inherits:
Object
  • Object
show all
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 response for ListApiCategoriesRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1ListApiCategoriesResponse

Returns a new instance of GoogleCloudApigeeV1ListApiCategoriesResponse.



3435
3436
3437
# File 'generated/google/apis/apigee_v1/classes.rb', line 3435

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dataArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryData>

Details of categories. Corresponds to the JSON property data



3413
3414
3415
# File 'generated/google/apis/apigee_v1/classes.rb', line 3413

def data
  @data
end

#error_codeString

ID that can be used to find errors in the log files. Corresponds to the JSON property errorCode

Returns:

  • (String)


3418
3419
3420
# File 'generated/google/apis/apigee_v1/classes.rb', line 3418

def error_code
  @error_code
end

#messageString

Description of the operation. Corresponds to the JSON property message

Returns:

  • (String)


3423
3424
3425
# File 'generated/google/apis/apigee_v1/classes.rb', line 3423

def message
  @message
end

#request_idString

ID that can be used to find request details in the log files. Corresponds to the JSON property requestId

Returns:

  • (String)


3428
3429
3430
# File 'generated/google/apis/apigee_v1/classes.rb', line 3428

def request_id
  @request_id
end

#statusString

Status of the operation. Corresponds to the JSON property status

Returns:

  • (String)


3433
3434
3435
# File 'generated/google/apis/apigee_v1/classes.rb', line 3433

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3440
3441
3442
3443
3444
3445
3446
# File 'generated/google/apis/apigee_v1/classes.rb', line 3440

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