Reference documentation and code samples for the Google Shopping Merchant Lfp V1 Client class GetLfpMerchantStateRequest.
Request message for the GetLfpMerchantState method.
Generated from protobuf message google.shopping.merchant.lfp.v1.GetLfpMerchantStateRequest
Namespace
Google \ Shopping \ Merchant \ Lfp \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
โณ name
string
Required. The name of the state to retrieve. Format: accounts/{account}/lfpMerchantStates/{target_merchant}. For example, accounts/123456/lfpMerchantStates/567890.
getName
Required. The name of the state to retrieve.
Format: accounts/{account}/lfpMerchantStates/{target_merchant}. For
example, accounts/123456/lfpMerchantStates/567890.
Returns
Type
Description
string
setName
Required. The name of the state to retrieve.
Format: accounts/{account}/lfpMerchantStates/{target_merchant}. For
example, accounts/123456/lfpMerchantStates/567890.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. The name of the state to retrieve.
Format: accounts/{account}/lfpMerchantStates/{target_merchant}. For
example, accounts/123456/lfpMerchantStates/567890. Please see
LfpMerchantStateServiceClient::lfpMerchantStateName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Shopping Merchant Lfp V1 Client - Class GetLfpMerchantStateRequest (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/php/docs/reference/shopping-merchant-lfp/latest/V1.GetLfpMerchantStateRequest)\n- [0.4.0](/php/docs/reference/shopping-merchant-lfp/0.4.0/V1.GetLfpMerchantStateRequest)\n- [0.3.2](/php/docs/reference/shopping-merchant-lfp/0.3.2/V1.GetLfpMerchantStateRequest)\n- [0.2.0](/php/docs/reference/shopping-merchant-lfp/0.2.0/V1.GetLfpMerchantStateRequest)\n- [0.1.3](/php/docs/reference/shopping-merchant-lfp/0.1.3/V1.GetLfpMerchantStateRequest) \nReference documentation and code samples for the Google Shopping Merchant Lfp V1 Client class GetLfpMerchantStateRequest.\n\nRequest message for the GetLfpMerchantState method.\n\nGenerated from protobuf message `google.shopping.merchant.lfp.v1.GetLfpMerchantStateRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Shopping \\\\ Merchant \\\\ Lfp \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The name of the state to retrieve.\n\nFormat: `accounts/{account}/lfpMerchantStates/{target_merchant}`. For\nexample, `accounts/123456/lfpMerchantStates/567890`.\n\n### setName\n\nRequired. The name of the state to retrieve.\n\nFormat: `accounts/{account}/lfpMerchantStates/{target_merchant}`. For\nexample, `accounts/123456/lfpMerchantStates/567890`.\n\n### static::build"]]