Class: Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaEndpoint

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

Overview

Information about an endpoint.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChecksReportV1alphaEndpoint

Returns a new instance of GoogleChecksReportV1alphaEndpoint.



964
965
966
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 964

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

Instance Attribute Details

#domain ⇒ String

Domain name (e.g. ads.google.com). Corresponds to the JSON property domain

Returns:

  • (String)


962
963
964
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 962

def domain
  @domain
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



969
970
971
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 969

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