Class: Google::Apis::VaultV1::CountArtifactsRequest
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::CountArtifactsRequest
- 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
Count artifacts request.
Instance Attribute Summary collapse
-
#query ⇒ Google::Apis::VaultV1::Query
The query definition used for search and export.
-
#view ⇒ String
Sets the granularity of the count results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CountArtifactsRequest
constructor
A new instance of CountArtifactsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CountArtifactsRequest
Returns a new instance of CountArtifactsRequest.
498 499 500 |
# File 'lib/google/apis/vault_v1/classes.rb', line 498 def initialize(**args) update!(**args) end |
Instance Attribute Details
#query ⇒ Google::Apis::VaultV1::Query
The query definition used for search and export.
Corresponds to the JSON property query
491 492 493 |
# File 'lib/google/apis/vault_v1/classes.rb', line 491 def query @query end |
#view ⇒ String
Sets the granularity of the count results.
Corresponds to the JSON property view
496 497 498 |
# File 'lib/google/apis/vault_v1/classes.rb', line 496 def view @view end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
503 504 505 506 |
# File 'lib/google/apis/vault_v1/classes.rb', line 503 def update!(**args) @query = args[:query] if args.key?(:query) @view = args[:view] if args.key?(:view) end |