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
#### cloudfunctions:v2
The following keys were added:
- schemas.Function.properties.kmsKeyName.type (Total Keys: 1)
#### cloudfunctions:v2alpha
The following keys were added:
- schemas.Function.properties.kmsKeyName.type (Total Keys: 1)
#### cloudfunctions:v2beta
The following keys were added:
- schemas.Function.properties.kmsKeyName.type (Total Keys: 1)
Copy file name to clipboardExpand all lines: docs/dyn/cloudfunctions_v2.projects.locations.functions.html
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -188,6 +188,7 @@ <h3>Method Details</h3>
188
188
"trigger": "A String", # Output only. The resource name of the Eventarc trigger. The format of this field is `projects/{project}/locations/{region}/triggers/{trigger}`.
189
189
"triggerRegion": "A String", # The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.
190
190
},
191
+
"kmsKeyName": "A String", # Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
191
192
"labels": { # Labels associated with this Cloud Function.
192
193
"a_key": "A String",
193
194
},
@@ -344,6 +345,7 @@ <h3>Method Details</h3>
344
345
The object takes the form of:
345
346
346
347
{ # Request of `GenerateSourceUploadUrl` method.
348
+
"kmsKeyName": "A String", # Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function source code objects in intermediate Cloud Storage buckets. When you generate an upload url and upload your source code, it gets copied to an intermediate Cloud Storage bucket. The source code is then copied to a versioned directory in the sources bucket in the consumer project during the function deployment. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. The Google Cloud Functions service account (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/Project/Organization (least access preferred).
347
349
}
348
350
349
351
x__xgafv: string, V1 error format.
@@ -441,6 +443,7 @@ <h3>Method Details</h3>
441
443
"trigger": "A String", # Output only. The resource name of the Eventarc trigger. The format of this field is `projects/{project}/locations/{region}/triggers/{trigger}`.
442
444
"triggerRegion": "A String", # The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.
443
445
},
446
+
"kmsKeyName": "A String", # Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
444
447
"labels": { # Labels associated with this Cloud Function.
445
448
"a_key": "A String",
446
449
},
@@ -629,6 +632,7 @@ <h3>Method Details</h3>
629
632
"trigger": "A String", # Output only. The resource name of the Eventarc trigger. The format of this field is `projects/{project}/locations/{region}/triggers/{trigger}`.
630
633
"triggerRegion": "A String", # The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.
631
634
},
635
+
"kmsKeyName": "A String", # Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
632
636
"labels": { # Labels associated with this Cloud Function.
633
637
"a_key": "A String",
634
638
},
@@ -778,6 +782,7 @@ <h3>Method Details</h3>
778
782
"trigger": "A String", # Output only. The resource name of the Eventarc trigger. The format of this field is `projects/{project}/locations/{region}/triggers/{trigger}`.
779
783
"triggerRegion": "A String", # The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.
780
784
},
785
+
"kmsKeyName": "A String", # Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
781
786
"labels": { # Labels associated with this Cloud Function.
Copy file name to clipboardExpand all lines: docs/dyn/cloudfunctions_v2alpha.projects.locations.functions.html
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -188,6 +188,7 @@ <h3>Method Details</h3>
188
188
"trigger": "A String", # Output only. The resource name of the Eventarc trigger. The format of this field is `projects/{project}/locations/{region}/triggers/{trigger}`.
189
189
"triggerRegion": "A String", # The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.
190
190
},
191
+
"kmsKeyName": "A String", # Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
191
192
"labels": { # Labels associated with this Cloud Function.
192
193
"a_key": "A String",
193
194
},
@@ -344,6 +345,7 @@ <h3>Method Details</h3>
344
345
The object takes the form of:
345
346
346
347
{ # Request of `GenerateSourceUploadUrl` method.
348
+
"kmsKeyName": "A String", # Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function source code objects in intermediate Cloud Storage buckets. When you generate an upload url and upload your source code, it gets copied to an intermediate Cloud Storage bucket. The source code is then copied to a versioned directory in the sources bucket in the consumer project during the function deployment. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. The Google Cloud Functions service account (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/Project/Organization (least access preferred).
347
349
}
348
350
349
351
x__xgafv: string, V1 error format.
@@ -441,6 +443,7 @@ <h3>Method Details</h3>
441
443
"trigger": "A String", # Output only. The resource name of the Eventarc trigger. The format of this field is `projects/{project}/locations/{region}/triggers/{trigger}`.
442
444
"triggerRegion": "A String", # The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.
443
445
},
446
+
"kmsKeyName": "A String", # Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
444
447
"labels": { # Labels associated with this Cloud Function.
445
448
"a_key": "A String",
446
449
},
@@ -629,6 +632,7 @@ <h3>Method Details</h3>
629
632
"trigger": "A String", # Output only. The resource name of the Eventarc trigger. The format of this field is `projects/{project}/locations/{region}/triggers/{trigger}`.
630
633
"triggerRegion": "A String", # The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.
631
634
},
635
+
"kmsKeyName": "A String", # Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
632
636
"labels": { # Labels associated with this Cloud Function.
633
637
"a_key": "A String",
634
638
},
@@ -778,6 +782,7 @@ <h3>Method Details</h3>
778
782
"trigger": "A String", # Output only. The resource name of the Eventarc trigger. The format of this field is `projects/{project}/locations/{region}/triggers/{trigger}`.
779
783
"triggerRegion": "A String", # The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.
780
784
},
785
+
"kmsKeyName": "A String", # Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
781
786
"labels": { # Labels associated with this Cloud Function.
Copy file name to clipboardExpand all lines: docs/dyn/cloudfunctions_v2beta.projects.locations.functions.html
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -188,6 +188,7 @@ <h3>Method Details</h3>
188
188
"trigger": "A String", # Output only. The resource name of the Eventarc trigger. The format of this field is `projects/{project}/locations/{region}/triggers/{trigger}`.
189
189
"triggerRegion": "A String", # The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.
190
190
},
191
+
"kmsKeyName": "A String", # Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
191
192
"labels": { # Labels associated with this Cloud Function.
192
193
"a_key": "A String",
193
194
},
@@ -344,6 +345,7 @@ <h3>Method Details</h3>
344
345
The object takes the form of:
345
346
346
347
{ # Request of `GenerateSourceUploadUrl` method.
348
+
"kmsKeyName": "A String", # Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function source code objects in intermediate Cloud Storage buckets. When you generate an upload url and upload your source code, it gets copied to an intermediate Cloud Storage bucket. The source code is then copied to a versioned directory in the sources bucket in the consumer project during the function deployment. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. The Google Cloud Functions service account (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/Project/Organization (least access preferred).
347
349
}
348
350
349
351
x__xgafv: string, V1 error format.
@@ -441,6 +443,7 @@ <h3>Method Details</h3>
441
443
"trigger": "A String", # Output only. The resource name of the Eventarc trigger. The format of this field is `projects/{project}/locations/{region}/triggers/{trigger}`.
442
444
"triggerRegion": "A String", # The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.
443
445
},
446
+
"kmsKeyName": "A String", # Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
444
447
"labels": { # Labels associated with this Cloud Function.
445
448
"a_key": "A String",
446
449
},
@@ -629,6 +632,7 @@ <h3>Method Details</h3>
629
632
"trigger": "A String", # Output only. The resource name of the Eventarc trigger. The format of this field is `projects/{project}/locations/{region}/triggers/{trigger}`.
630
633
"triggerRegion": "A String", # The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.
631
634
},
635
+
"kmsKeyName": "A String", # Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
632
636
"labels": { # Labels associated with this Cloud Function.
633
637
"a_key": "A String",
634
638
},
@@ -778,6 +782,7 @@ <h3>Method Details</h3>
778
782
"trigger": "A String", # Output only. The resource name of the Eventarc trigger. The format of this field is `projects/{project}/locations/{region}/triggers/{trigger}`.
779
783
"triggerRegion": "A String", # The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or multi-region, or the global region. If not provided, defaults to the same region as the function.
780
784
},
785
+
"kmsKeyName": "A String", # Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
781
786
"labels": { # Labels associated with this Cloud Function.
"description": "An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service."
833
833
},
834
+
"kmsKeyName": {
835
+
"description": "Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.",
836
+
"type": "string"
837
+
},
834
838
"labels": {
835
839
"additionalProperties": {
836
840
"type": "string"
@@ -904,7 +908,12 @@
904
908
"GenerateUploadUrlRequest": {
905
909
"description": "Request of `GenerateSourceUploadUrl` method.",
906
910
"id": "GenerateUploadUrlRequest",
907
-
"properties": {},
911
+
"properties": {
912
+
"kmsKeyName": {
913
+
"description": "Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function source code objects in intermediate Cloud Storage buckets. When you generate an upload url and upload your source code, it gets copied to an intermediate Cloud Storage bucket. The source code is then copied to a versioned directory in the sources bucket in the consumer project during the function deployment. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. The Google Cloud Functions service account (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/Project/Organization (least access preferred).",
"description": "An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service."
833
833
},
834
+
"kmsKeyName": {
835
+
"description": "Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.",
836
+
"type": "string"
837
+
},
834
838
"labels": {
835
839
"additionalProperties": {
836
840
"type": "string"
@@ -904,7 +908,12 @@
904
908
"GenerateUploadUrlRequest": {
905
909
"description": "Request of `GenerateSourceUploadUrl` method.",
906
910
"id": "GenerateUploadUrlRequest",
907
-
"properties": {},
911
+
"properties": {
912
+
"kmsKeyName": {
913
+
"description": "Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function source code objects in intermediate Cloud Storage buckets. When you generate an upload url and upload your source code, it gets copied to an intermediate Cloud Storage bucket. The source code is then copied to a versioned directory in the sources bucket in the consumer project during the function deployment. It must match the pattern `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. The Google Cloud Functions service account (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/Project/Organization (least access preferred).",
0 commit comments