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 getRepository() { return $this->repository; }
Required. The path to the container image repository. For example: `gcr.io/{project_id}/{image_name}` Generated from protobuf field <code>string repository = 1 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getRepository
php
googleapis/google-cloud-php
Notebooks/src/V1/ContainerImage.php
https://github.com/googleapis/google-cloud-php/blob/master/Notebooks/src/V1/ContainerImage.php
Apache-2.0
public function setRepository($var) { GPBUtil::checkString($var, True); $this->repository = $var; return $this; }
Required. The path to the container image repository. For example: `gcr.io/{project_id}/{image_name}` Generated from protobuf field <code>string repository = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setRepository
php
googleapis/google-cloud-php
Notebooks/src/V1/ContainerImage.php
https://github.com/googleapis/google-cloud-php/blob/master/Notebooks/src/V1/ContainerImage.php
Apache-2.0
public function getTag() { return $this->tag; }
The tag of the container image. If not specified, this defaults to the latest tag. Generated from protobuf field <code>string tag = 2;</code> @return string
getTag
php
googleapis/google-cloud-php
Notebooks/src/V1/ContainerImage.php
https://github.com/googleapis/google-cloud-php/blob/master/Notebooks/src/V1/ContainerImage.php
Apache-2.0
public function setTag($var) { GPBUtil::checkString($var, True); $this->tag = $var; return $this; }
The tag of the container image. If not specified, this defaults to the latest tag. Generated from protobuf field <code>string tag = 2;</code> @param string $var @return $this
setTag
php
googleapis/google-cloud-php
Notebooks/src/V1/ContainerImage.php
https://github.com/googleapis/google-cloud-php/blob/master/Notebooks/src/V1/ContainerImage.php
Apache-2.0
public function getTerraformVersions() { return $this->terraform_versions; }
List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s. Generated from protobuf field <code>repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getTerraformVersions
php
googleapis/google-cloud-php
Config/src/V1/ListTerraformVersionsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/ListTerraformVersionsResponse.php
Apache-2.0
public function setTerraformVersions($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Config\V1\TerraformVersion::class); $this->terraform_versions = $arr; return $this; }
List of [TerraformVersion][google.cloud.config.v1.TerraformVersion]s. Generated from protobuf field <code>repeated .google.cloud.config.v1.TerraformVersion terraform_versions = 1;</code> @param array<\Google\Cloud\Config\V1\TerraformVersion>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setTerraformVersions
php
googleapis/google-cloud-php
Config/src/V1/ListTerraformVersionsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/ListTerraformVersionsResponse.php
Apache-2.0
public function getNextPageToken() { return $this->next_page_token; }
Token to be supplied to the next ListTerraformVersions request via `page_token` to obtain the next set of results. Generated from protobuf field <code>string next_page_token = 2;</code> @return string
getNextPageToken
php
googleapis/google-cloud-php
Config/src/V1/ListTerraformVersionsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/ListTerraformVersionsResponse.php
Apache-2.0
public function setNextPageToken($var) { GPBUtil::checkString($var, True); $this->next_page_token = $var; return $this; }
Token to be supplied to the next ListTerraformVersions request via `page_token` to obtain the next set of results. Generated from protobuf field <code>string next_page_token = 2;</code> @param string $var @return $this
setNextPageToken
php
googleapis/google-cloud-php
Config/src/V1/ListTerraformVersionsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/ListTerraformVersionsResponse.php
Apache-2.0
public function getUnreachable() { return $this->unreachable; }
Unreachable resources, if any. Generated from protobuf field <code>repeated string unreachable = 3;</code> @return \Google\Protobuf\Internal\RepeatedField
getUnreachable
php
googleapis/google-cloud-php
Config/src/V1/ListTerraformVersionsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/ListTerraformVersionsResponse.php
Apache-2.0
public function setUnreachable($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->unreachable = $arr; return $this; }
Unreachable resources, if any. Generated from protobuf field <code>repeated string unreachable = 3;</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setUnreachable
php
googleapis/google-cloud-php
Config/src/V1/ListTerraformVersionsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/ListTerraformVersionsResponse.php
Apache-2.0
public function getKey() { return $this->key; }
The key for this facet. E.g., "colorFamilies" or "price" or "attributes.attr1". Generated from protobuf field <code>string key = 1;</code> @return string
getKey
php
googleapis/google-cloud-php
Retail/src/V2/SearchResponse/Facet.php
https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/SearchResponse/Facet.php
Apache-2.0
public function setKey($var) { GPBUtil::checkString($var, True); $this->key = $var; return $this; }
The key for this facet. E.g., "colorFamilies" or "price" or "attributes.attr1". Generated from protobuf field <code>string key = 1;</code> @param string $var @return $this
setKey
php
googleapis/google-cloud-php
Retail/src/V2/SearchResponse/Facet.php
https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/SearchResponse/Facet.php
Apache-2.0
public function getValues() { return $this->values; }
The facet values for this field. Generated from protobuf field <code>repeated .google.cloud.retail.v2.SearchResponse.Facet.FacetValue values = 2;</code> @return \Google\Protobuf\Internal\RepeatedField
getValues
php
googleapis/google-cloud-php
Retail/src/V2/SearchResponse/Facet.php
https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/SearchResponse/Facet.php
Apache-2.0
public function setValues($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Retail\V2\SearchResponse\Facet\FacetValue::class); $this->values = $arr; return $this; }
The facet values for this field. Generated from protobuf field <code>repeated .google.cloud.retail.v2.SearchResponse.Facet.FacetValue values = 2;</code> @param array<\Google\Cloud\Retail\V2\SearchResponse\Facet\FacetValue>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setValues
php
googleapis/google-cloud-php
Retail/src/V2/SearchResponse/Facet.php
https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/SearchResponse/Facet.php
Apache-2.0
public function getDynamicFacet() { return $this->dynamic_facet; }
Whether the facet is dynamically generated. Generated from protobuf field <code>bool dynamic_facet = 3;</code> @return bool
getDynamicFacet
php
googleapis/google-cloud-php
Retail/src/V2/SearchResponse/Facet.php
https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/SearchResponse/Facet.php
Apache-2.0
public function setDynamicFacet($var) { GPBUtil::checkBool($var); $this->dynamic_facet = $var; return $this; }
Whether the facet is dynamically generated. Generated from protobuf field <code>bool dynamic_facet = 3;</code> @param bool $var @return $this
setDynamicFacet
php
googleapis/google-cloud-php
Retail/src/V2/SearchResponse/Facet.php
https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/SearchResponse/Facet.php
Apache-2.0
public function getActiveDaysLowerBound() { return $this->active_days_lower_bound; }
Output only. This user (based on email, phone, and other identifiers) has been seen on the internet for at least this number of days. Generated from protobuf field <code>int32 active_days_lower_bound = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return int
getActiveDaysLowerBound
php
googleapis/google-cloud-php
RecaptchaEnterprise/src/V1/FraudSignals/UserSignals.php
https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/FraudSignals/UserSignals.php
Apache-2.0
public function setActiveDaysLowerBound($var) { GPBUtil::checkInt32($var); $this->active_days_lower_bound = $var; return $this; }
Output only. This user (based on email, phone, and other identifiers) has been seen on the internet for at least this number of days. Generated from protobuf field <code>int32 active_days_lower_bound = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param int $var @return $this
setActiveDaysLowerBound
php
googleapis/google-cloud-php
RecaptchaEnterprise/src/V1/FraudSignals/UserSignals.php
https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/FraudSignals/UserSignals.php
Apache-2.0
public function getSyntheticRisk() { return $this->synthetic_risk; }
Output only. Likelihood (from 0.0 to 1.0) this user includes synthetic components in their identity, such as a randomly generated email address, temporary phone number, or fake shipping address. Generated from protobuf field <code>float synthetic_risk = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return float
getSyntheticRisk
php
googleapis/google-cloud-php
RecaptchaEnterprise/src/V1/FraudSignals/UserSignals.php
https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/FraudSignals/UserSignals.php
Apache-2.0
public function setSyntheticRisk($var) { GPBUtil::checkFloat($var); $this->synthetic_risk = $var; return $this; }
Output only. Likelihood (from 0.0 to 1.0) this user includes synthetic components in their identity, such as a randomly generated email address, temporary phone number, or fake shipping address. Generated from protobuf field <code>float synthetic_risk = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param float $var @return $this
setSyntheticRisk
php
googleapis/google-cloud-php
RecaptchaEnterprise/src/V1/FraudSignals/UserSignals.php
https://github.com/googleapis/google-cloud-php/blob/master/RecaptchaEnterprise/src/V1/FraudSignals/UserSignals.php
Apache-2.0
public function getEnableEachUniqueValue() { return isset($this->enable_each_unique_value) ? $this->enable_each_unique_value : false; }
If enabled, traffic matching each unique value for the specified type constitutes a separate traffic unit. It can only be set to true if `value` is empty. Generated from protobuf field <code>optional bool enable_each_unique_value = 469206341;</code> @return bool
getEnableEachUniqueValue
php
googleapis/google-cloud-php
Compute/src/V1/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig.php
Apache-2.0
public function setEnableEachUniqueValue($var) { GPBUtil::checkBool($var); $this->enable_each_unique_value = $var; return $this; }
If enabled, traffic matching each unique value for the specified type constitutes a separate traffic unit. It can only be set to true if `value` is empty. Generated from protobuf field <code>optional bool enable_each_unique_value = 469206341;</code> @param bool $var @return $this
setEnableEachUniqueValue
php
googleapis/google-cloud-php
Compute/src/V1/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig.php
Apache-2.0
public function getType() { return isset($this->type) ? $this->type : ''; }
Type of this configuration. Check the Type enum for the list of possible values. Generated from protobuf field <code>optional string type = 3575610;</code> @return string
getType
php
googleapis/google-cloud-php
Compute/src/V1/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig.php
Apache-2.0
public function setType($var) { GPBUtil::checkString($var, True); $this->type = $var; return $this; }
Type of this configuration. Check the Type enum for the list of possible values. Generated from protobuf field <code>optional string type = 3575610;</code> @param string $var @return $this
setType
php
googleapis/google-cloud-php
Compute/src/V1/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig.php
Apache-2.0
public function getValue() { return isset($this->value) ? $this->value : ''; }
Requests that match this value constitute a granular traffic unit. Generated from protobuf field <code>optional string value = 111972721;</code> @return string
getValue
php
googleapis/google-cloud-php
Compute/src/V1/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig.php
Apache-2.0
public function setValue($var) { GPBUtil::checkString($var, True); $this->value = $var; return $this; }
Requests that match this value constitute a granular traffic unit. Generated from protobuf field <code>optional string value = 111972721;</code> @param string $var @return $this
setValue
php
googleapis/google-cloud-php
Compute/src/V1/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig.php
Apache-2.0
public function getParent() { return $this->parent; }
Required. The resource name of the private cloud to create a new Logging Server in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` 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
VmwareEngine/src/V1/CreateLoggingServerRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/VmwareEngine/src/V1/CreateLoggingServerRequest.php
Apache-2.0
public function setParent($var) { GPBUtil::checkString($var, True); $this->parent = $var; return $this; }
Required. The resource name of the private cloud to create a new Logging Server in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` 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
VmwareEngine/src/V1/CreateLoggingServerRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/VmwareEngine/src/V1/CreateLoggingServerRequest.php
Apache-2.0
public function getLoggingServer() { return $this->logging_server; }
Required. The initial description of a new logging server. Generated from protobuf field <code>.google.cloud.vmwareengine.v1.LoggingServer logging_server = 2 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Cloud\VmwareEngine\V1\LoggingServer|null
getLoggingServer
php
googleapis/google-cloud-php
VmwareEngine/src/V1/CreateLoggingServerRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/VmwareEngine/src/V1/CreateLoggingServerRequest.php
Apache-2.0
public function setLoggingServer($var) { GPBUtil::checkMessage($var, \Google\Cloud\VmwareEngine\V1\LoggingServer::class); $this->logging_server = $var; return $this; }
Required. The initial description of a new logging server. Generated from protobuf field <code>.google.cloud.vmwareengine.v1.LoggingServer logging_server = 2 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\VmwareEngine\V1\LoggingServer $var @return $this
setLoggingServer
php
googleapis/google-cloud-php
VmwareEngine/src/V1/CreateLoggingServerRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/VmwareEngine/src/V1/CreateLoggingServerRequest.php
Apache-2.0
public function getLoggingServerId() { return $this->logging_server_id; }
Required. The user-provided identifier of the `LoggingServer` to be created. This identifier must be unique among `LoggingServer` resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) Generated from protobuf field <code>string logging_server_id = 3 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getLoggingServerId
php
googleapis/google-cloud-php
VmwareEngine/src/V1/CreateLoggingServerRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/VmwareEngine/src/V1/CreateLoggingServerRequest.php
Apache-2.0
public function setLoggingServerId($var) { GPBUtil::checkString($var, True); $this->logging_server_id = $var; return $this; }
Required. The user-provided identifier of the `LoggingServer` to be created. This identifier must be unique among `LoggingServer` resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) Generated from protobuf field <code>string logging_server_id = 3 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setLoggingServerId
php
googleapis/google-cloud-php
VmwareEngine/src/V1/CreateLoggingServerRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/VmwareEngine/src/V1/CreateLoggingServerRequest.php
Apache-2.0
public function getRequestId() { return $this->request_id; }
Optional. A 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 guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. 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 = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getRequestId
php
googleapis/google-cloud-php
VmwareEngine/src/V1/CreateLoggingServerRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/VmwareEngine/src/V1/CreateLoggingServerRequest.php
Apache-2.0
public function setRequestId($var) { GPBUtil::checkString($var, True); $this->request_id = $var; return $this; }
Optional. A 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 guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. 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 = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setRequestId
php
googleapis/google-cloud-php
VmwareEngine/src/V1/CreateLoggingServerRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/VmwareEngine/src/V1/CreateLoggingServerRequest.php
Apache-2.0
public function getFilter() { return $this->filter; }
Required. An expression for filtering the results of the request. Fields eligible for filtering are: `parent:`(The resource name of the parent account/property) or `ancestor:`(The resource name of the parent account) or `firebase_project:`(The id or number of the linked firebase project). Some examples of filters: ``` | Filter | Description | |-----------------------------|-------------------------------------------| | parent:accounts/123 | The account with account id: 123. | | parent:properties/123 | The property with property id: 123. | | ancestor:accounts/123 | The account with account id: 123. | | firebase_project:project-id | The firebase project with id: project-id. | | firebase_project:123 | The firebase project with number: 123. | ``` Generated from protobuf field <code>string filter = 1 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getFilter
php
googleapis/google-cloud-php
AnalyticsAdmin/src/V1beta/ListPropertiesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1beta/ListPropertiesRequest.php
Apache-2.0
public function setFilter($var) { GPBUtil::checkString($var, True); $this->filter = $var; return $this; }
Required. An expression for filtering the results of the request. Fields eligible for filtering are: `parent:`(The resource name of the parent account/property) or `ancestor:`(The resource name of the parent account) or `firebase_project:`(The id or number of the linked firebase project). Some examples of filters: ``` | Filter | Description | |-----------------------------|-------------------------------------------| | parent:accounts/123 | The account with account id: 123. | | parent:properties/123 | The property with property id: 123. | | ancestor:accounts/123 | The account with account id: 123. | | firebase_project:project-id | The firebase project with id: project-id. | | firebase_project:123 | The firebase project with number: 123. | ``` Generated from protobuf field <code>string filter = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setFilter
php
googleapis/google-cloud-php
AnalyticsAdmin/src/V1beta/ListPropertiesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1beta/ListPropertiesRequest.php
Apache-2.0
public function getPageSize() { return $this->page_size; }
The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) Generated from protobuf field <code>int32 page_size = 2;</code> @return int
getPageSize
php
googleapis/google-cloud-php
AnalyticsAdmin/src/V1beta/ListPropertiesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1beta/ListPropertiesRequest.php
Apache-2.0
public function setPageSize($var) { GPBUtil::checkInt32($var); $this->page_size = $var; return $this; }
The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) Generated from protobuf field <code>int32 page_size = 2;</code> @param int $var @return $this
setPageSize
php
googleapis/google-cloud-php
AnalyticsAdmin/src/V1beta/ListPropertiesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1beta/ListPropertiesRequest.php
Apache-2.0
public function getPageToken() { return $this->page_token; }
A page token, received from a previous `ListProperties` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListProperties` must match the call that provided the page token. Generated from protobuf field <code>string page_token = 3;</code> @return string
getPageToken
php
googleapis/google-cloud-php
AnalyticsAdmin/src/V1beta/ListPropertiesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1beta/ListPropertiesRequest.php
Apache-2.0
public function setPageToken($var) { GPBUtil::checkString($var, True); $this->page_token = $var; return $this; }
A page token, received from a previous `ListProperties` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListProperties` must match the call that provided the page token. Generated from protobuf field <code>string page_token = 3;</code> @param string $var @return $this
setPageToken
php
googleapis/google-cloud-php
AnalyticsAdmin/src/V1beta/ListPropertiesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1beta/ListPropertiesRequest.php
Apache-2.0
public function getShowDeleted() { return $this->show_deleted; }
Whether to include soft-deleted (ie: "trashed") Properties in the results. Properties can be inspected to determine whether they are deleted or not. Generated from protobuf field <code>bool show_deleted = 4;</code> @return bool
getShowDeleted
php
googleapis/google-cloud-php
AnalyticsAdmin/src/V1beta/ListPropertiesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1beta/ListPropertiesRequest.php
Apache-2.0
public function setShowDeleted($var) { GPBUtil::checkBool($var); $this->show_deleted = $var; return $this; }
Whether to include soft-deleted (ie: "trashed") Properties in the results. Properties can be inspected to determine whether they are deleted or not. Generated from protobuf field <code>bool show_deleted = 4;</code> @param bool $var @return $this
setShowDeleted
php
googleapis/google-cloud-php
AnalyticsAdmin/src/V1beta/ListPropertiesRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1beta/ListPropertiesRequest.php
Apache-2.0
public function getName() { return $this->name; }
Required. The instance resource name, in the format `projects/{project_id}/locations/{location}/instances/{instance_id}`. 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
Filestore/src/V1/GetInstanceRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Filestore/src/V1/GetInstanceRequest.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Required. The instance resource name, in the format `projects/{project_id}/locations/{location}/instances/{instance_id}`. 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
Filestore/src/V1/GetInstanceRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Filestore/src/V1/GetInstanceRequest.php
Apache-2.0
public function getCondition() { return $this->condition; }
Optional. An expression which specifies a boost condition. The syntax and supported fields are the same as a filter expression. Examples: * To boost documents with document ID "doc_1" or "doc_2", and color "Red" or "Blue": * (id: ANY("doc_1", "doc_2")) AND (color: ANY("Red","Blue")) Generated from protobuf field <code>string condition = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getCondition
php
googleapis/google-cloud-php
Dialogflow/src/V2/SearchKnowledgeRequest/SearchConfig/BoostSpecs/BoostSpec/ConditionBoostSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SearchKnowledgeRequest/SearchConfig/BoostSpecs/BoostSpec/ConditionBoostSpec.php
Apache-2.0
public function setCondition($var) { GPBUtil::checkString($var, True); $this->condition = $var; return $this; }
Optional. An expression which specifies a boost condition. The syntax and supported fields are the same as a filter expression. Examples: * To boost documents with document ID "doc_1" or "doc_2", and color "Red" or "Blue": * (id: ANY("doc_1", "doc_2")) AND (color: ANY("Red","Blue")) Generated from protobuf field <code>string condition = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setCondition
php
googleapis/google-cloud-php
Dialogflow/src/V2/SearchKnowledgeRequest/SearchConfig/BoostSpecs/BoostSpec/ConditionBoostSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SearchKnowledgeRequest/SearchConfig/BoostSpecs/BoostSpec/ConditionBoostSpec.php
Apache-2.0
public function getBoost() { return $this->boost; }
Optional. Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the document a big promotion. However, it does not necessarily mean that the boosted document will be the top result at all times, nor that other documents will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant documents. Setting to -1.0 gives the document a big demotion. However, results that are deeply relevant might still be shown. The document will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored. Generated from protobuf field <code>float boost = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @return float
getBoost
php
googleapis/google-cloud-php
Dialogflow/src/V2/SearchKnowledgeRequest/SearchConfig/BoostSpecs/BoostSpec/ConditionBoostSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SearchKnowledgeRequest/SearchConfig/BoostSpecs/BoostSpec/ConditionBoostSpec.php
Apache-2.0
public function setBoost($var) { GPBUtil::checkFloat($var); $this->boost = $var; return $this; }
Optional. Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the document a big promotion. However, it does not necessarily mean that the boosted document will be the top result at all times, nor that other documents will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant documents. Setting to -1.0 gives the document a big demotion. However, results that are deeply relevant might still be shown. The document will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored. Generated from protobuf field <code>float boost = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @param float $var @return $this
setBoost
php
googleapis/google-cloud-php
Dialogflow/src/V2/SearchKnowledgeRequest/SearchConfig/BoostSpecs/BoostSpec/ConditionBoostSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SearchKnowledgeRequest/SearchConfig/BoostSpecs/BoostSpec/ConditionBoostSpec.php
Apache-2.0
public function getBoostControlSpec() { return $this->boost_control_spec; }
Optional. Complex specification for custom ranking based on customer defined attribute value. Generated from protobuf field <code>.google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec.BoostControlSpec boost_control_spec = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Cloud\Dialogflow\V2\SearchKnowledgeRequest\SearchConfig\BoostSpecs\BoostSpec\ConditionBoostSpec\BoostControlSpec|null
getBoostControlSpec
php
googleapis/google-cloud-php
Dialogflow/src/V2/SearchKnowledgeRequest/SearchConfig/BoostSpecs/BoostSpec/ConditionBoostSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SearchKnowledgeRequest/SearchConfig/BoostSpecs/BoostSpec/ConditionBoostSpec.php
Apache-2.0
public function setBoostControlSpec($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\SearchKnowledgeRequest\SearchConfig\BoostSpecs\BoostSpec\ConditionBoostSpec\BoostControlSpec::class); $this->boost_control_spec = $var; return $this; }
Optional. Complex specification for custom ranking based on customer defined attribute value. Generated from protobuf field <code>.google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig.BoostSpecs.BoostSpec.ConditionBoostSpec.BoostControlSpec boost_control_spec = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @param \Google\Cloud\Dialogflow\V2\SearchKnowledgeRequest\SearchConfig\BoostSpecs\BoostSpec\ConditionBoostSpec\BoostControlSpec $var @return $this
setBoostControlSpec
php
googleapis/google-cloud-php
Dialogflow/src/V2/SearchKnowledgeRequest/SearchConfig/BoostSpecs/BoostSpec/ConditionBoostSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SearchKnowledgeRequest/SearchConfig/BoostSpecs/BoostSpec/ConditionBoostSpec.php
Apache-2.0
public function getProcessorTypes() { return $this->processor_types; }
The processor types. Generated from protobuf field <code>repeated .google.cloud.documentai.v1.ProcessorType processor_types = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getProcessorTypes
php
googleapis/google-cloud-php
DocumentAi/src/V1/ListProcessorTypesResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/DocumentAi/src/V1/ListProcessorTypesResponse.php
Apache-2.0
public function setProcessorTypes($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\DocumentAI\V1\ProcessorType::class); $this->processor_types = $arr; return $this; }
The processor types. Generated from protobuf field <code>repeated .google.cloud.documentai.v1.ProcessorType processor_types = 1;</code> @param array<\Google\Cloud\DocumentAI\V1\ProcessorType>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setProcessorTypes
php
googleapis/google-cloud-php
DocumentAi/src/V1/ListProcessorTypesResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/DocumentAi/src/V1/ListProcessorTypesResponse.php
Apache-2.0
public function getNextPageToken() { return $this->next_page_token; }
Points to the next page, otherwise empty. Generated from protobuf field <code>string next_page_token = 2;</code> @return string
getNextPageToken
php
googleapis/google-cloud-php
DocumentAi/src/V1/ListProcessorTypesResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/DocumentAi/src/V1/ListProcessorTypesResponse.php
Apache-2.0
public function setNextPageToken($var) { GPBUtil::checkString($var, True); $this->next_page_token = $var; return $this; }
Points to the next page, otherwise empty. Generated from protobuf field <code>string next_page_token = 2;</code> @param string $var @return $this
setNextPageToken
php
googleapis/google-cloud-php
DocumentAi/src/V1/ListProcessorTypesResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/DocumentAi/src/V1/ListProcessorTypesResponse.php
Apache-2.0
public function getUrl() { return $this->url; }
Git repository URL. Generated from protobuf field <code>string url = 1;</code> @return string
getUrl
php
googleapis/google-cloud-php
CloudCommonProtos/src/DevTools/Source/V1/GitSourceContext.php
https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/DevTools/Source/V1/GitSourceContext.php
Apache-2.0
public function setUrl($var) { GPBUtil::checkString($var, True); $this->url = $var; return $this; }
Git repository URL. Generated from protobuf field <code>string url = 1;</code> @param string $var @return $this
setUrl
php
googleapis/google-cloud-php
CloudCommonProtos/src/DevTools/Source/V1/GitSourceContext.php
https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/DevTools/Source/V1/GitSourceContext.php
Apache-2.0
public function getRevisionId() { return $this->revision_id; }
Git commit hash. required. Generated from protobuf field <code>string revision_id = 2;</code> @return string
getRevisionId
php
googleapis/google-cloud-php
CloudCommonProtos/src/DevTools/Source/V1/GitSourceContext.php
https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/DevTools/Source/V1/GitSourceContext.php
Apache-2.0
public function setRevisionId($var) { GPBUtil::checkString($var, True); $this->revision_id = $var; return $this; }
Git commit hash. required. Generated from protobuf field <code>string revision_id = 2;</code> @param string $var @return $this
setRevisionId
php
googleapis/google-cloud-php
CloudCommonProtos/src/DevTools/Source/V1/GitSourceContext.php
https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/DevTools/Source/V1/GitSourceContext.php
Apache-2.0
public function getSpeechModelVariant() { return $this->speech_model_variant; }
The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in [AnalyzeContentRequest][google.cloud.dialogflow.v2.AnalyzeContentRequest] and [StreamingAnalyzeContentRequest][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest] request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error. Generated from protobuf field <code>.google.cloud.dialogflow.v2.SpeechModelVariant speech_model_variant = 1;</code> @return int
getSpeechModelVariant
php
googleapis/google-cloud-php
Dialogflow/src/V2/SpeechToTextConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SpeechToTextConfig.php
Apache-2.0
public function setSpeechModelVariant($var) { GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\SpeechModelVariant::class); $this->speech_model_variant = $var; return $this; }
The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in [AnalyzeContentRequest][google.cloud.dialogflow.v2.AnalyzeContentRequest] and [StreamingAnalyzeContentRequest][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest] request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error. Generated from protobuf field <code>.google.cloud.dialogflow.v2.SpeechModelVariant speech_model_variant = 1;</code> @param int $var @return $this
setSpeechModelVariant
php
googleapis/google-cloud-php
Dialogflow/src/V2/SpeechToTextConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SpeechToTextConfig.php
Apache-2.0
public function getModel() { return $this->model; }
Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then Dialogflow auto-selects a model based on other parameters in the SpeechToTextConfig and Agent settings. If enhanced speech model is enabled for the agent and an enhanced version of the specified model for the language does not exist, then the speech is recognized using the standard version of the specified model. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details. If you specify a model, the following models typically have the best performance: - phone_call (best for Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony) - command_and_search Leave this field unspecified to use [Agent Speech settings](https://cloud.google.com/dialogflow/cx/docs/concept/agent#settings-speech) for model selection. Generated from protobuf field <code>string model = 2;</code> @return string
getModel
php
googleapis/google-cloud-php
Dialogflow/src/V2/SpeechToTextConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SpeechToTextConfig.php
Apache-2.0
public function setModel($var) { GPBUtil::checkString($var, True); $this->model = $var; return $this; }
Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then Dialogflow auto-selects a model based on other parameters in the SpeechToTextConfig and Agent settings. If enhanced speech model is enabled for the agent and an enhanced version of the specified model for the language does not exist, then the speech is recognized using the standard version of the specified model. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details. If you specify a model, the following models typically have the best performance: - phone_call (best for Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony) - command_and_search Leave this field unspecified to use [Agent Speech settings](https://cloud.google.com/dialogflow/cx/docs/concept/agent#settings-speech) for model selection. Generated from protobuf field <code>string model = 2;</code> @param string $var @return $this
setModel
php
googleapis/google-cloud-php
Dialogflow/src/V2/SpeechToTextConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SpeechToTextConfig.php
Apache-2.0
public function getPhraseSets() { return $this->phrase_sets; }
List of names of Cloud Speech phrase sets that are used for transcription. For phrase set limitations, please refer to [Cloud Speech API quotas and limits](https://cloud.google.com/speech-to-text/quotas#content). Generated from protobuf field <code>repeated string phrase_sets = 4 [(.google.api.resource_reference) = {</code> @return \Google\Protobuf\Internal\RepeatedField
getPhraseSets
php
googleapis/google-cloud-php
Dialogflow/src/V2/SpeechToTextConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SpeechToTextConfig.php
Apache-2.0
public function setPhraseSets($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->phrase_sets = $arr; return $this; }
List of names of Cloud Speech phrase sets that are used for transcription. For phrase set limitations, please refer to [Cloud Speech API quotas and limits](https://cloud.google.com/speech-to-text/quotas#content). Generated from protobuf field <code>repeated string phrase_sets = 4 [(.google.api.resource_reference) = {</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setPhraseSets
php
googleapis/google-cloud-php
Dialogflow/src/V2/SpeechToTextConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SpeechToTextConfig.php
Apache-2.0
public function getAudioEncoding() { return $this->audio_encoding; }
Audio encoding of the audio content to process. Generated from protobuf field <code>.google.cloud.dialogflow.v2.AudioEncoding audio_encoding = 6;</code> @return int
getAudioEncoding
php
googleapis/google-cloud-php
Dialogflow/src/V2/SpeechToTextConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SpeechToTextConfig.php
Apache-2.0
public function setAudioEncoding($var) { GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\AudioEncoding::class); $this->audio_encoding = $var; return $this; }
Audio encoding of the audio content to process. Generated from protobuf field <code>.google.cloud.dialogflow.v2.AudioEncoding audio_encoding = 6;</code> @param int $var @return $this
setAudioEncoding
php
googleapis/google-cloud-php
Dialogflow/src/V2/SpeechToTextConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SpeechToTextConfig.php
Apache-2.0
public function getSampleRateHertz() { return $this->sample_rate_hertz; }
Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details. Generated from protobuf field <code>int32 sample_rate_hertz = 7;</code> @return int
getSampleRateHertz
php
googleapis/google-cloud-php
Dialogflow/src/V2/SpeechToTextConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SpeechToTextConfig.php
Apache-2.0
public function setSampleRateHertz($var) { GPBUtil::checkInt32($var); $this->sample_rate_hertz = $var; return $this; }
Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details. Generated from protobuf field <code>int32 sample_rate_hertz = 7;</code> @param int $var @return $this
setSampleRateHertz
php
googleapis/google-cloud-php
Dialogflow/src/V2/SpeechToTextConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SpeechToTextConfig.php
Apache-2.0
public function getLanguageCode() { return $this->language_code; }
The language of the supplied audio. Dialogflow does not do translations. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language. Generated from protobuf field <code>string language_code = 8;</code> @return string
getLanguageCode
php
googleapis/google-cloud-php
Dialogflow/src/V2/SpeechToTextConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SpeechToTextConfig.php
Apache-2.0
public function setLanguageCode($var) { GPBUtil::checkString($var, True); $this->language_code = $var; return $this; }
The language of the supplied audio. Dialogflow does not do translations. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language. Generated from protobuf field <code>string language_code = 8;</code> @param string $var @return $this
setLanguageCode
php
googleapis/google-cloud-php
Dialogflow/src/V2/SpeechToTextConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SpeechToTextConfig.php
Apache-2.0
public function getEnableWordInfo() { return $this->enable_word_info; }
If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2.SpeechWordInfo] in [StreamingRecognitionResult][google.cloud.dialogflow.v2.StreamingRecognitionResult] with information about the recognized speech words, e.g. start and end time offsets. If false or unspecified, Speech doesn't return any word-level information. Generated from protobuf field <code>bool enable_word_info = 9;</code> @return bool
getEnableWordInfo
php
googleapis/google-cloud-php
Dialogflow/src/V2/SpeechToTextConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SpeechToTextConfig.php
Apache-2.0
public function setEnableWordInfo($var) { GPBUtil::checkBool($var); $this->enable_word_info = $var; return $this; }
If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2.SpeechWordInfo] in [StreamingRecognitionResult][google.cloud.dialogflow.v2.StreamingRecognitionResult] with information about the recognized speech words, e.g. start and end time offsets. If false or unspecified, Speech doesn't return any word-level information. Generated from protobuf field <code>bool enable_word_info = 9;</code> @param bool $var @return $this
setEnableWordInfo
php
googleapis/google-cloud-php
Dialogflow/src/V2/SpeechToTextConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SpeechToTextConfig.php
Apache-2.0
public function getUseTimeoutBasedEndpointing() { return $this->use_timeout_based_endpointing; }
Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value. Generated from protobuf field <code>bool use_timeout_based_endpointing = 11;</code> @return bool
getUseTimeoutBasedEndpointing
php
googleapis/google-cloud-php
Dialogflow/src/V2/SpeechToTextConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SpeechToTextConfig.php
Apache-2.0
public function setUseTimeoutBasedEndpointing($var) { GPBUtil::checkBool($var); $this->use_timeout_based_endpointing = $var; return $this; }
Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value. Generated from protobuf field <code>bool use_timeout_based_endpointing = 11;</code> @param bool $var @return $this
setUseTimeoutBasedEndpointing
php
googleapis/google-cloud-php
Dialogflow/src/V2/SpeechToTextConfig.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/SpeechToTextConfig.php
Apache-2.0
public function getServiceName() { return $this->service_name; }
The URL of a BackendService to route traffic to. Generated from protobuf field <code>string service_name = 1 [(.google.api.resource_reference) = {</code> @return string
getServiceName
php
googleapis/google-cloud-php
NetworkServices/src/V1/HttpRoute/Destination.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkServices/src/V1/HttpRoute/Destination.php
Apache-2.0
public function setServiceName($var) { GPBUtil::checkString($var, True); $this->service_name = $var; return $this; }
The URL of a BackendService to route traffic to. Generated from protobuf field <code>string service_name = 1 [(.google.api.resource_reference) = {</code> @param string $var @return $this
setServiceName
php
googleapis/google-cloud-php
NetworkServices/src/V1/HttpRoute/Destination.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkServices/src/V1/HttpRoute/Destination.php
Apache-2.0
public function getWeight() { return $this->weight; }
Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them. Generated from protobuf field <code>int32 weight = 2;</code> @return int
getWeight
php
googleapis/google-cloud-php
NetworkServices/src/V1/HttpRoute/Destination.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkServices/src/V1/HttpRoute/Destination.php
Apache-2.0
public function setWeight($var) { GPBUtil::checkInt32($var); $this->weight = $var; return $this; }
Specifies the proportion of requests forwarded to the backend referenced by the serviceName field. This is computed as: - weight/Sum(weights in this destination list). For non-zero values, there may be some epsilon from the exact proportion defined here depending on the precision an implementation supports. If only one serviceName is specified and it has a weight greater than 0, 100% of the traffic is forwarded to that backend. If weights are specified for any one service name, they need to be specified for all of them. If weights are unspecified for all services, then, traffic is distributed in equal proportions to all of them. Generated from protobuf field <code>int32 weight = 2;</code> @param int $var @return $this
setWeight
php
googleapis/google-cloud-php
NetworkServices/src/V1/HttpRoute/Destination.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkServices/src/V1/HttpRoute/Destination.php
Apache-2.0
public function getEnableSpeechAdaptation() { return $this->enable_speech_adaptation; }
Whether to use speech adaptation for speech recognition. Generated from protobuf field <code>bool enable_speech_adaptation = 1;</code> @return bool
getEnableSpeechAdaptation
php
googleapis/google-cloud-php
DialogflowCx/src/V3/SpeechToTextSettings.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/SpeechToTextSettings.php
Apache-2.0
public function setEnableSpeechAdaptation($var) { GPBUtil::checkBool($var); $this->enable_speech_adaptation = $var; return $this; }
Whether to use speech adaptation for speech recognition. Generated from protobuf field <code>bool enable_speech_adaptation = 1;</code> @param bool $var @return $this
setEnableSpeechAdaptation
php
googleapis/google-cloud-php
DialogflowCx/src/V3/SpeechToTextSettings.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/SpeechToTextSettings.php
Apache-2.0
public function getParent() { return $this->parent; }
Required. The resource name of the Location to list the HyperparameterTuningJobs from. Format: `projects/{project}/locations/{location}` 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
AiPlatform/src/V1/ListHyperparameterTuningJobsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ListHyperparameterTuningJobsRequest.php
Apache-2.0
public function setParent($var) { GPBUtil::checkString($var, True); $this->parent = $var; return $this; }
Required. The resource name of the Location to list the HyperparameterTuningJobs from. Format: `projects/{project}/locations/{location}` 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
AiPlatform/src/V1/ListHyperparameterTuningJobsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ListHyperparameterTuningJobsRequest.php
Apache-2.0
public function getFilter() { return $this->filter; }
The standard list filter. Supported fields: * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. * `state` supports `=`, `!=` comparisons. * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format. * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* - key existence Some examples of using the filter are: * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * `NOT display_name="my_job"` * `create_time>"2021-05-18T00:00:00Z"` * `labels.keyA=valueA` * `labels.keyB:*` Generated from protobuf field <code>string filter = 2;</code> @return string
getFilter
php
googleapis/google-cloud-php
AiPlatform/src/V1/ListHyperparameterTuningJobsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ListHyperparameterTuningJobsRequest.php
Apache-2.0
public function setFilter($var) { GPBUtil::checkString($var, True); $this->filter = $var; return $this; }
The standard list filter. Supported fields: * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. * `state` supports `=`, `!=` comparisons. * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in RFC 3339 format. * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* - key existence Some examples of using the filter are: * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * `NOT display_name="my_job"` * `create_time>"2021-05-18T00:00:00Z"` * `labels.keyA=valueA` * `labels.keyB:*` Generated from protobuf field <code>string filter = 2;</code> @param string $var @return $this
setFilter
php
googleapis/google-cloud-php
AiPlatform/src/V1/ListHyperparameterTuningJobsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ListHyperparameterTuningJobsRequest.php
Apache-2.0
public function getPageSize() { return $this->page_size; }
The standard list page size. Generated from protobuf field <code>int32 page_size = 3;</code> @return int
getPageSize
php
googleapis/google-cloud-php
AiPlatform/src/V1/ListHyperparameterTuningJobsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ListHyperparameterTuningJobsRequest.php
Apache-2.0
public function setPageSize($var) { GPBUtil::checkInt32($var); $this->page_size = $var; return $this; }
The standard list page size. Generated from protobuf field <code>int32 page_size = 3;</code> @param int $var @return $this
setPageSize
php
googleapis/google-cloud-php
AiPlatform/src/V1/ListHyperparameterTuningJobsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ListHyperparameterTuningJobsRequest.php
Apache-2.0
public function getPageToken() { return $this->page_token; }
The standard list page token. Typically obtained via [ListHyperparameterTuningJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListHyperparameterTuningJobsResponse.next_page_token] of the previous [JobService.ListHyperparameterTuningJobs][google.cloud.aiplatform.v1.JobService.ListHyperparameterTuningJobs] call. Generated from protobuf field <code>string page_token = 4;</code> @return string
getPageToken
php
googleapis/google-cloud-php
AiPlatform/src/V1/ListHyperparameterTuningJobsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ListHyperparameterTuningJobsRequest.php
Apache-2.0
public function setPageToken($var) { GPBUtil::checkString($var, True); $this->page_token = $var; return $this; }
The standard list page token. Typically obtained via [ListHyperparameterTuningJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListHyperparameterTuningJobsResponse.next_page_token] of the previous [JobService.ListHyperparameterTuningJobs][google.cloud.aiplatform.v1.JobService.ListHyperparameterTuningJobs] call. Generated from protobuf field <code>string page_token = 4;</code> @param string $var @return $this
setPageToken
php
googleapis/google-cloud-php
AiPlatform/src/V1/ListHyperparameterTuningJobsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ListHyperparameterTuningJobsRequest.php
Apache-2.0
public function getReadMask() { return $this->read_mask; }
Mask specifying which fields to read. Generated from protobuf field <code>.google.protobuf.FieldMask read_mask = 5;</code> @return \Google\Protobuf\FieldMask|null
getReadMask
php
googleapis/google-cloud-php
AiPlatform/src/V1/ListHyperparameterTuningJobsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ListHyperparameterTuningJobsRequest.php
Apache-2.0
public function setReadMask($var) { GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); $this->read_mask = $var; return $this; }
Mask specifying which fields to read. Generated from protobuf field <code>.google.protobuf.FieldMask read_mask = 5;</code> @param \Google\Protobuf\FieldMask $var @return $this
setReadMask
php
googleapis/google-cloud-php
AiPlatform/src/V1/ListHyperparameterTuningJobsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ListHyperparameterTuningJobsRequest.php
Apache-2.0
public function getFilter() { return isset($this->filter) ? $this->filter : ''; }
A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. Generated from protobuf field <code>optional string filter = 336120696;</code> @return string
getFilter
php
googleapis/google-cloud-php
Compute/src/V1/AggregatedListRoutersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AggregatedListRoutersRequest.php
Apache-2.0
public function setFilter($var) { GPBUtil::checkString($var, True); $this->filter = $var; return $this; }
A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. Generated from protobuf field <code>optional string filter = 336120696;</code> @param string $var @return $this
setFilter
php
googleapis/google-cloud-php
Compute/src/V1/AggregatedListRoutersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AggregatedListRoutersRequest.php
Apache-2.0
public function getIncludeAllScopes() { return isset($this->include_all_scopes) ? $this->include_all_scopes : false; }
Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. Generated from protobuf field <code>optional bool include_all_scopes = 391327988;</code> @return bool
getIncludeAllScopes
php
googleapis/google-cloud-php
Compute/src/V1/AggregatedListRoutersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AggregatedListRoutersRequest.php
Apache-2.0
public function setIncludeAllScopes($var) { GPBUtil::checkBool($var); $this->include_all_scopes = $var; return $this; }
Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. Generated from protobuf field <code>optional bool include_all_scopes = 391327988;</code> @param bool $var @return $this
setIncludeAllScopes
php
googleapis/google-cloud-php
Compute/src/V1/AggregatedListRoutersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AggregatedListRoutersRequest.php
Apache-2.0
public function getMaxResults() { return isset($this->max_results) ? $this->max_results : 0; }
The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) Generated from protobuf field <code>optional uint32 max_results = 54715419;</code> @return int
getMaxResults
php
googleapis/google-cloud-php
Compute/src/V1/AggregatedListRoutersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AggregatedListRoutersRequest.php
Apache-2.0
public function setMaxResults($var) { GPBUtil::checkUint32($var); $this->max_results = $var; return $this; }
The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) Generated from protobuf field <code>optional uint32 max_results = 54715419;</code> @param int $var @return $this
setMaxResults
php
googleapis/google-cloud-php
Compute/src/V1/AggregatedListRoutersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AggregatedListRoutersRequest.php
Apache-2.0
public function getOrderBy() { return isset($this->order_by) ? $this->order_by : ''; }
Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. Generated from protobuf field <code>optional string order_by = 160562920;</code> @return string
getOrderBy
php
googleapis/google-cloud-php
Compute/src/V1/AggregatedListRoutersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AggregatedListRoutersRequest.php
Apache-2.0
public function setOrderBy($var) { GPBUtil::checkString($var, True); $this->order_by = $var; return $this; }
Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. Generated from protobuf field <code>optional string order_by = 160562920;</code> @param string $var @return $this
setOrderBy
php
googleapis/google-cloud-php
Compute/src/V1/AggregatedListRoutersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AggregatedListRoutersRequest.php
Apache-2.0
public function getPageToken() { return isset($this->page_token) ? $this->page_token : ''; }
Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. Generated from protobuf field <code>optional string page_token = 19994697;</code> @return string
getPageToken
php
googleapis/google-cloud-php
Compute/src/V1/AggregatedListRoutersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AggregatedListRoutersRequest.php
Apache-2.0
public function setPageToken($var) { GPBUtil::checkString($var, True); $this->page_token = $var; return $this; }
Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. Generated from protobuf field <code>optional string page_token = 19994697;</code> @param string $var @return $this
setPageToken
php
googleapis/google-cloud-php
Compute/src/V1/AggregatedListRoutersRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AggregatedListRoutersRequest.php
Apache-2.0