code
stringlengths 17
296k
| docstring
stringlengths 30
30.3k
| func_name
stringlengths 1
89
| language
stringclasses 1
value | repo
stringlengths 7
63
| path
stringlengths 7
153
| url
stringlengths 51
209
| license
stringclasses 4
values |
---|---|---|---|---|---|---|---|
public function 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 getFields()
{
return $this->fields;
} | The requested fields.
Generated from protobuf field <code>repeated .google.firestore.admin.v1.Field fields = 1;</code>
@return \Google\Protobuf\Internal\RepeatedField | getFields | php | googleapis/google-cloud-php | Firestore/src/Admin/V1/ListFieldsResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Firestore/src/Admin/V1/ListFieldsResponse.php | Apache-2.0 |
public function setFields($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Firestore\Admin\V1\Field::class);
$this->fields = $arr;
return $this;
} | The requested fields.
Generated from protobuf field <code>repeated .google.firestore.admin.v1.Field fields = 1;</code>
@param array<\Google\Cloud\Firestore\Admin\V1\Field>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setFields | php | googleapis/google-cloud-php | Firestore/src/Admin/V1/ListFieldsResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Firestore/src/Admin/V1/ListFieldsResponse.php | Apache-2.0 |
public function getNextPageToken()
{
return $this->next_page_token;
} | A page token that may be used to request another page of results. If blank,
this is the last page.
Generated from protobuf field <code>string next_page_token = 2;</code>
@return string | getNextPageToken | php | googleapis/google-cloud-php | Firestore/src/Admin/V1/ListFieldsResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Firestore/src/Admin/V1/ListFieldsResponse.php | Apache-2.0 |
public function setNextPageToken($var)
{
GPBUtil::checkString($var, True);
$this->next_page_token = $var;
return $this;
} | A page token that may be used to request another page of results. If blank,
this is the last page.
Generated from protobuf field <code>string next_page_token = 2;</code>
@param string $var
@return $this | setNextPageToken | php | googleapis/google-cloud-php | Firestore/src/Admin/V1/ListFieldsResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Firestore/src/Admin/V1/ListFieldsResponse.php | Apache-2.0 |
public function getName()
{
return isset($this->name) ? $this->name : '';
} | Required. Name of the compute instance.
Generated from protobuf field <code>optional string name = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getName | 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 setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. Name of the compute instance.
Generated from protobuf field <code>optional string name = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setName | 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 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 getCanIpForward()
{
return isset($this->can_ip_forward) ? $this->can_ip_forward : false;
} | Optional. Allows this instance to send and receive packets with
non-matching destination or source IPs.
Generated from protobuf field <code>optional bool can_ip_forward = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@return bool | getCanIpForward | 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 setCanIpForward($var)
{
GPBUtil::checkBool($var);
$this->can_ip_forward = $var;
return $this;
} | Optional. Allows this instance to send and receive packets with
non-matching destination or source IPs.
Generated from protobuf field <code>optional bool can_ip_forward = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@param bool $var
@return $this | setCanIpForward | 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 getDeletionProtection()
{
return isset($this->deletion_protection) ? $this->deletion_protection : false;
} | Optional. Whether the resource should be protected against deletion.
Generated from protobuf field <code>optional bool deletion_protection = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@return bool | getDeletionProtection | 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 setDeletionProtection($var)
{
GPBUtil::checkBool($var);
$this->deletion_protection = $var;
return $this;
} | Optional. Whether the resource should be protected against deletion.
Generated from protobuf field <code>optional bool deletion_protection = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@param bool $var
@return $this | setDeletionProtection | 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 getDescription()
{
return isset($this->description) ? $this->description : '';
} | Optional. An optional description of this resource. Provide this property
when you create the resource.
Generated from protobuf field <code>optional string description = 6 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getDescription | 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 setDescription($var)
{
GPBUtil::checkString($var, True);
$this->description = $var;
return $this;
} | Optional. An optional description of this resource. Provide this property
when you create the resource.
Generated from protobuf field <code>optional string description = 6 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setDescription | 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 getDisks()
{
return $this->disks;
} | 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>
@return \Google\Protobuf\Internal\RepeatedField | getDisks | 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 getGuestAccelerators()
{
return $this->guest_accelerators;
} | 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>
@return \Google\Protobuf\Internal\RepeatedField | getGuestAccelerators | 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 setHostname($var)
{
GPBUtil::checkString($var, True);
$this->hostname = $var;
return $this;
} | 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>
@param string $var
@return $this | setHostname | 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 getLabels()
{
return $this->labels;
} | Optional. Labels to apply to this instance.
Generated from protobuf field <code>map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Protobuf\Internal\MapField | getLabels | 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 setLabels($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
$this->labels = $arr;
return $this;
} | Optional. Labels to apply to this instance.
Generated from protobuf field <code>map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this | setLabels | 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 getMachineType()
{
return isset($this->machine_type) ? $this->machine_type : '';
} | Optional. Full or partial URL of the machine type resource to use for this
instance.
Generated from protobuf field <code>optional string machine_type = 14 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getMachineType | 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 setMachineType($var)
{
GPBUtil::checkString($var, True);
$this->machine_type = $var;
return $this;
} | Optional. Full or partial URL of the machine type resource to use for this
instance.
Generated from protobuf field <code>optional string machine_type = 14 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setMachineType | 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 getMetadata()
{
return $this->metadata;
} | 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>
@return \Google\Cloud\BackupDR\V1\Metadata|null | getMetadata | 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 getMinCpuPlatform()
{
return isset($this->min_cpu_platform) ? $this->min_cpu_platform : '';
} | Optional. Minimum CPU platform to use for this instance.
Generated from protobuf field <code>optional string min_cpu_platform = 16 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getMinCpuPlatform | 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 setMinCpuPlatform($var)
{
GPBUtil::checkString($var, True);
$this->min_cpu_platform = $var;
return $this;
} | Optional. Minimum CPU platform to use for this instance.
Generated from protobuf field <code>optional string min_cpu_platform = 16 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setMinCpuPlatform | 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 getNetworkInterfaces()
{
return $this->network_interfaces;
} | 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>
@return \Google\Protobuf\Internal\RepeatedField | getNetworkInterfaces | 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 getNetworkPerformanceConfig()
{
return $this->network_performance_config;
} | 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>
@return \Google\Cloud\BackupDR\V1\NetworkPerformanceConfig|null | getNetworkPerformanceConfig | 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 getParams()
{
return $this->params;
} | 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>
@return \Google\Cloud\BackupDR\V1\InstanceParams|null | getParams | 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 getResourcePolicies()
{
return $this->resource_policies;
} | Optional. Resource policies applied to this instance.
Generated from protobuf field <code>repeated string resource_policies = 22 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Protobuf\Internal\RepeatedField | getResourcePolicies | 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 setResourcePolicies($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->resource_policies = $arr;
return $this;
} | Optional. Resource policies applied to this instance.
Generated from protobuf field <code>repeated string resource_policies = 22 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setResourcePolicies | 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 getScheduling()
{
return $this->scheduling;
} | 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>
@return \Google\Cloud\BackupDR\V1\Scheduling|null | getScheduling | 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 getServiceAccounts()
{
return $this->service_accounts;
} | 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>
@return \Google\Protobuf\Internal\RepeatedField | getServiceAccounts | 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 getTags()
{
return $this->tags;
} | 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>
@return \Google\Cloud\BackupDR\V1\Tags|null | getTags | 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 getName()
{
return $this->name;
} | Output only. The resource name of the RagCorpus.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getName | 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 setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Output only. The resource name of the RagCorpus.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | AiPlatform/src/V1/RagCorpus.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/RagCorpus.php | Apache-2.0 |
public function getDisplayName()
{
return $this->display_name;
} | Required. The display name of the RagCorpus.
The name can be up to 128 characters long and can consist of any UTF-8
characters.
Generated from protobuf field <code>string display_name = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getDisplayName | 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 setDisplayName($var)
{
GPBUtil::checkString($var, True);
$this->display_name = $var;
return $this;
} | Required. The display name of the RagCorpus.
The name can be up to 128 characters long and can consist of any UTF-8
characters.
Generated from protobuf field <code>string display_name = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setDisplayName | 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 getDescription()
{
return $this->description;
} | Optional. The description of the RagCorpus.
Generated from protobuf field <code>string description = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getDescription | 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 setDescription($var)
{
GPBUtil::checkString($var, True);
$this->description = $var;
return $this;
} | Optional. The description of the RagCorpus.
Generated from protobuf field <code>string description = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setDescription | 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 getCreateTime()
{
return $this->create_time;
} | Output only. Timestamp when this RagCorpus was created.
Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Protobuf\Timestamp|null | getCreateTime | 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 setCreateTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->create_time = $var;
return $this;
} | Output only. Timestamp when this RagCorpus was created.
Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setCreateTime | 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 getUpdateTime()
{
return $this->update_time;
} | Output only. Timestamp when this RagCorpus was last updated.
Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Protobuf\Timestamp|null | getUpdateTime | 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 setUpdateTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->update_time = $var;
return $this;
} | Output only. Timestamp when this RagCorpus was last updated.
Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setUpdateTime | 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 getEndpoint()
{
return $this->endpoint;
} | 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>
@return \Google\Cloud\AIPlatform\V1\Endpoint|null | getEndpoint | 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 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 getUpdateMask()
{
return $this->update_mask;
} | Required. The update mask applies to the resource. See
[google.protobuf.FieldMask][google.protobuf.FieldMask].
Generated from protobuf field <code>.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Protobuf\FieldMask|null | getUpdateMask | php | googleapis/google-cloud-php | AiPlatform/src/V1/UpdateEndpointRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/UpdateEndpointRequest.php | Apache-2.0 |
public function setUpdateMask($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
$this->update_mask = $var;
return $this;
} | Required. The update mask applies to the resource. See
[google.protobuf.FieldMask][google.protobuf.FieldMask].
Generated from protobuf field <code>.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Protobuf\FieldMask $var
@return $this | setUpdateMask | php | googleapis/google-cloud-php | AiPlatform/src/V1/UpdateEndpointRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/UpdateEndpointRequest.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. The name of the homepage to unclaim.
Format: `accounts/{account}/homepage`
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getName | php | googleapis/google-cloud-php | ShoppingMerchantAccounts/src/V1beta/UnclaimHomepageRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantAccounts/src/V1beta/UnclaimHomepageRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. The name of the homepage to unclaim.
Format: `accounts/{account}/homepage`
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | ShoppingMerchantAccounts/src/V1beta/UnclaimHomepageRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantAccounts/src/V1beta/UnclaimHomepageRequest.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 getParent()
{
return $this->parent;
} | Required. The resource name of the parent property where this Key Event
will be created. Format: properties/123
Generated from protobuf field <code>string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getParent | 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 setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | Required. The resource name of the parent property where this Key Event
will be created. Format: properties/123
Generated from protobuf field <code>string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setParent | 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 getName()
{
return $this->name;
} | Required. The name of the homepage to claim.
Format: `accounts/{account}/homepage`
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getName | php | googleapis/google-cloud-php | ShoppingMerchantAccounts/src/V1beta/ClaimHomepageRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantAccounts/src/V1beta/ClaimHomepageRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. The name of the homepage to claim.
Format: `accounts/{account}/homepage`
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | ShoppingMerchantAccounts/src/V1beta/ClaimHomepageRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantAccounts/src/V1beta/ClaimHomepageRequest.php | Apache-2.0 |
public function getViews()
{
return $this->views;
} | The views that match the request.
Generated from protobuf field <code>repeated .google.cloud.contactcenterinsights.v1.View views = 1;</code>
@return \Google\Protobuf\Internal\RepeatedField | getViews | 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 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 getNextPageToken()
{
return $this->next_page_token;
} | A token, which can be sent as `page_token` to retrieve the next page.
If this field is omitted, there are no subsequent pages.
Generated from protobuf field <code>string next_page_token = 2;</code>
@return string | getNextPageToken | 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 setNextPageToken($var)
{
GPBUtil::checkString($var, True);
$this->next_page_token = $var;
return $this;
} | A token, which can be sent as `page_token` to retrieve the next page.
If this field is omitted, there are no subsequent pages.
Generated from protobuf field <code>string next_page_token = 2;</code>
@param string $var
@return $this | setNextPageToken | 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 getNextPageToken()
{
return $this->next_page_token;
} | Token to retrieve the next page of results, or empty if there are no more
results in the list.
Generated from protobuf field <code>string next_page_token = 2;</code>
@return string | getNextPageToken | 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 setNextPageToken($var)
{
GPBUtil::checkString($var, True);
$this->next_page_token = $var;
return $this;
} | Token to retrieve the next page of results, or empty if there are no more
results in the list.
Generated from protobuf field <code>string next_page_token = 2;</code>
@param string $var
@return $this | setNextPageToken | 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 getParent()
{
return $this->parent;
} | Required. The resource name of the location to create the new VMware Engine
network in. A VMware Engine network of type
`LEGACY` is a regional resource, and a VMware
Engine network of type `STANDARD` is a global resource.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names. For example:
`projects/my-project/locations/global`
Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getParent | php | googleapis/google-cloud-php | VmwareEngine/src/V1/CreateVmwareEngineNetworkRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VmwareEngine/src/V1/CreateVmwareEngineNetworkRequest.php | Apache-2.0 |
public function setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | Required. The resource name of the location to create the new VMware Engine
network in. A VMware Engine network of type
`LEGACY` is a regional resource, and a VMware
Engine network of type `STANDARD` is a global resource.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names. For example:
`projects/my-project/locations/global`
Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setParent | php | googleapis/google-cloud-php | VmwareEngine/src/V1/CreateVmwareEngineNetworkRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VmwareEngine/src/V1/CreateVmwareEngineNetworkRequest.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 getRequestId()
{
return $this->request_id;
} | Optional. A request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server guarantees that a
request doesn't result in creation of duplicate commitments for at least 60
minutes.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
Generated from protobuf field <code>string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getRequestId | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.