Class: Google::Apis::AlertcenterV1beta1::DomainId

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

Overview

Domain ID of Gmail phishing alerts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DomainId

Returns a new instance of DomainId.


730
731
732
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 730

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

Instance Attribute Details

#customer_primary_domainString

The primary domain for the customer. Corresponds to the JSON property customerPrimaryDomain

Returns:

  • (String)

728
729
730
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 728

def customer_primary_domain
  @customer_primary_domain
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


735
736
737
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 735

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