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.



418
419
420
# File 'lib/google/apis/vault_v1/classes.rb', line 418

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



411
412
413
# File 'lib/google/apis/vault_v1/classes.rb', line 411

def query
  @query
end

#viewString

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

Returns:

  • (String)


416
417
418
# File 'lib/google/apis/vault_v1/classes.rb', line 416

def view
  @view
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



423
424
425
426
# File 'lib/google/apis/vault_v1/classes.rb', line 423

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