Class: Google::Apis::CloudsearchV1::PinnedItemId
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::PinnedItemId
- 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
Instance Attribute Summary collapse
-
#drive_id ⇒ String
Identifier for a Drive file (e.g. Docs, Sheets, Slides).
Instance Method Summary collapse
-
#initialize(**args) ⇒ PinnedItemId
constructor
A new instance of PinnedItemId.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PinnedItemId
Returns a new instance of PinnedItemId.
15427 15428 15429 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15427 def initialize(**args) update!(**args) end |
Instance Attribute Details
#drive_id ⇒ String
Identifier for a Drive file (e.g. Docs, Sheets, Slides).
Corresponds to the JSON property driveId
15425 15426 15427 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15425 def drive_id @drive_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15432 15433 15434 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15432 def update!(**args) @drive_id = args[:drive_id] if args.key?(:drive_id) end |