Class: Google::Apis::VaultV1::SavedQuery

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

Definition of the saved query.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SavedQuery

Returns a new instance of SavedQuery.



1691
1692
1693
# File 'generated/google/apis/vault_v1/classes.rb', line 1691

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

Instance Attribute Details

#create_timeString

Output only. The server generated timestamp at which saved query was created. Corresponds to the JSON property createTime

Returns:

  • (String)


1668
1669
1670
# File 'generated/google/apis/vault_v1/classes.rb', line 1668

def create_time
  @create_time
end

#display_nameString

Name of the saved query. Corresponds to the JSON property displayName

Returns:

  • (String)


1673
1674
1675
# File 'generated/google/apis/vault_v1/classes.rb', line 1673

def display_name
  @display_name
end

#matter_idString

Output only. The matter ID of the associated matter. The server does not look at this field during create and always uses matter id in the URL. Corresponds to the JSON property matterId

Returns:

  • (String)


1679
1680
1681
# File 'generated/google/apis/vault_v1/classes.rb', line 1679

def matter_id
  @matter_id
end

#queryGoogle::Apis::VaultV1::Query

A query definition relevant for search & export. Corresponds to the JSON property query



1684
1685
1686
# File 'generated/google/apis/vault_v1/classes.rb', line 1684

def query
  @query
end

#saved_query_idString

A unique identifier for the saved query. Corresponds to the JSON property savedQueryId

Returns:

  • (String)


1689
1690
1691
# File 'generated/google/apis/vault_v1/classes.rb', line 1689

def saved_query_id
  @saved_query_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1696
1697
1698
1699
1700
1701
1702
# File 'generated/google/apis/vault_v1/classes.rb', line 1696

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @matter_id = args[:matter_id] if args.key?(:matter_id)
  @query = args[:query] if args.key?(:query)
  @saved_query_id = args[:saved_query_id] if args.key?(:saved_query_id)
end