Class: Google::Apis::AutoscalerV1beta2::Operation
- Inherits:
-
Object
- Object
- Google::Apis::AutoscalerV1beta2::Operation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/autoscaler_v1beta2/classes.rb,
generated/google/apis/autoscaler_v1beta2/representations.rb,
generated/google/apis/autoscaler_v1beta2/representations.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#client_operation_id ⇒ String
Corresponds to the JSON property
clientOperationId
. -
#creation_timestamp ⇒ String
Corresponds to the JSON property
creationTimestamp
. -
#description ⇒ String
Corresponds to the JSON property
description
. -
#end_time ⇒ String
Corresponds to the JSON property
endTime
. -
#error ⇒ Google::Apis::AutoscalerV1beta2::Operation::Error
Corresponds to the JSON property
error
. -
#http_error_message ⇒ String
Corresponds to the JSON property
httpErrorMessage
. -
#http_error_status_code ⇒ Fixnum
Corresponds to the JSON property
httpErrorStatusCode
. -
#id ⇒ String
Corresponds to the JSON property
id
. -
#insert_time ⇒ String
Corresponds to the JSON property
insertTime
. -
#kind ⇒ String
[Output Only] Type of the resource.
-
#name ⇒ String
Corresponds to the JSON property
name
. -
#operation_type ⇒ String
Corresponds to the JSON property
operationType
. -
#progress ⇒ Fixnum
Corresponds to the JSON property
progress
. -
#region ⇒ String
Corresponds to the JSON property
region
. -
#self_link ⇒ String
Corresponds to the JSON property
selfLink
. -
#start_time ⇒ String
Corresponds to the JSON property
startTime
. -
#status ⇒ String
Corresponds to the JSON property
status
. -
#status_message ⇒ String
Corresponds to the JSON property
statusMessage
. -
#target_id ⇒ String
Corresponds to the JSON property
targetId
. -
#target_link ⇒ String
Corresponds to the JSON property
targetLink
. -
#user ⇒ String
Corresponds to the JSON property
user
. -
#warnings ⇒ Array<Google::Apis::AutoscalerV1beta2::Operation::Warning>
Corresponds to the JSON property
warnings
. -
#zone ⇒ String
Corresponds to the JSON property
zone
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Operation
constructor
A new instance of Operation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Operation
Returns a new instance of Operation
417 418 419 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 417 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_operation_id ⇒ String
Corresponds to the JSON property clientOperationId
304 305 306 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 304 def client_operation_id @client_operation_id end |
#creation_timestamp ⇒ String
Corresponds to the JSON property creationTimestamp
309 310 311 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 309 def @creation_timestamp end |
#description ⇒ String
Corresponds to the JSON property description
314 315 316 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 314 def description @description end |
#end_time ⇒ String
Corresponds to the JSON property endTime
319 320 321 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 319 def end_time @end_time end |
#error ⇒ Google::Apis::AutoscalerV1beta2::Operation::Error
Corresponds to the JSON property error
324 325 326 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 324 def error @error end |
#http_error_message ⇒ String
Corresponds to the JSON property httpErrorMessage
329 330 331 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 329 def @http_error_message end |
#http_error_status_code ⇒ Fixnum
Corresponds to the JSON property httpErrorStatusCode
334 335 336 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 334 def http_error_status_code @http_error_status_code end |
#id ⇒ String
Corresponds to the JSON property id
339 340 341 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 339 def id @id end |
#insert_time ⇒ String
Corresponds to the JSON property insertTime
344 345 346 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 344 def insert_time @insert_time end |
#kind ⇒ String
[Output Only] Type of the resource. Always compute#operation for Operation
resources.
Corresponds to the JSON property kind
350 351 352 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 350 def kind @kind end |
#name ⇒ String
Corresponds to the JSON property name
355 356 357 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 355 def name @name end |
#operation_type ⇒ String
Corresponds to the JSON property operationType
360 361 362 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 360 def operation_type @operation_type end |
#progress ⇒ Fixnum
Corresponds to the JSON property progress
365 366 367 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 365 def progress @progress end |
#region ⇒ String
Corresponds to the JSON property region
370 371 372 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 370 def region @region end |
#self_link ⇒ String
Corresponds to the JSON property selfLink
375 376 377 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 375 def self_link @self_link end |
#start_time ⇒ String
Corresponds to the JSON property startTime
380 381 382 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 380 def start_time @start_time end |
#status ⇒ String
Corresponds to the JSON property status
385 386 387 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 385 def status @status end |
#status_message ⇒ String
Corresponds to the JSON property statusMessage
390 391 392 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 390 def @status_message end |
#target_id ⇒ String
Corresponds to the JSON property targetId
395 396 397 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 395 def target_id @target_id end |
#target_link ⇒ String
Corresponds to the JSON property targetLink
400 401 402 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 400 def target_link @target_link end |
#user ⇒ String
Corresponds to the JSON property user
405 406 407 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 405 def user @user end |
#warnings ⇒ Array<Google::Apis::AutoscalerV1beta2::Operation::Warning>
Corresponds to the JSON property warnings
410 411 412 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 410 def warnings @warnings end |
#zone ⇒ String
Corresponds to the JSON property zone
415 416 417 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 415 def zone @zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 |
# File 'generated/google/apis/autoscaler_v1beta2/classes.rb', line 422 def update!(**args) @client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) @end_time = args[:end_time] if args.key?(:end_time) @error = args[:error] if args.key?(:error) @http_error_message = args[:http_error_message] if args.key?(:http_error_message) @http_error_status_code = args[:http_error_status_code] if args.key?(:http_error_status_code) @id = args[:id] if args.key?(:id) @insert_time = args[:insert_time] if args.key?(:insert_time) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @operation_type = args[:operation_type] if args.key?(:operation_type) @progress = args[:progress] if args.key?(:progress) @region = args[:region] if args.key?(:region) @self_link = args[:self_link] if args.key?(:self_link) @start_time = args[:start_time] if args.key?(:start_time) @status = args[:status] if args.key?(:status) @status_message = args[:status_message] if args.key?(:status_message) @target_id = args[:target_id] if args.key?(:target_id) @target_link = args[:target_link] if args.key?(:target_link) @user = args[:user] if args.key?(:user) @warnings = args[:warnings] if args.key?(:warnings) @zone = args[:zone] if args.key?(:zone) end |