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_v1.projects.locations.functions.html
+20
Original file line number
Diff line number
Diff line change
@@ -157,6 +157,8 @@ <h3>Method Details</h3>
157
157
The object takes the form of:
158
158
159
159
{ # Describes a Cloud Function that contains user computation executed in response to an event. It encapsulate function and triggers configurations.
160
+
"automaticUpdatePolicy": { # Security patches are applied automatically to the runtime without requiring the function to be redeployed. # See the comment next to this message for more details.
161
+
},
160
162
"availableMemoryMb": 42, # The amount of memory in MB available for a function. Defaults to 256MB.
161
163
"buildEnvironmentVariables": { # Build environment variables that shall be available during build time.
162
164
"a_key": "A String",
@@ -193,6 +195,9 @@ <h3>Method Details</h3>
193
195
"minInstances": 42, # A lower bound for the number function instances that may coexist at a given time.
194
196
"name": "A String", # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
195
197
"network": "A String", # Deprecated: use vpc_connector
198
+
"onDeployUpdatePolicy": { # Security patches are only applied when a function is redeployed. # See the comment next to this message for more details.
199
+
"runtimeVersion": "A String", # Output only. contains the runtime version which was used during latest function deployment.
200
+
},
196
201
"runtime": "A String", # The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
{ # Configuration for a secret environment variable. It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable.
@@ -363,6 +368,8 @@ <h3>Method Details</h3>
363
368
An object of the form:
364
369
365
370
{ # Describes a Cloud Function that contains user computation executed in response to an event. It encapsulate function and triggers configurations.
371
+
"automaticUpdatePolicy": { # Security patches are applied automatically to the runtime without requiring the function to be redeployed. # See the comment next to this message for more details.
372
+
},
366
373
"availableMemoryMb": 42, # The amount of memory in MB available for a function. Defaults to 256MB.
367
374
"buildEnvironmentVariables": { # Build environment variables that shall be available during build time.
368
375
"a_key": "A String",
@@ -399,6 +406,9 @@ <h3>Method Details</h3>
399
406
"minInstances": 42, # A lower bound for the number function instances that may coexist at a given time.
400
407
"name": "A String", # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
401
408
"network": "A String", # Deprecated: use vpc_connector
409
+
"onDeployUpdatePolicy": { # Security patches are only applied when a function is redeployed. # See the comment next to this message for more details.
410
+
"runtimeVersion": "A String", # Output only. contains the runtime version which was used during latest function deployment.
411
+
},
402
412
"runtime": "A String", # The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
{ # Configuration for a secret environment variable. It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable.
@@ -505,6 +515,8 @@ <h3>Method Details</h3>
505
515
{ # Response for the `ListFunctions` method.
506
516
"functions": [ # The functions that match the request.
507
517
{ # Describes a Cloud Function that contains user computation executed in response to an event. It encapsulate function and triggers configurations.
518
+
"automaticUpdatePolicy": { # Security patches are applied automatically to the runtime without requiring the function to be redeployed. # See the comment next to this message for more details.
519
+
},
508
520
"availableMemoryMb": 42, # The amount of memory in MB available for a function. Defaults to 256MB.
509
521
"buildEnvironmentVariables": { # Build environment variables that shall be available during build time.
510
522
"a_key": "A String",
@@ -541,6 +553,9 @@ <h3>Method Details</h3>
541
553
"minInstances": 42, # A lower bound for the number function instances that may coexist at a given time.
542
554
"name": "A String", # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
543
555
"network": "A String", # Deprecated: use vpc_connector
556
+
"onDeployUpdatePolicy": { # Security patches are only applied when a function is redeployed. # See the comment next to this message for more details.
557
+
"runtimeVersion": "A String", # Output only. contains the runtime version which was used during latest function deployment.
558
+
},
544
559
"runtime": "A String", # The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
{ # Configuration for a secret environment variable. It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable.
@@ -610,6 +625,8 @@ <h3>Method Details</h3>
610
625
The object takes the form of:
611
626
612
627
{ # Describes a Cloud Function that contains user computation executed in response to an event. It encapsulate function and triggers configurations.
628
+
"automaticUpdatePolicy": { # Security patches are applied automatically to the runtime without requiring the function to be redeployed. # See the comment next to this message for more details.
629
+
},
613
630
"availableMemoryMb": 42, # The amount of memory in MB available for a function. Defaults to 256MB.
614
631
"buildEnvironmentVariables": { # Build environment variables that shall be available during build time.
615
632
"a_key": "A String",
@@ -646,6 +663,9 @@ <h3>Method Details</h3>
646
663
"minInstances": 42, # A lower bound for the number function instances that may coexist at a given time.
647
664
"name": "A String", # A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
648
665
"network": "A String", # Deprecated: use vpc_connector
666
+
"onDeployUpdatePolicy": { # Security patches are only applied when a function is redeployed. # See the comment next to this message for more details.
667
+
"runtimeVersion": "A String", # Output only. contains the runtime version which was used during latest function deployment.
668
+
},
649
669
"runtime": "A String", # The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
{ # Configuration for a secret environment variable. It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable.
"description": "Security patches are applied automatically to the runtime without requiring the function to be redeployed.",
608
+
"id": "AutomaticUpdatePolicy",
609
+
"properties": {},
610
+
"type": "object"
611
+
},
606
612
"Binding": {
607
613
"description": "Associates `members`, or principals, with a `role`.",
608
614
"id": "Binding",
@@ -659,6 +665,10 @@
659
665
"description": "Describes a Cloud Function that contains user computation executed in response to an event. It encapsulate function and triggers configurations.",
660
666
"id": "CloudFunction",
661
667
"properties": {
668
+
"automaticUpdatePolicy": {
669
+
"$ref": "AutomaticUpdatePolicy",
670
+
"description": "See the comment next to this message for more details."
671
+
},
662
672
"availableMemoryMb": {
663
673
"description": "The amount of memory in MB available for a function. Defaults to 256MB.",
664
674
"format": "int32",
@@ -772,6 +782,10 @@
772
782
"description": "Deprecated: use vpc_connector",
773
783
"type": "string"
774
784
},
785
+
"onDeployUpdatePolicy": {
786
+
"$ref": "OnDeployUpdatePolicy",
787
+
"description": "See the comment next to this message for more details."
788
+
},
775
789
"runtime": {
776
790
"description": "The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).",
777
791
"type": "string"
@@ -1617,6 +1631,18 @@
1617
1631
},
1618
1632
"type": "object"
1619
1633
},
1634
+
"OnDeployUpdatePolicy": {
1635
+
"description": "Security patches are only applied when a function is redeployed.",
1636
+
"id": "OnDeployUpdatePolicy",
1637
+
"properties": {
1638
+
"runtimeVersion": {
1639
+
"description": "Output only. contains the runtime version which was used during latest function deployment.",
1640
+
"readOnly": true,
1641
+
"type": "string"
1642
+
}
1643
+
},
1644
+
"type": "object"
1645
+
},
1620
1646
"Operation": {
1621
1647
"description": "This resource represents a long-running operation that is the result of a network API call.",
"description": "Optional. The hostname of the service that 1st Gen function should be observed. If no string is provided, the default service implementing the API will be used. For example, `storage.googleapis.com` is the default for all event types in the `google.storage` namespace. The field is only applicable to 1st Gen functions.",
789
+
"type": "string"
790
+
},
787
791
"serviceAccountEmail": {
788
792
"description": "Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is `run.routes.invoke`. If empty, defaults to the Compute Engine default service account: `{project_number}-compute@developer.gserviceaccount.com`.",
789
793
"type": "string"
@@ -1890,7 +1894,7 @@
1890
1894
"type": "boolean"
1891
1895
},
1892
1896
"availableCpu": {
1893
-
"description": "[Preview] The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: \"1\" indicates 1 vCPU",
1897
+
"description": "The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: \"1\" indicates 1 vCPU",
1894
1898
"type": "string"
1895
1899
},
1896
1900
"availableMemory": {
@@ -1926,7 +1930,7 @@
1926
1930
"type": "integer"
1927
1931
},
1928
1932
"maxInstanceRequestConcurrency": {
1929
-
"description": "[Preview] Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.",
1933
+
"description": "Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.",
"description": "Optional. The hostname of the service that 1st Gen function should be observed. If no string is provided, the default service implementing the API will be used. For example, `storage.googleapis.com` is the default for all event types in the `google.storage` namespace. The field is only applicable to 1st Gen functions.",
789
+
"type": "string"
790
+
},
787
791
"serviceAccountEmail": {
788
792
"description": "Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is `run.routes.invoke`. If empty, defaults to the Compute Engine default service account: `{project_number}-compute@developer.gserviceaccount.com`.",
789
793
"type": "string"
@@ -1890,7 +1894,7 @@
1890
1894
"type": "boolean"
1891
1895
},
1892
1896
"availableCpu": {
1893
-
"description": "[Preview] The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: \"1\" indicates 1 vCPU",
1897
+
"description": "The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: \"1\" indicates 1 vCPU",
1894
1898
"type": "string"
1895
1899
},
1896
1900
"availableMemory": {
@@ -1926,7 +1930,7 @@
1926
1930
"type": "integer"
1927
1931
},
1928
1932
"maxInstanceRequestConcurrency": {
1929
-
"description": "[Preview] Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.",
1933
+
"description": "Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.",
"description": "Optional. The hostname of the service that 1st Gen function should be observed. If no string is provided, the default service implementing the API will be used. For example, `storage.googleapis.com` is the default for all event types in the `google.storage` namespace. The field is only applicable to 1st Gen functions.",
789
+
"type": "string"
790
+
},
787
791
"serviceAccountEmail": {
788
792
"description": "Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is `run.routes.invoke`. If empty, defaults to the Compute Engine default service account: `{project_number}-compute@developer.gserviceaccount.com`.",
789
793
"type": "string"
@@ -1890,7 +1894,7 @@
1890
1894
"type": "boolean"
1891
1895
},
1892
1896
"availableCpu": {
1893
-
"description": "[Preview] The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: \"1\" indicates 1 vCPU",
1897
+
"description": "The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: \"1\" indicates 1 vCPU",
1894
1898
"type": "string"
1895
1899
},
1896
1900
"availableMemory": {
@@ -1926,7 +1930,7 @@
1926
1930
"type": "integer"
1927
1931
},
1928
1932
"maxInstanceRequestConcurrency": {
1929
-
"description": "[Preview] Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.",
1933
+
"description": "Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1.",
0 commit comments