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
more...

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.

[View source]

1017
1018
1019
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1017

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

Instance Attribute Details

#domainString

The domain name. Corresponds to the JSON property domain

Returns:

  • (String)

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

def domain
  @domain
end

#http_call_countFixnum

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

Returns:

  • (Fixnum)

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

def http_call_count
  @http_call_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

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

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