Class: Google::Apis::VaultV1::Query
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::Query
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vault_v1/classes.rb,
lib/google/apis/vault_v1/representations.rb,
lib/google/apis/vault_v1/representations.rb
Overview
The query definition used for search and export.
Instance Attribute Summary collapse
-
#account_info ⇒ Google::Apis::VaultV1::AccountInfo
The accounts to search Corresponds to the JSON property
accountInfo
. -
#calendar_options ⇒ Google::Apis::VaultV1::CalendarOptions
Additional options for Calendar search Corresponds to the JSON property
calendarOptions
. -
#corpus ⇒ String
The Google Workspace service to search.
-
#data_scope ⇒ String
The data source to search.
-
#drive_options ⇒ Google::Apis::VaultV1::DriveOptions
Additional options for Drive search Corresponds to the JSON property
driveOptions
. -
#end_time ⇒ String
The end time for the search query.
-
#hangouts_chat_info ⇒ Google::Apis::VaultV1::HangoutsChatInfo
The Chat spaces to search Corresponds to the JSON property
hangoutsChatInfo
. -
#hangouts_chat_options ⇒ Google::Apis::VaultV1::HangoutsChatOptions
Additional options for Google Chat search Corresponds to the JSON property
hangoutsChatOptions
. -
#mail_options ⇒ Google::Apis::VaultV1::MailOptions
Additional options for Gmail search Corresponds to the JSON property
mailOptions
. -
#method_prop ⇒ String
The entity to search.
-
#org_unit_info ⇒ Google::Apis::VaultV1::OrgUnitInfo
The organizational unit to search Corresponds to the JSON property
orgUnitInfo
. -
#search_method ⇒ String
The search method to use.
-
#shared_drive_info ⇒ Google::Apis::VaultV1::SharedDriveInfo
The shared drives to search Corresponds to the JSON property
sharedDriveInfo
. -
#sites_url_info ⇒ Google::Apis::VaultV1::SitesUrlInfo
The published site URLs of new Google Sites to search Corresponds to the JSON property
sitesUrlInfo
. -
#start_time ⇒ String
The start time for the search query.
-
#team_drive_info ⇒ Google::Apis::VaultV1::TeamDriveInfo
Team Drives to search Corresponds to the JSON property
teamDriveInfo
. -
#terms ⇒ String
Service-specific search operators to filter search results.
-
#time_zone ⇒ String
The time zone name.
-
#voice_options ⇒ Google::Apis::VaultV1::VoiceOptions
Additional options for Voice search Corresponds to the JSON property
voiceOptions
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Query
constructor
A new instance of Query.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Query
Returns a new instance of Query.
1732 1733 1734 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1732 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_info ⇒ Google::Apis::VaultV1::AccountInfo
The accounts to search
Corresponds to the JSON property accountInfo
1631 1632 1633 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1631 def account_info @account_info end |
#calendar_options ⇒ Google::Apis::VaultV1::CalendarOptions
Additional options for Calendar search
Corresponds to the JSON property calendarOptions
1636 1637 1638 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1636 def @calendar_options end |
#corpus ⇒ String
The Google Workspace service to search.
Corresponds to the JSON property corpus
1641 1642 1643 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1641 def corpus @corpus end |
#data_scope ⇒ String
The data source to search.
Corresponds to the JSON property dataScope
1646 1647 1648 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1646 def data_scope @data_scope end |
#drive_options ⇒ Google::Apis::VaultV1::DriveOptions
Additional options for Drive search
Corresponds to the JSON property driveOptions
1651 1652 1653 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1651 def @drive_options end |
#end_time ⇒ String
The end time for the search query. Specify in GMT. The value is rounded to 12
AM on the specified date.
Corresponds to the JSON property endTime
1657 1658 1659 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1657 def end_time @end_time end |
#hangouts_chat_info ⇒ Google::Apis::VaultV1::HangoutsChatInfo
The Chat spaces to search
Corresponds to the JSON property hangoutsChatInfo
1662 1663 1664 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1662 def hangouts_chat_info @hangouts_chat_info end |
#hangouts_chat_options ⇒ Google::Apis::VaultV1::HangoutsChatOptions
Additional options for Google Chat search
Corresponds to the JSON property hangoutsChatOptions
1667 1668 1669 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1667 def @hangouts_chat_options end |
#mail_options ⇒ Google::Apis::VaultV1::MailOptions
Additional options for Gmail search
Corresponds to the JSON property mailOptions
1672 1673 1674 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1672 def @mail_options end |
#method_prop ⇒ String
The entity to search. This field replaces searchMethod to support shared
drives. When searchMethod is TEAM_DRIVE, the response of this field is
SHARED_DRIVE.
Corresponds to the JSON property method
1679 1680 1681 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1679 def method_prop @method_prop end |
#org_unit_info ⇒ Google::Apis::VaultV1::OrgUnitInfo
The organizational unit to search
Corresponds to the JSON property orgUnitInfo
1684 1685 1686 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1684 def org_unit_info @org_unit_info end |
#search_method ⇒ String
The search method to use.
Corresponds to the JSON property searchMethod
1689 1690 1691 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1689 def search_method @search_method end |
#shared_drive_info ⇒ Google::Apis::VaultV1::SharedDriveInfo
The shared drives to search
Corresponds to the JSON property sharedDriveInfo
1694 1695 1696 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1694 def shared_drive_info @shared_drive_info end |
#sites_url_info ⇒ Google::Apis::VaultV1::SitesUrlInfo
The published site URLs of new Google Sites to search
Corresponds to the JSON property sitesUrlInfo
1699 1700 1701 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1699 def sites_url_info @sites_url_info end |
#start_time ⇒ String
The start time for the search query. Specify in GMT. The value is rounded to
12 AM on the specified date.
Corresponds to the JSON property startTime
1705 1706 1707 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1705 def start_time @start_time end |
#team_drive_info ⇒ Google::Apis::VaultV1::TeamDriveInfo
Team Drives to search
Corresponds to the JSON property teamDriveInfo
1710 1711 1712 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1710 def team_drive_info @team_drive_info end |
#terms ⇒ String
Service-specific search operators to filter search results.
Corresponds to the JSON property terms
1716 1717 1718 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1716 def terms @terms end |
#time_zone ⇒ String
The time zone name. It should be an IANA TZ name, such as "America/Los_Angeles"
. For a list of time zone names, see Time Zone. For more information about how Vault uses
time zones, see the Vault help center.
Corresponds to the JSON property timeZone
1725 1726 1727 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1725 def time_zone @time_zone end |
#voice_options ⇒ Google::Apis::VaultV1::VoiceOptions
Additional options for Voice search
Corresponds to the JSON property voiceOptions
1730 1731 1732 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1730 def @voice_options end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1737 def update!(**args) @account_info = args[:account_info] if args.key?(:account_info) @calendar_options = args[:calendar_options] if args.key?(:calendar_options) @corpus = args[:corpus] if args.key?(:corpus) @data_scope = args[:data_scope] if args.key?(:data_scope) @drive_options = args[:drive_options] if args.key?(:drive_options) @end_time = args[:end_time] if args.key?(:end_time) @hangouts_chat_info = args[:hangouts_chat_info] if args.key?(:hangouts_chat_info) @hangouts_chat_options = args[:hangouts_chat_options] if args.key?(:hangouts_chat_options) @mail_options = args[:mail_options] if args.key?(:mail_options) @method_prop = args[:method_prop] if args.key?(:method_prop) @org_unit_info = args[:org_unit_info] if args.key?(:org_unit_info) @search_method = args[:search_method] if args.key?(:search_method) @shared_drive_info = args[:shared_drive_info] if args.key?(:shared_drive_info) @sites_url_info = args[:sites_url_info] if args.key?(:sites_url_info) @start_time = args[:start_time] if args.key?(:start_time) @team_drive_info = args[:team_drive_info] if args.key?(:team_drive_info) @terms = args[:terms] if args.key?(:terms) @time_zone = args[:time_zone] if args.key?(:time_zone) @voice_options = args[:voice_options] if args.key?(:voice_options) end |