class Google::Apis::CloudsearchV1::RestrictItem
Information relevant only to a restrict entry. NextId: 12
Attributes
Drive follow-up search restricts (e.g. “followup:suggestions”). Corresponds to the JSON property `driveFollowUpRestrict` @return [Google::Apis::CloudsearchV1::DriveFollowUpRestrict]
Drive location search restricts (e.g. “is:starred”). Corresponds to the JSON property `driveLocationRestrict` @return [Google::Apis::CloudsearchV1::DriveLocationRestrict]
Drive mime-type search restricts (e.g. “type:pdf”). Corresponds to the JSON property `driveMimeTypeRestrict` @return [Google::Apis::CloudsearchV1::DriveMimeTypeRestrict]
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]
The search restrict (e.g. “after:2017-09-11 before:2017-09-12”). Corresponds to the JSON property `searchOperator` @return [String]
Public Class Methods
# File lib/google/apis/cloudsearch_v1/classes.rb, line 3702 def initialize(**args) update!(**args) end
Public Instance Methods
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