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.



17686
17687
17688
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17686

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)


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