Class: Google::Apis::VaultV1::CountArtifactsRequest

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

Count artifacts request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CountArtifactsRequest

Returns a new instance of CountArtifactsRequest.



504
505
506
# File 'lib/google/apis/vault_v1/classes.rb', line 504

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

Instance Attribute Details

#queryGoogle::Apis::VaultV1::Query

The query definition used for search and export. Corresponds to the JSON property query



497
498
499
# File 'lib/google/apis/vault_v1/classes.rb', line 497

def query
  @query
end

#viewString

Sets the granularity of the count results. Corresponds to the JSON property view

Returns:

  • (String)


502
503
504
# File 'lib/google/apis/vault_v1/classes.rb', line 502

def view
  @view
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



509
510
511
512
# File 'lib/google/apis/vault_v1/classes.rb', line 509

def update!(**args)
  @query = args[:query] if args.key?(:query)
  @view = args[:view] if args.key?(:view)
end