Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [Functions] add available_cpu field #5974

Merged
merged 2 commits into from
Mar 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified Functions/metadata/V2/Functions.php
Binary file not shown.
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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.

Loading