Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiResponseWrapper
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiResponseWrapper
- 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
Instance Attribute Summary collapse
-
#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) ⇒ GoogleCloudApigeeV1ApiResponseWrapper
constructor
A new instance of GoogleCloudApigeeV1ApiResponseWrapper.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1ApiResponseWrapper
Returns a new instance of GoogleCloudApigeeV1ApiResponseWrapper.
915 916 917 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 915 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_code ⇒ String
ID that can be used to find errors in the log files.
Corresponds to the JSON property errorCode
898 899 900 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 898 def error_code @error_code end |
#message ⇒ String
Description of the operation.
Corresponds to the JSON property message
903 904 905 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 903 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
908 909 910 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 908 def request_id @request_id end |
#status ⇒ String
Status of the operation.
Corresponds to the JSON property status
913 914 915 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 913 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
920 921 922 923 924 925 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 920 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 |