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 setIsPinned($var) { GPBUtil::checkBool($var); $this->is_pinned = $var; return $this; }
Optional. Whether the session is pinned, pinned session will be displayed on the top of the session list. Generated from protobuf field <code>bool is_pinned = 8 [(.google.api.field_behavior) = OPTIONAL];</code> @param bool $var @return $this
setIsPinned
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/Session.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Session.php
Apache-2.0
public function getEvaluationMode() { return $this->evaluation_mode; }
Required. How this admission rule will be evaluated. Generated from protobuf field <code>.google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED];</code> @return int
getEvaluationMode
php
googleapis/google-cloud-php
BinaryAuthorization/src/V1/AdmissionRule.php
https://github.com/googleapis/google-cloud-php/blob/master/BinaryAuthorization/src/V1/AdmissionRule.php
Apache-2.0
public function setEvaluationMode($var) { GPBUtil::checkEnum($var, \Google\Cloud\BinaryAuthorization\V1\AdmissionRule\EvaluationMode::class); $this->evaluation_mode = $var; return $this; }
Required. How this admission rule will be evaluated. Generated from protobuf field <code>.google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param int $var @return $this
setEvaluationMode
php
googleapis/google-cloud-php
BinaryAuthorization/src/V1/AdmissionRule.php
https://github.com/googleapis/google-cloud-php/blob/master/BinaryAuthorization/src/V1/AdmissionRule.php
Apache-2.0
public function getRequireAttestationsBy() { return $this->require_attestations_by; }
Optional. The resource names of the attestors that must attest to a container image, in the format `projects/&#42;&#47;attestors/&#42;`. Each attestor must exist before a policy can reference it. To add an attestor to a policy the principal issuing the policy change request must be able to read the attestor resource. Note: this field must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION, otherwise it must be empty. Generated from protobuf field <code>repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Protobuf\Internal\RepeatedField
getRequireAttestationsBy
php
googleapis/google-cloud-php
BinaryAuthorization/src/V1/AdmissionRule.php
https://github.com/googleapis/google-cloud-php/blob/master/BinaryAuthorization/src/V1/AdmissionRule.php
Apache-2.0
public function setRequireAttestationsBy($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->require_attestations_by = $arr; return $this; }
Optional. The resource names of the attestors that must attest to a container image, in the format `projects/&#42;&#47;attestors/&#42;`. Each attestor must exist before a policy can reference it. To add an attestor to a policy the principal issuing the policy change request must be able to read the attestor resource. Note: this field must be non-empty when the evaluation_mode field specifies REQUIRE_ATTESTATION, otherwise it must be empty. Generated from protobuf field <code>repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setRequireAttestationsBy
php
googleapis/google-cloud-php
BinaryAuthorization/src/V1/AdmissionRule.php
https://github.com/googleapis/google-cloud-php/blob/master/BinaryAuthorization/src/V1/AdmissionRule.php
Apache-2.0
public function getEnforcementMode() { return $this->enforcement_mode; }
Required. The action when a pod creation is denied by the admission rule. Generated from protobuf field <code>.google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED];</code> @return int
getEnforcementMode
php
googleapis/google-cloud-php
BinaryAuthorization/src/V1/AdmissionRule.php
https://github.com/googleapis/google-cloud-php/blob/master/BinaryAuthorization/src/V1/AdmissionRule.php
Apache-2.0
public function setEnforcementMode($var) { GPBUtil::checkEnum($var, \Google\Cloud\BinaryAuthorization\V1\AdmissionRule\EnforcementMode::class); $this->enforcement_mode = $var; return $this; }
Required. The action when a pod creation is denied by the admission rule. Generated from protobuf field <code>.google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED];</code> @param int $var @return $this
setEnforcementMode
php
googleapis/google-cloud-php
BinaryAuthorization/src/V1/AdmissionRule.php
https://github.com/googleapis/google-cloud-php/blob/master/BinaryAuthorization/src/V1/AdmissionRule.php
Apache-2.0
public function getKind() { return $this->kind; }
This is always sql#sqlServerAuditConfig Generated from protobuf field <code>string kind = 1;</code> @return string
getKind
php
googleapis/google-cloud-php
SqlAdmin/src/V1/SqlServerAuditConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/SqlServerAuditConfig.php
Apache-2.0
public function setKind($var) { GPBUtil::checkString($var, True); $this->kind = $var; return $this; }
This is always sql#sqlServerAuditConfig Generated from protobuf field <code>string kind = 1;</code> @param string $var @return $this
setKind
php
googleapis/google-cloud-php
SqlAdmin/src/V1/SqlServerAuditConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/SqlServerAuditConfig.php
Apache-2.0
public function getBucket() { return $this->bucket; }
The name of the destination bucket (e.g., gs://mybucket). Generated from protobuf field <code>string bucket = 2;</code> @return string
getBucket
php
googleapis/google-cloud-php
SqlAdmin/src/V1/SqlServerAuditConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/SqlServerAuditConfig.php
Apache-2.0
public function setBucket($var) { GPBUtil::checkString($var, True); $this->bucket = $var; return $this; }
The name of the destination bucket (e.g., gs://mybucket). Generated from protobuf field <code>string bucket = 2;</code> @param string $var @return $this
setBucket
php
googleapis/google-cloud-php
SqlAdmin/src/V1/SqlServerAuditConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/SqlServerAuditConfig.php
Apache-2.0
public function getRetentionInterval() { return $this->retention_interval; }
How long to keep generated audit files. Generated from protobuf field <code>.google.protobuf.Duration retention_interval = 3;</code> @return \Google\Protobuf\Duration|null
getRetentionInterval
php
googleapis/google-cloud-php
SqlAdmin/src/V1/SqlServerAuditConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/SqlServerAuditConfig.php
Apache-2.0
public function setRetentionInterval($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); $this->retention_interval = $var; return $this; }
How long to keep generated audit files. Generated from protobuf field <code>.google.protobuf.Duration retention_interval = 3;</code> @param \Google\Protobuf\Duration $var @return $this
setRetentionInterval
php
googleapis/google-cloud-php
SqlAdmin/src/V1/SqlServerAuditConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/SqlServerAuditConfig.php
Apache-2.0
public function getUploadInterval() { return $this->upload_interval; }
How often to upload generated audit files. Generated from protobuf field <code>.google.protobuf.Duration upload_interval = 4;</code> @return \Google\Protobuf\Duration|null
getUploadInterval
php
googleapis/google-cloud-php
SqlAdmin/src/V1/SqlServerAuditConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/SqlServerAuditConfig.php
Apache-2.0
public function setUploadInterval($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); $this->upload_interval = $var; return $this; }
How often to upload generated audit files. Generated from protobuf field <code>.google.protobuf.Duration upload_interval = 4;</code> @param \Google\Protobuf\Duration $var @return $this
setUploadInterval
php
googleapis/google-cloud-php
SqlAdmin/src/V1/SqlServerAuditConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/SqlServerAuditConfig.php
Apache-2.0
public function getCount() { return $this->readOneof(1); }
Count aggregator. Generated from protobuf field <code>.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1;</code> @return \Google\Cloud\Firestore\V1\StructuredAggregationQuery\Aggregation\Count|null
getCount
php
googleapis/google-cloud-php
Firestore/src/V1/StructuredAggregationQuery/Aggregation.php
https://github.com/googleapis/google-cloud-php/blob/master/Firestore/src/V1/StructuredAggregationQuery/Aggregation.php
Apache-2.0
public function setCount($var) { GPBUtil::checkMessage($var, \Google\Cloud\Firestore\V1\StructuredAggregationQuery\Aggregation\Count::class); $this->writeOneof(1, $var); return $this; }
Count aggregator. Generated from protobuf field <code>.google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1;</code> @param \Google\Cloud\Firestore\V1\StructuredAggregationQuery\Aggregation\Count $var @return $this
setCount
php
googleapis/google-cloud-php
Firestore/src/V1/StructuredAggregationQuery/Aggregation.php
https://github.com/googleapis/google-cloud-php/blob/master/Firestore/src/V1/StructuredAggregationQuery/Aggregation.php
Apache-2.0
public function getSum() { return $this->readOneof(2); }
Sum aggregator. Generated from protobuf field <code>.google.firestore.v1.StructuredAggregationQuery.Aggregation.Sum sum = 2;</code> @return \Google\Cloud\Firestore\V1\StructuredAggregationQuery\Aggregation\Sum|null
getSum
php
googleapis/google-cloud-php
Firestore/src/V1/StructuredAggregationQuery/Aggregation.php
https://github.com/googleapis/google-cloud-php/blob/master/Firestore/src/V1/StructuredAggregationQuery/Aggregation.php
Apache-2.0
public function setSum($var) { GPBUtil::checkMessage($var, \Google\Cloud\Firestore\V1\StructuredAggregationQuery\Aggregation\Sum::class); $this->writeOneof(2, $var); return $this; }
Sum aggregator. Generated from protobuf field <code>.google.firestore.v1.StructuredAggregationQuery.Aggregation.Sum sum = 2;</code> @param \Google\Cloud\Firestore\V1\StructuredAggregationQuery\Aggregation\Sum $var @return $this
setSum
php
googleapis/google-cloud-php
Firestore/src/V1/StructuredAggregationQuery/Aggregation.php
https://github.com/googleapis/google-cloud-php/blob/master/Firestore/src/V1/StructuredAggregationQuery/Aggregation.php
Apache-2.0
public function getAvg() { return $this->readOneof(3); }
Average aggregator. Generated from protobuf field <code>.google.firestore.v1.StructuredAggregationQuery.Aggregation.Avg avg = 3;</code> @return \Google\Cloud\Firestore\V1\StructuredAggregationQuery\Aggregation\Avg|null
getAvg
php
googleapis/google-cloud-php
Firestore/src/V1/StructuredAggregationQuery/Aggregation.php
https://github.com/googleapis/google-cloud-php/blob/master/Firestore/src/V1/StructuredAggregationQuery/Aggregation.php
Apache-2.0
public function setAvg($var) { GPBUtil::checkMessage($var, \Google\Cloud\Firestore\V1\StructuredAggregationQuery\Aggregation\Avg::class); $this->writeOneof(3, $var); return $this; }
Average aggregator. Generated from protobuf field <code>.google.firestore.v1.StructuredAggregationQuery.Aggregation.Avg avg = 3;</code> @param \Google\Cloud\Firestore\V1\StructuredAggregationQuery\Aggregation\Avg $var @return $this
setAvg
php
googleapis/google-cloud-php
Firestore/src/V1/StructuredAggregationQuery/Aggregation.php
https://github.com/googleapis/google-cloud-php/blob/master/Firestore/src/V1/StructuredAggregationQuery/Aggregation.php
Apache-2.0
public function getName() { return $this->name; }
Required. Name of the folder. Format: `projects/{project}/buckets/{bucket}/folders/{folder}` Generated from protobuf field <code>string name = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @return string
getName
php
googleapis/google-cloud-php
StorageControl/src/V2/GetFolderRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/GetFolderRequest.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Required. Name of the folder. Format: `projects/{project}/buckets/{bucket}/folders/{folder}` Generated from protobuf field <code>string name = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @param string $var @return $this
setName
php
googleapis/google-cloud-php
StorageControl/src/V2/GetFolderRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/GetFolderRequest.php
Apache-2.0
public function getIfMetagenerationMatch() { return isset($this->if_metageneration_match) ? $this->if_metageneration_match : 0; }
Makes the operation only succeed conditional on whether the folder's current metageneration matches the given value. Generated from protobuf field <code>optional int64 if_metageneration_match = 3;</code> @return int|string
getIfMetagenerationMatch
php
googleapis/google-cloud-php
StorageControl/src/V2/GetFolderRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/GetFolderRequest.php
Apache-2.0
public function setIfMetagenerationMatch($var) { GPBUtil::checkInt64($var); $this->if_metageneration_match = $var; return $this; }
Makes the operation only succeed conditional on whether the folder's current metageneration matches the given value. Generated from protobuf field <code>optional int64 if_metageneration_match = 3;</code> @param int|string $var @return $this
setIfMetagenerationMatch
php
googleapis/google-cloud-php
StorageControl/src/V2/GetFolderRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/GetFolderRequest.php
Apache-2.0
public function getIfMetagenerationNotMatch() { return isset($this->if_metageneration_not_match) ? $this->if_metageneration_not_match : 0; }
Makes the operation only succeed conditional on whether the folder's current metageneration does not match the given value. Generated from protobuf field <code>optional int64 if_metageneration_not_match = 4;</code> @return int|string
getIfMetagenerationNotMatch
php
googleapis/google-cloud-php
StorageControl/src/V2/GetFolderRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/GetFolderRequest.php
Apache-2.0
public function setIfMetagenerationNotMatch($var) { GPBUtil::checkInt64($var); $this->if_metageneration_not_match = $var; return $this; }
Makes the operation only succeed conditional on whether the folder's current metageneration does not match the given value. Generated from protobuf field <code>optional int64 if_metageneration_not_match = 4;</code> @param int|string $var @return $this
setIfMetagenerationNotMatch
php
googleapis/google-cloud-php
StorageControl/src/V2/GetFolderRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/GetFolderRequest.php
Apache-2.0
public function getRequestId() { return $this->request_id; }
Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. Generated from protobuf field <code>string request_id = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {</code> @return string
getRequestId
php
googleapis/google-cloud-php
StorageControl/src/V2/GetFolderRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/GetFolderRequest.php
Apache-2.0
public function setRequestId($var) { GPBUtil::checkString($var, True); $this->request_id = $var; return $this; }
Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted. Generated from protobuf field <code>string request_id = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {</code> @param string $var @return $this
setRequestId
php
googleapis/google-cloud-php
StorageControl/src/V2/GetFolderRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/GetFolderRequest.php
Apache-2.0
public function getKey() { return $this->key; }
Required. A public key. The padding and encoding must match with the `KeyFormat` value specified for the `format` field. Generated from protobuf field <code>bytes key = 1 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getKey
php
googleapis/google-cloud-php
SecurityPrivateCa/src/V1/PublicKey.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityPrivateCa/src/V1/PublicKey.php
Apache-2.0
public function setKey($var) { GPBUtil::checkString($var, False); $this->key = $var; return $this; }
Required. A public key. The padding and encoding must match with the `KeyFormat` value specified for the `format` field. Generated from protobuf field <code>bytes key = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setKey
php
googleapis/google-cloud-php
SecurityPrivateCa/src/V1/PublicKey.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityPrivateCa/src/V1/PublicKey.php
Apache-2.0
public function getFormat() { return $this->format; }
Required. The format of the public key. Generated from protobuf field <code>.google.cloud.security.privateca.v1.PublicKey.KeyFormat format = 2 [(.google.api.field_behavior) = REQUIRED];</code> @return int
getFormat
php
googleapis/google-cloud-php
SecurityPrivateCa/src/V1/PublicKey.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityPrivateCa/src/V1/PublicKey.php
Apache-2.0
public function setFormat($var) { GPBUtil::checkEnum($var, \Google\Cloud\Security\PrivateCA\V1\PublicKey\KeyFormat::class); $this->format = $var; return $this; }
Required. The format of the public key. Generated from protobuf field <code>.google.cloud.security.privateca.v1.PublicKey.KeyFormat format = 2 [(.google.api.field_behavior) = REQUIRED];</code> @param int $var @return $this
setFormat
php
googleapis/google-cloud-php
SecurityPrivateCa/src/V1/PublicKey.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityPrivateCa/src/V1/PublicKey.php
Apache-2.0
public function getUsageUnit() { return $this->usage_unit; }
The short hand for unit of usage this pricing is specified in. Example: usage_unit of "GiBy" means that usage is specified in "Gibi Byte". Generated from protobuf field <code>string usage_unit = 1;</code> @return string
getUsageUnit
php
googleapis/google-cloud-php
Billing/src/V1/PricingExpression.php
https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php
Apache-2.0
public function setUsageUnit($var) { GPBUtil::checkString($var, True); $this->usage_unit = $var; return $this; }
The short hand for unit of usage this pricing is specified in. Example: usage_unit of "GiBy" means that usage is specified in "Gibi Byte". Generated from protobuf field <code>string usage_unit = 1;</code> @param string $var @return $this
setUsageUnit
php
googleapis/google-cloud-php
Billing/src/V1/PricingExpression.php
https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php
Apache-2.0
public function getDisplayQuantity() { return $this->display_quantity; }
The recommended quantity of units for displaying pricing info. When displaying pricing info it is recommended to display: (unit_price * display_quantity) per display_quantity usage_unit. This field does not affect the pricing formula and is for display purposes only. Example: If the unit_price is "0.0001 USD", the usage_unit is "GB" and the display_quantity is "1000" then the recommended way of displaying the pricing info is "0.10 USD per 1000 GB" Generated from protobuf field <code>double display_quantity = 2;</code> @return float
getDisplayQuantity
php
googleapis/google-cloud-php
Billing/src/V1/PricingExpression.php
https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php
Apache-2.0
public function setDisplayQuantity($var) { GPBUtil::checkDouble($var); $this->display_quantity = $var; return $this; }
The recommended quantity of units for displaying pricing info. When displaying pricing info it is recommended to display: (unit_price * display_quantity) per display_quantity usage_unit. This field does not affect the pricing formula and is for display purposes only. Example: If the unit_price is "0.0001 USD", the usage_unit is "GB" and the display_quantity is "1000" then the recommended way of displaying the pricing info is "0.10 USD per 1000 GB" Generated from protobuf field <code>double display_quantity = 2;</code> @param float $var @return $this
setDisplayQuantity
php
googleapis/google-cloud-php
Billing/src/V1/PricingExpression.php
https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php
Apache-2.0
public function getTieredRates() { return $this->tiered_rates; }
The list of tiered rates for this pricing. The total cost is computed by applying each of the tiered rates on usage. This repeated list is sorted by ascending order of start_usage_amount. Generated from protobuf field <code>repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3;</code> @return \Google\Protobuf\Internal\RepeatedField
getTieredRates
php
googleapis/google-cloud-php
Billing/src/V1/PricingExpression.php
https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php
Apache-2.0
public function setTieredRates($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Billing\V1\PricingExpression\TierRate::class); $this->tiered_rates = $arr; return $this; }
The list of tiered rates for this pricing. The total cost is computed by applying each of the tiered rates on usage. This repeated list is sorted by ascending order of start_usage_amount. Generated from protobuf field <code>repeated .google.cloud.billing.v1.PricingExpression.TierRate tiered_rates = 3;</code> @param array<\Google\Cloud\Billing\V1\PricingExpression\TierRate>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setTieredRates
php
googleapis/google-cloud-php
Billing/src/V1/PricingExpression.php
https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php
Apache-2.0
public function getUsageUnitDescription() { return $this->usage_unit_description; }
The unit of usage in human readable form. Example: "gibi byte". Generated from protobuf field <code>string usage_unit_description = 4;</code> @return string
getUsageUnitDescription
php
googleapis/google-cloud-php
Billing/src/V1/PricingExpression.php
https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php
Apache-2.0
public function setUsageUnitDescription($var) { GPBUtil::checkString($var, True); $this->usage_unit_description = $var; return $this; }
The unit of usage in human readable form. Example: "gibi byte". Generated from protobuf field <code>string usage_unit_description = 4;</code> @param string $var @return $this
setUsageUnitDescription
php
googleapis/google-cloud-php
Billing/src/V1/PricingExpression.php
https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php
Apache-2.0
public function getBaseUnit() { return $this->base_unit; }
The base unit for the SKU which is the unit used in usage exports. Example: "By" Generated from protobuf field <code>string base_unit = 5;</code> @return string
getBaseUnit
php
googleapis/google-cloud-php
Billing/src/V1/PricingExpression.php
https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php
Apache-2.0
public function setBaseUnit($var) { GPBUtil::checkString($var, True); $this->base_unit = $var; return $this; }
The base unit for the SKU which is the unit used in usage exports. Example: "By" Generated from protobuf field <code>string base_unit = 5;</code> @param string $var @return $this
setBaseUnit
php
googleapis/google-cloud-php
Billing/src/V1/PricingExpression.php
https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php
Apache-2.0
public function getBaseUnitDescription() { return $this->base_unit_description; }
The base unit in human readable form. Example: "byte". Generated from protobuf field <code>string base_unit_description = 6;</code> @return string
getBaseUnitDescription
php
googleapis/google-cloud-php
Billing/src/V1/PricingExpression.php
https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php
Apache-2.0
public function setBaseUnitDescription($var) { GPBUtil::checkString($var, True); $this->base_unit_description = $var; return $this; }
The base unit in human readable form. Example: "byte". Generated from protobuf field <code>string base_unit_description = 6;</code> @param string $var @return $this
setBaseUnitDescription
php
googleapis/google-cloud-php
Billing/src/V1/PricingExpression.php
https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php
Apache-2.0
public function getBaseUnitConversionFactor() { return $this->base_unit_conversion_factor; }
Conversion factor for converting from price per usage_unit to price per base_unit, and start_usage_amount to start_usage_amount in base_unit. unit_price / base_unit_conversion_factor = price per base_unit. start_usage_amount * base_unit_conversion_factor = start_usage_amount in base_unit. Generated from protobuf field <code>double base_unit_conversion_factor = 7;</code> @return float
getBaseUnitConversionFactor
php
googleapis/google-cloud-php
Billing/src/V1/PricingExpression.php
https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php
Apache-2.0
public function setBaseUnitConversionFactor($var) { GPBUtil::checkDouble($var); $this->base_unit_conversion_factor = $var; return $this; }
Conversion factor for converting from price per usage_unit to price per base_unit, and start_usage_amount to start_usage_amount in base_unit. unit_price / base_unit_conversion_factor = price per base_unit. start_usage_amount * base_unit_conversion_factor = start_usage_amount in base_unit. Generated from protobuf field <code>double base_unit_conversion_factor = 7;</code> @param float $var @return $this
setBaseUnitConversionFactor
php
googleapis/google-cloud-php
Billing/src/V1/PricingExpression.php
https://github.com/googleapis/google-cloud-php/blob/master/Billing/src/V1/PricingExpression.php
Apache-2.0
public function getConnections() { return $this->connections; }
Optional. A group of PSC connections. They are created in the same VPC network, one for each service attachment in the cluster. Generated from protobuf field <code>repeated .google.cloud.memorystore.v1.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Protobuf\Internal\RepeatedField
getConnections
php
googleapis/google-cloud-php
Memorystore/src/V1/Instance/InstanceEndpoint.php
https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/Instance/InstanceEndpoint.php
Apache-2.0
public function setConnections($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Memorystore\V1\Instance\ConnectionDetail::class); $this->connections = $arr; return $this; }
Optional. A group of PSC connections. They are created in the same VPC network, one for each service attachment in the cluster. Generated from protobuf field <code>repeated .google.cloud.memorystore.v1.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @param array<\Google\Cloud\Memorystore\V1\Instance\ConnectionDetail>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setConnections
php
googleapis/google-cloud-php
Memorystore/src/V1/Instance/InstanceEndpoint.php
https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/Instance/InstanceEndpoint.php
Apache-2.0
public function getIncludeBoundingBoxes() { return $this->include_bounding_boxes; }
Whether bounding boxes are included in the person detection annotation output. Generated from protobuf field <code>bool include_bounding_boxes = 1;</code> @return bool
getIncludeBoundingBoxes
php
googleapis/google-cloud-php
VideoIntelligence/src/V1/PersonDetectionConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/VideoIntelligence/src/V1/PersonDetectionConfig.php
Apache-2.0
public function setIncludeBoundingBoxes($var) { GPBUtil::checkBool($var); $this->include_bounding_boxes = $var; return $this; }
Whether bounding boxes are included in the person detection annotation output. Generated from protobuf field <code>bool include_bounding_boxes = 1;</code> @param bool $var @return $this
setIncludeBoundingBoxes
php
googleapis/google-cloud-php
VideoIntelligence/src/V1/PersonDetectionConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/VideoIntelligence/src/V1/PersonDetectionConfig.php
Apache-2.0
public function getIncludePoseLandmarks() { return $this->include_pose_landmarks; }
Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes' is set to false. Generated from protobuf field <code>bool include_pose_landmarks = 2;</code> @return bool
getIncludePoseLandmarks
php
googleapis/google-cloud-php
VideoIntelligence/src/V1/PersonDetectionConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/VideoIntelligence/src/V1/PersonDetectionConfig.php
Apache-2.0
public function setIncludePoseLandmarks($var) { GPBUtil::checkBool($var); $this->include_pose_landmarks = $var; return $this; }
Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes' is set to false. Generated from protobuf field <code>bool include_pose_landmarks = 2;</code> @param bool $var @return $this
setIncludePoseLandmarks
php
googleapis/google-cloud-php
VideoIntelligence/src/V1/PersonDetectionConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/VideoIntelligence/src/V1/PersonDetectionConfig.php
Apache-2.0
public function getIncludeAttributes() { return $this->include_attributes; }
Whether to enable person attributes detection, such as cloth color (black, blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair, etc. Ignored if 'include_bounding_boxes' is set to false. Generated from protobuf field <code>bool include_attributes = 3;</code> @return bool
getIncludeAttributes
php
googleapis/google-cloud-php
VideoIntelligence/src/V1/PersonDetectionConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/VideoIntelligence/src/V1/PersonDetectionConfig.php
Apache-2.0
public function setIncludeAttributes($var) { GPBUtil::checkBool($var); $this->include_attributes = $var; return $this; }
Whether to enable person attributes detection, such as cloth color (black, blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair, etc. Ignored if 'include_bounding_boxes' is set to false. Generated from protobuf field <code>bool include_attributes = 3;</code> @param bool $var @return $this
setIncludeAttributes
php
googleapis/google-cloud-php
VideoIntelligence/src/V1/PersonDetectionConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/VideoIntelligence/src/V1/PersonDetectionConfig.php
Apache-2.0
public function getConnectionType() { return $this->connection_type; }
The type of the BigQuery connection. Generated from protobuf field <code>.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1;</code> @return int
getConnectionType
php
googleapis/google-cloud-php
DataCatalog/src/V1/BigQueryConnectionSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/BigQueryConnectionSpec.php
Apache-2.0
public function setConnectionType($var) { GPBUtil::checkEnum($var, \Google\Cloud\DataCatalog\V1\BigQueryConnectionSpec\ConnectionType::class); $this->connection_type = $var; return $this; }
The type of the BigQuery connection. Generated from protobuf field <code>.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1;</code> @param int $var @return $this
setConnectionType
php
googleapis/google-cloud-php
DataCatalog/src/V1/BigQueryConnectionSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/BigQueryConnectionSpec.php
Apache-2.0
public function getCloudSql() { return $this->readOneof(2); }
Specification for the BigQuery connection to a Cloud SQL instance. Generated from protobuf field <code>.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;</code> @return \Google\Cloud\DataCatalog\V1\CloudSqlBigQueryConnectionSpec|null
getCloudSql
php
googleapis/google-cloud-php
DataCatalog/src/V1/BigQueryConnectionSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/BigQueryConnectionSpec.php
Apache-2.0
public function setCloudSql($var) { GPBUtil::checkMessage($var, \Google\Cloud\DataCatalog\V1\CloudSqlBigQueryConnectionSpec::class); $this->writeOneof(2, $var); return $this; }
Specification for the BigQuery connection to a Cloud SQL instance. Generated from protobuf field <code>.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;</code> @param \Google\Cloud\DataCatalog\V1\CloudSqlBigQueryConnectionSpec $var @return $this
setCloudSql
php
googleapis/google-cloud-php
DataCatalog/src/V1/BigQueryConnectionSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/BigQueryConnectionSpec.php
Apache-2.0
public function getHasCredential() { return $this->has_credential; }
True if there are credentials attached to the BigQuery connection; false otherwise. Generated from protobuf field <code>bool has_credential = 3;</code> @return bool
getHasCredential
php
googleapis/google-cloud-php
DataCatalog/src/V1/BigQueryConnectionSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/BigQueryConnectionSpec.php
Apache-2.0
public function setHasCredential($var) { GPBUtil::checkBool($var); $this->has_credential = $var; return $this; }
True if there are credentials attached to the BigQuery connection; false otherwise. Generated from protobuf field <code>bool has_credential = 3;</code> @param bool $var @return $this
setHasCredential
php
googleapis/google-cloud-php
DataCatalog/src/V1/BigQueryConnectionSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/BigQueryConnectionSpec.php
Apache-2.0
public function getAll() { return $this->all; }
Target all VMs in the project. If true, no other criteria is permitted. Generated from protobuf field <code>bool all = 1;</code> @return bool
getAll
php
googleapis/google-cloud-php
OsConfig/src/V1/OSPolicyAssignment/InstanceFilter.php
https://github.com/googleapis/google-cloud-php/blob/master/OsConfig/src/V1/OSPolicyAssignment/InstanceFilter.php
Apache-2.0
public function setAll($var) { GPBUtil::checkBool($var); $this->all = $var; return $this; }
Target all VMs in the project. If true, no other criteria is permitted. Generated from protobuf field <code>bool all = 1;</code> @param bool $var @return $this
setAll
php
googleapis/google-cloud-php
OsConfig/src/V1/OSPolicyAssignment/InstanceFilter.php
https://github.com/googleapis/google-cloud-php/blob/master/OsConfig/src/V1/OSPolicyAssignment/InstanceFilter.php
Apache-2.0
public function getInclusionLabels() { return $this->inclusion_labels; }
List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM. Generated from protobuf field <code>repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;</code> @return \Google\Protobuf\Internal\RepeatedField
getInclusionLabels
php
googleapis/google-cloud-php
OsConfig/src/V1/OSPolicyAssignment/InstanceFilter.php
https://github.com/googleapis/google-cloud-php/blob/master/OsConfig/src/V1/OSPolicyAssignment/InstanceFilter.php
Apache-2.0
public function setInclusionLabels($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\OsConfig\V1\OSPolicyAssignment\LabelSet::class); $this->inclusion_labels = $arr; return $this; }
List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM. Generated from protobuf field <code>repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;</code> @param array<\Google\Cloud\OsConfig\V1\OSPolicyAssignment\LabelSet>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setInclusionLabels
php
googleapis/google-cloud-php
OsConfig/src/V1/OSPolicyAssignment/InstanceFilter.php
https://github.com/googleapis/google-cloud-php/blob/master/OsConfig/src/V1/OSPolicyAssignment/InstanceFilter.php
Apache-2.0
public function getExclusionLabels() { return $this->exclusion_labels; }
List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM. Generated from protobuf field <code>repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;</code> @return \Google\Protobuf\Internal\RepeatedField
getExclusionLabels
php
googleapis/google-cloud-php
OsConfig/src/V1/OSPolicyAssignment/InstanceFilter.php
https://github.com/googleapis/google-cloud-php/blob/master/OsConfig/src/V1/OSPolicyAssignment/InstanceFilter.php
Apache-2.0
public function setExclusionLabels($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\OsConfig\V1\OSPolicyAssignment\LabelSet::class); $this->exclusion_labels = $arr; return $this; }
List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM. Generated from protobuf field <code>repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;</code> @param array<\Google\Cloud\OsConfig\V1\OSPolicyAssignment\LabelSet>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setExclusionLabels
php
googleapis/google-cloud-php
OsConfig/src/V1/OSPolicyAssignment/InstanceFilter.php
https://github.com/googleapis/google-cloud-php/blob/master/OsConfig/src/V1/OSPolicyAssignment/InstanceFilter.php
Apache-2.0
public function getInventories() { return $this->inventories; }
List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories. Generated from protobuf field <code>repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;</code> @return \Google\Protobuf\Internal\RepeatedField
getInventories
php
googleapis/google-cloud-php
OsConfig/src/V1/OSPolicyAssignment/InstanceFilter.php
https://github.com/googleapis/google-cloud-php/blob/master/OsConfig/src/V1/OSPolicyAssignment/InstanceFilter.php
Apache-2.0
public function setInventories($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\OsConfig\V1\OSPolicyAssignment\InstanceFilter\Inventory::class); $this->inventories = $arr; return $this; }
List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories. Generated from protobuf field <code>repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;</code> @param array<\Google\Cloud\OsConfig\V1\OSPolicyAssignment\InstanceFilter\Inventory>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setInventories
php
googleapis/google-cloud-php
OsConfig/src/V1/OSPolicyAssignment/InstanceFilter.php
https://github.com/googleapis/google-cloud-php/blob/master/OsConfig/src/V1/OSPolicyAssignment/InstanceFilter.php
Apache-2.0
public function getCreationTimestamp() { return isset($this->creation_timestamp) ? $this->creation_timestamp : ''; }
[Output Only] Creation timestamp in RFC3339 text format. Generated from protobuf field <code>optional string creation_timestamp = 30525366;</code> @return string
getCreationTimestamp
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function setCreationTimestamp($var) { GPBUtil::checkString($var, True); $this->creation_timestamp = $var; return $this; }
[Output Only] Creation timestamp in RFC3339 text format. Generated from protobuf field <code>optional string creation_timestamp = 30525366;</code> @param string $var @return $this
setCreationTimestamp
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function getCustomFeatures() { return $this->custom_features; }
A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM. Generated from protobuf field <code>repeated string custom_features = 34789707;</code> @return \Google\Protobuf\Internal\RepeatedField
getCustomFeatures
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function setCustomFeatures($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->custom_features = $arr; return $this; }
A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM. Generated from protobuf field <code>repeated string custom_features = 34789707;</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setCustomFeatures
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function getDescription() { return isset($this->description) ? $this->description : ''; }
An optional description of this resource. Provide this property when you create the resource. Generated from protobuf field <code>optional string description = 422937596;</code> @return string
getDescription
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function setDescription($var) { GPBUtil::checkString($var, True); $this->description = $var; return $this; }
An optional description of this resource. Provide this property when you create the resource. Generated from protobuf field <code>optional string description = 422937596;</code> @param string $var @return $this
setDescription
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function getEnabledFeatures() { return $this->enabled_features; }
[Output Only] The list of features enabled in the SSL policy. Generated from protobuf field <code>repeated string enabled_features = 469017467;</code> @return \Google\Protobuf\Internal\RepeatedField
getEnabledFeatures
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function setEnabledFeatures($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->enabled_features = $arr; return $this; }
[Output Only] The list of features enabled in the SSL policy. Generated from protobuf field <code>repeated string enabled_features = 469017467;</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setEnabledFeatures
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function getFingerprint() { return isset($this->fingerprint) ? $this->fingerprint : ''; }
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy. Generated from protobuf field <code>optional string fingerprint = 234678500;</code> @return string
getFingerprint
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function setFingerprint($var) { GPBUtil::checkString($var, True); $this->fingerprint = $var; return $this; }
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy. Generated from protobuf field <code>optional string fingerprint = 234678500;</code> @param string $var @return $this
setFingerprint
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function getId() { return isset($this->id) ? $this->id : 0; }
[Output Only] The unique identifier for the resource. This identifier is defined by the server. Generated from protobuf field <code>optional uint64 id = 3355;</code> @return int|string
getId
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function setId($var) { GPBUtil::checkUint64($var); $this->id = $var; return $this; }
[Output Only] The unique identifier for the resource. This identifier is defined by the server. Generated from protobuf field <code>optional uint64 id = 3355;</code> @param int|string $var @return $this
setId
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function getKind() { return isset($this->kind) ? $this->kind : ''; }
[Output only] Type of the resource. Always compute#sslPolicyfor SSL policies. Generated from protobuf field <code>optional string kind = 3292052;</code> @return string
getKind
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function setKind($var) { GPBUtil::checkString($var, True); $this->kind = $var; return $this; }
[Output only] Type of the resource. Always compute#sslPolicyfor SSL policies. Generated from protobuf field <code>optional string kind = 3292052;</code> @param string $var @return $this
setKind
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function getMinTlsVersion() { return isset($this->min_tls_version) ? $this->min_tls_version : ''; }
The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2. Check the MinTlsVersion enum for the list of possible values. Generated from protobuf field <code>optional string min_tls_version = 8155943;</code> @return string
getMinTlsVersion
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function setMinTlsVersion($var) { GPBUtil::checkString($var, True); $this->min_tls_version = $var; return $this; }
The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2. Check the MinTlsVersion enum for the list of possible values. Generated from protobuf field <code>optional string min_tls_version = 8155943;</code> @param string $var @return $this
setMinTlsVersion
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function getName() { return isset($this->name) ? $this->name : ''; }
Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. Generated from protobuf field <code>optional string name = 3373707;</code> @return string
getName
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. Generated from protobuf field <code>optional string name = 3373707;</code> @param string $var @return $this
setName
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function getProfile() { return isset($this->profile) ? $this->profile : ''; }
Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field. Check the Profile enum for the list of possible values. Generated from protobuf field <code>optional string profile = 227445161;</code> @return string
getProfile
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function setProfile($var) { GPBUtil::checkString($var, True); $this->profile = $var; return $this; }
Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field. Check the Profile enum for the list of possible values. Generated from protobuf field <code>optional string profile = 227445161;</code> @param string $var @return $this
setProfile
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function getRegion() { return isset($this->region) ? $this->region : ''; }
[Output Only] URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies. Generated from protobuf field <code>optional string region = 138946292;</code> @return string
getRegion
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function setRegion($var) { GPBUtil::checkString($var, True); $this->region = $var; return $this; }
[Output Only] URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies. Generated from protobuf field <code>optional string region = 138946292;</code> @param string $var @return $this
setRegion
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function getSelfLink() { return isset($this->self_link) ? $this->self_link : ''; }
[Output Only] Server-defined URL for the resource. Generated from protobuf field <code>optional string self_link = 456214797;</code> @return string
getSelfLink
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function setSelfLink($var) { GPBUtil::checkString($var, True); $this->self_link = $var; return $this; }
[Output Only] Server-defined URL for the resource. Generated from protobuf field <code>optional string self_link = 456214797;</code> @param string $var @return $this
setSelfLink
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function getWarnings() { return $this->warnings; }
[Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages. Generated from protobuf field <code>repeated .google.cloud.compute.v1.Warnings warnings = 498091095;</code> @return \Google\Protobuf\Internal\RepeatedField
getWarnings
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function setWarnings($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Compute\V1\Warnings::class); $this->warnings = $arr; return $this; }
[Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages. Generated from protobuf field <code>repeated .google.cloud.compute.v1.Warnings warnings = 498091095;</code> @param array<\Google\Cloud\Compute\V1\Warnings>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setWarnings
php
googleapis/google-cloud-php
Compute/src/V1/SslPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicy.php
Apache-2.0
public function getProjectId() { return $this->project_id; }
The ID of the Cloud Platform project that the snapshot belongs to. Generated from protobuf field <code>string project_id = 1;</code> @return string
getProjectId
php
googleapis/google-cloud-php
Dataflow/src/V1beta3/DeleteSnapshotRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/DeleteSnapshotRequest.php
Apache-2.0
public function setProjectId($var) { GPBUtil::checkString($var, True); $this->project_id = $var; return $this; }
The ID of the Cloud Platform project that the snapshot belongs to. Generated from protobuf field <code>string project_id = 1;</code> @param string $var @return $this
setProjectId
php
googleapis/google-cloud-php
Dataflow/src/V1beta3/DeleteSnapshotRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/DeleteSnapshotRequest.php
Apache-2.0
public function getSnapshotId() { return $this->snapshot_id; }
The ID of the snapshot. Generated from protobuf field <code>string snapshot_id = 2;</code> @return string
getSnapshotId
php
googleapis/google-cloud-php
Dataflow/src/V1beta3/DeleteSnapshotRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/DeleteSnapshotRequest.php
Apache-2.0
public function setSnapshotId($var) { GPBUtil::checkString($var, True); $this->snapshot_id = $var; return $this; }
The ID of the snapshot. Generated from protobuf field <code>string snapshot_id = 2;</code> @param string $var @return $this
setSnapshotId
php
googleapis/google-cloud-php
Dataflow/src/V1beta3/DeleteSnapshotRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/DeleteSnapshotRequest.php
Apache-2.0
public function getLocation() { return $this->location; }
The location that contains this snapshot. Generated from protobuf field <code>string location = 3;</code> @return string
getLocation
php
googleapis/google-cloud-php
Dataflow/src/V1beta3/DeleteSnapshotRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/DeleteSnapshotRequest.php
Apache-2.0