class Google::Apis::CloudsearchV1::RestrictItem

Information relevant only to a restrict entry. NextId: 12

Attributes

drive_follow_up_restrict[RW]

Drive follow-up search restricts (e.g. “followup:suggestions”). Corresponds to the JSON property `driveFollowUpRestrict` @return [Google::Apis::CloudsearchV1::DriveFollowUpRestrict]

drive_location_restrict[RW]

Drive location search restricts (e.g. “is:starred”). Corresponds to the JSON property `driveLocationRestrict` @return [Google::Apis::CloudsearchV1::DriveLocationRestrict]

drive_mime_type_restrict[RW]

Drive mime-type search restricts (e.g. “type:pdf”). Corresponds to the JSON property `driveMimeTypeRestrict` @return [Google::Apis::CloudsearchV1::DriveMimeTypeRestrict]

drive_time_span_restrict[RW]

The time span search restrict (e.g. “after:2017-09-11 before:2017-09-12”). Corresponds to the JSON property `driveTimeSpanRestrict` @return [Google::Apis::CloudsearchV1::DriveTimeSpanRestrict]

search_operator[RW]

The search restrict (e.g. “after:2017-09-11 before:2017-09-12”). Corresponds to the JSON property `searchOperator` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 3702
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 3707
def update!(**args)
  @drive_follow_up_restrict = args[:drive_follow_up_restrict] if args.key?(:drive_follow_up_restrict)
  @drive_location_restrict = args[:drive_location_restrict] if args.key?(:drive_location_restrict)
  @drive_mime_type_restrict = args[:drive_mime_type_restrict] if args.key?(:drive_mime_type_restrict)
  @drive_time_span_restrict = args[:drive_time_span_restrict] if args.key?(:drive_time_span_restrict)
  @search_operator = args[:search_operator] if args.key?(:search_operator)
end