Class: Google::Apis::VaultV1::CountArtifactsResponse

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

Definition of the response for method CountArtifacts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CountArtifactsResponse

Returns a new instance of CountArtifactsResponse.



528
529
530
# File 'lib/google/apis/vault_v1/classes.rb', line 528

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

Instance Attribute Details

#groups_count_resultGoogle::Apis::VaultV1::GroupsCountResult

Groups specific count metrics. Corresponds to the JSON property groupsCountResult



516
517
518
# File 'lib/google/apis/vault_v1/classes.rb', line 516

def groups_count_result
  @groups_count_result
end

#mail_count_resultGoogle::Apis::VaultV1::MailCountResult

Gmail and classic Hangouts-specific count metrics. Corresponds to the JSON property mailCountResult



521
522
523
# File 'lib/google/apis/vault_v1/classes.rb', line 521

def mail_count_result
  @mail_count_result
end

#total_countFixnum

Total count of messages. Corresponds to the JSON property totalCount

Returns:

  • (Fixnum)


526
527
528
# File 'lib/google/apis/vault_v1/classes.rb', line 526

def total_count
  @total_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



533
534
535
536
537
# File 'lib/google/apis/vault_v1/classes.rb', line 533

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