Class: Google::Apis::VaultV1::HeldGroupsQuery
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::HeldGroupsQuery
- 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
Query options for group holds.
Instance Attribute Summary collapse
-
#end_time ⇒ String
The end time for the query.
-
#start_time ⇒ String
The start time for the query.
-
#terms ⇒ String
The search operators used to refine the messages covered by the hold.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HeldGroupsQuery
constructor
A new instance of HeldGroupsQuery.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HeldGroupsQuery
Returns a new instance of HeldGroupsQuery.
1027 1028 1029 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1027 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
The end time for the query. Specify in GMT. The value is rounded to 12 AM on
the specified date.
Corresponds to the JSON property endTime
1013 1014 1015 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1013 def end_time @end_time end |
#start_time ⇒ String
The start time for the query. Specify in GMT. The value is rounded to 12 AM on
the specified date.
Corresponds to the JSON property startTime
1019 1020 1021 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1019 def start_time @start_time end |
#terms ⇒ String
The search operators used
to refine the messages covered by the hold.
Corresponds to the JSON property terms
1025 1026 1027 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1025 def terms @terms end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1032 1033 1034 1035 1036 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1032 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @start_time = args[:start_time] if args.key?(:start_time) @terms = args[:terms] if args.key?(:terms) end |