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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SavedQuery
Returns a new instance of SavedQuery
1316 1317 1318 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1316 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
1292 1293 1294 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1292 def create_time @create_time end |
#display_name ⇒ String
Name of the saved query.
Corresponds to the JSON property displayName
1297 1298 1299 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1297 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
1304 1305 1306 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1304 def matter_id @matter_id end |
#query ⇒ Google::Apis::VaultV1::Query
A query definition relevant for search & export.
Corresponds to the JSON property query
1309 1310 1311 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1309 def query @query end |
#saved_query_id ⇒ String
A unique identifier for the saved query.
Corresponds to the JSON property savedQueryId
1314 1315 1316 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1314 def saved_query_id @saved_query_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1321 1322 1323 1324 1325 1326 1327 |
# File 'generated/google/apis/vault_v1/classes.rb', line 1321 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 |