Class: Google::Apis::RealtimebiddingV1::DomainCalls

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/realtimebidding_v1/classes.rb,
lib/google/apis/realtimebidding_v1/representations.rb,
lib/google/apis/realtimebidding_v1/representations.rb

Overview

The number of HTTP calls made to the given domain.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DomainCalls

Returns a new instance of DomainCalls.



1021
1022
1023
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1021

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

Instance Attribute Details

#domainString

The domain name. Corresponds to the JSON property domain

Returns:

  • (String)


1014
1015
1016
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1014

def domain
  @domain
end

#http_call_countFixnum

Number of HTTP calls made to the domain. Corresponds to the JSON property httpCallCount

Returns:

  • (Fixnum)


1019
1020
1021
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1019

def http_call_count
  @http_call_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1026
1027
1028
1029
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1026

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