Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OperationMetadataProgress

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

Information about operation progress.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1OperationMetadataProgress

Returns a new instance of GoogleCloudApigeeV1OperationMetadataProgress.



7118
7119
7120
# File 'lib/google/apis/apigee_v1/classes.rb', line 7118

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

Instance Attribute Details

#descriptionString

Description of the operation's progress. Corresponds to the JSON property description

Returns:

  • (String)


7101
7102
7103
# File 'lib/google/apis/apigee_v1/classes.rb', line 7101

def description
  @description
end

#detailsHash<String,Object>

The additional details of the progress. Corresponds to the JSON property details

Returns:

  • (Hash<String,Object>)


7106
7107
7108
# File 'lib/google/apis/apigee_v1/classes.rb', line 7106

def details
  @details
end

#percent_doneFixnum

The percentage of the operation progress. Corresponds to the JSON property percentDone

Returns:

  • (Fixnum)


7111
7112
7113
# File 'lib/google/apis/apigee_v1/classes.rb', line 7111

def percent_done
  @percent_done
end

#stateString

State of the operation. Corresponds to the JSON property state

Returns:

  • (String)


7116
7117
7118
# File 'lib/google/apis/apigee_v1/classes.rb', line 7116

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7123
7124
7125
7126
7127
7128
# File 'lib/google/apis/apigee_v1/classes.rb', line 7123

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @details = args[:details] if args.key?(:details)
  @percent_done = args[:percent_done] if args.key?(:percent_done)
  @state = args[:state] if args.key?(:state)
end