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 setRequestId($var)
{
GPBUtil::checkString($var, True);
$this->request_id = $var;
return $this;
} | Optional. A 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 guarantees that a
request doesn't result in creation of duplicate commitments for at least 60
minutes.
For example, consider a situation where you make an initial request and the
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 = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setRequestId | php | googleapis/google-cloud-php | VmwareEngine/src/V1/CreateVmwareEngineNetworkRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VmwareEngine/src/V1/CreateVmwareEngineNetworkRequest.php | Apache-2.0 |
public function getIngressBps()
{
return $this->ingress_bps;
} | Network ingress in B/s.
Generated from protobuf field <code>.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats ingress_bps = 1;</code>
@return \Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Stats|null | getIngressBps | php | googleapis/google-cloud-php | MigrationCenter/src/V1/DailyResourceUsageAggregation/Network.php | https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/DailyResourceUsageAggregation/Network.php | Apache-2.0 |
public function setIngressBps($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Stats::class);
$this->ingress_bps = $var;
return $this;
} | Network ingress in B/s.
Generated from protobuf field <code>.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats ingress_bps = 1;</code>
@param \Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Stats $var
@return $this | setIngressBps | php | googleapis/google-cloud-php | MigrationCenter/src/V1/DailyResourceUsageAggregation/Network.php | https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/DailyResourceUsageAggregation/Network.php | Apache-2.0 |
public function getEgressBps()
{
return $this->egress_bps;
} | Network egress in B/s.
Generated from protobuf field <code>.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats egress_bps = 2;</code>
@return \Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Stats|null | getEgressBps | php | googleapis/google-cloud-php | MigrationCenter/src/V1/DailyResourceUsageAggregation/Network.php | https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/DailyResourceUsageAggregation/Network.php | Apache-2.0 |
public function setEgressBps($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Stats::class);
$this->egress_bps = $var;
return $this;
} | Network egress in B/s.
Generated from protobuf field <code>.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats egress_bps = 2;</code>
@param \Google\Cloud\MigrationCenter\V1\DailyResourceUsageAggregation\Stats $var
@return $this | setEgressBps | php | googleapis/google-cloud-php | MigrationCenter/src/V1/DailyResourceUsageAggregation/Network.php | https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/DailyResourceUsageAggregation/Network.php | Apache-2.0 |
public function getServices()
{
return $this->services;
} | The new state of the services after enabling.
Generated from protobuf field <code>repeated .google.api.serviceusage.v1.Service services = 1;</code>
@return \Google\Protobuf\Internal\RepeatedField | getServices | php | googleapis/google-cloud-php | ServiceUsage/src/V1/BatchEnableServicesResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/ServiceUsage/src/V1/BatchEnableServicesResponse.php | Apache-2.0 |
public function setServices($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\ServiceUsage\V1\Service::class);
$this->services = $arr;
return $this;
} | The new state of the services after enabling.
Generated from protobuf field <code>repeated .google.api.serviceusage.v1.Service services = 1;</code>
@param array<\Google\Cloud\ServiceUsage\V1\Service>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setServices | php | googleapis/google-cloud-php | ServiceUsage/src/V1/BatchEnableServicesResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/ServiceUsage/src/V1/BatchEnableServicesResponse.php | Apache-2.0 |
public function getFailures()
{
return $this->failures;
} | If allow_partial_success is true, and one or more services could not be
enabled, this field contains the details about each failure.
Generated from protobuf field <code>repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;</code>
@return \Google\Protobuf\Internal\RepeatedField | getFailures | php | googleapis/google-cloud-php | ServiceUsage/src/V1/BatchEnableServicesResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/ServiceUsage/src/V1/BatchEnableServicesResponse.php | Apache-2.0 |
public function setFailures($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\ServiceUsage\V1\BatchEnableServicesResponse\EnableFailure::class);
$this->failures = $arr;
return $this;
} | If allow_partial_success is true, and one or more services could not be
enabled, this field contains the details about each failure.
Generated from protobuf field <code>repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;</code>
@param array<\Google\Cloud\ServiceUsage\V1\BatchEnableServicesResponse\EnableFailure>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setFailures | php | googleapis/google-cloud-php | ServiceUsage/src/V1/BatchEnableServicesResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/ServiceUsage/src/V1/BatchEnableServicesResponse.php | Apache-2.0 |
public function getQuerySuggestions()
{
return $this->query_suggestions;
} | Results of the matched query suggestions. The result list is ordered and
the first result is a top suggestion.
Generated from protobuf field <code>repeated .google.cloud.discoveryengine.v1.CompleteQueryResponse.QuerySuggestion query_suggestions = 1;</code>
@return \Google\Protobuf\Internal\RepeatedField | getQuerySuggestions | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/CompleteQueryResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/CompleteQueryResponse.php | Apache-2.0 |
public function setQuerySuggestions($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\DiscoveryEngine\V1\CompleteQueryResponse\QuerySuggestion::class);
$this->query_suggestions = $arr;
return $this;
} | Results of the matched query suggestions. The result list is ordered and
the first result is a top suggestion.
Generated from protobuf field <code>repeated .google.cloud.discoveryengine.v1.CompleteQueryResponse.QuerySuggestion query_suggestions = 1;</code>
@param array<\Google\Cloud\DiscoveryEngine\V1\CompleteQueryResponse\QuerySuggestion>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setQuerySuggestions | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/CompleteQueryResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/CompleteQueryResponse.php | Apache-2.0 |
public function getTailMatchTriggered()
{
return $this->tail_match_triggered;
} | True if the returned suggestions are all tail suggestions.
For tail matching to be triggered, include_tail_suggestions in the request
must be true and there must be no suggestions that match the full query.
Generated from protobuf field <code>bool tail_match_triggered = 2;</code>
@return bool | getTailMatchTriggered | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/CompleteQueryResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/CompleteQueryResponse.php | Apache-2.0 |
public function setTailMatchTriggered($var)
{
GPBUtil::checkBool($var);
$this->tail_match_triggered = $var;
return $this;
} | True if the returned suggestions are all tail suggestions.
For tail matching to be triggered, include_tail_suggestions in the request
must be true and there must be no suggestions that match the full query.
Generated from protobuf field <code>bool tail_match_triggered = 2;</code>
@param bool $var
@return $this | setTailMatchTriggered | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/CompleteQueryResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/CompleteQueryResponse.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. A resource name in the format `tagKeys/{id}`, such as
`tagKeys/123`.
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 | ResourceManager/src/V3/GetTagKeyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ResourceManager/src/V3/GetTagKeyRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. A resource name in the format `tagKeys/{id}`, such as
`tagKeys/123`.
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 | ResourceManager/src/V3/GetTagKeyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ResourceManager/src/V3/GetTagKeyRequest.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | The name of the stitch detail in the specified VOD session, in the form of
`projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodStitchDetails/{id}`.
Generated from protobuf field <code>string name = 1;</code>
@return string | getName | php | googleapis/google-cloud-php | VideoStitcher/src/V1/VodStitchDetail.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/VodStitchDetail.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | The name of the stitch detail in the specified VOD session, in the form of
`projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodStitchDetails/{id}`.
Generated from protobuf field <code>string name = 1;</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | VideoStitcher/src/V1/VodStitchDetail.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/VodStitchDetail.php | Apache-2.0 |
public function getAdStitchDetails()
{
return $this->ad_stitch_details;
} | A list of ad processing details for the fetched ad playlist.
Generated from protobuf field <code>repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;</code>
@return \Google\Protobuf\Internal\RepeatedField | getAdStitchDetails | php | googleapis/google-cloud-php | VideoStitcher/src/V1/VodStitchDetail.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/VodStitchDetail.php | Apache-2.0 |
public function setAdStitchDetails($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Video\Stitcher\V1\AdStitchDetail::class);
$this->ad_stitch_details = $arr;
return $this;
} | A list of ad processing details for the fetched ad playlist.
Generated from protobuf field <code>repeated .google.cloud.video.stitcher.v1.AdStitchDetail ad_stitch_details = 3;</code>
@param array<\Google\Cloud\Video\Stitcher\V1\AdStitchDetail>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setAdStitchDetails | php | googleapis/google-cloud-php | VideoStitcher/src/V1/VodStitchDetail.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/VodStitchDetail.php | Apache-2.0 |
public function getHostUri()
{
return $this->host_uri;
} | Required. The URI of the GitHub Enterprise host this connection is for.
Generated from protobuf field <code>string host_uri = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getHostUri | php | googleapis/google-cloud-php | Build/src/V2/GitHubEnterpriseConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Build/src/V2/GitHubEnterpriseConfig.php | Apache-2.0 |
public function setHostUri($var)
{
GPBUtil::checkString($var, True);
$this->host_uri = $var;
return $this;
} | Required. The URI of the GitHub Enterprise host this connection is for.
Generated from protobuf field <code>string host_uri = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setHostUri | php | googleapis/google-cloud-php | Build/src/V2/GitHubEnterpriseConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Build/src/V2/GitHubEnterpriseConfig.php | Apache-2.0 |
public function getApiKey()
{
return $this->api_key;
} | Required. API Key used for authentication of webhook events.
Generated from protobuf field <code>string api_key = 12 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getApiKey | php | googleapis/google-cloud-php | Build/src/V2/GitHubEnterpriseConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Build/src/V2/GitHubEnterpriseConfig.php | Apache-2.0 |
public function setApiKey($var)
{
GPBUtil::checkString($var, True);
$this->api_key = $var;
return $this;
} | Required. API Key used for authentication of webhook events.
Generated from protobuf field <code>string api_key = 12 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setApiKey | php | googleapis/google-cloud-php | Build/src/V2/GitHubEnterpriseConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Build/src/V2/GitHubEnterpriseConfig.php | Apache-2.0 |
public function getAppId()
{
return $this->app_id;
} | Id of the GitHub App created from the manifest.
Generated from protobuf field <code>int64 app_id = 2;</code>
@return int|string | getAppId | php | googleapis/google-cloud-php | Build/src/V2/GitHubEnterpriseConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Build/src/V2/GitHubEnterpriseConfig.php | Apache-2.0 |
public function setAppId($var)
{
GPBUtil::checkInt64($var);
$this->app_id = $var;
return $this;
} | Id of the GitHub App created from the manifest.
Generated from protobuf field <code>int64 app_id = 2;</code>
@param int|string $var
@return $this | setAppId | php | googleapis/google-cloud-php | Build/src/V2/GitHubEnterpriseConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Build/src/V2/GitHubEnterpriseConfig.php | Apache-2.0 |
public function getAppSlug()
{
return $this->app_slug;
} | The URL-friendly name of the GitHub App.
Generated from protobuf field <code>string app_slug = 13;</code>
@return string | getAppSlug | php | googleapis/google-cloud-php | Build/src/V2/GitHubEnterpriseConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Build/src/V2/GitHubEnterpriseConfig.php | Apache-2.0 |
public function setAppSlug($var)
{
GPBUtil::checkString($var, True);
$this->app_slug = $var;
return $this;
} | The URL-friendly name of the GitHub App.
Generated from protobuf field <code>string app_slug = 13;</code>
@param string $var
@return $this | setAppSlug | php | googleapis/google-cloud-php | Build/src/V2/GitHubEnterpriseConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Build/src/V2/GitHubEnterpriseConfig.php | Apache-2.0 |
public function getPrivateKeySecretVersion()
{
return $this->private_key_secret_version;
} | SecretManager resource containing the private key of the GitHub App,
formatted as `projects/*/secrets/*/versions/*`.
Generated from protobuf field <code>string private_key_secret_version = 4 [(.google.api.resource_reference) = {</code>
@return string | getPrivateKeySecretVersion | php | googleapis/google-cloud-php | Build/src/V2/GitHubEnterpriseConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Build/src/V2/GitHubEnterpriseConfig.php | Apache-2.0 |
public function setPrivateKeySecretVersion($var)
{
GPBUtil::checkString($var, True);
$this->private_key_secret_version = $var;
return $this;
} | SecretManager resource containing the private key of the GitHub App,
formatted as `projects/*/secrets/*/versions/*`.
Generated from protobuf field <code>string private_key_secret_version = 4 [(.google.api.resource_reference) = {</code>
@param string $var
@return $this | setPrivateKeySecretVersion | php | googleapis/google-cloud-php | Build/src/V2/GitHubEnterpriseConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Build/src/V2/GitHubEnterpriseConfig.php | Apache-2.0 |
public function getWebhookSecretSecretVersion()
{
return $this->webhook_secret_secret_version;
} | SecretManager resource containing the webhook secret of the GitHub App,
formatted as `projects/*/secrets/*/versions/*`.
Generated from protobuf field <code>string webhook_secret_secret_version = 5 [(.google.api.resource_reference) = {</code>
@return string | getWebhookSecretSecretVersion | php | googleapis/google-cloud-php | Build/src/V2/GitHubEnterpriseConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Build/src/V2/GitHubEnterpriseConfig.php | Apache-2.0 |
public function setWebhookSecretSecretVersion($var)
{
GPBUtil::checkString($var, True);
$this->webhook_secret_secret_version = $var;
return $this;
} | SecretManager resource containing the webhook secret of the GitHub App,
formatted as `projects/*/secrets/*/versions/*`.
Generated from protobuf field <code>string webhook_secret_secret_version = 5 [(.google.api.resource_reference) = {</code>
@param string $var
@return $this | setWebhookSecretSecretVersion | php | googleapis/google-cloud-php | Build/src/V2/GitHubEnterpriseConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Build/src/V2/GitHubEnterpriseConfig.php | Apache-2.0 |
public function getAppInstallationId()
{
return $this->app_installation_id;
} | ID of the installation of the GitHub App.
Generated from protobuf field <code>int64 app_installation_id = 9;</code>
@return int|string | getAppInstallationId | php | googleapis/google-cloud-php | Build/src/V2/GitHubEnterpriseConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Build/src/V2/GitHubEnterpriseConfig.php | Apache-2.0 |
public function setAppInstallationId($var)
{
GPBUtil::checkInt64($var);
$this->app_installation_id = $var;
return $this;
} | ID of the installation of the GitHub App.
Generated from protobuf field <code>int64 app_installation_id = 9;</code>
@param int|string $var
@return $this | setAppInstallationId | php | googleapis/google-cloud-php | Build/src/V2/GitHubEnterpriseConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Build/src/V2/GitHubEnterpriseConfig.php | Apache-2.0 |
public function getServiceDirectoryConfig()
{
return $this->service_directory_config;
} | Configuration for using Service Directory to privately connect to a GitHub
Enterprise server. This should only be set if the GitHub Enterprise server
is hosted on-premises and not reachable by public internet. If this field
is left empty, calls to the GitHub Enterprise server will be made over the
public internet.
Generated from protobuf field <code>.google.devtools.cloudbuild.v2.ServiceDirectoryConfig service_directory_config = 10;</code>
@return \Google\Cloud\Build\V2\ServiceDirectoryConfig|null | getServiceDirectoryConfig | php | googleapis/google-cloud-php | Build/src/V2/GitHubEnterpriseConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Build/src/V2/GitHubEnterpriseConfig.php | Apache-2.0 |
public function setServiceDirectoryConfig($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Build\V2\ServiceDirectoryConfig::class);
$this->service_directory_config = $var;
return $this;
} | Configuration for using Service Directory to privately connect to a GitHub
Enterprise server. This should only be set if the GitHub Enterprise server
is hosted on-premises and not reachable by public internet. If this field
is left empty, calls to the GitHub Enterprise server will be made over the
public internet.
Generated from protobuf field <code>.google.devtools.cloudbuild.v2.ServiceDirectoryConfig service_directory_config = 10;</code>
@param \Google\Cloud\Build\V2\ServiceDirectoryConfig $var
@return $this | setServiceDirectoryConfig | php | googleapis/google-cloud-php | Build/src/V2/GitHubEnterpriseConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Build/src/V2/GitHubEnterpriseConfig.php | Apache-2.0 |
public function getSslCa()
{
return $this->ssl_ca;
} | SSL certificate to use for requests to GitHub Enterprise.
Generated from protobuf field <code>string ssl_ca = 11;</code>
@return string | getSslCa | php | googleapis/google-cloud-php | Build/src/V2/GitHubEnterpriseConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Build/src/V2/GitHubEnterpriseConfig.php | Apache-2.0 |
public function setSslCa($var)
{
GPBUtil::checkString($var, True);
$this->ssl_ca = $var;
return $this;
} | SSL certificate to use for requests to GitHub Enterprise.
Generated from protobuf field <code>string ssl_ca = 11;</code>
@param string $var
@return $this | setSslCa | php | googleapis/google-cloud-php | Build/src/V2/GitHubEnterpriseConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Build/src/V2/GitHubEnterpriseConfig.php | Apache-2.0 |
public function getServerVersion()
{
return $this->server_version;
} | Output only. GitHub Enterprise version installed at the host_uri.
Generated from protobuf field <code>string server_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getServerVersion | php | googleapis/google-cloud-php | Build/src/V2/GitHubEnterpriseConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Build/src/V2/GitHubEnterpriseConfig.php | Apache-2.0 |
public function setServerVersion($var)
{
GPBUtil::checkString($var, True);
$this->server_version = $var;
return $this;
} | Output only. GitHub Enterprise version installed at the host_uri.
Generated from protobuf field <code>string server_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setServerVersion | php | googleapis/google-cloud-php | Build/src/V2/GitHubEnterpriseConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Build/src/V2/GitHubEnterpriseConfig.php | Apache-2.0 |
public function getCode()
{
return $this->code;
} | The Authorization Code in ASCII. It can be used to transfer the domain
to or from another registrar.
Generated from protobuf field <code>string code = 1;</code>
@return string | getCode | php | googleapis/google-cloud-php | Domains/src/V1/AuthorizationCode.php | https://github.com/googleapis/google-cloud-php/blob/master/Domains/src/V1/AuthorizationCode.php | Apache-2.0 |
public function setCode($var)
{
GPBUtil::checkString($var, True);
$this->code = $var;
return $this;
} | The Authorization Code in ASCII. It can be used to transfer the domain
to or from another registrar.
Generated from protobuf field <code>string code = 1;</code>
@param string $var
@return $this | setCode | php | googleapis/google-cloud-php | Domains/src/V1/AuthorizationCode.php | https://github.com/googleapis/google-cloud-php/blob/master/Domains/src/V1/AuthorizationCode.php | Apache-2.0 |
public function getServiceAccountId()
{
return $this->service_account_id;
} | Output only. The account ID of the service created for the purpose of this
connection.
The service account does not have any permissions associated with it when
it is created. After creation, customers delegate permissions to the
service account. When the connection is used in the context of a stored
procedure for Apache Spark in BigQuery, the service account is used to
connect to the desired resources in Google Cloud.
The account ID is in the form of:
bqcx-<projectnumber>-<uniqueid>@gcp-sa-bigquery-consp.iam.gserviceaccount.com
Generated from protobuf field <code>string service_account_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getServiceAccountId | php | googleapis/google-cloud-php | BigQueryConnection/src/V1/SparkProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryConnection/src/V1/SparkProperties.php | Apache-2.0 |
public function setServiceAccountId($var)
{
GPBUtil::checkString($var, True);
$this->service_account_id = $var;
return $this;
} | Output only. The account ID of the service created for the purpose of this
connection.
The service account does not have any permissions associated with it when
it is created. After creation, customers delegate permissions to the
service account. When the connection is used in the context of a stored
procedure for Apache Spark in BigQuery, the service account is used to
connect to the desired resources in Google Cloud.
The account ID is in the form of:
bqcx-<projectnumber>-<uniqueid>@gcp-sa-bigquery-consp.iam.gserviceaccount.com
Generated from protobuf field <code>string service_account_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setServiceAccountId | php | googleapis/google-cloud-php | BigQueryConnection/src/V1/SparkProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryConnection/src/V1/SparkProperties.php | Apache-2.0 |
public function getMetastoreServiceConfig()
{
return $this->metastore_service_config;
} | Optional. Dataproc Metastore Service configuration for the connection.
Generated from protobuf field <code>.google.cloud.bigquery.connection.v1.MetastoreServiceConfig metastore_service_config = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Cloud\BigQuery\Connection\V1\MetastoreServiceConfig|null | getMetastoreServiceConfig | php | googleapis/google-cloud-php | BigQueryConnection/src/V1/SparkProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryConnection/src/V1/SparkProperties.php | Apache-2.0 |
public function setMetastoreServiceConfig($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\BigQuery\Connection\V1\MetastoreServiceConfig::class);
$this->metastore_service_config = $var;
return $this;
} | Optional. Dataproc Metastore Service configuration for the connection.
Generated from protobuf field <code>.google.cloud.bigquery.connection.v1.MetastoreServiceConfig metastore_service_config = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\BigQuery\Connection\V1\MetastoreServiceConfig $var
@return $this | setMetastoreServiceConfig | php | googleapis/google-cloud-php | BigQueryConnection/src/V1/SparkProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryConnection/src/V1/SparkProperties.php | Apache-2.0 |
public function getSparkHistoryServerConfig()
{
return $this->spark_history_server_config;
} | Optional. Spark History Server configuration for the connection.
Generated from protobuf field <code>.google.cloud.bigquery.connection.v1.SparkHistoryServerConfig spark_history_server_config = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Cloud\BigQuery\Connection\V1\SparkHistoryServerConfig|null | getSparkHistoryServerConfig | php | googleapis/google-cloud-php | BigQueryConnection/src/V1/SparkProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryConnection/src/V1/SparkProperties.php | Apache-2.0 |
public function setSparkHistoryServerConfig($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\BigQuery\Connection\V1\SparkHistoryServerConfig::class);
$this->spark_history_server_config = $var;
return $this;
} | Optional. Spark History Server configuration for the connection.
Generated from protobuf field <code>.google.cloud.bigquery.connection.v1.SparkHistoryServerConfig spark_history_server_config = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\BigQuery\Connection\V1\SparkHistoryServerConfig $var
@return $this | setSparkHistoryServerConfig | php | googleapis/google-cloud-php | BigQueryConnection/src/V1/SparkProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryConnection/src/V1/SparkProperties.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Immutable. Relative name of the cloud resource that contains the data
that is being managed within a lake. For example:
`projects/{project_number}/buckets/{bucket_id}`
`projects/{project_number}/datasets/{dataset_id}`
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = IMMUTABLE];</code>
@return string | getName | php | googleapis/google-cloud-php | Dataplex/src/V1/Asset/ResourceSpec.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/Asset/ResourceSpec.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Immutable. Relative name of the cloud resource that contains the data
that is being managed within a lake. For example:
`projects/{project_number}/buckets/{bucket_id}`
`projects/{project_number}/datasets/{dataset_id}`
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = IMMUTABLE];</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | Dataplex/src/V1/Asset/ResourceSpec.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/Asset/ResourceSpec.php | Apache-2.0 |
public function getType()
{
return $this->type;
} | Required. Immutable. Type of resource.
Generated from protobuf field <code>.google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];</code>
@return int | getType | php | googleapis/google-cloud-php | Dataplex/src/V1/Asset/ResourceSpec.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/Asset/ResourceSpec.php | Apache-2.0 |
public function setType($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Dataplex\V1\Asset\ResourceSpec\Type::class);
$this->type = $var;
return $this;
} | Required. Immutable. Type of resource.
Generated from protobuf field <code>.google.cloud.dataplex.v1.Asset.ResourceSpec.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];</code>
@param int $var
@return $this | setType | php | googleapis/google-cloud-php | Dataplex/src/V1/Asset/ResourceSpec.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/Asset/ResourceSpec.php | Apache-2.0 |
public function getReadAccessMode()
{
return $this->read_access_mode;
} | Optional. Determines how read permissions are handled for each asset and
their associated tables. Only available to storage buckets assets.
Generated from protobuf field <code>.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@return int | getReadAccessMode | php | googleapis/google-cloud-php | Dataplex/src/V1/Asset/ResourceSpec.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/Asset/ResourceSpec.php | Apache-2.0 |
public function setReadAccessMode($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Dataplex\V1\Asset\ResourceSpec\AccessMode::class);
$this->read_access_mode = $var;
return $this;
} | Optional. Determines how read permissions are handled for each asset and
their associated tables. Only available to storage buckets assets.
Generated from protobuf field <code>.google.cloud.dataplex.v1.Asset.ResourceSpec.AccessMode read_access_mode = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@param int $var
@return $this | setReadAccessMode | php | googleapis/google-cloud-php | Dataplex/src/V1/Asset/ResourceSpec.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/Asset/ResourceSpec.php | Apache-2.0 |
public function getStrValue()
{
return $this->readOneof(2);
} | String value.
Generated from protobuf field <code>string str_value = 2;</code>
@return string | getStrValue | php | googleapis/google-cloud-php | ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | Apache-2.0 |
public function setStrValue($var)
{
GPBUtil::checkString($var, True);
$this->writeOneof(2, $var);
return $this;
} | String value.
Generated from protobuf field <code>string str_value = 2;</code>
@param string $var
@return $this | setStrValue | php | googleapis/google-cloud-php | ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | Apache-2.0 |
public function getNumValue()
{
return $this->readOneof(3);
} | Numerical value.
Generated from protobuf field <code>double num_value = 3;</code>
@return float | getNumValue | php | googleapis/google-cloud-php | ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | Apache-2.0 |
public function setNumValue($var)
{
GPBUtil::checkDouble($var);
$this->writeOneof(3, $var);
return $this;
} | Numerical value.
Generated from protobuf field <code>double num_value = 3;</code>
@param float $var
@return $this | setNumValue | php | googleapis/google-cloud-php | ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | Apache-2.0 |
public function getBoolValue()
{
return $this->readOneof(4);
} | Boolean value.
Generated from protobuf field <code>bool bool_value = 4;</code>
@return bool | getBoolValue | php | googleapis/google-cloud-php | ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | Apache-2.0 |
public function setBoolValue($var)
{
GPBUtil::checkBool($var);
$this->writeOneof(4, $var);
return $this;
} | Boolean value.
Generated from protobuf field <code>bool bool_value = 4;</code>
@param bool $var
@return $this | setBoolValue | php | googleapis/google-cloud-php | ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | Apache-2.0 |
public function getNaValue()
{
return $this->readOneof(5);
} | A value of "Not Applicable (N/A)". If provided, this field may only
be set to `true`. If a question receives this answer, it will be
excluded from any score calculations.
Generated from protobuf field <code>bool na_value = 5;</code>
@return bool | getNaValue | php | googleapis/google-cloud-php | ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | Apache-2.0 |
public function setNaValue($var)
{
GPBUtil::checkBool($var);
$this->writeOneof(5, $var);
return $this;
} | A value of "Not Applicable (N/A)". If provided, this field may only
be set to `true`. If a question receives this answer, it will be
excluded from any score calculations.
Generated from protobuf field <code>bool na_value = 5;</code>
@param bool $var
@return $this | setNaValue | php | googleapis/google-cloud-php | ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | Apache-2.0 |
public function getKey()
{
return $this->key;
} | A short string used as an identifier.
Generated from protobuf field <code>string key = 1;</code>
@return string | getKey | php | googleapis/google-cloud-php | ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | Apache-2.0 |
public function setKey($var)
{
GPBUtil::checkString($var, True);
$this->key = $var;
return $this;
} | A short string used as an identifier.
Generated from protobuf field <code>string key = 1;</code>
@param string $var
@return $this | setKey | php | googleapis/google-cloud-php | ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | Apache-2.0 |
public function getScore()
{
return isset($this->score) ? $this->score : 0.0;
} | Numerical score of the answer, used for generating the overall score of
a QaScorecardResult. If the answer uses na_value, this field is unused.
Generated from protobuf field <code>optional double score = 6;</code>
@return float | getScore | php | googleapis/google-cloud-php | ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | Apache-2.0 |
public function setScore($var)
{
GPBUtil::checkDouble($var);
$this->score = $var;
return $this;
} | Numerical score of the answer, used for generating the overall score of
a QaScorecardResult. If the answer uses na_value, this field is unused.
Generated from protobuf field <code>optional double score = 6;</code>
@param float $var
@return $this | setScore | php | googleapis/google-cloud-php | ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/QaQuestion/AnswerChoice.php | Apache-2.0 |
public function getMachineTypes()
{
return $this->machine_types;
} | Optional. Full machine-type names, e.g. "n1-standard-16".
Generated from protobuf field <code>repeated string machine_types = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Protobuf\Internal\RepeatedField | getMachineTypes | php | googleapis/google-cloud-php | Dataproc/src/V1/InstanceFlexibilityPolicy/InstanceSelection.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/InstanceFlexibilityPolicy/InstanceSelection.php | Apache-2.0 |
public function setMachineTypes($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->machine_types = $arr;
return $this;
} | Optional. Full machine-type names, e.g. "n1-standard-16".
Generated from protobuf field <code>repeated string machine_types = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setMachineTypes | php | googleapis/google-cloud-php | Dataproc/src/V1/InstanceFlexibilityPolicy/InstanceSelection.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/InstanceFlexibilityPolicy/InstanceSelection.php | Apache-2.0 |
public function getRank()
{
return $this->rank;
} | Optional. Preference of this instance selection. Lower number means
higher preference. Dataproc will first try to create a VM based on the
machine-type with priority rank and fallback to next rank based on
availability. Machine types and instance selections with the same
priority have the same preference.
Generated from protobuf field <code>int32 rank = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@return int | getRank | php | googleapis/google-cloud-php | Dataproc/src/V1/InstanceFlexibilityPolicy/InstanceSelection.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/InstanceFlexibilityPolicy/InstanceSelection.php | Apache-2.0 |
public function setRank($var)
{
GPBUtil::checkInt32($var);
$this->rank = $var;
return $this;
} | Optional. Preference of this instance selection. Lower number means
higher preference. Dataproc will first try to create a VM based on the
machine-type with priority rank and fallback to next rank based on
availability. Machine types and instance selections with the same
priority have the same preference.
Generated from protobuf field <code>int32 rank = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@param int $var
@return $this | setRank | php | googleapis/google-cloud-php | Dataproc/src/V1/InstanceFlexibilityPolicy/InstanceSelection.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/InstanceFlexibilityPolicy/InstanceSelection.php | Apache-2.0 |
public function getTrainTrialJobSpec()
{
return $this->train_trial_job_spec;
} | Required. The spec of a train trial job. The same spec applies to
all train trials.
Generated from protobuf field <code>.google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\AIPlatform\V1\CustomJobSpec|null | getTrainTrialJobSpec | php | googleapis/google-cloud-php | AiPlatform/src/V1/NasJobSpec/MultiTrialAlgorithmSpec/TrainTrialSpec.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/NasJobSpec/MultiTrialAlgorithmSpec/TrainTrialSpec.php | Apache-2.0 |
public function setTrainTrialJobSpec($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\CustomJobSpec::class);
$this->train_trial_job_spec = $var;
return $this;
} | Required. The spec of a train trial job. The same spec applies to
all train trials.
Generated from protobuf field <code>.google.cloud.aiplatform.v1.CustomJobSpec train_trial_job_spec = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\AIPlatform\V1\CustomJobSpec $var
@return $this | setTrainTrialJobSpec | php | googleapis/google-cloud-php | AiPlatform/src/V1/NasJobSpec/MultiTrialAlgorithmSpec/TrainTrialSpec.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/NasJobSpec/MultiTrialAlgorithmSpec/TrainTrialSpec.php | Apache-2.0 |
public function getMaxParallelTrialCount()
{
return $this->max_parallel_trial_count;
} | Required. The maximum number of trials to run in parallel.
Generated from protobuf field <code>int32 max_parallel_trial_count = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return int | getMaxParallelTrialCount | php | googleapis/google-cloud-php | AiPlatform/src/V1/NasJobSpec/MultiTrialAlgorithmSpec/TrainTrialSpec.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/NasJobSpec/MultiTrialAlgorithmSpec/TrainTrialSpec.php | Apache-2.0 |
public function setMaxParallelTrialCount($var)
{
GPBUtil::checkInt32($var);
$this->max_parallel_trial_count = $var;
return $this;
} | Required. The maximum number of trials to run in parallel.
Generated from protobuf field <code>int32 max_parallel_trial_count = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param int $var
@return $this | setMaxParallelTrialCount | php | googleapis/google-cloud-php | AiPlatform/src/V1/NasJobSpec/MultiTrialAlgorithmSpec/TrainTrialSpec.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/NasJobSpec/MultiTrialAlgorithmSpec/TrainTrialSpec.php | Apache-2.0 |
public function getFrequency()
{
return $this->frequency;
} | Required. Frequency of search trials to start train stage. Top N
[TrainTrialSpec.max_parallel_trial_count]
search trials will be trained for every M
[TrainTrialSpec.frequency] trials searched.
Generated from protobuf field <code>int32 frequency = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@return int | getFrequency | php | googleapis/google-cloud-php | AiPlatform/src/V1/NasJobSpec/MultiTrialAlgorithmSpec/TrainTrialSpec.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/NasJobSpec/MultiTrialAlgorithmSpec/TrainTrialSpec.php | Apache-2.0 |
public function setFrequency($var)
{
GPBUtil::checkInt32($var);
$this->frequency = $var;
return $this;
} | Required. Frequency of search trials to start train stage. Top N
[TrainTrialSpec.max_parallel_trial_count]
search trials will be trained for every M
[TrainTrialSpec.frequency] trials searched.
Generated from protobuf field <code>int32 frequency = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@param int $var
@return $this | setFrequency | php | googleapis/google-cloud-php | AiPlatform/src/V1/NasJobSpec/MultiTrialAlgorithmSpec/TrainTrialSpec.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/NasJobSpec/MultiTrialAlgorithmSpec/TrainTrialSpec.php | Apache-2.0 |
public function getHour()
{
return isset($this->hour) ? $this->hour : 0;
} | Required. Hour of the cutoff time until which an order has to be placed to
be processed in the same day by the warehouse. Hour is based on the
timezone of warehouse.
Generated from protobuf field <code>optional int32 hour = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return int | getHour | php | googleapis/google-cloud-php | ShoppingMerchantAccounts/src/V1beta/WarehouseCutoffTime.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantAccounts/src/V1beta/WarehouseCutoffTime.php | Apache-2.0 |
public function setHour($var)
{
GPBUtil::checkInt32($var);
$this->hour = $var;
return $this;
} | Required. Hour of the cutoff time until which an order has to be placed to
be processed in the same day by the warehouse. Hour is based on the
timezone of warehouse.
Generated from protobuf field <code>optional int32 hour = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param int $var
@return $this | setHour | php | googleapis/google-cloud-php | ShoppingMerchantAccounts/src/V1beta/WarehouseCutoffTime.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantAccounts/src/V1beta/WarehouseCutoffTime.php | Apache-2.0 |
public function getMinute()
{
return isset($this->minute) ? $this->minute : 0;
} | Required. Minute of the cutoff time until which an order has to be placed
to be processed in the same day by the warehouse. Minute is based on the
timezone of warehouse.
Generated from protobuf field <code>optional int32 minute = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return int | getMinute | php | googleapis/google-cloud-php | ShoppingMerchantAccounts/src/V1beta/WarehouseCutoffTime.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantAccounts/src/V1beta/WarehouseCutoffTime.php | Apache-2.0 |
public function setMinute($var)
{
GPBUtil::checkInt32($var);
$this->minute = $var;
return $this;
} | Required. Minute of the cutoff time until which an order has to be placed
to be processed in the same day by the warehouse. Minute is based on the
timezone of warehouse.
Generated from protobuf field <code>optional int32 minute = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param int $var
@return $this | setMinute | php | googleapis/google-cloud-php | ShoppingMerchantAccounts/src/V1beta/WarehouseCutoffTime.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantAccounts/src/V1beta/WarehouseCutoffTime.php | Apache-2.0 |
public function getGlobalSetPolicyRequestResource()
{
return $this->global_set_policy_request_resource;
} | The body resource for this request
Generated from protobuf field <code>.google.cloud.compute.v1.GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\Compute\V1\GlobalSetPolicyRequest|null | getGlobalSetPolicyRequestResource | php | googleapis/google-cloud-php | Compute/src/V1/SetIamPolicyImageRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetIamPolicyImageRequest.php | Apache-2.0 |
public function setGlobalSetPolicyRequestResource($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\GlobalSetPolicyRequest::class);
$this->global_set_policy_request_resource = $var;
return $this;
} | The body resource for this request
Generated from protobuf field <code>.google.cloud.compute.v1.GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\Compute\V1\GlobalSetPolicyRequest $var
@return $this | setGlobalSetPolicyRequestResource | php | googleapis/google-cloud-php | Compute/src/V1/SetIamPolicyImageRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetIamPolicyImageRequest.php | Apache-2.0 |
public function getProject()
{
return $this->project;
} | Project ID for this request.
Generated from protobuf field <code>string project = 227560217 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getProject | php | googleapis/google-cloud-php | Compute/src/V1/SetIamPolicyImageRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetIamPolicyImageRequest.php | Apache-2.0 |
public function setProject($var)
{
GPBUtil::checkString($var, True);
$this->project = $var;
return $this;
} | Project ID for this request.
Generated from protobuf field <code>string project = 227560217 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setProject | php | googleapis/google-cloud-php | Compute/src/V1/SetIamPolicyImageRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetIamPolicyImageRequest.php | Apache-2.0 |
public function getResource()
{
return $this->resource;
} | Name or id of the resource for this request.
Generated from protobuf field <code>string resource = 195806222 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getResource | php | googleapis/google-cloud-php | Compute/src/V1/SetIamPolicyImageRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetIamPolicyImageRequest.php | Apache-2.0 |
public function setResource($var)
{
GPBUtil::checkString($var, True);
$this->resource = $var;
return $this;
} | Name or id of the resource for this request.
Generated from protobuf field <code>string resource = 195806222 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setResource | php | googleapis/google-cloud-php | Compute/src/V1/SetIamPolicyImageRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetIamPolicyImageRequest.php | Apache-2.0 |
public function getResourceName()
{
return $this->resource_name;
} | Optional. The resource name of the attachment data. This field is used with
the media API to download the attachment data.
Generated from protobuf field <code>string resource_name = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getResourceName | php | googleapis/google-cloud-php | AppsChat/src/Chat/V1/AttachmentDataRef.php | https://github.com/googleapis/google-cloud-php/blob/master/AppsChat/src/Chat/V1/AttachmentDataRef.php | Apache-2.0 |
public function setResourceName($var)
{
GPBUtil::checkString($var, True);
$this->resource_name = $var;
return $this;
} | Optional. The resource name of the attachment data. This field is used with
the media API to download the attachment data.
Generated from protobuf field <code>string resource_name = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setResourceName | php | googleapis/google-cloud-php | AppsChat/src/Chat/V1/AttachmentDataRef.php | https://github.com/googleapis/google-cloud-php/blob/master/AppsChat/src/Chat/V1/AttachmentDataRef.php | Apache-2.0 |
public function getAttachmentUploadToken()
{
return $this->attachment_upload_token;
} | Optional. Opaque token containing a reference to an uploaded attachment.
Treated by clients as an opaque string and used to create or update Chat
messages with attachments.
Generated from protobuf field <code>string attachment_upload_token = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getAttachmentUploadToken | php | googleapis/google-cloud-php | AppsChat/src/Chat/V1/AttachmentDataRef.php | https://github.com/googleapis/google-cloud-php/blob/master/AppsChat/src/Chat/V1/AttachmentDataRef.php | Apache-2.0 |
public function setAttachmentUploadToken($var)
{
GPBUtil::checkString($var, True);
$this->attachment_upload_token = $var;
return $this;
} | Optional. Opaque token containing a reference to an uploaded attachment.
Treated by clients as an opaque string and used to create or update Chat
messages with attachments.
Generated from protobuf field <code>string attachment_upload_token = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setAttachmentUploadToken | php | googleapis/google-cloud-php | AppsChat/src/Chat/V1/AttachmentDataRef.php | https://github.com/googleapis/google-cloud-php/blob/master/AppsChat/src/Chat/V1/AttachmentDataRef.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. The name of deployment to initiate delete.
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 | TelcoAutomation/src/V1/RemoveDeploymentRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/TelcoAutomation/src/V1/RemoveDeploymentRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. The name of deployment to initiate delete.
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 | TelcoAutomation/src/V1/RemoveDeploymentRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/TelcoAutomation/src/V1/RemoveDeploymentRequest.php | Apache-2.0 |
public function getParent()
{
return $this->parent;
} | Required. The resource name of the MetadataStore where the Execution should
be created.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}`
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 | AiPlatform/src/V1/CreateExecutionRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/CreateExecutionRequest.php | Apache-2.0 |
public function setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | Required. The resource name of the MetadataStore where the Execution should
be created.
Format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}`
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 | AiPlatform/src/V1/CreateExecutionRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/CreateExecutionRequest.php | Apache-2.0 |
public function getExecution()
{
return $this->execution;
} | Required. The Execution to create.
Generated from protobuf field <code>.google.cloud.aiplatform.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\AIPlatform\V1\Execution|null | getExecution | php | googleapis/google-cloud-php | AiPlatform/src/V1/CreateExecutionRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/CreateExecutionRequest.php | Apache-2.0 |
public function setExecution($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Execution::class);
$this->execution = $var;
return $this;
} | Required. The Execution to create.
Generated from protobuf field <code>.google.cloud.aiplatform.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\AIPlatform\V1\Execution $var
@return $this | setExecution | php | googleapis/google-cloud-php | AiPlatform/src/V1/CreateExecutionRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/CreateExecutionRequest.php | Apache-2.0 |
public function getExecutionId()
{
return $this->execution_id;
} | The {execution} portion of the resource name with the format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
If not provided, the Execution's ID will be a UUID generated by the
service.
Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`.
Must be unique across all Executions in the parent MetadataStore.
(Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED
if the caller can't view the preexisting Execution.)
Generated from protobuf field <code>string execution_id = 3;</code>
@return string | getExecutionId | php | googleapis/google-cloud-php | AiPlatform/src/V1/CreateExecutionRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/CreateExecutionRequest.php | Apache-2.0 |
public function setExecutionId($var)
{
GPBUtil::checkString($var, True);
$this->execution_id = $var;
return $this;
} | The {execution} portion of the resource name with the format:
`projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}`
If not provided, the Execution's ID will be a UUID generated by the
service.
Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`.
Must be unique across all Executions in the parent MetadataStore.
(Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED
if the caller can't view the preexisting Execution.)
Generated from protobuf field <code>string execution_id = 3;</code>
@param string $var
@return $this | setExecutionId | php | googleapis/google-cloud-php | AiPlatform/src/V1/CreateExecutionRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/CreateExecutionRequest.php | Apache-2.0 |
public function getAnswers()
{
return $this->answers;
} | Most relevant snippets extracted from articles in the given knowledge base,
ordered by confidence.
Generated from protobuf field <code>repeated .google.cloud.dialogflow.v2.SearchKnowledgeAnswer answers = 2;</code>
@return \Google\Protobuf\Internal\RepeatedField | getAnswers | php | googleapis/google-cloud-php | Dialogflow/src/V2/SearchKnowledgeResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SearchKnowledgeResponse.php | Apache-2.0 |
public function setAnswers($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\V2\SearchKnowledgeAnswer::class);
$this->answers = $arr;
return $this;
} | Most relevant snippets extracted from articles in the given knowledge base,
ordered by confidence.
Generated from protobuf field <code>repeated .google.cloud.dialogflow.v2.SearchKnowledgeAnswer answers = 2;</code>
@param array<\Google\Cloud\Dialogflow\V2\SearchKnowledgeAnswer>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setAnswers | php | googleapis/google-cloud-php | Dialogflow/src/V2/SearchKnowledgeResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SearchKnowledgeResponse.php | Apache-2.0 |
public function getRewrittenQuery()
{
return $this->rewritten_query;
} | The rewritten query used to search knowledge.
Generated from protobuf field <code>string rewritten_query = 3;</code>
@return string | getRewrittenQuery | php | googleapis/google-cloud-php | Dialogflow/src/V2/SearchKnowledgeResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SearchKnowledgeResponse.php | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.