Class: Google::Apis::CloudsearchV1::SpaceId
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::SpaceId
- 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
-
#space_id ⇒ String
Unique, immutable ID of the Space Corresponds to the JSON property
spaceId
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SpaceId
constructor
A new instance of SpaceId.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SpaceId
Returns a new instance of SpaceId.
19277 19278 19279 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19277 def initialize(**args) update!(**args) end |
Instance Attribute Details
#space_id ⇒ String
Unique, immutable ID of the Space
Corresponds to the JSON property spaceId
19275 19276 19277 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19275 def space_id @space_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19282 19283 19284 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 19282 def update!(**args) @space_id = args[:space_id] if args.key?(:space_id) end |