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 getSourceBackupInfo()
{
return $this->source_backup_info;
} | Information about the source backup that is being copied from.
Generated from protobuf field <code>.google.bigtable.admin.v2.BackupInfo source_backup_info = 2;</code>
@return \Google\Cloud\Bigtable\Admin\V2\BackupInfo|null | getSourceBackupInfo | php | googleapis/google-cloud-php | Bigtable/src/Admin/V2/CopyBackupMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/Admin/V2/CopyBackupMetadata.php | Apache-2.0 |
public function setSourceBackupInfo($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\BackupInfo::class);
$this->source_backup_info = $var;
return $this;
} | Information about the source backup that is being copied from.
Generated from protobuf field <code>.google.bigtable.admin.v2.BackupInfo source_backup_info = 2;</code>
@param \Google\Cloud\Bigtable\Admin\V2\BackupInfo $var
@return $this | setSourceBackupInfo | php | googleapis/google-cloud-php | Bigtable/src/Admin/V2/CopyBackupMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/Admin/V2/CopyBackupMetadata.php | Apache-2.0 |
public function setProgress($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\OperationProgress::class);
$this->progress = $var;
return $this;
} | The progress of the
[CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
operation.
Generated from protobuf field <code>.google.bigtable.admin.v2.OperationProgress progress = 3;</code>
@param \Google\Cloud\Bigtable\Admin\V2\OperationProgress $var
@return $this | setProgress | php | googleapis/google-cloud-php | Bigtable/src/Admin/V2/CopyBackupMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/Admin/V2/CopyBackupMetadata.php | Apache-2.0 |
public function getGlobalSetLabelsRequestResource()
{
return $this->global_set_labels_request_resource;
} | The body resource for this request
Generated from protobuf field <code>.google.cloud.compute.v1.GlobalSetLabelsRequest global_set_labels_request_resource = 319917189 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\Compute\V1\GlobalSetLabelsRequest|null | getGlobalSetLabelsRequestResource | php | googleapis/google-cloud-php | Compute/src/V1/SetLabelsExternalVpnGatewayRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetLabelsExternalVpnGatewayRequest.php | Apache-2.0 |
public function setGlobalSetLabelsRequestResource($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\GlobalSetLabelsRequest::class);
$this->global_set_labels_request_resource = $var;
return $this;
} | The body resource for this request
Generated from protobuf field <code>.google.cloud.compute.v1.GlobalSetLabelsRequest global_set_labels_request_resource = 319917189 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\Compute\V1\GlobalSetLabelsRequest $var
@return $this | setGlobalSetLabelsRequestResource | php | googleapis/google-cloud-php | Compute/src/V1/SetLabelsExternalVpnGatewayRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetLabelsExternalVpnGatewayRequest.php | Apache-2.0 |
public function getExplanation()
{
return $this->explanation;
} | Output only. Explanation for question answering relevance score.
Generated from protobuf field <code>string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getExplanation | php | googleapis/google-cloud-php | AiPlatform/src/V1/QuestionAnsweringRelevanceResult.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/QuestionAnsweringRelevanceResult.php | Apache-2.0 |
public function setExplanation($var)
{
GPBUtil::checkString($var, True);
$this->explanation = $var;
return $this;
} | Output only. Explanation for question answering relevance score.
Generated from protobuf field <code>string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setExplanation | php | googleapis/google-cloud-php | AiPlatform/src/V1/QuestionAnsweringRelevanceResult.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/QuestionAnsweringRelevanceResult.php | Apache-2.0 |
public function getConfidence()
{
return isset($this->confidence) ? $this->confidence : 0.0;
} | Output only. Confidence for question answering relevance score.
Generated from protobuf field <code>optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return float | getConfidence | php | googleapis/google-cloud-php | AiPlatform/src/V1/QuestionAnsweringRelevanceResult.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/QuestionAnsweringRelevanceResult.php | Apache-2.0 |
public function getVersionAliases()
{
return $this->version_aliases;
} | User provided version aliases so that a model version can be referenced via
alias
Generated from protobuf field <code>repeated string version_aliases = 2;</code>
@return \Google\Protobuf\Internal\RepeatedField | getVersionAliases | php | googleapis/google-cloud-php | DataCatalog/src/V1/VertexModelSpec.php | https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/VertexModelSpec.php | Apache-2.0 |
public function setVersionAliases($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->version_aliases = $arr;
return $this;
} | User provided version aliases so that a model version can be referenced via
alias
Generated from protobuf field <code>repeated string version_aliases = 2;</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setVersionAliases | php | googleapis/google-cloud-php | DataCatalog/src/V1/VertexModelSpec.php | https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/VertexModelSpec.php | Apache-2.0 |
public function getVersionDescription()
{
return $this->version_description;
} | The description of this version.
Generated from protobuf field <code>string version_description = 3;</code>
@return string | getVersionDescription | php | googleapis/google-cloud-php | DataCatalog/src/V1/VertexModelSpec.php | https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/VertexModelSpec.php | Apache-2.0 |
public function setVersionDescription($var)
{
GPBUtil::checkString($var, True);
$this->version_description = $var;
return $this;
} | The description of this version.
Generated from protobuf field <code>string version_description = 3;</code>
@param string $var
@return $this | setVersionDescription | php | googleapis/google-cloud-php | DataCatalog/src/V1/VertexModelSpec.php | https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/VertexModelSpec.php | Apache-2.0 |
public function getVertexModelSourceInfo()
{
return $this->vertex_model_source_info;
} | Source of a Vertex model.
Generated from protobuf field <code>.google.cloud.datacatalog.v1.VertexModelSourceInfo vertex_model_source_info = 4;</code>
@return \Google\Cloud\DataCatalog\V1\VertexModelSourceInfo|null | getVertexModelSourceInfo | php | googleapis/google-cloud-php | DataCatalog/src/V1/VertexModelSpec.php | https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/VertexModelSpec.php | Apache-2.0 |
public function setVertexModelSourceInfo($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\DataCatalog\V1\VertexModelSourceInfo::class);
$this->vertex_model_source_info = $var;
return $this;
} | Source of a Vertex model.
Generated from protobuf field <code>.google.cloud.datacatalog.v1.VertexModelSourceInfo vertex_model_source_info = 4;</code>
@param \Google\Cloud\DataCatalog\V1\VertexModelSourceInfo $var
@return $this | setVertexModelSourceInfo | php | googleapis/google-cloud-php | DataCatalog/src/V1/VertexModelSpec.php | https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/VertexModelSpec.php | Apache-2.0 |
public function getContainerImageUri()
{
return $this->container_image_uri;
} | URI of the Docker image to be used as the custom container for serving
predictions.
Generated from protobuf field <code>string container_image_uri = 5;</code>
@return string | getContainerImageUri | php | googleapis/google-cloud-php | DataCatalog/src/V1/VertexModelSpec.php | https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/VertexModelSpec.php | Apache-2.0 |
public function setContainerImageUri($var)
{
GPBUtil::checkString($var, True);
$this->container_image_uri = $var;
return $this;
} | URI of the Docker image to be used as the custom container for serving
predictions.
Generated from protobuf field <code>string container_image_uri = 5;</code>
@param string $var
@return $this | setContainerImageUri | php | googleapis/google-cloud-php | DataCatalog/src/V1/VertexModelSpec.php | https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/VertexModelSpec.php | Apache-2.0 |
public function setType($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\DataFusion\V1\Instance\Type::class);
$this->type = $var;
return $this;
} | Required. Instance type.
Generated from protobuf field <code>.google.cloud.datafusion.v1.Instance.Type type = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@param int $var
@return $this | setType | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function getEnableStackdriverLogging()
{
return $this->enable_stackdriver_logging;
} | Option to enable Stackdriver Logging.
Generated from protobuf field <code>bool enable_stackdriver_logging = 4;</code>
@return bool | getEnableStackdriverLogging | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function setEnableStackdriverLogging($var)
{
GPBUtil::checkBool($var);
$this->enable_stackdriver_logging = $var;
return $this;
} | Option to enable Stackdriver Logging.
Generated from protobuf field <code>bool enable_stackdriver_logging = 4;</code>
@param bool $var
@return $this | setEnableStackdriverLogging | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function getPrivateInstance()
{
return $this->private_instance;
} | Specifies whether the Data Fusion instance should be private. If set to
true, all Data Fusion nodes will have private IP addresses and will not be
able to access the public internet.
Generated from protobuf field <code>bool private_instance = 6;</code>
@return bool | getPrivateInstance | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function setPrivateInstance($var)
{
GPBUtil::checkBool($var);
$this->private_instance = $var;
return $this;
} | Specifies whether the Data Fusion instance should be private. If set to
true, all Data Fusion nodes will have private IP addresses and will not be
able to access the public internet.
Generated from protobuf field <code>bool private_instance = 6;</code>
@param bool $var
@return $this | setPrivateInstance | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function setNetworkConfig($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\DataFusion\V1\NetworkConfig::class);
$this->network_config = $var;
return $this;
} | Network configuration options. These are required when a private Data
Fusion instance is to be created.
Generated from protobuf field <code>.google.cloud.datafusion.v1.NetworkConfig network_config = 7;</code>
@param \Google\Cloud\DataFusion\V1\NetworkConfig $var
@return $this | setNetworkConfig | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function setOptions($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
$this->options = $arr;
return $this;
} | Map of additional options used to configure the behavior of
Data Fusion instance.
Generated from protobuf field <code>map<string, string> options = 9;</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this | setOptions | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function setState($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\DataFusion\V1\Instance\State::class);
$this->state = $var;
return $this;
} | Output only. The current state of this Data Fusion instance.
Generated from protobuf field <code>.google.cloud.datafusion.v1.Instance.State state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param int $var
@return $this | setState | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function getServiceEndpoint()
{
return $this->service_endpoint;
} | Output only. Endpoint on which the Data Fusion UI is accessible.
Generated from protobuf field <code>string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getServiceEndpoint | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function setServiceEndpoint($var)
{
GPBUtil::checkString($var, True);
$this->service_endpoint = $var;
return $this;
} | Output only. Endpoint on which the Data Fusion UI is accessible.
Generated from protobuf field <code>string service_endpoint = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setServiceEndpoint | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function getAvailableVersion()
{
return $this->available_version;
} | Available versions that the instance can be upgraded to using
UpdateInstanceRequest.
Generated from protobuf field <code>repeated .google.cloud.datafusion.v1.Version available_version = 19;</code>
@return \Google\Protobuf\Internal\RepeatedField | getAvailableVersion | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function setAvailableVersion($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\DataFusion\V1\Version::class);
$this->available_version = $arr;
return $this;
} | Available versions that the instance can be upgraded to using
UpdateInstanceRequest.
Generated from protobuf field <code>repeated .google.cloud.datafusion.v1.Version available_version = 19;</code>
@param array<\Google\Cloud\DataFusion\V1\Version>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setAvailableVersion | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function getApiEndpoint()
{
return $this->api_endpoint;
} | Output only. Endpoint on which the REST APIs is accessible.
Generated from protobuf field <code>string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getApiEndpoint | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function setApiEndpoint($var)
{
GPBUtil::checkString($var, True);
$this->api_endpoint = $var;
return $this;
} | Output only. Endpoint on which the REST APIs is accessible.
Generated from protobuf field <code>string api_endpoint = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setApiEndpoint | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function getGcsBucket()
{
return $this->gcs_bucket;
} | Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
Generated from protobuf field <code>string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getGcsBucket | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function setGcsBucket($var)
{
GPBUtil::checkString($var, True);
$this->gcs_bucket = $var;
return $this;
} | Output only. Cloud Storage bucket generated by Data Fusion in the customer project.
Generated from protobuf field <code>string gcs_bucket = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setGcsBucket | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function setAccelerators($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\DataFusion\V1\Accelerator::class);
$this->accelerators = $arr;
return $this;
} | List of accelerators enabled for this CDF instance.
Generated from protobuf field <code>repeated .google.cloud.datafusion.v1.Accelerator accelerators = 22;</code>
@param array<\Google\Cloud\DataFusion\V1\Accelerator>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setAccelerators | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function getP4ServiceAccount()
{
return $this->p4_service_account;
} | Output only. P4 service account for the customer project.
Generated from protobuf field <code>string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getP4ServiceAccount | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function setP4ServiceAccount($var)
{
GPBUtil::checkString($var, True);
$this->p4_service_account = $var;
return $this;
} | Output only. P4 service account for the customer project.
Generated from protobuf field <code>string p4_service_account = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setP4ServiceAccount | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function getTenantProjectId()
{
return $this->tenant_project_id;
} | Output only. The name of the tenant project.
Generated from protobuf field <code>string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getTenantProjectId | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function setTenantProjectId($var)
{
GPBUtil::checkString($var, True);
$this->tenant_project_id = $var;
return $this;
} | Output only. The name of the tenant project.
Generated from protobuf field <code>string tenant_project_id = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setTenantProjectId | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function getDataprocServiceAccount()
{
return $this->dataproc_service_account;
} | User-managed service account to set on Dataproc when Cloud Data Fusion
creates Dataproc to run data processing pipelines.
This allows users to have fine-grained access control on Dataproc's
accesses to cloud resources.
Generated from protobuf field <code>string dataproc_service_account = 25;</code>
@return string | getDataprocServiceAccount | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function setDataprocServiceAccount($var)
{
GPBUtil::checkString($var, True);
$this->dataproc_service_account = $var;
return $this;
} | User-managed service account to set on Dataproc when Cloud Data Fusion
creates Dataproc to run data processing pipelines.
This allows users to have fine-grained access control on Dataproc's
accesses to cloud resources.
Generated from protobuf field <code>string dataproc_service_account = 25;</code>
@param string $var
@return $this | setDataprocServiceAccount | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function getEnableRbac()
{
return $this->enable_rbac;
} | Option to enable granular role-based access control.
Generated from protobuf field <code>bool enable_rbac = 27;</code>
@return bool | getEnableRbac | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function setEnableRbac($var)
{
GPBUtil::checkBool($var);
$this->enable_rbac = $var;
return $this;
} | Option to enable granular role-based access control.
Generated from protobuf field <code>bool enable_rbac = 27;</code>
@param bool $var
@return $this | setEnableRbac | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function getCryptoKeyConfig()
{
return $this->crypto_key_config;
} | The crypto key configuration. This field is used by the Customer-Managed
Encryption Keys (CMEK) feature.
Generated from protobuf field <code>.google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28;</code>
@return \Google\Cloud\DataFusion\V1\CryptoKeyConfig|null | getCryptoKeyConfig | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function setCryptoKeyConfig($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\DataFusion\V1\CryptoKeyConfig::class);
$this->crypto_key_config = $var;
return $this;
} | The crypto key configuration. This field is used by the Customer-Managed
Encryption Keys (CMEK) feature.
Generated from protobuf field <code>.google.cloud.datafusion.v1.CryptoKeyConfig crypto_key_config = 28;</code>
@param \Google\Cloud\DataFusion\V1\CryptoKeyConfig $var
@return $this | setCryptoKeyConfig | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function getDisabledReason()
{
return $this->disabled_reason;
} | Output only. If the instance state is DISABLED, the reason for disabling the instance.
Generated from protobuf field <code>repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Protobuf\Internal\RepeatedField | getDisabledReason | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function setDisabledReason($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Cloud\DataFusion\V1\Instance\DisabledReason::class);
$this->disabled_reason = $arr;
return $this;
} | Output only. If the instance state is DISABLED, the reason for disabling the instance.
Generated from protobuf field <code>repeated .google.cloud.datafusion.v1.Instance.DisabledReason disabled_reason = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param array<int>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setDisabledReason | php | googleapis/google-cloud-php | DataFusion/src/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/Instance.php | Apache-2.0 |
public function setStartDate($var)
{
GPBUtil::checkMessage($var, \Google\Type\Date::class);
$this->start_date = $var;
return $this;
} | Required. The start date of this date range.
Generated from protobuf field <code>.google.type.Date start_date = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Type\Date $var
@return $this | setStartDate | php | googleapis/google-cloud-php | AdsAdManager/src/V1/Report/DateRange/FixedDateRange.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/Report/DateRange/FixedDateRange.php | Apache-2.0 |
public function setEndDate($var)
{
GPBUtil::checkMessage($var, \Google\Type\Date::class);
$this->end_date = $var;
return $this;
} | Required. The end date (inclusive) of this date range.
Generated from protobuf field <code>.google.type.Date end_date = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Type\Date $var
@return $this | setEndDate | php | googleapis/google-cloud-php | AdsAdManager/src/V1/Report/DateRange/FixedDateRange.php | https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/Report/DateRange/FixedDateRange.php | Apache-2.0 |
public function setFields($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\V2\Type\Struct\Field::class);
$this->fields = $arr;
return $this;
} | The names and types of the fields in this struct.
Generated from protobuf field <code>repeated .google.bigtable.v2.Type.Struct.Field fields = 1;</code>
@param array<\Google\Cloud\Bigtable\V2\Type\Struct\Field>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setFields | php | googleapis/google-cloud-php | Bigtable/src/V2/Type/Struct.php | https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/V2/Type/Struct.php | Apache-2.0 |
public function setResponses($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Vision\V1\AnnotateFileResponse::class);
$this->responses = $arr;
return $this;
} | The list of file annotation responses, each response corresponding to each
AnnotateFileRequest in BatchAnnotateFilesRequest.
Generated from protobuf field <code>repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;</code>
@param array<\Google\Cloud\Vision\V1\AnnotateFileResponse>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setResponses | php | googleapis/google-cloud-php | Vision/src/V1/BatchAnnotateFilesResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Vision/src/V1/BatchAnnotateFilesResponse.php | Apache-2.0 |
public function getAdvancedMachineFeatures()
{
return $this->advanced_machine_features;
} | Optional. Controls for advanced machine-related behavior features.
Generated from protobuf field <code>optional .google.cloud.backupdr.v1.AdvancedMachineFeatures advanced_machine_features = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Cloud\BackupDR\V1\AdvancedMachineFeatures|null | getAdvancedMachineFeatures | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function setAdvancedMachineFeatures($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\AdvancedMachineFeatures::class);
$this->advanced_machine_features = $var;
return $this;
} | Optional. Controls for advanced machine-related behavior features.
Generated from protobuf field <code>optional .google.cloud.backupdr.v1.AdvancedMachineFeatures advanced_machine_features = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\BackupDR\V1\AdvancedMachineFeatures $var
@return $this | setAdvancedMachineFeatures | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function getConfidentialInstanceConfig()
{
return $this->confidential_instance_config;
} | Optional. Controls Confidential compute options on the instance
Generated from protobuf field <code>optional .google.cloud.backupdr.v1.ConfidentialInstanceConfig confidential_instance_config = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Cloud\BackupDR\V1\ConfidentialInstanceConfig|null | getConfidentialInstanceConfig | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function setConfidentialInstanceConfig($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\ConfidentialInstanceConfig::class);
$this->confidential_instance_config = $var;
return $this;
} | Optional. Controls Confidential compute options on the instance
Generated from protobuf field <code>optional .google.cloud.backupdr.v1.ConfidentialInstanceConfig confidential_instance_config = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\BackupDR\V1\ConfidentialInstanceConfig $var
@return $this | setConfidentialInstanceConfig | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function setDisks($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\BackupDR\V1\AttachedDisk::class);
$this->disks = $arr;
return $this;
} | Optional. Array of disks associated with this instance. Persistent disks
must be created before you can assign them.
Generated from protobuf field <code>repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array<\Google\Cloud\BackupDR\V1\AttachedDisk>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setDisks | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function getDisplayDevice()
{
return $this->display_device;
} | Optional. Enables display device for the instance.
Generated from protobuf field <code>optional .google.cloud.backupdr.v1.DisplayDevice display_device = 8 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Cloud\BackupDR\V1\DisplayDevice|null | getDisplayDevice | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function setDisplayDevice($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\DisplayDevice::class);
$this->display_device = $var;
return $this;
} | Optional. Enables display device for the instance.
Generated from protobuf field <code>optional .google.cloud.backupdr.v1.DisplayDevice display_device = 8 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\BackupDR\V1\DisplayDevice $var
@return $this | setDisplayDevice | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function setGuestAccelerators($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\BackupDR\V1\AcceleratorConfig::class);
$this->guest_accelerators = $arr;
return $this;
} | Optional. A list of the type and count of accelerator cards attached to the
instance.
Generated from protobuf field <code>repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array<\Google\Cloud\BackupDR\V1\AcceleratorConfig>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setGuestAccelerators | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function getHostname()
{
return isset($this->hostname) ? $this->hostname : '';
} | Optional. Specifies the hostname of the instance. The specified hostname
must be RFC1035 compliant. If hostname is not specified, the default
hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global
DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal
DNS.
Generated from protobuf field <code>optional string hostname = 10 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getHostname | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function getInstanceEncryptionKey()
{
return $this->instance_encryption_key;
} | Optional. Encrypts suspended data for an instance with a
customer-managed encryption key.
Generated from protobuf field <code>optional .google.cloud.backupdr.v1.CustomerEncryptionKey instance_encryption_key = 11 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Cloud\BackupDR\V1\CustomerEncryptionKey|null | getInstanceEncryptionKey | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function setInstanceEncryptionKey($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\CustomerEncryptionKey::class);
$this->instance_encryption_key = $var;
return $this;
} | Optional. Encrypts suspended data for an instance with a
customer-managed encryption key.
Generated from protobuf field <code>optional .google.cloud.backupdr.v1.CustomerEncryptionKey instance_encryption_key = 11 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\BackupDR\V1\CustomerEncryptionKey $var
@return $this | setInstanceEncryptionKey | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function getKeyRevocationActionType()
{
return isset($this->key_revocation_action_type) ? $this->key_revocation_action_type : 0;
} | Optional. KeyRevocationActionType of the instance.
Generated from protobuf field <code>optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12 [(.google.api.field_behavior) = OPTIONAL];</code>
@return int | getKeyRevocationActionType | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function setKeyRevocationActionType($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\BackupDR\V1\KeyRevocationActionType::class);
$this->key_revocation_action_type = $var;
return $this;
} | Optional. KeyRevocationActionType of the instance.
Generated from protobuf field <code>optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12 [(.google.api.field_behavior) = OPTIONAL];</code>
@param int $var
@return $this | setKeyRevocationActionType | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function setMetadata($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\Metadata::class);
$this->metadata = $var;
return $this;
} | Optional. This includes custom metadata and predefined keys.
Generated from protobuf field <code>optional .google.cloud.backupdr.v1.Metadata metadata = 15 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\BackupDR\V1\Metadata $var
@return $this | setMetadata | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function setNetworkInterfaces($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\BackupDR\V1\NetworkInterface::class);
$this->network_interfaces = $arr;
return $this;
} | Optional. An array of network configurations for this instance. These
specify how interfaces are configured to interact with other network
services, such as connecting to the internet. Multiple interfaces are
supported per instance.
Generated from protobuf field <code>repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array<\Google\Cloud\BackupDR\V1\NetworkInterface>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setNetworkInterfaces | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function setNetworkPerformanceConfig($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\NetworkPerformanceConfig::class);
$this->network_performance_config = $var;
return $this;
} | Optional. Configure network performance such as egress bandwidth tier.
Generated from protobuf field <code>optional .google.cloud.backupdr.v1.NetworkPerformanceConfig network_performance_config = 18 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\BackupDR\V1\NetworkPerformanceConfig $var
@return $this | setNetworkPerformanceConfig | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function setParams($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\InstanceParams::class);
$this->params = $var;
return $this;
} | Input only. Additional params passed with the request, but not persisted
as part of resource payload.
Generated from protobuf field <code>optional .google.cloud.backupdr.v1.InstanceParams params = 19 [(.google.api.field_behavior) = INPUT_ONLY];</code>
@param \Google\Cloud\BackupDR\V1\InstanceParams $var
@return $this | setParams | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function getPrivateIpv6GoogleAccess()
{
return isset($this->private_ipv6_google_access) ? $this->private_ipv6_google_access : 0;
} | Optional. The private IPv6 google access type for the VM.
If not specified, use INHERIT_FROM_SUBNETWORK as default.
Generated from protobuf field <code>optional .google.cloud.backupdr.v1.ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess private_ipv6_google_access = 20 [(.google.api.field_behavior) = OPTIONAL];</code>
@return int | getPrivateIpv6GoogleAccess | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function setPrivateIpv6GoogleAccess($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\BackupDR\V1\ComputeInstanceRestoreProperties\InstancePrivateIpv6GoogleAccess::class);
$this->private_ipv6_google_access = $var;
return $this;
} | Optional. The private IPv6 google access type for the VM.
If not specified, use INHERIT_FROM_SUBNETWORK as default.
Generated from protobuf field <code>optional .google.cloud.backupdr.v1.ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess private_ipv6_google_access = 20 [(.google.api.field_behavior) = OPTIONAL];</code>
@param int $var
@return $this | setPrivateIpv6GoogleAccess | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function getAllocationAffinity()
{
return $this->allocation_affinity;
} | Optional. Specifies the reservations that this instance can consume from.
Generated from protobuf field <code>optional .google.cloud.backupdr.v1.AllocationAffinity allocation_affinity = 21 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Cloud\BackupDR\V1\AllocationAffinity|null | getAllocationAffinity | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function setAllocationAffinity($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\AllocationAffinity::class);
$this->allocation_affinity = $var;
return $this;
} | Optional. Specifies the reservations that this instance can consume from.
Generated from protobuf field <code>optional .google.cloud.backupdr.v1.AllocationAffinity allocation_affinity = 21 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\BackupDR\V1\AllocationAffinity $var
@return $this | setAllocationAffinity | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function setScheduling($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\Scheduling::class);
$this->scheduling = $var;
return $this;
} | Optional. Sets the scheduling options for this instance.
Generated from protobuf field <code>optional .google.cloud.backupdr.v1.Scheduling scheduling = 23 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\BackupDR\V1\Scheduling $var
@return $this | setScheduling | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function setServiceAccounts($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\BackupDR\V1\ServiceAccount::class);
$this->service_accounts = $arr;
return $this;
} | Optional. A list of service accounts, with their specified scopes,
authorized for this instance. Only one service account per VM instance is
supported.
Generated from protobuf field <code>repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array<\Google\Cloud\BackupDR\V1\ServiceAccount>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setServiceAccounts | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function setTags($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\Tags::class);
$this->tags = $var;
return $this;
} | Optional. Tags to apply to this instance. Tags are used to identify valid
sources or targets for network firewalls and are specified by the client
during instance creation.
Generated from protobuf field <code>optional .google.cloud.backupdr.v1.Tags tags = 26 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\BackupDR\V1\Tags $var
@return $this | setTags | php | googleapis/google-cloud-php | BackupDr/src/V1/ComputeInstanceRestoreProperties.php | https://github.com/googleapis/google-cloud-php/blob/master/BackupDr/src/V1/ComputeInstanceRestoreProperties.php | Apache-2.0 |
public function getVectorDbConfig()
{
return $this->readOneof(9);
} | Optional. Immutable. The config for the Vector DBs.
Generated from protobuf field <code>.google.cloud.aiplatform.v1.RagVectorDbConfig vector_db_config = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];</code>
@return \Google\Cloud\AIPlatform\V1\RagVectorDbConfig|null | getVectorDbConfig | php | googleapis/google-cloud-php | AiPlatform/src/V1/RagCorpus.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/RagCorpus.php | Apache-2.0 |
public function setVectorDbConfig($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\RagVectorDbConfig::class);
$this->writeOneof(9, $var);
return $this;
} | Optional. Immutable. The config for the Vector DBs.
Generated from protobuf field <code>.google.cloud.aiplatform.v1.RagVectorDbConfig vector_db_config = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];</code>
@param \Google\Cloud\AIPlatform\V1\RagVectorDbConfig $var
@return $this | setVectorDbConfig | php | googleapis/google-cloud-php | AiPlatform/src/V1/RagCorpus.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/RagCorpus.php | Apache-2.0 |
public function getVertexAiSearchConfig()
{
return $this->readOneof(10);
} | Optional. Immutable. The config for the Vertex AI Search.
Generated from protobuf field <code>.google.cloud.aiplatform.v1.VertexAiSearchConfig vertex_ai_search_config = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];</code>
@return \Google\Cloud\AIPlatform\V1\VertexAiSearchConfig|null | getVertexAiSearchConfig | php | googleapis/google-cloud-php | AiPlatform/src/V1/RagCorpus.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/RagCorpus.php | Apache-2.0 |
public function setVertexAiSearchConfig($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\VertexAiSearchConfig::class);
$this->writeOneof(10, $var);
return $this;
} | Optional. Immutable. The config for the Vertex AI Search.
Generated from protobuf field <code>.google.cloud.aiplatform.v1.VertexAiSearchConfig vertex_ai_search_config = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];</code>
@param \Google\Cloud\AIPlatform\V1\VertexAiSearchConfig $var
@return $this | setVertexAiSearchConfig | php | googleapis/google-cloud-php | AiPlatform/src/V1/RagCorpus.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/RagCorpus.php | Apache-2.0 |
public function getCorpusStatus()
{
return $this->corpus_status;
} | Output only. RagCorpus state.
Generated from protobuf field <code>.google.cloud.aiplatform.v1.CorpusStatus corpus_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Cloud\AIPlatform\V1\CorpusStatus|null | getCorpusStatus | php | googleapis/google-cloud-php | AiPlatform/src/V1/RagCorpus.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/RagCorpus.php | Apache-2.0 |
public function setCorpusStatus($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\CorpusStatus::class);
$this->corpus_status = $var;
return $this;
} | Output only. RagCorpus state.
Generated from protobuf field <code>.google.cloud.aiplatform.v1.CorpusStatus corpus_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param \Google\Cloud\AIPlatform\V1\CorpusStatus $var
@return $this | setCorpusStatus | php | googleapis/google-cloud-php | AiPlatform/src/V1/RagCorpus.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/RagCorpus.php | Apache-2.0 |
public function setEndpoint($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Endpoint::class);
$this->endpoint = $var;
return $this;
} | Required. The Endpoint which replaces the resource on the server.
Generated from protobuf field <code>.google.cloud.aiplatform.v1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\AIPlatform\V1\Endpoint $var
@return $this | setEndpoint | php | googleapis/google-cloud-php | AiPlatform/src/V1/UpdateEndpointRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/UpdateEndpointRequest.php | Apache-2.0 |
public function getOptOut()
{
return $this->opt_out;
} | The status to set.
Generated from protobuf field <code>bool opt_out = 2;</code>
@return bool | getOptOut | php | googleapis/google-cloud-php | AnalyticsAdmin/src/V1alpha/SetAutomatedGa4ConfigurationOptOutRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/SetAutomatedGa4ConfigurationOptOutRequest.php | Apache-2.0 |
public function setOptOut($var)
{
GPBUtil::checkBool($var);
$this->opt_out = $var;
return $this;
} | The status to set.
Generated from protobuf field <code>bool opt_out = 2;</code>
@param bool $var
@return $this | setOptOut | php | googleapis/google-cloud-php | AnalyticsAdmin/src/V1alpha/SetAutomatedGa4ConfigurationOptOutRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/SetAutomatedGa4ConfigurationOptOutRequest.php | Apache-2.0 |
public function getKeyEvent()
{
return $this->key_event;
} | Required. The Key Event to create.
Generated from protobuf field <code>.google.analytics.admin.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Analytics\Admin\V1beta\KeyEvent|null | getKeyEvent | php | googleapis/google-cloud-php | AnalyticsAdmin/src/V1beta/CreateKeyEventRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1beta/CreateKeyEventRequest.php | Apache-2.0 |
public function setKeyEvent($var)
{
GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1beta\KeyEvent::class);
$this->key_event = $var;
return $this;
} | Required. The Key Event to create.
Generated from protobuf field <code>.google.analytics.admin.v1beta.KeyEvent key_event = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Analytics\Admin\V1beta\KeyEvent $var
@return $this | setKeyEvent | php | googleapis/google-cloud-php | AnalyticsAdmin/src/V1beta/CreateKeyEventRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1beta/CreateKeyEventRequest.php | Apache-2.0 |
public function setViews($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\ContactCenterInsights\V1\View::class);
$this->views = $arr;
return $this;
} | The views that match the request.
Generated from protobuf field <code>repeated .google.cloud.contactcenterinsights.v1.View views = 1;</code>
@param array<\Google\Cloud\ContactCenterInsights\V1\View>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setViews | php | googleapis/google-cloud-php | ContactCenterInsights/src/V1/ListViewsResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/ListViewsResponse.php | Apache-2.0 |
public function getAzureClusters()
{
return $this->azure_clusters;
} | A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
resources in the specified Google Cloud Platform project and region region.
Generated from protobuf field <code>repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1;</code>
@return \Google\Protobuf\Internal\RepeatedField | getAzureClusters | php | googleapis/google-cloud-php | GkeMultiCloud/src/V1/ListAzureClustersResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/ListAzureClustersResponse.php | Apache-2.0 |
public function setAzureClusters($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\GkeMultiCloud\V1\AzureCluster::class);
$this->azure_clusters = $arr;
return $this;
} | A list of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
resources in the specified Google Cloud Platform project and region region.
Generated from protobuf field <code>repeated .google.cloud.gkemulticloud.v1.AzureCluster azure_clusters = 1;</code>
@param array<\Google\Cloud\GkeMultiCloud\V1\AzureCluster>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setAzureClusters | php | googleapis/google-cloud-php | GkeMultiCloud/src/V1/ListAzureClustersResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/ListAzureClustersResponse.php | Apache-2.0 |
public function getVmwareEngineNetworkId()
{
return $this->vmware_engine_network_id;
} | Required. The user-provided identifier of the new VMware Engine network.
This identifier must be unique among VMware Engine network resources
within the parent and becomes the final token in the name URI. The
identifier must meet the following requirements:
* For networks of type LEGACY, adheres to the format:
`{region-id}-default`. Replace `{region-id}` with the region where you want
to create the VMware Engine network. For example, "us-central1-default".
* Only contains 1-63 alphanumeric characters and hyphens
* Begins with an alphabetical character
* Ends with a non-hyphen character
* Not formatted as a UUID
* Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034)
(section 3.5)
Generated from protobuf field <code>string vmware_engine_network_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getVmwareEngineNetworkId | 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 setVmwareEngineNetworkId($var)
{
GPBUtil::checkString($var, True);
$this->vmware_engine_network_id = $var;
return $this;
} | Required. The user-provided identifier of the new VMware Engine network.
This identifier must be unique among VMware Engine network resources
within the parent and becomes the final token in the name URI. The
identifier must meet the following requirements:
* For networks of type LEGACY, adheres to the format:
`{region-id}-default`. Replace `{region-id}` with the region where you want
to create the VMware Engine network. For example, "us-central1-default".
* Only contains 1-63 alphanumeric characters and hyphens
* Begins with an alphabetical character
* Ends with a non-hyphen character
* Not formatted as a UUID
* Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034)
(section 3.5)
Generated from protobuf field <code>string vmware_engine_network_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setVmwareEngineNetworkId | 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 getVmwareEngineNetwork()
{
return $this->vmware_engine_network;
} | Required. The initial description of the new VMware Engine network.
Generated from protobuf field <code>.google.cloud.vmwareengine.v1.VmwareEngineNetwork vmware_engine_network = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\VmwareEngine\V1\VmwareEngineNetwork|null | getVmwareEngineNetwork | 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 setVmwareEngineNetwork($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\VmwareEngine\V1\VmwareEngineNetwork::class);
$this->vmware_engine_network = $var;
return $this;
} | Required. The initial description of the new VMware Engine network.
Generated from protobuf field <code>.google.cloud.vmwareengine.v1.VmwareEngineNetwork vmware_engine_network = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\VmwareEngine\V1\VmwareEngineNetwork $var
@return $this | setVmwareEngineNetwork | 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 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 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.