Skip to content

Commit

Permalink
feat: add available_cpu field (#5974)
Browse files Browse the repository at this point in the history
feat: add `kms_key_name` field to ServiceConfig (the CMEK use case)
feat: add `max_instance_request_concurrency` field
feat: add `security_level` field
PiperOrigin-RevId: 516979219
Source-Link: googleapis/googleapis@650f7cd
Source-Link: googleapis/googleapis-gen@3c4d23f
Copy-Tag: eyJwIjoiRnVuY3Rpb25zLy5Pd2xCb3QueWFtbCIsImgiOiIzYzRkMjNmZDc2NmVkZGIyYzcyNmI0MGQyM2VmMDEyOTc0YTMyNTFmIn0=
  • Loading branch information
gcf-owl-bot[bot] committed Mar 16, 2023
1 parent 3a4bcb3 commit 8e6f436
Show file tree
Hide file tree
Showing 20 changed files with 718 additions and 135 deletions.
Binary file modified Functions/metadata/V2/Functions.php
Binary file not shown.
Expand Up @@ -34,8 +34,8 @@
* the specified project, the long running operation will return
* `ALREADY_EXISTS` error.
*
* @param string $formattedParent The project and location in which the function should be created, specified
* in the format `projects/*/locations/*`
* @param string $formattedParent The project and location in which the function should be created,
* specified in the format `projects/*/locations/*`
* Please see {@see FunctionServiceClient::locationName()} for help formatting this field.
*/
function create_function_sample(string $formattedParent): void
Expand Down
Expand Up @@ -34,8 +34,8 @@
* For more information about the signed URL usage see:
* https://cloud.google.com/storage/docs/access-control/signed-urls
*
* @param string $formattedName The name of function for which source code Google Cloud Storage signed
* URL should be generated. Please see
* @param string $formattedName The name of function for which source code Google Cloud Storage
* signed URL should be generated. Please see
* {@see FunctionServiceClient::functionName()} for help formatting this field.
*/
function generate_download_url_sample(string $formattedName): void
Expand Down
Expand Up @@ -52,8 +52,8 @@
*
* * `Authorization: Bearer YOUR_TOKEN`
*
* @param string $formattedParent The project and location in which the Google Cloud Storage signed URL
* should be generated, specified in the format `projects/*/locations/*`. Please see
* @param string $formattedParent The project and location in which the Google Cloud Storage signed
* URL should be generated, specified in the format `projects/*/locations/*`. Please see
* {@see FunctionServiceClient::locationName()} for help formatting this field.
*/
function generate_upload_url_sample(string $formattedParent): void
Expand Down
12 changes: 6 additions & 6 deletions Functions/samples/V2/FunctionServiceClient/list_functions.php
Expand Up @@ -31,12 +31,12 @@
/**
* Returns a list of functions that belong to the requested project.
*
* @param string $formattedParent The project and location from which the function should be listed,
* specified in the format `projects/*/locations/*`
* If you want to list functions in all locations, use "-" in place of a
* location. When listing functions in all locations, if one or more
* location(s) are unreachable, the response will contain functions from all
* reachable locations along with the names of any unreachable locations. Please see
* @param string $formattedParent The project and location from which the function should be
* listed, specified in the format `projects/*/locations/*` If you want to
* list functions in all locations, use "-" in place of a location. When
* listing functions in all locations, if one or more location(s) are
* unreachable, the response will contain functions from all reachable
* locations along with the names of any unreachable locations. Please see
* {@see FunctionServiceClient::locationName()} for help formatting this field.
*/
function list_functions_sample(string $formattedParent): void
Expand Down
4 changes: 2 additions & 2 deletions Functions/samples/V2/FunctionServiceClient/list_runtimes.php
Expand Up @@ -30,8 +30,8 @@
/**
* Returns a list of runtimes that are supported for the requested project.
*
* @param string $formattedParent The project and location from which the runtimes should be listed,
* specified in the format `projects/*/locations/*`
* @param string $formattedParent The project and location from which the runtimes should be
* listed, specified in the format `projects/*/locations/*`
* Please see {@see FunctionServiceClient::locationName()} for help formatting this field.
*/
function list_runtimes_sample(string $formattedParent): void
Expand Down
88 changes: 73 additions & 15 deletions Functions/src/V2/BuildConfig.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

67 changes: 67 additions & 0 deletions Functions/src/V2/BuildConfig/DockerRegistry.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions Functions/src/V2/CreateFunctionRequest.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8e6f436

Please sign in to comment.