Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1UpdateError

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

Details on why a resource update failed in the runtime.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1UpdateError

Returns a new instance of GoogleCloudApigeeV1UpdateError.



6335
6336
6337
# File 'lib/google/apis/apigee_v1/classes.rb', line 6335

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

Instance Attribute Details

#codeString

Status code. Corresponds to the JSON property code

Returns:

  • (String)


6316
6317
6318
# File 'lib/google/apis/apigee_v1/classes.rb', line 6316

def code
  @code
end

#messageString

User-friendly error message. Corresponds to the JSON property message

Returns:

  • (String)


6321
6322
6323
# File 'lib/google/apis/apigee_v1/classes.rb', line 6321

def message
  @message
end

#resourceString

The sub resource specific to this error (e.g. a proxy deployed within the EnvironmentConfig). If empty the error refers to the top level resource. Corresponds to the JSON property resource

Returns:

  • (String)


6327
6328
6329
# File 'lib/google/apis/apigee_v1/classes.rb', line 6327

def resource
  @resource
end

#typeString

A string that uniquely identifies the type of error. This provides a more reliable means to deduplicate errors across revisions and instances. Corresponds to the JSON property type

Returns:

  • (String)


6333
6334
6335
# File 'lib/google/apis/apigee_v1/classes.rb', line 6333

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6340
6341
6342
6343
6344
6345
# File 'lib/google/apis/apigee_v1/classes.rb', line 6340

def update!(**args)
  @code = args[:code] if args.key?(:code)
  @message = args[:message] if args.key?(:message)
  @resource = args[:resource] if args.key?(:resource)
  @type = args[:type] if args.key?(:type)
end