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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/recommendationengine_v1beta1/classes.rb,
lib/google/apis/recommendationengine_v1beta1/representations.rb,
lib/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.



1498
1499
1500
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 1498

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

Instance Attribute Details

#create_timeString

Operation create time. Corresponds to the JSON property createTime

Returns:

  • (String)


1491
1492
1493
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 1491

def create_time
  @create_time
end

#operation_nameString

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

Returns:

  • (String)


1496
1497
1498
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 1496

def operation_name
  @operation_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1503
1504
1505
1506
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 1503

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