Class: Google::Apis::VaultV1::SavedQuery
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::SavedQuery
- 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
Definition of the saved query. To work with Vault resources, the account must have the required Vault privileges and access to the matter. To access a matter, the account must have created the matter, have the matter shared with them, or have the View All Matters privilege.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
Name of the saved query.
-
#matter_id ⇒ String
Output only.
-
#query ⇒ Google::Apis::VaultV1::Query
A query definition relevant for search & export.
-
#saved_query_id ⇒ String
A unique identifier for the saved query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SavedQuery
constructor
A new instance of SavedQuery.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SavedQuery
Returns a new instance of SavedQuery.
1722 1723 1724 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1722 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The server generated timestamp at which saved query was created.
Corresponds to the JSON property createTime
1699 1700 1701 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1699 def create_time @create_time end |
#display_name ⇒ String
Name of the saved query.
Corresponds to the JSON property displayName
1704 1705 1706 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1704 def display_name @display_name end |
#matter_id ⇒ String
Output only. The matter ID of the associated matter. The server does not look
at this field during create and always uses matter id in the URL.
Corresponds to the JSON property matterId
1710 1711 1712 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1710 def matter_id @matter_id end |
#query ⇒ Google::Apis::VaultV1::Query
A query definition relevant for search & export.
Corresponds to the JSON property query
1715 1716 1717 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1715 def query @query end |
#saved_query_id ⇒ String
A unique identifier for the saved query.
Corresponds to the JSON property savedQueryId
1720 1721 1722 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1720 def saved_query_id @saved_query_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1727 1728 1729 1730 1731 1732 1733 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1727 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @matter_id = args[:matter_id] if args.key?(:matter_id) @query = args[:query] if args.key?(:query) @saved_query_id = args[:saved_query_id] if args.key?(:saved_query_id) end |