code
stringlengths 17
296k
| docstring
stringlengths 30
30.3k
| func_name
stringlengths 1
89
| language
stringclasses 1
value | repo
stringlengths 7
63
| path
stringlengths 7
153
| url
stringlengths 51
209
| license
stringclasses 4
values |
---|---|---|---|---|---|---|---|
public function getOverrideDeployPolicy()
{
return $this->override_deploy_policy;
} | Optional. Deploy policies to override. Format is
`projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
Generated from protobuf field <code>repeated string override_deploy_policy = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {</code>
@return \Google\Protobuf\Internal\RepeatedField | getOverrideDeployPolicy | php | googleapis/google-cloud-php | Deploy/src/V1/IgnoreJobRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/IgnoreJobRequest.php | Apache-2.0 |
public function setOverrideDeployPolicy($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->override_deploy_policy = $arr;
return $this;
} | Optional. Deploy policies to override. Format is
`projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
Generated from protobuf field <code>repeated string override_deploy_policy = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setOverrideDeployPolicy | php | googleapis/google-cloud-php | Deploy/src/V1/IgnoreJobRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/IgnoreJobRequest.php | Apache-2.0 |
public function getParent()
{
return $this->parent;
} | Required.
`projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store`
Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getParent | php | googleapis/google-cloud-php | RecommendationEngine/src/V1beta1/ImportUserEventsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/RecommendationEngine/src/V1beta1/ImportUserEventsRequest.php | Apache-2.0 |
public function setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | Required.
`projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store`
Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setParent | php | googleapis/google-cloud-php | RecommendationEngine/src/V1beta1/ImportUserEventsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/RecommendationEngine/src/V1beta1/ImportUserEventsRequest.php | Apache-2.0 |
public function getRequestId()
{
return $this->request_id;
} | Optional. Unique identifier provided by client, within the ancestor
dataset scope. Ensures idempotency for expensive long running operations.
Server-generated if unspecified. Up to 128 characters long. This is
returned as google.longrunning.Operation.name in the response. Note that
this field must not be set if the desired input config is
catalog_inline_source.
Generated from protobuf field <code>string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getRequestId | php | googleapis/google-cloud-php | RecommendationEngine/src/V1beta1/ImportUserEventsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/RecommendationEngine/src/V1beta1/ImportUserEventsRequest.php | Apache-2.0 |
public function setRequestId($var)
{
GPBUtil::checkString($var, True);
$this->request_id = $var;
return $this;
} | Optional. Unique identifier provided by client, within the ancestor
dataset scope. Ensures idempotency for expensive long running operations.
Server-generated if unspecified. Up to 128 characters long. This is
returned as google.longrunning.Operation.name in the response. Note that
this field must not be set if the desired input config is
catalog_inline_source.
Generated from protobuf field <code>string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setRequestId | php | googleapis/google-cloud-php | RecommendationEngine/src/V1beta1/ImportUserEventsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/RecommendationEngine/src/V1beta1/ImportUserEventsRequest.php | Apache-2.0 |
public function getInputConfig()
{
return $this->input_config;
} | Required. The desired input location of the data.
Generated from protobuf field <code>.google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\RecommendationEngine\V1beta1\InputConfig|null | getInputConfig | php | googleapis/google-cloud-php | RecommendationEngine/src/V1beta1/ImportUserEventsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/RecommendationEngine/src/V1beta1/ImportUserEventsRequest.php | Apache-2.0 |
public function setInputConfig($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\RecommendationEngine\V1beta1\InputConfig::class);
$this->input_config = $var;
return $this;
} | Required. The desired input location of the data.
Generated from protobuf field <code>.google.cloud.recommendationengine.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\RecommendationEngine\V1beta1\InputConfig $var
@return $this | setInputConfig | php | googleapis/google-cloud-php | RecommendationEngine/src/V1beta1/ImportUserEventsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/RecommendationEngine/src/V1beta1/ImportUserEventsRequest.php | Apache-2.0 |
public function getErrorsConfig()
{
return $this->errors_config;
} | Optional. The desired location of errors incurred during the Import.
Generated from protobuf field <code>.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Cloud\RecommendationEngine\V1beta1\ImportErrorsConfig|null | getErrorsConfig | php | googleapis/google-cloud-php | RecommendationEngine/src/V1beta1/ImportUserEventsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/RecommendationEngine/src/V1beta1/ImportUserEventsRequest.php | Apache-2.0 |
public function setErrorsConfig($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\RecommendationEngine\V1beta1\ImportErrorsConfig::class);
$this->errors_config = $var;
return $this;
} | Optional. The desired location of errors incurred during the Import.
Generated from protobuf field <code>.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\RecommendationEngine\V1beta1\ImportErrorsConfig $var
@return $this | setErrorsConfig | php | googleapis/google-cloud-php | RecommendationEngine/src/V1beta1/ImportUserEventsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/RecommendationEngine/src/V1beta1/ImportUserEventsRequest.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. Name of the resource
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getName | php | googleapis/google-cloud-php | StorageInsights/src/V1/GetReportDetailRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/StorageInsights/src/V1/GetReportDetailRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. Name of the resource
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | StorageInsights/src/V1/GetReportDetailRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/StorageInsights/src/V1/GetReportDetailRequest.php | Apache-2.0 |
public function handleFailure($idNum, array $items)
{
if (!$this->failureFile) {
$this->initFailureFile();
}
if ($this->failureFile) {
$fp = @fopen($this->failureFile, 'a');
@fwrite($fp, json_encode(serialize([$idNum => $items])) . PHP_EOL);
@fclose($fp);
}
} | Save the items to the failureFile. We silently abandon the items upon
failures in this method because there's nothing we can do.
@param int $idNum A numeric id for the job.
@param array $items Items to save. | handleFailure | php | googleapis/google-cloud-php | Core/src/Batch/HandleFailureTrait.php | https://github.com/googleapis/google-cloud-php/blob/master/Core/src/Batch/HandleFailureTrait.php | Apache-2.0 |
private function getFailedFiles()
{
$pattern = sprintf('%s/failed-items-*', $this->baseDir);
return glob($pattern) ?: [];
} | Get all the filenames for the failure files.
@return array Filenames for all the failure files. | getFailedFiles | php | googleapis/google-cloud-php | Core/src/Batch/HandleFailureTrait.php | https://github.com/googleapis/google-cloud-php/blob/master/Core/src/Batch/HandleFailureTrait.php | Apache-2.0 |
public function getGenericMetadata()
{
return $this->generic_metadata;
} | Operation metadata for Featurestore export Feature values.
Generated from protobuf field <code>.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;</code>
@return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null | getGenericMetadata | php | googleapis/google-cloud-php | AiPlatform/src/V1/ExportFeatureValuesOperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ExportFeatureValuesOperationMetadata.php | Apache-2.0 |
public function setGenericMetadata($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class);
$this->generic_metadata = $var;
return $this;
} | Operation metadata for Featurestore export Feature values.
Generated from protobuf field <code>.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;</code>
@param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var
@return $this | setGenericMetadata | php | googleapis/google-cloud-php | AiPlatform/src/V1/ExportFeatureValuesOperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ExportFeatureValuesOperationMetadata.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. The relative resource name of the metastore service to retrieve,
in the following form:
`projects/{project_number}/locations/{location_id}/services/{service_id}`.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getName | php | googleapis/google-cloud-php | DataprocMetastore/src/V1alpha/GetServiceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/DataprocMetastore/src/V1alpha/GetServiceRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. The relative resource name of the metastore service to retrieve,
in the following form:
`projects/{project_number}/locations/{location_id}/services/{service_id}`.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | DataprocMetastore/src/V1alpha/GetServiceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/DataprocMetastore/src/V1alpha/GetServiceRequest.php | Apache-2.0 |
public function getNetworkCode()
{
return $this->network_code;
} | Required. Ad Manager network code to associate with the VOD config.
Generated from protobuf field <code>string network_code = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getNetworkCode | php | googleapis/google-cloud-php | VideoStitcher/src/V1/GamVodConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/GamVodConfig.php | Apache-2.0 |
public function setNetworkCode($var)
{
GPBUtil::checkString($var, True);
$this->network_code = $var;
return $this;
} | Required. Ad Manager network code to associate with the VOD config.
Generated from protobuf field <code>string network_code = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setNetworkCode | php | googleapis/google-cloud-php | VideoStitcher/src/V1/GamVodConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/GamVodConfig.php | Apache-2.0 |
public function getFilter()
{
return $this->filter;
} | A filter expression that filters resources listed in the response.
The expression is in the form of field:value. For example,
'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per
their JSON representation, such as 'settings.userLabels.auto_start:true'.
Multiple filter queries are space-separated. For example.
'state:RUNNABLE instanceType:CLOUD_SQL_INSTANCE'. By default, each
expression is an AND expression. However, you can include AND and OR
expressions explicitly.
Generated from protobuf field <code>string filter = 1;</code>
@return string | getFilter | php | googleapis/google-cloud-php | SqlAdmin/src/V1/SqlInstancesListRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/SqlInstancesListRequest.php | Apache-2.0 |
public function setFilter($var)
{
GPBUtil::checkString($var, True);
$this->filter = $var;
return $this;
} | A filter expression that filters resources listed in the response.
The expression is in the form of field:value. For example,
'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per
their JSON representation, such as 'settings.userLabels.auto_start:true'.
Multiple filter queries are space-separated. For example.
'state:RUNNABLE instanceType:CLOUD_SQL_INSTANCE'. By default, each
expression is an AND expression. However, you can include AND and OR
expressions explicitly.
Generated from protobuf field <code>string filter = 1;</code>
@param string $var
@return $this | setFilter | php | googleapis/google-cloud-php | SqlAdmin/src/V1/SqlInstancesListRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/SqlInstancesListRequest.php | Apache-2.0 |
public function getMaxResults()
{
return $this->max_results;
} | The maximum number of instances to return. The service may return fewer
than this value.
If unspecified, at most 500 instances are returned.
The maximum value is 1000; values above 1000 are coerced to 1000.
Generated from protobuf field <code>uint32 max_results = 2;</code>
@return int | getMaxResults | php | googleapis/google-cloud-php | SqlAdmin/src/V1/SqlInstancesListRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/SqlInstancesListRequest.php | Apache-2.0 |
public function setMaxResults($var)
{
GPBUtil::checkUint32($var);
$this->max_results = $var;
return $this;
} | The maximum number of instances to return. The service may return fewer
than this value.
If unspecified, at most 500 instances are returned.
The maximum value is 1000; values above 1000 are coerced to 1000.
Generated from protobuf field <code>uint32 max_results = 2;</code>
@param int $var
@return $this | setMaxResults | php | googleapis/google-cloud-php | SqlAdmin/src/V1/SqlInstancesListRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/SqlInstancesListRequest.php | Apache-2.0 |
public function getPageToken()
{
return $this->page_token;
} | A previously-returned page token representing part of the larger set of
results to view.
Generated from protobuf field <code>string page_token = 3;</code>
@return string | getPageToken | php | googleapis/google-cloud-php | SqlAdmin/src/V1/SqlInstancesListRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/SqlInstancesListRequest.php | Apache-2.0 |
public function setPageToken($var)
{
GPBUtil::checkString($var, True);
$this->page_token = $var;
return $this;
} | A previously-returned page token representing part of the larger set of
results to view.
Generated from protobuf field <code>string page_token = 3;</code>
@param string $var
@return $this | setPageToken | php | googleapis/google-cloud-php | SqlAdmin/src/V1/SqlInstancesListRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/SqlInstancesListRequest.php | Apache-2.0 |
public function getProject()
{
return $this->project;
} | Project ID of the project for which to list Cloud SQL instances.
Generated from protobuf field <code>string project = 4;</code>
@return string | getProject | php | googleapis/google-cloud-php | SqlAdmin/src/V1/SqlInstancesListRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/SqlInstancesListRequest.php | Apache-2.0 |
public function setProject($var)
{
GPBUtil::checkString($var, True);
$this->project = $var;
return $this;
} | Project ID of the project for which to list Cloud SQL instances.
Generated from protobuf field <code>string project = 4;</code>
@param string $var
@return $this | setProject | php | googleapis/google-cloud-php | SqlAdmin/src/V1/SqlInstancesListRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/SqlInstancesListRequest.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. Name of the resource
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getName | php | googleapis/google-cloud-php | Parallelstore/src/V1/DeleteInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Parallelstore/src/V1/DeleteInstanceRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. Name of the resource
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | Parallelstore/src/V1/DeleteInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Parallelstore/src/V1/DeleteInstanceRequest.php | Apache-2.0 |
public function getRequestId()
{
return $this->request_id;
} | Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and t
he request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
Generated from protobuf field <code>string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getRequestId | php | googleapis/google-cloud-php | Parallelstore/src/V1/DeleteInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Parallelstore/src/V1/DeleteInstanceRequest.php | Apache-2.0 |
public function setRequestId($var)
{
GPBUtil::checkString($var, True);
$this->request_id = $var;
return $this;
} | Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and t
he request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
Generated from protobuf field <code>string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setRequestId | php | googleapis/google-cloud-php | Parallelstore/src/V1/DeleteInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Parallelstore/src/V1/DeleteInstanceRequest.php | Apache-2.0 |
public function getResourceType()
{
return $this->resource_type;
} | Required. The type of the resource, for example,
`compute.googleapis.com/Disk`.
Generated from protobuf field <code>string resource_type = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getResourceType | php | googleapis/google-cloud-php | SecurityCenter/src/V1/SimulateSecurityHealthAnalyticsCustomModuleRequest/SimulatedResource.php | https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V1/SimulateSecurityHealthAnalyticsCustomModuleRequest/SimulatedResource.php | Apache-2.0 |
public function setResourceType($var)
{
GPBUtil::checkString($var, True);
$this->resource_type = $var;
return $this;
} | Required. The type of the resource, for example,
`compute.googleapis.com/Disk`.
Generated from protobuf field <code>string resource_type = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setResourceType | php | googleapis/google-cloud-php | SecurityCenter/src/V1/SimulateSecurityHealthAnalyticsCustomModuleRequest/SimulatedResource.php | https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V1/SimulateSecurityHealthAnalyticsCustomModuleRequest/SimulatedResource.php | Apache-2.0 |
public function getResourceData()
{
return $this->resource_data;
} | Optional. A representation of the Google Cloud resource. Should match the
Google Cloud resource JSON format.
Generated from protobuf field <code>.google.protobuf.Struct resource_data = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Protobuf\Struct|null | getResourceData | php | googleapis/google-cloud-php | SecurityCenter/src/V1/SimulateSecurityHealthAnalyticsCustomModuleRequest/SimulatedResource.php | https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V1/SimulateSecurityHealthAnalyticsCustomModuleRequest/SimulatedResource.php | Apache-2.0 |
public function setResourceData($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Struct::class);
$this->resource_data = $var;
return $this;
} | Optional. A representation of the Google Cloud resource. Should match the
Google Cloud resource JSON format.
Generated from protobuf field <code>.google.protobuf.Struct resource_data = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Protobuf\Struct $var
@return $this | setResourceData | php | googleapis/google-cloud-php | SecurityCenter/src/V1/SimulateSecurityHealthAnalyticsCustomModuleRequest/SimulatedResource.php | https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V1/SimulateSecurityHealthAnalyticsCustomModuleRequest/SimulatedResource.php | Apache-2.0 |
public function getIamPolicyData()
{
return $this->iam_policy_data;
} | Optional. A representation of the IAM policy.
Generated from protobuf field <code>.google.iam.v1.Policy iam_policy_data = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Cloud\Iam\V1\Policy|null | getIamPolicyData | php | googleapis/google-cloud-php | SecurityCenter/src/V1/SimulateSecurityHealthAnalyticsCustomModuleRequest/SimulatedResource.php | https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V1/SimulateSecurityHealthAnalyticsCustomModuleRequest/SimulatedResource.php | Apache-2.0 |
public function setIamPolicyData($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Iam\V1\Policy::class);
$this->iam_policy_data = $var;
return $this;
} | Optional. A representation of the IAM policy.
Generated from protobuf field <code>.google.iam.v1.Policy iam_policy_data = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\Iam\V1\Policy $var
@return $this | setIamPolicyData | php | googleapis/google-cloud-php | SecurityCenter/src/V1/SimulateSecurityHealthAnalyticsCustomModuleRequest/SimulatedResource.php | https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V1/SimulateSecurityHealthAnalyticsCustomModuleRequest/SimulatedResource.php | Apache-2.0 |
public function getAllowedValues()
{
return $this->allowed_values;
} | The list of allowed values, if bounded. This field will be empty
if there is a unbounded number of allowed values.
Generated from protobuf field <code>repeated string allowed_values = 1;</code>
@return \Google\Protobuf\Internal\RepeatedField | getAllowedValues | php | googleapis/google-cloud-php | AlloyDb/src/V1/SupportedDatabaseFlag/StringRestrictions.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/SupportedDatabaseFlag/StringRestrictions.php | Apache-2.0 |
public function setAllowedValues($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->allowed_values = $arr;
return $this;
} | The list of allowed values, if bounded. This field will be empty
if there is a unbounded number of allowed values.
Generated from protobuf field <code>repeated string allowed_values = 1;</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setAllowedValues | php | googleapis/google-cloud-php | AlloyDb/src/V1/SupportedDatabaseFlag/StringRestrictions.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/SupportedDatabaseFlag/StringRestrictions.php | Apache-2.0 |
public function getLocation()
{
return $this->location;
} | Location of the diagnostic.
Generated from protobuf field <code>string location = 1;</code>
@return string | getLocation | php | googleapis/google-cloud-php | ApiGateway/src/V1/OperationMetadata/Diagnostic.php | https://github.com/googleapis/google-cloud-php/blob/master/ApiGateway/src/V1/OperationMetadata/Diagnostic.php | Apache-2.0 |
public function setLocation($var)
{
GPBUtil::checkString($var, True);
$this->location = $var;
return $this;
} | Location of the diagnostic.
Generated from protobuf field <code>string location = 1;</code>
@param string $var
@return $this | setLocation | php | googleapis/google-cloud-php | ApiGateway/src/V1/OperationMetadata/Diagnostic.php | https://github.com/googleapis/google-cloud-php/blob/master/ApiGateway/src/V1/OperationMetadata/Diagnostic.php | Apache-2.0 |
public function getMessage()
{
return $this->message;
} | The diagnostic message.
Generated from protobuf field <code>string message = 2;</code>
@return string | getMessage | php | googleapis/google-cloud-php | ApiGateway/src/V1/OperationMetadata/Diagnostic.php | https://github.com/googleapis/google-cloud-php/blob/master/ApiGateway/src/V1/OperationMetadata/Diagnostic.php | Apache-2.0 |
public function setMessage($var)
{
GPBUtil::checkString($var, True);
$this->message = $var;
return $this;
} | The diagnostic message.
Generated from protobuf field <code>string message = 2;</code>
@param string $var
@return $this | setMessage | php | googleapis/google-cloud-php | ApiGateway/src/V1/OperationMetadata/Diagnostic.php | https://github.com/googleapis/google-cloud-php/blob/master/ApiGateway/src/V1/OperationMetadata/Diagnostic.php | Apache-2.0 |
public function getParent()
{
return $this->parent;
} | Required. Name of parent to list attack paths.
Valid formats:
`organizations/{organization}`,
`organizations/{organization}/simulations/{simulation}`
`organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}`
`organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}`
Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getParent | php | googleapis/google-cloud-php | SecurityCenter/src/V2/ListAttackPathsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V2/ListAttackPathsRequest.php | Apache-2.0 |
public function setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | Required. Name of parent to list attack paths.
Valid formats:
`organizations/{organization}`,
`organizations/{organization}/simulations/{simulation}`
`organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}`
`organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}`
Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setParent | php | googleapis/google-cloud-php | SecurityCenter/src/V2/ListAttackPathsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V2/ListAttackPathsRequest.php | Apache-2.0 |
public function getFilter()
{
return $this->filter;
} | The filter expression that filters the attack path in the response.
Supported fields:
* `valued_resources` supports =
Generated from protobuf field <code>string filter = 2;</code>
@return string | getFilter | php | googleapis/google-cloud-php | SecurityCenter/src/V2/ListAttackPathsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V2/ListAttackPathsRequest.php | Apache-2.0 |
public function setFilter($var)
{
GPBUtil::checkString($var, True);
$this->filter = $var;
return $this;
} | The filter expression that filters the attack path in the response.
Supported fields:
* `valued_resources` supports =
Generated from protobuf field <code>string filter = 2;</code>
@param string $var
@return $this | setFilter | php | googleapis/google-cloud-php | SecurityCenter/src/V2/ListAttackPathsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V2/ListAttackPathsRequest.php | Apache-2.0 |
public function getPageToken()
{
return $this->page_token;
} | The value returned by the last `ListAttackPathsResponse`; indicates
that this is a continuation of a prior `ListAttackPaths` call, and
that the system should return the next page of data.
Generated from protobuf field <code>string page_token = 3;</code>
@return string | getPageToken | php | googleapis/google-cloud-php | SecurityCenter/src/V2/ListAttackPathsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V2/ListAttackPathsRequest.php | Apache-2.0 |
public function setPageToken($var)
{
GPBUtil::checkString($var, True);
$this->page_token = $var;
return $this;
} | The value returned by the last `ListAttackPathsResponse`; indicates
that this is a continuation of a prior `ListAttackPaths` call, and
that the system should return the next page of data.
Generated from protobuf field <code>string page_token = 3;</code>
@param string $var
@return $this | setPageToken | php | googleapis/google-cloud-php | SecurityCenter/src/V2/ListAttackPathsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V2/ListAttackPathsRequest.php | Apache-2.0 |
public function getPageSize()
{
return $this->page_size;
} | The maximum number of results to return in a single response. Default is
10, minimum is 1, maximum is 1000.
Generated from protobuf field <code>int32 page_size = 4;</code>
@return int | getPageSize | php | googleapis/google-cloud-php | SecurityCenter/src/V2/ListAttackPathsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V2/ListAttackPathsRequest.php | Apache-2.0 |
public function setPageSize($var)
{
GPBUtil::checkInt32($var);
$this->page_size = $var;
return $this;
} | The maximum number of results to return in a single response. Default is
10, minimum is 1, maximum is 1000.
Generated from protobuf field <code>int32 page_size = 4;</code>
@param int $var
@return $this | setPageSize | php | googleapis/google-cloud-php | SecurityCenter/src/V2/ListAttackPathsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V2/ListAttackPathsRequest.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Output only. The unique identifier of this event handler.
Generated from protobuf field <code>string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getName | php | googleapis/google-cloud-php | DialogflowCx/src/V3/EventHandler.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/EventHandler.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Output only. The unique identifier of this event handler.
Generated from protobuf field <code>string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | DialogflowCx/src/V3/EventHandler.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/EventHandler.php | Apache-2.0 |
public function getEvent()
{
return $this->event;
} | Required. The name of the event to handle.
Generated from protobuf field <code>string event = 4 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getEvent | php | googleapis/google-cloud-php | DialogflowCx/src/V3/EventHandler.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/EventHandler.php | Apache-2.0 |
public function setEvent($var)
{
GPBUtil::checkString($var, True);
$this->event = $var;
return $this;
} | Required. The name of the event to handle.
Generated from protobuf field <code>string event = 4 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setEvent | php | googleapis/google-cloud-php | DialogflowCx/src/V3/EventHandler.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/EventHandler.php | Apache-2.0 |
public function getTriggerFulfillment()
{
return $this->trigger_fulfillment;
} | The fulfillment to call when the event occurs.
Handling webhook errors with a fulfillment enabled with webhook could
cause infinite loop. It is invalid to specify such fulfillment for a
handler handling webhooks.
Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.Fulfillment trigger_fulfillment = 5;</code>
@return \Google\Cloud\Dialogflow\Cx\V3\Fulfillment|null | getTriggerFulfillment | php | googleapis/google-cloud-php | DialogflowCx/src/V3/EventHandler.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/EventHandler.php | Apache-2.0 |
public function setTriggerFulfillment($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\Cx\V3\Fulfillment::class);
$this->trigger_fulfillment = $var;
return $this;
} | The fulfillment to call when the event occurs.
Handling webhook errors with a fulfillment enabled with webhook could
cause infinite loop. It is invalid to specify such fulfillment for a
handler handling webhooks.
Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.Fulfillment trigger_fulfillment = 5;</code>
@param \Google\Cloud\Dialogflow\Cx\V3\Fulfillment $var
@return $this | setTriggerFulfillment | php | googleapis/google-cloud-php | DialogflowCx/src/V3/EventHandler.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/EventHandler.php | Apache-2.0 |
public function getTargetPage()
{
return $this->readOneof(2);
} | The target page to transition to.
Format:
`projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
Generated from protobuf field <code>string target_page = 2 [(.google.api.resource_reference) = {</code>
@return string | getTargetPage | php | googleapis/google-cloud-php | DialogflowCx/src/V3/EventHandler.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/EventHandler.php | Apache-2.0 |
public function setTargetPage($var)
{
GPBUtil::checkString($var, True);
$this->writeOneof(2, $var);
return $this;
} | The target page to transition to.
Format:
`projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
Generated from protobuf field <code>string target_page = 2 [(.google.api.resource_reference) = {</code>
@param string $var
@return $this | setTargetPage | php | googleapis/google-cloud-php | DialogflowCx/src/V3/EventHandler.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/EventHandler.php | Apache-2.0 |
public function getTargetFlow()
{
return $this->readOneof(3);
} | The target flow to transition to.
Format:
`projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
Generated from protobuf field <code>string target_flow = 3 [(.google.api.resource_reference) = {</code>
@return string | getTargetFlow | php | googleapis/google-cloud-php | DialogflowCx/src/V3/EventHandler.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/EventHandler.php | Apache-2.0 |
public function setTargetFlow($var)
{
GPBUtil::checkString($var, True);
$this->writeOneof(3, $var);
return $this;
} | The target flow to transition to.
Format:
`projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
Generated from protobuf field <code>string target_flow = 3 [(.google.api.resource_reference) = {</code>
@param string $var
@return $this | setTargetFlow | php | googleapis/google-cloud-php | DialogflowCx/src/V3/EventHandler.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/EventHandler.php | Apache-2.0 |
public function getBuilderConfig()
{
return $this->builder_config;
} | required
Generated from protobuf field <code>.grafeas.v1.BuilderConfig builder_config = 1;</code>
@return \Grafeas\V1\BuilderConfig|null | getBuilderConfig | php | googleapis/google-cloud-php | Grafeas/src/V1/InTotoProvenance.php | https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/InTotoProvenance.php | Apache-2.0 |
public function setBuilderConfig($var)
{
GPBUtil::checkMessage($var, \Grafeas\V1\BuilderConfig::class);
$this->builder_config = $var;
return $this;
} | required
Generated from protobuf field <code>.grafeas.v1.BuilderConfig builder_config = 1;</code>
@param \Grafeas\V1\BuilderConfig $var
@return $this | setBuilderConfig | php | googleapis/google-cloud-php | Grafeas/src/V1/InTotoProvenance.php | https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/InTotoProvenance.php | Apache-2.0 |
public function getRecipe()
{
return $this->recipe;
} | Identifies the configuration used for the build.
When combined with materials, this SHOULD fully describe the build,
such that re-running this recipe results in bit-for-bit identical output
(if the build is reproducible).
Generated from protobuf field <code>.grafeas.v1.Recipe recipe = 2;</code>
@return \Grafeas\V1\Recipe|null | getRecipe | php | googleapis/google-cloud-php | Grafeas/src/V1/InTotoProvenance.php | https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/InTotoProvenance.php | Apache-2.0 |
public function setRecipe($var)
{
GPBUtil::checkMessage($var, \Grafeas\V1\Recipe::class);
$this->recipe = $var;
return $this;
} | Identifies the configuration used for the build.
When combined with materials, this SHOULD fully describe the build,
such that re-running this recipe results in bit-for-bit identical output
(if the build is reproducible).
Generated from protobuf field <code>.grafeas.v1.Recipe recipe = 2;</code>
@param \Grafeas\V1\Recipe $var
@return $this | setRecipe | php | googleapis/google-cloud-php | Grafeas/src/V1/InTotoProvenance.php | https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/InTotoProvenance.php | Apache-2.0 |
public function getMetadata()
{
return $this->metadata;
} | Generated from protobuf field <code>.grafeas.v1.Metadata metadata = 3;</code>
@return \Grafeas\V1\Metadata|null | getMetadata | php | googleapis/google-cloud-php | Grafeas/src/V1/InTotoProvenance.php | https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/InTotoProvenance.php | Apache-2.0 |
public function setMetadata($var)
{
GPBUtil::checkMessage($var, \Grafeas\V1\Metadata::class);
$this->metadata = $var;
return $this;
} | Generated from protobuf field <code>.grafeas.v1.Metadata metadata = 3;</code>
@param \Grafeas\V1\Metadata $var
@return $this | setMetadata | php | googleapis/google-cloud-php | Grafeas/src/V1/InTotoProvenance.php | https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/InTotoProvenance.php | Apache-2.0 |
public function getMaterials()
{
return $this->materials;
} | The collection of artifacts that influenced the build including sources,
dependencies, build tools, base images, and so on. This is considered to be
incomplete unless metadata.completeness.materials is true. Unset or null is
equivalent to empty.
Generated from protobuf field <code>repeated string materials = 4;</code>
@return \Google\Protobuf\Internal\RepeatedField | getMaterials | php | googleapis/google-cloud-php | Grafeas/src/V1/InTotoProvenance.php | https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/InTotoProvenance.php | Apache-2.0 |
public function setMaterials($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->materials = $arr;
return $this;
} | The collection of artifacts that influenced the build including sources,
dependencies, build tools, base images, and so on. This is considered to be
incomplete unless metadata.completeness.materials is true. Unset or null is
equivalent to empty.
Generated from protobuf field <code>repeated string materials = 4;</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setMaterials | php | googleapis/google-cloud-php | Grafeas/src/V1/InTotoProvenance.php | https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/InTotoProvenance.php | Apache-2.0 |
public function getParent()
{
return $this->parent;
} | Required. Resource name of the SKU group.
Format: accounts/{account}/skuGroups/{sku_group}.
Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getParent | php | googleapis/google-cloud-php | Channel/src/V1/ListSkuGroupBillableSkusRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ListSkuGroupBillableSkusRequest.php | Apache-2.0 |
public function setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | Required. Resource name of the SKU group.
Format: accounts/{account}/skuGroups/{sku_group}.
Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setParent | php | googleapis/google-cloud-php | Channel/src/V1/ListSkuGroupBillableSkusRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ListSkuGroupBillableSkusRequest.php | Apache-2.0 |
public function getPageSize()
{
return $this->page_size;
} | Optional. The maximum number of SKUs to return. The service may return
fewer than this value. If unspecified, returns a maximum of 100000 SKUs.
The maximum value is 100000; values above 100000 will be coerced to 100000.
Generated from protobuf field <code>int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@return int | getPageSize | php | googleapis/google-cloud-php | Channel/src/V1/ListSkuGroupBillableSkusRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ListSkuGroupBillableSkusRequest.php | Apache-2.0 |
public function setPageSize($var)
{
GPBUtil::checkInt32($var);
$this->page_size = $var;
return $this;
} | Optional. The maximum number of SKUs to return. The service may return
fewer than this value. If unspecified, returns a maximum of 100000 SKUs.
The maximum value is 100000; values above 100000 will be coerced to 100000.
Generated from protobuf field <code>int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@param int $var
@return $this | setPageSize | php | googleapis/google-cloud-php | Channel/src/V1/ListSkuGroupBillableSkusRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ListSkuGroupBillableSkusRequest.php | Apache-2.0 |
public function getPageToken()
{
return $this->page_token;
} | Optional. A token identifying a page of results beyond the first page.
Obtained through
[ListSkuGroupBillableSkus.next_page_token][] of the previous
[CloudChannelService.ListSkuGroupBillableSkus][google.cloud.channel.v1.CloudChannelService.ListSkuGroupBillableSkus]
call.
Generated from protobuf field <code>string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getPageToken | php | googleapis/google-cloud-php | Channel/src/V1/ListSkuGroupBillableSkusRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ListSkuGroupBillableSkusRequest.php | Apache-2.0 |
public function setPageToken($var)
{
GPBUtil::checkString($var, True);
$this->page_token = $var;
return $this;
} | Optional. A token identifying a page of results beyond the first page.
Obtained through
[ListSkuGroupBillableSkus.next_page_token][] of the previous
[CloudChannelService.ListSkuGroupBillableSkus][google.cloud.channel.v1.CloudChannelService.ListSkuGroupBillableSkus]
call.
Generated from protobuf field <code>string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setPageToken | php | googleapis/google-cloud-php | Channel/src/V1/ListSkuGroupBillableSkusRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ListSkuGroupBillableSkusRequest.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Output only. The name of the live session, in the form of
`projects/{project}/locations/{location}/liveSessions/{id}`.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getName | php | googleapis/google-cloud-php | VideoStitcher/src/V1/LiveSession.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/LiveSession.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Output only. The name of the live session, in the form of
`projects/{project}/locations/{location}/liveSessions/{id}`.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | VideoStitcher/src/V1/LiveSession.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/LiveSession.php | Apache-2.0 |
public function getPlayUri()
{
return $this->play_uri;
} | Output only. The URI to play the live session's ad-stitched stream.
Generated from protobuf field <code>string play_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getPlayUri | php | googleapis/google-cloud-php | VideoStitcher/src/V1/LiveSession.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/LiveSession.php | Apache-2.0 |
public function setPlayUri($var)
{
GPBUtil::checkString($var, True);
$this->play_uri = $var;
return $this;
} | Output only. The URI to play the live session's ad-stitched stream.
Generated from protobuf field <code>string play_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setPlayUri | php | googleapis/google-cloud-php | VideoStitcher/src/V1/LiveSession.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/LiveSession.php | Apache-2.0 |
public function getAdTagMacros()
{
return $this->ad_tag_macros;
} | Key value pairs for ad tag macro replacement, only available for live
sessions that do not implement Google Ad manager ad insertion. If the
specified ad tag URI has macros, this field provides the mapping to the
value that will replace the macro in the ad tag URI.
Macros are designated by square brackets, for example:
Ad tag URI: "https://doubleclick.google.com/ad/1?geo_id=[geoId]"
Ad tag macros: `{"geoId": "123"}`
Fully qualified ad tag:
`"https://doubleclick.google.com/ad/1?geo_id=123"`
Generated from protobuf field <code>map<string, string> ad_tag_macros = 6;</code>
@return \Google\Protobuf\Internal\MapField | getAdTagMacros | php | googleapis/google-cloud-php | VideoStitcher/src/V1/LiveSession.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/LiveSession.php | Apache-2.0 |
public function setAdTagMacros($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
$this->ad_tag_macros = $arr;
return $this;
} | Key value pairs for ad tag macro replacement, only available for live
sessions that do not implement Google Ad manager ad insertion. If the
specified ad tag URI has macros, this field provides the mapping to the
value that will replace the macro in the ad tag URI.
Macros are designated by square brackets, for example:
Ad tag URI: "https://doubleclick.google.com/ad/1?geo_id=[geoId]"
Ad tag macros: `{"geoId": "123"}`
Fully qualified ad tag:
`"https://doubleclick.google.com/ad/1?geo_id=123"`
Generated from protobuf field <code>map<string, string> ad_tag_macros = 6;</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this | setAdTagMacros | php | googleapis/google-cloud-php | VideoStitcher/src/V1/LiveSession.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/LiveSession.php | Apache-2.0 |
public function getManifestOptions()
{
return $this->manifest_options;
} | Additional options that affect the output of the manifest.
Generated from protobuf field <code>.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 10;</code>
@return \Google\Cloud\Video\Stitcher\V1\ManifestOptions|null | getManifestOptions | php | googleapis/google-cloud-php | VideoStitcher/src/V1/LiveSession.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/LiveSession.php | Apache-2.0 |
public function setManifestOptions($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Video\Stitcher\V1\ManifestOptions::class);
$this->manifest_options = $var;
return $this;
} | Additional options that affect the output of the manifest.
Generated from protobuf field <code>.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 10;</code>
@param \Google\Cloud\Video\Stitcher\V1\ManifestOptions $var
@return $this | setManifestOptions | php | googleapis/google-cloud-php | VideoStitcher/src/V1/LiveSession.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/LiveSession.php | Apache-2.0 |
public function getGamSettings()
{
return $this->gam_settings;
} | This field should be set with appropriate values if GAM is being used for
ads.
Generated from protobuf field <code>.google.cloud.video.stitcher.v1.LiveSession.GamSettings gam_settings = 15;</code>
@return \Google\Cloud\Video\Stitcher\V1\LiveSession\GamSettings|null | getGamSettings | php | googleapis/google-cloud-php | VideoStitcher/src/V1/LiveSession.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/LiveSession.php | Apache-2.0 |
public function setGamSettings($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Video\Stitcher\V1\LiveSession\GamSettings::class);
$this->gam_settings = $var;
return $this;
} | This field should be set with appropriate values if GAM is being used for
ads.
Generated from protobuf field <code>.google.cloud.video.stitcher.v1.LiveSession.GamSettings gam_settings = 15;</code>
@param \Google\Cloud\Video\Stitcher\V1\LiveSession\GamSettings $var
@return $this | setGamSettings | php | googleapis/google-cloud-php | VideoStitcher/src/V1/LiveSession.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/LiveSession.php | Apache-2.0 |
public function getLiveConfig()
{
return $this->live_config;
} | Required. The resource name of the live config for this session, in the
form of `projects/{project}/locations/{location}/liveConfigs/{id}`.
Generated from protobuf field <code>string live_config = 16 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getLiveConfig | php | googleapis/google-cloud-php | VideoStitcher/src/V1/LiveSession.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/LiveSession.php | Apache-2.0 |
public function setLiveConfig($var)
{
GPBUtil::checkString($var, True);
$this->live_config = $var;
return $this;
} | Required. The resource name of the live config for this session, in the
form of `projects/{project}/locations/{location}/liveConfigs/{id}`.
Generated from protobuf field <code>string live_config = 16 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setLiveConfig | php | googleapis/google-cloud-php | VideoStitcher/src/V1/LiveSession.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/LiveSession.php | Apache-2.0 |
public function getAdTracking()
{
return $this->ad_tracking;
} | Determines how the ad should be tracked. This overrides the value set in
the live config for this session.
Generated from protobuf field <code>.google.cloud.video.stitcher.v1.AdTracking ad_tracking = 17;</code>
@return int | getAdTracking | php | googleapis/google-cloud-php | VideoStitcher/src/V1/LiveSession.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/LiveSession.php | Apache-2.0 |
public function setAdTracking($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Video\Stitcher\V1\AdTracking::class);
$this->ad_tracking = $var;
return $this;
} | Determines how the ad should be tracked. This overrides the value set in
the live config for this session.
Generated from protobuf field <code>.google.cloud.video.stitcher.v1.AdTracking ad_tracking = 17;</code>
@param int $var
@return $this | setAdTracking | php | googleapis/google-cloud-php | VideoStitcher/src/V1/LiveSession.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/LiveSession.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. Resource name of the Memcached instance for which the parameters should be
updated.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getName | php | googleapis/google-cloud-php | Memcache/src/V1/UpdateParametersRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Memcache/src/V1/UpdateParametersRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. Resource name of the Memcached instance for which the parameters should be
updated.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | Memcache/src/V1/UpdateParametersRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Memcache/src/V1/UpdateParametersRequest.php | Apache-2.0 |
public function getUpdateMask()
{
return $this->update_mask;
} | Required. Mask of fields to update.
Generated from protobuf field <code>.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Protobuf\FieldMask|null | getUpdateMask | php | googleapis/google-cloud-php | Memcache/src/V1/UpdateParametersRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Memcache/src/V1/UpdateParametersRequest.php | Apache-2.0 |
public function setUpdateMask($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
$this->update_mask = $var;
return $this;
} | Required. Mask of fields to update.
Generated from protobuf field <code>.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Protobuf\FieldMask $var
@return $this | setUpdateMask | php | googleapis/google-cloud-php | Memcache/src/V1/UpdateParametersRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Memcache/src/V1/UpdateParametersRequest.php | Apache-2.0 |
public function getParameters()
{
return $this->parameters;
} | The parameters to apply to the instance.
Generated from protobuf field <code>.google.cloud.memcache.v1.MemcacheParameters parameters = 3;</code>
@return \Google\Cloud\Memcache\V1\MemcacheParameters|null | getParameters | php | googleapis/google-cloud-php | Memcache/src/V1/UpdateParametersRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Memcache/src/V1/UpdateParametersRequest.php | Apache-2.0 |
public function setParameters($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Memcache\V1\MemcacheParameters::class);
$this->parameters = $var;
return $this;
} | The parameters to apply to the instance.
Generated from protobuf field <code>.google.cloud.memcache.v1.MemcacheParameters parameters = 3;</code>
@param \Google\Cloud\Memcache\V1\MemcacheParameters $var
@return $this | setParameters | php | googleapis/google-cloud-php | Memcache/src/V1/UpdateParametersRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Memcache/src/V1/UpdateParametersRequest.php | Apache-2.0 |
public function getTransformedBytes()
{
return $this->transformed_bytes;
} | Total size in bytes that were transformed in some way.
Generated from protobuf field <code>int64 transformed_bytes = 1;</code>
@return int|string | getTransformedBytes | php | googleapis/google-cloud-php | Dlp/src/V2/DeidentifyDataSourceStats.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/DeidentifyDataSourceStats.php | Apache-2.0 |
public function setTransformedBytes($var)
{
GPBUtil::checkInt64($var);
$this->transformed_bytes = $var;
return $this;
} | Total size in bytes that were transformed in some way.
Generated from protobuf field <code>int64 transformed_bytes = 1;</code>
@param int|string $var
@return $this | setTransformedBytes | php | googleapis/google-cloud-php | Dlp/src/V2/DeidentifyDataSourceStats.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/DeidentifyDataSourceStats.php | Apache-2.0 |
public function getTransformationCount()
{
return $this->transformation_count;
} | Number of successfully applied transformations.
Generated from protobuf field <code>int64 transformation_count = 2;</code>
@return int|string | getTransformationCount | php | googleapis/google-cloud-php | Dlp/src/V2/DeidentifyDataSourceStats.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/DeidentifyDataSourceStats.php | Apache-2.0 |
public function setTransformationCount($var)
{
GPBUtil::checkInt64($var);
$this->transformation_count = $var;
return $this;
} | Number of successfully applied transformations.
Generated from protobuf field <code>int64 transformation_count = 2;</code>
@param int|string $var
@return $this | setTransformationCount | php | googleapis/google-cloud-php | Dlp/src/V2/DeidentifyDataSourceStats.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/DeidentifyDataSourceStats.php | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.