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 setDefaultBackupScheduleType($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Spanner\Admin\Instance\V1\Instance\DefaultBackupScheduleType::class);
$this->default_backup_schedule_type = $var;
return $this;
} | Optional. Controls the default backup schedule behavior for new databases
within the instance. By default, a backup schedule is created automatically
when a new database is created in a new instance.
Note that the `AUTOMATIC` value isn't permitted for free instances,
as backups and backup schedules aren't supported for free instances.
In the `GetInstance` or `ListInstances` response, if the value of
`default_backup_schedule_type` isn't set, or set to `NONE`, Spanner doesn't
create a default backup schedule for new databases in the instance.
Generated from protobuf field <code>.google.spanner.admin.instance.v1.Instance.DefaultBackupScheduleType default_backup_schedule_type = 23 [(.google.api.field_behavior) = OPTIONAL];</code>
@param int $var
@return $this | setDefaultBackupScheduleType | php | googleapis/google-cloud-php | Spanner/src/Admin/Instance/V1/Instance.php | https://github.com/googleapis/google-cloud-php/blob/master/Spanner/src/Admin/Instance/V1/Instance.php | Apache-2.0 |
public function getParent()
{
return $this->parent;
} | List environments in the given project and location, in the form:
"projects/{projectId}/locations/{locationId}"
Generated from protobuf field <code>string parent = 1;</code>
@return string | getParent | php | googleapis/google-cloud-php | OrchestrationAirflow/src/V1/ListEnvironmentsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/OrchestrationAirflow/src/V1/ListEnvironmentsRequest.php | Apache-2.0 |
public function setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | List environments in the given project and location, in the form:
"projects/{projectId}/locations/{locationId}"
Generated from protobuf field <code>string parent = 1;</code>
@param string $var
@return $this | setParent | php | googleapis/google-cloud-php | OrchestrationAirflow/src/V1/ListEnvironmentsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/OrchestrationAirflow/src/V1/ListEnvironmentsRequest.php | Apache-2.0 |
public function getPageSize()
{
return $this->page_size;
} | The maximum number of environments to return.
Generated from protobuf field <code>int32 page_size = 2;</code>
@return int | getPageSize | php | googleapis/google-cloud-php | OrchestrationAirflow/src/V1/ListEnvironmentsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/OrchestrationAirflow/src/V1/ListEnvironmentsRequest.php | Apache-2.0 |
public function setPageSize($var)
{
GPBUtil::checkInt32($var);
$this->page_size = $var;
return $this;
} | The maximum number of environments to return.
Generated from protobuf field <code>int32 page_size = 2;</code>
@param int $var
@return $this | setPageSize | php | googleapis/google-cloud-php | OrchestrationAirflow/src/V1/ListEnvironmentsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/OrchestrationAirflow/src/V1/ListEnvironmentsRequest.php | Apache-2.0 |
public function getPageToken()
{
return $this->page_token;
} | The next_page_token value returned from a previous List request, if any.
Generated from protobuf field <code>string page_token = 3;</code>
@return string | getPageToken | php | googleapis/google-cloud-php | OrchestrationAirflow/src/V1/ListEnvironmentsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/OrchestrationAirflow/src/V1/ListEnvironmentsRequest.php | Apache-2.0 |
public function setPageToken($var)
{
GPBUtil::checkString($var, True);
$this->page_token = $var;
return $this;
} | The next_page_token value returned from a previous List request, if any.
Generated from protobuf field <code>string page_token = 3;</code>
@param string $var
@return $this | setPageToken | php | googleapis/google-cloud-php | OrchestrationAirflow/src/V1/ListEnvironmentsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/OrchestrationAirflow/src/V1/ListEnvironmentsRequest.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/SetBackendServiceTargetSslProxyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetBackendServiceTargetSslProxyRequest.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/SetBackendServiceTargetSslProxyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetBackendServiceTargetSslProxyRequest.php | Apache-2.0 |
public function getRequestId()
{
return isset($this->request_id) ? $this->request_id : '';
} | An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
Generated from protobuf field <code>optional string request_id = 37109963;</code>
@return string | getRequestId | php | googleapis/google-cloud-php | Compute/src/V1/SetBackendServiceTargetSslProxyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetBackendServiceTargetSslProxyRequest.php | Apache-2.0 |
public function setRequestId($var)
{
GPBUtil::checkString($var, True);
$this->request_id = $var;
return $this;
} | An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
Generated from protobuf field <code>optional string request_id = 37109963;</code>
@param string $var
@return $this | setRequestId | php | googleapis/google-cloud-php | Compute/src/V1/SetBackendServiceTargetSslProxyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetBackendServiceTargetSslProxyRequest.php | Apache-2.0 |
public function getTargetSslProxiesSetBackendServiceRequestResource()
{
return $this->target_ssl_proxies_set_backend_service_request_resource;
} | The body resource for this request
Generated from protobuf field <code>.google.cloud.compute.v1.TargetSslProxiesSetBackendServiceRequest target_ssl_proxies_set_backend_service_request_resource = 139080868 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\Compute\V1\TargetSslProxiesSetBackendServiceRequest|null | getTargetSslProxiesSetBackendServiceRequestResource | php | googleapis/google-cloud-php | Compute/src/V1/SetBackendServiceTargetSslProxyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetBackendServiceTargetSslProxyRequest.php | Apache-2.0 |
public function setTargetSslProxiesSetBackendServiceRequestResource($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\TargetSslProxiesSetBackendServiceRequest::class);
$this->target_ssl_proxies_set_backend_service_request_resource = $var;
return $this;
} | The body resource for this request
Generated from protobuf field <code>.google.cloud.compute.v1.TargetSslProxiesSetBackendServiceRequest target_ssl_proxies_set_backend_service_request_resource = 139080868 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\Compute\V1\TargetSslProxiesSetBackendServiceRequest $var
@return $this | setTargetSslProxiesSetBackendServiceRequestResource | php | googleapis/google-cloud-php | Compute/src/V1/SetBackendServiceTargetSslProxyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetBackendServiceTargetSslProxyRequest.php | Apache-2.0 |
public function getTargetSslProxy()
{
return $this->target_ssl_proxy;
} | Name of the TargetSslProxy resource whose BackendService resource is to be set.
Generated from protobuf field <code>string target_ssl_proxy = 338795853 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getTargetSslProxy | php | googleapis/google-cloud-php | Compute/src/V1/SetBackendServiceTargetSslProxyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetBackendServiceTargetSslProxyRequest.php | Apache-2.0 |
public function setTargetSslProxy($var)
{
GPBUtil::checkString($var, True);
$this->target_ssl_proxy = $var;
return $this;
} | Name of the TargetSslProxy resource whose BackendService resource is to be set.
Generated from protobuf field <code>string target_ssl_proxy = 338795853 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setTargetSslProxy | php | googleapis/google-cloud-php | Compute/src/V1/SetBackendServiceTargetSslProxyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetBackendServiceTargetSslProxyRequest.php | Apache-2.0 |
public function getAzureCluster()
{
return $this->azure_cluster;
} | Required. The AzureCluster, which owns the JsonWebKeys.
Format:
`projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`
Generated from protobuf field <code>string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getAzureCluster | php | googleapis/google-cloud-php | GkeMultiCloud/src/V1/GetAzureJsonWebKeysRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/GetAzureJsonWebKeysRequest.php | Apache-2.0 |
public function setAzureCluster($var)
{
GPBUtil::checkString($var, True);
$this->azure_cluster = $var;
return $this;
} | Required. The AzureCluster, which owns the JsonWebKeys.
Format:
`projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`
Generated from protobuf field <code>string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setAzureCluster | php | googleapis/google-cloud-php | GkeMultiCloud/src/V1/GetAzureJsonWebKeysRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/GetAzureJsonWebKeysRequest.php | Apache-2.0 |
public function getSuggestions()
{
return $this->suggestions;
} | Required. The list of suggested replies.
Generated from protobuf field <code>repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Protobuf\Internal\RepeatedField | getSuggestions | php | googleapis/google-cloud-php | Dialogflow/src/V2/Intent/Message/Suggestions.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Intent/Message/Suggestions.php | Apache-2.0 |
public function setSuggestions($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\V2\Intent\Message\Suggestion::class);
$this->suggestions = $arr;
return $this;
} | Required. The list of suggested replies.
Generated from protobuf field <code>repeated .google.cloud.dialogflow.v2.Intent.Message.Suggestion suggestions = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param array<\Google\Cloud\Dialogflow\V2\Intent\Message\Suggestion>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setSuggestions | php | googleapis/google-cloud-php | Dialogflow/src/V2/Intent/Message/Suggestions.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Intent/Message/Suggestions.php | Apache-2.0 |
public function getParent()
{
return $this->parent;
} | Required. The business account for which to list return policies.
Format: `accounts/{account}`
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 | ShoppingMerchantAccounts/src/V1beta/ListOnlineReturnPoliciesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantAccounts/src/V1beta/ListOnlineReturnPoliciesRequest.php | Apache-2.0 |
public function setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | Required. The business account for which to list return policies.
Format: `accounts/{account}`
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 | ShoppingMerchantAccounts/src/V1beta/ListOnlineReturnPoliciesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantAccounts/src/V1beta/ListOnlineReturnPoliciesRequest.php | Apache-2.0 |
public function getPageSize()
{
return $this->page_size;
} | Optional. The maximum number of `OnlineReturnPolicy` resources to return.
The service returns fewer than this value if the number of return policies
for the given merchant is less that than the `pageSize`. The default value
is 10. The maximum value is 100; If a value higher than the maximum is
specified, then the `pageSize` will default to the maximum
Generated from protobuf field <code>int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@return int | getPageSize | php | googleapis/google-cloud-php | ShoppingMerchantAccounts/src/V1beta/ListOnlineReturnPoliciesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantAccounts/src/V1beta/ListOnlineReturnPoliciesRequest.php | Apache-2.0 |
public function setPageSize($var)
{
GPBUtil::checkInt32($var);
$this->page_size = $var;
return $this;
} | Optional. The maximum number of `OnlineReturnPolicy` resources to return.
The service returns fewer than this value if the number of return policies
for the given merchant is less that than the `pageSize`. The default value
is 10. The maximum value is 100; If a value higher than the maximum is
specified, then the `pageSize` will default to the maximum
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 | ShoppingMerchantAccounts/src/V1beta/ListOnlineReturnPoliciesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantAccounts/src/V1beta/ListOnlineReturnPoliciesRequest.php | Apache-2.0 |
public function getPageToken()
{
return $this->page_token;
} | Optional. A page token, received from a previous `ListOnlineReturnPolicies`
call. Provide the page token to retrieve the subsequent page.
When paginating, all other parameters provided to
`ListOnlineReturnPolicies` must match the call that provided the page
token. The token returned as
[nextPageToken][google.shopping.merchant.accounts.v1beta.ListOnlineReturnPoliciesResponse.next_page_token]
in the response to the previous request.
Generated from protobuf field <code>string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getPageToken | php | googleapis/google-cloud-php | ShoppingMerchantAccounts/src/V1beta/ListOnlineReturnPoliciesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantAccounts/src/V1beta/ListOnlineReturnPoliciesRequest.php | Apache-2.0 |
public function setPageToken($var)
{
GPBUtil::checkString($var, True);
$this->page_token = $var;
return $this;
} | Optional. A page token, received from a previous `ListOnlineReturnPolicies`
call. Provide the page token to retrieve the subsequent page.
When paginating, all other parameters provided to
`ListOnlineReturnPolicies` must match the call that provided the page
token. The token returned as
[nextPageToken][google.shopping.merchant.accounts.v1beta.ListOnlineReturnPoliciesResponse.next_page_token]
in the response to the previous request.
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 | ShoppingMerchantAccounts/src/V1beta/ListOnlineReturnPoliciesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantAccounts/src/V1beta/ListOnlineReturnPoliciesRequest.php | Apache-2.0 |
public function getParent()
{
return $this->parent;
} | Required. The parent resource name.
If the write user event action is applied in
[DataStore][google.cloud.discoveryengine.v1.DataStore] level, the format
is:
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.
If the write user event action is applied in
[Location][google.cloud.location.Location] level, for example, the event
with [Document][google.cloud.discoveryengine.v1.Document] across multiple
[DataStore][google.cloud.discoveryengine.v1.DataStore], the format is:
`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 | DiscoveryEngine/src/V1/WriteUserEventRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/WriteUserEventRequest.php | Apache-2.0 |
public function setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | Required. The parent resource name.
If the write user event action is applied in
[DataStore][google.cloud.discoveryengine.v1.DataStore] level, the format
is:
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.
If the write user event action is applied in
[Location][google.cloud.location.Location] level, for example, the event
with [Document][google.cloud.discoveryengine.v1.Document] across multiple
[DataStore][google.cloud.discoveryengine.v1.DataStore], the format is:
`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 | DiscoveryEngine/src/V1/WriteUserEventRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/WriteUserEventRequest.php | Apache-2.0 |
public function getUserEvent()
{
return $this->user_event;
} | Required. User event to write.
Generated from protobuf field <code>optional .google.cloud.discoveryengine.v1.UserEvent user_event = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\DiscoveryEngine\V1\UserEvent|null | getUserEvent | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/WriteUserEventRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/WriteUserEventRequest.php | Apache-2.0 |
public function setUserEvent($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\DiscoveryEngine\V1\UserEvent::class);
$this->user_event = $var;
return $this;
} | Required. User event to write.
Generated from protobuf field <code>optional .google.cloud.discoveryengine.v1.UserEvent user_event = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\DiscoveryEngine\V1\UserEvent $var
@return $this | setUserEvent | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/WriteUserEventRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/WriteUserEventRequest.php | Apache-2.0 |
public function getWriteAsync()
{
return $this->write_async;
} | If set to true, the user event is written asynchronously after
validation, and the API responds without waiting for the write.
Generated from protobuf field <code>bool write_async = 3;</code>
@return bool | getWriteAsync | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/WriteUserEventRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/WriteUserEventRequest.php | Apache-2.0 |
public function setWriteAsync($var)
{
GPBUtil::checkBool($var);
$this->write_async = $var;
return $this;
} | If set to true, the user event is written asynchronously after
validation, and the API responds without waiting for the write.
Generated from protobuf field <code>bool write_async = 3;</code>
@param bool $var
@return $this | setWriteAsync | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/WriteUserEventRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/WriteUserEventRequest.php | Apache-2.0 |
public function getNetwork()
{
return $this->network;
} | Required. The network where the IP address of the discovery endpoint will
be reserved, in the form of
projects/{network_project}/global/networks/{network_id}.
Generated from protobuf field <code>string network = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getNetwork | php | googleapis/google-cloud-php | RedisCluster/src/V1/PscConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/RedisCluster/src/V1/PscConfig.php | Apache-2.0 |
public function setNetwork($var)
{
GPBUtil::checkString($var, True);
$this->network = $var;
return $this;
} | Required. The network where the IP address of the discovery endpoint will
be reserved, in the form of
projects/{network_project}/global/networks/{network_id}.
Generated from protobuf field <code>string network = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setNetwork | php | googleapis/google-cloud-php | RedisCluster/src/V1/PscConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/RedisCluster/src/V1/PscConfig.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. The name of the resource in the form of
`projects/[PROJECT_ID]/resources/[RESOURCE_URL]`.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getName | php | googleapis/google-cloud-php | ContainerAnalysis/src/V1/ExportSBOMRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ContainerAnalysis/src/V1/ExportSBOMRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. The name of the resource in the form of
`projects/[PROJECT_ID]/resources/[RESOURCE_URL]`.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | ContainerAnalysis/src/V1/ExportSBOMRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ContainerAnalysis/src/V1/ExportSBOMRequest.php | Apache-2.0 |
public function getCloudStorageLocation()
{
return $this->readOneof(2);
} | Optional. Empty placeholder to denote that this is a Google Cloud Storage
export request.
Generated from protobuf field <code>.google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation cloud_storage_location = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Cloud\ContainerAnalysis\V1\ExportSBOMRequest\CloudStorageLocation|null | getCloudStorageLocation | php | googleapis/google-cloud-php | ContainerAnalysis/src/V1/ExportSBOMRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ContainerAnalysis/src/V1/ExportSBOMRequest.php | Apache-2.0 |
public function setCloudStorageLocation($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\ContainerAnalysis\V1\ExportSBOMRequest\CloudStorageLocation::class);
$this->writeOneof(2, $var);
return $this;
} | Optional. Empty placeholder to denote that this is a Google Cloud Storage
export request.
Generated from protobuf field <code>.google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation cloud_storage_location = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\ContainerAnalysis\V1\ExportSBOMRequest\CloudStorageLocation $var
@return $this | setCloudStorageLocation | php | googleapis/google-cloud-php | ContainerAnalysis/src/V1/ExportSBOMRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ContainerAnalysis/src/V1/ExportSBOMRequest.php | Apache-2.0 |
public function getParent()
{
return $this->parent;
} | Required. Project, location. E.g.,
`projects/myproject/locations/US`
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 | BigQueryReservation/src/V1/CreateReservationRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryReservation/src/V1/CreateReservationRequest.php | Apache-2.0 |
public function setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | Required. Project, location. E.g.,
`projects/myproject/locations/US`
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 | BigQueryReservation/src/V1/CreateReservationRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryReservation/src/V1/CreateReservationRequest.php | Apache-2.0 |
public function getReservationId()
{
return $this->reservation_id;
} | The reservation ID. It must only contain lower case alphanumeric
characters or dashes. It must start with a letter and must not end
with a dash. Its maximum length is 64 characters.
Generated from protobuf field <code>string reservation_id = 2;</code>
@return string | getReservationId | php | googleapis/google-cloud-php | BigQueryReservation/src/V1/CreateReservationRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryReservation/src/V1/CreateReservationRequest.php | Apache-2.0 |
public function setReservationId($var)
{
GPBUtil::checkString($var, True);
$this->reservation_id = $var;
return $this;
} | The reservation ID. It must only contain lower case alphanumeric
characters or dashes. It must start with a letter and must not end
with a dash. Its maximum length is 64 characters.
Generated from protobuf field <code>string reservation_id = 2;</code>
@param string $var
@return $this | setReservationId | php | googleapis/google-cloud-php | BigQueryReservation/src/V1/CreateReservationRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryReservation/src/V1/CreateReservationRequest.php | Apache-2.0 |
public function getReservation()
{
return $this->reservation;
} | Definition of the new reservation to create.
Generated from protobuf field <code>.google.cloud.bigquery.reservation.v1.Reservation reservation = 3;</code>
@return \Google\Cloud\BigQuery\Reservation\V1\Reservation|null | getReservation | php | googleapis/google-cloud-php | BigQueryReservation/src/V1/CreateReservationRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryReservation/src/V1/CreateReservationRequest.php | Apache-2.0 |
public function setReservation($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\BigQuery\Reservation\V1\Reservation::class);
$this->reservation = $var;
return $this;
} | Definition of the new reservation to create.
Generated from protobuf field <code>.google.cloud.bigquery.reservation.v1.Reservation reservation = 3;</code>
@param \Google\Cloud\BigQuery\Reservation\V1\Reservation $var
@return $this | setReservation | php | googleapis/google-cloud-php | BigQueryReservation/src/V1/CreateReservationRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryReservation/src/V1/CreateReservationRequest.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. Full resource name of
[DataStore][google.cloud.discoveryengine.v1.DataStore], such as
`projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
If the caller does not have permission to delete the
[DataStore][google.cloud.discoveryengine.v1.DataStore], regardless of
whether or not it exists, a PERMISSION_DENIED error is returned.
If the [DataStore][google.cloud.discoveryengine.v1.DataStore] to delete
does not exist, a NOT_FOUND error is returned.
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 | DiscoveryEngine/src/V1/DeleteDataStoreRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/DeleteDataStoreRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. Full resource name of
[DataStore][google.cloud.discoveryengine.v1.DataStore], such as
`projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
If the caller does not have permission to delete the
[DataStore][google.cloud.discoveryengine.v1.DataStore], regardless of
whether or not it exists, a PERMISSION_DENIED error is returned.
If the [DataStore][google.cloud.discoveryengine.v1.DataStore] to delete
does not exist, a NOT_FOUND error is returned.
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 | DiscoveryEngine/src/V1/DeleteDataStoreRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/DeleteDataStoreRequest.php | Apache-2.0 |
public function getNetworkSecurityGroupId()
{
return $this->network_security_group_id;
} | Output only. The ARM ID of the cluster network security group.
Generated from protobuf field <code>string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getNetworkSecurityGroupId | php | googleapis/google-cloud-php | GkeMultiCloud/src/V1/AzureClusterResources.php | https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/AzureClusterResources.php | Apache-2.0 |
public function setNetworkSecurityGroupId($var)
{
GPBUtil::checkString($var, True);
$this->network_security_group_id = $var;
return $this;
} | Output only. The ARM ID of the cluster network security group.
Generated from protobuf field <code>string network_security_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setNetworkSecurityGroupId | php | googleapis/google-cloud-php | GkeMultiCloud/src/V1/AzureClusterResources.php | https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/AzureClusterResources.php | Apache-2.0 |
public function getControlPlaneApplicationSecurityGroupId()
{
return $this->control_plane_application_security_group_id;
} | Output only. The ARM ID of the control plane application security group.
Generated from protobuf field <code>string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getControlPlaneApplicationSecurityGroupId | php | googleapis/google-cloud-php | GkeMultiCloud/src/V1/AzureClusterResources.php | https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/AzureClusterResources.php | Apache-2.0 |
public function setControlPlaneApplicationSecurityGroupId($var)
{
GPBUtil::checkString($var, True);
$this->control_plane_application_security_group_id = $var;
return $this;
} | Output only. The ARM ID of the control plane application security group.
Generated from protobuf field <code>string control_plane_application_security_group_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setControlPlaneApplicationSecurityGroupId | php | googleapis/google-cloud-php | GkeMultiCloud/src/V1/AzureClusterResources.php | https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/AzureClusterResources.php | Apache-2.0 |
public function getParent()
{
return $this->parent;
} | Required. A parent name of the form
`projects/{project_id}/databases/{database_id}/collectionGroups/{collection_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 | Firestore/src/Admin/V1/CreateIndexRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Firestore/src/Admin/V1/CreateIndexRequest.php | Apache-2.0 |
public function setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | Required. A parent name of the form
`projects/{project_id}/databases/{database_id}/collectionGroups/{collection_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 | Firestore/src/Admin/V1/CreateIndexRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Firestore/src/Admin/V1/CreateIndexRequest.php | Apache-2.0 |
public function getIndex()
{
return $this->index;
} | Required. The composite index to create.
Generated from protobuf field <code>.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\Firestore\Admin\V1\Index|null | getIndex | php | googleapis/google-cloud-php | Firestore/src/Admin/V1/CreateIndexRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Firestore/src/Admin/V1/CreateIndexRequest.php | Apache-2.0 |
public function setIndex($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Firestore\Admin\V1\Index::class);
$this->index = $var;
return $this;
} | Required. The composite index to create.
Generated from protobuf field <code>.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\Firestore\Admin\V1\Index $var
@return $this | setIndex | php | googleapis/google-cloud-php | Firestore/src/Admin/V1/CreateIndexRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Firestore/src/Admin/V1/CreateIndexRequest.php | Apache-2.0 |
public function getParent()
{
return $this->parent;
} | Required. The BigQuery project id for which data sources should be
returned. Must be in the form: `projects/{project_id}` or
`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 | BigQueryDataTransfer/src/V1/ListDataSourcesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryDataTransfer/src/V1/ListDataSourcesRequest.php | Apache-2.0 |
public function setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | Required. The BigQuery project id for which data sources should be
returned. Must be in the form: `projects/{project_id}` or
`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 | BigQueryDataTransfer/src/V1/ListDataSourcesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryDataTransfer/src/V1/ListDataSourcesRequest.php | Apache-2.0 |
public function getPageToken()
{
return $this->page_token;
} | Pagination token, which can be used to request a specific page
of `ListDataSourcesRequest` list results. For multiple-page
results, `ListDataSourcesResponse` outputs
a `next_page` token, which can be used as the
`page_token` value to request the next page of list results.
Generated from protobuf field <code>string page_token = 3;</code>
@return string | getPageToken | php | googleapis/google-cloud-php | BigQueryDataTransfer/src/V1/ListDataSourcesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryDataTransfer/src/V1/ListDataSourcesRequest.php | Apache-2.0 |
public function setPageToken($var)
{
GPBUtil::checkString($var, True);
$this->page_token = $var;
return $this;
} | Pagination token, which can be used to request a specific page
of `ListDataSourcesRequest` list results. For multiple-page
results, `ListDataSourcesResponse` outputs
a `next_page` token, which can be used as the
`page_token` value to request the next page of list results.
Generated from protobuf field <code>string page_token = 3;</code>
@param string $var
@return $this | setPageToken | php | googleapis/google-cloud-php | BigQueryDataTransfer/src/V1/ListDataSourcesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryDataTransfer/src/V1/ListDataSourcesRequest.php | Apache-2.0 |
public function getPageSize()
{
return $this->page_size;
} | Page size. The default page size is the maximum value of 1000 results.
Generated from protobuf field <code>int32 page_size = 4;</code>
@return int | getPageSize | php | googleapis/google-cloud-php | BigQueryDataTransfer/src/V1/ListDataSourcesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryDataTransfer/src/V1/ListDataSourcesRequest.php | Apache-2.0 |
public function setPageSize($var)
{
GPBUtil::checkInt32($var);
$this->page_size = $var;
return $this;
} | Page size. The default page size is the maximum value of 1000 results.
Generated from protobuf field <code>int32 page_size = 4;</code>
@param int $var
@return $this | setPageSize | php | googleapis/google-cloud-php | BigQueryDataTransfer/src/V1/ListDataSourcesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryDataTransfer/src/V1/ListDataSourcesRequest.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. A name of the EndpointPolicy to get. Must be in the format
`projects/*/locations/global/endpointPolicies/*`.
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 | NetworkServices/src/V1/GetEndpointPolicyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/NetworkServices/src/V1/GetEndpointPolicyRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. A name of the EndpointPolicy to get. Must be in the format
`projects/*/locations/global/endpointPolicies/*`.
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 | NetworkServices/src/V1/GetEndpointPolicyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/NetworkServices/src/V1/GetEndpointPolicyRequest.php | Apache-2.0 |
public function getGcsSourcePath()
{
return $this->readOneof(1);
} | The Cloud Storage path for a directory of files to translate in a task.
Generated from protobuf field <code>string gcs_source_path = 1;</code>
@return string | getGcsSourcePath | php | googleapis/google-cloud-php | BigQueryMigration/src/V2/TranslationConfigDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php | Apache-2.0 |
public function setGcsSourcePath($var)
{
GPBUtil::checkString($var, True);
$this->writeOneof(1, $var);
return $this;
} | The Cloud Storage path for a directory of files to translate in a task.
Generated from protobuf field <code>string gcs_source_path = 1;</code>
@param string $var
@return $this | setGcsSourcePath | php | googleapis/google-cloud-php | BigQueryMigration/src/V2/TranslationConfigDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php | Apache-2.0 |
public function getGcsTargetPath()
{
return $this->readOneof(2);
} | The Cloud Storage path to write back the corresponding input files to.
Generated from protobuf field <code>string gcs_target_path = 2;</code>
@return string | getGcsTargetPath | php | googleapis/google-cloud-php | BigQueryMigration/src/V2/TranslationConfigDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php | Apache-2.0 |
public function setGcsTargetPath($var)
{
GPBUtil::checkString($var, True);
$this->writeOneof(2, $var);
return $this;
} | The Cloud Storage path to write back the corresponding input files to.
Generated from protobuf field <code>string gcs_target_path = 2;</code>
@param string $var
@return $this | setGcsTargetPath | php | googleapis/google-cloud-php | BigQueryMigration/src/V2/TranslationConfigDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php | Apache-2.0 |
public function getNameMappingList()
{
return $this->readOneof(5);
} | The mapping of objects to their desired output names in list form.
Generated from protobuf field <code>.google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5;</code>
@return \Google\Cloud\BigQuery\Migration\V2\ObjectNameMappingList|null | getNameMappingList | php | googleapis/google-cloud-php | BigQueryMigration/src/V2/TranslationConfigDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php | Apache-2.0 |
public function setNameMappingList($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\BigQuery\Migration\V2\ObjectNameMappingList::class);
$this->writeOneof(5, $var);
return $this;
} | The mapping of objects to their desired output names in list form.
Generated from protobuf field <code>.google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5;</code>
@param \Google\Cloud\BigQuery\Migration\V2\ObjectNameMappingList $var
@return $this | setNameMappingList | php | googleapis/google-cloud-php | BigQueryMigration/src/V2/TranslationConfigDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php | Apache-2.0 |
public function getSourceDialect()
{
return $this->source_dialect;
} | The dialect of the input files.
Generated from protobuf field <code>.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;</code>
@return \Google\Cloud\BigQuery\Migration\V2\Dialect|null | getSourceDialect | php | googleapis/google-cloud-php | BigQueryMigration/src/V2/TranslationConfigDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php | Apache-2.0 |
public function setSourceDialect($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\BigQuery\Migration\V2\Dialect::class);
$this->source_dialect = $var;
return $this;
} | The dialect of the input files.
Generated from protobuf field <code>.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;</code>
@param \Google\Cloud\BigQuery\Migration\V2\Dialect $var
@return $this | setSourceDialect | php | googleapis/google-cloud-php | BigQueryMigration/src/V2/TranslationConfigDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php | Apache-2.0 |
public function getTargetDialect()
{
return $this->target_dialect;
} | The target dialect for the engine to translate the input to.
Generated from protobuf field <code>.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;</code>
@return \Google\Cloud\BigQuery\Migration\V2\Dialect|null | getTargetDialect | php | googleapis/google-cloud-php | BigQueryMigration/src/V2/TranslationConfigDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php | Apache-2.0 |
public function setTargetDialect($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\BigQuery\Migration\V2\Dialect::class);
$this->target_dialect = $var;
return $this;
} | The target dialect for the engine to translate the input to.
Generated from protobuf field <code>.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;</code>
@param \Google\Cloud\BigQuery\Migration\V2\Dialect $var
@return $this | setTargetDialect | php | googleapis/google-cloud-php | BigQueryMigration/src/V2/TranslationConfigDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php | Apache-2.0 |
public function getSourceEnv()
{
return $this->source_env;
} | The default source environment values for the translation.
Generated from protobuf field <code>.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;</code>
@return \Google\Cloud\BigQuery\Migration\V2\SourceEnv|null | getSourceEnv | php | googleapis/google-cloud-php | BigQueryMigration/src/V2/TranslationConfigDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php | Apache-2.0 |
public function setSourceEnv($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\BigQuery\Migration\V2\SourceEnv::class);
$this->source_env = $var;
return $this;
} | The default source environment values for the translation.
Generated from protobuf field <code>.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;</code>
@param \Google\Cloud\BigQuery\Migration\V2\SourceEnv $var
@return $this | setSourceEnv | php | googleapis/google-cloud-php | BigQueryMigration/src/V2/TranslationConfigDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php | Apache-2.0 |
public function getRequestSource()
{
return $this->request_source;
} | The indicator to show translation request initiator.
Generated from protobuf field <code>string request_source = 8;</code>
@return string | getRequestSource | php | googleapis/google-cloud-php | BigQueryMigration/src/V2/TranslationConfigDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php | Apache-2.0 |
public function setRequestSource($var)
{
GPBUtil::checkString($var, True);
$this->request_source = $var;
return $this;
} | The indicator to show translation request initiator.
Generated from protobuf field <code>string request_source = 8;</code>
@param string $var
@return $this | setRequestSource | php | googleapis/google-cloud-php | BigQueryMigration/src/V2/TranslationConfigDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php | Apache-2.0 |
public function getTargetTypes()
{
return $this->target_types;
} | The types of output to generate, e.g. sql, metadata etc. If not specified,
a default set of targets will be generated. Some additional target types
may be slower to generate. See the documentation for the set of available
target types.
Generated from protobuf field <code>repeated string target_types = 9;</code>
@return \Google\Protobuf\Internal\RepeatedField | getTargetTypes | php | googleapis/google-cloud-php | BigQueryMigration/src/V2/TranslationConfigDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php | Apache-2.0 |
public function setTargetTypes($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->target_types = $arr;
return $this;
} | The types of output to generate, e.g. sql, metadata etc. If not specified,
a default set of targets will be generated. Some additional target types
may be slower to generate. See the documentation for the set of available
target types.
Generated from protobuf field <code>repeated string target_types = 9;</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setTargetTypes | php | googleapis/google-cloud-php | BigQueryMigration/src/V2/TranslationConfigDetails.php | https://github.com/googleapis/google-cloud-php/blob/master/BigQueryMigration/src/V2/TranslationConfigDetails.php | Apache-2.0 |
public function getPoint()
{
return $this->point;
} | The location's coordinates.
Generated from protobuf field <code>.google.type.LatLng point = 1;</code>
@return \Google\Type\LatLng|null | getPoint | php | googleapis/google-cloud-php | MapsFleetEngineDelivery/src/V1/LocationInfo.php | https://github.com/googleapis/google-cloud-php/blob/master/MapsFleetEngineDelivery/src/V1/LocationInfo.php | Apache-2.0 |
public function setPoint($var)
{
GPBUtil::checkMessage($var, \Google\Type\LatLng::class);
$this->point = $var;
return $this;
} | The location's coordinates.
Generated from protobuf field <code>.google.type.LatLng point = 1;</code>
@param \Google\Type\LatLng $var
@return $this | setPoint | php | googleapis/google-cloud-php | MapsFleetEngineDelivery/src/V1/LocationInfo.php | https://github.com/googleapis/google-cloud-php/blob/master/MapsFleetEngineDelivery/src/V1/LocationInfo.php | Apache-2.0 |
public function getHttpMethod()
{
return $this->http_method;
} | Output only. The http method of the request that was used to visit the URL, in
uppercase.
Generated from protobuf field <code>string http_method = 1;</code>
@return string | getHttpMethod | php | googleapis/google-cloud-php | WebSecurityScanner/src/V1/CrawledUrl.php | https://github.com/googleapis/google-cloud-php/blob/master/WebSecurityScanner/src/V1/CrawledUrl.php | Apache-2.0 |
public function setHttpMethod($var)
{
GPBUtil::checkString($var, True);
$this->http_method = $var;
return $this;
} | Output only. The http method of the request that was used to visit the URL, in
uppercase.
Generated from protobuf field <code>string http_method = 1;</code>
@param string $var
@return $this | setHttpMethod | php | googleapis/google-cloud-php | WebSecurityScanner/src/V1/CrawledUrl.php | https://github.com/googleapis/google-cloud-php/blob/master/WebSecurityScanner/src/V1/CrawledUrl.php | Apache-2.0 |
public function getUrl()
{
return $this->url;
} | Output only. The URL that was crawled.
Generated from protobuf field <code>string url = 2;</code>
@return string | getUrl | php | googleapis/google-cloud-php | WebSecurityScanner/src/V1/CrawledUrl.php | https://github.com/googleapis/google-cloud-php/blob/master/WebSecurityScanner/src/V1/CrawledUrl.php | Apache-2.0 |
public function setUrl($var)
{
GPBUtil::checkString($var, True);
$this->url = $var;
return $this;
} | Output only. The URL that was crawled.
Generated from protobuf field <code>string url = 2;</code>
@param string $var
@return $this | setUrl | php | googleapis/google-cloud-php | WebSecurityScanner/src/V1/CrawledUrl.php | https://github.com/googleapis/google-cloud-php/blob/master/WebSecurityScanner/src/V1/CrawledUrl.php | Apache-2.0 |
public function getBody()
{
return $this->body;
} | Output only. The body of the request that was used to visit the URL.
Generated from protobuf field <code>string body = 3;</code>
@return string | getBody | php | googleapis/google-cloud-php | WebSecurityScanner/src/V1/CrawledUrl.php | https://github.com/googleapis/google-cloud-php/blob/master/WebSecurityScanner/src/V1/CrawledUrl.php | Apache-2.0 |
public function setBody($var)
{
GPBUtil::checkString($var, True);
$this->body = $var;
return $this;
} | Output only. The body of the request that was used to visit the URL.
Generated from protobuf field <code>string body = 3;</code>
@param string $var
@return $this | setBody | php | googleapis/google-cloud-php | WebSecurityScanner/src/V1/CrawledUrl.php | https://github.com/googleapis/google-cloud-php/blob/master/WebSecurityScanner/src/V1/CrawledUrl.php | Apache-2.0 |
public function getBindings()
{
return $this->bindings;
} | Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
Generated from protobuf field <code>repeated .google.cloud.compute.v1.Binding bindings = 403251854;</code>
@return \Google\Protobuf\Internal\RepeatedField | getBindings | php | googleapis/google-cloud-php | Compute/src/V1/GlobalSetPolicyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/GlobalSetPolicyRequest.php | Apache-2.0 |
public function setBindings($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Compute\V1\Binding::class);
$this->bindings = $arr;
return $this;
} | Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.
Generated from protobuf field <code>repeated .google.cloud.compute.v1.Binding bindings = 403251854;</code>
@param array<\Google\Cloud\Compute\V1\Binding>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setBindings | php | googleapis/google-cloud-php | Compute/src/V1/GlobalSetPolicyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/GlobalSetPolicyRequest.php | Apache-2.0 |
public function getEtag()
{
return isset($this->etag) ? $this->etag : '';
} | Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
Generated from protobuf field <code>optional string etag = 3123477;</code>
@return string | getEtag | php | googleapis/google-cloud-php | Compute/src/V1/GlobalSetPolicyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/GlobalSetPolicyRequest.php | Apache-2.0 |
public function setEtag($var)
{
GPBUtil::checkString($var, True);
$this->etag = $var;
return $this;
} | Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.
Generated from protobuf field <code>optional string etag = 3123477;</code>
@param string $var
@return $this | setEtag | php | googleapis/google-cloud-php | Compute/src/V1/GlobalSetPolicyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/GlobalSetPolicyRequest.php | Apache-2.0 |
public function getPolicy()
{
return $this->policy;
} | REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.
Generated from protobuf field <code>optional .google.cloud.compute.v1.Policy policy = 91071794;</code>
@return \Google\Cloud\Compute\V1\Policy|null | getPolicy | php | googleapis/google-cloud-php | Compute/src/V1/GlobalSetPolicyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/GlobalSetPolicyRequest.php | Apache-2.0 |
public function setPolicy($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\Policy::class);
$this->policy = $var;
return $this;
} | REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.
Generated from protobuf field <code>optional .google.cloud.compute.v1.Policy policy = 91071794;</code>
@param \Google\Cloud\Compute\V1\Policy $var
@return $this | setPolicy | php | googleapis/google-cloud-php | Compute/src/V1/GlobalSetPolicyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/GlobalSetPolicyRequest.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. Name of the resource
Example name:
`projects/123/locations/global/quota_preferences/my-config-for-us-east1`
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getName | php | googleapis/google-cloud-php | Quotas/src/V1beta/GetQuotaPreferenceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Quotas/src/V1beta/GetQuotaPreferenceRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. Name of the resource
Example name:
`projects/123/locations/global/quota_preferences/my-config-for-us-east1`
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | Quotas/src/V1beta/GetQuotaPreferenceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Quotas/src/V1beta/GetQuotaPreferenceRequest.php | Apache-2.0 |
public function getContextContents()
{
return $this->context_contents;
} | Required. The list of content updates for a context reference.
Generated from protobuf field <code>repeated .google.cloud.dialogflow.v2.Conversation.ContextReference.ContextContent context_contents = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Protobuf\Internal\RepeatedField | getContextContents | php | googleapis/google-cloud-php | Dialogflow/src/V2/Conversation/ContextReference.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Conversation/ContextReference.php | Apache-2.0 |
public function setContextContents($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\V2\Conversation\ContextReference\ContextContent::class);
$this->context_contents = $arr;
return $this;
} | Required. The list of content updates for a context reference.
Generated from protobuf field <code>repeated .google.cloud.dialogflow.v2.Conversation.ContextReference.ContextContent context_contents = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param array<\Google\Cloud\Dialogflow\V2\Conversation\ContextReference\ContextContent>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setContextContents | php | googleapis/google-cloud-php | Dialogflow/src/V2/Conversation/ContextReference.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Conversation/ContextReference.php | Apache-2.0 |
public function getUpdateMode()
{
return $this->update_mode;
} | Required. The mode in which context reference contents are updated.
Generated from protobuf field <code>.google.cloud.dialogflow.v2.Conversation.ContextReference.UpdateMode update_mode = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return int | getUpdateMode | php | googleapis/google-cloud-php | Dialogflow/src/V2/Conversation/ContextReference.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Conversation/ContextReference.php | Apache-2.0 |
public function setUpdateMode($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\Conversation\ContextReference\UpdateMode::class);
$this->update_mode = $var;
return $this;
} | Required. The mode in which context reference contents are updated.
Generated from protobuf field <code>.google.cloud.dialogflow.v2.Conversation.ContextReference.UpdateMode update_mode = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param int $var
@return $this | setUpdateMode | php | googleapis/google-cloud-php | Dialogflow/src/V2/Conversation/ContextReference.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Conversation/ContextReference.php | Apache-2.0 |
public function getLanguageCode()
{
return $this->language_code;
} | Optional. The language of the information ingested, defaults to "en-US"
if not set.
Generated from protobuf field <code>string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getLanguageCode | php | googleapis/google-cloud-php | Dialogflow/src/V2/Conversation/ContextReference.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Conversation/ContextReference.php | Apache-2.0 |
public function setLanguageCode($var)
{
GPBUtil::checkString($var, True);
$this->language_code = $var;
return $this;
} | Optional. The language of the information ingested, defaults to "en-US"
if not set.
Generated from protobuf field <code>string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setLanguageCode | php | googleapis/google-cloud-php | Dialogflow/src/V2/Conversation/ContextReference.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Conversation/ContextReference.php | Apache-2.0 |
public function getCreateTime()
{
return $this->create_time;
} | Output only. The time the context reference was first created.
Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Protobuf\Timestamp|null | getCreateTime | php | googleapis/google-cloud-php | Dialogflow/src/V2/Conversation/ContextReference.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Conversation/ContextReference.php | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.