Class: Google::Apis::CoordinateV1::Worker

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

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

#idString

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

Returns:

  • (String)


625
626
627
# File 'generated/google/apis/coordinate_v1/classes.rb', line 625

def id
  @id
end

#kindString

Identifies this object as a worker. Corresponds to the JSON property kind

Returns:

  • (String)


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