Class: Google::Apis::RealtimebiddingV1::DomainCalls
- Inherits:
-
Object
- Object
- Google::Apis::RealtimebiddingV1::DomainCalls
- 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
-
#domain ⇒ String
The domain name.
-
#http_call_count ⇒ Fixnum
Number of HTTP calls made to the domain.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DomainCalls
constructor
A new instance of DomainCalls.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DomainCalls
Returns a new instance of DomainCalls.
1017 1018 1019 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1017 def initialize(**args) update!(**args) end |
Instance Attribute Details
#domain ⇒ String
The domain name.
Corresponds to the JSON property domain
1010 1011 1012 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1010 def domain @domain end |
#http_call_count ⇒ Fixnum
Number of HTTP calls made to the domain.
Corresponds to the JSON property httpCallCount
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
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 |