Class: Google::Apis::VaultV1::CountArtifactsResponse
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::CountArtifactsResponse
- 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
Definition of the response for method CountArtifacts.
Instance Attribute Summary collapse
-
#groups_count_result ⇒ Google::Apis::VaultV1::GroupsCountResult
Groups specific count metrics.
-
#mail_count_result ⇒ Google::Apis::VaultV1::MailCountResult
Mail specific count metrics.
-
#total_count ⇒ Fixnum
Total count of artifacts.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CountArtifactsResponse
constructor
A new instance of CountArtifactsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CountArtifactsResponse
Returns a new instance of CountArtifactsResponse.
438 439 440 |
# File 'generated/google/apis/vault_v1/classes.rb', line 438 def initialize(**args) update!(**args) end |
Instance Attribute Details
#groups_count_result ⇒ Google::Apis::VaultV1::GroupsCountResult
Groups specific count metrics.
Corresponds to the JSON property groupsCountResult
426 427 428 |
# File 'generated/google/apis/vault_v1/classes.rb', line 426 def groups_count_result @groups_count_result end |
#mail_count_result ⇒ Google::Apis::VaultV1::MailCountResult
Mail specific count metrics.
Corresponds to the JSON property mailCountResult
431 432 433 |
# File 'generated/google/apis/vault_v1/classes.rb', line 431 def mail_count_result @mail_count_result end |
#total_count ⇒ Fixnum
Total count of artifacts. For mail and groups, artifacts refers to messages.
Corresponds to the JSON property totalCount
436 437 438 |
# File 'generated/google/apis/vault_v1/classes.rb', line 436 def total_count @total_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
443 444 445 446 447 |
# File 'generated/google/apis/vault_v1/classes.rb', line 443 def update!(**args) @groups_count_result = args[:groups_count_result] if args.key?(:groups_count_result) @mail_count_result = args[:mail_count_result] if args.key?(:mail_count_result) @total_count = args[:total_count] if args.key?(:total_count) end |