Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OperationMetadataProgress
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1OperationMetadataProgress
- 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
-
#description ⇒ String
Description of the operation's progress.
-
#details ⇒ Hash<String,Object>
The additional details of the progress.
-
#percent_done ⇒ Fixnum
The percentage of the operation progress.
-
#state ⇒ String
State of the operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1OperationMetadataProgress
constructor
A new instance of GoogleCloudApigeeV1OperationMetadataProgress.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1OperationMetadataProgress
Returns a new instance of GoogleCloudApigeeV1OperationMetadataProgress.
4538 4539 4540 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4538 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Description of the operation's progress.
Corresponds to the JSON property description
4521 4522 4523 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4521 def description @description end |
#details ⇒ Hash<String,Object>
The additional details of the progress.
Corresponds to the JSON property details
4526 4527 4528 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4526 def details @details end |
#percent_done ⇒ Fixnum
The percentage of the operation progress.
Corresponds to the JSON property percentDone
4531 4532 4533 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4531 def percent_done @percent_done end |
#state ⇒ String
State of the operation.
Corresponds to the JSON property state
4536 4537 4538 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4536 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4543 4544 4545 4546 4547 4548 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4543 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 |