Class: Google::Apis::CoordinateV1::Worker
- Inherits:
-
Object
- Object
- Google::Apis::CoordinateV1::Worker
- Defined in:
- generated/google/apis/coordinate_v1/classes.rb,
generated/google/apis/coordinate_v1/representations.rb,
generated/google/apis/coordinate_v1/representations.rb
Overview
A worker in a Coordinate team.
Instance Attribute Summary collapse
-
#id ⇒ String
Worker email address.
-
#kind ⇒ String
Identifies this object as a worker.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Worker
constructor
A new instance of Worker.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ Worker
Returns a new instance of Worker
632 633 634 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 632 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Worker email address. If a worker has been deleted from your team, the email
address will appear as DELETED_USER.
Corresponds to the JSON property id
625 626 627 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 625 def id @id end |
#kind ⇒ String
Identifies this object as a worker.
Corresponds to the JSON property kind
630 631 632 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 630 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
637 638 639 640 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 637 def update!(**args) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) end |