Class: Google::Apis::MerchantapiAccountsV1beta::ImpactedDestination

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

Overview

The impact of the issue on a destination.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImpactedDestination

Returns a new instance of ImpactedDestination.



1933
1934
1935
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1933

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

Instance Attribute Details

#impactsArray<Google::Apis::MerchantapiAccountsV1beta::Impact>

The (negative) impact for various regions on the given destination. Corresponds to the JSON property impacts



1926
1927
1928
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1926

def impacts
  @impacts
end

#reporting_contextString

The impacted reporting context. Corresponds to the JSON property reportingContext

Returns:

  • (String)


1931
1932
1933
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1931

def reporting_context
  @reporting_context
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1938
1939
1940
1941
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1938

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