Class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1PurgeUserEventsMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/recommendationengine_v1beta1/classes.rb,
generated/google/apis/recommendationengine_v1beta1/representations.rb,
generated/google/apis/recommendationengine_v1beta1/representations.rb

Overview

Metadata related to the progress of the PurgeUserEvents operation. This will be returned by the google.longrunning.Operation.metadata field.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1PurgeUserEventsMetadata

Returns a new instance of GoogleCloudRecommendationengineV1beta1PurgeUserEventsMetadata.



1488
1489
1490
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 1488

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

Instance Attribute Details

#create_timeString

Operation create time. Corresponds to the JSON property createTime

Returns:

  • (String)


1481
1482
1483
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 1481

def create_time
  @create_time
end

#operation_nameString

The ID of the request / operation. Corresponds to the JSON property operationName

Returns:

  • (String)


1486
1487
1488
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 1486

def operation_name
  @operation_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1493
1494
1495
1496
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 1493

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @operation_name = args[:operation_name] if args.key?(:operation_name)
end