Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1OperationMetadata
- 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
Metadata describing an Operation.
Instance Attribute Summary collapse
-
#operation_type ⇒ String
Corresponds to the JSON property
operationType. -
#progress ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1OperationMetadataProgress
Information about operation progress.
-
#state ⇒ String
Corresponds to the JSON property
state. -
#target_resource_name ⇒ String
Name of the resource for which the operation is operating on.
-
#warnings ⇒ Array<String>
Warnings encountered while executing the operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1OperationMetadata
constructor
A new instance of GoogleCloudApigeeV1OperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1OperationMetadata
Returns a new instance of GoogleCloudApigeeV1OperationMetadata.
7080 7081 7082 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7080 def initialize(**args) update!(**args) end |
Instance Attribute Details
#operation_type ⇒ String
Corresponds to the JSON property operationType
7058 7059 7060 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7058 def operation_type @operation_type end |
#progress ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1OperationMetadataProgress
Information about operation progress.
Corresponds to the JSON property progress
7063 7064 7065 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7063 def progress @progress end |
#state ⇒ String
Corresponds to the JSON property state
7068 7069 7070 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7068 def state @state end |
#target_resource_name ⇒ String
Name of the resource for which the operation is operating on.
Corresponds to the JSON property targetResourceName
7073 7074 7075 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7073 def target_resource_name @target_resource_name end |
#warnings ⇒ Array<String>
Warnings encountered while executing the operation.
Corresponds to the JSON property warnings
7078 7079 7080 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7078 def warnings @warnings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7085 7086 7087 7088 7089 7090 7091 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7085 def update!(**args) @operation_type = args[:operation_type] if args.key?(:operation_type) @progress = args[:progress] if args.key?(:progress) @state = args[:state] if args.key?(:state) @target_resource_name = args[:target_resource_name] if args.key?(:target_resource_name) @warnings = args[:warnings] if args.key?(:warnings) end |