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.



4923
4924
4925
# File 'lib/google/apis/apigee_v1/classes.rb', line 4923

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

Instance Attribute Details

#descriptionString

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

Returns:

  • (String)


4906
4907
4908
# File 'lib/google/apis/apigee_v1/classes.rb', line 4906

def description
  @description
end

#detailsHash<String,Object>

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

Returns:

  • (Hash<String,Object>)


4911
4912
4913
# File 'lib/google/apis/apigee_v1/classes.rb', line 4911

def details
  @details
end

#percent_doneFixnum

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

Returns:

  • (Fixnum)


4916
4917
4918
# File 'lib/google/apis/apigee_v1/classes.rb', line 4916

def percent_done
  @percent_done
end

#stateString

State of the operation. Corresponds to the JSON property state

Returns:

  • (String)


4921
4922
4923
# File 'lib/google/apis/apigee_v1/classes.rb', line 4921

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4928
4929
4930
4931
4932
4933
# File 'lib/google/apis/apigee_v1/classes.rb', line 4928

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