Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1OperationMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/apigee_v1/classes.rb,
generated/google/apis/apigee_v1/representations.rb,
generated/google/apis/apigee_v1/representations.rb
Overview
Metadata describing an Operation.
Instance Attribute Summary collapse
-
#operation_type ⇒ String
Corresponds to the JSON property
operationType
. -
#state ⇒ String
Corresponds to the JSON property
state
. -
#target_resource_name ⇒ String
Name of the resource for which the operation is operating on.
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.
4110 4111 4112 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 4110 def initialize(**args) update!(**args) end |
Instance Attribute Details
#operation_type ⇒ String
Corresponds to the JSON property operationType
4098 4099 4100 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 4098 def operation_type @operation_type end |
#state ⇒ String
Corresponds to the JSON property state
4103 4104 4105 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 4103 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
4108 4109 4110 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 4108 def target_resource_name @target_resource_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4115 4116 4117 4118 4119 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 4115 def update!(**args) @operation_type = args[:operation_type] if args.key?(:operation_type) @state = args[:state] if args.key?(:state) @target_resource_name = args[:target_resource_name] if args.key?(:target_resource_name) end |