You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/dyn/cloudfunctions_v2.projects.locations.functions.html
+16-4
Original file line number
Diff line number
Diff line change
@@ -128,7 +128,9 @@ <h3>Method Details</h3>
128
128
{ # Describes a Cloud Function that contains user computation executed in response to an event. It encapsulates function and trigger configurations.
129
129
"buildConfig": { # Describes the Build step of the function that builds a container from the given source. # Describes the Build step of the function that builds a container from the given source.
130
130
"build": "A String", # Output only. The Cloud Build name of the latest successful deployment of the function.
131
-
"dockerRepository": "A String", # Optional. User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.
131
+
"buildpackStack": "A String", # Specifies one of the Google provided buildpack stacks.
132
+
"dockerRegistry": "A String", # Optional. Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. If `docker_repository` field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be overridden by the backend for eligible deployments.
133
+
"dockerRepository": "A String", # User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.
132
134
"entryPoint": "A String", # The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in `source_location`.
133
135
"environmentVariables": { # User-provided build-time environment variables for the function
134
136
"a_key": "A String",
@@ -221,6 +223,7 @@ <h3>Method Details</h3>
221
223
],
222
224
},
223
225
],
226
+
"securityLevel": "A String", # Optional. Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY.
224
227
"service": "A String", # Output only. Name of the service associated with a Function. The format of this field is `projects/{project}/locations/{region}/services/{service}`
225
228
"serviceAccountEmail": "A String", # The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`.
226
229
"timeoutSeconds": 42, # The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
@@ -376,7 +379,9 @@ <h3>Method Details</h3>
376
379
{ # Describes a Cloud Function that contains user computation executed in response to an event. It encapsulates function and trigger configurations.
377
380
"buildConfig": { # Describes the Build step of the function that builds a container from the given source. # Describes the Build step of the function that builds a container from the given source.
378
381
"build": "A String", # Output only. The Cloud Build name of the latest successful deployment of the function.
379
-
"dockerRepository": "A String", # Optional. User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.
382
+
"buildpackStack": "A String", # Specifies one of the Google provided buildpack stacks.
383
+
"dockerRegistry": "A String", # Optional. Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. If `docker_repository` field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be overridden by the backend for eligible deployments.
384
+
"dockerRepository": "A String", # User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.
380
385
"entryPoint": "A String", # The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in `source_location`.
381
386
"environmentVariables": { # User-provided build-time environment variables for the function
382
387
"a_key": "A String",
@@ -469,6 +474,7 @@ <h3>Method Details</h3>
469
474
],
470
475
},
471
476
],
477
+
"securityLevel": "A String", # Optional. Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY.
472
478
"service": "A String", # Output only. Name of the service associated with a Function. The format of this field is `projects/{project}/locations/{region}/services/{service}`
473
479
"serviceAccountEmail": "A String", # The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`.
474
480
"timeoutSeconds": 42, # The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
@@ -559,7 +565,9 @@ <h3>Method Details</h3>
559
565
{ # Describes a Cloud Function that contains user computation executed in response to an event. It encapsulates function and trigger configurations.
560
566
"buildConfig": { # Describes the Build step of the function that builds a container from the given source. # Describes the Build step of the function that builds a container from the given source.
561
567
"build": "A String", # Output only. The Cloud Build name of the latest successful deployment of the function.
562
-
"dockerRepository": "A String", # Optional. User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.
568
+
"buildpackStack": "A String", # Specifies one of the Google provided buildpack stacks.
569
+
"dockerRegistry": "A String", # Optional. Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. If `docker_repository` field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be overridden by the backend for eligible deployments.
570
+
"dockerRepository": "A String", # User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.
563
571
"entryPoint": "A String", # The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in `source_location`.
564
572
"environmentVariables": { # User-provided build-time environment variables for the function
565
573
"a_key": "A String",
@@ -652,6 +660,7 @@ <h3>Method Details</h3>
652
660
],
653
661
},
654
662
],
663
+
"securityLevel": "A String", # Optional. Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY.
655
664
"service": "A String", # Output only. Name of the service associated with a Function. The format of this field is `projects/{project}/locations/{region}/services/{service}`
656
665
"serviceAccountEmail": "A String", # The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`.
657
666
"timeoutSeconds": 42, # The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
@@ -703,7 +712,9 @@ <h3>Method Details</h3>
703
712
{ # Describes a Cloud Function that contains user computation executed in response to an event. It encapsulates function and trigger configurations.
704
713
"buildConfig": { # Describes the Build step of the function that builds a container from the given source. # Describes the Build step of the function that builds a container from the given source.
705
714
"build": "A String", # Output only. The Cloud Build name of the latest successful deployment of the function.
706
-
"dockerRepository": "A String", # Optional. User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.
715
+
"buildpackStack": "A String", # Specifies one of the Google provided buildpack stacks.
716
+
"dockerRegistry": "A String", # Optional. Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. If `docker_repository` field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be overridden by the backend for eligible deployments.
717
+
"dockerRepository": "A String", # User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.
707
718
"entryPoint": "A String", # The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in `source_location`.
708
719
"environmentVariables": { # User-provided build-time environment variables for the function
709
720
"a_key": "A String",
@@ -796,6 +807,7 @@ <h3>Method Details</h3>
796
807
],
797
808
},
798
809
],
810
+
"securityLevel": "A String", # Optional. Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st Gen functions; 2nd Gen functions are https ONLY.
799
811
"service": "A String", # Output only. Name of the service associated with a Function. The format of this field is `projects/{project}/locations/{region}/services/{service}`
800
812
"serviceAccountEmail": "A String", # The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`.
801
813
"timeoutSeconds": 42, # The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds.
0 commit comments