Class: Google::Apis::MerchantapiAccountsV1beta::LfpProvider
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiAccountsV1beta::LfpProvider
- 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
Collection of information related to a Local Feed Partnership (LFP) provider.
Instance Attribute Summary collapse
-
#display_name ⇒ String
The display name of the LFP provider.
-
#name ⇒ String
Identifier.
-
#region_code ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LfpProvider
constructor
A new instance of LfpProvider.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LfpProvider
Returns a new instance of LfpProvider.
2137 2138 2139 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2137 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The display name of the LFP provider.
Corresponds to the JSON property displayName
2124 2125 2126 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2124 def display_name @display_name end |
#name ⇒ String
Identifier. The resource name of the LFP provider. Format: accounts/account/
omnichannelSettings/omnichannel_setting/lfpProviders/lfp_provider`
Corresponds to the JSON propertyname`
2130 2131 2132 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2130 def name @name end |
#region_code ⇒ String
Output only. Region code defined by CLDR.
Corresponds to the JSON property regionCode
2135 2136 2137 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2135 def region_code @region_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2142 2143 2144 2145 2146 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2142 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @region_code = args[:region_code] if args.key?(:region_code) end |