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.
17822 17823 17824 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17822 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Opaque, server-assigned ID of the Roster.
Corresponds to the JSON property id
17820 17821 17822 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17820 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17827 17828 17829 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17827 def update!(**args) @id = args[:id] if args.key?(:id) end |