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.



14601
14602
14603
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14601

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)


14599
14600
14601
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14599

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14606
14607
14608
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14606

def update!(**args)
  @id = args[:id] if args.key?(:id)
end