Class: Google::Apis::VaultV1::CountArtifactsRequest
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::CountArtifactsRequest
- 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
Count artifacts request.
Instance Attribute Summary collapse
-
#query ⇒ Google::Apis::VaultV1::Query
A query definition relevant for search & export.
-
#view ⇒ String
Specifies the granularity of the count result returned in response.
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.
408 409 410 |
# File 'generated/google/apis/vault_v1/classes.rb', line 408 def initialize(**args) update!(**args) end |
Instance Attribute Details
#query ⇒ Google::Apis::VaultV1::Query
A query definition relevant for search & export.
Corresponds to the JSON property query
401 402 403 |
# File 'generated/google/apis/vault_v1/classes.rb', line 401 def query @query end |
#view ⇒ String
Specifies the granularity of the count result returned in response.
Corresponds to the JSON property view
406 407 408 |
# File 'generated/google/apis/vault_v1/classes.rb', line 406 def view @view end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
413 414 415 416 |
# File 'generated/google/apis/vault_v1/classes.rb', line 413 def update!(**args) @query = args[:query] if args.key?(:query) @view = args[:view] if args.key?(:view) end |