Class: Google::Apis::CloudsearchV1::PinnedItemId

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PinnedItemId

Returns a new instance of PinnedItemId.



12603
12604
12605
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12603

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

Instance Attribute Details

#drive_idString

Identifier for a Drive file (e.g. Docs, Sheets, Slides). Corresponds to the JSON property driveId

Returns:

  • (String)


12601
12602
12603
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12601

def drive_id
  @drive_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12608
12609
12610
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12608

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