Class: Google::Apis::VaultV1::SavedQuery
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::SavedQuery
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/vault_v1/classes.rb,
generated/google/apis/vault_v1/representations.rb,
generated/google/apis/vault_v1/representations.rb
Overview
Definition of the saved query.
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.
1691 1692 1693 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1691 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
1668 1669 1670 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1668 def create_time @create_time end |
#display_name ⇒ String
Name of the saved query.
Corresponds to the JSON property displayName
1673 1674 1675 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1673 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
1679 1680 1681 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1679 def matter_id @matter_id end |
#query ⇒ Google::Apis::VaultV1::Query
A query definition relevant for search & export.
Corresponds to the JSON property query
1684 1685 1686 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1684 def query @query end |
#saved_query_id ⇒ String
A unique identifier for the saved query.
Corresponds to the JSON property savedQueryId
1689 1690 1691 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1689 def saved_query_id @saved_query_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1696 1697 1698 1699 1700 1701 1702 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1696 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 |