Class: Google::Apis::CesV1::ActionEntityOperation
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::ActionEntityOperation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb
Overview
Entity CRUD operation specification.
Instance Attribute Summary collapse
-
#entity_id ⇒ String
Required.
-
#operation ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ActionEntityOperation
constructor
A new instance of ActionEntityOperation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ActionEntityOperation
Returns a new instance of ActionEntityOperation.
80 81 82 |
# File 'lib/google/apis/ces_v1/classes.rb', line 80 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entity_id ⇒ String
Required. ID of the entity.
Corresponds to the JSON property entityId
73 74 75 |
# File 'lib/google/apis/ces_v1/classes.rb', line 73 def entity_id @entity_id end |
#operation ⇒ String
Required. Operation to perform on the entity.
Corresponds to the JSON property operation
78 79 80 |
# File 'lib/google/apis/ces_v1/classes.rb', line 78 def operation @operation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
85 86 87 88 |
# File 'lib/google/apis/ces_v1/classes.rb', line 85 def update!(**args) @entity_id = args[:entity_id] if args.key?(:entity_id) @operation = args[:operation] if args.key?(:operation) end |