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.



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

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



491
492
493
# File 'lib/google/apis/vault_v1/classes.rb', line 491

def query
  @query
end

#viewString

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

Returns:

  • (String)


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