Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiResponseWrapper

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1ApiResponseWrapper

Returns a new instance of GoogleCloudApigeeV1ApiResponseWrapper.



748
749
750
# File 'generated/google/apis/apigee_v1/classes.rb', line 748

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

Instance Attribute Details

#error_codeString

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

Returns:

  • (String)


731
732
733
# File 'generated/google/apis/apigee_v1/classes.rb', line 731

def error_code
  @error_code
end

#messageString

Description of the operation. Corresponds to the JSON property message

Returns:

  • (String)


736
737
738
# File 'generated/google/apis/apigee_v1/classes.rb', line 736

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)


741
742
743
# File 'generated/google/apis/apigee_v1/classes.rb', line 741

def request_id
  @request_id
end

#statusString

Status of the operation. Corresponds to the JSON property status

Returns:

  • (String)


746
747
748
# File 'generated/google/apis/apigee_v1/classes.rb', line 746

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



753
754
755
756
757
758
# File 'generated/google/apis/apigee_v1/classes.rb', line 753

def update!(**args)
  @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