Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocDocumentationResponse

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 documentation wrapped with response status, error_code, etc.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1ApiDocDocumentationResponse

Returns a new instance of GoogleCloudApigeeV1ApiDocDocumentationResponse.



806
807
808
# File 'lib/google/apis/apigee_v1/classes.rb', line 806

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

Instance Attribute Details

#dataGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocDocumentation

The documentation for a catalog item. Corresponds to the JSON property data



784
785
786
# File 'lib/google/apis/apigee_v1/classes.rb', line 784

def data
  @data
end

#error_codeString

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

Returns:

  • (String)


789
790
791
# File 'lib/google/apis/apigee_v1/classes.rb', line 789

def error_code
  @error_code
end

#messageString

Output only. Description of the operation. Corresponds to the JSON property message

Returns:

  • (String)


794
795
796
# File 'lib/google/apis/apigee_v1/classes.rb', line 794

def message
  @message
end

#request_idString

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

Returns:

  • (String)


799
800
801
# File 'lib/google/apis/apigee_v1/classes.rb', line 799

def request_id
  @request_id
end

#statusString

Output only. Status of the operation. Corresponds to the JSON property status

Returns:

  • (String)


804
805
806
# File 'lib/google/apis/apigee_v1/classes.rb', line 804

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



811
812
813
814
815
816
817
# File 'lib/google/apis/apigee_v1/classes.rb', line 811

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