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 Gmail holds.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HeldMailQuery

Returns a new instance of HeldMailQuery.



1165
1166
1167
# File 'lib/google/apis/vault_v1/classes.rb', line 1165

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

Instance Attribute Details

#end_timeString

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

Returns:

  • (String)


1151
1152
1153
# File 'lib/google/apis/vault_v1/classes.rb', line 1151

def end_time
  @end_time
end

#start_timeString

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

Returns:

  • (String)


1157
1158
1159
# File 'lib/google/apis/vault_v1/classes.rb', line 1157

def start_time
  @start_time
end

#termsString

The search operators used to refine the messages covered by the hold. Corresponds to the JSON property terms

Returns:

  • (String)


1163
1164
1165
# File 'lib/google/apis/vault_v1/classes.rb', line 1163

def terms
  @terms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1170
1171
1172
1173
1174
# File 'lib/google/apis/vault_v1/classes.rb', line 1170

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