Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeleteResponse

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

Response for certain delete operations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1DeleteResponse

Returns a new instance of GoogleCloudApigeeV1DeleteResponse.



3288
3289
3290
# File 'lib/google/apis/apigee_v1/classes.rb', line 3288

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

Instance Attribute Details

#error_codeString

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

Returns:

  • (String)


3266
3267
3268
# File 'lib/google/apis/apigee_v1/classes.rb', line 3266

def error_code
  @error_code
end

#gcp_resourceString

Google Cloud name of deleted resource. Corresponds to the JSON property gcpResource

Returns:

  • (String)


3271
3272
3273
# File 'lib/google/apis/apigee_v1/classes.rb', line 3271

def gcp_resource
  @gcp_resource
end

#messageString

Description of the operation. Corresponds to the JSON property message

Returns:

  • (String)


3276
3277
3278
# File 'lib/google/apis/apigee_v1/classes.rb', line 3276

def message
  @message
end

#request_idString

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

Returns:

  • (String)


3281
3282
3283
# File 'lib/google/apis/apigee_v1/classes.rb', line 3281

def request_id
  @request_id
end

#statusString

Status of the operation. Corresponds to the JSON property status

Returns:

  • (String)


3286
3287
3288
# File 'lib/google/apis/apigee_v1/classes.rb', line 3286

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3293
3294
3295
3296
3297
3298
3299
# File 'lib/google/apis/apigee_v1/classes.rb', line 3293

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