Class: Google::Apis::DomainsV1alpha2::RetrieveGoogleDomainsForwardingConfigResponse

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

Overview

Response for the RetrieveGoogleDomainsForwardingConfig method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RetrieveGoogleDomainsForwardingConfigResponse

Returns a new instance of RetrieveGoogleDomainsForwardingConfigResponse.



2041
2042
2043
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 2041

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

Instance Attribute Details

#domain_forwardingsArray<Google::Apis::DomainsV1alpha2::DomainForwarding>

The list of domain forwarding configurations. A forwarding configuration might not work correctly if the required DNS records are not present in the domain's authoritative DNS zone. Corresponds to the JSON property domainForwardings



2032
2033
2034
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 2032

def domain_forwardings
  @domain_forwardings
end

#email_forwardingsArray<Google::Apis::DomainsV1alpha2::EmailForwarding>

The list of email forwarding configurations. A forwarding configuration might not work correctly if the required DNS records are not present in the domain's authoritative DNS zone. Corresponds to the JSON property emailForwardings



2039
2040
2041
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 2039

def email_forwardings
  @email_forwardings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2046
2047
2048
2049
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 2046

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