Class: Google::Apis::VaultV1::HeldMailQuery
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::VaultV1::HeldMailQuery
 
 
- 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 mail holds.
Instance Attribute Summary collapse
- 
  
    
      #end_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The end time range for the search query.
 - 
  
    
      #start_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The start time range for the search query.
 - 
  
    
      #terms  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The search terms for the hold.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ HeldMailQuery 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of HeldMailQuery.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ HeldMailQuery
Returns a new instance of HeldMailQuery
      731 732 733  | 
    
      # File 'generated/google/apis/vault_v1/classes.rb', line 731 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#end_time ⇒ String
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
      718 719 720  | 
    
      # File 'generated/google/apis/vault_v1/classes.rb', line 718 def end_time @end_time end  | 
  
#start_time ⇒ String
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
      724 725 726  | 
    
      # File 'generated/google/apis/vault_v1/classes.rb', line 724 def start_time @start_time end  | 
  
#terms ⇒ String
The search terms for the hold.
Corresponds to the JSON property terms
      729 730 731  | 
    
      # File 'generated/google/apis/vault_v1/classes.rb', line 729 def terms @terms end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      736 737 738 739 740  | 
    
      # File 'generated/google/apis/vault_v1/classes.rb', line 736 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  |