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 getAvailability() { return isset($this->availability) ? $this->availability : ''; }
[Availability](https://support.google.com/merchants/answer/6324448) of the product. Generated from protobuf field <code>optional string availability = 19;</code> @return string
getAvailability
php
googleapis/google-cloud-php
ShoppingMerchantReports/src/V1beta/ProductView.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantReports/src/V1beta/ProductView.php
Apache-2.0
public function setAvailability($var) { GPBUtil::checkString($var, True); $this->availability = $var; return $this; }
[Availability](https://support.google.com/merchants/answer/6324448) of the product. Generated from protobuf field <code>optional string availability = 19;</code> @param string $var @return $this
setAvailability
php
googleapis/google-cloud-php
ShoppingMerchantReports/src/V1beta/ProductView.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantReports/src/V1beta/ProductView.php
Apache-2.0
public function getShippingLabel() { return isset($this->shipping_label) ? $this->shipping_label : ''; }
Normalized [shipping label](https://support.google.com/merchants/answer/6324504) specified in the data source. Generated from protobuf field <code>optional string shipping_label = 20;</code> @return string
getShippingLabel
php
googleapis/google-cloud-php
ShoppingMerchantReports/src/V1beta/ProductView.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantReports/src/V1beta/ProductView.php
Apache-2.0
public function setShippingLabel($var) { GPBUtil::checkString($var, True); $this->shipping_label = $var; return $this; }
Normalized [shipping label](https://support.google.com/merchants/answer/6324504) specified in the data source. Generated from protobuf field <code>optional string shipping_label = 20;</code> @param string $var @return $this
setShippingLabel
php
googleapis/google-cloud-php
ShoppingMerchantReports/src/V1beta/ProductView.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantReports/src/V1beta/ProductView.php
Apache-2.0
public function getGtin() { return $this->gtin; }
List of Global Trade Item Numbers (GTINs) of the product. Generated from protobuf field <code>repeated string gtin = 21;</code> @return \Google\Protobuf\Internal\RepeatedField
getGtin
php
googleapis/google-cloud-php
ShoppingMerchantReports/src/V1beta/ProductView.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantReports/src/V1beta/ProductView.php
Apache-2.0
public function setGtin($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->gtin = $arr; return $this; }
List of Global Trade Item Numbers (GTINs) of the product. Generated from protobuf field <code>repeated string gtin = 21;</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setGtin
php
googleapis/google-cloud-php
ShoppingMerchantReports/src/V1beta/ProductView.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantReports/src/V1beta/ProductView.php
Apache-2.0
public function getItemGroupId() { return isset($this->item_group_id) ? $this->item_group_id : ''; }
Item group id provided by the merchant for grouping variants together. Generated from protobuf field <code>optional string item_group_id = 22;</code> @return string
getItemGroupId
php
googleapis/google-cloud-php
ShoppingMerchantReports/src/V1beta/ProductView.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantReports/src/V1beta/ProductView.php
Apache-2.0
public function setItemGroupId($var) { GPBUtil::checkString($var, True); $this->item_group_id = $var; return $this; }
Item group id provided by the merchant for grouping variants together. Generated from protobuf field <code>optional string item_group_id = 22;</code> @param string $var @return $this
setItemGroupId
php
googleapis/google-cloud-php
ShoppingMerchantReports/src/V1beta/ProductView.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantReports/src/V1beta/ProductView.php
Apache-2.0
public function getThumbnailLink() { return isset($this->thumbnail_link) ? $this->thumbnail_link : ''; }
Link to the processed image of the product, hosted on the Google infrastructure. Generated from protobuf field <code>optional string thumbnail_link = 23;</code> @return string
getThumbnailLink
php
googleapis/google-cloud-php
ShoppingMerchantReports/src/V1beta/ProductView.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantReports/src/V1beta/ProductView.php
Apache-2.0
public function setThumbnailLink($var) { GPBUtil::checkString($var, True); $this->thumbnail_link = $var; return $this; }
Link to the processed image of the product, hosted on the Google infrastructure. Generated from protobuf field <code>optional string thumbnail_link = 23;</code> @param string $var @return $this
setThumbnailLink
php
googleapis/google-cloud-php
ShoppingMerchantReports/src/V1beta/ProductView.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantReports/src/V1beta/ProductView.php
Apache-2.0
public function getExpirationDate() { return $this->expiration_date; }
Expiration date for the product, specified on insertion. Generated from protobuf field <code>.google.type.Date expiration_date = 25;</code> @return \Google\Type\Date|null
getExpirationDate
php
googleapis/google-cloud-php
ShoppingMerchantReports/src/V1beta/ProductView.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantReports/src/V1beta/ProductView.php
Apache-2.0
public function setExpirationDate($var) { GPBUtil::checkMessage($var, \Google\Type\Date::class); $this->expiration_date = $var; return $this; }
Expiration date for the product, specified on insertion. Generated from protobuf field <code>.google.type.Date expiration_date = 25;</code> @param \Google\Type\Date $var @return $this
setExpirationDate
php
googleapis/google-cloud-php
ShoppingMerchantReports/src/V1beta/ProductView.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantReports/src/V1beta/ProductView.php
Apache-2.0
public function getAggregatedReportingContextStatus() { return isset($this->aggregated_reporting_context_status) ? $this->aggregated_reporting_context_status : 0; }
Aggregated status. Generated from protobuf field <code>optional .google.shopping.merchant.reports.v1beta.ProductView.AggregatedReportingContextStatus aggregated_reporting_context_status = 26;</code> @return int
getAggregatedReportingContextStatus
php
googleapis/google-cloud-php
ShoppingMerchantReports/src/V1beta/ProductView.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantReports/src/V1beta/ProductView.php
Apache-2.0
public function setAggregatedReportingContextStatus($var) { GPBUtil::checkEnum($var, \Google\Shopping\Merchant\Reports\V1beta\ProductView\AggregatedReportingContextStatus::class); $this->aggregated_reporting_context_status = $var; return $this; }
Aggregated status. Generated from protobuf field <code>optional .google.shopping.merchant.reports.v1beta.ProductView.AggregatedReportingContextStatus aggregated_reporting_context_status = 26;</code> @param int $var @return $this
setAggregatedReportingContextStatus
php
googleapis/google-cloud-php
ShoppingMerchantReports/src/V1beta/ProductView.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantReports/src/V1beta/ProductView.php
Apache-2.0
public function getItemIssues() { return $this->item_issues; }
List of item issues for the product. **This field cannot be used for sorting the results.** **Only selected attributes of this field (for example, `item_issues.severity.aggregated_severity`) can be used for filtering the results.** Generated from protobuf field <code>repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue item_issues = 27;</code> @return \Google\Protobuf\Internal\RepeatedField
getItemIssues
php
googleapis/google-cloud-php
ShoppingMerchantReports/src/V1beta/ProductView.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantReports/src/V1beta/ProductView.php
Apache-2.0
public function setItemIssues($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Shopping\Merchant\Reports\V1beta\ProductView\ItemIssue::class); $this->item_issues = $arr; return $this; }
List of item issues for the product. **This field cannot be used for sorting the results.** **Only selected attributes of this field (for example, `item_issues.severity.aggregated_severity`) can be used for filtering the results.** Generated from protobuf field <code>repeated .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue item_issues = 27;</code> @param array<\Google\Shopping\Merchant\Reports\V1beta\ProductView\ItemIssue>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setItemIssues
php
googleapis/google-cloud-php
ShoppingMerchantReports/src/V1beta/ProductView.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantReports/src/V1beta/ProductView.php
Apache-2.0
public function getClickPotential() { return $this->click_potential; }
Estimated performance potential compared to highest performing products of the merchant. Generated from protobuf field <code>.google.shopping.merchant.reports.v1beta.ProductView.ClickPotential click_potential = 29;</code> @return int
getClickPotential
php
googleapis/google-cloud-php
ShoppingMerchantReports/src/V1beta/ProductView.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantReports/src/V1beta/ProductView.php
Apache-2.0
public function setClickPotential($var) { GPBUtil::checkEnum($var, \Google\Shopping\Merchant\Reports\V1beta\ProductView\ClickPotential::class); $this->click_potential = $var; return $this; }
Estimated performance potential compared to highest performing products of the merchant. Generated from protobuf field <code>.google.shopping.merchant.reports.v1beta.ProductView.ClickPotential click_potential = 29;</code> @param int $var @return $this
setClickPotential
php
googleapis/google-cloud-php
ShoppingMerchantReports/src/V1beta/ProductView.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantReports/src/V1beta/ProductView.php
Apache-2.0
public function getClickPotentialRank() { return isset($this->click_potential_rank) ? $this->click_potential_rank : 0; }
Rank of the product based on its click potential. A product with `click_potential_rank` 1 has the highest click potential among the merchant's products that fulfill the search query conditions. Generated from protobuf field <code>optional int64 click_potential_rank = 30;</code> @return int|string
getClickPotentialRank
php
googleapis/google-cloud-php
ShoppingMerchantReports/src/V1beta/ProductView.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantReports/src/V1beta/ProductView.php
Apache-2.0
public function setClickPotentialRank($var) { GPBUtil::checkInt64($var); $this->click_potential_rank = $var; return $this; }
Rank of the product based on its click potential. A product with `click_potential_rank` 1 has the highest click potential among the merchant's products that fulfill the search query conditions. Generated from protobuf field <code>optional int64 click_potential_rank = 30;</code> @param int|string $var @return $this
setClickPotentialRank
php
googleapis/google-cloud-php
ShoppingMerchantReports/src/V1beta/ProductView.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantReports/src/V1beta/ProductView.php
Apache-2.0
public function getTargetHttpProxy() { return $this->target_http_proxy; }
Name of the TargetHttpProxy to set a URL map for. Generated from protobuf field <code>string target_http_proxy = 206872421 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getTargetHttpProxy
php
googleapis/google-cloud-php
Compute/src/V1/SetUrlMapTargetHttpProxyRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetUrlMapTargetHttpProxyRequest.php
Apache-2.0
public function setTargetHttpProxy($var) { GPBUtil::checkString($var, True); $this->target_http_proxy = $var; return $this; }
Name of the TargetHttpProxy to set a URL map for. Generated from protobuf field <code>string target_http_proxy = 206872421 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setTargetHttpProxy
php
googleapis/google-cloud-php
Compute/src/V1/SetUrlMapTargetHttpProxyRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetUrlMapTargetHttpProxyRequest.php
Apache-2.0
public function getServiceConfig() { return $this->service_config; }
The generated service configuration. Generated from protobuf field <code>.google.api.Service service_config = 1;</code> @return \Google\Api\Service|null
getServiceConfig
php
googleapis/google-cloud-php
ServiceManagement/src/V1/SubmitConfigSourceResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/ServiceManagement/src/V1/SubmitConfigSourceResponse.php
Apache-2.0
public function setServiceConfig($var) { GPBUtil::checkMessage($var, \Google\Api\Service::class); $this->service_config = $var; return $this; }
The generated service configuration. Generated from protobuf field <code>.google.api.Service service_config = 1;</code> @param \Google\Api\Service $var @return $this
setServiceConfig
php
googleapis/google-cloud-php
ServiceManagement/src/V1/SubmitConfigSourceResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/ServiceManagement/src/V1/SubmitConfigSourceResponse.php
Apache-2.0
public function setService($var) { GPBUtil::checkMessage($var, \Google\Cloud\Metastore\V1alpha\Service::class); $this->service = $var; return $this; }
Required. The Metastore service to create. The `name` field is ignored. The ID of the created metastore service must be provided in the request's `service_id` field. Generated from protobuf field <code>.google.cloud.metastore.v1alpha.Service service = 3 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\Metastore\V1alpha\Service $var @return $this
setService
php
googleapis/google-cloud-php
DataprocMetastore/src/V1alpha/CreateServiceRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DataprocMetastore/src/V1alpha/CreateServiceRequest.php
Apache-2.0
public function getBlueprints() { return $this->blueprints; }
The list of requested blueprint revisions. Generated from protobuf field <code>repeated .google.cloud.telcoautomation.v1.Blueprint blueprints = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getBlueprints
php
googleapis/google-cloud-php
TelcoAutomation/src/V1/SearchBlueprintRevisionsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/TelcoAutomation/src/V1/SearchBlueprintRevisionsResponse.php
Apache-2.0
public function setBlueprints($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\TelcoAutomation\V1\Blueprint::class); $this->blueprints = $arr; return $this; }
The list of requested blueprint revisions. Generated from protobuf field <code>repeated .google.cloud.telcoautomation.v1.Blueprint blueprints = 1;</code> @param array<\Google\Cloud\TelcoAutomation\V1\Blueprint>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setBlueprints
php
googleapis/google-cloud-php
TelcoAutomation/src/V1/SearchBlueprintRevisionsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/TelcoAutomation/src/V1/SearchBlueprintRevisionsResponse.php
Apache-2.0
public function getZoneId() { return isset($this->zone_id) ? $this->zone_id : ''; }
The cloud bigtable zone associated with the cluster. Generated from protobuf field <code>optional string zone_id = 1;</code> @return string
getZoneId
php
googleapis/google-cloud-php
Bigtable/src/V2/ResponseParams.php
https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/V2/ResponseParams.php
Apache-2.0
public function setZoneId($var) { GPBUtil::checkString($var, True); $this->zone_id = $var; return $this; }
The cloud bigtable zone associated with the cluster. Generated from protobuf field <code>optional string zone_id = 1;</code> @param string $var @return $this
setZoneId
php
googleapis/google-cloud-php
Bigtable/src/V2/ResponseParams.php
https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/V2/ResponseParams.php
Apache-2.0
public function getClusterId() { return isset($this->cluster_id) ? $this->cluster_id : ''; }
Identifier for a cluster that represents set of bigtable resources. Generated from protobuf field <code>optional string cluster_id = 2;</code> @return string
getClusterId
php
googleapis/google-cloud-php
Bigtable/src/V2/ResponseParams.php
https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/V2/ResponseParams.php
Apache-2.0
public function getWeeklySchedule() { return $this->readOneof(2); }
Weekly schedule for the Backup. Generated from protobuf field <code>.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2;</code> @return \Google\Cloud\AlloyDb\V1\AutomatedBackupPolicy\WeeklySchedule|null
getWeeklySchedule
php
googleapis/google-cloud-php
AlloyDb/src/V1/AutomatedBackupPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/AutomatedBackupPolicy.php
Apache-2.0
public function setWeeklySchedule($var) { GPBUtil::checkMessage($var, \Google\Cloud\AlloyDb\V1\AutomatedBackupPolicy\WeeklySchedule::class); $this->writeOneof(2, $var); return $this; }
Weekly schedule for the Backup. Generated from protobuf field <code>.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2;</code> @param \Google\Cloud\AlloyDb\V1\AutomatedBackupPolicy\WeeklySchedule $var @return $this
setWeeklySchedule
php
googleapis/google-cloud-php
AlloyDb/src/V1/AutomatedBackupPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/AutomatedBackupPolicy.php
Apache-2.0
public function getTimeBasedRetention() { return $this->readOneof(4); }
Time-based Backup retention policy. Generated from protobuf field <code>.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4;</code> @return \Google\Cloud\AlloyDb\V1\AutomatedBackupPolicy\TimeBasedRetention|null
getTimeBasedRetention
php
googleapis/google-cloud-php
AlloyDb/src/V1/AutomatedBackupPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/AutomatedBackupPolicy.php
Apache-2.0
public function setTimeBasedRetention($var) { GPBUtil::checkMessage($var, \Google\Cloud\AlloyDb\V1\AutomatedBackupPolicy\TimeBasedRetention::class); $this->writeOneof(4, $var); return $this; }
Time-based Backup retention policy. Generated from protobuf field <code>.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4;</code> @param \Google\Cloud\AlloyDb\V1\AutomatedBackupPolicy\TimeBasedRetention $var @return $this
setTimeBasedRetention
php
googleapis/google-cloud-php
AlloyDb/src/V1/AutomatedBackupPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/AutomatedBackupPolicy.php
Apache-2.0
public function getQuantityBasedRetention() { return $this->readOneof(5); }
Quantity-based Backup retention policy to retain recent backups. Generated from protobuf field <code>.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5;</code> @return \Google\Cloud\AlloyDb\V1\AutomatedBackupPolicy\QuantityBasedRetention|null
getQuantityBasedRetention
php
googleapis/google-cloud-php
AlloyDb/src/V1/AutomatedBackupPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/AutomatedBackupPolicy.php
Apache-2.0
public function setQuantityBasedRetention($var) { GPBUtil::checkMessage($var, \Google\Cloud\AlloyDb\V1\AutomatedBackupPolicy\QuantityBasedRetention::class); $this->writeOneof(5, $var); return $this; }
Quantity-based Backup retention policy to retain recent backups. Generated from protobuf field <code>.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5;</code> @param \Google\Cloud\AlloyDb\V1\AutomatedBackupPolicy\QuantityBasedRetention $var @return $this
setQuantityBasedRetention
php
googleapis/google-cloud-php
AlloyDb/src/V1/AutomatedBackupPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/AutomatedBackupPolicy.php
Apache-2.0
public function getBackupWindow() { return $this->backup_window; }
The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it defaults to 1 hour. Generated from protobuf field <code>.google.protobuf.Duration backup_window = 3;</code> @return \Google\Protobuf\Duration|null
getBackupWindow
php
googleapis/google-cloud-php
AlloyDb/src/V1/AutomatedBackupPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/AutomatedBackupPolicy.php
Apache-2.0
public function setBackupWindow($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); $this->backup_window = $var; return $this; }
The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it defaults to 1 hour. Generated from protobuf field <code>.google.protobuf.Duration backup_window = 3;</code> @param \Google\Protobuf\Duration $var @return $this
setBackupWindow
php
googleapis/google-cloud-php
AlloyDb/src/V1/AutomatedBackupPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/AutomatedBackupPolicy.php
Apache-2.0
public function setEncryptionConfig($var) { GPBUtil::checkMessage($var, \Google\Cloud\AlloyDb\V1\EncryptionConfig::class); $this->encryption_config = $var; return $this; }
Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data. Generated from protobuf field <code>.google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL];</code> @param \Google\Cloud\AlloyDb\V1\EncryptionConfig $var @return $this
setEncryptionConfig
php
googleapis/google-cloud-php
AlloyDb/src/V1/AutomatedBackupPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/AutomatedBackupPolicy.php
Apache-2.0
public function setModel($var) { GPBUtil::checkMessage($var, \Google\Cloud\Audit\BigQueryAuditMetadata\Model::class); $this->model = $var; return $this; }
Model metadata. Generated from protobuf field <code>.google.cloud.audit.BigQueryAuditMetadata.Model model = 1;</code> @param \Google\Cloud\Audit\BigQueryAuditMetadata\Model $var @return $this
setModel
php
googleapis/google-cloud-php
CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelCreation.php
https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelCreation.php
Apache-2.0
public function setReason($var) { GPBUtil::checkEnum($var, \Google\Cloud\Audit\BigQueryAuditMetadata\ModelCreation\Reason::class); $this->reason = $var; return $this; }
Describes how the model was created. Generated from protobuf field <code>.google.cloud.audit.BigQueryAuditMetadata.ModelCreation.Reason reason = 3;</code> @param int $var @return $this
setReason
php
googleapis/google-cloud-php
CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelCreation.php
https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelCreation.php
Apache-2.0
public function getFindingId() { return $this->readOneof(1); }
For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated. Each findings ID correlates to an entry in the findings output table, this table only gets created when users specify to save findings (add the save findings action to the request). Generated from protobuf field <code>string finding_id = 1;</code> @return string
getFindingId
php
googleapis/google-cloud-php
Dlp/src/V2/TransformationLocation.php
https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/TransformationLocation.php
Apache-2.0
public function setFindingId($var) { GPBUtil::checkString($var, True); $this->writeOneof(1, $var); return $this; }
For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated. Each findings ID correlates to an entry in the findings output table, this table only gets created when users specify to save findings (add the save findings action to the request). Generated from protobuf field <code>string finding_id = 1;</code> @param string $var @return $this
setFindingId
php
googleapis/google-cloud-php
Dlp/src/V2/TransformationLocation.php
https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/TransformationLocation.php
Apache-2.0
public function getRecordTransformation() { return $this->readOneof(2); }
For record transformations, provide a field and container information. Generated from protobuf field <code>.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;</code> @return \Google\Cloud\Dlp\V2\RecordTransformation|null
getRecordTransformation
php
googleapis/google-cloud-php
Dlp/src/V2/TransformationLocation.php
https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/TransformationLocation.php
Apache-2.0
public function setRecordTransformation($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\RecordTransformation::class); $this->writeOneof(2, $var); return $this; }
For record transformations, provide a field and container information. Generated from protobuf field <code>.google.privacy.dlp.v2.RecordTransformation record_transformation = 2;</code> @param \Google\Cloud\Dlp\V2\RecordTransformation $var @return $this
setRecordTransformation
php
googleapis/google-cloud-php
Dlp/src/V2/TransformationLocation.php
https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/TransformationLocation.php
Apache-2.0
public function getContainerType() { return $this->container_type; }
Information about the functionality of the container where this finding occurred, if available. Generated from protobuf field <code>.google.privacy.dlp.v2.TransformationContainerType container_type = 3;</code> @return int
getContainerType
php
googleapis/google-cloud-php
Dlp/src/V2/TransformationLocation.php
https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/TransformationLocation.php
Apache-2.0
public function setContainerType($var) { GPBUtil::checkEnum($var, \Google\Cloud\Dlp\V2\TransformationContainerType::class); $this->container_type = $var; return $this; }
Information about the functionality of the container where this finding occurred, if available. Generated from protobuf field <code>.google.privacy.dlp.v2.TransformationContainerType container_type = 3;</code> @param int $var @return $this
setContainerType
php
googleapis/google-cloud-php
Dlp/src/V2/TransformationLocation.php
https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/TransformationLocation.php
Apache-2.0
public function setItems($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Compute\V1\Subnetwork::class); $this->items = $arr; return $this; }
A list of Subnetwork resources. Generated from protobuf field <code>repeated .google.cloud.compute.v1.Subnetwork items = 100526016;</code> @param array<\Google\Cloud\Compute\V1\Subnetwork>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setItems
php
googleapis/google-cloud-php
Compute/src/V1/SubnetworkList.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SubnetworkList.php
Apache-2.0
public function getProcessingUnits() { return $this->processing_units; }
The number of processing units allocated to this instance. At most, one of either `processing_units` or `node_count` should be present in the message. Users can set the `processing_units` field to specify the target number of processing units allocated to the instance. If autoscaling is enabled, `processing_units` is treated as an `OUTPUT_ONLY` field and reflects the current number of processing units allocated to the instance. This might be zero in API responses for instances that are not yet in the `READY` state. For more information, see [Compute capacity, nodes and processing units](https://cloud.google.com/spanner/docs/compute-capacity). Generated from protobuf field <code>int32 processing_units = 9;</code> @return int
getProcessingUnits
php
googleapis/google-cloud-php
Spanner/src/Admin/Instance/V1/Instance.php
https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Instance/V1/Instance.php
Apache-2.0
public function setProcessingUnits($var) { GPBUtil::checkInt32($var); $this->processing_units = $var; return $this; }
The number of processing units allocated to this instance. At most, one of either `processing_units` or `node_count` should be present in the message. Users can set the `processing_units` field to specify the target number of processing units allocated to the instance. If autoscaling is enabled, `processing_units` is treated as an `OUTPUT_ONLY` field and reflects the current number of processing units allocated to the instance. This might be zero in API responses for instances that are not yet in the `READY` state. For more information, see [Compute capacity, nodes and processing units](https://cloud.google.com/spanner/docs/compute-capacity). Generated from protobuf field <code>int32 processing_units = 9;</code> @param int $var @return $this
setProcessingUnits
php
googleapis/google-cloud-php
Spanner/src/Admin/Instance/V1/Instance.php
https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Instance/V1/Instance.php
Apache-2.0
public function getReplicaComputeCapacity() { return $this->replica_compute_capacity; }
Output only. Lists the compute capacity per ReplicaSelection. A replica selection identifies a set of replicas with common properties. Replicas identified by a ReplicaSelection are scaled with the same compute capacity. Generated from protobuf field <code>repeated .google.spanner.admin.instance.v1.ReplicaComputeCapacity replica_compute_capacity = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Internal\RepeatedField
getReplicaComputeCapacity
php
googleapis/google-cloud-php
Spanner/src/Admin/Instance/V1/Instance.php
https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Instance/V1/Instance.php
Apache-2.0
public function setReplicaComputeCapacity($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Spanner\Admin\Instance\V1\ReplicaComputeCapacity::class); $this->replica_compute_capacity = $arr; return $this; }
Output only. Lists the compute capacity per ReplicaSelection. A replica selection identifies a set of replicas with common properties. Replicas identified by a ReplicaSelection are scaled with the same compute capacity. Generated from protobuf field <code>repeated .google.spanner.admin.instance.v1.ReplicaComputeCapacity replica_compute_capacity = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param array<\Google\Cloud\Spanner\Admin\Instance\V1\ReplicaComputeCapacity>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setReplicaComputeCapacity
php
googleapis/google-cloud-php
Spanner/src/Admin/Instance/V1/Instance.php
https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Instance/V1/Instance.php
Apache-2.0
public function getAutoscalingConfig() { return $this->autoscaling_config; }
Optional. The autoscaling configuration. Autoscaling is enabled if this field is set. When autoscaling is enabled, node_count and processing_units are treated as OUTPUT_ONLY fields and reflect the current compute capacity allocated to the instance. Generated from protobuf field <code>.google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Cloud\Spanner\Admin\Instance\V1\AutoscalingConfig|null
getAutoscalingConfig
php
googleapis/google-cloud-php
Spanner/src/Admin/Instance/V1/Instance.php
https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Instance/V1/Instance.php
Apache-2.0
public function setAutoscalingConfig($var) { GPBUtil::checkMessage($var, \Google\Cloud\Spanner\Admin\Instance\V1\AutoscalingConfig::class); $this->autoscaling_config = $var; return $this; }
Optional. The autoscaling configuration. Autoscaling is enabled if this field is set. When autoscaling is enabled, node_count and processing_units are treated as OUTPUT_ONLY fields and reflect the current compute capacity allocated to the instance. Generated from protobuf field <code>.google.spanner.admin.instance.v1.AutoscalingConfig autoscaling_config = 17 [(.google.api.field_behavior) = OPTIONAL];</code> @param \Google\Cloud\Spanner\Admin\Instance\V1\AutoscalingConfig $var @return $this
setAutoscalingConfig
php
googleapis/google-cloud-php
Spanner/src/Admin/Instance/V1/Instance.php
https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Instance/V1/Instance.php
Apache-2.0
public function setState($var) { GPBUtil::checkEnum($var, \Google\Cloud\Spanner\Admin\Instance\V1\Instance\State::class); $this->state = $var; return $this; }
Output only. The current instance state. For [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance], the state must be either omitted or set to `CREATING`. For [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance], the state must be either omitted or set to `READY`. Generated from protobuf field <code>.google.spanner.admin.instance.v1.Instance.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param int $var @return $this
setState
php
googleapis/google-cloud-php
Spanner/src/Admin/Instance/V1/Instance.php
https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Instance/V1/Instance.php
Apache-2.0
public function setInstanceType($var) { GPBUtil::checkEnum($var, \Google\Cloud\Spanner\Admin\Instance\V1\Instance\InstanceType::class); $this->instance_type = $var; return $this; }
The `InstanceType` of the current instance. Generated from protobuf field <code>.google.spanner.admin.instance.v1.Instance.InstanceType instance_type = 10;</code> @param int $var @return $this
setInstanceType
php
googleapis/google-cloud-php
Spanner/src/Admin/Instance/V1/Instance.php
https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Instance/V1/Instance.php
Apache-2.0
public function getEndpointUris() { return $this->endpoint_uris; }
Deprecated. This field is not populated. Generated from protobuf field <code>repeated string endpoint_uris = 8;</code> @return \Google\Protobuf\Internal\RepeatedField
getEndpointUris
php
googleapis/google-cloud-php
Spanner/src/Admin/Instance/V1/Instance.php
https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Instance/V1/Instance.php
Apache-2.0
public function setEndpointUris($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->endpoint_uris = $arr; return $this; }
Deprecated. This field is not populated. Generated from protobuf field <code>repeated string endpoint_uris = 8;</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setEndpointUris
php
googleapis/google-cloud-php
Spanner/src/Admin/Instance/V1/Instance.php
https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Instance/V1/Instance.php
Apache-2.0
public function getFreeInstanceMetadata() { return $this->free_instance_metadata; }
Free instance metadata. Only populated for free instances. Generated from protobuf field <code>.google.spanner.admin.instance.v1.FreeInstanceMetadata free_instance_metadata = 13;</code> @return \Google\Cloud\Spanner\Admin\Instance\V1\FreeInstanceMetadata|null
getFreeInstanceMetadata
php
googleapis/google-cloud-php
Spanner/src/Admin/Instance/V1/Instance.php
https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Instance/V1/Instance.php
Apache-2.0
public function setFreeInstanceMetadata($var) { GPBUtil::checkMessage($var, \Google\Cloud\Spanner\Admin\Instance\V1\FreeInstanceMetadata::class); $this->free_instance_metadata = $var; return $this; }
Free instance metadata. Only populated for free instances. Generated from protobuf field <code>.google.spanner.admin.instance.v1.FreeInstanceMetadata free_instance_metadata = 13;</code> @param \Google\Cloud\Spanner\Admin\Instance\V1\FreeInstanceMetadata $var @return $this
setFreeInstanceMetadata
php
googleapis/google-cloud-php
Spanner/src/Admin/Instance/V1/Instance.php
https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Instance/V1/Instance.php
Apache-2.0
public function setEdition($var) { GPBUtil::checkEnum($var, \Google\Cloud\Spanner\Admin\Instance\V1\Instance\Edition::class); $this->edition = $var; return $this; }
Optional. The `Edition` of the current instance. Generated from protobuf field <code>.google.spanner.admin.instance.v1.Instance.Edition edition = 20 [(.google.api.field_behavior) = OPTIONAL];</code> @param int $var @return $this
setEdition
php
googleapis/google-cloud-php
Spanner/src/Admin/Instance/V1/Instance.php
https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Instance/V1/Instance.php
Apache-2.0
public function getDefaultBackupScheduleType() { return $this->default_backup_schedule_type; }
Optional. Controls the default backup schedule behavior for new databases within the instance. By default, a backup schedule is created automatically when a new database is created in a new instance. Note that the `AUTOMATIC` value isn't permitted for free instances, as backups and backup schedules aren't supported for free instances. In the `GetInstance` or `ListInstances` response, if the value of `default_backup_schedule_type` isn't set, or set to `NONE`, Spanner doesn't create a default backup schedule for new databases in the instance. Generated from protobuf field <code>.google.spanner.admin.instance.v1.Instance.DefaultBackupScheduleType default_backup_schedule_type = 23 [(.google.api.field_behavior) = OPTIONAL];</code> @return int
getDefaultBackupScheduleType
php
googleapis/google-cloud-php
Spanner/src/Admin/Instance/V1/Instance.php
https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Instance/V1/Instance.php
Apache-2.0
public function setDefaultBackupScheduleType($var) { GPBUtil::checkEnum($var, \Google\Cloud\Spanner\Admin\Instance\V1\Instance\DefaultBackupScheduleType::class); $this->default_backup_schedule_type = $var; return $this; }
Optional. Controls the default backup schedule behavior for new databases within the instance. By default, a backup schedule is created automatically when a new database is created in a new instance. Note that the `AUTOMATIC` value isn't permitted for free instances, as backups and backup schedules aren't supported for free instances. In the `GetInstance` or `ListInstances` response, if the value of `default_backup_schedule_type` isn't set, or set to `NONE`, Spanner doesn't create a default backup schedule for new databases in the instance. Generated from protobuf field <code>.google.spanner.admin.instance.v1.Instance.DefaultBackupScheduleType default_backup_schedule_type = 23 [(.google.api.field_behavior) = OPTIONAL];</code> @param int $var @return $this
setDefaultBackupScheduleType
php
googleapis/google-cloud-php
Spanner/src/Admin/Instance/V1/Instance.php
https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Instance/V1/Instance.php
Apache-2.0
public function getTargetSslProxiesSetBackendServiceRequestResource() { return $this->target_ssl_proxies_set_backend_service_request_resource; }
The body resource for this request Generated from protobuf field <code>.google.cloud.compute.v1.TargetSslProxiesSetBackendServiceRequest target_ssl_proxies_set_backend_service_request_resource = 139080868 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Cloud\Compute\V1\TargetSslProxiesSetBackendServiceRequest|null
getTargetSslProxiesSetBackendServiceRequestResource
php
googleapis/google-cloud-php
Compute/src/V1/SetBackendServiceTargetSslProxyRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetBackendServiceTargetSslProxyRequest.php
Apache-2.0
public function setTargetSslProxiesSetBackendServiceRequestResource($var) { GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\TargetSslProxiesSetBackendServiceRequest::class); $this->target_ssl_proxies_set_backend_service_request_resource = $var; return $this; }
The body resource for this request Generated from protobuf field <code>.google.cloud.compute.v1.TargetSslProxiesSetBackendServiceRequest target_ssl_proxies_set_backend_service_request_resource = 139080868 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\Compute\V1\TargetSslProxiesSetBackendServiceRequest $var @return $this
setTargetSslProxiesSetBackendServiceRequestResource
php
googleapis/google-cloud-php
Compute/src/V1/SetBackendServiceTargetSslProxyRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetBackendServiceTargetSslProxyRequest.php
Apache-2.0
public function getTargetSslProxy() { return $this->target_ssl_proxy; }
Name of the TargetSslProxy resource whose BackendService resource is to be set. Generated from protobuf field <code>string target_ssl_proxy = 338795853 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getTargetSslProxy
php
googleapis/google-cloud-php
Compute/src/V1/SetBackendServiceTargetSslProxyRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetBackendServiceTargetSslProxyRequest.php
Apache-2.0
public function setTargetSslProxy($var) { GPBUtil::checkString($var, True); $this->target_ssl_proxy = $var; return $this; }
Name of the TargetSslProxy resource whose BackendService resource is to be set. Generated from protobuf field <code>string target_ssl_proxy = 338795853 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setTargetSslProxy
php
googleapis/google-cloud-php
Compute/src/V1/SetBackendServiceTargetSslProxyRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetBackendServiceTargetSslProxyRequest.php
Apache-2.0
public function getAzureCluster() { return $this->azure_cluster; }
Required. The AzureCluster, which owns the JsonWebKeys. Format: `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>` Generated from protobuf field <code>string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @return string
getAzureCluster
php
googleapis/google-cloud-php
GkeMultiCloud/src/V1/GetAzureJsonWebKeysRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/GetAzureJsonWebKeysRequest.php
Apache-2.0
public function setAzureCluster($var) { GPBUtil::checkString($var, True); $this->azure_cluster = $var; return $this; }
Required. The AzureCluster, which owns the JsonWebKeys. Format: `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>` Generated from protobuf field <code>string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @param string $var @return $this
setAzureCluster
php
googleapis/google-cloud-php
GkeMultiCloud/src/V1/GetAzureJsonWebKeysRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/GetAzureJsonWebKeysRequest.php
Apache-2.0
public function setSuggestions($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\V2\Intent\Message\Suggestion::class); $this->suggestions = $arr; return $this; }
Required. The list of suggested replies. Generated from protobuf field <code>repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param array<\Google\Cloud\Dialogflow\V2\Intent\Message\Suggestion>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setSuggestions
php
googleapis/google-cloud-php
Dialogflow/src/V2/Intent/Message/Suggestions.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Intent/Message/Suggestions.php
Apache-2.0
public function setUserEvent($var) { GPBUtil::checkMessage($var, \Google\Cloud\DiscoveryEngine\V1\UserEvent::class); $this->user_event = $var; return $this; }
Required. User event to write. Generated from protobuf field <code>optional .google.cloud.discoveryengine.v1.UserEvent user_event = 2 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\DiscoveryEngine\V1\UserEvent $var @return $this
setUserEvent
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/WriteUserEventRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/WriteUserEventRequest.php
Apache-2.0
public function getWriteAsync() { return $this->write_async; }
If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. Generated from protobuf field <code>bool write_async = 3;</code> @return bool
getWriteAsync
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/WriteUserEventRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/WriteUserEventRequest.php
Apache-2.0
public function setWriteAsync($var) { GPBUtil::checkBool($var); $this->write_async = $var; return $this; }
If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write. Generated from protobuf field <code>bool write_async = 3;</code> @param bool $var @return $this
setWriteAsync
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/WriteUserEventRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/WriteUserEventRequest.php
Apache-2.0
public function getCloudStorageLocation() { return $this->readOneof(2); }
Optional. Empty placeholder to denote that this is a Google Cloud Storage export request. Generated from protobuf field <code>.google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation cloud_storage_location = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Cloud\ContainerAnalysis\V1\ExportSBOMRequest\CloudStorageLocation|null
getCloudStorageLocation
php
googleapis/google-cloud-php
ContainerAnalysis/src/V1/ExportSBOMRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/ContainerAnalysis/src/V1/ExportSBOMRequest.php
Apache-2.0
public function setCloudStorageLocation($var) { GPBUtil::checkMessage($var, \Google\Cloud\ContainerAnalysis\V1\ExportSBOMRequest\CloudStorageLocation::class); $this->writeOneof(2, $var); return $this; }
Optional. Empty placeholder to denote that this is a Google Cloud Storage export request. Generated from protobuf field <code>.google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation cloud_storage_location = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @param \Google\Cloud\ContainerAnalysis\V1\ExportSBOMRequest\CloudStorageLocation $var @return $this
setCloudStorageLocation
php
googleapis/google-cloud-php
ContainerAnalysis/src/V1/ExportSBOMRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/ContainerAnalysis/src/V1/ExportSBOMRequest.php
Apache-2.0
public function getNetworkSecurityGroupId() { return $this->network_security_group_id; }
Output only. The ARM ID of the cluster network security group. Generated from protobuf field <code>string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getNetworkSecurityGroupId
php
googleapis/google-cloud-php
GkeMultiCloud/src/V1/AzureClusterResources.php
https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/AzureClusterResources.php
Apache-2.0
public function setNetworkSecurityGroupId($var) { GPBUtil::checkString($var, True); $this->network_security_group_id = $var; return $this; }
Output only. The ARM ID of the cluster network security group. Generated from protobuf field <code>string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setNetworkSecurityGroupId
php
googleapis/google-cloud-php
GkeMultiCloud/src/V1/AzureClusterResources.php
https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/AzureClusterResources.php
Apache-2.0
public function getControlPlaneApplicationSecurityGroupId() { return $this->control_plane_application_security_group_id; }
Output only. The ARM ID of the control plane application security group. Generated from protobuf field <code>string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getControlPlaneApplicationSecurityGroupId
php
googleapis/google-cloud-php
GkeMultiCloud/src/V1/AzureClusterResources.php
https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/AzureClusterResources.php
Apache-2.0
public function setControlPlaneApplicationSecurityGroupId($var) { GPBUtil::checkString($var, True); $this->control_plane_application_security_group_id = $var; return $this; }
Output only. The ARM ID of the control plane application security group. Generated from protobuf field <code>string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setControlPlaneApplicationSecurityGroupId
php
googleapis/google-cloud-php
GkeMultiCloud/src/V1/AzureClusterResources.php
https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/AzureClusterResources.php
Apache-2.0
public function getGcsSourcePath() { return $this->readOneof(1); }
The Cloud Storage path for a directory of files to translate in a task. Generated from protobuf field <code>string gcs_source_path = 1;</code> @return string
getGcsSourcePath
php
googleapis/google-cloud-php
BigQueryMigration/src/V2/TranslationConfigDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php
Apache-2.0
public function setGcsSourcePath($var) { GPBUtil::checkString($var, True); $this->writeOneof(1, $var); return $this; }
The Cloud Storage path for a directory of files to translate in a task. Generated from protobuf field <code>string gcs_source_path = 1;</code> @param string $var @return $this
setGcsSourcePath
php
googleapis/google-cloud-php
BigQueryMigration/src/V2/TranslationConfigDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php
Apache-2.0
public function getGcsTargetPath() { return $this->readOneof(2); }
The Cloud Storage path to write back the corresponding input files to. Generated from protobuf field <code>string gcs_target_path = 2;</code> @return string
getGcsTargetPath
php
googleapis/google-cloud-php
BigQueryMigration/src/V2/TranslationConfigDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php
Apache-2.0
public function setGcsTargetPath($var) { GPBUtil::checkString($var, True); $this->writeOneof(2, $var); return $this; }
The Cloud Storage path to write back the corresponding input files to. Generated from protobuf field <code>string gcs_target_path = 2;</code> @param string $var @return $this
setGcsTargetPath
php
googleapis/google-cloud-php
BigQueryMigration/src/V2/TranslationConfigDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php
Apache-2.0
public function getNameMappingList() { return $this->readOneof(5); }
The mapping of objects to their desired output names in list form. Generated from protobuf field <code>.google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5;</code> @return \Google\Cloud\BigQuery\Migration\V2\ObjectNameMappingList|null
getNameMappingList
php
googleapis/google-cloud-php
BigQueryMigration/src/V2/TranslationConfigDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php
Apache-2.0
public function setNameMappingList($var) { GPBUtil::checkMessage($var, \Google\Cloud\BigQuery\Migration\V2\ObjectNameMappingList::class); $this->writeOneof(5, $var); return $this; }
The mapping of objects to their desired output names in list form. Generated from protobuf field <code>.google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5;</code> @param \Google\Cloud\BigQuery\Migration\V2\ObjectNameMappingList $var @return $this
setNameMappingList
php
googleapis/google-cloud-php
BigQueryMigration/src/V2/TranslationConfigDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php
Apache-2.0
public function getSourceDialect() { return $this->source_dialect; }
The dialect of the input files. Generated from protobuf field <code>.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;</code> @return \Google\Cloud\BigQuery\Migration\V2\Dialect|null
getSourceDialect
php
googleapis/google-cloud-php
BigQueryMigration/src/V2/TranslationConfigDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php
Apache-2.0
public function setSourceDialect($var) { GPBUtil::checkMessage($var, \Google\Cloud\BigQuery\Migration\V2\Dialect::class); $this->source_dialect = $var; return $this; }
The dialect of the input files. Generated from protobuf field <code>.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;</code> @param \Google\Cloud\BigQuery\Migration\V2\Dialect $var @return $this
setSourceDialect
php
googleapis/google-cloud-php
BigQueryMigration/src/V2/TranslationConfigDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php
Apache-2.0
public function getTargetDialect() { return $this->target_dialect; }
The target dialect for the engine to translate the input to. Generated from protobuf field <code>.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;</code> @return \Google\Cloud\BigQuery\Migration\V2\Dialect|null
getTargetDialect
php
googleapis/google-cloud-php
BigQueryMigration/src/V2/TranslationConfigDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php
Apache-2.0
public function setTargetDialect($var) { GPBUtil::checkMessage($var, \Google\Cloud\BigQuery\Migration\V2\Dialect::class); $this->target_dialect = $var; return $this; }
The target dialect for the engine to translate the input to. Generated from protobuf field <code>.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;</code> @param \Google\Cloud\BigQuery\Migration\V2\Dialect $var @return $this
setTargetDialect
php
googleapis/google-cloud-php
BigQueryMigration/src/V2/TranslationConfigDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php
Apache-2.0
public function getSourceEnv() { return $this->source_env; }
The default source environment values for the translation. Generated from protobuf field <code>.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;</code> @return \Google\Cloud\BigQuery\Migration\V2\SourceEnv|null
getSourceEnv
php
googleapis/google-cloud-php
BigQueryMigration/src/V2/TranslationConfigDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php
Apache-2.0
public function setSourceEnv($var) { GPBUtil::checkMessage($var, \Google\Cloud\BigQuery\Migration\V2\SourceEnv::class); $this->source_env = $var; return $this; }
The default source environment values for the translation. Generated from protobuf field <code>.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;</code> @param \Google\Cloud\BigQuery\Migration\V2\SourceEnv $var @return $this
setSourceEnv
php
googleapis/google-cloud-php
BigQueryMigration/src/V2/TranslationConfigDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php
Apache-2.0
public function getRequestSource() { return $this->request_source; }
The indicator to show translation request initiator. Generated from protobuf field <code>string request_source = 8;</code> @return string
getRequestSource
php
googleapis/google-cloud-php
BigQueryMigration/src/V2/TranslationConfigDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php
Apache-2.0
public function setRequestSource($var) { GPBUtil::checkString($var, True); $this->request_source = $var; return $this; }
The indicator to show translation request initiator. Generated from protobuf field <code>string request_source = 8;</code> @param string $var @return $this
setRequestSource
php
googleapis/google-cloud-php
BigQueryMigration/src/V2/TranslationConfigDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php
Apache-2.0
public function getTargetTypes() { return $this->target_types; }
The types of output to generate, e.g. sql, metadata etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types. Generated from protobuf field <code>repeated string target_types = 9;</code> @return \Google\Protobuf\Internal\RepeatedField
getTargetTypes
php
googleapis/google-cloud-php
BigQueryMigration/src/V2/TranslationConfigDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php
Apache-2.0
public function setTargetTypes($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->target_types = $arr; return $this; }
The types of output to generate, e.g. sql, metadata etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types. Generated from protobuf field <code>repeated string target_types = 9;</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setTargetTypes
php
googleapis/google-cloud-php
BigQueryMigration/src/V2/TranslationConfigDetails.php
https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php
Apache-2.0
public function getPoint() { return $this->point; }
The location's coordinates. Generated from protobuf field <code>.google.type.LatLng point = 1;</code> @return \Google\Type\LatLng|null
getPoint
php
googleapis/google-cloud-php
MapsFleetEngineDelivery/src/V1/LocationInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/MapsFleetEngineDelivery/src/V1/LocationInfo.php
Apache-2.0
public function setPoint($var) { GPBUtil::checkMessage($var, \Google\Type\LatLng::class); $this->point = $var; return $this; }
The location's coordinates. Generated from protobuf field <code>.google.type.LatLng point = 1;</code> @param \Google\Type\LatLng $var @return $this
setPoint
php
googleapis/google-cloud-php
MapsFleetEngineDelivery/src/V1/LocationInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/MapsFleetEngineDelivery/src/V1/LocationInfo.php
Apache-2.0
public function setHttpMethod($var) { GPBUtil::checkString($var, True); $this->http_method = $var; return $this; }
Output only. The http method of the request that was used to visit the URL, in uppercase. Generated from protobuf field <code>string http_method = 1;</code> @param string $var @return $this
setHttpMethod
php
googleapis/google-cloud-php
WebSecurityScanner/src/V1/CrawledUrl.php
https://github.com/googleapis/google-cloud-php/blob/master/WebSecurityScanner/src/V1/CrawledUrl.php
Apache-2.0
public function setBody($var) { GPBUtil::checkString($var, True); $this->body = $var; return $this; }
Output only. The body of the request that was used to visit the URL. Generated from protobuf field <code>string body = 3;</code> @param string $var @return $this
setBody
php
googleapis/google-cloud-php
WebSecurityScanner/src/V1/CrawledUrl.php
https://github.com/googleapis/google-cloud-php/blob/master/WebSecurityScanner/src/V1/CrawledUrl.php
Apache-2.0
public function setBindings($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Compute\V1\Binding::class); $this->bindings = $arr; return $this; }
Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings. Generated from protobuf field <code>repeated .google.cloud.compute.v1.Binding bindings = 403251854;</code> @param array<\Google\Cloud\Compute\V1\Binding>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setBindings
php
googleapis/google-cloud-php
Compute/src/V1/GlobalSetPolicyRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/GlobalSetPolicyRequest.php
Apache-2.0