Class: Google::Apis::VpcaccessV1beta1::OperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::VpcaccessV1beta1::OperationMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vpcaccess_v1beta1/classes.rb,
lib/google/apis/vpcaccess_v1beta1/representations.rb,
lib/google/apis/vpcaccess_v1beta1/representations.rb
Overview
Metadata for google.longrunning.Operation.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#end_time ⇒ String
Output only.
-
#method_prop ⇒ String
Output only.
-
#target ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OperationMetadata
constructor
A new instance of OperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OperationMetadata
Returns a new instance of OperationMetadata.
346 347 348 |
# File 'lib/google/apis/vpcaccess_v1beta1/classes.rb', line 346 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Time when the operation was created.
Corresponds to the JSON property createTime
327 328 329 |
# File 'lib/google/apis/vpcaccess_v1beta1/classes.rb', line 327 def create_time @create_time end |
#end_time ⇒ String
Output only. Time when the operation completed.
Corresponds to the JSON property endTime
332 333 334 |
# File 'lib/google/apis/vpcaccess_v1beta1/classes.rb', line 332 def end_time @end_time end |
#method_prop ⇒ String
Output only. Method that initiated the operation e.g. google.cloud.vpcaccess.
v1.Connectors.CreateConnector.
Corresponds to the JSON property method
338 339 340 |
# File 'lib/google/apis/vpcaccess_v1beta1/classes.rb', line 338 def method_prop @method_prop end |
#target ⇒ String
Output only. Name of the resource that this operation is acting on e.g.
projects/my-project/locations/us-central1/connectors/v1.
Corresponds to the JSON property target
344 345 346 |
# File 'lib/google/apis/vpcaccess_v1beta1/classes.rb', line 344 def target @target end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
351 352 353 354 355 356 |
# File 'lib/google/apis/vpcaccess_v1beta1/classes.rb', line 351 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @end_time = args[:end_time] if args.key?(:end_time) @method_prop = args[:method_prop] if args.key?(:method_prop) @target = args[:target] if args.key?(:target) end |