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.



1003
1004
1005
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1003

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

Instance Attribute Details

#domainString

The domain name. Corresponds to the JSON property domain

Returns:

  • (String)


996
997
998
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 996

def domain
  @domain
end

#http_call_countFixnum

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

Returns:

  • (Fixnum)


1001
1002
1003
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1001

def http_call_count
  @http_call_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1008
1009
1010
1011
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1008

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