Class: Google::Apis::WorkspaceeventsV1::CancelTaskRequest
- Inherits:
-
Object
- Object
- Google::Apis::WorkspaceeventsV1::CancelTaskRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workspaceevents_v1/classes.rb,
lib/google/apis/workspaceevents_v1/representations.rb,
lib/google/apis/workspaceevents_v1/representations.rb
Instance Attribute Summary collapse
-
#tenant ⇒ String
Optional tenant, provided as a path parameter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CancelTaskRequest
constructor
A new instance of CancelTaskRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CancelTaskRequest
Returns a new instance of CancelTaskRequest.
112 113 114 |
# File 'lib/google/apis/workspaceevents_v1/classes.rb', line 112 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tenant ⇒ String
Optional tenant, provided as a path parameter. Experimental, might still
change for 1.0 release.
Corresponds to the JSON property tenant
110 111 112 |
# File 'lib/google/apis/workspaceevents_v1/classes.rb', line 110 def tenant @tenant end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
117 118 119 |
# File 'lib/google/apis/workspaceevents_v1/classes.rb', line 117 def update!(**args) @tenant = args[:tenant] if args.key?(:tenant) end |