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 setDataset($var)
{
GPBUtil::checkString($var, True);
$this->writeOneof(1, $var);
return $this;
} | Migrated Dataset's resource name.
Generated from protobuf field <code>string dataset = 1 [(.google.api.resource_reference) = {</code>
@param string $var
@return $this | setDataset | php | googleapis/google-cloud-php | AiPlatform/src/V1/MigrateResourceResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/MigrateResourceResponse.php | Apache-2.0 |
public function getModel()
{
return $this->readOneof(2);
} | Migrated Model's resource name.
Generated from protobuf field <code>string model = 2 [(.google.api.resource_reference) = {</code>
@return string | getModel | php | googleapis/google-cloud-php | AiPlatform/src/V1/MigrateResourceResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/MigrateResourceResponse.php | Apache-2.0 |
public function setModel($var)
{
GPBUtil::checkString($var, True);
$this->writeOneof(2, $var);
return $this;
} | Migrated Model's resource name.
Generated from protobuf field <code>string model = 2 [(.google.api.resource_reference) = {</code>
@param string $var
@return $this | setModel | php | googleapis/google-cloud-php | AiPlatform/src/V1/MigrateResourceResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/MigrateResourceResponse.php | Apache-2.0 |
public function getMigratableResource()
{
return $this->migratable_resource;
} | Before migration, the identifier in ml.googleapis.com,
automl.googleapis.com or datalabeling.googleapis.com.
Generated from protobuf field <code>.google.cloud.aiplatform.v1.MigratableResource migratable_resource = 3;</code>
@return \Google\Cloud\AIPlatform\V1\MigratableResource|null | getMigratableResource | php | googleapis/google-cloud-php | AiPlatform/src/V1/MigrateResourceResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/MigrateResourceResponse.php | Apache-2.0 |
public function setMigratableResource($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\MigratableResource::class);
$this->migratable_resource = $var;
return $this;
} | Before migration, the identifier in ml.googleapis.com,
automl.googleapis.com or datalabeling.googleapis.com.
Generated from protobuf field <code>.google.cloud.aiplatform.v1.MigratableResource migratable_resource = 3;</code>
@param \Google\Cloud\AIPlatform\V1\MigratableResource $var
@return $this | setMigratableResource | php | googleapis/google-cloud-php | AiPlatform/src/V1/MigrateResourceResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/MigrateResourceResponse.php | Apache-2.0 |
public function getParent()
{
return $this->parent;
} | Required. The resource name of the AppGateway location using the form:
`projects/{project_id}/locations/{location_id}`
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 | BeyondCorpAppGateways/src/V1/ListAppGatewaysRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BeyondCorpAppGateways/src/V1/ListAppGatewaysRequest.php | Apache-2.0 |
public function setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | Required. The resource name of the AppGateway location using the form:
`projects/{project_id}/locations/{location_id}`
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 | BeyondCorpAppGateways/src/V1/ListAppGatewaysRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BeyondCorpAppGateways/src/V1/ListAppGatewaysRequest.php | Apache-2.0 |
public function getPageSize()
{
return $this->page_size;
} | Optional. The maximum number of items to return.
If not specified, a default value of 50 will be used by the service.
Regardless of the page_size value, the response may include a partial list
and a caller should only rely on response's
[next_page_token][BeyondCorp.ListAppGatewaysResponse.next_page_token] to
determine if there are more instances left to be queried.
Generated from protobuf field <code>int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@return int | getPageSize | php | googleapis/google-cloud-php | BeyondCorpAppGateways/src/V1/ListAppGatewaysRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BeyondCorpAppGateways/src/V1/ListAppGatewaysRequest.php | Apache-2.0 |
public function setPageSize($var)
{
GPBUtil::checkInt32($var);
$this->page_size = $var;
return $this;
} | Optional. The maximum number of items to return.
If not specified, a default value of 50 will be used by the service.
Regardless of the page_size value, the response may include a partial list
and a caller should only rely on response's
[next_page_token][BeyondCorp.ListAppGatewaysResponse.next_page_token] to
determine if there are more instances left to be queried.
Generated from protobuf field <code>int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@param int $var
@return $this | setPageSize | php | googleapis/google-cloud-php | BeyondCorpAppGateways/src/V1/ListAppGatewaysRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BeyondCorpAppGateways/src/V1/ListAppGatewaysRequest.php | Apache-2.0 |
public function getPageToken()
{
return $this->page_token;
} | Optional. The next_page_token value returned from a previous
ListAppGatewaysRequest, if any.
Generated from protobuf field <code>string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getPageToken | php | googleapis/google-cloud-php | BeyondCorpAppGateways/src/V1/ListAppGatewaysRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BeyondCorpAppGateways/src/V1/ListAppGatewaysRequest.php | Apache-2.0 |
public function setPageToken($var)
{
GPBUtil::checkString($var, True);
$this->page_token = $var;
return $this;
} | Optional. The next_page_token value returned from a previous
ListAppGatewaysRequest, if any.
Generated from protobuf field <code>string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setPageToken | php | googleapis/google-cloud-php | BeyondCorpAppGateways/src/V1/ListAppGatewaysRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BeyondCorpAppGateways/src/V1/ListAppGatewaysRequest.php | Apache-2.0 |
public function getFilter()
{
return $this->filter;
} | Optional. A filter specifying constraints of a list operation.
Generated from protobuf field <code>string filter = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getFilter | php | googleapis/google-cloud-php | BeyondCorpAppGateways/src/V1/ListAppGatewaysRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BeyondCorpAppGateways/src/V1/ListAppGatewaysRequest.php | Apache-2.0 |
public function setFilter($var)
{
GPBUtil::checkString($var, True);
$this->filter = $var;
return $this;
} | Optional. A filter specifying constraints of a list operation.
Generated from protobuf field <code>string filter = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setFilter | php | googleapis/google-cloud-php | BeyondCorpAppGateways/src/V1/ListAppGatewaysRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BeyondCorpAppGateways/src/V1/ListAppGatewaysRequest.php | Apache-2.0 |
public function getOrderBy()
{
return $this->order_by;
} | Optional. Specifies the ordering of results. See
[Sorting
order](https://cloud.google.com/apis/design/design_patterns#sorting_order)
for more information.
Generated from protobuf field <code>string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getOrderBy | php | googleapis/google-cloud-php | BeyondCorpAppGateways/src/V1/ListAppGatewaysRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BeyondCorpAppGateways/src/V1/ListAppGatewaysRequest.php | Apache-2.0 |
public function setOrderBy($var)
{
GPBUtil::checkString($var, True);
$this->order_by = $var;
return $this;
} | Optional. Specifies the ordering of results. See
[Sorting
order](https://cloud.google.com/apis/design/design_patterns#sorting_order)
for more information.
Generated from protobuf field <code>string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setOrderBy | php | googleapis/google-cloud-php | BeyondCorpAppGateways/src/V1/ListAppGatewaysRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BeyondCorpAppGateways/src/V1/ListAppGatewaysRequest.php | Apache-2.0 |
public function getImageVersionId()
{
return $this->image_version_id;
} | The string identifier of the ImageVersion, in the form:
"composer-x.y.z-airflow-a.b.c"
Generated from protobuf field <code>string image_version_id = 1;</code>
@return string | getImageVersionId | php | googleapis/google-cloud-php | OrchestrationAirflow/src/V1/ImageVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/OrchestrationAirflow/src/V1/ImageVersion.php | Apache-2.0 |
public function setImageVersionId($var)
{
GPBUtil::checkString($var, True);
$this->image_version_id = $var;
return $this;
} | The string identifier of the ImageVersion, in the form:
"composer-x.y.z-airflow-a.b.c"
Generated from protobuf field <code>string image_version_id = 1;</code>
@param string $var
@return $this | setImageVersionId | php | googleapis/google-cloud-php | OrchestrationAirflow/src/V1/ImageVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/OrchestrationAirflow/src/V1/ImageVersion.php | Apache-2.0 |
public function getIsDefault()
{
return $this->is_default;
} | Whether this is the default ImageVersion used by Composer during
environment creation if no input ImageVersion is specified.
Generated from protobuf field <code>bool is_default = 2;</code>
@return bool | getIsDefault | php | googleapis/google-cloud-php | OrchestrationAirflow/src/V1/ImageVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/OrchestrationAirflow/src/V1/ImageVersion.php | Apache-2.0 |
public function setIsDefault($var)
{
GPBUtil::checkBool($var);
$this->is_default = $var;
return $this;
} | Whether this is the default ImageVersion used by Composer during
environment creation if no input ImageVersion is specified.
Generated from protobuf field <code>bool is_default = 2;</code>
@param bool $var
@return $this | setIsDefault | php | googleapis/google-cloud-php | OrchestrationAirflow/src/V1/ImageVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/OrchestrationAirflow/src/V1/ImageVersion.php | Apache-2.0 |
public function getSupportedPythonVersions()
{
return $this->supported_python_versions;
} | supported python versions
Generated from protobuf field <code>repeated string supported_python_versions = 3;</code>
@return \Google\Protobuf\Internal\RepeatedField | getSupportedPythonVersions | php | googleapis/google-cloud-php | OrchestrationAirflow/src/V1/ImageVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/OrchestrationAirflow/src/V1/ImageVersion.php | Apache-2.0 |
public function setSupportedPythonVersions($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->supported_python_versions = $arr;
return $this;
} | supported python versions
Generated from protobuf field <code>repeated string supported_python_versions = 3;</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setSupportedPythonVersions | php | googleapis/google-cloud-php | OrchestrationAirflow/src/V1/ImageVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/OrchestrationAirflow/src/V1/ImageVersion.php | Apache-2.0 |
public function getReleaseDate()
{
return $this->release_date;
} | The date of the version release.
Generated from protobuf field <code>.google.type.Date release_date = 4;</code>
@return \Google\Type\Date|null | getReleaseDate | php | googleapis/google-cloud-php | OrchestrationAirflow/src/V1/ImageVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/OrchestrationAirflow/src/V1/ImageVersion.php | Apache-2.0 |
public function setReleaseDate($var)
{
GPBUtil::checkMessage($var, \Google\Type\Date::class);
$this->release_date = $var;
return $this;
} | The date of the version release.
Generated from protobuf field <code>.google.type.Date release_date = 4;</code>
@param \Google\Type\Date $var
@return $this | setReleaseDate | php | googleapis/google-cloud-php | OrchestrationAirflow/src/V1/ImageVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/OrchestrationAirflow/src/V1/ImageVersion.php | Apache-2.0 |
public function getCreationDisabled()
{
return $this->creation_disabled;
} | Whether it is impossible to create an environment with the image version.
Generated from protobuf field <code>bool creation_disabled = 5;</code>
@return bool | getCreationDisabled | php | googleapis/google-cloud-php | OrchestrationAirflow/src/V1/ImageVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/OrchestrationAirflow/src/V1/ImageVersion.php | Apache-2.0 |
public function setCreationDisabled($var)
{
GPBUtil::checkBool($var);
$this->creation_disabled = $var;
return $this;
} | Whether it is impossible to create an environment with the image version.
Generated from protobuf field <code>bool creation_disabled = 5;</code>
@param bool $var
@return $this | setCreationDisabled | php | googleapis/google-cloud-php | OrchestrationAirflow/src/V1/ImageVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/OrchestrationAirflow/src/V1/ImageVersion.php | Apache-2.0 |
public function getUpgradeDisabled()
{
return $this->upgrade_disabled;
} | Whether it is impossible to upgrade an environment running with the image
version.
Generated from protobuf field <code>bool upgrade_disabled = 6;</code>
@return bool | getUpgradeDisabled | php | googleapis/google-cloud-php | OrchestrationAirflow/src/V1/ImageVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/OrchestrationAirflow/src/V1/ImageVersion.php | Apache-2.0 |
public function setUpgradeDisabled($var)
{
GPBUtil::checkBool($var);
$this->upgrade_disabled = $var;
return $this;
} | Whether it is impossible to upgrade an environment running with the image
version.
Generated from protobuf field <code>bool upgrade_disabled = 6;</code>
@param bool $var
@return $this | setUpgradeDisabled | php | googleapis/google-cloud-php | OrchestrationAirflow/src/V1/ImageVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/OrchestrationAirflow/src/V1/ImageVersion.php | Apache-2.0 |
public function getConfig()
{
return $this->config;
} | StoredInfoType configuration.
Generated from protobuf field <code>.google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;</code>
@return \Google\Cloud\Dlp\V2\StoredInfoTypeConfig|null | getConfig | php | googleapis/google-cloud-php | Dlp/src/V2/StoredInfoTypeVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/StoredInfoTypeVersion.php | Apache-2.0 |
public function setConfig($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\StoredInfoTypeConfig::class);
$this->config = $var;
return $this;
} | StoredInfoType configuration.
Generated from protobuf field <code>.google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;</code>
@param \Google\Cloud\Dlp\V2\StoredInfoTypeConfig $var
@return $this | setConfig | php | googleapis/google-cloud-php | Dlp/src/V2/StoredInfoTypeVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/StoredInfoTypeVersion.php | Apache-2.0 |
public function getCreateTime()
{
return $this->create_time;
} | Create timestamp of the version. Read-only, determined by the system
when the version is created.
Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 2;</code>
@return \Google\Protobuf\Timestamp|null | getCreateTime | php | googleapis/google-cloud-php | Dlp/src/V2/StoredInfoTypeVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/StoredInfoTypeVersion.php | Apache-2.0 |
public function setCreateTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->create_time = $var;
return $this;
} | Create timestamp of the version. Read-only, determined by the system
when the version is created.
Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 2;</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setCreateTime | php | googleapis/google-cloud-php | Dlp/src/V2/StoredInfoTypeVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/StoredInfoTypeVersion.php | Apache-2.0 |
public function getState()
{
return $this->state;
} | Stored info type version state. Read-only, updated by the system
during dictionary creation.
Generated from protobuf field <code>.google.privacy.dlp.v2.StoredInfoTypeState state = 3;</code>
@return int | getState | php | googleapis/google-cloud-php | Dlp/src/V2/StoredInfoTypeVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/StoredInfoTypeVersion.php | Apache-2.0 |
public function setState($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Dlp\V2\StoredInfoTypeState::class);
$this->state = $var;
return $this;
} | Stored info type version state. Read-only, updated by the system
during dictionary creation.
Generated from protobuf field <code>.google.privacy.dlp.v2.StoredInfoTypeState state = 3;</code>
@param int $var
@return $this | setState | php | googleapis/google-cloud-php | Dlp/src/V2/StoredInfoTypeVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/StoredInfoTypeVersion.php | Apache-2.0 |
public function getErrors()
{
return $this->errors;
} | Errors that occurred when creating this storedInfoType version, or
anomalies detected in the storedInfoType data that render it unusable. Only
the five most recent errors will be displayed, with the most recent error
appearing first.
For example, some of the data for stored custom dictionaries is put in
the user's Cloud Storage bucket, and if this data is modified or
deleted by the user or another system, the dictionary becomes invalid.
If any errors occur, fix the problem indicated by the error message and
use the UpdateStoredInfoType API method to create another version of the
storedInfoType to continue using it, reusing the same `config` if it was
not the source of the error.
Generated from protobuf field <code>repeated .google.privacy.dlp.v2.Error errors = 4;</code>
@return \Google\Protobuf\Internal\RepeatedField | getErrors | php | googleapis/google-cloud-php | Dlp/src/V2/StoredInfoTypeVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/StoredInfoTypeVersion.php | Apache-2.0 |
public function setErrors($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\Error::class);
$this->errors = $arr;
return $this;
} | Errors that occurred when creating this storedInfoType version, or
anomalies detected in the storedInfoType data that render it unusable. Only
the five most recent errors will be displayed, with the most recent error
appearing first.
For example, some of the data for stored custom dictionaries is put in
the user's Cloud Storage bucket, and if this data is modified or
deleted by the user or another system, the dictionary becomes invalid.
If any errors occur, fix the problem indicated by the error message and
use the UpdateStoredInfoType API method to create another version of the
storedInfoType to continue using it, reusing the same `config` if it was
not the source of the error.
Generated from protobuf field <code>repeated .google.privacy.dlp.v2.Error errors = 4;</code>
@param array<\Google\Cloud\Dlp\V2\Error>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setErrors | php | googleapis/google-cloud-php | Dlp/src/V2/StoredInfoTypeVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/StoredInfoTypeVersion.php | Apache-2.0 |
public function getStats()
{
return $this->stats;
} | Statistics about this storedInfoType version.
Generated from protobuf field <code>.google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;</code>
@return \Google\Cloud\Dlp\V2\StoredInfoTypeStats|null | getStats | php | googleapis/google-cloud-php | Dlp/src/V2/StoredInfoTypeVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/StoredInfoTypeVersion.php | Apache-2.0 |
public function setStats($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\StoredInfoTypeStats::class);
$this->stats = $var;
return $this;
} | Statistics about this storedInfoType version.
Generated from protobuf field <code>.google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;</code>
@param \Google\Cloud\Dlp\V2\StoredInfoTypeStats $var
@return $this | setStats | php | googleapis/google-cloud-php | Dlp/src/V2/StoredInfoTypeVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/Dlp/src/V2/StoredInfoTypeVersion.php | Apache-2.0 |
public function getKeyString()
{
return $this->key_string;
} | An encrypted and signed value of the key.
Generated from protobuf field <code>string key_string = 1;</code>
@return string | getKeyString | php | googleapis/google-cloud-php | ApiKeys/src/V2/GetKeyStringResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/ApiKeys/src/V2/GetKeyStringResponse.php | Apache-2.0 |
public function setKeyString($var)
{
GPBUtil::checkString($var, True);
$this->key_string = $var;
return $this;
} | An encrypted and signed value of the key.
Generated from protobuf field <code>string key_string = 1;</code>
@param string $var
@return $this | setKeyString | php | googleapis/google-cloud-php | ApiKeys/src/V2/GetKeyStringResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/ApiKeys/src/V2/GetKeyStringResponse.php | Apache-2.0 |
public function getScope()
{
return $this->scope;
} | Required. Immutable. Specifies the scope for this step.
Generated from protobuf field <code>.google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];</code>
@return int | getScope | php | googleapis/google-cloud-php | AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php | Apache-2.0 |
public function setScope($var)
{
GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AudienceFilterScope::class);
$this->scope = $var;
return $this;
} | Required. Immutable. Specifies the scope for this step.
Generated from protobuf field <code>.google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];</code>
@param int $var
@return $this | setScope | php | googleapis/google-cloud-php | AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php | Apache-2.0 |
public function getImmediatelyFollows()
{
return $this->immediately_follows;
} | Optional. If true, the event satisfying this step must be the very next
event after the event satisfying the last step. If unset or false, this
step indirectly follows the prior step; for example, there may be
events between the prior step and this step. It is ignored for the
first step.
Generated from protobuf field <code>bool immediately_follows = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@return bool | getImmediatelyFollows | php | googleapis/google-cloud-php | AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php | Apache-2.0 |
public function setImmediatelyFollows($var)
{
GPBUtil::checkBool($var);
$this->immediately_follows = $var;
return $this;
} | Optional. If true, the event satisfying this step must be the very next
event after the event satisfying the last step. If unset or false, this
step indirectly follows the prior step; for example, there may be
events between the prior step and this step. It is ignored for the
first step.
Generated from protobuf field <code>bool immediately_follows = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@param bool $var
@return $this | setImmediatelyFollows | php | googleapis/google-cloud-php | AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php | Apache-2.0 |
public function getConstraintDuration()
{
return $this->constraint_duration;
} | Optional. When set, this step must be satisfied within the
constraint_duration of the previous step (For example, t[i] - t[i-1] <=
constraint_duration). If not set, there is no duration requirement (the
duration is effectively unlimited). It is ignored for the first step.
Generated from protobuf field <code>.google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Protobuf\Duration|null | getConstraintDuration | php | googleapis/google-cloud-php | AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php | Apache-2.0 |
public function setConstraintDuration($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
$this->constraint_duration = $var;
return $this;
} | Optional. When set, this step must be satisfied within the
constraint_duration of the previous step (For example, t[i] - t[i-1] <=
constraint_duration). If not set, there is no duration requirement (the
duration is effectively unlimited). It is ignored for the first step.
Generated from protobuf field <code>.google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Protobuf\Duration $var
@return $this | setConstraintDuration | php | googleapis/google-cloud-php | AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php | Apache-2.0 |
public function getFilterExpression()
{
return $this->filter_expression;
} | Required. Immutable. A logical expression of Audience dimension, metric,
or event filters in each step.
Generated from protobuf field <code>.google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];</code>
@return \Google\Analytics\Admin\V1alpha\AudienceFilterExpression|null | getFilterExpression | php | googleapis/google-cloud-php | AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php | Apache-2.0 |
public function setFilterExpression($var)
{
GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AudienceFilterExpression::class);
$this->filter_expression = $var;
return $this;
} | Required. Immutable. A logical expression of Audience dimension, metric,
or event filters in each step.
Generated from protobuf field <code>.google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];</code>
@param \Google\Analytics\Admin\V1alpha\AudienceFilterExpression $var
@return $this | setFilterExpression | php | googleapis/google-cloud-php | AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php | Apache-2.0 |
public function getNamespace()
{
return isset($this->namespace) ? $this->namespace : '';
} | Service Directory namespace to register the forwarding rule under.
Generated from protobuf field <code>optional string namespace = 178476379;</code>
@return string | getNamespace | php | googleapis/google-cloud-php | Compute/src/V1/ForwardingRuleServiceDirectoryRegistration.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ForwardingRuleServiceDirectoryRegistration.php | Apache-2.0 |
public function setNamespace($var)
{
GPBUtil::checkString($var, True);
$this->namespace = $var;
return $this;
} | Service Directory namespace to register the forwarding rule under.
Generated from protobuf field <code>optional string namespace = 178476379;</code>
@param string $var
@return $this | setNamespace | php | googleapis/google-cloud-php | Compute/src/V1/ForwardingRuleServiceDirectoryRegistration.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ForwardingRuleServiceDirectoryRegistration.php | Apache-2.0 |
public function getService()
{
return isset($this->service) ? $this->service : '';
} | Service Directory service to register the forwarding rule under.
Generated from protobuf field <code>optional string service = 373540533;</code>
@return string | getService | php | googleapis/google-cloud-php | Compute/src/V1/ForwardingRuleServiceDirectoryRegistration.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ForwardingRuleServiceDirectoryRegistration.php | Apache-2.0 |
public function setService($var)
{
GPBUtil::checkString($var, True);
$this->service = $var;
return $this;
} | Service Directory service to register the forwarding rule under.
Generated from protobuf field <code>optional string service = 373540533;</code>
@param string $var
@return $this | setService | php | googleapis/google-cloud-php | Compute/src/V1/ForwardingRuleServiceDirectoryRegistration.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ForwardingRuleServiceDirectoryRegistration.php | Apache-2.0 |
public function getServiceDirectoryRegion()
{
return isset($this->service_directory_region) ? $this->service_directory_region : '';
} | [Optional] Service Directory region to register this global forwarding rule under. Default to "us-central1". Only used for PSC for Google APIs. All PSC for Google APIs forwarding rules on the same network should use the same Service Directory region.
Generated from protobuf field <code>optional string service_directory_region = 74030416;</code>
@return string | getServiceDirectoryRegion | php | googleapis/google-cloud-php | Compute/src/V1/ForwardingRuleServiceDirectoryRegistration.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ForwardingRuleServiceDirectoryRegistration.php | Apache-2.0 |
public function setServiceDirectoryRegion($var)
{
GPBUtil::checkString($var, True);
$this->service_directory_region = $var;
return $this;
} | [Optional] Service Directory region to register this global forwarding rule under. Default to "us-central1". Only used for PSC for Google APIs. All PSC for Google APIs forwarding rules on the same network should use the same Service Directory region.
Generated from protobuf field <code>optional string service_directory_region = 74030416;</code>
@param string $var
@return $this | setServiceDirectoryRegion | php | googleapis/google-cloud-php | Compute/src/V1/ForwardingRuleServiceDirectoryRegistration.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ForwardingRuleServiceDirectoryRegistration.php | Apache-2.0 |
public function getGlossary()
{
return $this->glossary;
} | The updated glossary object.
Generated from protobuf field <code>.google.cloud.translation.v3.Glossary glossary = 1;</code>
@return \Google\Cloud\Translate\V3\Glossary|null | getGlossary | php | googleapis/google-cloud-php | Translate/src/V3/UpdateGlossaryMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Translate/src/V3/UpdateGlossaryMetadata.php | Apache-2.0 |
public function setGlossary($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Translate\V3\Glossary::class);
$this->glossary = $var;
return $this;
} | The updated glossary object.
Generated from protobuf field <code>.google.cloud.translation.v3.Glossary glossary = 1;</code>
@param \Google\Cloud\Translate\V3\Glossary $var
@return $this | setGlossary | php | googleapis/google-cloud-php | Translate/src/V3/UpdateGlossaryMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Translate/src/V3/UpdateGlossaryMetadata.php | Apache-2.0 |
public function getState()
{
return $this->state;
} | The current state of the glossary update operation. If the glossary input
file was not updated this will be completed immediately
Generated from protobuf field <code>.google.cloud.translation.v3.UpdateGlossaryMetadata.State state = 2;</code>
@return int | getState | php | googleapis/google-cloud-php | Translate/src/V3/UpdateGlossaryMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Translate/src/V3/UpdateGlossaryMetadata.php | Apache-2.0 |
public function setState($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Translate\V3\UpdateGlossaryMetadata\State::class);
$this->state = $var;
return $this;
} | The current state of the glossary update operation. If the glossary input
file was not updated this will be completed immediately
Generated from protobuf field <code>.google.cloud.translation.v3.UpdateGlossaryMetadata.State state = 2;</code>
@param int $var
@return $this | setState | php | googleapis/google-cloud-php | Translate/src/V3/UpdateGlossaryMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Translate/src/V3/UpdateGlossaryMetadata.php | Apache-2.0 |
public function getSubmitTime()
{
return $this->submit_time;
} | The time when the operation was submitted to the server.
Generated from protobuf field <code>.google.protobuf.Timestamp submit_time = 3;</code>
@return \Google\Protobuf\Timestamp|null | getSubmitTime | php | googleapis/google-cloud-php | Translate/src/V3/UpdateGlossaryMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Translate/src/V3/UpdateGlossaryMetadata.php | Apache-2.0 |
public function setSubmitTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->submit_time = $var;
return $this;
} | The time when the operation was submitted to the server.
Generated from protobuf field <code>.google.protobuf.Timestamp submit_time = 3;</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setSubmitTime | php | googleapis/google-cloud-php | Translate/src/V3/UpdateGlossaryMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Translate/src/V3/UpdateGlossaryMetadata.php | Apache-2.0 |
public function getNewInstanceId()
{
return $this->new_instance_id;
} | Required. The new `id` of the instance.
Generated from protobuf field <code>string new_instance_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getNewInstanceId | php | googleapis/google-cloud-php | BareMetalSolution/src/V2/RenameInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/RenameInstanceRequest.php | Apache-2.0 |
public function setNewInstanceId($var)
{
GPBUtil::checkString($var, True);
$this->new_instance_id = $var;
return $this;
} | Required. The new `id` of the instance.
Generated from protobuf field <code>string new_instance_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setNewInstanceId | php | googleapis/google-cloud-php | BareMetalSolution/src/V2/RenameInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/RenameInstanceRequest.php | Apache-2.0 |
public function getValidate()
{
return $this->validate;
} | Required. What to run to validate this resource is in the desired
state. An exit code of 100 indicates "in desired state", and exit code
of 101 indicates "not in desired state". Any other exit code indicates
a failure running validate.
Generated from protobuf field <code>.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\OsConfig\V1\OSPolicy\Resource\ExecResource\Exec|null | getValidate | php | googleapis/google-cloud-php | OsConfig/src/V1/OSPolicy/Resource/ExecResource.php | https://github.com/googleapis/google-cloud-php/blob/master/OsConfig/src/V1/OSPolicy/Resource/ExecResource.php | Apache-2.0 |
public function setValidate($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\OsConfig\V1\OSPolicy\Resource\ExecResource\Exec::class);
$this->validate = $var;
return $this;
} | Required. What to run to validate this resource is in the desired
state. An exit code of 100 indicates "in desired state", and exit code
of 101 indicates "not in desired state". Any other exit code indicates
a failure running validate.
Generated from protobuf field <code>.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec validate = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\OsConfig\V1\OSPolicy\Resource\ExecResource\Exec $var
@return $this | setValidate | php | googleapis/google-cloud-php | OsConfig/src/V1/OSPolicy/Resource/ExecResource.php | https://github.com/googleapis/google-cloud-php/blob/master/OsConfig/src/V1/OSPolicy/Resource/ExecResource.php | Apache-2.0 |
public function getEnforce()
{
return $this->enforce;
} | What to run to bring this resource into the desired state.
An exit code of 100 indicates "success", any other exit code indicates
a failure running enforce.
Generated from protobuf field <code>.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2;</code>
@return \Google\Cloud\OsConfig\V1\OSPolicy\Resource\ExecResource\Exec|null | getEnforce | php | googleapis/google-cloud-php | OsConfig/src/V1/OSPolicy/Resource/ExecResource.php | https://github.com/googleapis/google-cloud-php/blob/master/OsConfig/src/V1/OSPolicy/Resource/ExecResource.php | Apache-2.0 |
public function setEnforce($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\OsConfig\V1\OSPolicy\Resource\ExecResource\Exec::class);
$this->enforce = $var;
return $this;
} | What to run to bring this resource into the desired state.
An exit code of 100 indicates "success", any other exit code indicates
a failure running enforce.
Generated from protobuf field <code>.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec enforce = 2;</code>
@param \Google\Cloud\OsConfig\V1\OSPolicy\Resource\ExecResource\Exec $var
@return $this | setEnforce | php | googleapis/google-cloud-php | OsConfig/src/V1/OSPolicy/Resource/ExecResource.php | https://github.com/googleapis/google-cloud-php/blob/master/OsConfig/src/V1/OSPolicy/Resource/ExecResource.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Immutable. The name of the NFS share.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = IMMUTABLE];</code>
@return string | getName | php | googleapis/google-cloud-php | BareMetalSolution/src/V2/NfsShare.php | https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/NfsShare.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Immutable. The name of the NFS share.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = IMMUTABLE];</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | BareMetalSolution/src/V2/NfsShare.php | https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/NfsShare.php | Apache-2.0 |
public function getNfsShareId()
{
return $this->nfs_share_id;
} | Output only. An identifier for the NFS share, generated by the backend.
This field will be deprecated in the future, use `id` instead.
Generated from protobuf field <code>string nfs_share_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getNfsShareId | php | googleapis/google-cloud-php | BareMetalSolution/src/V2/NfsShare.php | https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/NfsShare.php | Apache-2.0 |
public function setNfsShareId($var)
{
GPBUtil::checkString($var, True);
$this->nfs_share_id = $var;
return $this;
} | Output only. An identifier for the NFS share, generated by the backend.
This field will be deprecated in the future, use `id` instead.
Generated from protobuf field <code>string nfs_share_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setNfsShareId | php | googleapis/google-cloud-php | BareMetalSolution/src/V2/NfsShare.php | https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/NfsShare.php | Apache-2.0 |
public function getId()
{
return $this->id;
} | Output only. An identifier for the NFS share, generated by the backend.
This is the same value as nfs_share_id and will replace it in the future.
Generated from protobuf field <code>string id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getId | php | googleapis/google-cloud-php | BareMetalSolution/src/V2/NfsShare.php | https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/NfsShare.php | Apache-2.0 |
public function setId($var)
{
GPBUtil::checkString($var, True);
$this->id = $var;
return $this;
} | Output only. An identifier for the NFS share, generated by the backend.
This is the same value as nfs_share_id and will replace it in the future.
Generated from protobuf field <code>string id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setId | php | googleapis/google-cloud-php | BareMetalSolution/src/V2/NfsShare.php | https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/NfsShare.php | Apache-2.0 |
public function getState()
{
return $this->state;
} | Output only. The state of the NFS share.
Generated from protobuf field <code>.google.cloud.baremetalsolution.v2.NfsShare.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return int | getState | php | googleapis/google-cloud-php | BareMetalSolution/src/V2/NfsShare.php | https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/NfsShare.php | Apache-2.0 |
public function setState($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\BareMetalSolution\V2\NfsShare\State::class);
$this->state = $var;
return $this;
} | Output only. The state of the NFS share.
Generated from protobuf field <code>.google.cloud.baremetalsolution.v2.NfsShare.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param int $var
@return $this | setState | php | googleapis/google-cloud-php | BareMetalSolution/src/V2/NfsShare.php | https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/NfsShare.php | Apache-2.0 |
public function getVolume()
{
return $this->volume;
} | Output only. The underlying volume of the share. Created automatically
during provisioning.
Generated from protobuf field <code>string volume = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {</code>
@return string | getVolume | php | googleapis/google-cloud-php | BareMetalSolution/src/V2/NfsShare.php | https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/NfsShare.php | Apache-2.0 |
public function setVolume($var)
{
GPBUtil::checkString($var, True);
$this->volume = $var;
return $this;
} | Output only. The underlying volume of the share. Created automatically
during provisioning.
Generated from protobuf field <code>string volume = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setVolume | php | googleapis/google-cloud-php | BareMetalSolution/src/V2/NfsShare.php | https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/NfsShare.php | Apache-2.0 |
public function getAllowedClients()
{
return $this->allowed_clients;
} | List of allowed access points.
Generated from protobuf field <code>repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;</code>
@return \Google\Protobuf\Internal\RepeatedField | getAllowedClients | php | googleapis/google-cloud-php | BareMetalSolution/src/V2/NfsShare.php | https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/NfsShare.php | Apache-2.0 |
public function setAllowedClients($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\BareMetalSolution\V2\NfsShare\AllowedClient::class);
$this->allowed_clients = $arr;
return $this;
} | List of allowed access points.
Generated from protobuf field <code>repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;</code>
@param array<\Google\Cloud\BareMetalSolution\V2\NfsShare\AllowedClient>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setAllowedClients | php | googleapis/google-cloud-php | BareMetalSolution/src/V2/NfsShare.php | https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/NfsShare.php | Apache-2.0 |
public function getLabels()
{
return $this->labels;
} | Labels as key value pairs.
Generated from protobuf field <code>map<string, string> labels = 6;</code>
@return \Google\Protobuf\Internal\MapField | getLabels | php | googleapis/google-cloud-php | BareMetalSolution/src/V2/NfsShare.php | https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/NfsShare.php | Apache-2.0 |
public function setLabels($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
$this->labels = $arr;
return $this;
} | Labels as key value pairs.
Generated from protobuf field <code>map<string, string> labels = 6;</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this | setLabels | php | googleapis/google-cloud-php | BareMetalSolution/src/V2/NfsShare.php | https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/NfsShare.php | Apache-2.0 |
public function getRequestedSizeGib()
{
return $this->requested_size_gib;
} | The requested size, in GiB.
Generated from protobuf field <code>int64 requested_size_gib = 7;</code>
@return int|string | getRequestedSizeGib | php | googleapis/google-cloud-php | BareMetalSolution/src/V2/NfsShare.php | https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/NfsShare.php | Apache-2.0 |
public function setRequestedSizeGib($var)
{
GPBUtil::checkInt64($var);
$this->requested_size_gib = $var;
return $this;
} | The requested size, in GiB.
Generated from protobuf field <code>int64 requested_size_gib = 7;</code>
@param int|string $var
@return $this | setRequestedSizeGib | php | googleapis/google-cloud-php | BareMetalSolution/src/V2/NfsShare.php | https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/NfsShare.php | Apache-2.0 |
public function getStorageType()
{
return $this->storage_type;
} | Immutable. The storage type of the underlying volume.
Generated from protobuf field <code>.google.cloud.baremetalsolution.v2.NfsShare.StorageType storage_type = 9 [(.google.api.field_behavior) = IMMUTABLE];</code>
@return int | getStorageType | php | googleapis/google-cloud-php | BareMetalSolution/src/V2/NfsShare.php | https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/NfsShare.php | Apache-2.0 |
public function setStorageType($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\BareMetalSolution\V2\NfsShare\StorageType::class);
$this->storage_type = $var;
return $this;
} | Immutable. The storage type of the underlying volume.
Generated from protobuf field <code>.google.cloud.baremetalsolution.v2.NfsShare.StorageType storage_type = 9 [(.google.api.field_behavior) = IMMUTABLE];</code>
@param int $var
@return $this | setStorageType | php | googleapis/google-cloud-php | BareMetalSolution/src/V2/NfsShare.php | https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/NfsShare.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | The name of the backup being created through the copy operation.
Values are of the form
`projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
Generated from protobuf field <code>string name = 1 [(.google.api.resource_reference) = {</code>
@return string | getName | php | googleapis/google-cloud-php | Bigtable/src/Admin/V2/CopyBackupMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/Admin/V2/CopyBackupMetadata.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | The name of the backup being created through the copy operation.
Values are of the form
`projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
Generated from protobuf field <code>string name = 1 [(.google.api.resource_reference) = {</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | Bigtable/src/Admin/V2/CopyBackupMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/Admin/V2/CopyBackupMetadata.php | Apache-2.0 |
public function getSourceBackupInfo()
{
return $this->source_backup_info;
} | Information about the source backup that is being copied from.
Generated from protobuf field <code>.google.bigtable.admin.v2.BackupInfo source_backup_info = 2;</code>
@return \Google\Cloud\Bigtable\Admin\V2\BackupInfo|null | getSourceBackupInfo | php | googleapis/google-cloud-php | Bigtable/src/Admin/V2/CopyBackupMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/Admin/V2/CopyBackupMetadata.php | Apache-2.0 |
public function setSourceBackupInfo($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\BackupInfo::class);
$this->source_backup_info = $var;
return $this;
} | Information about the source backup that is being copied from.
Generated from protobuf field <code>.google.bigtable.admin.v2.BackupInfo source_backup_info = 2;</code>
@param \Google\Cloud\Bigtable\Admin\V2\BackupInfo $var
@return $this | setSourceBackupInfo | php | googleapis/google-cloud-php | Bigtable/src/Admin/V2/CopyBackupMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/Admin/V2/CopyBackupMetadata.php | Apache-2.0 |
public function getProgress()
{
return $this->progress;
} | The progress of the
[CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
operation.
Generated from protobuf field <code>.google.bigtable.admin.v2.OperationProgress progress = 3;</code>
@return \Google\Cloud\Bigtable\Admin\V2\OperationProgress|null | getProgress | php | googleapis/google-cloud-php | Bigtable/src/Admin/V2/CopyBackupMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/Admin/V2/CopyBackupMetadata.php | Apache-2.0 |
public function setProgress($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Bigtable\Admin\V2\OperationProgress::class);
$this->progress = $var;
return $this;
} | The progress of the
[CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
operation.
Generated from protobuf field <code>.google.bigtable.admin.v2.OperationProgress progress = 3;</code>
@param \Google\Cloud\Bigtable\Admin\V2\OperationProgress $var
@return $this | setProgress | php | googleapis/google-cloud-php | Bigtable/src/Admin/V2/CopyBackupMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/Admin/V2/CopyBackupMetadata.php | Apache-2.0 |
public function getRisk()
{
return $this->risk;
} | Output only. Probability of this transaction being executed with a stolen
instrument. Values are from 0.0 (lowest) to 1.0 (highest).
Generated from protobuf field <code>float risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return float | getRisk | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/FraudPreventionAssessment/StolenInstrumentVerdict.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/FraudPreventionAssessment/StolenInstrumentVerdict.php | Apache-2.0 |
public function setRisk($var)
{
GPBUtil::checkFloat($var);
$this->risk = $var;
return $this;
} | Output only. Probability of this transaction being executed with a stolen
instrument. Values are from 0.0 (lowest) to 1.0 (highest).
Generated from protobuf field <code>float risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param float $var
@return $this | setRisk | php | googleapis/google-cloud-php | RecaptchaEnterprise/src/V1/FraudPreventionAssessment/StolenInstrumentVerdict.php | https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/FraudPreventionAssessment/StolenInstrumentVerdict.php | Apache-2.0 |
public function getValue()
{
return $this->value;
} | Required. The weight represented as a number. The weight can have a maximum
precision of four decimal places.
Generated from protobuf field <code>double value = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return float | getValue | php | googleapis/google-cloud-php | ShoppingCss/src/V1/ProductWeight.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingCss/src/V1/ProductWeight.php | Apache-2.0 |
public function setValue($var)
{
GPBUtil::checkDouble($var);
$this->value = $var;
return $this;
} | Required. The weight represented as a number. The weight can have a maximum
precision of four decimal places.
Generated from protobuf field <code>double value = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param float $var
@return $this | setValue | php | googleapis/google-cloud-php | ShoppingCss/src/V1/ProductWeight.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingCss/src/V1/ProductWeight.php | Apache-2.0 |
public function getUnit()
{
return $this->unit;
} | Required. The weight unit.
Acceptable values are:
* "`g`"
* "`kg`"
* "`oz`"
* "`lb`"
Generated from protobuf field <code>string unit = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getUnit | php | googleapis/google-cloud-php | ShoppingCss/src/V1/ProductWeight.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingCss/src/V1/ProductWeight.php | Apache-2.0 |
public function setUnit($var)
{
GPBUtil::checkString($var, True);
$this->unit = $var;
return $this;
} | Required. The weight unit.
Acceptable values are:
* "`g`"
* "`kg`"
* "`oz`"
* "`lb`"
Generated from protobuf field <code>string unit = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setUnit | php | googleapis/google-cloud-php | ShoppingCss/src/V1/ProductWeight.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingCss/src/V1/ProductWeight.php | Apache-2.0 |
public function getGlobalSetLabelsRequestResource()
{
return $this->global_set_labels_request_resource;
} | The body resource for this request
Generated from protobuf field <code>.google.cloud.compute.v1.GlobalSetLabelsRequest global_set_labels_request_resource = 319917189 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\Compute\V1\GlobalSetLabelsRequest|null | getGlobalSetLabelsRequestResource | php | googleapis/google-cloud-php | Compute/src/V1/SetLabelsExternalVpnGatewayRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetLabelsExternalVpnGatewayRequest.php | Apache-2.0 |
public function setGlobalSetLabelsRequestResource($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\GlobalSetLabelsRequest::class);
$this->global_set_labels_request_resource = $var;
return $this;
} | The body resource for this request
Generated from protobuf field <code>.google.cloud.compute.v1.GlobalSetLabelsRequest global_set_labels_request_resource = 319917189 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\Compute\V1\GlobalSetLabelsRequest $var
@return $this | setGlobalSetLabelsRequestResource | php | googleapis/google-cloud-php | Compute/src/V1/SetLabelsExternalVpnGatewayRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetLabelsExternalVpnGatewayRequest.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/SetLabelsExternalVpnGatewayRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetLabelsExternalVpnGatewayRequest.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/SetLabelsExternalVpnGatewayRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetLabelsExternalVpnGatewayRequest.php | Apache-2.0 |
public function getResource()
{
return $this->resource;
} | Name or id of the resource for this request.
Generated from protobuf field <code>string resource = 195806222 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getResource | php | googleapis/google-cloud-php | Compute/src/V1/SetLabelsExternalVpnGatewayRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetLabelsExternalVpnGatewayRequest.php | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.