Class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1OperationGroup

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

Overview

Group of operations that need to be performed atomically.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecommenderV1OperationGroup

Returns a new instance of GoogleCloudRecommenderV1OperationGroup.



474
475
476
# File 'generated/google/apis/recommender_v1/classes.rb', line 474

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

Instance Attribute Details

#operationsArray<Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Operation>

List of operations across one or more resources that belong to this group. Loosely based on RFC6902 and should be performed in the order they appear. Corresponds to the JSON property operations



472
473
474
# File 'generated/google/apis/recommender_v1/classes.rb', line 472

def operations
  @operations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



479
480
481
# File 'generated/google/apis/recommender_v1/classes.rb', line 479

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