Class: Google::Apis::CoordinateV1::Team
- Inherits:
-
Object
- Object
- Google::Apis::CoordinateV1::Team
- 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 Coordinate team.
Instance Attribute Summary collapse
-
#id ⇒ String
Team id, as found in a coordinate team url e.g.
-
#kind ⇒ String
Identifies this object as a team.
-
#name ⇒ String
Team name Corresponds to the JSON property
name
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Team
constructor
A new instance of Team.
-
#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) ⇒ Team
Returns a new instance of Team.
549 550 551 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 549 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Team id, as found in a coordinate team url e.g. https://coordinate.google.com/
f/xyz where "xyz" is the team id.
Corresponds to the JSON property id
537 538 539 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 537 def id @id end |
#kind ⇒ String
Identifies this object as a team.
Corresponds to the JSON property kind
542 543 544 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 542 def kind @kind end |
#name ⇒ String
Team name
Corresponds to the JSON property name
547 548 549 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 547 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
554 555 556 557 558 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 554 def update!(**args) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) end |