Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocResponse

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

The catalog item resource wrapped with response status, error_code, etc.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1ApiDocResponse

Returns a new instance of GoogleCloudApigeeV1ApiDocResponse.



854
855
856
# File 'lib/google/apis/apigee_v1/classes.rb', line 854

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

Instance Attribute Details

#dataGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDoc

ApiDoc represents an API catalog item. Catalog items are used in two ways in a portal: - Users can browse and interact with a visual representation of the API documentation - The api_product_name field provides a link to a backing API product. Through this link, portal users can create and manage developer apps linked to one or more API products. Corresponds to the JSON property data



832
833
834
# File 'lib/google/apis/apigee_v1/classes.rb', line 832

def data
  @data
end

#error_codeString

Unique error code for the request, if any. Corresponds to the JSON property errorCode

Returns:

  • (String)


837
838
839
# File 'lib/google/apis/apigee_v1/classes.rb', line 837

def error_code
  @error_code
end

#messageString

Description of the operation. Corresponds to the JSON property message

Returns:

  • (String)


842
843
844
# File 'lib/google/apis/apigee_v1/classes.rb', line 842

def message
  @message
end

#request_idString

Unique ID of the request. Corresponds to the JSON property requestId

Returns:

  • (String)


847
848
849
# File 'lib/google/apis/apigee_v1/classes.rb', line 847

def request_id
  @request_id
end

#statusString

Status of the operation. Corresponds to the JSON property status

Returns:

  • (String)


852
853
854
# File 'lib/google/apis/apigee_v1/classes.rb', line 852

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



859
860
861
862
863
864
865
# File 'lib/google/apis/apigee_v1/classes.rb', line 859

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