Class: Google::Apis::VaultV1::HeldMailQuery

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HeldMailQuery

Returns a new instance of HeldMailQuery.



958
959
960
# File 'lib/google/apis/vault_v1/classes.rb', line 958

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)


945
946
947
# File 'lib/google/apis/vault_v1/classes.rb', line 945

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)


951
952
953
# File 'lib/google/apis/vault_v1/classes.rb', line 951

def start_time
  @start_time
end

#termsString

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

Returns:

  • (String)


956
957
958
# File 'lib/google/apis/vault_v1/classes.rb', line 956

def terms
  @terms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



963
964
965
966
967
# File 'lib/google/apis/vault_v1/classes.rb', line 963

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