Class: Google::Apis::CloudsearchV1::SpaceId

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 Space resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SpaceId

Returns a new instance of SpaceId.



19439
19440
19441
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19439

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#space_idString

Unique, immutable ID of the Space Corresponds to the JSON property spaceId

Returns:

  • (String)


19437
19438
19439
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19437

def space_id
  @space_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19444
19445
19446
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19444

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