class Google::Apis::CloudsearchV1::DriveMimeTypeRestrict

Drive mime-type search restricts (e.g. “type:pdf”).

Attributes

type[RW]

Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 801
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudsearch_v1/classes.rb, line 806
def update!(**args)
  @type = args[:type] if args.key?(:type)
end