Class: Google::Apis::VpcaccessV1beta1::OperationMetadataV1Alpha1

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OperationMetadataV1Alpha1

Returns a new instance of OperationMetadataV1Alpha1.



376
377
378
# File 'lib/google/apis/vpcaccess_v1beta1/classes.rb', line 376

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

Instance Attribute Details

#end_timeString

Output only. Time when the operation completed. Corresponds to the JSON property endTime

Returns:

  • (String)


357
358
359
# File 'lib/google/apis/vpcaccess_v1beta1/classes.rb', line 357

def end_time
  @end_time
end

#insert_timeString

Output only. Time when the operation was created. Corresponds to the JSON property insertTime

Returns:

  • (String)


362
363
364
# File 'lib/google/apis/vpcaccess_v1beta1/classes.rb', line 362

def insert_time
  @insert_time
end

#method_propString

Output only. Method that initiated the operation e.g. google.cloud.vpcaccess. v1alpha1.Connectors.CreateConnector. Corresponds to the JSON property method

Returns:

  • (String)


368
369
370
# File 'lib/google/apis/vpcaccess_v1beta1/classes.rb', line 368

def method_prop
  @method_prop
end

#targetString

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

Returns:

  • (String)


374
375
376
# File 'lib/google/apis/vpcaccess_v1beta1/classes.rb', line 374

def target
  @target
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



381
382
383
384
385
386
# File 'lib/google/apis/vpcaccess_v1beta1/classes.rb', line 381

def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @insert_time = args[:insert_time] if args.key?(:insert_time)
  @method_prop = args[:method_prop] if args.key?(:method_prop)
  @target = args[:target] if args.key?(:target)
end