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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#queryGoogle::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

#viewString

Specifies the granularity of the count result returned in response. Corresponds to the JSON property view

Returns:

  • (String)


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