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 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 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 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 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 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 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 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 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 setProtocol($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\SecurityCenter\V1\Connection\Protocol::class);
$this->protocol = $var;
return $this;
} | IANA Internet Protocol Number such as TCP(6) and UDP(17).
Generated from protobuf field <code>.google.cloud.securitycenter.v1.Connection.Protocol protocol = 5;</code>
@param int $var
@return $this | setProtocol | php | googleapis/google-cloud-php | SecurityCenter/src/V1/Connection.php | https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V1/Connection.php | Apache-2.0 |
public function setErrorLogEntries($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Parallelstore\V1beta\TransferErrorLogEntry::class);
$this->error_log_entries = $arr;
return $this;
} | A list of messages that carry the error details.
Generated from protobuf field <code>repeated .google.cloud.parallelstore.v1beta.TransferErrorLogEntry error_log_entries = 4;</code>
@param array<\Google\Cloud\Parallelstore\V1beta\TransferErrorLogEntry>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setErrorLogEntries | php | googleapis/google-cloud-php | Parallelstore/src/V1beta/TransferErrorSummary.php | https://github.com/googleapis/google-cloud-php/blob/master/Parallelstore/src/V1beta/TransferErrorSummary.php | Apache-2.0 |
public function setEntries($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->entries = $arr;
return $this;
} | The data entries in a CSV file row, as a string array rather than a
single comma-separated string.
Generated from protobuf field <code>repeated string entries = 1;</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setEntries | php | googleapis/google-cloud-php | AdvisoryNotifications/src/V1/Csv/CsvRow.php | https://github.com/googleapis/google-cloud-php/blob/master/AdvisoryNotifications/src/V1/Csv/CsvRow.php | Apache-2.0 |
public function getPubsub()
{
return $this->readOneof(1);
} | The Pub/Sub topic and subscription used by Eventarc as a transport
intermediary.
Generated from protobuf field <code>.google.cloud.eventarc.v1.Pubsub pubsub = 1;</code>
@return \Google\Cloud\Eventarc\V1\Pubsub|null | getPubsub | php | googleapis/google-cloud-php | Eventarc/src/V1/Transport.php | https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/Transport.php | Apache-2.0 |
public function setPubsub($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Eventarc\V1\Pubsub::class);
$this->writeOneof(1, $var);
return $this;
} | The Pub/Sub topic and subscription used by Eventarc as a transport
intermediary.
Generated from protobuf field <code>.google.cloud.eventarc.v1.Pubsub pubsub = 1;</code>
@param \Google\Cloud\Eventarc\V1\Pubsub $var
@return $this | setPubsub | php | googleapis/google-cloud-php | Eventarc/src/V1/Transport.php | https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/Transport.php | Apache-2.0 |
public function getBudget()
{
return $this->budget;
} | Required. Budget to create.
Generated from protobuf field <code>.google.cloud.billing.budgets.v1.Budget budget = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\Billing\Budgets\V1\Budget|null | getBudget | php | googleapis/google-cloud-php | BillingBudgets/src/V1/CreateBudgetRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BillingBudgets/src/V1/CreateBudgetRequest.php | Apache-2.0 |
public function setBudget($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Billing\Budgets\V1\Budget::class);
$this->budget = $var;
return $this;
} | Required. Budget to create.
Generated from protobuf field <code>.google.cloud.billing.budgets.v1.Budget budget = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\Billing\Budgets\V1\Budget $var
@return $this | setBudget | php | googleapis/google-cloud-php | BillingBudgets/src/V1/CreateBudgetRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BillingBudgets/src/V1/CreateBudgetRequest.php | Apache-2.0 |
public function setSubscription($var)
{
GPBUtil::checkString($var, True);
$this->subscription = $var;
return $this;
} | A pubsub subscription, in the form of
"pubsub.googleapis.com/subscriptions/<project-id>/<subscription-name>"
Generated from protobuf field <code>string subscription = 2;</code>
@param string $var
@return $this | setSubscription | php | googleapis/google-cloud-php | Dataflow/src/V1beta3/PubsubLocation.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/PubsubLocation.php | Apache-2.0 |
public function getTimestampLabel()
{
return $this->timestamp_label;
} | If set, contains a pubsub label from which to extract record timestamps.
If left empty, record timestamps will be generated upon arrival.
Generated from protobuf field <code>string timestamp_label = 3;</code>
@return string | getTimestampLabel | php | googleapis/google-cloud-php | Dataflow/src/V1beta3/PubsubLocation.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/PubsubLocation.php | Apache-2.0 |
public function setTimestampLabel($var)
{
GPBUtil::checkString($var, True);
$this->timestamp_label = $var;
return $this;
} | If set, contains a pubsub label from which to extract record timestamps.
If left empty, record timestamps will be generated upon arrival.
Generated from protobuf field <code>string timestamp_label = 3;</code>
@param string $var
@return $this | setTimestampLabel | php | googleapis/google-cloud-php | Dataflow/src/V1beta3/PubsubLocation.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/PubsubLocation.php | Apache-2.0 |
public function getIdLabel()
{
return $this->id_label;
} | If set, contains a pubsub label from which to extract record ids.
If left empty, record deduplication will be strictly best effort.
Generated from protobuf field <code>string id_label = 4;</code>
@return string | getIdLabel | php | googleapis/google-cloud-php | Dataflow/src/V1beta3/PubsubLocation.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/PubsubLocation.php | Apache-2.0 |
public function setIdLabel($var)
{
GPBUtil::checkString($var, True);
$this->id_label = $var;
return $this;
} | If set, contains a pubsub label from which to extract record ids.
If left empty, record deduplication will be strictly best effort.
Generated from protobuf field <code>string id_label = 4;</code>
@param string $var
@return $this | setIdLabel | php | googleapis/google-cloud-php | Dataflow/src/V1beta3/PubsubLocation.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/PubsubLocation.php | Apache-2.0 |
public function getDropLateData()
{
return $this->drop_late_data;
} | Indicates whether the pipeline allows late-arriving data.
Generated from protobuf field <code>bool drop_late_data = 5;</code>
@return bool | getDropLateData | php | googleapis/google-cloud-php | Dataflow/src/V1beta3/PubsubLocation.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/PubsubLocation.php | Apache-2.0 |
public function setDropLateData($var)
{
GPBUtil::checkBool($var);
$this->drop_late_data = $var;
return $this;
} | Indicates whether the pipeline allows late-arriving data.
Generated from protobuf field <code>bool drop_late_data = 5;</code>
@param bool $var
@return $this | setDropLateData | php | googleapis/google-cloud-php | Dataflow/src/V1beta3/PubsubLocation.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/PubsubLocation.php | Apache-2.0 |
public function getTrackingSubscription()
{
return $this->tracking_subscription;
} | If set, specifies the pubsub subscription that will be used for tracking
custom time timestamps for watermark estimation.
Generated from protobuf field <code>string tracking_subscription = 6;</code>
@return string | getTrackingSubscription | php | googleapis/google-cloud-php | Dataflow/src/V1beta3/PubsubLocation.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/PubsubLocation.php | Apache-2.0 |
public function setTrackingSubscription($var)
{
GPBUtil::checkString($var, True);
$this->tracking_subscription = $var;
return $this;
} | If set, specifies the pubsub subscription that will be used for tracking
custom time timestamps for watermark estimation.
Generated from protobuf field <code>string tracking_subscription = 6;</code>
@param string $var
@return $this | setTrackingSubscription | php | googleapis/google-cloud-php | Dataflow/src/V1beta3/PubsubLocation.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/PubsubLocation.php | Apache-2.0 |
public function getWithAttributes()
{
return $this->with_attributes;
} | If true, then the client has requested to get pubsub attributes.
Generated from protobuf field <code>bool with_attributes = 7;</code>
@return bool | getWithAttributes | php | googleapis/google-cloud-php | Dataflow/src/V1beta3/PubsubLocation.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/PubsubLocation.php | Apache-2.0 |
public function setWithAttributes($var)
{
GPBUtil::checkBool($var);
$this->with_attributes = $var;
return $this;
} | If true, then the client has requested to get pubsub attributes.
Generated from protobuf field <code>bool with_attributes = 7;</code>
@param bool $var
@return $this | setWithAttributes | php | googleapis/google-cloud-php | Dataflow/src/V1beta3/PubsubLocation.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/PubsubLocation.php | Apache-2.0 |
public function getExternalAccessRule()
{
return $this->external_access_rule;
} | Required. Description of the external access rule.
Generated from protobuf field <code>.google.cloud.vmwareengine.v1.ExternalAccessRule external_access_rule = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\VmwareEngine\V1\ExternalAccessRule|null | getExternalAccessRule | php | googleapis/google-cloud-php | VmwareEngine/src/V1/UpdateExternalAccessRuleRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VmwareEngine/src/V1/UpdateExternalAccessRuleRequest.php | Apache-2.0 |
public function setExternalAccessRule($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\VmwareEngine\V1\ExternalAccessRule::class);
$this->external_access_rule = $var;
return $this;
} | Required. Description of the external access rule.
Generated from protobuf field <code>.google.cloud.vmwareengine.v1.ExternalAccessRule external_access_rule = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\VmwareEngine\V1\ExternalAccessRule $var
@return $this | setExternalAccessRule | php | googleapis/google-cloud-php | VmwareEngine/src/V1/UpdateExternalAccessRuleRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VmwareEngine/src/V1/UpdateExternalAccessRuleRequest.php | Apache-2.0 |
public function getActionTokenSiteKeys()
{
return $this->action_token_site_keys;
} | A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
Generated from protobuf field <code>repeated string action_token_site_keys = 59929885;</code>
@return \Google\Protobuf\Internal\RepeatedField | getActionTokenSiteKeys | php | googleapis/google-cloud-php | Compute/src/V1/SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.php | Apache-2.0 |
public function setActionTokenSiteKeys($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->action_token_site_keys = $arr;
return $this;
} | A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
Generated from protobuf field <code>repeated string action_token_site_keys = 59929885;</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setActionTokenSiteKeys | php | googleapis/google-cloud-php | Compute/src/V1/SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.php | Apache-2.0 |
public function getSessionTokenSiteKeys()
{
return $this->session_token_site_keys;
} | A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
Generated from protobuf field <code>repeated string session_token_site_keys = 333363581;</code>
@return \Google\Protobuf\Internal\RepeatedField | getSessionTokenSiteKeys | php | googleapis/google-cloud-php | Compute/src/V1/SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.php | Apache-2.0 |
public function setSessionTokenSiteKeys($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->session_token_site_keys = $arr;
return $this;
} | A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.
Generated from protobuf field <code>repeated string session_token_site_keys = 333363581;</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setSessionTokenSiteKeys | php | googleapis/google-cloud-php | Compute/src/V1/SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.php | Apache-2.0 |
public function getChunkedValueSize()
{
return $this->chunked_value_size;
} | The total value size of all the chunks that make up the `SetCell`.
Generated from protobuf field <code>int32 chunked_value_size = 1;</code>
@return int | getChunkedValueSize | php | googleapis/google-cloud-php | Bigtable/src/V2/ReadChangeStreamResponse/MutationChunk/ChunkInfo.php | https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/V2/ReadChangeStreamResponse/MutationChunk/ChunkInfo.php | Apache-2.0 |
public function setChunkedValueSize($var)
{
GPBUtil::checkInt32($var);
$this->chunked_value_size = $var;
return $this;
} | The total value size of all the chunks that make up the `SetCell`.
Generated from protobuf field <code>int32 chunked_value_size = 1;</code>
@param int $var
@return $this | setChunkedValueSize | php | googleapis/google-cloud-php | Bigtable/src/V2/ReadChangeStreamResponse/MutationChunk/ChunkInfo.php | https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/V2/ReadChangeStreamResponse/MutationChunk/ChunkInfo.php | Apache-2.0 |
public function getChunkedValueOffset()
{
return $this->chunked_value_offset;
} | The byte offset of this chunk into the total value size of the
mutation.
Generated from protobuf field <code>int32 chunked_value_offset = 2;</code>
@return int | getChunkedValueOffset | php | googleapis/google-cloud-php | Bigtable/src/V2/ReadChangeStreamResponse/MutationChunk/ChunkInfo.php | https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/V2/ReadChangeStreamResponse/MutationChunk/ChunkInfo.php | Apache-2.0 |
public function setChunkedValueOffset($var)
{
GPBUtil::checkInt32($var);
$this->chunked_value_offset = $var;
return $this;
} | The byte offset of this chunk into the total value size of the
mutation.
Generated from protobuf field <code>int32 chunked_value_offset = 2;</code>
@param int $var
@return $this | setChunkedValueOffset | php | googleapis/google-cloud-php | Bigtable/src/V2/ReadChangeStreamResponse/MutationChunk/ChunkInfo.php | https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/V2/ReadChangeStreamResponse/MutationChunk/ChunkInfo.php | Apache-2.0 |
public function getLastChunk()
{
return $this->last_chunk;
} | When true, this is the last chunk of a chunked `SetCell`.
Generated from protobuf field <code>bool last_chunk = 3;</code>
@return bool | getLastChunk | php | googleapis/google-cloud-php | Bigtable/src/V2/ReadChangeStreamResponse/MutationChunk/ChunkInfo.php | https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/V2/ReadChangeStreamResponse/MutationChunk/ChunkInfo.php | Apache-2.0 |
public function setLastChunk($var)
{
GPBUtil::checkBool($var);
$this->last_chunk = $var;
return $this;
} | When true, this is the last chunk of a chunked `SetCell`.
Generated from protobuf field <code>bool last_chunk = 3;</code>
@param bool $var
@return $this | setLastChunk | php | googleapis/google-cloud-php | Bigtable/src/V2/ReadChangeStreamResponse/MutationChunk/ChunkInfo.php | https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/V2/ReadChangeStreamResponse/MutationChunk/ChunkInfo.php | Apache-2.0 |
public function getGcsDestination()
{
return $this->gcs_destination;
} | The Google Cloud Storage location to write the output(s) to.
Generated from protobuf field <code>.google.cloud.vision.v1.GcsDestination gcs_destination = 1;</code>
@return \Google\Cloud\Vision\V1\GcsDestination|null | getGcsDestination | php | googleapis/google-cloud-php | Vision/src/V1/OutputConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Vision/src/V1/OutputConfig.php | Apache-2.0 |
public function setGcsDestination($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Vision\V1\GcsDestination::class);
$this->gcs_destination = $var;
return $this;
} | The Google Cloud Storage location to write the output(s) to.
Generated from protobuf field <code>.google.cloud.vision.v1.GcsDestination gcs_destination = 1;</code>
@param \Google\Cloud\Vision\V1\GcsDestination $var
@return $this | setGcsDestination | php | googleapis/google-cloud-php | Vision/src/V1/OutputConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Vision/src/V1/OutputConfig.php | Apache-2.0 |
public function getBatchSize()
{
return $this->batch_size;
} | The max number of response protos to put into each output JSON file on
Google Cloud Storage.
The valid range is [1, 100]. If not specified, the default value is 20.
For example, for one pdf file with 100 pages, 100 response protos will
be generated. If `batch_size` = 20, then 5 json files each
containing 20 response protos will be written under the prefix
`gcs_destination`.`uri`.
Currently, batch_size only applies to GcsDestination, with potential future
support for other output configurations.
Generated from protobuf field <code>int32 batch_size = 2;</code>
@return int | getBatchSize | php | googleapis/google-cloud-php | Vision/src/V1/OutputConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Vision/src/V1/OutputConfig.php | Apache-2.0 |
public function setBatchSize($var)
{
GPBUtil::checkInt32($var);
$this->batch_size = $var;
return $this;
} | The max number of response protos to put into each output JSON file on
Google Cloud Storage.
The valid range is [1, 100]. If not specified, the default value is 20.
For example, for one pdf file with 100 pages, 100 response protos will
be generated. If `batch_size` = 20, then 5 json files each
containing 20 response protos will be written under the prefix
`gcs_destination`.`uri`.
Currently, batch_size only applies to GcsDestination, with potential future
support for other output configurations.
Generated from protobuf field <code>int32 batch_size = 2;</code>
@param int $var
@return $this | setBatchSize | php | googleapis/google-cloud-php | Vision/src/V1/OutputConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Vision/src/V1/OutputConfig.php | Apache-2.0 |
public function getAppProfile()
{
return $this->app_profile;
} | Required. The app profile to be created.
Fields marked `OutputOnly` will be ignored.
Generated from protobuf field <code>.google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\Bigtable\Admin\V2\AppProfile|null | getAppProfile | php | googleapis/google-cloud-php | Bigtable/src/Admin/V2/CreateAppProfileRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/Admin/V2/CreateAppProfileRequest.php | Apache-2.0 |
public function setAppProfile($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\AppProfile::class);
$this->app_profile = $var;
return $this;
} | Required. The app profile to be created.
Fields marked `OutputOnly` will be ignored.
Generated from protobuf field <code>.google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\Bigtable\Admin\V2\AppProfile $var
@return $this | setAppProfile | php | googleapis/google-cloud-php | Bigtable/src/Admin/V2/CreateAppProfileRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/Admin/V2/CreateAppProfileRequest.php | Apache-2.0 |
public function setItems($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Compute\V1\NetworkAttachmentsScopedList::class);
$this->items = $arr;
return $this;
} | A list of NetworkAttachmentsScopedList resources.
Generated from protobuf field <code>map<string, .google.cloud.compute.v1.NetworkAttachmentsScopedList> items = 100526016;</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this | setItems | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachmentAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachmentAggregatedList.php | Apache-2.0 |
public function getDraftModel()
{
return $this->draft_model;
} | Required. The resource name of the draft model.
Generated from protobuf field <code>string draft_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getDraftModel | php | googleapis/google-cloud-php | AiPlatform/src/V1/SpeculativeDecodingSpec/DraftModelSpeculation.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/SpeculativeDecodingSpec/DraftModelSpeculation.php | Apache-2.0 |
public function setDraftModel($var)
{
GPBUtil::checkString($var, True);
$this->draft_model = $var;
return $this;
} | Required. The resource name of the draft model.
Generated from protobuf field <code>string draft_model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setDraftModel | php | googleapis/google-cloud-php | AiPlatform/src/V1/SpeculativeDecodingSpec/DraftModelSpeculation.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/SpeculativeDecodingSpec/DraftModelSpeculation.php | Apache-2.0 |
public function getConnectionProfile()
{
return $this->connection_profile;
} | Required. The connection profile to update.
Generated from protobuf field <code>.google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\Datastream\V1\ConnectionProfile|null | getConnectionProfile | php | googleapis/google-cloud-php | Datastream/src/V1/UpdateConnectionProfileRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/UpdateConnectionProfileRequest.php | Apache-2.0 |
public function setConnectionProfile($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Datastream\V1\ConnectionProfile::class);
$this->connection_profile = $var;
return $this;
} | Required. The connection profile to update.
Generated from protobuf field <code>.google.cloud.datastream.v1.ConnectionProfile connection_profile = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\Datastream\V1\ConnectionProfile $var
@return $this | setConnectionProfile | php | googleapis/google-cloud-php | Datastream/src/V1/UpdateConnectionProfileRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/UpdateConnectionProfileRequest.php | Apache-2.0 |
public function getMatchingVariantCount()
{
return $this->matching_variant_count;
} | The count of matched
[variant][google.cloud.retail.v2.Product.Type.VARIANT]
[Product][google.cloud.retail.v2.Product]s.
Generated from protobuf field <code>int32 matching_variant_count = 3;</code>
@return int | getMatchingVariantCount | php | googleapis/google-cloud-php | Retail/src/V2/SearchResponse/SearchResult.php | https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/SearchResponse/SearchResult.php | Apache-2.0 |
public function setMatchingVariantCount($var)
{
GPBUtil::checkInt32($var);
$this->matching_variant_count = $var;
return $this;
} | The count of matched
[variant][google.cloud.retail.v2.Product.Type.VARIANT]
[Product][google.cloud.retail.v2.Product]s.
Generated from protobuf field <code>int32 matching_variant_count = 3;</code>
@param int $var
@return $this | setMatchingVariantCount | php | googleapis/google-cloud-php | Retail/src/V2/SearchResponse/SearchResult.php | https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/SearchResponse/SearchResult.php | Apache-2.0 |
public function getMatchingVariantFields()
{
return $this->matching_variant_fields;
} | If a [variant][google.cloud.retail.v2.Product.Type.VARIANT]
[Product][google.cloud.retail.v2.Product] matches the search query, this
map indicates which [Product][google.cloud.retail.v2.Product] fields are
matched. The key is the
[Product.name][google.cloud.retail.v2.Product.name], the value is a field
mask of the matched [Product][google.cloud.retail.v2.Product] fields. If
matched attributes cannot be determined, this map will be empty.
For example, a key "sku1" with field mask
"products.color_info" indicates there is a match between
"sku1" [ColorInfo][google.cloud.retail.v2.ColorInfo] and the query.
Generated from protobuf field <code>map<string, .google.protobuf.FieldMask> matching_variant_fields = 4;</code>
@return \Google\Protobuf\Internal\MapField | getMatchingVariantFields | php | googleapis/google-cloud-php | Retail/src/V2/SearchResponse/SearchResult.php | https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/SearchResponse/SearchResult.php | Apache-2.0 |
public function setMatchingVariantFields($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\FieldMask::class);
$this->matching_variant_fields = $arr;
return $this;
} | If a [variant][google.cloud.retail.v2.Product.Type.VARIANT]
[Product][google.cloud.retail.v2.Product] matches the search query, this
map indicates which [Product][google.cloud.retail.v2.Product] fields are
matched. The key is the
[Product.name][google.cloud.retail.v2.Product.name], the value is a field
mask of the matched [Product][google.cloud.retail.v2.Product] fields. If
matched attributes cannot be determined, this map will be empty.
For example, a key "sku1" with field mask
"products.color_info" indicates there is a match between
"sku1" [ColorInfo][google.cloud.retail.v2.ColorInfo] and the query.
Generated from protobuf field <code>map<string, .google.protobuf.FieldMask> matching_variant_fields = 4;</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this | setMatchingVariantFields | php | googleapis/google-cloud-php | Retail/src/V2/SearchResponse/SearchResult.php | https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/SearchResponse/SearchResult.php | Apache-2.0 |
public function getPersonalLabels()
{
return $this->personal_labels;
} | Specifies previous events related to this product for this user based on
[UserEvent][google.cloud.retail.v2.UserEvent] with same
[SearchRequest.visitor_id][google.cloud.retail.v2.SearchRequest.visitor_id]
or [UserInfo.user_id][google.cloud.retail.v2.UserInfo.user_id].
This is set only when
[SearchRequest.PersonalizationSpec.mode][google.cloud.retail.v2.SearchRequest.PersonalizationSpec.mode]
is
[SearchRequest.PersonalizationSpec.Mode.AUTO][google.cloud.retail.v2.SearchRequest.PersonalizationSpec.Mode.AUTO].
Possible values:
* `purchased`: Indicates that this product has been purchased before.
Generated from protobuf field <code>repeated string personal_labels = 7;</code>
@return \Google\Protobuf\Internal\RepeatedField | getPersonalLabels | php | googleapis/google-cloud-php | Retail/src/V2/SearchResponse/SearchResult.php | https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/SearchResponse/SearchResult.php | Apache-2.0 |
public function setPersonalLabels($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->personal_labels = $arr;
return $this;
} | Specifies previous events related to this product for this user based on
[UserEvent][google.cloud.retail.v2.UserEvent] with same
[SearchRequest.visitor_id][google.cloud.retail.v2.SearchRequest.visitor_id]
or [UserInfo.user_id][google.cloud.retail.v2.UserInfo.user_id].
This is set only when
[SearchRequest.PersonalizationSpec.mode][google.cloud.retail.v2.SearchRequest.PersonalizationSpec.mode]
is
[SearchRequest.PersonalizationSpec.Mode.AUTO][google.cloud.retail.v2.SearchRequest.PersonalizationSpec.Mode.AUTO].
Possible values:
* `purchased`: Indicates that this product has been purchased before.
Generated from protobuf field <code>repeated string personal_labels = 7;</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setPersonalLabels | php | googleapis/google-cloud-php | Retail/src/V2/SearchResponse/SearchResult.php | https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/SearchResponse/SearchResult.php | Apache-2.0 |
public function getLastAttemptTime()
{
return $this->last_attempt_time;
} | The last time we attempted to generate an attestation.
Generated from protobuf field <code>.google.protobuf.Timestamp last_attempt_time = 1;</code>
@return \Google\Protobuf\Timestamp|null | getLastAttemptTime | php | googleapis/google-cloud-php | Grafeas/src/V1/DiscoveryOccurrence/VulnerabilityAttestation.php | https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/DiscoveryOccurrence/VulnerabilityAttestation.php | Apache-2.0 |
public function setLastAttemptTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->last_attempt_time = $var;
return $this;
} | The last time we attempted to generate an attestation.
Generated from protobuf field <code>.google.protobuf.Timestamp last_attempt_time = 1;</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setLastAttemptTime | php | googleapis/google-cloud-php | Grafeas/src/V1/DiscoveryOccurrence/VulnerabilityAttestation.php | https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/DiscoveryOccurrence/VulnerabilityAttestation.php | Apache-2.0 |
public function setState($var)
{
GPBUtil::checkEnum($var, \Grafeas\V1\DiscoveryOccurrence\VulnerabilityAttestation\VulnerabilityAttestationState::class);
$this->state = $var;
return $this;
} | The success/failure state of the latest attestation attempt.
Generated from protobuf field <code>.grafeas.v1.DiscoveryOccurrence.VulnerabilityAttestation.VulnerabilityAttestationState state = 2;</code>
@param int $var
@return $this | setState | php | googleapis/google-cloud-php | Grafeas/src/V1/DiscoveryOccurrence/VulnerabilityAttestation.php | https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/DiscoveryOccurrence/VulnerabilityAttestation.php | Apache-2.0 |
public function getSigma()
{
return $this->sigma;
} | This represents the standard deviation of the Gaussian kernel that will
be used to add noise to the feature prior to computing gradients. Similar
to [noise_sigma][google.cloud.aiplatform.v1.SmoothGradConfig.noise_sigma]
but represents the noise added to the current feature. Defaults to 0.1.
Generated from protobuf field <code>float sigma = 2;</code>
@return float | getSigma | php | googleapis/google-cloud-php | AiPlatform/src/V1/FeatureNoiseSigma/NoiseSigmaForFeature.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/FeatureNoiseSigma/NoiseSigmaForFeature.php | Apache-2.0 |
public function setSigma($var)
{
GPBUtil::checkFloat($var);
$this->sigma = $var;
return $this;
} | This represents the standard deviation of the Gaussian kernel that will
be used to add noise to the feature prior to computing gradients. Similar
to [noise_sigma][google.cloud.aiplatform.v1.SmoothGradConfig.noise_sigma]
but represents the noise added to the current feature. Defaults to 0.1.
Generated from protobuf field <code>float sigma = 2;</code>
@param float $var
@return $this | setSigma | php | googleapis/google-cloud-php | AiPlatform/src/V1/FeatureNoiseSigma/NoiseSigmaForFeature.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/FeatureNoiseSigma/NoiseSigmaForFeature.php | Apache-2.0 |
public function getLockId()
{
return $this->lock_id;
} | Required. Lock ID of the lock file to be unlocked.
Generated from protobuf field <code>int64 lock_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return int|string | getLockId | php | googleapis/google-cloud-php | Config/src/V1/UnlockDeploymentRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/UnlockDeploymentRequest.php | Apache-2.0 |
public function setLockId($var)
{
GPBUtil::checkInt64($var);
$this->lock_id = $var;
return $this;
} | Required. Lock ID of the lock file to be unlocked.
Generated from protobuf field <code>int64 lock_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param int|string $var
@return $this | setLockId | php | googleapis/google-cloud-php | Config/src/V1/UnlockDeploymentRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/UnlockDeploymentRequest.php | Apache-2.0 |
public function getAlertPolicy()
{
return $this->alert_policy;
} | Required. The updated alerting policy or the updated values for the
fields listed in `update_mask`.
If `update_mask` is not empty, any fields in this policy that are
not in `update_mask` are ignored.
Generated from protobuf field <code>.google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\Monitoring\V3\AlertPolicy|null | getAlertPolicy | php | googleapis/google-cloud-php | Monitoring/src/V3/UpdateAlertPolicyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Monitoring/src/V3/UpdateAlertPolicyRequest.php | Apache-2.0 |
public function setAlertPolicy($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Monitoring\V3\AlertPolicy::class);
$this->alert_policy = $var;
return $this;
} | Required. The updated alerting policy or the updated values for the
fields listed in `update_mask`.
If `update_mask` is not empty, any fields in this policy that are
not in `update_mask` are ignored.
Generated from protobuf field <code>.google.monitoring.v3.AlertPolicy alert_policy = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\Monitoring\V3\AlertPolicy $var
@return $this | setAlertPolicy | php | googleapis/google-cloud-php | Monitoring/src/V3/UpdateAlertPolicyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Monitoring/src/V3/UpdateAlertPolicyRequest.php | Apache-2.0 |
public function setResources($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\ResourceInfo::class);
$this->resources = $arr;
return $this;
} | Output only. The resources associated with this workload.
These resources will be created when creating the workload.
If any of the projects already exist, the workload creation will fail.
Always read only.
Generated from protobuf field <code>repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param array<\Google\Cloud\AssuredWorkloads\V1beta1\Workload\ResourceInfo>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setResources | php | googleapis/google-cloud-php | AssuredWorkloads/src/V1beta1/Workload.php | https://github.com/googleapis/google-cloud-php/blob/master/AssuredWorkloads/src/V1beta1/Workload.php | Apache-2.0 |
public function getComplianceRegime()
{
return $this->compliance_regime;
} | Required. Immutable. Compliance Regime associated with this workload.
Generated from protobuf field <code>.google.cloud.assuredworkloads.v1beta1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];</code>
@return int | getComplianceRegime | php | googleapis/google-cloud-php | AssuredWorkloads/src/V1beta1/Workload.php | https://github.com/googleapis/google-cloud-php/blob/master/AssuredWorkloads/src/V1beta1/Workload.php | Apache-2.0 |
public function setComplianceRegime($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\ComplianceRegime::class);
$this->compliance_regime = $var;
return $this;
} | Required. Immutable. Compliance Regime associated with this workload.
Generated from protobuf field <code>.google.cloud.assuredworkloads.v1beta1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];</code>
@param int $var
@return $this | setComplianceRegime | php | googleapis/google-cloud-php | AssuredWorkloads/src/V1beta1/Workload.php | https://github.com/googleapis/google-cloud-php/blob/master/AssuredWorkloads/src/V1beta1/Workload.php | Apache-2.0 |
public function getBillingAccount()
{
return $this->billing_account;
} | Output only. The billing account used for the resources which are
direct children of workload. This billing account is initially associated
with the resources created as part of Workload creation.
After the initial creation of these resources, the customer can change
the assigned billing account.
The resource name has the form
`billingAccounts/{billing_account_id}`. For example,
`billingAccounts/012345-567890-ABCDEF`.
Generated from protobuf field <code>string billing_account = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getBillingAccount | php | googleapis/google-cloud-php | AssuredWorkloads/src/V1beta1/Workload.php | https://github.com/googleapis/google-cloud-php/blob/master/AssuredWorkloads/src/V1beta1/Workload.php | Apache-2.0 |
public function setBillingAccount($var)
{
GPBUtil::checkString($var, True);
$this->billing_account = $var;
return $this;
} | Output only. The billing account used for the resources which are
direct children of workload. This billing account is initially associated
with the resources created as part of Workload creation.
After the initial creation of these resources, the customer can change
the assigned billing account.
The resource name has the form
`billingAccounts/{billing_account_id}`. For example,
`billingAccounts/012345-567890-ABCDEF`.
Generated from protobuf field <code>string billing_account = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setBillingAccount | php | googleapis/google-cloud-php | AssuredWorkloads/src/V1beta1/Workload.php | https://github.com/googleapis/google-cloud-php/blob/master/AssuredWorkloads/src/V1beta1/Workload.php | Apache-2.0 |
public function getIl4Settings()
{
@trigger_error('il4_settings is deprecated.', E_USER_DEPRECATED);
return $this->readOneof(7);
} | Input only. Immutable. Settings specific to resources needed for IL4.
Generated from protobuf field <code>.google.cloud.assuredworkloads.v1beta1.Workload.IL4Settings il4_settings = 7 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];</code>
@return \Google\Cloud\AssuredWorkloads\V1beta1\Workload\IL4Settings|null
@deprecated | getIl4Settings | php | googleapis/google-cloud-php | AssuredWorkloads/src/V1beta1/Workload.php | https://github.com/googleapis/google-cloud-php/blob/master/AssuredWorkloads/src/V1beta1/Workload.php | Apache-2.0 |
public function setIl4Settings($var)
{
@trigger_error('il4_settings is deprecated.', E_USER_DEPRECATED);
GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\IL4Settings::class);
$this->writeOneof(7, $var);
return $this;
} | Input only. Immutable. Settings specific to resources needed for IL4.
Generated from protobuf field <code>.google.cloud.assuredworkloads.v1beta1.Workload.IL4Settings il4_settings = 7 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];</code>
@param \Google\Cloud\AssuredWorkloads\V1beta1\Workload\IL4Settings $var
@return $this
@deprecated | setIl4Settings | php | googleapis/google-cloud-php | AssuredWorkloads/src/V1beta1/Workload.php | https://github.com/googleapis/google-cloud-php/blob/master/AssuredWorkloads/src/V1beta1/Workload.php | Apache-2.0 |
public function getCjisSettings()
{
@trigger_error('cjis_settings is deprecated.', E_USER_DEPRECATED);
return $this->readOneof(8);
} | Input only. Immutable. Settings specific to resources needed for CJIS.
Generated from protobuf field <code>.google.cloud.assuredworkloads.v1beta1.Workload.CJISSettings cjis_settings = 8 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];</code>
@return \Google\Cloud\AssuredWorkloads\V1beta1\Workload\CJISSettings|null
@deprecated | getCjisSettings | php | googleapis/google-cloud-php | AssuredWorkloads/src/V1beta1/Workload.php | https://github.com/googleapis/google-cloud-php/blob/master/AssuredWorkloads/src/V1beta1/Workload.php | Apache-2.0 |
public function setCjisSettings($var)
{
@trigger_error('cjis_settings is deprecated.', E_USER_DEPRECATED);
GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\CJISSettings::class);
$this->writeOneof(8, $var);
return $this;
} | Input only. Immutable. Settings specific to resources needed for CJIS.
Generated from protobuf field <code>.google.cloud.assuredworkloads.v1beta1.Workload.CJISSettings cjis_settings = 8 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];</code>
@param \Google\Cloud\AssuredWorkloads\V1beta1\Workload\CJISSettings $var
@return $this
@deprecated | setCjisSettings | php | googleapis/google-cloud-php | AssuredWorkloads/src/V1beta1/Workload.php | https://github.com/googleapis/google-cloud-php/blob/master/AssuredWorkloads/src/V1beta1/Workload.php | Apache-2.0 |
public function getFedrampHighSettings()
{
@trigger_error('fedramp_high_settings is deprecated.', E_USER_DEPRECATED);
return $this->readOneof(11);
} | Input only. Immutable. Settings specific to resources needed for FedRAMP High.
Generated from protobuf field <code>.google.cloud.assuredworkloads.v1beta1.Workload.FedrampHighSettings fedramp_high_settings = 11 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];</code>
@return \Google\Cloud\AssuredWorkloads\V1beta1\Workload\FedrampHighSettings|null
@deprecated | getFedrampHighSettings | php | googleapis/google-cloud-php | AssuredWorkloads/src/V1beta1/Workload.php | https://github.com/googleapis/google-cloud-php/blob/master/AssuredWorkloads/src/V1beta1/Workload.php | Apache-2.0 |
public function setFedrampHighSettings($var)
{
@trigger_error('fedramp_high_settings is deprecated.', E_USER_DEPRECATED);
GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\FedrampHighSettings::class);
$this->writeOneof(11, $var);
return $this;
} | Input only. Immutable. Settings specific to resources needed for FedRAMP High.
Generated from protobuf field <code>.google.cloud.assuredworkloads.v1beta1.Workload.FedrampHighSettings fedramp_high_settings = 11 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];</code>
@param \Google\Cloud\AssuredWorkloads\V1beta1\Workload\FedrampHighSettings $var
@return $this
@deprecated | setFedrampHighSettings | php | googleapis/google-cloud-php | AssuredWorkloads/src/V1beta1/Workload.php | https://github.com/googleapis/google-cloud-php/blob/master/AssuredWorkloads/src/V1beta1/Workload.php | Apache-2.0 |
public function getFedrampModerateSettings()
{
@trigger_error('fedramp_moderate_settings is deprecated.', E_USER_DEPRECATED);
return $this->readOneof(12);
} | Input only. Immutable. Settings specific to resources needed for FedRAMP Moderate.
Generated from protobuf field <code>.google.cloud.assuredworkloads.v1beta1.Workload.FedrampModerateSettings fedramp_moderate_settings = 12 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];</code>
@return \Google\Cloud\AssuredWorkloads\V1beta1\Workload\FedrampModerateSettings|null
@deprecated | getFedrampModerateSettings | php | googleapis/google-cloud-php | AssuredWorkloads/src/V1beta1/Workload.php | https://github.com/googleapis/google-cloud-php/blob/master/AssuredWorkloads/src/V1beta1/Workload.php | Apache-2.0 |
public function setFedrampModerateSettings($var)
{
@trigger_error('fedramp_moderate_settings is deprecated.', E_USER_DEPRECATED);
GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\FedrampModerateSettings::class);
$this->writeOneof(12, $var);
return $this;
} | Input only. Immutable. Settings specific to resources needed for FedRAMP Moderate.
Generated from protobuf field <code>.google.cloud.assuredworkloads.v1beta1.Workload.FedrampModerateSettings fedramp_moderate_settings = 12 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];</code>
@param \Google\Cloud\AssuredWorkloads\V1beta1\Workload\FedrampModerateSettings $var
@return $this
@deprecated | setFedrampModerateSettings | php | googleapis/google-cloud-php | AssuredWorkloads/src/V1beta1/Workload.php | https://github.com/googleapis/google-cloud-php/blob/master/AssuredWorkloads/src/V1beta1/Workload.php | Apache-2.0 |
public function getKmsSettings()
{
@trigger_error('kms_settings is deprecated.', E_USER_DEPRECATED);
return $this->kms_settings;
} | Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS
CMEK key is provisioned.
This field is deprecated as of Feb 28, 2022.
In order to create a Keyring, callers should specify,
ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.
Generated from protobuf field <code>.google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 14 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];</code>
@return \Google\Cloud\AssuredWorkloads\V1beta1\Workload\KMSSettings|null
@deprecated | getKmsSettings | php | googleapis/google-cloud-php | AssuredWorkloads/src/V1beta1/Workload.php | https://github.com/googleapis/google-cloud-php/blob/master/AssuredWorkloads/src/V1beta1/Workload.php | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.