Class: Google::Apis::MerchantapiAccountsV1beta::LfpProvider

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

Collection of information related to a Local Feed Partnership (LFP) provider.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameString

The display name of the LFP provider. Corresponds to the JSON property displayName

Returns:

  • (String)


2124
2125
2126
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2124

def display_name
  @display_name
end

#nameString

Identifier. The resource name of the LFP provider. Format: accounts/account/ omnichannelSettings/omnichannel_setting/lfpProviders/lfp_provider` Corresponds to the JSON propertyname`

Returns:

  • (String)


2130
2131
2132
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2130

def name
  @name
end

#region_codeString

Output only. Region code defined by CLDR. Corresponds to the JSON property regionCode

Returns:

  • (String)


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