Google Shopping Merchant Accounts V1beta Client - Class GetProgramRequest (0.3.1)

Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class GetProgramRequest.

Request message for the GetProgram method.

Generated from protobuf message google.shopping.merchant.accounts.v1beta.GetProgramRequest

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the program to retrieve. Format: accounts/{account}/programs/{program}

getName

Required. The name of the program to retrieve.

Format: accounts/{account}/programs/{program}

Returns
Type Description
string

setName

Required. The name of the program to retrieve.

Format: accounts/{account}/programs/{program}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the program to retrieve. Format: accounts/{account}/programs/{program} Please see ProgramsServiceClient::programName() for help formatting this field.

Returns
Type Description
GetProgramRequest