Class: Google::Apis::CloudsearchV1::RestrictItem
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::RestrictItem
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/google/apis/cloudsearch_v1/representations.rb
Overview
Information relevant only to a restrict entry. NextId: 12
Instance Attribute Summary collapse
-
#drive_follow_up_restrict ⇒ Google::Apis::CloudsearchV1::DriveFollowUpRestrict
Drive follow-up search restricts (e.g. "followup:suggestions").
-
#drive_location_restrict ⇒ Google::Apis::CloudsearchV1::DriveLocationRestrict
Drive location search restricts (e.g. "is:starred").
-
#drive_mime_type_restrict ⇒ Google::Apis::CloudsearchV1::DriveMimeTypeRestrict
Drive mime-type search restricts (e.g. "type:pdf").
-
#drive_time_span_restrict ⇒ Google::Apis::CloudsearchV1::DriveTimeSpanRestrict
The time span search restrict (e.g. "after:2017-09-11 before:2017-09-12").
-
#gmail_action_restrict ⇒ Google::Apis::CloudsearchV1::GmailActionRestrict
Gmail Action restricts (i.e. read/replied/snoozed).
-
#gmail_attachment_restrict ⇒ Google::Apis::CloudsearchV1::GmailAttachmentRestrict
Gmail Attachment restricts (i.e. has:attachment, has:drive, filename:pdf).
-
#gmail_folder_restrict ⇒ Google::Apis::CloudsearchV1::GmailFolderRestrict
Gmail Folder restricts (i.e. in Drafts/Sent/Chats/User Generated Labels).
-
#gmail_intelligent_restrict ⇒ Google::Apis::CloudsearchV1::GmailIntelligentRestrict
Gmail Intelligent restricts (i.e. smartlabels, important).
-
#gmail_time_restrict ⇒ Google::Apis::CloudsearchV1::GmailTimeRestrict
Gmail Time restricts (i.e. received today, this week).
-
#search_operator ⇒ String
The search restrict (e.g. "after:2017-09-11 before:2017-09-12").
Instance Method Summary collapse
-
#initialize(**args) ⇒ RestrictItem
constructor
A new instance of RestrictItem.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ RestrictItem
Returns a new instance of RestrictItem
3745 3746 3747 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3745 def initialize(**args) update!(**args) end |
Instance Attribute Details
#drive_follow_up_restrict ⇒ Google::Apis::CloudsearchV1::DriveFollowUpRestrict
Drive follow-up search restricts (e.g. "followup:suggestions").
Corresponds to the JSON property driveFollowUpRestrict
3698 3699 3700 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3698 def drive_follow_up_restrict @drive_follow_up_restrict end |
#drive_location_restrict ⇒ Google::Apis::CloudsearchV1::DriveLocationRestrict
Drive location search restricts (e.g. "is:starred").
Corresponds to the JSON property driveLocationRestrict
3703 3704 3705 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3703 def drive_location_restrict @drive_location_restrict end |
#drive_mime_type_restrict ⇒ Google::Apis::CloudsearchV1::DriveMimeTypeRestrict
Drive mime-type search restricts (e.g. "type:pdf").
Corresponds to the JSON property driveMimeTypeRestrict
3708 3709 3710 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3708 def drive_mime_type_restrict @drive_mime_type_restrict end |
#drive_time_span_restrict ⇒ Google::Apis::CloudsearchV1::DriveTimeSpanRestrict
The time span search restrict (e.g. "after:2017-09-11 before:2017-09-12").
Corresponds to the JSON property driveTimeSpanRestrict
3713 3714 3715 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3713 def drive_time_span_restrict @drive_time_span_restrict end |
#gmail_action_restrict ⇒ Google::Apis::CloudsearchV1::GmailActionRestrict
Gmail Action restricts (i.e. read/replied/snoozed).
Corresponds to the JSON property gmailActionRestrict
3718 3719 3720 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3718 def gmail_action_restrict @gmail_action_restrict end |
#gmail_attachment_restrict ⇒ Google::Apis::CloudsearchV1::GmailAttachmentRestrict
Gmail Attachment restricts (i.e. has:attachment, has:drive, filename:pdf).
Corresponds to the JSON property gmailAttachmentRestrict
3723 3724 3725 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3723 def @gmail_attachment_restrict end |
#gmail_folder_restrict ⇒ Google::Apis::CloudsearchV1::GmailFolderRestrict
Gmail Folder restricts (i.e. in Drafts/Sent/Chats/User Generated Labels).
Corresponds to the JSON property gmailFolderRestrict
3728 3729 3730 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3728 def gmail_folder_restrict @gmail_folder_restrict end |
#gmail_intelligent_restrict ⇒ Google::Apis::CloudsearchV1::GmailIntelligentRestrict
Gmail Intelligent restricts (i.e. smartlabels, important).
Corresponds to the JSON property gmailIntelligentRestrict
3733 3734 3735 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3733 def gmail_intelligent_restrict @gmail_intelligent_restrict end |
#gmail_time_restrict ⇒ Google::Apis::CloudsearchV1::GmailTimeRestrict
Gmail Time restricts (i.e. received today, this week).
Corresponds to the JSON property gmailTimeRestrict
3738 3739 3740 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3738 def gmail_time_restrict @gmail_time_restrict end |
#search_operator ⇒ String
The search restrict (e.g. "after:2017-09-11 before:2017-09-12").
Corresponds to the JSON property searchOperator
3743 3744 3745 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3743 def search_operator @search_operator end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3750 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) @gmail_action_restrict = args[:gmail_action_restrict] if args.key?(:gmail_action_restrict) @gmail_attachment_restrict = args[:gmail_attachment_restrict] if args.key?(:gmail_attachment_restrict) @gmail_folder_restrict = args[:gmail_folder_restrict] if args.key?(:gmail_folder_restrict) @gmail_intelligent_restrict = args[:gmail_intelligent_restrict] if args.key?(:gmail_intelligent_restrict) @gmail_time_restrict = args[:gmail_time_restrict] if args.key?(:gmail_time_restrict) @search_operator = args[:search_operator] if args.key?(:search_operator) end |