Google Analytics Admin V1alpha Client - Class GetAdSenseLinkRequest (0.22.5)

Reference documentation and code samples for the Google Analytics Admin V1alpha Client class GetAdSenseLinkRequest.

Request message to be passed to GetAdSenseLink method.

Generated from protobuf message google.analytics.admin.v1alpha.GetAdSenseLinkRequest

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Unique identifier for the AdSense Link requested. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678

getName

Required. Unique identifier for the AdSense Link requested.

Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678

Returns
Type Description
string

setName

Required. Unique identifier for the AdSense Link requested.

Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Unique identifier for the AdSense Link requested. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678 Please see Google\Analytics\Admin\V1alpha\AnalyticsAdminServiceClient::adSenseLinkName() for help formatting this field.

Returns
Type Description
Google\Analytics\Admin\V1alpha\GetAdSenseLinkRequest