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 setTagLength($var) { GPBUtil::checkInt32($var); $this->tag_length = $var; return $this; }
The length of the authentication tag that is appended to the end of the ciphertext. Generated from protobuf field <code>int32 tag_length = 3;</code> @param int $var @return $this
setTagLength
php
googleapis/google-cloud-php
Kms/src/V1/RawEncryptResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Kms/src/V1/RawEncryptResponse.php
Apache-2.0
public function getCiphertextCrc32C() { return $this->ciphertext_crc32c; }
Integrity verification field. A CRC32C checksum of the returned [RawEncryptResponse.ciphertext][google.cloud.kms.v1.RawEncryptResponse.ciphertext]. An integrity check of ciphertext can be performed by computing the CRC32C checksum of ciphertext and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type. Generated from protobuf field <code>.google.protobuf.Int64Value ciphertext_crc32c = 4;</code> @return \Google\Protobuf\Int64Value|null
getCiphertextCrc32C
php
googleapis/google-cloud-php
Kms/src/V1/RawEncryptResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Kms/src/V1/RawEncryptResponse.php
Apache-2.0
public function getCiphertextCrc32CUnwrapped() { return $this->readWrapperValue("ciphertext_crc32c"); }
Returns the unboxed value from <code>getCiphertextCrc32C()</code> Integrity verification field. A CRC32C checksum of the returned [RawEncryptResponse.ciphertext][google.cloud.kms.v1.RawEncryptResponse.ciphertext]. An integrity check of ciphertext can be performed by computing the CRC32C checksum of ciphertext and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type. Generated from protobuf field <code>.google.protobuf.Int64Value ciphertext_crc32c = 4;</code> @return int|string|null
getCiphertextCrc32CUnwrapped
php
googleapis/google-cloud-php
Kms/src/V1/RawEncryptResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Kms/src/V1/RawEncryptResponse.php
Apache-2.0
public function setCiphertextCrc32C($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Int64Value::class); $this->ciphertext_crc32c = $var; return $this; }
Integrity verification field. A CRC32C checksum of the returned [RawEncryptResponse.ciphertext][google.cloud.kms.v1.RawEncryptResponse.ciphertext]. An integrity check of ciphertext can be performed by computing the CRC32C checksum of ciphertext and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type. Generated from protobuf field <code>.google.protobuf.Int64Value ciphertext_crc32c = 4;</code> @param \Google\Protobuf\Int64Value $var @return $this
setCiphertextCrc32C
php
googleapis/google-cloud-php
Kms/src/V1/RawEncryptResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Kms/src/V1/RawEncryptResponse.php
Apache-2.0
public function setCiphertextCrc32CUnwrapped($var) { $this->writeWrapperValue("ciphertext_crc32c", $var); return $this;}
Sets the field by wrapping a primitive type in a Google\Protobuf\Int64Value object. Integrity verification field. A CRC32C checksum of the returned [RawEncryptResponse.ciphertext][google.cloud.kms.v1.RawEncryptResponse.ciphertext]. An integrity check of ciphertext can be performed by computing the CRC32C checksum of ciphertext and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type. Generated from protobuf field <code>.google.protobuf.Int64Value ciphertext_crc32c = 4;</code> @param int|string|null $var @return $this
setCiphertextCrc32CUnwrapped
php
googleapis/google-cloud-php
Kms/src/V1/RawEncryptResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Kms/src/V1/RawEncryptResponse.php
Apache-2.0
public function getInitializationVectorCrc32C() { return $this->initialization_vector_crc32c; }
Integrity verification field. A CRC32C checksum of the returned [RawEncryptResponse.initialization_vector][google.cloud.kms.v1.RawEncryptResponse.initialization_vector]. An integrity check of initialization_vector can be performed by computing the CRC32C checksum of initialization_vector and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type. Generated from protobuf field <code>.google.protobuf.Int64Value initialization_vector_crc32c = 5;</code> @return \Google\Protobuf\Int64Value|null
getInitializationVectorCrc32C
php
googleapis/google-cloud-php
Kms/src/V1/RawEncryptResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Kms/src/V1/RawEncryptResponse.php
Apache-2.0
public function getInitializationVectorCrc32CUnwrapped() { return $this->readWrapperValue("initialization_vector_crc32c"); }
Returns the unboxed value from <code>getInitializationVectorCrc32C()</code> Integrity verification field. A CRC32C checksum of the returned [RawEncryptResponse.initialization_vector][google.cloud.kms.v1.RawEncryptResponse.initialization_vector]. An integrity check of initialization_vector can be performed by computing the CRC32C checksum of initialization_vector and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type. Generated from protobuf field <code>.google.protobuf.Int64Value initialization_vector_crc32c = 5;</code> @return int|string|null
getInitializationVectorCrc32CUnwrapped
php
googleapis/google-cloud-php
Kms/src/V1/RawEncryptResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Kms/src/V1/RawEncryptResponse.php
Apache-2.0
public function setInitializationVectorCrc32C($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Int64Value::class); $this->initialization_vector_crc32c = $var; return $this; }
Integrity verification field. A CRC32C checksum of the returned [RawEncryptResponse.initialization_vector][google.cloud.kms.v1.RawEncryptResponse.initialization_vector]. An integrity check of initialization_vector can be performed by computing the CRC32C checksum of initialization_vector and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type. Generated from protobuf field <code>.google.protobuf.Int64Value initialization_vector_crc32c = 5;</code> @param \Google\Protobuf\Int64Value $var @return $this
setInitializationVectorCrc32C
php
googleapis/google-cloud-php
Kms/src/V1/RawEncryptResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Kms/src/V1/RawEncryptResponse.php
Apache-2.0
public function setInitializationVectorCrc32CUnwrapped($var) { $this->writeWrapperValue("initialization_vector_crc32c", $var); return $this;}
Sets the field by wrapping a primitive type in a Google\Protobuf\Int64Value object. Integrity verification field. A CRC32C checksum of the returned [RawEncryptResponse.initialization_vector][google.cloud.kms.v1.RawEncryptResponse.initialization_vector]. An integrity check of initialization_vector can be performed by computing the CRC32C checksum of initialization_vector and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type. Generated from protobuf field <code>.google.protobuf.Int64Value initialization_vector_crc32c = 5;</code> @param int|string|null $var @return $this
setInitializationVectorCrc32CUnwrapped
php
googleapis/google-cloud-php
Kms/src/V1/RawEncryptResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Kms/src/V1/RawEncryptResponse.php
Apache-2.0
public function getVerifiedPlaintextCrc32C() { return $this->verified_plaintext_crc32c; }
Integrity verification field. A flag indicating whether [RawEncryptRequest.plaintext_crc32c][google.cloud.kms.v1.RawEncryptRequest.plaintext_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the plaintext. A false value of this field indicates either that [RawEncryptRequest.plaintext_crc32c][google.cloud.kms.v1.RawEncryptRequest.plaintext_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [RawEncryptRequest.plaintext_crc32c][google.cloud.kms.v1.RawEncryptRequest.plaintext_crc32c] but this field is still false, discard the response and perform a limited number of retries. Generated from protobuf field <code>bool verified_plaintext_crc32c = 6;</code> @return bool
getVerifiedPlaintextCrc32C
php
googleapis/google-cloud-php
Kms/src/V1/RawEncryptResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Kms/src/V1/RawEncryptResponse.php
Apache-2.0
public function setVerifiedPlaintextCrc32C($var) { GPBUtil::checkBool($var); $this->verified_plaintext_crc32c = $var; return $this; }
Integrity verification field. A flag indicating whether [RawEncryptRequest.plaintext_crc32c][google.cloud.kms.v1.RawEncryptRequest.plaintext_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the plaintext. A false value of this field indicates either that [RawEncryptRequest.plaintext_crc32c][google.cloud.kms.v1.RawEncryptRequest.plaintext_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [RawEncryptRequest.plaintext_crc32c][google.cloud.kms.v1.RawEncryptRequest.plaintext_crc32c] but this field is still false, discard the response and perform a limited number of retries. Generated from protobuf field <code>bool verified_plaintext_crc32c = 6;</code> @param bool $var @return $this
setVerifiedPlaintextCrc32C
php
googleapis/google-cloud-php
Kms/src/V1/RawEncryptResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Kms/src/V1/RawEncryptResponse.php
Apache-2.0
public function getVerifiedAdditionalAuthenticatedDataCrc32C() { return $this->verified_additional_authenticated_data_crc32c; }
Integrity verification field. A flag indicating whether [RawEncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.RawEncryptRequest.additional_authenticated_data_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of additional_authenticated_data. A false value of this field indicates either that // [RawEncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.RawEncryptRequest.additional_authenticated_data_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [RawEncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.RawEncryptRequest.additional_authenticated_data_crc32c] but this field is still false, discard the response and perform a limited number of retries. Generated from protobuf field <code>bool verified_additional_authenticated_data_crc32c = 7;</code> @return bool
getVerifiedAdditionalAuthenticatedDataCrc32C
php
googleapis/google-cloud-php
Kms/src/V1/RawEncryptResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Kms/src/V1/RawEncryptResponse.php
Apache-2.0
public function setVerifiedAdditionalAuthenticatedDataCrc32C($var) { GPBUtil::checkBool($var); $this->verified_additional_authenticated_data_crc32c = $var; return $this; }
Integrity verification field. A flag indicating whether [RawEncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.RawEncryptRequest.additional_authenticated_data_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of additional_authenticated_data. A false value of this field indicates either that // [RawEncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.RawEncryptRequest.additional_authenticated_data_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [RawEncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.RawEncryptRequest.additional_authenticated_data_crc32c] but this field is still false, discard the response and perform a limited number of retries. Generated from protobuf field <code>bool verified_additional_authenticated_data_crc32c = 7;</code> @param bool $var @return $this
setVerifiedAdditionalAuthenticatedDataCrc32C
php
googleapis/google-cloud-php
Kms/src/V1/RawEncryptResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Kms/src/V1/RawEncryptResponse.php
Apache-2.0
public function getVerifiedInitializationVectorCrc32C() { return $this->verified_initialization_vector_crc32c; }
Integrity verification field. A flag indicating whether [RawEncryptRequest.initialization_vector_crc32c][google.cloud.kms.v1.RawEncryptRequest.initialization_vector_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of initialization_vector. A false value of this field indicates either that [RawEncryptRequest.initialization_vector_crc32c][google.cloud.kms.v1.RawEncryptRequest.initialization_vector_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [RawEncryptRequest.initialization_vector_crc32c][google.cloud.kms.v1.RawEncryptRequest.initialization_vector_crc32c] but this field is still false, discard the response and perform a limited number of retries. Generated from protobuf field <code>bool verified_initialization_vector_crc32c = 10;</code> @return bool
getVerifiedInitializationVectorCrc32C
php
googleapis/google-cloud-php
Kms/src/V1/RawEncryptResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Kms/src/V1/RawEncryptResponse.php
Apache-2.0
public function setVerifiedInitializationVectorCrc32C($var) { GPBUtil::checkBool($var); $this->verified_initialization_vector_crc32c = $var; return $this; }
Integrity verification field. A flag indicating whether [RawEncryptRequest.initialization_vector_crc32c][google.cloud.kms.v1.RawEncryptRequest.initialization_vector_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of initialization_vector. A false value of this field indicates either that [RawEncryptRequest.initialization_vector_crc32c][google.cloud.kms.v1.RawEncryptRequest.initialization_vector_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [RawEncryptRequest.initialization_vector_crc32c][google.cloud.kms.v1.RawEncryptRequest.initialization_vector_crc32c] but this field is still false, discard the response and perform a limited number of retries. Generated from protobuf field <code>bool verified_initialization_vector_crc32c = 10;</code> @param bool $var @return $this
setVerifiedInitializationVectorCrc32C
php
googleapis/google-cloud-php
Kms/src/V1/RawEncryptResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Kms/src/V1/RawEncryptResponse.php
Apache-2.0
public function getProtectionLevel() { return $this->protection_level; }
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption. Generated from protobuf field <code>.google.cloud.kms.v1.ProtectionLevel protection_level = 9;</code> @return int
getProtectionLevel
php
googleapis/google-cloud-php
Kms/src/V1/RawEncryptResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Kms/src/V1/RawEncryptResponse.php
Apache-2.0
public function setProtectionLevel($var) { GPBUtil::checkEnum($var, \Google\Cloud\Kms\V1\ProtectionLevel::class); $this->protection_level = $var; return $this; }
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption. Generated from protobuf field <code>.google.cloud.kms.v1.ProtectionLevel protection_level = 9;</code> @param int $var @return $this
setProtectionLevel
php
googleapis/google-cloud-php
Kms/src/V1/RawEncryptResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Kms/src/V1/RawEncryptResponse.php
Apache-2.0
public function setState($var) { GPBUtil::checkEnum($var, \Google\Cloud\Video\LiveStream\V1\Clip\State::class); $this->state = $var; return $this; }
Output only. The state of the clip. Generated from protobuf field <code>.google.cloud.video.livestream.v1.Clip.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param int $var @return $this
setState
php
googleapis/google-cloud-php
VideoLiveStream/src/V1/Clip.php
https://github.com/googleapis/google-cloud-php/blob/master/VideoLiveStream/src/V1/Clip.php
Apache-2.0
public function getSlices() { return $this->slices; }
The specified ranges of segments to generate a clip. Generated from protobuf field <code>repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;</code> @return \Google\Protobuf\Internal\RepeatedField
getSlices
php
googleapis/google-cloud-php
VideoLiveStream/src/V1/Clip.php
https://github.com/googleapis/google-cloud-php/blob/master/VideoLiveStream/src/V1/Clip.php
Apache-2.0
public function setSlices($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Video\LiveStream\V1\Clip\Slice::class); $this->slices = $arr; return $this; }
The specified ranges of segments to generate a clip. Generated from protobuf field <code>repeated .google.cloud.video.livestream.v1.Clip.Slice slices = 10;</code> @param array<\Google\Cloud\Video\LiveStream\V1\Clip\Slice>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setSlices
php
googleapis/google-cloud-php
VideoLiveStream/src/V1/Clip.php
https://github.com/googleapis/google-cloud-php/blob/master/VideoLiveStream/src/V1/Clip.php
Apache-2.0
public function getClipManifests() { return $this->clip_manifests; }
Required. A list of clip manifests. Currently only one clip manifest is allowed. Generated from protobuf field <code>repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Protobuf\Internal\RepeatedField
getClipManifests
php
googleapis/google-cloud-php
VideoLiveStream/src/V1/Clip.php
https://github.com/googleapis/google-cloud-php/blob/master/VideoLiveStream/src/V1/Clip.php
Apache-2.0
public function setClipManifests($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Video\LiveStream\V1\Clip\ClipManifest::class); $this->clip_manifests = $arr; return $this; }
Required. A list of clip manifests. Currently only one clip manifest is allowed. Generated from protobuf field <code>repeated .google.cloud.video.livestream.v1.Clip.ClipManifest clip_manifests = 12 [(.google.api.field_behavior) = REQUIRED];</code> @param array<\Google\Cloud\Video\LiveStream\V1\Clip\ClipManifest>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setClipManifests
php
googleapis/google-cloud-php
VideoLiveStream/src/V1/Clip.php
https://github.com/googleapis/google-cloud-php/blob/master/VideoLiveStream/src/V1/Clip.php
Apache-2.0
public function getResourceDescriptors() { return $this->resource_descriptors; }
The monitored resource descriptors that are available to this project and that match `filter`, if present. Generated from protobuf field <code>repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getResourceDescriptors
php
googleapis/google-cloud-php
Monitoring/src/V3/ListMonitoredResourceDescriptorsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Monitoring/src/V3/ListMonitoredResourceDescriptorsResponse.php
Apache-2.0
public function setResourceDescriptors($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\MonitoredResourceDescriptor::class); $this->resource_descriptors = $arr; return $this; }
The monitored resource descriptors that are available to this project and that match `filter`, if present. Generated from protobuf field <code>repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;</code> @param array<\Google\Api\MonitoredResourceDescriptor>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setResourceDescriptors
php
googleapis/google-cloud-php
Monitoring/src/V3/ListMonitoredResourceDescriptorsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Monitoring/src/V3/ListMonitoredResourceDescriptorsResponse.php
Apache-2.0
public function getPrivateConnections() { return $this->private_connections; }
List of private connections. Generated from protobuf field <code>repeated .google.cloud.clouddms.v1.PrivateConnection private_connections = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getPrivateConnections
php
googleapis/google-cloud-php
Dms/src/V1/ListPrivateConnectionsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Dms/src/V1/ListPrivateConnectionsResponse.php
Apache-2.0
public function setPrivateConnections($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\CloudDms\V1\PrivateConnection::class); $this->private_connections = $arr; return $this; }
List of private connections. Generated from protobuf field <code>repeated .google.cloud.clouddms.v1.PrivateConnection private_connections = 1;</code> @param array<\Google\Cloud\CloudDms\V1\PrivateConnection>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setPrivateConnections
php
googleapis/google-cloud-php
Dms/src/V1/ListPrivateConnectionsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Dms/src/V1/ListPrivateConnectionsResponse.php
Apache-2.0
public function setState($var) { GPBUtil::checkEnum($var, \Google\Cloud\Config\V1\TerraformVersion\State::class); $this->state = $var; return $this; }
Output only. The state of the version, ACTIVE, DEPRECATED or OBSOLETE. Generated from protobuf field <code>.google.cloud.config.v1.TerraformVersion.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param int $var @return $this
setState
php
googleapis/google-cloud-php
Config/src/V1/TerraformVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/TerraformVersion.php
Apache-2.0
public function getSupportTime() { return $this->support_time; }
Output only. When the version is supported. Generated from protobuf field <code>.google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Timestamp|null
getSupportTime
php
googleapis/google-cloud-php
Config/src/V1/TerraformVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/TerraformVersion.php
Apache-2.0
public function setSupportTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->support_time = $var; return $this; }
Output only. When the version is supported. Generated from protobuf field <code>.google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Protobuf\Timestamp $var @return $this
setSupportTime
php
googleapis/google-cloud-php
Config/src/V1/TerraformVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/TerraformVersion.php
Apache-2.0
public function getDeprecateTime() { return $this->deprecate_time; }
Output only. When the version is deprecated. Generated from protobuf field <code>optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Timestamp|null
getDeprecateTime
php
googleapis/google-cloud-php
Config/src/V1/TerraformVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/TerraformVersion.php
Apache-2.0
public function setDeprecateTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->deprecate_time = $var; return $this; }
Output only. When the version is deprecated. Generated from protobuf field <code>optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Protobuf\Timestamp $var @return $this
setDeprecateTime
php
googleapis/google-cloud-php
Config/src/V1/TerraformVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/TerraformVersion.php
Apache-2.0
public function getObsoleteTime() { return $this->obsolete_time; }
Output only. When the version is obsolete. Generated from protobuf field <code>optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Timestamp|null
getObsoleteTime
php
googleapis/google-cloud-php
Config/src/V1/TerraformVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/TerraformVersion.php
Apache-2.0
public function setObsoleteTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->obsolete_time = $var; return $this; }
Output only. When the version is obsolete. Generated from protobuf field <code>optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Protobuf\Timestamp $var @return $this
setObsoleteTime
php
googleapis/google-cloud-php
Config/src/V1/TerraformVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/TerraformVersion.php
Apache-2.0
public function setAttributes($var) { $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Eventarc\Publishing\V1\CloudEvent\CloudEventAttributeValue::class); $this->attributes = $arr; return $this; }
Optional. Used for Optional & Extension Attributes Generated from protobuf field <code>map<string, .google.cloud.eventarc.publishing.v1.CloudEvent.CloudEventAttributeValue> attributes = 5 [(.google.api.field_behavior) = OPTIONAL];</code> @param array|\Google\Protobuf\Internal\MapField $var @return $this
setAttributes
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent.php
Apache-2.0
public function getBinaryData() { return $this->readOneof(6); }
Optional. Binary data. Generated from protobuf field <code>bytes binary_data = 6 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getBinaryData
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent.php
Apache-2.0
public function setBinaryData($var) { GPBUtil::checkString($var, False); $this->writeOneof(6, $var); return $this; }
Optional. Binary data. Generated from protobuf field <code>bytes binary_data = 6 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setBinaryData
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent.php
Apache-2.0
public function getTextData() { return $this->readOneof(7); }
Optional. Text data. Generated from protobuf field <code>string text_data = 7 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getTextData
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent.php
Apache-2.0
public function setTextData($var) { GPBUtil::checkString($var, True); $this->writeOneof(7, $var); return $this; }
Optional. Text data. Generated from protobuf field <code>string text_data = 7 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setTextData
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent.php
Apache-2.0
public function getProtoData() { return $this->readOneof(8); }
Optional. Proto data. Generated from protobuf field <code>.google.protobuf.Any proto_data = 8 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Protobuf\Any|null
getProtoData
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent.php
Apache-2.0
public function setProtoData($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Any::class); $this->writeOneof(8, $var); return $this; }
Optional. Proto data. Generated from protobuf field <code>.google.protobuf.Any proto_data = 8 [(.google.api.field_behavior) = OPTIONAL];</code> @param \Google\Protobuf\Any $var @return $this
setProtoData
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent.php
Apache-2.0
public function getObjectUri() { return $this->object_uri; }
Required. Format: `gs://<bucket-name>/<object-name>` Generated from protobuf field <code>string object_uri = 1 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getObjectUri
php
googleapis/google-cloud-php
ContactCenterInsights/src/V1/ImportIssueModelRequest/GcsSource.php
https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/ImportIssueModelRequest/GcsSource.php
Apache-2.0
public function setObjectUri($var) { GPBUtil::checkString($var, True); $this->object_uri = $var; return $this; }
Required. Format: `gs://<bucket-name>/<object-name>` Generated from protobuf field <code>string object_uri = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setObjectUri
php
googleapis/google-cloud-php
ContactCenterInsights/src/V1/ImportIssueModelRequest/GcsSource.php
https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/ImportIssueModelRequest/GcsSource.php
Apache-2.0
public function getCloneJobs() { return $this->clone_jobs; }
Output only. The list of clone jobs response. Generated from protobuf field <code>repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Internal\RepeatedField
getCloneJobs
php
googleapis/google-cloud-php
VmMigration/src/V1/ListCloneJobsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/ListCloneJobsResponse.php
Apache-2.0
public function setCloneJobs($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\VMMigration\V1\CloneJob::class); $this->clone_jobs = $arr; return $this; }
Output only. The list of clone jobs response. Generated from protobuf field <code>repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param array<\Google\Cloud\VMMigration\V1\CloneJob>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setCloneJobs
php
googleapis/google-cloud-php
VmMigration/src/V1/ListCloneJobsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/ListCloneJobsResponse.php
Apache-2.0
public function setColumns($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->columns = $arr; return $this; }
The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data. Generated from protobuf field <code>repeated string columns = 2;</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setColumns
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php
Apache-2.0
public function getEscapeCharacter() { return $this->escape_character; }
Specifies the character that should appear before a data character that needs to be escaped. Generated from protobuf field <code>string escape_character = 4;</code> @return string
getEscapeCharacter
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php
Apache-2.0
public function setEscapeCharacter($var) { GPBUtil::checkString($var, True); $this->escape_character = $var; return $this; }
Specifies the character that should appear before a data character that needs to be escaped. Generated from protobuf field <code>string escape_character = 4;</code> @param string $var @return $this
setEscapeCharacter
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php
Apache-2.0
public function getQuoteCharacter() { return $this->quote_character; }
Specifies the quoting character to be used when a data value is quoted. Generated from protobuf field <code>string quote_character = 5;</code> @return string
getQuoteCharacter
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php
Apache-2.0
public function setQuoteCharacter($var) { GPBUtil::checkString($var, True); $this->quote_character = $var; return $this; }
Specifies the quoting character to be used when a data value is quoted. Generated from protobuf field <code>string quote_character = 5;</code> @param string $var @return $this
setQuoteCharacter
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php
Apache-2.0
public function getFieldsTerminatedBy() { return $this->fields_terminated_by; }
Specifies the character that separates columns within each row (line) of the file. Generated from protobuf field <code>string fields_terminated_by = 6;</code> @return string
getFieldsTerminatedBy
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php
Apache-2.0
public function setFieldsTerminatedBy($var) { GPBUtil::checkString($var, True); $this->fields_terminated_by = $var; return $this; }
Specifies the character that separates columns within each row (line) of the file. Generated from protobuf field <code>string fields_terminated_by = 6;</code> @param string $var @return $this
setFieldsTerminatedBy
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php
Apache-2.0
public function getLinesTerminatedBy() { return $this->lines_terminated_by; }
This is used to separate lines. If a line does not contain all fields, the rest of the columns are set to their default values. Generated from protobuf field <code>string lines_terminated_by = 8;</code> @return string
getLinesTerminatedBy
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php
Apache-2.0
public function setLinesTerminatedBy($var) { GPBUtil::checkString($var, True); $this->lines_terminated_by = $var; return $this; }
This is used to separate lines. If a line does not contain all fields, the rest of the columns are set to their default values. Generated from protobuf field <code>string lines_terminated_by = 8;</code> @param string $var @return $this
setLinesTerminatedBy
php
googleapis/google-cloud-php
SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php
Apache-2.0
public function getBenchmarkDocument() { return $this->benchmark_document; }
The name of the document that defines this benchmark, e.g. "CIS Container-Optimized OS". Generated from protobuf field <code>string benchmark_document = 3;</code> @return string
getBenchmarkDocument
php
googleapis/google-cloud-php
Grafeas/src/V1/ComplianceVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/ComplianceVersion.php
Apache-2.0
public function setBenchmarkDocument($var) { GPBUtil::checkString($var, True); $this->benchmark_document = $var; return $this; }
The name of the document that defines this benchmark, e.g. "CIS Container-Optimized OS". Generated from protobuf field <code>string benchmark_document = 3;</code> @param string $var @return $this
setBenchmarkDocument
php
googleapis/google-cloud-php
Grafeas/src/V1/ComplianceVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/ComplianceVersion.php
Apache-2.0
public function setAccount($var) { GPBUtil::checkInt64($var); $this->account = $var; return $this; }
Output only. The account that owns the product. This field will be ignored if set by the client. Generated from protobuf field <code>int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param int|string $var @return $this
setAccount
php
googleapis/google-cloud-php
ShoppingMerchantInventories/src/V1beta/LocalInventory.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php
Apache-2.0
public function setSalePrice($var) { GPBUtil::checkMessage($var, \Google\Shopping\Type\Price::class); $this->sale_price = $var; return $this; }
Sale price of the product at this store. Mandatory if [`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date] is defined. Generated from protobuf field <code>.google.shopping.type.Price sale_price = 5;</code> @param \Google\Shopping\Type\Price $var @return $this
setSalePrice
php
googleapis/google-cloud-php
ShoppingMerchantInventories/src/V1beta/LocalInventory.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php
Apache-2.0
public function getSalePriceEffectiveDate() { return $this->sale_price_effective_date; }
The `TimePeriod` of the sale at this store. Generated from protobuf field <code>.google.type.Interval sale_price_effective_date = 6;</code> @return \Google\Type\Interval|null
getSalePriceEffectiveDate
php
googleapis/google-cloud-php
ShoppingMerchantInventories/src/V1beta/LocalInventory.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php
Apache-2.0
public function setSalePriceEffectiveDate($var) { GPBUtil::checkMessage($var, \Google\Type\Interval::class); $this->sale_price_effective_date = $var; return $this; }
The `TimePeriod` of the sale at this store. Generated from protobuf field <code>.google.type.Interval sale_price_effective_date = 6;</code> @param \Google\Type\Interval $var @return $this
setSalePriceEffectiveDate
php
googleapis/google-cloud-php
ShoppingMerchantInventories/src/V1beta/LocalInventory.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php
Apache-2.0
public function getQuantity() { return isset($this->quantity) ? $this->quantity : 0; }
Quantity of the product available at this store. Must be greater than or equal to zero. Generated from protobuf field <code>optional int64 quantity = 8;</code> @return int|string
getQuantity
php
googleapis/google-cloud-php
ShoppingMerchantInventories/src/V1beta/LocalInventory.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php
Apache-2.0
public function getPickupMethod() { return isset($this->pickup_method) ? $this->pickup_method : ''; }
Supported pickup method for this product. Unless the value is `"not supported"`, this field must be submitted together with `pickupSla`. For accepted attribute values, see the [local product inventory data specification](https://support.google.com/merchants/answer/3061342) Generated from protobuf field <code>optional string pickup_method = 9;</code> @return string
getPickupMethod
php
googleapis/google-cloud-php
ShoppingMerchantInventories/src/V1beta/LocalInventory.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php
Apache-2.0
public function setPickupMethod($var) { GPBUtil::checkString($var, True); $this->pickup_method = $var; return $this; }
Supported pickup method for this product. Unless the value is `"not supported"`, this field must be submitted together with `pickupSla`. For accepted attribute values, see the [local product inventory data specification](https://support.google.com/merchants/answer/3061342) Generated from protobuf field <code>optional string pickup_method = 9;</code> @param string $var @return $this
setPickupMethod
php
googleapis/google-cloud-php
ShoppingMerchantInventories/src/V1beta/LocalInventory.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php
Apache-2.0
public function getPickupSla() { return isset($this->pickup_sla) ? $this->pickup_sla : ''; }
Relative time period from the order date for an order for this product, from this store, to be ready for pickup. Must be submitted with `pickupMethod`. For accepted attribute values, see the [local product inventory data specification](https://support.google.com/merchants/answer/3061342) Generated from protobuf field <code>optional string pickup_sla = 10;</code> @return string
getPickupSla
php
googleapis/google-cloud-php
ShoppingMerchantInventories/src/V1beta/LocalInventory.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php
Apache-2.0
public function setPickupSla($var) { GPBUtil::checkString($var, True); $this->pickup_sla = $var; return $this; }
Relative time period from the order date for an order for this product, from this store, to be ready for pickup. Must be submitted with `pickupMethod`. For accepted attribute values, see the [local product inventory data specification](https://support.google.com/merchants/answer/3061342) Generated from protobuf field <code>optional string pickup_sla = 10;</code> @param string $var @return $this
setPickupSla
php
googleapis/google-cloud-php
ShoppingMerchantInventories/src/V1beta/LocalInventory.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php
Apache-2.0
public function getInstoreProductLocation() { return isset($this->instore_product_location) ? $this->instore_product_location : ''; }
Location of the product inside the store. Maximum length is 20 bytes. Generated from protobuf field <code>optional string instore_product_location = 11;</code> @return string
getInstoreProductLocation
php
googleapis/google-cloud-php
ShoppingMerchantInventories/src/V1beta/LocalInventory.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php
Apache-2.0
public function setInstoreProductLocation($var) { GPBUtil::checkString($var, True); $this->instore_product_location = $var; return $this; }
Location of the product inside the store. Maximum length is 20 bytes. Generated from protobuf field <code>optional string instore_product_location = 11;</code> @param string $var @return $this
setInstoreProductLocation
php
googleapis/google-cloud-php
ShoppingMerchantInventories/src/V1beta/LocalInventory.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php
Apache-2.0
public function getMetadataResource() { return $this->metadata_resource; }
The body resource for this request Generated from protobuf field <code>.google.cloud.compute.v1.Metadata metadata_resource = 291086110 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Cloud\Compute\V1\Metadata|null
getMetadataResource
php
googleapis/google-cloud-php
Compute/src/V1/SetMetadataInstanceRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetMetadataInstanceRequest.php
Apache-2.0
public function setMetadataResource($var) { GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\Metadata::class); $this->metadata_resource = $var; return $this; }
The body resource for this request Generated from protobuf field <code>.google.cloud.compute.v1.Metadata metadata_resource = 291086110 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\Compute\V1\Metadata $var @return $this
setMetadataResource
php
googleapis/google-cloud-php
Compute/src/V1/SetMetadataInstanceRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetMetadataInstanceRequest.php
Apache-2.0
public function getSslConfig() { return $this->ssl_config; }
Optional. SSL configuration for the PostgreSQL connection. In case PostgresqlSslConfig is not set, the connection will use the default SSL mode, which is `prefer` (i.e. this mode will only use encryption if enabled from database side, otherwise will use unencrypted communication) Generated from protobuf field <code>.google.cloud.datastream.v1.PostgresqlSslConfig ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Cloud\Datastream\V1\PostgresqlSslConfig|null
getSslConfig
php
googleapis/google-cloud-php
Datastream/src/V1/PostgresqlProfile.php
https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/PostgresqlProfile.php
Apache-2.0
public function setSslConfig($var) { GPBUtil::checkMessage($var, \Google\Cloud\Datastream\V1\PostgresqlSslConfig::class); $this->ssl_config = $var; return $this; }
Optional. SSL configuration for the PostgreSQL connection. In case PostgresqlSslConfig is not set, the connection will use the default SSL mode, which is `prefer` (i.e. this mode will only use encryption if enabled from database side, otherwise will use unencrypted communication) Generated from protobuf field <code>.google.cloud.datastream.v1.PostgresqlSslConfig ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];</code> @param \Google\Cloud\Datastream\V1\PostgresqlSslConfig $var @return $this
setSslConfig
php
googleapis/google-cloud-php
Datastream/src/V1/PostgresqlProfile.php
https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/PostgresqlProfile.php
Apache-2.0
public function getSignedEntities() { return $this->signed_entities; }
Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification. Generated from protobuf field <code>repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Protobuf\Internal\RepeatedField
getSignedEntities
php
googleapis/google-cloud-php
ConfidentialComputing/src/V1/ConfidentialSpaceInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/ConfidentialComputing/src/V1/ConfidentialSpaceInfo.php
Apache-2.0
public function setSignedEntities($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\ConfidentialComputing\V1\SignedEntity::class); $this->signed_entities = $arr; return $this; }
Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification. Generated from protobuf field <code>repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @param array<\Google\Cloud\ConfidentialComputing\V1\SignedEntity>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setSignedEntities
php
googleapis/google-cloud-php
ConfidentialComputing/src/V1/ConfidentialSpaceInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/ConfidentialComputing/src/V1/ConfidentialSpaceInfo.php
Apache-2.0
public function getDockerRepository() { return $this->readOneof(2); }
Specific settings for a Docker remote repository. Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository docker_repository = 2;</code> @return \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\DockerRepository|null
getDockerRepository
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
Apache-2.0
public function setDockerRepository($var) { GPBUtil::checkMessage($var, \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\DockerRepository::class); $this->writeOneof(2, $var); return $this; }
Specific settings for a Docker remote repository. Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository docker_repository = 2;</code> @param \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\DockerRepository $var @return $this
setDockerRepository
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
Apache-2.0
public function getMavenRepository() { return $this->readOneof(3); }
Specific settings for a Maven remote repository. Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository maven_repository = 3;</code> @return \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\MavenRepository|null
getMavenRepository
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
Apache-2.0
public function setMavenRepository($var) { GPBUtil::checkMessage($var, \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\MavenRepository::class); $this->writeOneof(3, $var); return $this; }
Specific settings for a Maven remote repository. Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository maven_repository = 3;</code> @param \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\MavenRepository $var @return $this
setMavenRepository
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
Apache-2.0
public function getNpmRepository() { return $this->readOneof(4); }
Specific settings for an Npm remote repository. Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository npm_repository = 4;</code> @return \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\NpmRepository|null
getNpmRepository
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
Apache-2.0
public function setNpmRepository($var) { GPBUtil::checkMessage($var, \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\NpmRepository::class); $this->writeOneof(4, $var); return $this; }
Specific settings for an Npm remote repository. Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository npm_repository = 4;</code> @param \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\NpmRepository $var @return $this
setNpmRepository
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
Apache-2.0
public function getPythonRepository() { return $this->readOneof(5); }
Specific settings for a Python remote repository. Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository python_repository = 5;</code> @return \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\PythonRepository|null
getPythonRepository
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
Apache-2.0
public function setPythonRepository($var) { GPBUtil::checkMessage($var, \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\PythonRepository::class); $this->writeOneof(5, $var); return $this; }
Specific settings for a Python remote repository. Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository python_repository = 5;</code> @param \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\PythonRepository $var @return $this
setPythonRepository
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
Apache-2.0
public function getAptRepository() { return $this->readOneof(6); }
Specific settings for an Apt remote repository. Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository apt_repository = 6;</code> @return \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\AptRepository|null
getAptRepository
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
Apache-2.0
public function setAptRepository($var) { GPBUtil::checkMessage($var, \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\AptRepository::class); $this->writeOneof(6, $var); return $this; }
Specific settings for an Apt remote repository. Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository apt_repository = 6;</code> @param \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\AptRepository $var @return $this
setAptRepository
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
Apache-2.0
public function getYumRepository() { return $this->readOneof(7); }
Specific settings for a Yum remote repository. Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository yum_repository = 7;</code> @return \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\YumRepository|null
getYumRepository
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
Apache-2.0
public function setYumRepository($var) { GPBUtil::checkMessage($var, \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\YumRepository::class); $this->writeOneof(7, $var); return $this; }
Specific settings for a Yum remote repository. Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository yum_repository = 7;</code> @param \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\YumRepository $var @return $this
setYumRepository
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
Apache-2.0
public function getCommonRepository() { return $this->readOneof(14); }
Common remote repository settings. Used as the remote repository upstream URL. Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.CommonRemoteRepository common_repository = 14;</code> @return \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\CommonRemoteRepository|null
getCommonRepository
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
Apache-2.0
public function setCommonRepository($var) { GPBUtil::checkMessage($var, \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\CommonRemoteRepository::class); $this->writeOneof(14, $var); return $this; }
Common remote repository settings. Used as the remote repository upstream URL. Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.CommonRemoteRepository common_repository = 14;</code> @param \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\CommonRemoteRepository $var @return $this
setCommonRepository
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
Apache-2.0
public function getUpstreamCredentials() { return $this->upstream_credentials; }
Optional. The credentials used to access the remote repository. Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials upstream_credentials = 9 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\UpstreamCredentials|null
getUpstreamCredentials
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
Apache-2.0
public function setUpstreamCredentials($var) { GPBUtil::checkMessage($var, \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\UpstreamCredentials::class); $this->upstream_credentials = $var; return $this; }
Optional. The credentials used to access the remote repository. Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials upstream_credentials = 9 [(.google.api.field_behavior) = OPTIONAL];</code> @param \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\UpstreamCredentials $var @return $this
setUpstreamCredentials
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
Apache-2.0
public function getDisableUpstreamValidation() { return $this->disable_upstream_validation; }
Input only. A create/update remote repo option to avoid making a HEAD/GET request to validate a remote repo and any supplied upstream credentials. Generated from protobuf field <code>bool disable_upstream_validation = 12 [(.google.api.field_behavior) = INPUT_ONLY];</code> @return bool
getDisableUpstreamValidation
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
Apache-2.0
public function setDisableUpstreamValidation($var) { GPBUtil::checkBool($var); $this->disable_upstream_validation = $var; return $this; }
Input only. A create/update remote repo option to avoid making a HEAD/GET request to validate a remote repo and any supplied upstream credentials. Generated from protobuf field <code>bool disable_upstream_validation = 12 [(.google.api.field_behavior) = INPUT_ONLY];</code> @param bool $var @return $this
setDisableUpstreamValidation
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php
Apache-2.0
public function getVersionConfigs() { return $this->version_configs; }
A list of configurations for flow versions. You should include version configs for all flows that are reachable from [`Start Flow`][Agent.start_flow] in the agent. Otherwise, an error will be returned. Generated from protobuf field <code>repeated .google.cloud.dialogflow.cx.v3.Environment.VersionConfig version_configs = 6;</code> @return \Google\Protobuf\Internal\RepeatedField
getVersionConfigs
php
googleapis/google-cloud-php
DialogflowCx/src/V3/Environment.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Environment.php
Apache-2.0
public function setVersionConfigs($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\Cx\V3\Environment\VersionConfig::class); $this->version_configs = $arr; return $this; }
A list of configurations for flow versions. You should include version configs for all flows that are reachable from [`Start Flow`][Agent.start_flow] in the agent. Otherwise, an error will be returned. Generated from protobuf field <code>repeated .google.cloud.dialogflow.cx.v3.Environment.VersionConfig version_configs = 6;</code> @param array<\Google\Cloud\Dialogflow\Cx\V3\Environment\VersionConfig>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setVersionConfigs
php
googleapis/google-cloud-php
DialogflowCx/src/V3/Environment.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Environment.php
Apache-2.0
public function getTestCasesConfig() { return $this->test_cases_config; }
The test cases config for continuous tests of this environment. Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig test_cases_config = 7;</code> @return \Google\Cloud\Dialogflow\Cx\V3\Environment\TestCasesConfig|null
getTestCasesConfig
php
googleapis/google-cloud-php
DialogflowCx/src/V3/Environment.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Environment.php
Apache-2.0
public function setTestCasesConfig($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\Cx\V3\Environment\TestCasesConfig::class); $this->test_cases_config = $var; return $this; }
The test cases config for continuous tests of this environment. Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig test_cases_config = 7;</code> @param \Google\Cloud\Dialogflow\Cx\V3\Environment\TestCasesConfig $var @return $this
setTestCasesConfig
php
googleapis/google-cloud-php
DialogflowCx/src/V3/Environment.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Environment.php
Apache-2.0
public function getWebhookConfig() { return $this->webhook_config; }
The webhook configuration for this environment. Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.Environment.WebhookConfig webhook_config = 10;</code> @return \Google\Cloud\Dialogflow\Cx\V3\Environment\WebhookConfig|null
getWebhookConfig
php
googleapis/google-cloud-php
DialogflowCx/src/V3/Environment.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Environment.php
Apache-2.0
public function setWebhookConfig($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\Cx\V3\Environment\WebhookConfig::class); $this->webhook_config = $var; return $this; }
The webhook configuration for this environment. Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.Environment.WebhookConfig webhook_config = 10;</code> @param \Google\Cloud\Dialogflow\Cx\V3\Environment\WebhookConfig $var @return $this
setWebhookConfig
php
googleapis/google-cloud-php
DialogflowCx/src/V3/Environment.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Environment.php
Apache-2.0
public function setPscAutoConnection($var) { GPBUtil::checkMessage($var, \Google\Cloud\Memorystore\V1\PscAutoConnection::class); $this->writeOneof(1, $var); return $this; }
Detailed information of a PSC connection that is created through service connectivity automation. Generated from protobuf field <code>.google.cloud.memorystore.v1.PscAutoConnection psc_auto_connection = 1;</code> @param \Google\Cloud\Memorystore\V1\PscAutoConnection $var @return $this
setPscAutoConnection
php
googleapis/google-cloud-php
Memorystore/src/V1/Instance/ConnectionDetail.php
https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/Instance/ConnectionDetail.php
Apache-2.0
public function setPscConnection($var) { GPBUtil::checkMessage($var, \Google\Cloud\Memorystore\V1\PscConnection::class); $this->writeOneof(2, $var); return $this; }
Detailed information of a PSC connection that is created by the user. Generated from protobuf field <code>.google.cloud.memorystore.v1.PscConnection psc_connection = 2;</code> @param \Google\Cloud\Memorystore\V1\PscConnection $var @return $this
setPscConnection
php
googleapis/google-cloud-php
Memorystore/src/V1/Instance/ConnectionDetail.php
https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/Instance/ConnectionDetail.php
Apache-2.0
public function getMajorVersion() { return isset($this->major_version) ? $this->major_version : ''; }
The version's major version name. Generated from protobuf field <code>optional string major_version = 3;</code> @return string
getMajorVersion
php
googleapis/google-cloud-php
SqlAdmin/src/V1/AvailableDatabaseVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/AvailableDatabaseVersion.php
Apache-2.0
public function setMajorVersion($var) { GPBUtil::checkString($var, True); $this->major_version = $var; return $this; }
The version's major version name. Generated from protobuf field <code>optional string major_version = 3;</code> @param string $var @return $this
setMajorVersion
php
googleapis/google-cloud-php
SqlAdmin/src/V1/AvailableDatabaseVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/AvailableDatabaseVersion.php
Apache-2.0