Class: Google::Apis::CoordinateV1::Team

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 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) ⇒ 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

#idString

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

Returns:

  • (String)


537
538
539
# File 'generated/google/apis/coordinate_v1/classes.rb', line 537

def id
  @id
end

#kindString

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

Returns:

  • (String)


542
543
544
# File 'generated/google/apis/coordinate_v1/classes.rb', line 542

def kind
  @kind
end

#nameString

Team name Corresponds to the JSON property name

Returns:

  • (String)


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