Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeleteResponse
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeleteResponse
- 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
Response for certain delete operations.
Instance Attribute Summary collapse
-
#error_code ⇒ String
Unique error code for the request, if any.
-
#gcp_resource ⇒ String
Google Cloud name of deleted resource.
-
#message ⇒ String
Description of the operation.
-
#request_id ⇒ String
Unique ID of the request.
-
#status ⇒ String
Status of the operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1DeleteResponse
constructor
A new instance of GoogleCloudApigeeV1DeleteResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1DeleteResponse
Returns a new instance of GoogleCloudApigeeV1DeleteResponse.
3244 3245 3246 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3244 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_code ⇒ String
Unique error code for the request, if any.
Corresponds to the JSON property errorCode
3222 3223 3224 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3222 def error_code @error_code end |
#gcp_resource ⇒ String
Google Cloud name of deleted resource.
Corresponds to the JSON property gcpResource
3227 3228 3229 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3227 def gcp_resource @gcp_resource end |
#message ⇒ String
Description of the operation.
Corresponds to the JSON property message
3232 3233 3234 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3232 def @message end |
#request_id ⇒ String
Unique ID of the request.
Corresponds to the JSON property requestId
3237 3238 3239 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3237 def request_id @request_id end |
#status ⇒ String
Status of the operation.
Corresponds to the JSON property status
3242 3243 3244 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3242 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3249 3250 3251 3252 3253 3254 3255 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3249 def update!(**args) @error_code = args[:error_code] if args.key?(:error_code) @gcp_resource = args[:gcp_resource] if args.key?(:gcp_resource) @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 |