Thanks to visit codestin.com
Credit goes to github.com

Skip to content
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
3 changes: 3 additions & 0 deletions goblet.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"cloudfunction_v2": {
"$ref": "https://raw.githubusercontent.com/goblet/goblet/main/utils/schema/references/cloudfunctions.v2.json#/schemas/Function"
},
"cloudrun": {
"$ref": "https://raw.githubusercontent.com/goblet/goblet/main/utils/schema/references/run.v2.json#/schemas/GoogleCloudRunV2Service"
},
"cloudrun_container": {
"$ref": "https://raw.githubusercontent.com/goblet/goblet/main/utils/schema/references/run.v2.json#/schemas/GoogleCloudRunV2Container"
},
Expand Down
3 changes: 3 additions & 0 deletions utils/schema/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@
}
}
},
"cloudrun": {
"$ref": "https://run.googleapis.com/$discovery/rest?version=v2#/schemas/GoogleCloudRunV2Service"
},
"cloudrun_revision": {
"$ref": "https://run.googleapis.com/$discovery/rest?version=v2#/schemas/GoogleCloudRunV2Revision"
},
Expand Down
2 changes: 1 addition & 1 deletion utils/schema/references/apigateway.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@
}
}
},
"revision": "20230906",
"revision": "20231010",
"rootUrl": "https://apigateway.googleapis.com/",
"schemas": {
"ApigatewayApi": {
Expand Down
30 changes: 29 additions & 1 deletion utils/schema/references/cloudbuild.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2319,7 +2319,7 @@
}
}
},
"revision": "20230907",
"revision": "20231017",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ApprovalConfig": {
Expand Down Expand Up @@ -2595,6 +2595,10 @@
"description": "Optional. The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection. This should be set if the Bitbucket Server instance is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the Bitbucket Server instance will be made over the public internet. Must be in the format `projects/{project}/global/networks/{network}`, where {project} is a project number or id and {network} is the name of a VPC network in the project.",
"type": "string"
},
"peeredNetworkIpRange": {
"description": "Immutable. IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. `192.168.0.0/29` would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size. `/16` would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of `/24` will be used. The field only has an effect if peered_network is set.",
"type": "string"
},
"secrets": {
"$ref": "#/schemas/BitbucketServerSecrets",
"description": "Required. Secret Manager secrets needed by the config."
Expand Down Expand Up @@ -4969,6 +4973,16 @@
"readOnly": true,
"type": "object"
},
"resolvedConnectedRepository": {
"$ref": "#/schemas/ConnectedRepository",
"description": "Output only. A copy of the build's `source.connected_repository`, if exists, with any revisions resolved.",
"readOnly": true
},
"resolvedGitSource": {
"$ref": "#/schemas/GitSource",
"description": "Output only. A copy of the build's `source.git_source`, if exists, with any revisions resolved.",
"readOnly": true
},
"resolvedRepoSource": {
"$ref": "#/schemas/RepoSource",
"description": "A copy of the build's `source.repo_source`, if exists, with any revisions resolved."
Expand Down Expand Up @@ -5027,6 +5041,20 @@
"object": {
"description": "Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.",
"type": "string"
},
"sourceFetcher": {
"description": "Optional. Option to specify the tool to fetch the source file for the build.",
"enum": [
"SOURCE_FETCHER_UNSPECIFIED",
"GSUTIL",
"GCS_FETCHER"
],
"enumDescriptions": [
"Unspecified defaults to GSUTIL.",
"Use the \"gsutil\" tool to download the source file.",
"Use the Cloud Storage Fetcher tool to download the source file."
],
"type": "string"
}
},
"type": "object"
Expand Down
8 changes: 7 additions & 1 deletion utils/schema/references/cloudfunctions.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,12 @@
"pattern": "^projects/[^/]+/locations/[^/]+/functions/[^/]+$",
"required": true,
"type": "string"
},
"versionId": {
"description": "Optional. The optional version of the function whose details should be obtained. The version of a 1st Gen function is an integer that starts from 1 and gets incremented on redeployments. Each deployment creates a config version of the underlying function. GCF may keep historical configs for old versions. This field can be specified to fetch the historical configs. Leave it blank or set to 0 to get the latest version of the function.",
"format": "int64",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
Expand Down Expand Up @@ -546,7 +552,7 @@
}
}
},
"revision": "20230907",
"revision": "20231012",
"rootUrl": "https://cloudfunctions.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down
2 changes: 1 addition & 1 deletion utils/schema/references/cloudfunctions.v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@
}
}
},
"revision": "20230907",
"revision": "20231012",
"rootUrl": "https://cloudfunctions.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down
77 changes: 76 additions & 1 deletion utils/schema/references/cloudtasks.v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,31 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getCmekConfig": {
"description": "Gets the CMEK config. Gets the Customer Managed Encryption Key configured with the Cloud Tasks lcoation. By default there is no kms_key configured.",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/cmekConfig",
"httpMethod": "GET",
"id": "cloudtasks.projects.locations.getCmekConfig",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The config. For example: projects/PROJECT_ID/locations/LOCATION_ID/CmekConfig`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/cmekConfig$",
"required": true,
"type": "string"
}
},
"path": "v2/{+name}",
"response": {
"$ref": "#/schemas/CmekConfig"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists information about the supported locations for this service.",
"flatPath": "v2/projects/{projectsId}/locations",
Expand Down Expand Up @@ -174,6 +199,40 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"updateCmekConfig": {
"description": "Creates or Updates a CMEK config. Updates the Customer Managed Encryption Key assotiated with the Cloud Tasks location (Creates if the key does not already exist). All new tasks created in the location will be encrypted at-rest with the KMS-key provided in the config.",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/cmekConfig",
"httpMethod": "PATCH",
"id": "cloudtasks.projects.locations.updateCmekConfig",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Output only. The config resource name which includes the project and location and must end in 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/cmekConfig$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "List of fields to be updated in this request.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v2/{+name}",
"request": {
"$ref": "#/schemas/CmekConfig"
},
"response": {
"$ref": "#/schemas/CmekConfig"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
Expand Down Expand Up @@ -685,7 +744,7 @@
}
}
},
"revision": "20230906",
"revision": "20230929",
"rootUrl": "https://cloudtasks.googleapis.com/",
"schemas": {
"AppEngineHttpRequest": {
Expand Down Expand Up @@ -810,6 +869,22 @@
},
"type": "object"
},
"CmekConfig": {
"description": "CMEK, or Customer Managed Encryption Keys, enables GCP products to put control over encryption and key management in their customer\u2019s hands.",
"id": "CmekConfig",
"properties": {
"kmsKey": {
"description": "Resource name of the Cloud KMS key, of the form `projects/PROJECT_ID/locations/LOCATION_ID/keyRings/KEY_RING_ID/cryptoKeys/KEY_ID`, that will be used to encrypt the Queues & Tasks in the region. Setting this as blank will turn off CMEK encryption.",
"type": "string"
},
"name": {
"description": "Output only. The config resource name which includes the project and location and must end in 'cmekConfig', in the format projects/PROJECT_ID/locations/LOCATION_ID/cmekConfig`",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"CreateTaskRequest": {
"description": "Request message for CreateTask.",
"id": "CreateTaskRequest",
Expand Down
Loading