Class: Google::Apis::VaultV1::HeldGroupsQuery

Inherits:
Object
  • Object
show all
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

Query options for group holds.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ HeldGroupsQuery

Returns a new instance of HeldGroupsQuery.



687
688
689
# File 'generated/google/apis/vault_v1/classes.rb', line 687

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#end_timeString

The end time range for the search query. These timestamps are in GMT and rounded down to the start of the given date. Corresponds to the JSON property endTime

Returns:

  • (String)


674
675
676
# File 'generated/google/apis/vault_v1/classes.rb', line 674

def end_time
  @end_time
end

#start_timeString

The start time range for the search query. These timestamps are in GMT and rounded down to the start of the given date. Corresponds to the JSON property startTime

Returns:

  • (String)


680
681
682
# File 'generated/google/apis/vault_v1/classes.rb', line 680

def start_time
  @start_time
end

#termsString

The search terms for the hold. Corresponds to the JSON property terms

Returns:

  • (String)


685
686
687
# File 'generated/google/apis/vault_v1/classes.rb', line 685

def terms
  @terms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



692
693
694
695
696
# File 'generated/google/apis/vault_v1/classes.rb', line 692

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