Skip to content

Commit

Permalink
chore: Generate the JSON Schema (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Apr 6, 2023
1 parent 75b0290 commit 3b7685e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
},
"cryptoKeyName": {
"type": "string",
"description": "Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`."
"description": "Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`."
}
},
"additionalProperties": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
},
"cloudFunction": {
"type": "string",
"description": "The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: `projects/{project}/locations/{location}/functions/{function}`"
"description": "The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: `projects/{project}/locations/{location}/functions/{function}` This is a read-only field. Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value."
},
"gke": {
"$ref": "#/definitions/GKE",
Expand Down Expand Up @@ -248,7 +248,7 @@
"transport": {
"$ref": "#/definitions/Transport",
"additionalProperties": true,
"description": "Optional. To deliver messages, Eventarc might use other GCP products as a transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes."
"description": "Optional. To deliver messages, Eventarc might use other Google Cloud products as a transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes."
},
"labels": {
"additionalProperties": {
Expand All @@ -269,6 +269,10 @@
"type": "object",
"description": "Output only. The reason(s) why a trigger is in FAILED state."
},
"eventDataContentType": {
"type": "string",
"description": "Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data field. This is set to `application/json` if the value is not defined."
},
"etag": {
"type": "string",
"description": "Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on create requests to ensure that the client has an up-to-date value before proceeding."
Expand Down

0 comments on commit 3b7685e

Please sign in to comment.