Class: Google::Apis::CloudsearchV1::RosterId

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#idString

Opaque, server-assigned ID of the Roster. Corresponds to the JSON property id

Returns:

  • (String)


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