Class: Google::Apis::CloudsearchV1::RosterId
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::RosterId
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
Primary key for Roster resource.
Instance Attribute Summary collapse
-
#id ⇒ String
Opaque, server-assigned ID of the Roster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RosterId
constructor
A new instance of RosterId.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RosterId
Returns a new instance of RosterId.
17686 17687 17688 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17686 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Opaque, server-assigned ID of the Roster.
Corresponds to the JSON property id
17684 17685 17686 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17684 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17691 17692 17693 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17691 def update!(**args) @id = args[:id] if args.key?(:id) end |