Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class Requirement.
Defines a requirement specified for participation in the program.
Generated from protobuf messagegoogle.shopping.merchant.accounts.v1.Program.Requirement
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1 \ Program
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ title
string
Output only. Name of the requirement.
↳ documentation_uri
string
Output only. The URL of a help page describing the requirement.
↳ affected_region_codes
array
Output only. The regions that are currently affected by this requirement not being met. Region codes are defined byCLDR. This is either a country where the program applies specifically to that country or001when the program applies globally.
getTitle
Output only. Name of the requirement.
Returns
Type
Description
string
setTitle
Output only. Name of the requirement.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDocumentationUri
Output only. The URL of a help page describing the requirement.
Returns
Type
Description
string
setDocumentationUri
Output only. The URL of a help page describing the requirement.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getAffectedRegionCodes
Output only. The regions that are currently affected by this requirement
not being met.
Region codes are defined byCLDR. This is
either a country where the program applies specifically to that country
or001when the program applies globally.
Output only. The regions that are currently affected by this requirement
not being met.
Region codes are defined byCLDR. This is
either a country where the program applies specifically to that country
or001when the program applies globally.
[[["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 Accounts V1 Client - Class Requirement (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/php/docs/reference/shopping-merchant-accounts/latest/V1.Program.Requirement)\n- [0.10.0](/php/docs/reference/shopping-merchant-accounts/0.10.0/V1.Program.Requirement)\n- [0.9.1](/php/docs/reference/shopping-merchant-accounts/0.9.1/V1.Program.Requirement)\n- [0.8.0](/php/docs/reference/shopping-merchant-accounts/0.8.0/V1.Program.Requirement)\n- [0.7.0](/php/docs/reference/shopping-merchant-accounts/0.7.0/V1.Program.Requirement)\n- [0.6.0](/php/docs/reference/shopping-merchant-accounts/0.6.0/V1.Program.Requirement)\n- [0.5.0](/php/docs/reference/shopping-merchant-accounts/0.5.0/V1.Program.Requirement)\n- [0.4.0](/php/docs/reference/shopping-merchant-accounts/0.4.0/V1.Program.Requirement)\n- [0.3.3](/php/docs/reference/shopping-merchant-accounts/0.3.3/V1.Program.Requirement)\n- [0.2.0](/php/docs/reference/shopping-merchant-accounts/0.2.0/V1.Program.Requirement)\n- [0.1.0](/php/docs/reference/shopping-merchant-accounts/0.1.0/V1.Program.Requirement) \nReference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class Requirement.\n\nDefines a requirement specified for participation in the program.\n\nGenerated from protobuf message `google.shopping.merchant.accounts.v1.Program.Requirement`\n\nNamespace\n---------\n\nGoogle \\\\ Shopping \\\\ Merchant \\\\ Accounts \\\\ V1 \\\\ Program\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getTitle\n\nOutput only. Name of the requirement.\n\n### setTitle\n\nOutput only. Name of the requirement.\n\n### getDocumentationUri\n\nOutput only. The URL of a help page describing the requirement.\n\n### setDocumentationUri\n\nOutput only. The URL of a help page describing the requirement.\n\n### getAffectedRegionCodes\n\nOutput only. The regions that are currently affected by this requirement\nnot being met.\n\nRegion codes are defined by [CLDR](https://cldr.unicode.org/). This is\neither a country where the program applies specifically to that country\nor `001` when the program applies globally.\n\n### setAffectedRegionCodes\n\nOutput only. The regions that are currently affected by this requirement\nnot being met.\n\nRegion codes are defined by [CLDR](https://cldr.unicode.org/). This is\neither a country where the program applies specifically to that country\nor `001` when the program applies globally."]]