code
stringlengths
17
247k
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 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 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 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 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/&#42;&#47;secrets/&#42;&#47;versions/&#42;`. 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/&#42;&#47;secrets/&#42;&#47;versions/&#42;`. 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 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 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>&#64;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>&#64;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 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 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 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 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 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 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 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 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
public function setRewrittenQuery($var) { GPBUtil::checkString($var, True); $this->rewritten_query = $var; return $this; }
The rewritten query used to search knowledge. Generated from protobuf field <code>string rewritten_query = 3;</code> @param string $var @return $this
setRewrittenQuery
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 getIssueClientCertificate() { return $this->issue_client_certificate; }
Issue a client certificate. Generated from protobuf field <code>bool issue_client_certificate = 1;</code> @return bool
getIssueClientCertificate
php
googleapis/google-cloud-php
Container/src/V1/ClientCertificateConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Container/src/V1/ClientCertificateConfig.php
Apache-2.0
public function setIssueClientCertificate($var) { GPBUtil::checkBool($var); $this->issue_client_certificate = $var; return $this; }
Issue a client certificate. Generated from protobuf field <code>bool issue_client_certificate = 1;</code> @param bool $var @return $this
setIssueClientCertificate
php
googleapis/google-cloud-php
Container/src/V1/ClientCertificateConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Container/src/V1/ClientCertificateConfig.php
Apache-2.0
public function getChannelPartnerLinks() { return $this->channel_partner_links; }
The Channel partner links for a reseller. Generated from protobuf field <code>repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getChannelPartnerLinks
php
googleapis/google-cloud-php
Channel/src/V1/ListChannelPartnerLinksResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ListChannelPartnerLinksResponse.php
Apache-2.0
public function setChannelPartnerLinks($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Channel\V1\ChannelPartnerLink::class); $this->channel_partner_links = $arr; return $this; }
The Channel partner links for a reseller. Generated from protobuf field <code>repeated .google.cloud.channel.v1.ChannelPartnerLink channel_partner_links = 1;</code> @param array<\Google\Cloud\Channel\V1\ChannelPartnerLink>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setChannelPartnerLinks
php
googleapis/google-cloud-php
Channel/src/V1/ListChannelPartnerLinksResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ListChannelPartnerLinksResponse.php
Apache-2.0
public function setServingConfig($var) { GPBUtil::checkMessage($var, \Google\Cloud\Retail\V2\ServingConfig::class); $this->serving_config = $var; return $this; }
Required. The ServingConfig to create. Generated from protobuf field <code>.google.cloud.retail.v2.ServingConfig serving_config = 2 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\Retail\V2\ServingConfig $var @return $this
setServingConfig
php
googleapis/google-cloud-php
Retail/src/V2/CreateServingConfigRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/CreateServingConfigRequest.php
Apache-2.0
public function getServingConfigId() { return $this->serving_config_id; }
Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-_/. Generated from protobuf field <code>string serving_config_id = 3 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getServingConfigId
php
googleapis/google-cloud-php
Retail/src/V2/CreateServingConfigRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/CreateServingConfigRequest.php
Apache-2.0
public function setServingConfigId($var) { GPBUtil::checkString($var, True); $this->serving_config_id = $var; return $this; }
Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-_/. Generated from protobuf field <code>string serving_config_id = 3 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setServingConfigId
php
googleapis/google-cloud-php
Retail/src/V2/CreateServingConfigRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/CreateServingConfigRequest.php
Apache-2.0
public function getRelatedAccountGroups() { return $this->related_account_groups; }
The groups of related accounts listed by the query. Generated from protobuf field <code>repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getRelatedAccountGroups
php
googleapis/google-cloud-php
RecaptchaEnterprise/src/V1/ListRelatedAccountGroupsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/ListRelatedAccountGroupsResponse.php
Apache-2.0
public function setRelatedAccountGroups($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\RecaptchaEnterprise\V1\RelatedAccountGroup::class); $this->related_account_groups = $arr; return $this; }
The groups of related accounts listed by the query. Generated from protobuf field <code>repeated .google.cloud.recaptchaenterprise.v1.RelatedAccountGroup related_account_groups = 1;</code> @param array<\Google\Cloud\RecaptchaEnterprise\V1\RelatedAccountGroup>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setRelatedAccountGroups
php
googleapis/google-cloud-php
RecaptchaEnterprise/src/V1/ListRelatedAccountGroupsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/ListRelatedAccountGroupsResponse.php
Apache-2.0
public function getDataRedactionSettings() { return $this->data_redaction_settings; }
Required. The settings to update. The `name` field is used to identify the settings to be updated. Generated from protobuf field <code>.google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Analytics\Admin\V1alpha\DataRedactionSettings|null
getDataRedactionSettings
php
googleapis/google-cloud-php
AnalyticsAdmin/src/V1alpha/UpdateDataRedactionSettingsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/UpdateDataRedactionSettingsRequest.php
Apache-2.0
public function setDataRedactionSettings($var) { GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\DataRedactionSettings::class); $this->data_redaction_settings = $var; return $this; }
Required. The settings to update. The `name` field is used to identify the settings to be updated. Generated from protobuf field <code>.google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Analytics\Admin\V1alpha\DataRedactionSettings $var @return $this
setDataRedactionSettings
php
googleapis/google-cloud-php
AnalyticsAdmin/src/V1alpha/UpdateDataRedactionSettingsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/UpdateDataRedactionSettingsRequest.php
Apache-2.0
public function setRequests($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Vision\V1\AsyncAnnotateFileRequest::class); $this->requests = $arr; return $this; }
Required. Individual async file annotation requests for this batch. Generated from protobuf field <code>repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param array<\Google\Cloud\Vision\V1\AsyncAnnotateFileRequest>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setRequests
php
googleapis/google-cloud-php
Vision/src/V1/AsyncBatchAnnotateFilesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Vision/src/V1/AsyncBatchAnnotateFilesRequest.php
Apache-2.0
public function getPubsub() { return $this->pubsub; }
Notification config for Pub/Sub. Generated from protobuf field <code>.google.container.v1.NotificationConfig.PubSub pubsub = 1;</code> @return \Google\Cloud\Container\V1\NotificationConfig\PubSub|null
getPubsub
php
googleapis/google-cloud-php
Container/src/V1/NotificationConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Container/src/V1/NotificationConfig.php
Apache-2.0
public function setPubsub($var) { GPBUtil::checkMessage($var, \Google\Cloud\Container\V1\NotificationConfig\PubSub::class); $this->pubsub = $var; return $this; }
Notification config for Pub/Sub. Generated from protobuf field <code>.google.container.v1.NotificationConfig.PubSub pubsub = 1;</code> @param \Google\Cloud\Container\V1\NotificationConfig\PubSub $var @return $this
setPubsub
php
googleapis/google-cloud-php
Container/src/V1/NotificationConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Container/src/V1/NotificationConfig.php
Apache-2.0
public function getGuestFlush() { return isset($this->guest_flush) ? $this->guest_flush : false; }
[Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process. Generated from protobuf field <code>optional bool guest_flush = 385550813;</code> @return bool
getGuestFlush
php
googleapis/google-cloud-php
Compute/src/V1/MachineImage.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/MachineImage.php
Apache-2.0
public function setGuestFlush($var) { GPBUtil::checkBool($var); $this->guest_flush = $var; return $this; }
[Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process. Generated from protobuf field <code>optional bool guest_flush = 385550813;</code> @param bool $var @return $this
setGuestFlush
php
googleapis/google-cloud-php
Compute/src/V1/MachineImage.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/MachineImage.php
Apache-2.0
public function getInstanceProperties() { return $this->instance_properties; }
[Output Only] Properties of source instance Generated from protobuf field <code>optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165;</code> @return \Google\Cloud\Compute\V1\InstanceProperties|null
getInstanceProperties
php
googleapis/google-cloud-php
Compute/src/V1/MachineImage.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/MachineImage.php
Apache-2.0
public function setInstanceProperties($var) { GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\InstanceProperties::class); $this->instance_properties = $var; return $this; }
[Output Only] Properties of source instance Generated from protobuf field <code>optional .google.cloud.compute.v1.InstanceProperties instance_properties = 215355165;</code> @param \Google\Cloud\Compute\V1\InstanceProperties $var @return $this
setInstanceProperties
php
googleapis/google-cloud-php
Compute/src/V1/MachineImage.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/MachineImage.php
Apache-2.0
public function getMachineImageEncryptionKey() { return $this->machine_image_encryption_key; }
Encrypts the machine image using a customer-supplied encryption key. After you encrypt a machine image using a customer-supplied key, you must provide the same key if you use the machine image later. For example, you must provide the encryption key when you create an instance from the encrypted machine image in a future request. Customer-supplied encryption keys do not protect access to metadata of the machine image. If you do not provide an encryption key when creating the machine image, then the machine image will be encrypted using an automatically generated key and you do not need to provide a key to use the machine image later. Generated from protobuf field <code>optional .google.cloud.compute.v1.CustomerEncryptionKey machine_image_encryption_key = 528089087;</code> @return \Google\Cloud\Compute\V1\CustomerEncryptionKey|null
getMachineImageEncryptionKey
php
googleapis/google-cloud-php
Compute/src/V1/MachineImage.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/MachineImage.php
Apache-2.0
public function setMachineImageEncryptionKey($var) { GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\CustomerEncryptionKey::class); $this->machine_image_encryption_key = $var; return $this; }
Encrypts the machine image using a customer-supplied encryption key. After you encrypt a machine image using a customer-supplied key, you must provide the same key if you use the machine image later. For example, you must provide the encryption key when you create an instance from the encrypted machine image in a future request. Customer-supplied encryption keys do not protect access to metadata of the machine image. If you do not provide an encryption key when creating the machine image, then the machine image will be encrypted using an automatically generated key and you do not need to provide a key to use the machine image later. Generated from protobuf field <code>optional .google.cloud.compute.v1.CustomerEncryptionKey machine_image_encryption_key = 528089087;</code> @param \Google\Cloud\Compute\V1\CustomerEncryptionKey $var @return $this
setMachineImageEncryptionKey
php
googleapis/google-cloud-php
Compute/src/V1/MachineImage.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/MachineImage.php
Apache-2.0
public function getSavedDisks() { return $this->saved_disks; }
An array of Machine Image specific properties for disks attached to the source instance Generated from protobuf field <code>repeated .google.cloud.compute.v1.SavedDisk saved_disks = 397424318;</code> @return \Google\Protobuf\Internal\RepeatedField
getSavedDisks
php
googleapis/google-cloud-php
Compute/src/V1/MachineImage.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/MachineImage.php
Apache-2.0
public function setSavedDisks($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Compute\V1\SavedDisk::class); $this->saved_disks = $arr; return $this; }
An array of Machine Image specific properties for disks attached to the source instance Generated from protobuf field <code>repeated .google.cloud.compute.v1.SavedDisk saved_disks = 397424318;</code> @param array<\Google\Cloud\Compute\V1\SavedDisk>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setSavedDisks
php
googleapis/google-cloud-php
Compute/src/V1/MachineImage.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/MachineImage.php
Apache-2.0
public function getSourceDiskEncryptionKeys() { return $this->source_disk_encryption_keys; }
[Input Only] The customer-supplied encryption key of the disks attached to the source instance. Required if the source disk is protected by a customer-supplied encryption key. Generated from protobuf field <code>repeated .google.cloud.compute.v1.SourceDiskEncryptionKey source_disk_encryption_keys = 370408498;</code> @return \Google\Protobuf\Internal\RepeatedField
getSourceDiskEncryptionKeys
php
googleapis/google-cloud-php
Compute/src/V1/MachineImage.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/MachineImage.php
Apache-2.0
public function setSourceDiskEncryptionKeys($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Compute\V1\SourceDiskEncryptionKey::class); $this->source_disk_encryption_keys = $arr; return $this; }
[Input Only] The customer-supplied encryption key of the disks attached to the source instance. Required if the source disk is protected by a customer-supplied encryption key. Generated from protobuf field <code>repeated .google.cloud.compute.v1.SourceDiskEncryptionKey source_disk_encryption_keys = 370408498;</code> @param array<\Google\Cloud\Compute\V1\SourceDiskEncryptionKey>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setSourceDiskEncryptionKeys
php
googleapis/google-cloud-php
Compute/src/V1/MachineImage.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/MachineImage.php
Apache-2.0
public function getSourceInstance() { return isset($this->source_instance) ? $this->source_instance : ''; }
The source instance used to create the machine image. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance Generated from protobuf field <code>optional string source_instance = 396315705;</code> @return string
getSourceInstance
php
googleapis/google-cloud-php
Compute/src/V1/MachineImage.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/MachineImage.php
Apache-2.0
public function setSourceInstance($var) { GPBUtil::checkString($var, True); $this->source_instance = $var; return $this; }
The source instance used to create the machine image. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance Generated from protobuf field <code>optional string source_instance = 396315705;</code> @param string $var @return $this
setSourceInstance
php
googleapis/google-cloud-php
Compute/src/V1/MachineImage.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/MachineImage.php
Apache-2.0
public function getSourceInstanceProperties() { return $this->source_instance_properties; }
[Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties. New properties will not be added to this field. Generated from protobuf field <code>optional .google.cloud.compute.v1.SourceInstanceProperties source_instance_properties = 475195641;</code> @return \Google\Cloud\Compute\V1\SourceInstanceProperties|null
getSourceInstanceProperties
php
googleapis/google-cloud-php
Compute/src/V1/MachineImage.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/MachineImage.php
Apache-2.0
public function setSourceInstanceProperties($var) { GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\SourceInstanceProperties::class); $this->source_instance_properties = $var; return $this; }
[Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties. New properties will not be added to this field. Generated from protobuf field <code>optional .google.cloud.compute.v1.SourceInstanceProperties source_instance_properties = 475195641;</code> @param \Google\Cloud\Compute\V1\SourceInstanceProperties $var @return $this
setSourceInstanceProperties
php
googleapis/google-cloud-php
Compute/src/V1/MachineImage.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/MachineImage.php
Apache-2.0
public function getStorageLocations() { return $this->storage_locations; }
The regional or multi-regional Cloud Storage bucket location where the machine image is stored. Generated from protobuf field <code>repeated string storage_locations = 328005274;</code> @return \Google\Protobuf\Internal\RepeatedField
getStorageLocations
php
googleapis/google-cloud-php
Compute/src/V1/MachineImage.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/MachineImage.php
Apache-2.0
public function setStorageLocations($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->storage_locations = $arr; return $this; }
The regional or multi-regional Cloud Storage bucket location where the machine image is stored. Generated from protobuf field <code>repeated string storage_locations = 328005274;</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setStorageLocations
php
googleapis/google-cloud-php
Compute/src/V1/MachineImage.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/MachineImage.php
Apache-2.0
public function getTotalStorageBytes() { return isset($this->total_storage_bytes) ? $this->total_storage_bytes : 0; }
[Output Only] Total size of the storage used by the machine image. Generated from protobuf field <code>optional int64 total_storage_bytes = 81855468;</code> @return int|string
getTotalStorageBytes
php
googleapis/google-cloud-php
Compute/src/V1/MachineImage.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/MachineImage.php
Apache-2.0
public function setTotalStorageBytes($var) { GPBUtil::checkInt64($var); $this->total_storage_bytes = $var; return $this; }
[Output Only] Total size of the storage used by the machine image. Generated from protobuf field <code>optional int64 total_storage_bytes = 81855468;</code> @param int|string $var @return $this
setTotalStorageBytes
php
googleapis/google-cloud-php
Compute/src/V1/MachineImage.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/MachineImage.php
Apache-2.0
public function getUsePartitionedTables() { return $this->use_partitioned_tables; }
Optional. Whether to use [BigQuery's partition tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Cloud Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and [special query syntax](https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone. Generated from protobuf field <code>bool use_partitioned_tables = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @return bool
getUsePartitionedTables
php
googleapis/google-cloud-php
Logging/src/V2/BigQueryOptions.php
https://github.com/googleapis/google-cloud-php/blob/master/Logging/src/V2/BigQueryOptions.php
Apache-2.0
public function setUsePartitionedTables($var) { GPBUtil::checkBool($var); $this->use_partitioned_tables = $var; return $this; }
Optional. Whether to use [BigQuery's partition tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By default, Cloud Logging creates dated tables based on the log entries' timestamps, e.g. syslog_20170523. With partitioned tables the date suffix is no longer present and [special query syntax](https://cloud.google.com/bigquery/docs/querying-partitioned-tables) has to be used instead. In both cases, tables are sharded based on UTC timezone. Generated from protobuf field <code>bool use_partitioned_tables = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @param bool $var @return $this
setUsePartitionedTables
php
googleapis/google-cloud-php
Logging/src/V2/BigQueryOptions.php
https://github.com/googleapis/google-cloud-php/blob/master/Logging/src/V2/BigQueryOptions.php
Apache-2.0
public function getUsesTimestampColumnPartitioning() { return $this->uses_timestamp_column_partitioning; }
Output only. True if new timestamp column based partitioning is in use, false if legacy ingestion-time partitioning is in use. All new sinks will have this field set true and will use timestamp column based partitioning. If use_partitioned_tables is false, this value has no meaning and will be false. Legacy sinks using partitioned tables will have this field set to false. Generated from protobuf field <code>bool uses_timestamp_column_partitioning = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return bool
getUsesTimestampColumnPartitioning
php
googleapis/google-cloud-php
Logging/src/V2/BigQueryOptions.php
https://github.com/googleapis/google-cloud-php/blob/master/Logging/src/V2/BigQueryOptions.php
Apache-2.0
public function setUsesTimestampColumnPartitioning($var) { GPBUtil::checkBool($var); $this->uses_timestamp_column_partitioning = $var; return $this; }
Output only. True if new timestamp column based partitioning is in use, false if legacy ingestion-time partitioning is in use. All new sinks will have this field set true and will use timestamp column based partitioning. If use_partitioned_tables is false, this value has no meaning and will be false. Legacy sinks using partitioned tables will have this field set to false. Generated from protobuf field <code>bool uses_timestamp_column_partitioning = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param bool $var @return $this
setUsesTimestampColumnPartitioning
php
googleapis/google-cloud-php
Logging/src/V2/BigQueryOptions.php
https://github.com/googleapis/google-cloud-php/blob/master/Logging/src/V2/BigQueryOptions.php
Apache-2.0
public function getQueues() { return $this->queues; }
The list of queues. Generated from protobuf field <code>repeated .google.cloud.tasks.v2.Queue queues = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getQueues
php
googleapis/google-cloud-php
Tasks/src/V2/ListQueuesResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Tasks/src/V2/ListQueuesResponse.php
Apache-2.0
public function setQueues($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Tasks\V2\Queue::class); $this->queues = $arr; return $this; }
The list of queues. Generated from protobuf field <code>repeated .google.cloud.tasks.v2.Queue queues = 1;</code> @param array<\Google\Cloud\Tasks\V2\Queue>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setQueues
php
googleapis/google-cloud-php
Tasks/src/V2/ListQueuesResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Tasks/src/V2/ListQueuesResponse.php
Apache-2.0
public function getAwsCluster() { return $this->aws_cluster; }
Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to authenticate to. `AwsCluster` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names. Generated from protobuf field <code>string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @return string
getAwsCluster
php
googleapis/google-cloud-php
GkeMultiCloud/src/V1/GenerateAwsAccessTokenRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/GenerateAwsAccessTokenRequest.php
Apache-2.0
public function setAwsCluster($var) { GPBUtil::checkString($var, True); $this->aws_cluster = $var; return $this; }
Required. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to authenticate to. `AwsCluster` names are formatted as `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names. Generated from protobuf field <code>string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @param string $var @return $this
setAwsCluster
php
googleapis/google-cloud-php
GkeMultiCloud/src/V1/GenerateAwsAccessTokenRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/GenerateAwsAccessTokenRequest.php
Apache-2.0
public function getConsumerPscAddress() { return isset($this->consumer_psc_address) ? $this->consumer_psc_address : ''; }
[Output Only] Address allocated from given subnetwork for PSC. This IP address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB. Generated from protobuf field <code>optional string consumer_psc_address = 452646572;</code> @return string
getConsumerPscAddress
php
googleapis/google-cloud-php
Compute/src/V1/NetworkEndpointGroupPscData.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEndpointGroupPscData.php
Apache-2.0
public function setConsumerPscAddress($var) { GPBUtil::checkString($var, True); $this->consumer_psc_address = $var; return $this; }
[Output Only] Address allocated from given subnetwork for PSC. This IP address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB. Generated from protobuf field <code>optional string consumer_psc_address = 452646572;</code> @param string $var @return $this
setConsumerPscAddress
php
googleapis/google-cloud-php
Compute/src/V1/NetworkEndpointGroupPscData.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEndpointGroupPscData.php
Apache-2.0
public function getProducerPort() { return isset($this->producer_port) ? $this->producer_port : 0; }
The psc producer port is used to connect PSC NEG with specific port on the PSC Producer side; should only be used for the PRIVATE_SERVICE_CONNECT NEG type Generated from protobuf field <code>optional int32 producer_port = 410021134;</code> @return int
getProducerPort
php
googleapis/google-cloud-php
Compute/src/V1/NetworkEndpointGroupPscData.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEndpointGroupPscData.php
Apache-2.0
public function setProducerPort($var) { GPBUtil::checkInt32($var); $this->producer_port = $var; return $this; }
The psc producer port is used to connect PSC NEG with specific port on the PSC Producer side; should only be used for the PRIVATE_SERVICE_CONNECT NEG type Generated from protobuf field <code>optional int32 producer_port = 410021134;</code> @param int $var @return $this
setProducerPort
php
googleapis/google-cloud-php
Compute/src/V1/NetworkEndpointGroupPscData.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEndpointGroupPscData.php
Apache-2.0
public function getPscConnectionId() { return isset($this->psc_connection_id) ? $this->psc_connection_id : 0; }
[Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer. Generated from protobuf field <code>optional uint64 psc_connection_id = 292082397;</code> @return int|string
getPscConnectionId
php
googleapis/google-cloud-php
Compute/src/V1/NetworkEndpointGroupPscData.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEndpointGroupPscData.php
Apache-2.0
public function setPscConnectionId($var) { GPBUtil::checkUint64($var); $this->psc_connection_id = $var; return $this; }
[Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer. Generated from protobuf field <code>optional uint64 psc_connection_id = 292082397;</code> @param int|string $var @return $this
setPscConnectionId
php
googleapis/google-cloud-php
Compute/src/V1/NetworkEndpointGroupPscData.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEndpointGroupPscData.php
Apache-2.0
public function getPscConnectionStatus() { return isset($this->psc_connection_status) ? $this->psc_connection_status : ''; }
[Output Only] The connection status of the PSC Forwarding Rule. Check the PscConnectionStatus enum for the list of possible values. Generated from protobuf field <code>optional string psc_connection_status = 184149172;</code> @return string
getPscConnectionStatus
php
googleapis/google-cloud-php
Compute/src/V1/NetworkEndpointGroupPscData.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEndpointGroupPscData.php
Apache-2.0
public function setPscConnectionStatus($var) { GPBUtil::checkString($var, True); $this->psc_connection_status = $var; return $this; }
[Output Only] The connection status of the PSC Forwarding Rule. Check the PscConnectionStatus enum for the list of possible values. Generated from protobuf field <code>optional string psc_connection_status = 184149172;</code> @param string $var @return $this
setPscConnectionStatus
php
googleapis/google-cloud-php
Compute/src/V1/NetworkEndpointGroupPscData.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkEndpointGroupPscData.php
Apache-2.0
public function setEncoding($var) { GPBUtil::checkEnum($var, \Google\Cloud\Speech\V2\ExplicitDecodingConfig\AudioEncoding::class); $this->encoding = $var; return $this; }
Required. Encoding of the audio data sent for recognition. Generated from protobuf field <code>.google.cloud.speech.v2.ExplicitDecodingConfig.AudioEncoding encoding = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param int $var @return $this
setEncoding
php
googleapis/google-cloud-php
Speech/src/V2/ExplicitDecodingConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Speech/src/V2/ExplicitDecodingConfig.php
Apache-2.0