code
stringlengths 17
296k
| docstring
stringlengths 30
30.3k
| func_name
stringlengths 1
89
| language
stringclasses 1
value | repo
stringlengths 7
63
| path
stringlengths 7
153
| url
stringlengths 51
209
| license
stringclasses 4
values |
---|---|---|---|---|---|---|---|
public function setUnit($var)
{
GPBUtil::checkString($var, True);
$this->unit = $var;
return $this;
} | The unit in which `time_series` point values are reported. `unit`
follows the UCUM format for units as seen in
https://unitsofmeasure.org/ucum.html.
`unit` is only valid if `value_type` is INTEGER, DOUBLE, DISTRIBUTION.
Generated from protobuf field <code>string unit = 4;</code>
@param string $var
@return $this | setUnit | php | googleapis/google-cloud-php | Monitoring/src/V3/TimeSeriesDescriptor/ValueDescriptor.php | https://github.com/googleapis/google-cloud-php/blob/master/Monitoring/src/V3/TimeSeriesDescriptor/ValueDescriptor.php | Apache-2.0 |
public function getParent()
{
return $this->parent;
} | Required. Example format: properties/1234
Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getParent | php | googleapis/google-cloud-php | AnalyticsAdmin/src/V1alpha/CreateSearchAds360LinkRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/CreateSearchAds360LinkRequest.php | Apache-2.0 |
public function setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | Required. Example format: properties/1234
Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setParent | php | googleapis/google-cloud-php | AnalyticsAdmin/src/V1alpha/CreateSearchAds360LinkRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/CreateSearchAds360LinkRequest.php | Apache-2.0 |
public function getSearchAds360Link()
{
return $this->search_ads_360_link;
} | Required. The SearchAds360Link to create.
Generated from protobuf field <code>.google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Analytics\Admin\V1alpha\SearchAds360Link|null | getSearchAds360Link | php | googleapis/google-cloud-php | AnalyticsAdmin/src/V1alpha/CreateSearchAds360LinkRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/CreateSearchAds360LinkRequest.php | Apache-2.0 |
public function setSearchAds360Link($var)
{
GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SearchAds360Link::class);
$this->search_ads_360_link = $var;
return $this;
} | Required. The SearchAds360Link to create.
Generated from protobuf field <code>.google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Analytics\Admin\V1alpha\SearchAds360Link $var
@return $this | setSearchAds360Link | php | googleapis/google-cloud-php | AnalyticsAdmin/src/V1alpha/CreateSearchAds360LinkRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/CreateSearchAds360LinkRequest.php | Apache-2.0 |
public function getValue()
{
return $this->value;
} | The measurement value. For example, this value may be '13'.
Generated from protobuf field <code>string value = 1;</code>
@return string | getValue | php | googleapis/google-cloud-php | AnalyticsAdmin/src/V1alpha/AccessMetricValue.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/AccessMetricValue.php | Apache-2.0 |
public function setValue($var)
{
GPBUtil::checkString($var, True);
$this->value = $var;
return $this;
} | The measurement value. For example, this value may be '13'.
Generated from protobuf field <code>string value = 1;</code>
@param string $var
@return $this | setValue | php | googleapis/google-cloud-php | AnalyticsAdmin/src/V1alpha/AccessMetricValue.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/AccessMetricValue.php | Apache-2.0 |
public function getMetadata()
{
return $this->metadata;
} | Metadata about the result set, such as row type information.
Generated from protobuf field <code>.google.spanner.v1.ResultSetMetadata metadata = 1;</code>
@return \Google\Cloud\Spanner\V1\ResultSetMetadata|null | getMetadata | php | googleapis/google-cloud-php | Spanner/src/V1/ResultSet.php | https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/V1/ResultSet.php | Apache-2.0 |
public function setMetadata($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Spanner\V1\ResultSetMetadata::class);
$this->metadata = $var;
return $this;
} | Metadata about the result set, such as row type information.
Generated from protobuf field <code>.google.spanner.v1.ResultSetMetadata metadata = 1;</code>
@param \Google\Cloud\Spanner\V1\ResultSetMetadata $var
@return $this | setMetadata | php | googleapis/google-cloud-php | Spanner/src/V1/ResultSet.php | https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/V1/ResultSet.php | Apache-2.0 |
public function getRows()
{
return $this->rows;
} | Each element in `rows` is a row whose format is defined by
[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith
element in each row matches the ith field in
[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. Elements
are encoded based on type as described [here][google.spanner.v1.TypeCode].
Generated from protobuf field <code>repeated .google.protobuf.ListValue rows = 2;</code>
@return \Google\Protobuf\Internal\RepeatedField | getRows | php | googleapis/google-cloud-php | Spanner/src/V1/ResultSet.php | https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/V1/ResultSet.php | Apache-2.0 |
public function setRows($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\ListValue::class);
$this->rows = $arr;
return $this;
} | Each element in `rows` is a row whose format is defined by
[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith
element in each row matches the ith field in
[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. Elements
are encoded based on type as described [here][google.spanner.v1.TypeCode].
Generated from protobuf field <code>repeated .google.protobuf.ListValue rows = 2;</code>
@param array<\Google\Protobuf\ListValue>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setRows | php | googleapis/google-cloud-php | Spanner/src/V1/ResultSet.php | https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/V1/ResultSet.php | Apache-2.0 |
public function getStats()
{
return $this->stats;
} | Query plan and execution statistics for the SQL statement that
produced this result set. These can be requested by setting
[ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode].
DML statements always produce stats containing the number of rows
modified, unless executed using the
[ExecuteSqlRequest.QueryMode.PLAN][google.spanner.v1.ExecuteSqlRequest.QueryMode.PLAN]
[ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode].
Other fields might or might not be populated, based on the
[ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode].
Generated from protobuf field <code>.google.spanner.v1.ResultSetStats stats = 3;</code>
@return \Google\Cloud\Spanner\V1\ResultSetStats|null | getStats | php | googleapis/google-cloud-php | Spanner/src/V1/ResultSet.php | https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/V1/ResultSet.php | Apache-2.0 |
public function setStats($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Spanner\V1\ResultSetStats::class);
$this->stats = $var;
return $this;
} | Query plan and execution statistics for the SQL statement that
produced this result set. These can be requested by setting
[ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode].
DML statements always produce stats containing the number of rows
modified, unless executed using the
[ExecuteSqlRequest.QueryMode.PLAN][google.spanner.v1.ExecuteSqlRequest.QueryMode.PLAN]
[ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode].
Other fields might or might not be populated, based on the
[ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode].
Generated from protobuf field <code>.google.spanner.v1.ResultSetStats stats = 3;</code>
@param \Google\Cloud\Spanner\V1\ResultSetStats $var
@return $this | setStats | php | googleapis/google-cloud-php | Spanner/src/V1/ResultSet.php | https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/V1/ResultSet.php | Apache-2.0 |
public function getPrecommitToken()
{
return $this->precommit_token;
} | Optional. A precommit token is included if the read-write transaction is on
a multiplexed session. Pass the precommit token with the highest sequence
number from this transaction attempt to the
[Commit][google.spanner.v1.Spanner.Commit] request for this transaction.
Generated from protobuf field <code>.google.spanner.v1.MultiplexedSessionPrecommitToken precommit_token = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Cloud\Spanner\V1\MultiplexedSessionPrecommitToken|null | getPrecommitToken | php | googleapis/google-cloud-php | Spanner/src/V1/ResultSet.php | https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/V1/ResultSet.php | Apache-2.0 |
public function setPrecommitToken($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Spanner\V1\MultiplexedSessionPrecommitToken::class);
$this->precommit_token = $var;
return $this;
} | Optional. A precommit token is included if the read-write transaction is on
a multiplexed session. Pass the precommit token with the highest sequence
number from this transaction attempt to the
[Commit][google.spanner.v1.Spanner.Commit] request for this transaction.
Generated from protobuf field <code>.google.spanner.v1.MultiplexedSessionPrecommitToken precommit_token = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\Spanner\V1\MultiplexedSessionPrecommitToken $var
@return $this | setPrecommitToken | php | googleapis/google-cloud-php | Spanner/src/V1/ResultSet.php | https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/V1/ResultSet.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. Fully qualified name of the service project attachment to delete.
Expected format:
`projects/{project}/locations/{location}/serviceProjectAttachments/{serviceProjectAttachment}`.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getName | php | googleapis/google-cloud-php | AppHub/src/V1/DeleteServiceProjectAttachmentRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AppHub/src/V1/DeleteServiceProjectAttachmentRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. Fully qualified name of the service project attachment to delete.
Expected format:
`projects/{project}/locations/{location}/serviceProjectAttachments/{serviceProjectAttachment}`.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | AppHub/src/V1/DeleteServiceProjectAttachmentRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AppHub/src/V1/DeleteServiceProjectAttachmentRequest.php | Apache-2.0 |
public function getRequestId()
{
return $this->request_id;
} | Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
Generated from protobuf field <code>string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getRequestId | php | googleapis/google-cloud-php | AppHub/src/V1/DeleteServiceProjectAttachmentRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AppHub/src/V1/DeleteServiceProjectAttachmentRequest.php | Apache-2.0 |
public function setRequestId($var)
{
GPBUtil::checkString($var, True);
$this->request_id = $var;
return $this;
} | Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
Generated from protobuf field <code>string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setRequestId | php | googleapis/google-cloud-php | AppHub/src/V1/DeleteServiceProjectAttachmentRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AppHub/src/V1/DeleteServiceProjectAttachmentRequest.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Name of the parameter.
Generated from protobuf field <code>string name = 1;</code>
@return string | getName | php | googleapis/google-cloud-php | Channel/src/V1/ParameterDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ParameterDefinition.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Name of the parameter.
Generated from protobuf field <code>string name = 1;</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | Channel/src/V1/ParameterDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ParameterDefinition.php | Apache-2.0 |
public function getParameterType()
{
return $this->parameter_type;
} | Data type of the parameter. Minimal value, Maximum value and allowed values
will use specified data type here.
Generated from protobuf field <code>.google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2;</code>
@return int | getParameterType | php | googleapis/google-cloud-php | Channel/src/V1/ParameterDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ParameterDefinition.php | Apache-2.0 |
public function setParameterType($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Channel\V1\ParameterDefinition\ParameterType::class);
$this->parameter_type = $var;
return $this;
} | Data type of the parameter. Minimal value, Maximum value and allowed values
will use specified data type here.
Generated from protobuf field <code>.google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2;</code>
@param int $var
@return $this | setParameterType | php | googleapis/google-cloud-php | Channel/src/V1/ParameterDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ParameterDefinition.php | Apache-2.0 |
public function getMinValue()
{
return $this->min_value;
} | Minimal value of the parameter, if applicable. Inclusive. For example,
minimal commitment when purchasing Anthos is 0.01.
Applicable to INT64 and DOUBLE parameter types.
Generated from protobuf field <code>.google.cloud.channel.v1.Value min_value = 3;</code>
@return \Google\Cloud\Channel\V1\Value|null | getMinValue | php | googleapis/google-cloud-php | Channel/src/V1/ParameterDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ParameterDefinition.php | Apache-2.0 |
public function setMinValue($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Channel\V1\Value::class);
$this->min_value = $var;
return $this;
} | Minimal value of the parameter, if applicable. Inclusive. For example,
minimal commitment when purchasing Anthos is 0.01.
Applicable to INT64 and DOUBLE parameter types.
Generated from protobuf field <code>.google.cloud.channel.v1.Value min_value = 3;</code>
@param \Google\Cloud\Channel\V1\Value $var
@return $this | setMinValue | php | googleapis/google-cloud-php | Channel/src/V1/ParameterDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ParameterDefinition.php | Apache-2.0 |
public function getMaxValue()
{
return $this->max_value;
} | Maximum value of the parameter, if applicable. Inclusive. For example,
maximum seats when purchasing Google Workspace Business Standard.
Applicable to INT64 and DOUBLE parameter types.
Generated from protobuf field <code>.google.cloud.channel.v1.Value max_value = 4;</code>
@return \Google\Cloud\Channel\V1\Value|null | getMaxValue | php | googleapis/google-cloud-php | Channel/src/V1/ParameterDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ParameterDefinition.php | Apache-2.0 |
public function setMaxValue($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Channel\V1\Value::class);
$this->max_value = $var;
return $this;
} | Maximum value of the parameter, if applicable. Inclusive. For example,
maximum seats when purchasing Google Workspace Business Standard.
Applicable to INT64 and DOUBLE parameter types.
Generated from protobuf field <code>.google.cloud.channel.v1.Value max_value = 4;</code>
@param \Google\Cloud\Channel\V1\Value $var
@return $this | setMaxValue | php | googleapis/google-cloud-php | Channel/src/V1/ParameterDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ParameterDefinition.php | Apache-2.0 |
public function getAllowedValues()
{
return $this->allowed_values;
} | If not empty, parameter values must be drawn from this list.
For example, [us-west1, us-west2, ...]
Applicable to STRING parameter type.
Generated from protobuf field <code>repeated .google.cloud.channel.v1.Value allowed_values = 5;</code>
@return \Google\Protobuf\Internal\RepeatedField | getAllowedValues | php | googleapis/google-cloud-php | Channel/src/V1/ParameterDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ParameterDefinition.php | Apache-2.0 |
public function setAllowedValues($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Channel\V1\Value::class);
$this->allowed_values = $arr;
return $this;
} | If not empty, parameter values must be drawn from this list.
For example, [us-west1, us-west2, ...]
Applicable to STRING parameter type.
Generated from protobuf field <code>repeated .google.cloud.channel.v1.Value allowed_values = 5;</code>
@param array<\Google\Cloud\Channel\V1\Value>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setAllowedValues | php | googleapis/google-cloud-php | Channel/src/V1/ParameterDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ParameterDefinition.php | Apache-2.0 |
public function getOptional()
{
return $this->optional;
} | If set to true, parameter is optional to purchase this Offer.
Generated from protobuf field <code>bool optional = 6;</code>
@return bool | getOptional | php | googleapis/google-cloud-php | Channel/src/V1/ParameterDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ParameterDefinition.php | Apache-2.0 |
public function setOptional($var)
{
GPBUtil::checkBool($var);
$this->optional = $var;
return $this;
} | If set to true, parameter is optional to purchase this Offer.
Generated from protobuf field <code>bool optional = 6;</code>
@param bool $var
@return $this | setOptional | php | googleapis/google-cloud-php | Channel/src/V1/ParameterDefinition.php | https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ParameterDefinition.php | Apache-2.0 |
public function getMaxMeters()
{
return isset($this->max_meters) ? $this->max_meters : 0;
} | A hard limit constraining the distance to be at most max_meters. The limit
must be nonnegative.
Generated from protobuf field <code>optional int64 max_meters = 1;</code>
@return int|string | getMaxMeters | php | googleapis/google-cloud-php | MapsRouteOptimization/src/V1/DistanceLimit.php | https://github.com/googleapis/google-cloud-php/blob/master/MapsRouteOptimization/src/V1/DistanceLimit.php | Apache-2.0 |
public function setMaxMeters($var)
{
GPBUtil::checkInt64($var);
$this->max_meters = $var;
return $this;
} | A hard limit constraining the distance to be at most max_meters. The limit
must be nonnegative.
Generated from protobuf field <code>optional int64 max_meters = 1;</code>
@param int|string $var
@return $this | setMaxMeters | php | googleapis/google-cloud-php | MapsRouteOptimization/src/V1/DistanceLimit.php | https://github.com/googleapis/google-cloud-php/blob/master/MapsRouteOptimization/src/V1/DistanceLimit.php | Apache-2.0 |
public function getSoftMaxMeters()
{
return isset($this->soft_max_meters) ? $this->soft_max_meters : 0;
} | A soft limit not enforcing a maximum distance limit, but when violated
results in a cost which adds up to other costs defined in the model,
with the same unit.
If defined soft_max_meters must be less than max_meters and must be
nonnegative.
Generated from protobuf field <code>optional int64 soft_max_meters = 2;</code>
@return int|string | getSoftMaxMeters | php | googleapis/google-cloud-php | MapsRouteOptimization/src/V1/DistanceLimit.php | https://github.com/googleapis/google-cloud-php/blob/master/MapsRouteOptimization/src/V1/DistanceLimit.php | Apache-2.0 |
public function setSoftMaxMeters($var)
{
GPBUtil::checkInt64($var);
$this->soft_max_meters = $var;
return $this;
} | A soft limit not enforcing a maximum distance limit, but when violated
results in a cost which adds up to other costs defined in the model,
with the same unit.
If defined soft_max_meters must be less than max_meters and must be
nonnegative.
Generated from protobuf field <code>optional int64 soft_max_meters = 2;</code>
@param int|string $var
@return $this | setSoftMaxMeters | php | googleapis/google-cloud-php | MapsRouteOptimization/src/V1/DistanceLimit.php | https://github.com/googleapis/google-cloud-php/blob/master/MapsRouteOptimization/src/V1/DistanceLimit.php | Apache-2.0 |
public function getCostPerKilometerBelowSoftMax()
{
return isset($this->cost_per_kilometer_below_soft_max) ? $this->cost_per_kilometer_below_soft_max : 0.0;
} | Cost per kilometer incurred, increasing up to `soft_max_meters`, with
formula:
```
min(distance_meters, soft_max_meters) / 1000.0 *
cost_per_kilometer_below_soft_max.
```
This cost is not supported in `route_distance_limit`.
Generated from protobuf field <code>optional double cost_per_kilometer_below_soft_max = 4;</code>
@return float | getCostPerKilometerBelowSoftMax | php | googleapis/google-cloud-php | MapsRouteOptimization/src/V1/DistanceLimit.php | https://github.com/googleapis/google-cloud-php/blob/master/MapsRouteOptimization/src/V1/DistanceLimit.php | Apache-2.0 |
public function setCostPerKilometerBelowSoftMax($var)
{
GPBUtil::checkDouble($var);
$this->cost_per_kilometer_below_soft_max = $var;
return $this;
} | Cost per kilometer incurred, increasing up to `soft_max_meters`, with
formula:
```
min(distance_meters, soft_max_meters) / 1000.0 *
cost_per_kilometer_below_soft_max.
```
This cost is not supported in `route_distance_limit`.
Generated from protobuf field <code>optional double cost_per_kilometer_below_soft_max = 4;</code>
@param float $var
@return $this | setCostPerKilometerBelowSoftMax | php | googleapis/google-cloud-php | MapsRouteOptimization/src/V1/DistanceLimit.php | https://github.com/googleapis/google-cloud-php/blob/master/MapsRouteOptimization/src/V1/DistanceLimit.php | Apache-2.0 |
public function getCostPerKilometerAboveSoftMax()
{
return isset($this->cost_per_kilometer_above_soft_max) ? $this->cost_per_kilometer_above_soft_max : 0.0;
} | Cost per kilometer incurred if distance is above `soft_max_meters` limit.
The additional cost is 0 if the distance is under the limit, otherwise the
formula used to compute the cost is the following:
```
(distance_meters - soft_max_meters) / 1000.0 *
cost_per_kilometer_above_soft_max.
```
The cost must be nonnegative.
Generated from protobuf field <code>optional double cost_per_kilometer_above_soft_max = 3;</code>
@return float | getCostPerKilometerAboveSoftMax | php | googleapis/google-cloud-php | MapsRouteOptimization/src/V1/DistanceLimit.php | https://github.com/googleapis/google-cloud-php/blob/master/MapsRouteOptimization/src/V1/DistanceLimit.php | Apache-2.0 |
public function setCostPerKilometerAboveSoftMax($var)
{
GPBUtil::checkDouble($var);
$this->cost_per_kilometer_above_soft_max = $var;
return $this;
} | Cost per kilometer incurred if distance is above `soft_max_meters` limit.
The additional cost is 0 if the distance is under the limit, otherwise the
formula used to compute the cost is the following:
```
(distance_meters - soft_max_meters) / 1000.0 *
cost_per_kilometer_above_soft_max.
```
The cost must be nonnegative.
Generated from protobuf field <code>optional double cost_per_kilometer_above_soft_max = 3;</code>
@param float $var
@return $this | setCostPerKilometerAboveSoftMax | php | googleapis/google-cloud-php | MapsRouteOptimization/src/V1/DistanceLimit.php | https://github.com/googleapis/google-cloud-php/blob/master/MapsRouteOptimization/src/V1/DistanceLimit.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. Name of the `quotaAdjusterSettings` configuration. Only a single
setting per project is supported.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getName | php | googleapis/google-cloud-php | Quotas/src/V1beta/GetQuotaAdjusterSettingsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Quotas/src/V1beta/GetQuotaAdjusterSettingsRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. Name of the `quotaAdjusterSettings` configuration. Only a single
setting per project is supported.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | Quotas/src/V1beta/GetQuotaAdjusterSettingsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Quotas/src/V1beta/GetQuotaAdjusterSettingsRequest.php | Apache-2.0 |
public function getResult()
{
return $this->result;
} | Generated from protobuf field <code>optional .google.cloud.compute.v1.UrlMapValidationResult result = 139315229;</code>
@return \Google\Cloud\Compute\V1\UrlMapValidationResult|null | getResult | php | googleapis/google-cloud-php | Compute/src/V1/UrlMapsValidateResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/UrlMapsValidateResponse.php | Apache-2.0 |
public function setResult($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\UrlMapValidationResult::class);
$this->result = $var;
return $this;
} | Generated from protobuf field <code>optional .google.cloud.compute.v1.UrlMapValidationResult result = 139315229;</code>
@param \Google\Cloud\Compute\V1\UrlMapValidationResult $var
@return $this | setResult | php | googleapis/google-cloud-php | Compute/src/V1/UrlMapsValidateResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/UrlMapsValidateResponse.php | Apache-2.0 |
public function getFirewall()
{
return $this->firewall;
} | Name of the firewall rule to update.
Generated from protobuf field <code>string firewall = 511016192 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getFirewall | php | googleapis/google-cloud-php | Compute/src/V1/UpdateFirewallRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/UpdateFirewallRequest.php | Apache-2.0 |
public function setFirewall($var)
{
GPBUtil::checkString($var, True);
$this->firewall = $var;
return $this;
} | Name of the firewall rule to update.
Generated from protobuf field <code>string firewall = 511016192 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setFirewall | php | googleapis/google-cloud-php | Compute/src/V1/UpdateFirewallRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/UpdateFirewallRequest.php | Apache-2.0 |
public function getFirewallResource()
{
return $this->firewall_resource;
} | The body resource for this request
Generated from protobuf field <code>.google.cloud.compute.v1.Firewall firewall_resource = 41425005 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\Compute\V1\Firewall|null | getFirewallResource | php | googleapis/google-cloud-php | Compute/src/V1/UpdateFirewallRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/UpdateFirewallRequest.php | Apache-2.0 |
public function setFirewallResource($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\Firewall::class);
$this->firewall_resource = $var;
return $this;
} | The body resource for this request
Generated from protobuf field <code>.google.cloud.compute.v1.Firewall firewall_resource = 41425005 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\Compute\V1\Firewall $var
@return $this | setFirewallResource | php | googleapis/google-cloud-php | Compute/src/V1/UpdateFirewallRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/UpdateFirewallRequest.php | Apache-2.0 |
public function getProject()
{
return $this->project;
} | Project ID for this request.
Generated from protobuf field <code>string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];</code>
@return string | getProject | php | googleapis/google-cloud-php | Compute/src/V1/UpdateFirewallRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/UpdateFirewallRequest.php | Apache-2.0 |
public function setProject($var)
{
GPBUtil::checkString($var, True);
$this->project = $var;
return $this;
} | Project ID for this request.
Generated from protobuf field <code>string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];</code>
@param string $var
@return $this | setProject | php | googleapis/google-cloud-php | Compute/src/V1/UpdateFirewallRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/UpdateFirewallRequest.php | Apache-2.0 |
public function getRequestId()
{
return isset($this->request_id) ? $this->request_id : '';
} | An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
Generated from protobuf field <code>optional string request_id = 37109963;</code>
@return string | getRequestId | php | googleapis/google-cloud-php | Compute/src/V1/UpdateFirewallRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/UpdateFirewallRequest.php | Apache-2.0 |
public function setRequestId($var)
{
GPBUtil::checkString($var, True);
$this->request_id = $var;
return $this;
} | An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
Generated from protobuf field <code>optional string request_id = 37109963;</code>
@param string $var
@return $this | setRequestId | php | googleapis/google-cloud-php | Compute/src/V1/UpdateFirewallRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/UpdateFirewallRequest.php | Apache-2.0 |
public function getId()
{
return isset($this->id) ? $this->id : '';
} | Unique identifier for the resource; defined by the server.
Generated from protobuf field <code>optional string id = 3355;</code>
@return string | getId | php | googleapis/google-cloud-php | Compute/src/V1/ReservationBlocksListResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ReservationBlocksListResponse.php | Apache-2.0 |
public function setId($var)
{
GPBUtil::checkString($var, True);
$this->id = $var;
return $this;
} | Unique identifier for the resource; defined by the server.
Generated from protobuf field <code>optional string id = 3355;</code>
@param string $var
@return $this | setId | php | googleapis/google-cloud-php | Compute/src/V1/ReservationBlocksListResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ReservationBlocksListResponse.php | Apache-2.0 |
public function getItems()
{
return $this->items;
} | A list of reservation block resources.
Generated from protobuf field <code>repeated .google.cloud.compute.v1.ReservationBlock items = 100526016;</code>
@return \Google\Protobuf\Internal\RepeatedField | getItems | php | googleapis/google-cloud-php | Compute/src/V1/ReservationBlocksListResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ReservationBlocksListResponse.php | Apache-2.0 |
public function setItems($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Compute\V1\ReservationBlock::class);
$this->items = $arr;
return $this;
} | A list of reservation block resources.
Generated from protobuf field <code>repeated .google.cloud.compute.v1.ReservationBlock items = 100526016;</code>
@param array<\Google\Cloud\Compute\V1\ReservationBlock>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setItems | php | googleapis/google-cloud-php | Compute/src/V1/ReservationBlocksListResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ReservationBlocksListResponse.php | Apache-2.0 |
public function getKind()
{
return isset($this->kind) ? $this->kind : '';
} | Type of the resource. Always compute#reservationBlock for a list of reservation blocks.
Generated from protobuf field <code>optional string kind = 3292052;</code>
@return string | getKind | php | googleapis/google-cloud-php | Compute/src/V1/ReservationBlocksListResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ReservationBlocksListResponse.php | Apache-2.0 |
public function setKind($var)
{
GPBUtil::checkString($var, True);
$this->kind = $var;
return $this;
} | Type of the resource. Always compute#reservationBlock for a list of reservation blocks.
Generated from protobuf field <code>optional string kind = 3292052;</code>
@param string $var
@return $this | setKind | php | googleapis/google-cloud-php | Compute/src/V1/ReservationBlocksListResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ReservationBlocksListResponse.php | Apache-2.0 |
public function getNextPageToken()
{
return isset($this->next_page_token) ? $this->next_page_token : '';
} | This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
Generated from protobuf field <code>optional string next_page_token = 79797525;</code>
@return string | getNextPageToken | php | googleapis/google-cloud-php | Compute/src/V1/ReservationBlocksListResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ReservationBlocksListResponse.php | Apache-2.0 |
public function setNextPageToken($var)
{
GPBUtil::checkString($var, True);
$this->next_page_token = $var;
return $this;
} | This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
Generated from protobuf field <code>optional string next_page_token = 79797525;</code>
@param string $var
@return $this | setNextPageToken | php | googleapis/google-cloud-php | Compute/src/V1/ReservationBlocksListResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ReservationBlocksListResponse.php | Apache-2.0 |
public function getSelfLink()
{
return isset($this->self_link) ? $this->self_link : '';
} | Server-defined URL for this resource.
Generated from protobuf field <code>optional string self_link = 456214797;</code>
@return string | getSelfLink | php | googleapis/google-cloud-php | Compute/src/V1/ReservationBlocksListResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ReservationBlocksListResponse.php | Apache-2.0 |
public function setSelfLink($var)
{
GPBUtil::checkString($var, True);
$this->self_link = $var;
return $this;
} | Server-defined URL for this resource.
Generated from protobuf field <code>optional string self_link = 456214797;</code>
@param string $var
@return $this | setSelfLink | php | googleapis/google-cloud-php | Compute/src/V1/ReservationBlocksListResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ReservationBlocksListResponse.php | Apache-2.0 |
public function getWarning()
{
return $this->warning;
} | Informational warning message.
Generated from protobuf field <code>optional .google.cloud.compute.v1.Warning warning = 50704284;</code>
@return \Google\Cloud\Compute\V1\Warning|null | getWarning | php | googleapis/google-cloud-php | Compute/src/V1/ReservationBlocksListResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ReservationBlocksListResponse.php | Apache-2.0 |
public function setWarning($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\Warning::class);
$this->warning = $var;
return $this;
} | Informational warning message.
Generated from protobuf field <code>optional .google.cloud.compute.v1.Warning warning = 50704284;</code>
@param \Google\Cloud\Compute\V1\Warning $var
@return $this | setWarning | php | googleapis/google-cloud-php | Compute/src/V1/ReservationBlocksListResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ReservationBlocksListResponse.php | Apache-2.0 |
public function getIpAllocation()
{
return $this->ip_allocation;
} | The IP range in CIDR notation to use for the managed Data Fusion instance
nodes. This range must not overlap with any other ranges used in the
customer network.
Generated from protobuf field <code>string ip_allocation = 2;</code>
@return string | getIpAllocation | php | googleapis/google-cloud-php | DataFusion/src/V1/NetworkConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/NetworkConfig.php | Apache-2.0 |
public function setIpAllocation($var)
{
GPBUtil::checkString($var, True);
$this->ip_allocation = $var;
return $this;
} | The IP range in CIDR notation to use for the managed Data Fusion instance
nodes. This range must not overlap with any other ranges used in the
customer network.
Generated from protobuf field <code>string ip_allocation = 2;</code>
@param string $var
@return $this | setIpAllocation | php | googleapis/google-cloud-php | DataFusion/src/V1/NetworkConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/DataFusion/src/V1/NetworkConfig.php | Apache-2.0 |
public function getGenericMetadata()
{
return $this->generic_metadata;
} | The common part of the operation metadata.
Generated from protobuf field <code>.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;</code>
@return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null | getGenericMetadata | php | googleapis/google-cloud-php | AiPlatform/src/V1/UpdateReasoningEngineOperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/UpdateReasoningEngineOperationMetadata.php | Apache-2.0 |
public function setGenericMetadata($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class);
$this->generic_metadata = $var;
return $this;
} | The common part of the operation metadata.
Generated from protobuf field <code>.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;</code>
@param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var
@return $this | setGenericMetadata | php | googleapis/google-cloud-php | AiPlatform/src/V1/UpdateReasoningEngineOperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/UpdateReasoningEngineOperationMetadata.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. Name of the resource.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getName | php | googleapis/google-cloud-php | BareMetalSolution/src/V2/StartInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/StartInstanceRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. Name of the resource.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | BareMetalSolution/src/V2/StartInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/StartInstanceRequest.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. Example format: properties/1234/googleAdsLinks/5678
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getName | php | googleapis/google-cloud-php | AnalyticsAdmin/src/V1alpha/DeleteGoogleAdsLinkRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/DeleteGoogleAdsLinkRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. Example format: properties/1234/googleAdsLinks/5678
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | AnalyticsAdmin/src/V1alpha/DeleteGoogleAdsLinkRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/DeleteGoogleAdsLinkRequest.php | Apache-2.0 |
public function getEntityIdSelector()
{
return $this->entity_id_selector;
} | Required. Selectors choosing feature values of which entity id to be
deleted from the EntityType.
Generated from protobuf field <code>.google.cloud.aiplatform.v1.EntityIdSelector entity_id_selector = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\AIPlatform\V1\EntityIdSelector|null | getEntityIdSelector | php | googleapis/google-cloud-php | AiPlatform/src/V1/DeleteFeatureValuesRequest/SelectEntity.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DeleteFeatureValuesRequest/SelectEntity.php | Apache-2.0 |
public function setEntityIdSelector($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\EntityIdSelector::class);
$this->entity_id_selector = $var;
return $this;
} | Required. Selectors choosing feature values of which entity id to be
deleted from the EntityType.
Generated from protobuf field <code>.google.cloud.aiplatform.v1.EntityIdSelector entity_id_selector = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\AIPlatform\V1\EntityIdSelector $var
@return $this | setEntityIdSelector | php | googleapis/google-cloud-php | AiPlatform/src/V1/DeleteFeatureValuesRequest/SelectEntity.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DeleteFeatureValuesRequest/SelectEntity.php | Apache-2.0 |
public function getIngressFrom()
{
return $this->ingress_from;
} | Defines the conditions on the source of a request causing this
[IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply.
Generated from protobuf field <code>.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom ingress_from = 1;</code>
@return \Google\Identity\AccessContextManager\V1\ServicePerimeterConfig\IngressFrom|null | getIngressFrom | php | googleapis/google-cloud-php | AccessContextManager/src/V1/ServicePerimeterConfig/IngressPolicy.php | https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeterConfig/IngressPolicy.php | Apache-2.0 |
public function setIngressFrom($var)
{
GPBUtil::checkMessage($var, \Google\Identity\AccessContextManager\V1\ServicePerimeterConfig\IngressFrom::class);
$this->ingress_from = $var;
return $this;
} | Defines the conditions on the source of a request causing this
[IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply.
Generated from protobuf field <code>.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom ingress_from = 1;</code>
@param \Google\Identity\AccessContextManager\V1\ServicePerimeterConfig\IngressFrom $var
@return $this | setIngressFrom | php | googleapis/google-cloud-php | AccessContextManager/src/V1/ServicePerimeterConfig/IngressPolicy.php | https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeterConfig/IngressPolicy.php | Apache-2.0 |
public function getIngressTo()
{
return $this->ingress_to;
} | Defines the conditions on the [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
and request destination that cause this [IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply.
Generated from protobuf field <code>.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressTo ingress_to = 2;</code>
@return \Google\Identity\AccessContextManager\V1\ServicePerimeterConfig\IngressTo|null | getIngressTo | php | googleapis/google-cloud-php | AccessContextManager/src/V1/ServicePerimeterConfig/IngressPolicy.php | https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeterConfig/IngressPolicy.php | Apache-2.0 |
public function setIngressTo($var)
{
GPBUtil::checkMessage($var, \Google\Identity\AccessContextManager\V1\ServicePerimeterConfig\IngressTo::class);
$this->ingress_to = $var;
return $this;
} | Defines the conditions on the [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
and request destination that cause this [IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply.
Generated from protobuf field <code>.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressTo ingress_to = 2;</code>
@param \Google\Identity\AccessContextManager\V1\ServicePerimeterConfig\IngressTo $var
@return $this | setIngressTo | php | googleapis/google-cloud-php | AccessContextManager/src/V1/ServicePerimeterConfig/IngressPolicy.php | https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeterConfig/IngressPolicy.php | Apache-2.0 |
public function getState()
{
return $this->state;
} | The state of a long running operation.
Generated from protobuf field <code>.google.cloud.talent.v4.BatchOperationMetadata.State state = 1;</code>
@return int | getState | php | googleapis/google-cloud-php | Talent/src/V4/BatchOperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/BatchOperationMetadata.php | Apache-2.0 |
public function setState($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Talent\V4\BatchOperationMetadata\State::class);
$this->state = $var;
return $this;
} | The state of a long running operation.
Generated from protobuf field <code>.google.cloud.talent.v4.BatchOperationMetadata.State state = 1;</code>
@param int $var
@return $this | setState | php | googleapis/google-cloud-php | Talent/src/V4/BatchOperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/BatchOperationMetadata.php | Apache-2.0 |
public function getStateDescription()
{
return $this->state_description;
} | More detailed information about operation state.
Generated from protobuf field <code>string state_description = 2;</code>
@return string | getStateDescription | php | googleapis/google-cloud-php | Talent/src/V4/BatchOperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/BatchOperationMetadata.php | Apache-2.0 |
public function setStateDescription($var)
{
GPBUtil::checkString($var, True);
$this->state_description = $var;
return $this;
} | More detailed information about operation state.
Generated from protobuf field <code>string state_description = 2;</code>
@param string $var
@return $this | setStateDescription | php | googleapis/google-cloud-php | Talent/src/V4/BatchOperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/BatchOperationMetadata.php | Apache-2.0 |
public function getSuccessCount()
{
return $this->success_count;
} | Count of successful item(s) inside an operation.
Generated from protobuf field <code>int32 success_count = 3;</code>
@return int | getSuccessCount | php | googleapis/google-cloud-php | Talent/src/V4/BatchOperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/BatchOperationMetadata.php | Apache-2.0 |
public function setSuccessCount($var)
{
GPBUtil::checkInt32($var);
$this->success_count = $var;
return $this;
} | Count of successful item(s) inside an operation.
Generated from protobuf field <code>int32 success_count = 3;</code>
@param int $var
@return $this | setSuccessCount | php | googleapis/google-cloud-php | Talent/src/V4/BatchOperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/BatchOperationMetadata.php | Apache-2.0 |
public function getFailureCount()
{
return $this->failure_count;
} | Count of failed item(s) inside an operation.
Generated from protobuf field <code>int32 failure_count = 4;</code>
@return int | getFailureCount | php | googleapis/google-cloud-php | Talent/src/V4/BatchOperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/BatchOperationMetadata.php | Apache-2.0 |
public function setFailureCount($var)
{
GPBUtil::checkInt32($var);
$this->failure_count = $var;
return $this;
} | Count of failed item(s) inside an operation.
Generated from protobuf field <code>int32 failure_count = 4;</code>
@param int $var
@return $this | setFailureCount | php | googleapis/google-cloud-php | Talent/src/V4/BatchOperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/BatchOperationMetadata.php | Apache-2.0 |
public function getTotalCount()
{
return $this->total_count;
} | Count of total item(s) inside an operation.
Generated from protobuf field <code>int32 total_count = 5;</code>
@return int | getTotalCount | php | googleapis/google-cloud-php | Talent/src/V4/BatchOperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/BatchOperationMetadata.php | Apache-2.0 |
public function setTotalCount($var)
{
GPBUtil::checkInt32($var);
$this->total_count = $var;
return $this;
} | Count of total item(s) inside an operation.
Generated from protobuf field <code>int32 total_count = 5;</code>
@param int $var
@return $this | setTotalCount | php | googleapis/google-cloud-php | Talent/src/V4/BatchOperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/BatchOperationMetadata.php | Apache-2.0 |
public function getCreateTime()
{
return $this->create_time;
} | The time when the batch operation is created.
Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 6;</code>
@return \Google\Protobuf\Timestamp|null | getCreateTime | php | googleapis/google-cloud-php | Talent/src/V4/BatchOperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/BatchOperationMetadata.php | Apache-2.0 |
public function setCreateTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->create_time = $var;
return $this;
} | The time when the batch operation is created.
Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 6;</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setCreateTime | php | googleapis/google-cloud-php | Talent/src/V4/BatchOperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/BatchOperationMetadata.php | Apache-2.0 |
public function getUpdateTime()
{
return $this->update_time;
} | The time when the batch operation status is updated. The metadata and the
[update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is
refreshed every minute otherwise cached data is returned.
Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 7;</code>
@return \Google\Protobuf\Timestamp|null | getUpdateTime | php | googleapis/google-cloud-php | Talent/src/V4/BatchOperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/BatchOperationMetadata.php | Apache-2.0 |
public function setUpdateTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->update_time = $var;
return $this;
} | The time when the batch operation status is updated. The metadata and the
[update_time][google.cloud.talent.v4.BatchOperationMetadata.update_time] is
refreshed every minute otherwise cached data is returned.
Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 7;</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setUpdateTime | php | googleapis/google-cloud-php | Talent/src/V4/BatchOperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/BatchOperationMetadata.php | Apache-2.0 |
public function getEndTime()
{
return $this->end_time;
} | The time when the batch operation is finished and
[google.longrunning.Operation.done][google.longrunning.Operation.done] is
set to `true`.
Generated from protobuf field <code>.google.protobuf.Timestamp end_time = 8;</code>
@return \Google\Protobuf\Timestamp|null | getEndTime | php | googleapis/google-cloud-php | Talent/src/V4/BatchOperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/BatchOperationMetadata.php | Apache-2.0 |
public function setEndTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->end_time = $var;
return $this;
} | The time when the batch operation is finished and
[google.longrunning.Operation.done][google.longrunning.Operation.done] is
set to `true`.
Generated from protobuf field <code>.google.protobuf.Timestamp end_time = 8;</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setEndTime | php | googleapis/google-cloud-php | Talent/src/V4/BatchOperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Talent/src/V4/BatchOperationMetadata.php | Apache-2.0 |
public function getProjectId()
{
@trigger_error('project_id is deprecated.', E_USER_DEPRECATED);
return $this->project_id;
} | Deprecated. The Google Developers Console [project ID or project
number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
This field has been deprecated and replaced by the name field.
Generated from protobuf field <code>string project_id = 1 [deprecated = true];</code>
@return string
@deprecated | getProjectId | php | googleapis/google-cloud-php | Container/src/V1/SetNodePoolManagementRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Container/src/V1/SetNodePoolManagementRequest.php | Apache-2.0 |
public function setProjectId($var)
{
@trigger_error('project_id is deprecated.', E_USER_DEPRECATED);
GPBUtil::checkString($var, True);
$this->project_id = $var;
return $this;
} | Deprecated. The Google Developers Console [project ID or project
number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
This field has been deprecated and replaced by the name field.
Generated from protobuf field <code>string project_id = 1 [deprecated = true];</code>
@param string $var
@return $this
@deprecated | setProjectId | php | googleapis/google-cloud-php | Container/src/V1/SetNodePoolManagementRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Container/src/V1/SetNodePoolManagementRequest.php | Apache-2.0 |
public function getZone()
{
@trigger_error('zone is deprecated.', E_USER_DEPRECATED);
return $this->zone;
} | Deprecated. The name of the Google Compute Engine
[zone](https://cloud.google.com/compute/docs/zones#available) in which the
cluster resides. This field has been deprecated and replaced by the name
field.
Generated from protobuf field <code>string zone = 2 [deprecated = true];</code>
@return string
@deprecated | getZone | php | googleapis/google-cloud-php | Container/src/V1/SetNodePoolManagementRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Container/src/V1/SetNodePoolManagementRequest.php | Apache-2.0 |
public function setZone($var)
{
@trigger_error('zone is deprecated.', E_USER_DEPRECATED);
GPBUtil::checkString($var, True);
$this->zone = $var;
return $this;
} | Deprecated. The name of the Google Compute Engine
[zone](https://cloud.google.com/compute/docs/zones#available) in which the
cluster resides. This field has been deprecated and replaced by the name
field.
Generated from protobuf field <code>string zone = 2 [deprecated = true];</code>
@param string $var
@return $this
@deprecated | setZone | php | googleapis/google-cloud-php | Container/src/V1/SetNodePoolManagementRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Container/src/V1/SetNodePoolManagementRequest.php | Apache-2.0 |
public function getClusterId()
{
@trigger_error('cluster_id is deprecated.', E_USER_DEPRECATED);
return $this->cluster_id;
} | Deprecated. The name of the cluster to update.
This field has been deprecated and replaced by the name field.
Generated from protobuf field <code>string cluster_id = 3 [deprecated = true];</code>
@return string
@deprecated | getClusterId | php | googleapis/google-cloud-php | Container/src/V1/SetNodePoolManagementRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Container/src/V1/SetNodePoolManagementRequest.php | Apache-2.0 |
public function setClusterId($var)
{
@trigger_error('cluster_id is deprecated.', E_USER_DEPRECATED);
GPBUtil::checkString($var, True);
$this->cluster_id = $var;
return $this;
} | Deprecated. The name of the cluster to update.
This field has been deprecated and replaced by the name field.
Generated from protobuf field <code>string cluster_id = 3 [deprecated = true];</code>
@param string $var
@return $this
@deprecated | setClusterId | php | googleapis/google-cloud-php | Container/src/V1/SetNodePoolManagementRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Container/src/V1/SetNodePoolManagementRequest.php | Apache-2.0 |
public function getNodePoolId()
{
@trigger_error('node_pool_id is deprecated.', E_USER_DEPRECATED);
return $this->node_pool_id;
} | Deprecated. The name of the node pool to update.
This field has been deprecated and replaced by the name field.
Generated from protobuf field <code>string node_pool_id = 4 [deprecated = true];</code>
@return string
@deprecated | getNodePoolId | php | googleapis/google-cloud-php | Container/src/V1/SetNodePoolManagementRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Container/src/V1/SetNodePoolManagementRequest.php | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.