google-api-python-client 2.169.0__py3-none-any.whl → 2.170.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {google_api_python_client-2.169.0.dist-info → google_api_python_client-2.170.0.dist-info}/METADATA +1 -1
- {google_api_python_client-2.169.0.dist-info → google_api_python_client-2.170.0.dist-info}/RECORD +171 -166
- googleapiclient/discovery_cache/documents/admin.directory_v1.json +28 -4
- googleapiclient/discovery_cache/documents/admin.directoryv1.json +28 -4
- googleapiclient/discovery_cache/documents/admin.reports_v1.json +4 -4
- googleapiclient/discovery_cache/documents/admin.reportsv1.json +4 -4
- googleapiclient/discovery_cache/documents/adsense.v2.json +2 -2
- googleapiclient/discovery_cache/documents/aiplatform.v1.json +167 -17
- googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json +335 -187
- googleapiclient/discovery_cache/documents/alloydb.v1.json +68 -11
- googleapiclient/discovery_cache/documents/alloydb.v1alpha.json +68 -11
- googleapiclient/discovery_cache/documents/alloydb.v1beta.json +68 -11
- googleapiclient/discovery_cache/documents/analyticshub.v1.json +37 -36
- googleapiclient/discovery_cache/documents/analyticshub.v1beta1.json +71 -19
- googleapiclient/discovery_cache/documents/androidmanagement.v1.json +598 -16
- googleapiclient/discovery_cache/documents/androidpublisher.v3.json +465 -6
- googleapiclient/discovery_cache/documents/apigee.v1.json +14 -12
- googleapiclient/discovery_cache/documents/apihub.v1.json +5865 -0
- googleapiclient/discovery_cache/documents/appengine.v1.json +111 -1
- googleapiclient/discovery_cache/documents/appengine.v1alpha.json +52 -1
- googleapiclient/discovery_cache/documents/appengine.v1beta.json +111 -1
- googleapiclient/discovery_cache/documents/artifactregistry.v1.json +31 -5
- googleapiclient/discovery_cache/documents/artifactregistry.v1beta1.json +29 -3
- googleapiclient/discovery_cache/documents/artifactregistry.v1beta2.json +13 -3
- googleapiclient/discovery_cache/documents/backupdr.v1.json +325 -3
- googleapiclient/discovery_cache/documents/bigquery.v2.json +52 -8
- googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json +25 -25
- googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json +283 -23
- googleapiclient/discovery_cache/documents/bigtableadmin.v2.json +7 -3
- googleapiclient/discovery_cache/documents/certificatemanager.v1.json +7 -1
- googleapiclient/discovery_cache/documents/chat.v1.json +41 -39
- googleapiclient/discovery_cache/documents/chromepolicy.v1.json +2 -2
- googleapiclient/discovery_cache/documents/civicinfo.v2.json +1 -391
- googleapiclient/discovery_cache/documents/cloudbuild.v1.json +45 -3
- googleapiclient/discovery_cache/documents/cloudfunctions.v1.json +12 -2
- googleapiclient/discovery_cache/documents/cloudfunctions.v2.json +2 -2
- googleapiclient/discovery_cache/documents/cloudfunctions.v2alpha.json +2 -2
- googleapiclient/discovery_cache/documents/cloudfunctions.v2beta.json +2 -2
- googleapiclient/discovery_cache/documents/cloudkms.v1.json +11 -6
- googleapiclient/discovery_cache/documents/cloudresourcemanager.v3.json +3 -4
- googleapiclient/discovery_cache/documents/compute.alpha.json +287 -48
- googleapiclient/discovery_cache/documents/compute.beta.json +25240 -22195
- googleapiclient/discovery_cache/documents/compute.v1.json +2567 -278
- googleapiclient/discovery_cache/documents/connectors.v1.json +907 -160
- googleapiclient/discovery_cache/documents/connectors.v2.json +8 -1
- googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json +1767 -256
- googleapiclient/discovery_cache/documents/container.v1.json +35 -1
- googleapiclient/discovery_cache/documents/container.v1beta1.json +35 -1
- googleapiclient/discovery_cache/documents/containeranalysis.v1.json +110 -8
- googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json +110 -10
- googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json +2 -2
- googleapiclient/discovery_cache/documents/datacatalog.v1.json +4 -4
- googleapiclient/discovery_cache/documents/datacatalog.v1beta1.json +3 -3
- googleapiclient/discovery_cache/documents/dataflow.v1b3.json +7 -3
- googleapiclient/discovery_cache/documents/datamigration.v1.json +41 -1
- googleapiclient/discovery_cache/documents/dataplex.v1.json +921 -30
- googleapiclient/discovery_cache/documents/datastream.v1.json +14 -4
- googleapiclient/discovery_cache/documents/developerconnect.v1.json +5 -3
- googleapiclient/discovery_cache/documents/dialogflow.v2.json +5 -1
- googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json +5 -1
- googleapiclient/discovery_cache/documents/discoveryengine.v1.json +393 -43
- googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json +375 -58
- googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json +389 -58
- googleapiclient/discovery_cache/documents/displayvideo.v2.json +4 -4
- googleapiclient/discovery_cache/documents/displayvideo.v3.json +41 -41
- googleapiclient/discovery_cache/documents/displayvideo.v4.json +35 -35
- googleapiclient/discovery_cache/documents/dlp.v2.json +4 -4
- googleapiclient/discovery_cache/documents/documentai.v1.json +4 -1
- googleapiclient/discovery_cache/documents/documentai.v1beta3.json +20 -1
- googleapiclient/discovery_cache/documents/doubleclicksearch.v2.json +2 -2
- googleapiclient/discovery_cache/documents/drive.v2.json +10 -4
- googleapiclient/discovery_cache/documents/drive.v3.json +15 -3
- googleapiclient/discovery_cache/documents/firebaseapphosting.v1.json +2642 -0
- googleapiclient/discovery_cache/documents/firebaseapphosting.v1beta.json +2714 -0
- googleapiclient/discovery_cache/documents/firebaseml.v2beta.json +14 -1
- googleapiclient/discovery_cache/documents/forms.v1.json +9 -9
- googleapiclient/discovery_cache/documents/gkebackup.v1.json +75 -1
- googleapiclient/discovery_cache/documents/gkehub.v1.json +3 -1
- googleapiclient/discovery_cache/documents/gkehub.v1alpha.json +5 -1
- googleapiclient/discovery_cache/documents/gkehub.v1beta.json +3 -1
- googleapiclient/discovery_cache/documents/gkehub.v2.json +3 -1
- googleapiclient/discovery_cache/documents/gkehub.v2alpha.json +3 -1
- googleapiclient/discovery_cache/documents/gkehub.v2beta.json +3 -1
- googleapiclient/discovery_cache/documents/gkeonprem.v1.json +6 -1
- googleapiclient/discovery_cache/documents/healthcare.v1.json +23 -23
- googleapiclient/discovery_cache/documents/healthcare.v1beta1.json +28 -28
- googleapiclient/discovery_cache/documents/iam.v1.json +21 -17
- googleapiclient/discovery_cache/documents/iam.v2.json +2 -2
- googleapiclient/discovery_cache/documents/iam.v2beta.json +2 -2
- googleapiclient/discovery_cache/documents/integrations.v1.json +403 -33
- googleapiclient/discovery_cache/documents/language.v1.json +3 -1
- googleapiclient/discovery_cache/documents/language.v1beta2.json +3 -1
- googleapiclient/discovery_cache/documents/language.v2.json +3 -1
- googleapiclient/discovery_cache/documents/lifesciences.v2beta.json +7 -1
- googleapiclient/discovery_cache/documents/managedkafka.v1.json +1897 -1
- googleapiclient/discovery_cache/documents/memcache.v1.json +11 -1
- googleapiclient/discovery_cache/documents/memcache.v1beta2.json +11 -1
- googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json +20 -20
- googleapiclient/discovery_cache/documents/merchantapi.datasources_v1beta.json +5 -5
- googleapiclient/discovery_cache/documents/merchantapi.issueresolution_v1beta.json +999 -0
- googleapiclient/discovery_cache/documents/merchantapi.lfp_v1beta.json +3 -3
- googleapiclient/discovery_cache/documents/merchantapi.ordertracking_v1beta.json +566 -0
- googleapiclient/discovery_cache/documents/merchantapi.reports_v1beta.json +2 -2
- googleapiclient/discovery_cache/documents/metastore.v1.json +37 -1
- googleapiclient/discovery_cache/documents/metastore.v1alpha.json +37 -1
- googleapiclient/discovery_cache/documents/metastore.v1beta.json +37 -1
- googleapiclient/discovery_cache/documents/migrationcenter.v1.json +48 -1
- googleapiclient/discovery_cache/documents/migrationcenter.v1alpha1.json +6 -4
- googleapiclient/discovery_cache/documents/monitoring.v1.json +6 -1
- googleapiclient/discovery_cache/documents/monitoring.v3.json +2 -2
- googleapiclient/discovery_cache/documents/netapp.v1.json +54 -2
- googleapiclient/discovery_cache/documents/netapp.v1beta1.json +53 -2
- googleapiclient/discovery_cache/documents/networkconnectivity.v1.json +148 -6
- googleapiclient/discovery_cache/documents/networkconnectivity.v1alpha1.json +2 -2
- googleapiclient/discovery_cache/documents/networkmanagement.v1.json +5 -3
- googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json +5 -3
- googleapiclient/discovery_cache/documents/networksecurity.v1.json +2 -2
- googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json +2 -2
- googleapiclient/discovery_cache/documents/networkservices.v1.json +36 -2
- googleapiclient/discovery_cache/documents/networkservices.v1beta1.json +73 -2
- googleapiclient/discovery_cache/documents/notebooks.v1.json +7 -1
- googleapiclient/discovery_cache/documents/notebooks.v2.json +53 -13
- googleapiclient/discovery_cache/documents/ondemandscanning.v1.json +96 -4
- googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json +96 -4
- googleapiclient/discovery_cache/documents/oracledatabase.v1.json +10 -5
- googleapiclient/discovery_cache/documents/osconfig.v1.json +37 -1
- googleapiclient/discovery_cache/documents/osconfig.v1alpha.json +37 -1
- googleapiclient/discovery_cache/documents/osconfig.v1beta.json +37 -1
- googleapiclient/discovery_cache/documents/osconfig.v2.json +40 -4
- googleapiclient/discovery_cache/documents/osconfig.v2beta.json +40 -4
- googleapiclient/discovery_cache/documents/oslogin.v1alpha.json +2 -2
- googleapiclient/discovery_cache/documents/oslogin.v1beta.json +2 -2
- googleapiclient/discovery_cache/documents/people.v1.json +2 -2
- googleapiclient/discovery_cache/documents/places.v1.json +8 -4
- googleapiclient/discovery_cache/documents/realtimebidding.v1.json +7 -1
- googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json +72 -1
- googleapiclient/discovery_cache/documents/reseller.v1.json +3 -3
- googleapiclient/discovery_cache/documents/retail.v2.json +8 -20
- googleapiclient/discovery_cache/documents/retail.v2alpha.json +1 -6
- googleapiclient/discovery_cache/documents/retail.v2beta.json +15 -21
- googleapiclient/discovery_cache/documents/run.v1.json +93 -2
- googleapiclient/discovery_cache/documents/run.v2.json +61 -26
- googleapiclient/discovery_cache/documents/securitycenter.v1.json +85 -2
- googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json +81 -1
- googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json +81 -1
- googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json +2 -2
- googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json +2 -2
- googleapiclient/discovery_cache/documents/servicecontrol.v2.json +3 -3
- googleapiclient/discovery_cache/documents/servicemanagement.v1.json +2 -2
- googleapiclient/discovery_cache/documents/servicenetworking.v1.json +2 -2
- googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json +2 -2
- googleapiclient/discovery_cache/documents/serviceusage.v1.json +2 -2
- googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json +2 -2
- googleapiclient/discovery_cache/documents/sheets.v4.json +17 -1
- googleapiclient/discovery_cache/documents/solar.v1.json +7 -7
- googleapiclient/discovery_cache/documents/sqladmin.v1.json +107 -22
- googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json +103 -21
- googleapiclient/discovery_cache/documents/storage.v1.json +24 -4
- googleapiclient/discovery_cache/documents/storagetransfer.v1.json +30 -5
- googleapiclient/discovery_cache/documents/sts.v1.json +6 -1
- googleapiclient/discovery_cache/documents/sts.v1beta.json +6 -1
- googleapiclient/discovery_cache/documents/texttospeech.v1.json +11 -3
- googleapiclient/discovery_cache/documents/texttospeech.v1beta1.json +11 -3
- googleapiclient/discovery_cache/documents/trafficdirector.v3.json +6 -2
- googleapiclient/discovery_cache/documents/walletobjects.v1.json +23 -23
- googleapiclient/discovery_cache/documents/workloadmanager.v1.json +5 -251
- googleapiclient/discovery_cache/documents/workspaceevents.v1.json +2 -2
- googleapiclient/version.py +1 -1
- {google_api_python_client-2.169.0.dist-info → google_api_python_client-2.170.0.dist-info}/LICENSE +0 -0
- {google_api_python_client-2.169.0.dist-info → google_api_python_client-2.170.0.dist-info}/WHEEL +0 -0
- {google_api_python_client-2.169.0.dist-info → google_api_python_client-2.170.0.dist-info}/top_level.txt +0 -0
|
@@ -1436,13 +1436,1440 @@
|
|
|
1436
1436
|
]
|
|
1437
1437
|
}
|
|
1438
1438
|
}
|
|
1439
|
+
},
|
|
1440
|
+
"schemaRegistries": {
|
|
1441
|
+
"methods": {
|
|
1442
|
+
"create": {
|
|
1443
|
+
"description": "Create a schema registry instance.",
|
|
1444
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries",
|
|
1445
|
+
"httpMethod": "POST",
|
|
1446
|
+
"id": "managedkafka.projects.locations.schemaRegistries.create",
|
|
1447
|
+
"parameterOrder": [
|
|
1448
|
+
"parent"
|
|
1449
|
+
],
|
|
1450
|
+
"parameters": {
|
|
1451
|
+
"parent": {
|
|
1452
|
+
"description": "Required. The parent whose schema registry instance is to be created. Structured like: `projects/{project}/locations/{location}`",
|
|
1453
|
+
"location": "path",
|
|
1454
|
+
"pattern": "^projects/[^/]+/locations/[^/]+$",
|
|
1455
|
+
"required": true,
|
|
1456
|
+
"type": "string"
|
|
1457
|
+
}
|
|
1458
|
+
},
|
|
1459
|
+
"path": "v1/{+parent}/schemaRegistries",
|
|
1460
|
+
"request": {
|
|
1461
|
+
"$ref": "CreateSchemaRegistryRequest"
|
|
1462
|
+
},
|
|
1463
|
+
"response": {
|
|
1464
|
+
"$ref": "SchemaRegistry"
|
|
1465
|
+
},
|
|
1466
|
+
"scopes": [
|
|
1467
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1468
|
+
]
|
|
1469
|
+
},
|
|
1470
|
+
"delete": {
|
|
1471
|
+
"description": "Delete a schema registry instance.",
|
|
1472
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}",
|
|
1473
|
+
"httpMethod": "DELETE",
|
|
1474
|
+
"id": "managedkafka.projects.locations.schemaRegistries.delete",
|
|
1475
|
+
"parameterOrder": [
|
|
1476
|
+
"name"
|
|
1477
|
+
],
|
|
1478
|
+
"parameters": {
|
|
1479
|
+
"name": {
|
|
1480
|
+
"description": "Required. The name of the schema registry instance to delete. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}`",
|
|
1481
|
+
"location": "path",
|
|
1482
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+$",
|
|
1483
|
+
"required": true,
|
|
1484
|
+
"type": "string"
|
|
1485
|
+
}
|
|
1486
|
+
},
|
|
1487
|
+
"path": "v1/{+name}",
|
|
1488
|
+
"response": {
|
|
1489
|
+
"$ref": "Empty"
|
|
1490
|
+
},
|
|
1491
|
+
"scopes": [
|
|
1492
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1493
|
+
]
|
|
1494
|
+
},
|
|
1495
|
+
"get": {
|
|
1496
|
+
"description": "Get the schema registry instance.",
|
|
1497
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}",
|
|
1498
|
+
"httpMethod": "GET",
|
|
1499
|
+
"id": "managedkafka.projects.locations.schemaRegistries.get",
|
|
1500
|
+
"parameterOrder": [
|
|
1501
|
+
"name"
|
|
1502
|
+
],
|
|
1503
|
+
"parameters": {
|
|
1504
|
+
"name": {
|
|
1505
|
+
"description": "Required. The name of the schema registry instance to return. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}`",
|
|
1506
|
+
"location": "path",
|
|
1507
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+$",
|
|
1508
|
+
"required": true,
|
|
1509
|
+
"type": "string"
|
|
1510
|
+
}
|
|
1511
|
+
},
|
|
1512
|
+
"path": "v1/{+name}",
|
|
1513
|
+
"response": {
|
|
1514
|
+
"$ref": "SchemaRegistry"
|
|
1515
|
+
},
|
|
1516
|
+
"scopes": [
|
|
1517
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1518
|
+
]
|
|
1519
|
+
},
|
|
1520
|
+
"list": {
|
|
1521
|
+
"description": "List schema registries.",
|
|
1522
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries",
|
|
1523
|
+
"httpMethod": "GET",
|
|
1524
|
+
"id": "managedkafka.projects.locations.schemaRegistries.list",
|
|
1525
|
+
"parameterOrder": [
|
|
1526
|
+
"parent"
|
|
1527
|
+
],
|
|
1528
|
+
"parameters": {
|
|
1529
|
+
"parent": {
|
|
1530
|
+
"description": "Required. The parent whose schema registry instances are to be listed. Structured like: `projects/{project}/locations/{location}`",
|
|
1531
|
+
"location": "path",
|
|
1532
|
+
"pattern": "^projects/[^/]+/locations/[^/]+$",
|
|
1533
|
+
"required": true,
|
|
1534
|
+
"type": "string"
|
|
1535
|
+
}
|
|
1536
|
+
},
|
|
1537
|
+
"path": "v1/{+parent}/schemaRegistries",
|
|
1538
|
+
"response": {
|
|
1539
|
+
"$ref": "ListSchemaRegistriesResponse"
|
|
1540
|
+
},
|
|
1541
|
+
"scopes": [
|
|
1542
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1543
|
+
]
|
|
1544
|
+
}
|
|
1545
|
+
},
|
|
1546
|
+
"resources": {
|
|
1547
|
+
"compatibility": {
|
|
1548
|
+
"methods": {
|
|
1549
|
+
"checkCompatibility": {
|
|
1550
|
+
"description": "Check compatibility of a schema with all versions or a specific version of a subject.",
|
|
1551
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/compatibility/{compatibilityId}",
|
|
1552
|
+
"httpMethod": "POST",
|
|
1553
|
+
"id": "managedkafka.projects.locations.schemaRegistries.compatibility.checkCompatibility",
|
|
1554
|
+
"parameterOrder": [
|
|
1555
|
+
"name"
|
|
1556
|
+
],
|
|
1557
|
+
"parameters": {
|
|
1558
|
+
"name": {
|
|
1559
|
+
"description": "Required. The name of the resource to check compatibility for. The format is either of following: * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/compatibility/subjects/*/versions: Check compatibility with one or more versions of the specified subject. * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/compatibility/subjects/{subject}/versions/{version}: Check compatibility with a specific version of the subject.",
|
|
1560
|
+
"location": "path",
|
|
1561
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/compatibility/.*$",
|
|
1562
|
+
"required": true,
|
|
1563
|
+
"type": "string"
|
|
1564
|
+
}
|
|
1565
|
+
},
|
|
1566
|
+
"path": "v1/{+name}",
|
|
1567
|
+
"request": {
|
|
1568
|
+
"$ref": "CheckCompatibilityRequest"
|
|
1569
|
+
},
|
|
1570
|
+
"response": {
|
|
1571
|
+
"$ref": "CheckCompatibilityResponse"
|
|
1572
|
+
},
|
|
1573
|
+
"scopes": [
|
|
1574
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1575
|
+
]
|
|
1576
|
+
}
|
|
1577
|
+
}
|
|
1578
|
+
},
|
|
1579
|
+
"config": {
|
|
1580
|
+
"methods": {
|
|
1581
|
+
"delete": {
|
|
1582
|
+
"description": "Delete schema config for a subject.",
|
|
1583
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/config/{configId}",
|
|
1584
|
+
"httpMethod": "DELETE",
|
|
1585
|
+
"id": "managedkafka.projects.locations.schemaRegistries.config.delete",
|
|
1586
|
+
"parameterOrder": [
|
|
1587
|
+
"name"
|
|
1588
|
+
],
|
|
1589
|
+
"parameters": {
|
|
1590
|
+
"name": {
|
|
1591
|
+
"description": "Required. The resource name of subject to delete the config for. The format is * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}",
|
|
1592
|
+
"location": "path",
|
|
1593
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/config/.*$",
|
|
1594
|
+
"required": true,
|
|
1595
|
+
"type": "string"
|
|
1596
|
+
}
|
|
1597
|
+
},
|
|
1598
|
+
"path": "v1/{+name}",
|
|
1599
|
+
"response": {
|
|
1600
|
+
"$ref": "SchemaConfig"
|
|
1601
|
+
},
|
|
1602
|
+
"scopes": [
|
|
1603
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1604
|
+
]
|
|
1605
|
+
},
|
|
1606
|
+
"get": {
|
|
1607
|
+
"description": "Get schema config at global level or for a subject.",
|
|
1608
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/config/{configId}",
|
|
1609
|
+
"httpMethod": "GET",
|
|
1610
|
+
"id": "managedkafka.projects.locations.schemaRegistries.config.get",
|
|
1611
|
+
"parameterOrder": [
|
|
1612
|
+
"name"
|
|
1613
|
+
],
|
|
1614
|
+
"parameters": {
|
|
1615
|
+
"defaultToGlobal": {
|
|
1616
|
+
"description": "Optional. If true, the config will fall back to the config at the global level if no subject level config is found.",
|
|
1617
|
+
"location": "query",
|
|
1618
|
+
"type": "boolean"
|
|
1619
|
+
},
|
|
1620
|
+
"name": {
|
|
1621
|
+
"description": "Required. The resource name to get the config for. It can be either of following: * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config: Get config at global level. * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}: Get config for a specific subject.",
|
|
1622
|
+
"location": "path",
|
|
1623
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/config/.*$",
|
|
1624
|
+
"required": true,
|
|
1625
|
+
"type": "string"
|
|
1626
|
+
}
|
|
1627
|
+
},
|
|
1628
|
+
"path": "v1/{+name}",
|
|
1629
|
+
"response": {
|
|
1630
|
+
"$ref": "SchemaConfig"
|
|
1631
|
+
},
|
|
1632
|
+
"scopes": [
|
|
1633
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1634
|
+
]
|
|
1635
|
+
},
|
|
1636
|
+
"update": {
|
|
1637
|
+
"description": "Update config at global level or for a subject. Creates a SchemaSubject-level SchemaConfig if it does not exist.",
|
|
1638
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/config/{configId}",
|
|
1639
|
+
"httpMethod": "PUT",
|
|
1640
|
+
"id": "managedkafka.projects.locations.schemaRegistries.config.update",
|
|
1641
|
+
"parameterOrder": [
|
|
1642
|
+
"name"
|
|
1643
|
+
],
|
|
1644
|
+
"parameters": {
|
|
1645
|
+
"name": {
|
|
1646
|
+
"description": "Required. The resource name to update the config for. It can be either of following: * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config: Update config at global level. * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}: Update config for a specific subject.",
|
|
1647
|
+
"location": "path",
|
|
1648
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/config/.*$",
|
|
1649
|
+
"required": true,
|
|
1650
|
+
"type": "string"
|
|
1651
|
+
}
|
|
1652
|
+
},
|
|
1653
|
+
"path": "v1/{+name}",
|
|
1654
|
+
"request": {
|
|
1655
|
+
"$ref": "UpdateSchemaConfigRequest"
|
|
1656
|
+
},
|
|
1657
|
+
"response": {
|
|
1658
|
+
"$ref": "SchemaConfig"
|
|
1659
|
+
},
|
|
1660
|
+
"scopes": [
|
|
1661
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1662
|
+
]
|
|
1663
|
+
}
|
|
1664
|
+
}
|
|
1665
|
+
},
|
|
1666
|
+
"contexts": {
|
|
1667
|
+
"methods": {
|
|
1668
|
+
"get": {
|
|
1669
|
+
"description": "Get the context.",
|
|
1670
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}",
|
|
1671
|
+
"httpMethod": "GET",
|
|
1672
|
+
"id": "managedkafka.projects.locations.schemaRegistries.contexts.get",
|
|
1673
|
+
"parameterOrder": [
|
|
1674
|
+
"name"
|
|
1675
|
+
],
|
|
1676
|
+
"parameters": {
|
|
1677
|
+
"name": {
|
|
1678
|
+
"description": "Required. The name of the context to return. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}`",
|
|
1679
|
+
"location": "path",
|
|
1680
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+$",
|
|
1681
|
+
"required": true,
|
|
1682
|
+
"type": "string"
|
|
1683
|
+
}
|
|
1684
|
+
},
|
|
1685
|
+
"path": "v1/{+name}",
|
|
1686
|
+
"response": {
|
|
1687
|
+
"$ref": "Context"
|
|
1688
|
+
},
|
|
1689
|
+
"scopes": [
|
|
1690
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1691
|
+
]
|
|
1692
|
+
},
|
|
1693
|
+
"list": {
|
|
1694
|
+
"description": "List contexts for a schema registry.",
|
|
1695
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts",
|
|
1696
|
+
"httpMethod": "GET",
|
|
1697
|
+
"id": "managedkafka.projects.locations.schemaRegistries.contexts.list",
|
|
1698
|
+
"parameterOrder": [
|
|
1699
|
+
"parent"
|
|
1700
|
+
],
|
|
1701
|
+
"parameters": {
|
|
1702
|
+
"parent": {
|
|
1703
|
+
"description": "Required. The parent of the contexts. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}`",
|
|
1704
|
+
"location": "path",
|
|
1705
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+$",
|
|
1706
|
+
"required": true,
|
|
1707
|
+
"type": "string"
|
|
1708
|
+
}
|
|
1709
|
+
},
|
|
1710
|
+
"path": "v1/{+parent}/contexts",
|
|
1711
|
+
"response": {
|
|
1712
|
+
"$ref": "HttpBody"
|
|
1713
|
+
},
|
|
1714
|
+
"scopes": [
|
|
1715
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1716
|
+
]
|
|
1717
|
+
}
|
|
1718
|
+
},
|
|
1719
|
+
"resources": {
|
|
1720
|
+
"compatibility": {
|
|
1721
|
+
"methods": {
|
|
1722
|
+
"checkCompatibility": {
|
|
1723
|
+
"description": "Check compatibility of a schema with all versions or a specific version of a subject.",
|
|
1724
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/compatibility/{compatibilityId}",
|
|
1725
|
+
"httpMethod": "POST",
|
|
1726
|
+
"id": "managedkafka.projects.locations.schemaRegistries.contexts.compatibility.checkCompatibility",
|
|
1727
|
+
"parameterOrder": [
|
|
1728
|
+
"name"
|
|
1729
|
+
],
|
|
1730
|
+
"parameters": {
|
|
1731
|
+
"name": {
|
|
1732
|
+
"description": "Required. The name of the resource to check compatibility for. The format is either of following: * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/compatibility/subjects/*/versions: Check compatibility with one or more versions of the specified subject. * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/compatibility/subjects/{subject}/versions/{version}: Check compatibility with a specific version of the subject.",
|
|
1733
|
+
"location": "path",
|
|
1734
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/compatibility/.*$",
|
|
1735
|
+
"required": true,
|
|
1736
|
+
"type": "string"
|
|
1737
|
+
}
|
|
1738
|
+
},
|
|
1739
|
+
"path": "v1/{+name}",
|
|
1740
|
+
"request": {
|
|
1741
|
+
"$ref": "CheckCompatibilityRequest"
|
|
1742
|
+
},
|
|
1743
|
+
"response": {
|
|
1744
|
+
"$ref": "CheckCompatibilityResponse"
|
|
1745
|
+
},
|
|
1746
|
+
"scopes": [
|
|
1747
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1748
|
+
]
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
},
|
|
1752
|
+
"config": {
|
|
1753
|
+
"methods": {
|
|
1754
|
+
"delete": {
|
|
1755
|
+
"description": "Delete schema config for a subject.",
|
|
1756
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/config/{configId}",
|
|
1757
|
+
"httpMethod": "DELETE",
|
|
1758
|
+
"id": "managedkafka.projects.locations.schemaRegistries.contexts.config.delete",
|
|
1759
|
+
"parameterOrder": [
|
|
1760
|
+
"name"
|
|
1761
|
+
],
|
|
1762
|
+
"parameters": {
|
|
1763
|
+
"name": {
|
|
1764
|
+
"description": "Required. The resource name of subject to delete the config for. The format is * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}",
|
|
1765
|
+
"location": "path",
|
|
1766
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/config/.*$",
|
|
1767
|
+
"required": true,
|
|
1768
|
+
"type": "string"
|
|
1769
|
+
}
|
|
1770
|
+
},
|
|
1771
|
+
"path": "v1/{+name}",
|
|
1772
|
+
"response": {
|
|
1773
|
+
"$ref": "SchemaConfig"
|
|
1774
|
+
},
|
|
1775
|
+
"scopes": [
|
|
1776
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1777
|
+
]
|
|
1778
|
+
},
|
|
1779
|
+
"get": {
|
|
1780
|
+
"description": "Get schema config at global level or for a subject.",
|
|
1781
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/config/{configId}",
|
|
1782
|
+
"httpMethod": "GET",
|
|
1783
|
+
"id": "managedkafka.projects.locations.schemaRegistries.contexts.config.get",
|
|
1784
|
+
"parameterOrder": [
|
|
1785
|
+
"name"
|
|
1786
|
+
],
|
|
1787
|
+
"parameters": {
|
|
1788
|
+
"defaultToGlobal": {
|
|
1789
|
+
"description": "Optional. If true, the config will fall back to the config at the global level if no subject level config is found.",
|
|
1790
|
+
"location": "query",
|
|
1791
|
+
"type": "boolean"
|
|
1792
|
+
},
|
|
1793
|
+
"name": {
|
|
1794
|
+
"description": "Required. The resource name to get the config for. It can be either of following: * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config: Get config at global level. * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}: Get config for a specific subject.",
|
|
1795
|
+
"location": "path",
|
|
1796
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/config/.*$",
|
|
1797
|
+
"required": true,
|
|
1798
|
+
"type": "string"
|
|
1799
|
+
}
|
|
1800
|
+
},
|
|
1801
|
+
"path": "v1/{+name}",
|
|
1802
|
+
"response": {
|
|
1803
|
+
"$ref": "SchemaConfig"
|
|
1804
|
+
},
|
|
1805
|
+
"scopes": [
|
|
1806
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1807
|
+
]
|
|
1808
|
+
},
|
|
1809
|
+
"update": {
|
|
1810
|
+
"description": "Update config at global level or for a subject. Creates a SchemaSubject-level SchemaConfig if it does not exist.",
|
|
1811
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/config/{configId}",
|
|
1812
|
+
"httpMethod": "PUT",
|
|
1813
|
+
"id": "managedkafka.projects.locations.schemaRegistries.contexts.config.update",
|
|
1814
|
+
"parameterOrder": [
|
|
1815
|
+
"name"
|
|
1816
|
+
],
|
|
1817
|
+
"parameters": {
|
|
1818
|
+
"name": {
|
|
1819
|
+
"description": "Required. The resource name to update the config for. It can be either of following: * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config: Update config at global level. * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}: Update config for a specific subject.",
|
|
1820
|
+
"location": "path",
|
|
1821
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/config/.*$",
|
|
1822
|
+
"required": true,
|
|
1823
|
+
"type": "string"
|
|
1824
|
+
}
|
|
1825
|
+
},
|
|
1826
|
+
"path": "v1/{+name}",
|
|
1827
|
+
"request": {
|
|
1828
|
+
"$ref": "UpdateSchemaConfigRequest"
|
|
1829
|
+
},
|
|
1830
|
+
"response": {
|
|
1831
|
+
"$ref": "SchemaConfig"
|
|
1832
|
+
},
|
|
1833
|
+
"scopes": [
|
|
1834
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1835
|
+
]
|
|
1836
|
+
}
|
|
1837
|
+
}
|
|
1838
|
+
},
|
|
1839
|
+
"mode": {
|
|
1840
|
+
"methods": {
|
|
1841
|
+
"get": {
|
|
1842
|
+
"description": "Get mode at global level or for a subject.",
|
|
1843
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/mode/{modeId}",
|
|
1844
|
+
"httpMethod": "GET",
|
|
1845
|
+
"id": "managedkafka.projects.locations.schemaRegistries.contexts.mode.get",
|
|
1846
|
+
"parameterOrder": [
|
|
1847
|
+
"name"
|
|
1848
|
+
],
|
|
1849
|
+
"parameters": {
|
|
1850
|
+
"name": {
|
|
1851
|
+
"description": "Required. The resource name of the mode. The format is * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject}: mode for a schema registry, or * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject}: mode for a specific subject in a specific context",
|
|
1852
|
+
"location": "path",
|
|
1853
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/mode/.*$",
|
|
1854
|
+
"required": true,
|
|
1855
|
+
"type": "string"
|
|
1856
|
+
}
|
|
1857
|
+
},
|
|
1858
|
+
"path": "v1/{+name}",
|
|
1859
|
+
"response": {
|
|
1860
|
+
"$ref": "SchemaMode"
|
|
1861
|
+
},
|
|
1862
|
+
"scopes": [
|
|
1863
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1864
|
+
]
|
|
1865
|
+
},
|
|
1866
|
+
"update": {
|
|
1867
|
+
"description": "Update mode at global level or for a subject.",
|
|
1868
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/mode/{modeId}",
|
|
1869
|
+
"httpMethod": "PUT",
|
|
1870
|
+
"id": "managedkafka.projects.locations.schemaRegistries.contexts.mode.update",
|
|
1871
|
+
"parameterOrder": [
|
|
1872
|
+
"name"
|
|
1873
|
+
],
|
|
1874
|
+
"parameters": {
|
|
1875
|
+
"name": {
|
|
1876
|
+
"description": "Required. The resource name of the mode. The format is * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject}: mode for a schema registry, or * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject}: mode for a specific subject in a specific context",
|
|
1877
|
+
"location": "path",
|
|
1878
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/mode/.*$",
|
|
1879
|
+
"required": true,
|
|
1880
|
+
"type": "string"
|
|
1881
|
+
}
|
|
1882
|
+
},
|
|
1883
|
+
"path": "v1/{+name}",
|
|
1884
|
+
"request": {
|
|
1885
|
+
"$ref": "UpdateSchemaModeRequest"
|
|
1886
|
+
},
|
|
1887
|
+
"response": {
|
|
1888
|
+
"$ref": "SchemaMode"
|
|
1889
|
+
},
|
|
1890
|
+
"scopes": [
|
|
1891
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1892
|
+
]
|
|
1893
|
+
}
|
|
1894
|
+
}
|
|
1895
|
+
},
|
|
1896
|
+
"schemas": {
|
|
1897
|
+
"methods": {
|
|
1898
|
+
"get": {
|
|
1899
|
+
"description": "Get the schema for the given schema id.",
|
|
1900
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/schemas/{schemasId}",
|
|
1901
|
+
"httpMethod": "GET",
|
|
1902
|
+
"id": "managedkafka.projects.locations.schemaRegistries.contexts.schemas.get",
|
|
1903
|
+
"parameterOrder": [
|
|
1904
|
+
"name"
|
|
1905
|
+
],
|
|
1906
|
+
"parameters": {
|
|
1907
|
+
"name": {
|
|
1908
|
+
"description": "Required. The name of the schema to return. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}`",
|
|
1909
|
+
"location": "path",
|
|
1910
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/schemas/.*$",
|
|
1911
|
+
"required": true,
|
|
1912
|
+
"type": "string"
|
|
1913
|
+
},
|
|
1914
|
+
"subject": {
|
|
1915
|
+
"description": "Optional. Used to limit the search for the schema ID to a specific subject, otherwise the schema ID will be searched for in all subjects in the given specified context.",
|
|
1916
|
+
"location": "query",
|
|
1917
|
+
"type": "string"
|
|
1918
|
+
}
|
|
1919
|
+
},
|
|
1920
|
+
"path": "v1/{+name}",
|
|
1921
|
+
"response": {
|
|
1922
|
+
"$ref": "Schema"
|
|
1923
|
+
},
|
|
1924
|
+
"scopes": [
|
|
1925
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1926
|
+
]
|
|
1927
|
+
},
|
|
1928
|
+
"getSchema": {
|
|
1929
|
+
"description": "Get the schema string for the given schema id. The response will be the schema string.",
|
|
1930
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/schemas/{schemasId}/schema",
|
|
1931
|
+
"httpMethod": "GET",
|
|
1932
|
+
"id": "managedkafka.projects.locations.schemaRegistries.contexts.schemas.getSchema",
|
|
1933
|
+
"parameterOrder": [
|
|
1934
|
+
"name"
|
|
1935
|
+
],
|
|
1936
|
+
"parameters": {
|
|
1937
|
+
"name": {
|
|
1938
|
+
"description": "Required. The name of the schema to return. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}`",
|
|
1939
|
+
"location": "path",
|
|
1940
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/schemas/.*$",
|
|
1941
|
+
"required": true,
|
|
1942
|
+
"type": "string"
|
|
1943
|
+
},
|
|
1944
|
+
"subject": {
|
|
1945
|
+
"description": "Optional. Used to limit the search for the schema ID to a specific subject, otherwise the schema ID will be searched for in all subjects in the given specified context.",
|
|
1946
|
+
"location": "query",
|
|
1947
|
+
"type": "string"
|
|
1948
|
+
}
|
|
1949
|
+
},
|
|
1950
|
+
"path": "v1/{+name}/schema",
|
|
1951
|
+
"response": {
|
|
1952
|
+
"$ref": "HttpBody"
|
|
1953
|
+
},
|
|
1954
|
+
"scopes": [
|
|
1955
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1956
|
+
]
|
|
1957
|
+
}
|
|
1958
|
+
},
|
|
1959
|
+
"resources": {
|
|
1960
|
+
"subjects": {
|
|
1961
|
+
"methods": {
|
|
1962
|
+
"list": {
|
|
1963
|
+
"description": "List subjects which reference a particular schema id. The response will be an array of subject names.",
|
|
1964
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/schemas/{schemasId}/subjects",
|
|
1965
|
+
"httpMethod": "GET",
|
|
1966
|
+
"id": "managedkafka.projects.locations.schemaRegistries.contexts.schemas.subjects.list",
|
|
1967
|
+
"parameterOrder": [
|
|
1968
|
+
"parent"
|
|
1969
|
+
],
|
|
1970
|
+
"parameters": {
|
|
1971
|
+
"deleted": {
|
|
1972
|
+
"description": "Optional. If true, the response will include soft-deleted subjects. The default is false.",
|
|
1973
|
+
"location": "query",
|
|
1974
|
+
"type": "boolean"
|
|
1975
|
+
},
|
|
1976
|
+
"parent": {
|
|
1977
|
+
"description": "Required. The schema resource whose associated subjects are to be listed. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/schemas/ids/{schema}`",
|
|
1978
|
+
"location": "path",
|
|
1979
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/schemas/.*$",
|
|
1980
|
+
"required": true,
|
|
1981
|
+
"type": "string"
|
|
1982
|
+
},
|
|
1983
|
+
"subject": {
|
|
1984
|
+
"description": "Optional. The subject to filter the subjects by.",
|
|
1985
|
+
"location": "query",
|
|
1986
|
+
"type": "string"
|
|
1987
|
+
}
|
|
1988
|
+
},
|
|
1989
|
+
"path": "v1/{+parent}/subjects",
|
|
1990
|
+
"response": {
|
|
1991
|
+
"$ref": "HttpBody"
|
|
1992
|
+
},
|
|
1993
|
+
"scopes": [
|
|
1994
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
1995
|
+
]
|
|
1996
|
+
}
|
|
1997
|
+
}
|
|
1998
|
+
},
|
|
1999
|
+
"types": {
|
|
2000
|
+
"methods": {
|
|
2001
|
+
"list": {
|
|
2002
|
+
"description": "List the supported schema types. The response will be an array of schema types.",
|
|
2003
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/schemas/types",
|
|
2004
|
+
"httpMethod": "GET",
|
|
2005
|
+
"id": "managedkafka.projects.locations.schemaRegistries.contexts.schemas.types.list",
|
|
2006
|
+
"parameterOrder": [
|
|
2007
|
+
"parent"
|
|
2008
|
+
],
|
|
2009
|
+
"parameters": {
|
|
2010
|
+
"parent": {
|
|
2011
|
+
"description": "Required. The parent schema registry whose schema types are to be listed. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}`",
|
|
2012
|
+
"location": "path",
|
|
2013
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+$",
|
|
2014
|
+
"required": true,
|
|
2015
|
+
"type": "string"
|
|
2016
|
+
}
|
|
2017
|
+
},
|
|
2018
|
+
"path": "v1/{+parent}/schemas/types",
|
|
2019
|
+
"response": {
|
|
2020
|
+
"$ref": "HttpBody"
|
|
2021
|
+
},
|
|
2022
|
+
"scopes": [
|
|
2023
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2024
|
+
]
|
|
2025
|
+
}
|
|
2026
|
+
}
|
|
2027
|
+
},
|
|
2028
|
+
"versions": {
|
|
2029
|
+
"methods": {
|
|
2030
|
+
"list": {
|
|
2031
|
+
"description": "List the schema versions for the given schema id. The response will be an array of subject-version pairs as: [{\"subject\":\"subject1\", \"version\":1}, {\"subject\":\"subject2\", \"version\":2}].",
|
|
2032
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/schemas/{schemasId}/versions",
|
|
2033
|
+
"httpMethod": "GET",
|
|
2034
|
+
"id": "managedkafka.projects.locations.schemaRegistries.contexts.schemas.versions.list",
|
|
2035
|
+
"parameterOrder": [
|
|
2036
|
+
"parent"
|
|
2037
|
+
],
|
|
2038
|
+
"parameters": {
|
|
2039
|
+
"deleted": {
|
|
2040
|
+
"description": "Optional. If true, the response will include soft-deleted versions of the schema, even if the subject is soft-deleted. The default is false.",
|
|
2041
|
+
"location": "query",
|
|
2042
|
+
"type": "boolean"
|
|
2043
|
+
},
|
|
2044
|
+
"parent": {
|
|
2045
|
+
"description": "Required. The schema whose schema versions are to be listed. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/schemas/ids/{schema}`",
|
|
2046
|
+
"location": "path",
|
|
2047
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/schemas/.*$",
|
|
2048
|
+
"required": true,
|
|
2049
|
+
"type": "string"
|
|
2050
|
+
},
|
|
2051
|
+
"subject": {
|
|
2052
|
+
"description": "Optional. The subject to filter the subjects by.",
|
|
2053
|
+
"location": "query",
|
|
2054
|
+
"type": "string"
|
|
2055
|
+
}
|
|
2056
|
+
},
|
|
2057
|
+
"path": "v1/{+parent}/versions",
|
|
2058
|
+
"response": {
|
|
2059
|
+
"$ref": "HttpBody"
|
|
2060
|
+
},
|
|
2061
|
+
"scopes": [
|
|
2062
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2063
|
+
]
|
|
2064
|
+
}
|
|
2065
|
+
}
|
|
2066
|
+
}
|
|
2067
|
+
}
|
|
2068
|
+
},
|
|
2069
|
+
"subjects": {
|
|
2070
|
+
"methods": {
|
|
2071
|
+
"delete": {
|
|
2072
|
+
"description": "Delete a subject. The response will be an array of versions of the deleted subject.",
|
|
2073
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/subjects/{subjectsId}",
|
|
2074
|
+
"httpMethod": "DELETE",
|
|
2075
|
+
"id": "managedkafka.projects.locations.schemaRegistries.contexts.subjects.delete",
|
|
2076
|
+
"parameterOrder": [
|
|
2077
|
+
"name"
|
|
2078
|
+
],
|
|
2079
|
+
"parameters": {
|
|
2080
|
+
"name": {
|
|
2081
|
+
"description": "Required. The name of the subject to delete. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}`",
|
|
2082
|
+
"location": "path",
|
|
2083
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/subjects/[^/]+$",
|
|
2084
|
+
"required": true,
|
|
2085
|
+
"type": "string"
|
|
2086
|
+
},
|
|
2087
|
+
"permanent": {
|
|
2088
|
+
"description": "Optional. If true, the subject and all associated metadata including the schema ID will be deleted permanently. Otherwise, only the subject is soft-deleted. The default is false. Soft-deleted subjects can still be searched in ListSubjects API call with deleted=true query parameter. A soft-delete of a subject must be performed before a hard-delete.",
|
|
2089
|
+
"location": "query",
|
|
2090
|
+
"type": "boolean"
|
|
2091
|
+
}
|
|
2092
|
+
},
|
|
2093
|
+
"path": "v1/{+name}",
|
|
2094
|
+
"response": {
|
|
2095
|
+
"$ref": "HttpBody"
|
|
2096
|
+
},
|
|
2097
|
+
"scopes": [
|
|
2098
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2099
|
+
]
|
|
2100
|
+
},
|
|
2101
|
+
"list": {
|
|
2102
|
+
"description": "List subjects in the schema registry. The response will be an array of subject names.",
|
|
2103
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/subjects",
|
|
2104
|
+
"httpMethod": "GET",
|
|
2105
|
+
"id": "managedkafka.projects.locations.schemaRegistries.contexts.subjects.list",
|
|
2106
|
+
"parameterOrder": [
|
|
2107
|
+
"parent"
|
|
2108
|
+
],
|
|
2109
|
+
"parameters": {
|
|
2110
|
+
"deleted": {
|
|
2111
|
+
"description": "Optional. If true, the response will include soft-deleted subjects. The default is false.",
|
|
2112
|
+
"location": "query",
|
|
2113
|
+
"type": "boolean"
|
|
2114
|
+
},
|
|
2115
|
+
"parent": {
|
|
2116
|
+
"description": "Required. The parent schema registry/context whose subjects are to be listed. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}`",
|
|
2117
|
+
"location": "path",
|
|
2118
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+$",
|
|
2119
|
+
"required": true,
|
|
2120
|
+
"type": "string"
|
|
2121
|
+
},
|
|
2122
|
+
"subjectPrefix": {
|
|
2123
|
+
"description": "Optional. The context to filter the subjects by, in the format of `:.{context}:`. If unset, all subjects in the registry are returned. Set to empty string or add as '?subjectPrefix=' at the end of this request to list subjects in the default context.",
|
|
2124
|
+
"location": "query",
|
|
2125
|
+
"type": "string"
|
|
2126
|
+
}
|
|
2127
|
+
},
|
|
2128
|
+
"path": "v1/{+parent}/subjects",
|
|
2129
|
+
"response": {
|
|
2130
|
+
"$ref": "HttpBody"
|
|
2131
|
+
},
|
|
2132
|
+
"scopes": [
|
|
2133
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2134
|
+
]
|
|
2135
|
+
},
|
|
2136
|
+
"lookupVersion": {
|
|
2137
|
+
"description": "Lookup a schema under the specified subject.",
|
|
2138
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/subjects/{subjectsId}",
|
|
2139
|
+
"httpMethod": "POST",
|
|
2140
|
+
"id": "managedkafka.projects.locations.schemaRegistries.contexts.subjects.lookupVersion",
|
|
2141
|
+
"parameterOrder": [
|
|
2142
|
+
"parent"
|
|
2143
|
+
],
|
|
2144
|
+
"parameters": {
|
|
2145
|
+
"parent": {
|
|
2146
|
+
"description": "Required. The subject to lookup the schema in. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}`",
|
|
2147
|
+
"location": "path",
|
|
2148
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/subjects/[^/]+$",
|
|
2149
|
+
"required": true,
|
|
2150
|
+
"type": "string"
|
|
2151
|
+
}
|
|
2152
|
+
},
|
|
2153
|
+
"path": "v1/{+parent}",
|
|
2154
|
+
"request": {
|
|
2155
|
+
"$ref": "LookupVersionRequest"
|
|
2156
|
+
},
|
|
2157
|
+
"response": {
|
|
2158
|
+
"$ref": "SchemaVersion"
|
|
2159
|
+
},
|
|
2160
|
+
"scopes": [
|
|
2161
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2162
|
+
]
|
|
2163
|
+
}
|
|
2164
|
+
},
|
|
2165
|
+
"resources": {
|
|
2166
|
+
"versions": {
|
|
2167
|
+
"methods": {
|
|
2168
|
+
"create": {
|
|
2169
|
+
"description": "Register a new version under a given subject with the given schema.",
|
|
2170
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/subjects/{subjectsId}/versions",
|
|
2171
|
+
"httpMethod": "POST",
|
|
2172
|
+
"id": "managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.create",
|
|
2173
|
+
"parameterOrder": [
|
|
2174
|
+
"parent"
|
|
2175
|
+
],
|
|
2176
|
+
"parameters": {
|
|
2177
|
+
"parent": {
|
|
2178
|
+
"description": "Required. The subject to create the version for. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}`",
|
|
2179
|
+
"location": "path",
|
|
2180
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/subjects/[^/]+$",
|
|
2181
|
+
"required": true,
|
|
2182
|
+
"type": "string"
|
|
2183
|
+
}
|
|
2184
|
+
},
|
|
2185
|
+
"path": "v1/{+parent}/versions",
|
|
2186
|
+
"request": {
|
|
2187
|
+
"$ref": "CreateVersionRequest"
|
|
2188
|
+
},
|
|
2189
|
+
"response": {
|
|
2190
|
+
"$ref": "CreateVersionResponse"
|
|
2191
|
+
},
|
|
2192
|
+
"scopes": [
|
|
2193
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2194
|
+
]
|
|
2195
|
+
},
|
|
2196
|
+
"delete": {
|
|
2197
|
+
"description": "Delete a version of a subject. The response will be the deleted version id.",
|
|
2198
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/subjects/{subjectsId}/versions/{versionsId}",
|
|
2199
|
+
"httpMethod": "DELETE",
|
|
2200
|
+
"id": "managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.delete",
|
|
2201
|
+
"parameterOrder": [
|
|
2202
|
+
"name"
|
|
2203
|
+
],
|
|
2204
|
+
"parameters": {
|
|
2205
|
+
"name": {
|
|
2206
|
+
"description": "Required. The name of the subject version to delete. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}`",
|
|
2207
|
+
"location": "path",
|
|
2208
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/subjects/[^/]+/versions/[^/]+$",
|
|
2209
|
+
"required": true,
|
|
2210
|
+
"type": "string"
|
|
2211
|
+
},
|
|
2212
|
+
"permanent": {
|
|
2213
|
+
"description": "Optional. If true, both the version and the referenced schema ID will be permanently deleted. The default is false. If false, the version will be deleted but the schema ID will be retained. Soft-deleted versions can still be searched in ListVersions API call with deleted=true query parameter. A soft-delete of a version must be performed before a hard-delete.",
|
|
2214
|
+
"location": "query",
|
|
2215
|
+
"type": "boolean"
|
|
2216
|
+
}
|
|
2217
|
+
},
|
|
2218
|
+
"path": "v1/{+name}",
|
|
2219
|
+
"response": {
|
|
2220
|
+
"$ref": "HttpBody"
|
|
2221
|
+
},
|
|
2222
|
+
"scopes": [
|
|
2223
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2224
|
+
]
|
|
2225
|
+
},
|
|
2226
|
+
"get": {
|
|
2227
|
+
"description": "Get a versioned schema (schema with subject/version) of a subject.",
|
|
2228
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/subjects/{subjectsId}/versions/{versionsId}",
|
|
2229
|
+
"httpMethod": "GET",
|
|
2230
|
+
"id": "managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.get",
|
|
2231
|
+
"parameterOrder": [
|
|
2232
|
+
"name"
|
|
2233
|
+
],
|
|
2234
|
+
"parameters": {
|
|
2235
|
+
"deleted": {
|
|
2236
|
+
"description": "Optional. If true, no matter if the subject/version is soft-deleted or not, it returns the version details. If false, it returns NOT_FOUND error if the subject/version is soft-deleted. The default is false.",
|
|
2237
|
+
"location": "query",
|
|
2238
|
+
"type": "boolean"
|
|
2239
|
+
},
|
|
2240
|
+
"name": {
|
|
2241
|
+
"description": "Required. The name of the subject to return versions. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}`",
|
|
2242
|
+
"location": "path",
|
|
2243
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/subjects/[^/]+/versions/[^/]+$",
|
|
2244
|
+
"required": true,
|
|
2245
|
+
"type": "string"
|
|
2246
|
+
}
|
|
2247
|
+
},
|
|
2248
|
+
"path": "v1/{+name}",
|
|
2249
|
+
"response": {
|
|
2250
|
+
"$ref": "SchemaVersion"
|
|
2251
|
+
},
|
|
2252
|
+
"scopes": [
|
|
2253
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2254
|
+
]
|
|
2255
|
+
},
|
|
2256
|
+
"getSchema": {
|
|
2257
|
+
"description": "Get the schema string only for a version of a subject. The response will be the schema string.",
|
|
2258
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/subjects/{subjectsId}/versions/{versionsId}/schema",
|
|
2259
|
+
"httpMethod": "GET",
|
|
2260
|
+
"id": "managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.getSchema",
|
|
2261
|
+
"parameterOrder": [
|
|
2262
|
+
"name"
|
|
2263
|
+
],
|
|
2264
|
+
"parameters": {
|
|
2265
|
+
"deleted": {
|
|
2266
|
+
"description": "Optional. If true, no matter if the subject/version is soft-deleted or not, it returns the version details. If false, it returns NOT_FOUND error if the subject/version is soft-deleted. The default is false.",
|
|
2267
|
+
"location": "query",
|
|
2268
|
+
"type": "boolean"
|
|
2269
|
+
},
|
|
2270
|
+
"name": {
|
|
2271
|
+
"description": "Required. The name of the subject to return versions. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}`",
|
|
2272
|
+
"location": "path",
|
|
2273
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/subjects/[^/]+/versions/[^/]+$",
|
|
2274
|
+
"required": true,
|
|
2275
|
+
"type": "string"
|
|
2276
|
+
}
|
|
2277
|
+
},
|
|
2278
|
+
"path": "v1/{+name}/schema",
|
|
2279
|
+
"response": {
|
|
2280
|
+
"$ref": "HttpBody"
|
|
2281
|
+
},
|
|
2282
|
+
"scopes": [
|
|
2283
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2284
|
+
]
|
|
2285
|
+
},
|
|
2286
|
+
"list": {
|
|
2287
|
+
"description": "Get all versions of a subject. The response will be an array of versions of the subject.",
|
|
2288
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/subjects/{subjectsId}/versions",
|
|
2289
|
+
"httpMethod": "GET",
|
|
2290
|
+
"id": "managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.list",
|
|
2291
|
+
"parameterOrder": [
|
|
2292
|
+
"parent"
|
|
2293
|
+
],
|
|
2294
|
+
"parameters": {
|
|
2295
|
+
"deleted": {
|
|
2296
|
+
"description": "Optional. If true, the response will include soft-deleted versions of an active or soft-deleted subject. The default is false.",
|
|
2297
|
+
"location": "query",
|
|
2298
|
+
"type": "boolean"
|
|
2299
|
+
},
|
|
2300
|
+
"parent": {
|
|
2301
|
+
"description": "Required. The subject whose versions are to be listed. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}`",
|
|
2302
|
+
"location": "path",
|
|
2303
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/subjects/[^/]+$",
|
|
2304
|
+
"required": true,
|
|
2305
|
+
"type": "string"
|
|
2306
|
+
}
|
|
2307
|
+
},
|
|
2308
|
+
"path": "v1/{+parent}/versions",
|
|
2309
|
+
"response": {
|
|
2310
|
+
"$ref": "HttpBody"
|
|
2311
|
+
},
|
|
2312
|
+
"scopes": [
|
|
2313
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2314
|
+
]
|
|
2315
|
+
}
|
|
2316
|
+
},
|
|
2317
|
+
"resources": {
|
|
2318
|
+
"referencedby": {
|
|
2319
|
+
"methods": {
|
|
2320
|
+
"list": {
|
|
2321
|
+
"description": "Get a list of IDs of schemas that reference the schema with the given subject and version.",
|
|
2322
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/subjects/{subjectsId}/versions/{versionsId}/referencedby",
|
|
2323
|
+
"httpMethod": "GET",
|
|
2324
|
+
"id": "managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.referencedby.list",
|
|
2325
|
+
"parameterOrder": [
|
|
2326
|
+
"parent"
|
|
2327
|
+
],
|
|
2328
|
+
"parameters": {
|
|
2329
|
+
"parent": {
|
|
2330
|
+
"description": "Required. The version to list referenced by. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}`",
|
|
2331
|
+
"location": "path",
|
|
2332
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/subjects/[^/]+/versions/[^/]+$",
|
|
2333
|
+
"required": true,
|
|
2334
|
+
"type": "string"
|
|
2335
|
+
}
|
|
2336
|
+
},
|
|
2337
|
+
"path": "v1/{+parent}/referencedby",
|
|
2338
|
+
"response": {
|
|
2339
|
+
"$ref": "HttpBody"
|
|
2340
|
+
},
|
|
2341
|
+
"scopes": [
|
|
2342
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2343
|
+
]
|
|
2344
|
+
}
|
|
2345
|
+
}
|
|
2346
|
+
}
|
|
2347
|
+
}
|
|
2348
|
+
}
|
|
2349
|
+
}
|
|
2350
|
+
}
|
|
2351
|
+
}
|
|
2352
|
+
},
|
|
2353
|
+
"mode": {
|
|
2354
|
+
"methods": {
|
|
2355
|
+
"get": {
|
|
2356
|
+
"description": "Get mode at global level or for a subject.",
|
|
2357
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/mode/{modeId}",
|
|
2358
|
+
"httpMethod": "GET",
|
|
2359
|
+
"id": "managedkafka.projects.locations.schemaRegistries.mode.get",
|
|
2360
|
+
"parameterOrder": [
|
|
2361
|
+
"name"
|
|
2362
|
+
],
|
|
2363
|
+
"parameters": {
|
|
2364
|
+
"name": {
|
|
2365
|
+
"description": "Required. The resource name of the mode. The format is * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject}: mode for a schema registry, or * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject}: mode for a specific subject in a specific context",
|
|
2366
|
+
"location": "path",
|
|
2367
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/mode/.*$",
|
|
2368
|
+
"required": true,
|
|
2369
|
+
"type": "string"
|
|
2370
|
+
}
|
|
2371
|
+
},
|
|
2372
|
+
"path": "v1/{+name}",
|
|
2373
|
+
"response": {
|
|
2374
|
+
"$ref": "SchemaMode"
|
|
2375
|
+
},
|
|
2376
|
+
"scopes": [
|
|
2377
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2378
|
+
]
|
|
2379
|
+
},
|
|
2380
|
+
"update": {
|
|
2381
|
+
"description": "Update mode at global level or for a subject.",
|
|
2382
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/mode/{modeId}",
|
|
2383
|
+
"httpMethod": "PUT",
|
|
2384
|
+
"id": "managedkafka.projects.locations.schemaRegistries.mode.update",
|
|
2385
|
+
"parameterOrder": [
|
|
2386
|
+
"name"
|
|
2387
|
+
],
|
|
2388
|
+
"parameters": {
|
|
2389
|
+
"name": {
|
|
2390
|
+
"description": "Required. The resource name of the mode. The format is * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject}: mode for a schema registry, or * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject}: mode for a specific subject in a specific context",
|
|
2391
|
+
"location": "path",
|
|
2392
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/mode/.*$",
|
|
2393
|
+
"required": true,
|
|
2394
|
+
"type": "string"
|
|
2395
|
+
}
|
|
2396
|
+
},
|
|
2397
|
+
"path": "v1/{+name}",
|
|
2398
|
+
"request": {
|
|
2399
|
+
"$ref": "UpdateSchemaModeRequest"
|
|
2400
|
+
},
|
|
2401
|
+
"response": {
|
|
2402
|
+
"$ref": "SchemaMode"
|
|
2403
|
+
},
|
|
2404
|
+
"scopes": [
|
|
2405
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2406
|
+
]
|
|
2407
|
+
}
|
|
2408
|
+
}
|
|
2409
|
+
},
|
|
2410
|
+
"schemas": {
|
|
2411
|
+
"methods": {
|
|
2412
|
+
"get": {
|
|
2413
|
+
"description": "Get the schema for the given schema id.",
|
|
2414
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/schemas/{schemasId}",
|
|
2415
|
+
"httpMethod": "GET",
|
|
2416
|
+
"id": "managedkafka.projects.locations.schemaRegistries.schemas.get",
|
|
2417
|
+
"parameterOrder": [
|
|
2418
|
+
"name"
|
|
2419
|
+
],
|
|
2420
|
+
"parameters": {
|
|
2421
|
+
"name": {
|
|
2422
|
+
"description": "Required. The name of the schema to return. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}`",
|
|
2423
|
+
"location": "path",
|
|
2424
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/schemas/.*$",
|
|
2425
|
+
"required": true,
|
|
2426
|
+
"type": "string"
|
|
2427
|
+
},
|
|
2428
|
+
"subject": {
|
|
2429
|
+
"description": "Optional. Used to limit the search for the schema ID to a specific subject, otherwise the schema ID will be searched for in all subjects in the given specified context.",
|
|
2430
|
+
"location": "query",
|
|
2431
|
+
"type": "string"
|
|
2432
|
+
}
|
|
2433
|
+
},
|
|
2434
|
+
"path": "v1/{+name}",
|
|
2435
|
+
"response": {
|
|
2436
|
+
"$ref": "Schema"
|
|
2437
|
+
},
|
|
2438
|
+
"scopes": [
|
|
2439
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2440
|
+
]
|
|
2441
|
+
},
|
|
2442
|
+
"getSchema": {
|
|
2443
|
+
"description": "Get the schema string for the given schema id. The response will be the schema string.",
|
|
2444
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/schemas/{schemasId}/schema",
|
|
2445
|
+
"httpMethod": "GET",
|
|
2446
|
+
"id": "managedkafka.projects.locations.schemaRegistries.schemas.getSchema",
|
|
2447
|
+
"parameterOrder": [
|
|
2448
|
+
"name"
|
|
2449
|
+
],
|
|
2450
|
+
"parameters": {
|
|
2451
|
+
"name": {
|
|
2452
|
+
"description": "Required. The name of the schema to return. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}`",
|
|
2453
|
+
"location": "path",
|
|
2454
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/schemas/.*$",
|
|
2455
|
+
"required": true,
|
|
2456
|
+
"type": "string"
|
|
2457
|
+
},
|
|
2458
|
+
"subject": {
|
|
2459
|
+
"description": "Optional. Used to limit the search for the schema ID to a specific subject, otherwise the schema ID will be searched for in all subjects in the given specified context.",
|
|
2460
|
+
"location": "query",
|
|
2461
|
+
"type": "string"
|
|
2462
|
+
}
|
|
2463
|
+
},
|
|
2464
|
+
"path": "v1/{+name}/schema",
|
|
2465
|
+
"response": {
|
|
2466
|
+
"$ref": "HttpBody"
|
|
2467
|
+
},
|
|
2468
|
+
"scopes": [
|
|
2469
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2470
|
+
]
|
|
2471
|
+
}
|
|
2472
|
+
},
|
|
2473
|
+
"resources": {
|
|
2474
|
+
"subjects": {
|
|
2475
|
+
"methods": {
|
|
2476
|
+
"list": {
|
|
2477
|
+
"description": "List subjects which reference a particular schema id. The response will be an array of subject names.",
|
|
2478
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/schemas/{schemasId}/subjects",
|
|
2479
|
+
"httpMethod": "GET",
|
|
2480
|
+
"id": "managedkafka.projects.locations.schemaRegistries.schemas.subjects.list",
|
|
2481
|
+
"parameterOrder": [
|
|
2482
|
+
"parent"
|
|
2483
|
+
],
|
|
2484
|
+
"parameters": {
|
|
2485
|
+
"deleted": {
|
|
2486
|
+
"description": "Optional. If true, the response will include soft-deleted subjects. The default is false.",
|
|
2487
|
+
"location": "query",
|
|
2488
|
+
"type": "boolean"
|
|
2489
|
+
},
|
|
2490
|
+
"parent": {
|
|
2491
|
+
"description": "Required. The schema resource whose associated subjects are to be listed. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/schemas/ids/{schema}`",
|
|
2492
|
+
"location": "path",
|
|
2493
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/schemas/.*$",
|
|
2494
|
+
"required": true,
|
|
2495
|
+
"type": "string"
|
|
2496
|
+
},
|
|
2497
|
+
"subject": {
|
|
2498
|
+
"description": "Optional. The subject to filter the subjects by.",
|
|
2499
|
+
"location": "query",
|
|
2500
|
+
"type": "string"
|
|
2501
|
+
}
|
|
2502
|
+
},
|
|
2503
|
+
"path": "v1/{+parent}/subjects",
|
|
2504
|
+
"response": {
|
|
2505
|
+
"$ref": "HttpBody"
|
|
2506
|
+
},
|
|
2507
|
+
"scopes": [
|
|
2508
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2509
|
+
]
|
|
2510
|
+
}
|
|
2511
|
+
}
|
|
2512
|
+
},
|
|
2513
|
+
"types": {
|
|
2514
|
+
"methods": {
|
|
2515
|
+
"list": {
|
|
2516
|
+
"description": "List the supported schema types. The response will be an array of schema types.",
|
|
2517
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/schemas/types",
|
|
2518
|
+
"httpMethod": "GET",
|
|
2519
|
+
"id": "managedkafka.projects.locations.schemaRegistries.schemas.types.list",
|
|
2520
|
+
"parameterOrder": [
|
|
2521
|
+
"parent"
|
|
2522
|
+
],
|
|
2523
|
+
"parameters": {
|
|
2524
|
+
"parent": {
|
|
2525
|
+
"description": "Required. The parent schema registry whose schema types are to be listed. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}`",
|
|
2526
|
+
"location": "path",
|
|
2527
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+$",
|
|
2528
|
+
"required": true,
|
|
2529
|
+
"type": "string"
|
|
2530
|
+
}
|
|
2531
|
+
},
|
|
2532
|
+
"path": "v1/{+parent}/schemas/types",
|
|
2533
|
+
"response": {
|
|
2534
|
+
"$ref": "HttpBody"
|
|
2535
|
+
},
|
|
2536
|
+
"scopes": [
|
|
2537
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2538
|
+
]
|
|
2539
|
+
}
|
|
2540
|
+
}
|
|
2541
|
+
},
|
|
2542
|
+
"versions": {
|
|
2543
|
+
"methods": {
|
|
2544
|
+
"list": {
|
|
2545
|
+
"description": "List the schema versions for the given schema id. The response will be an array of subject-version pairs as: [{\"subject\":\"subject1\", \"version\":1}, {\"subject\":\"subject2\", \"version\":2}].",
|
|
2546
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/schemas/{schemasId}/versions",
|
|
2547
|
+
"httpMethod": "GET",
|
|
2548
|
+
"id": "managedkafka.projects.locations.schemaRegistries.schemas.versions.list",
|
|
2549
|
+
"parameterOrder": [
|
|
2550
|
+
"parent"
|
|
2551
|
+
],
|
|
2552
|
+
"parameters": {
|
|
2553
|
+
"deleted": {
|
|
2554
|
+
"description": "Optional. If true, the response will include soft-deleted versions of the schema, even if the subject is soft-deleted. The default is false.",
|
|
2555
|
+
"location": "query",
|
|
2556
|
+
"type": "boolean"
|
|
2557
|
+
},
|
|
2558
|
+
"parent": {
|
|
2559
|
+
"description": "Required. The schema whose schema versions are to be listed. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/schemas/ids/{schema}`",
|
|
2560
|
+
"location": "path",
|
|
2561
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/schemas/.*$",
|
|
2562
|
+
"required": true,
|
|
2563
|
+
"type": "string"
|
|
2564
|
+
},
|
|
2565
|
+
"subject": {
|
|
2566
|
+
"description": "Optional. The subject to filter the subjects by.",
|
|
2567
|
+
"location": "query",
|
|
2568
|
+
"type": "string"
|
|
2569
|
+
}
|
|
2570
|
+
},
|
|
2571
|
+
"path": "v1/{+parent}/versions",
|
|
2572
|
+
"response": {
|
|
2573
|
+
"$ref": "HttpBody"
|
|
2574
|
+
},
|
|
2575
|
+
"scopes": [
|
|
2576
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2577
|
+
]
|
|
2578
|
+
}
|
|
2579
|
+
}
|
|
2580
|
+
}
|
|
2581
|
+
}
|
|
2582
|
+
},
|
|
2583
|
+
"subjects": {
|
|
2584
|
+
"methods": {
|
|
2585
|
+
"delete": {
|
|
2586
|
+
"description": "Delete a subject. The response will be an array of versions of the deleted subject.",
|
|
2587
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/subjects/{subjectsId}",
|
|
2588
|
+
"httpMethod": "DELETE",
|
|
2589
|
+
"id": "managedkafka.projects.locations.schemaRegistries.subjects.delete",
|
|
2590
|
+
"parameterOrder": [
|
|
2591
|
+
"name"
|
|
2592
|
+
],
|
|
2593
|
+
"parameters": {
|
|
2594
|
+
"name": {
|
|
2595
|
+
"description": "Required. The name of the subject to delete. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}`",
|
|
2596
|
+
"location": "path",
|
|
2597
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/subjects/[^/]+$",
|
|
2598
|
+
"required": true,
|
|
2599
|
+
"type": "string"
|
|
2600
|
+
},
|
|
2601
|
+
"permanent": {
|
|
2602
|
+
"description": "Optional. If true, the subject and all associated metadata including the schema ID will be deleted permanently. Otherwise, only the subject is soft-deleted. The default is false. Soft-deleted subjects can still be searched in ListSubjects API call with deleted=true query parameter. A soft-delete of a subject must be performed before a hard-delete.",
|
|
2603
|
+
"location": "query",
|
|
2604
|
+
"type": "boolean"
|
|
2605
|
+
}
|
|
2606
|
+
},
|
|
2607
|
+
"path": "v1/{+name}",
|
|
2608
|
+
"response": {
|
|
2609
|
+
"$ref": "HttpBody"
|
|
2610
|
+
},
|
|
2611
|
+
"scopes": [
|
|
2612
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2613
|
+
]
|
|
2614
|
+
},
|
|
2615
|
+
"list": {
|
|
2616
|
+
"description": "List subjects in the schema registry. The response will be an array of subject names.",
|
|
2617
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/subjects",
|
|
2618
|
+
"httpMethod": "GET",
|
|
2619
|
+
"id": "managedkafka.projects.locations.schemaRegistries.subjects.list",
|
|
2620
|
+
"parameterOrder": [
|
|
2621
|
+
"parent"
|
|
2622
|
+
],
|
|
2623
|
+
"parameters": {
|
|
2624
|
+
"deleted": {
|
|
2625
|
+
"description": "Optional. If true, the response will include soft-deleted subjects. The default is false.",
|
|
2626
|
+
"location": "query",
|
|
2627
|
+
"type": "boolean"
|
|
2628
|
+
},
|
|
2629
|
+
"parent": {
|
|
2630
|
+
"description": "Required. The parent schema registry/context whose subjects are to be listed. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}`",
|
|
2631
|
+
"location": "path",
|
|
2632
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+$",
|
|
2633
|
+
"required": true,
|
|
2634
|
+
"type": "string"
|
|
2635
|
+
},
|
|
2636
|
+
"subjectPrefix": {
|
|
2637
|
+
"description": "Optional. The context to filter the subjects by, in the format of `:.{context}:`. If unset, all subjects in the registry are returned. Set to empty string or add as '?subjectPrefix=' at the end of this request to list subjects in the default context.",
|
|
2638
|
+
"location": "query",
|
|
2639
|
+
"type": "string"
|
|
2640
|
+
}
|
|
2641
|
+
},
|
|
2642
|
+
"path": "v1/{+parent}/subjects",
|
|
2643
|
+
"response": {
|
|
2644
|
+
"$ref": "HttpBody"
|
|
2645
|
+
},
|
|
2646
|
+
"scopes": [
|
|
2647
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2648
|
+
]
|
|
2649
|
+
},
|
|
2650
|
+
"lookupVersion": {
|
|
2651
|
+
"description": "Lookup a schema under the specified subject.",
|
|
2652
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/subjects/{subjectsId}",
|
|
2653
|
+
"httpMethod": "POST",
|
|
2654
|
+
"id": "managedkafka.projects.locations.schemaRegistries.subjects.lookupVersion",
|
|
2655
|
+
"parameterOrder": [
|
|
2656
|
+
"parent"
|
|
2657
|
+
],
|
|
2658
|
+
"parameters": {
|
|
2659
|
+
"parent": {
|
|
2660
|
+
"description": "Required. The subject to lookup the schema in. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}`",
|
|
2661
|
+
"location": "path",
|
|
2662
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/subjects/[^/]+$",
|
|
2663
|
+
"required": true,
|
|
2664
|
+
"type": "string"
|
|
2665
|
+
}
|
|
2666
|
+
},
|
|
2667
|
+
"path": "v1/{+parent}",
|
|
2668
|
+
"request": {
|
|
2669
|
+
"$ref": "LookupVersionRequest"
|
|
2670
|
+
},
|
|
2671
|
+
"response": {
|
|
2672
|
+
"$ref": "SchemaVersion"
|
|
2673
|
+
},
|
|
2674
|
+
"scopes": [
|
|
2675
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2676
|
+
]
|
|
2677
|
+
}
|
|
2678
|
+
},
|
|
2679
|
+
"resources": {
|
|
2680
|
+
"versions": {
|
|
2681
|
+
"methods": {
|
|
2682
|
+
"create": {
|
|
2683
|
+
"description": "Register a new version under a given subject with the given schema.",
|
|
2684
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/subjects/{subjectsId}/versions",
|
|
2685
|
+
"httpMethod": "POST",
|
|
2686
|
+
"id": "managedkafka.projects.locations.schemaRegistries.subjects.versions.create",
|
|
2687
|
+
"parameterOrder": [
|
|
2688
|
+
"parent"
|
|
2689
|
+
],
|
|
2690
|
+
"parameters": {
|
|
2691
|
+
"parent": {
|
|
2692
|
+
"description": "Required. The subject to create the version for. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}`",
|
|
2693
|
+
"location": "path",
|
|
2694
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/subjects/[^/]+$",
|
|
2695
|
+
"required": true,
|
|
2696
|
+
"type": "string"
|
|
2697
|
+
}
|
|
2698
|
+
},
|
|
2699
|
+
"path": "v1/{+parent}/versions",
|
|
2700
|
+
"request": {
|
|
2701
|
+
"$ref": "CreateVersionRequest"
|
|
2702
|
+
},
|
|
2703
|
+
"response": {
|
|
2704
|
+
"$ref": "CreateVersionResponse"
|
|
2705
|
+
},
|
|
2706
|
+
"scopes": [
|
|
2707
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2708
|
+
]
|
|
2709
|
+
},
|
|
2710
|
+
"delete": {
|
|
2711
|
+
"description": "Delete a version of a subject. The response will be the deleted version id.",
|
|
2712
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/subjects/{subjectsId}/versions/{versionsId}",
|
|
2713
|
+
"httpMethod": "DELETE",
|
|
2714
|
+
"id": "managedkafka.projects.locations.schemaRegistries.subjects.versions.delete",
|
|
2715
|
+
"parameterOrder": [
|
|
2716
|
+
"name"
|
|
2717
|
+
],
|
|
2718
|
+
"parameters": {
|
|
2719
|
+
"name": {
|
|
2720
|
+
"description": "Required. The name of the subject version to delete. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}`",
|
|
2721
|
+
"location": "path",
|
|
2722
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/subjects/[^/]+/versions/[^/]+$",
|
|
2723
|
+
"required": true,
|
|
2724
|
+
"type": "string"
|
|
2725
|
+
},
|
|
2726
|
+
"permanent": {
|
|
2727
|
+
"description": "Optional. If true, both the version and the referenced schema ID will be permanently deleted. The default is false. If false, the version will be deleted but the schema ID will be retained. Soft-deleted versions can still be searched in ListVersions API call with deleted=true query parameter. A soft-delete of a version must be performed before a hard-delete.",
|
|
2728
|
+
"location": "query",
|
|
2729
|
+
"type": "boolean"
|
|
2730
|
+
}
|
|
2731
|
+
},
|
|
2732
|
+
"path": "v1/{+name}",
|
|
2733
|
+
"response": {
|
|
2734
|
+
"$ref": "HttpBody"
|
|
2735
|
+
},
|
|
2736
|
+
"scopes": [
|
|
2737
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2738
|
+
]
|
|
2739
|
+
},
|
|
2740
|
+
"get": {
|
|
2741
|
+
"description": "Get a versioned schema (schema with subject/version) of a subject.",
|
|
2742
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/subjects/{subjectsId}/versions/{versionsId}",
|
|
2743
|
+
"httpMethod": "GET",
|
|
2744
|
+
"id": "managedkafka.projects.locations.schemaRegistries.subjects.versions.get",
|
|
2745
|
+
"parameterOrder": [
|
|
2746
|
+
"name"
|
|
2747
|
+
],
|
|
2748
|
+
"parameters": {
|
|
2749
|
+
"deleted": {
|
|
2750
|
+
"description": "Optional. If true, no matter if the subject/version is soft-deleted or not, it returns the version details. If false, it returns NOT_FOUND error if the subject/version is soft-deleted. The default is false.",
|
|
2751
|
+
"location": "query",
|
|
2752
|
+
"type": "boolean"
|
|
2753
|
+
},
|
|
2754
|
+
"name": {
|
|
2755
|
+
"description": "Required. The name of the subject to return versions. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}`",
|
|
2756
|
+
"location": "path",
|
|
2757
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/subjects/[^/]+/versions/[^/]+$",
|
|
2758
|
+
"required": true,
|
|
2759
|
+
"type": "string"
|
|
2760
|
+
}
|
|
2761
|
+
},
|
|
2762
|
+
"path": "v1/{+name}",
|
|
2763
|
+
"response": {
|
|
2764
|
+
"$ref": "SchemaVersion"
|
|
2765
|
+
},
|
|
2766
|
+
"scopes": [
|
|
2767
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2768
|
+
]
|
|
2769
|
+
},
|
|
2770
|
+
"getSchema": {
|
|
2771
|
+
"description": "Get the schema string only for a version of a subject. The response will be the schema string.",
|
|
2772
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/subjects/{subjectsId}/versions/{versionsId}/schema",
|
|
2773
|
+
"httpMethod": "GET",
|
|
2774
|
+
"id": "managedkafka.projects.locations.schemaRegistries.subjects.versions.getSchema",
|
|
2775
|
+
"parameterOrder": [
|
|
2776
|
+
"name"
|
|
2777
|
+
],
|
|
2778
|
+
"parameters": {
|
|
2779
|
+
"deleted": {
|
|
2780
|
+
"description": "Optional. If true, no matter if the subject/version is soft-deleted or not, it returns the version details. If false, it returns NOT_FOUND error if the subject/version is soft-deleted. The default is false.",
|
|
2781
|
+
"location": "query",
|
|
2782
|
+
"type": "boolean"
|
|
2783
|
+
},
|
|
2784
|
+
"name": {
|
|
2785
|
+
"description": "Required. The name of the subject to return versions. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}`",
|
|
2786
|
+
"location": "path",
|
|
2787
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/subjects/[^/]+/versions/[^/]+$",
|
|
2788
|
+
"required": true,
|
|
2789
|
+
"type": "string"
|
|
2790
|
+
}
|
|
2791
|
+
},
|
|
2792
|
+
"path": "v1/{+name}/schema",
|
|
2793
|
+
"response": {
|
|
2794
|
+
"$ref": "HttpBody"
|
|
2795
|
+
},
|
|
2796
|
+
"scopes": [
|
|
2797
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2798
|
+
]
|
|
2799
|
+
},
|
|
2800
|
+
"list": {
|
|
2801
|
+
"description": "Get all versions of a subject. The response will be an array of versions of the subject.",
|
|
2802
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/subjects/{subjectsId}/versions",
|
|
2803
|
+
"httpMethod": "GET",
|
|
2804
|
+
"id": "managedkafka.projects.locations.schemaRegistries.subjects.versions.list",
|
|
2805
|
+
"parameterOrder": [
|
|
2806
|
+
"parent"
|
|
2807
|
+
],
|
|
2808
|
+
"parameters": {
|
|
2809
|
+
"deleted": {
|
|
2810
|
+
"description": "Optional. If true, the response will include soft-deleted versions of an active or soft-deleted subject. The default is false.",
|
|
2811
|
+
"location": "query",
|
|
2812
|
+
"type": "boolean"
|
|
2813
|
+
},
|
|
2814
|
+
"parent": {
|
|
2815
|
+
"description": "Required. The subject whose versions are to be listed. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}`",
|
|
2816
|
+
"location": "path",
|
|
2817
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/subjects/[^/]+$",
|
|
2818
|
+
"required": true,
|
|
2819
|
+
"type": "string"
|
|
2820
|
+
}
|
|
2821
|
+
},
|
|
2822
|
+
"path": "v1/{+parent}/versions",
|
|
2823
|
+
"response": {
|
|
2824
|
+
"$ref": "HttpBody"
|
|
2825
|
+
},
|
|
2826
|
+
"scopes": [
|
|
2827
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2828
|
+
]
|
|
2829
|
+
}
|
|
2830
|
+
},
|
|
2831
|
+
"resources": {
|
|
2832
|
+
"referencedby": {
|
|
2833
|
+
"methods": {
|
|
2834
|
+
"list": {
|
|
2835
|
+
"description": "Get a list of IDs of schemas that reference the schema with the given subject and version.",
|
|
2836
|
+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/subjects/{subjectsId}/versions/{versionsId}/referencedby",
|
|
2837
|
+
"httpMethod": "GET",
|
|
2838
|
+
"id": "managedkafka.projects.locations.schemaRegistries.subjects.versions.referencedby.list",
|
|
2839
|
+
"parameterOrder": [
|
|
2840
|
+
"parent"
|
|
2841
|
+
],
|
|
2842
|
+
"parameters": {
|
|
2843
|
+
"parent": {
|
|
2844
|
+
"description": "Required. The version to list referenced by. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` or `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}`",
|
|
2845
|
+
"location": "path",
|
|
2846
|
+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/subjects/[^/]+/versions/[^/]+$",
|
|
2847
|
+
"required": true,
|
|
2848
|
+
"type": "string"
|
|
2849
|
+
}
|
|
2850
|
+
},
|
|
2851
|
+
"path": "v1/{+parent}/referencedby",
|
|
2852
|
+
"response": {
|
|
2853
|
+
"$ref": "HttpBody"
|
|
2854
|
+
},
|
|
2855
|
+
"scopes": [
|
|
2856
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
2857
|
+
]
|
|
2858
|
+
}
|
|
2859
|
+
}
|
|
2860
|
+
}
|
|
2861
|
+
}
|
|
2862
|
+
}
|
|
2863
|
+
}
|
|
2864
|
+
}
|
|
2865
|
+
}
|
|
1439
2866
|
}
|
|
1440
2867
|
}
|
|
1441
2868
|
}
|
|
1442
2869
|
}
|
|
1443
2870
|
}
|
|
1444
2871
|
},
|
|
1445
|
-
"revision": "
|
|
2872
|
+
"revision": "20250508",
|
|
1446
2873
|
"rootUrl": "https://managedkafka.googleapis.com/",
|
|
1447
2874
|
"schemas": {
|
|
1448
2875
|
"AccessConfig": {
|
|
@@ -1557,6 +2984,62 @@
|
|
|
1557
2984
|
},
|
|
1558
2985
|
"type": "object"
|
|
1559
2986
|
},
|
|
2987
|
+
"CheckCompatibilityRequest": {
|
|
2988
|
+
"description": "Request for CheckCompatibility.",
|
|
2989
|
+
"id": "CheckCompatibilityRequest",
|
|
2990
|
+
"properties": {
|
|
2991
|
+
"references": {
|
|
2992
|
+
"description": "Optional. The schema references used by the schema.",
|
|
2993
|
+
"items": {
|
|
2994
|
+
"$ref": "SchemaReference"
|
|
2995
|
+
},
|
|
2996
|
+
"type": "array"
|
|
2997
|
+
},
|
|
2998
|
+
"schema": {
|
|
2999
|
+
"description": "Required. The schema payload",
|
|
3000
|
+
"type": "string"
|
|
3001
|
+
},
|
|
3002
|
+
"schemaType": {
|
|
3003
|
+
"description": "Optional. The schema type of the schema.",
|
|
3004
|
+
"enum": [
|
|
3005
|
+
"SCHEMA_TYPE_UNSPECIFIED",
|
|
3006
|
+
"AVRO",
|
|
3007
|
+
"JSON",
|
|
3008
|
+
"PROTOBUF"
|
|
3009
|
+
],
|
|
3010
|
+
"enumDescriptions": [
|
|
3011
|
+
"No schema type. The default will be AVRO.",
|
|
3012
|
+
"Avro schema type.",
|
|
3013
|
+
"JSON schema type.",
|
|
3014
|
+
"Protobuf schema type."
|
|
3015
|
+
],
|
|
3016
|
+
"type": "string"
|
|
3017
|
+
},
|
|
3018
|
+
"verbose": {
|
|
3019
|
+
"description": "Optional. If true, the response will contain the compatibility check result with reasons for failed checks. The default is false.",
|
|
3020
|
+
"type": "boolean"
|
|
3021
|
+
}
|
|
3022
|
+
},
|
|
3023
|
+
"type": "object"
|
|
3024
|
+
},
|
|
3025
|
+
"CheckCompatibilityResponse": {
|
|
3026
|
+
"description": "Response for CheckCompatibility.",
|
|
3027
|
+
"id": "CheckCompatibilityResponse",
|
|
3028
|
+
"properties": {
|
|
3029
|
+
"is_compatible": {
|
|
3030
|
+
"description": "The compatibility check result. If true, the schema is compatible with the resource.",
|
|
3031
|
+
"type": "boolean"
|
|
3032
|
+
},
|
|
3033
|
+
"messages": {
|
|
3034
|
+
"description": "Failure reasons if verbose = true.",
|
|
3035
|
+
"items": {
|
|
3036
|
+
"type": "string"
|
|
3037
|
+
},
|
|
3038
|
+
"type": "array"
|
|
3039
|
+
}
|
|
3040
|
+
},
|
|
3041
|
+
"type": "object"
|
|
3042
|
+
},
|
|
1560
3043
|
"Cluster": {
|
|
1561
3044
|
"description": "An Apache Kafka cluster deployed in a location.",
|
|
1562
3045
|
"id": "Cluster",
|
|
@@ -1842,6 +3325,99 @@
|
|
|
1842
3325
|
},
|
|
1843
3326
|
"type": "object"
|
|
1844
3327
|
},
|
|
3328
|
+
"Context": {
|
|
3329
|
+
"description": "Context represents an independent schema grouping in a schema registry instance.",
|
|
3330
|
+
"id": "Context",
|
|
3331
|
+
"properties": {
|
|
3332
|
+
"name": {
|
|
3333
|
+
"description": "Identifier. The name of the context. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}` The context name {context} can contain the following: * Up to 255 characters. * Allowed characters: letters (uppercase or lowercase), numbers, and the following special characters: `.`, `-`, `_`, `+`, `%`, and `~`.",
|
|
3334
|
+
"type": "string"
|
|
3335
|
+
},
|
|
3336
|
+
"subjects": {
|
|
3337
|
+
"description": "Optional. The subjects of the context.",
|
|
3338
|
+
"items": {
|
|
3339
|
+
"type": "string"
|
|
3340
|
+
},
|
|
3341
|
+
"type": "array"
|
|
3342
|
+
}
|
|
3343
|
+
},
|
|
3344
|
+
"type": "object"
|
|
3345
|
+
},
|
|
3346
|
+
"CreateSchemaRegistryRequest": {
|
|
3347
|
+
"description": "Request to create a schema registry instance.",
|
|
3348
|
+
"id": "CreateSchemaRegistryRequest",
|
|
3349
|
+
"properties": {
|
|
3350
|
+
"schemaRegistry": {
|
|
3351
|
+
"$ref": "SchemaRegistry",
|
|
3352
|
+
"description": "Required. The schema registry instance to create. The name field is ignored."
|
|
3353
|
+
},
|
|
3354
|
+
"schemaRegistryId": {
|
|
3355
|
+
"description": "Required. The schema registry instance ID to use for this schema registry. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (-). The maximum length is 63 characters. The ID must not start with a number.",
|
|
3356
|
+
"type": "string"
|
|
3357
|
+
}
|
|
3358
|
+
},
|
|
3359
|
+
"type": "object"
|
|
3360
|
+
},
|
|
3361
|
+
"CreateVersionRequest": {
|
|
3362
|
+
"description": "Request for CreateVersion.",
|
|
3363
|
+
"id": "CreateVersionRequest",
|
|
3364
|
+
"properties": {
|
|
3365
|
+
"id": {
|
|
3366
|
+
"description": "Optional. The schema ID of the schema. If not specified, the schema ID will be generated by the server. If the schema ID is specified, it must not be used by an existing schema that is different from the schema to be created.",
|
|
3367
|
+
"format": "int32",
|
|
3368
|
+
"type": "integer"
|
|
3369
|
+
},
|
|
3370
|
+
"normalize": {
|
|
3371
|
+
"description": "Optional. If true, the schema will be normalized before being stored. The default is false.",
|
|
3372
|
+
"type": "boolean"
|
|
3373
|
+
},
|
|
3374
|
+
"references": {
|
|
3375
|
+
"description": "Optional. The schema references used by the schema.",
|
|
3376
|
+
"items": {
|
|
3377
|
+
"$ref": "SchemaReference"
|
|
3378
|
+
},
|
|
3379
|
+
"type": "array"
|
|
3380
|
+
},
|
|
3381
|
+
"schema": {
|
|
3382
|
+
"description": "Required. The schema payload",
|
|
3383
|
+
"type": "string"
|
|
3384
|
+
},
|
|
3385
|
+
"schemaType": {
|
|
3386
|
+
"description": "Optional. The type of the schema. It is optional. If not specified, the schema type will be AVRO.",
|
|
3387
|
+
"enum": [
|
|
3388
|
+
"SCHEMA_TYPE_UNSPECIFIED",
|
|
3389
|
+
"AVRO",
|
|
3390
|
+
"JSON",
|
|
3391
|
+
"PROTOBUF"
|
|
3392
|
+
],
|
|
3393
|
+
"enumDescriptions": [
|
|
3394
|
+
"No schema type. The default will be AVRO.",
|
|
3395
|
+
"Avro schema type.",
|
|
3396
|
+
"JSON schema type.",
|
|
3397
|
+
"Protobuf schema type."
|
|
3398
|
+
],
|
|
3399
|
+
"type": "string"
|
|
3400
|
+
},
|
|
3401
|
+
"version": {
|
|
3402
|
+
"description": "Optional. The version to create. It is optional. If not specified, the version will be created with the max version ID of the subject increased by 1. If the version ID is specified, it will be used as the new version ID and must not be used by an existing version of the subject.",
|
|
3403
|
+
"format": "int32",
|
|
3404
|
+
"type": "integer"
|
|
3405
|
+
}
|
|
3406
|
+
},
|
|
3407
|
+
"type": "object"
|
|
3408
|
+
},
|
|
3409
|
+
"CreateVersionResponse": {
|
|
3410
|
+
"description": "Response for CreateVersion.",
|
|
3411
|
+
"id": "CreateVersionResponse",
|
|
3412
|
+
"properties": {
|
|
3413
|
+
"id": {
|
|
3414
|
+
"description": "The unique identifier of the schema created.",
|
|
3415
|
+
"format": "int32",
|
|
3416
|
+
"type": "integer"
|
|
3417
|
+
}
|
|
3418
|
+
},
|
|
3419
|
+
"type": "object"
|
|
3420
|
+
},
|
|
1845
3421
|
"Empty": {
|
|
1846
3422
|
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
|
|
1847
3423
|
"id": "Empty",
|
|
@@ -1863,6 +3439,33 @@
|
|
|
1863
3439
|
},
|
|
1864
3440
|
"type": "object"
|
|
1865
3441
|
},
|
|
3442
|
+
"HttpBody": {
|
|
3443
|
+
"description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.",
|
|
3444
|
+
"id": "HttpBody",
|
|
3445
|
+
"properties": {
|
|
3446
|
+
"contentType": {
|
|
3447
|
+
"description": "The HTTP Content-Type header value specifying the content type of the body.",
|
|
3448
|
+
"type": "string"
|
|
3449
|
+
},
|
|
3450
|
+
"data": {
|
|
3451
|
+
"description": "The HTTP request/response body as raw binary.",
|
|
3452
|
+
"format": "byte",
|
|
3453
|
+
"type": "string"
|
|
3454
|
+
},
|
|
3455
|
+
"extensions": {
|
|
3456
|
+
"description": "Application specific response metadata. Must be set in the first response for streaming APIs.",
|
|
3457
|
+
"items": {
|
|
3458
|
+
"additionalProperties": {
|
|
3459
|
+
"description": "Properties of the object. Contains field @type with type URL.",
|
|
3460
|
+
"type": "any"
|
|
3461
|
+
},
|
|
3462
|
+
"type": "object"
|
|
3463
|
+
},
|
|
3464
|
+
"type": "array"
|
|
3465
|
+
}
|
|
3466
|
+
},
|
|
3467
|
+
"type": "object"
|
|
3468
|
+
},
|
|
1866
3469
|
"ListAclsResponse": {
|
|
1867
3470
|
"description": "Response for ListAcls.",
|
|
1868
3471
|
"id": "ListAclsResponse",
|
|
@@ -2003,6 +3606,20 @@
|
|
|
2003
3606
|
},
|
|
2004
3607
|
"type": "object"
|
|
2005
3608
|
},
|
|
3609
|
+
"ListSchemaRegistriesResponse": {
|
|
3610
|
+
"description": "Request for ListSchemaRegistries.",
|
|
3611
|
+
"id": "ListSchemaRegistriesResponse",
|
|
3612
|
+
"properties": {
|
|
3613
|
+
"schemaRegistries": {
|
|
3614
|
+
"description": "The schema registry instances.",
|
|
3615
|
+
"items": {
|
|
3616
|
+
"$ref": "SchemaRegistry"
|
|
3617
|
+
},
|
|
3618
|
+
"type": "array"
|
|
3619
|
+
}
|
|
3620
|
+
},
|
|
3621
|
+
"type": "object"
|
|
3622
|
+
},
|
|
2006
3623
|
"ListTopicsResponse": {
|
|
2007
3624
|
"description": "Response for ListTopics.",
|
|
2008
3625
|
"id": "ListTopicsResponse",
|
|
@@ -2055,6 +3672,48 @@
|
|
|
2055
3672
|
},
|
|
2056
3673
|
"type": "object"
|
|
2057
3674
|
},
|
|
3675
|
+
"LookupVersionRequest": {
|
|
3676
|
+
"description": "Request for LookupVersion.",
|
|
3677
|
+
"id": "LookupVersionRequest",
|
|
3678
|
+
"properties": {
|
|
3679
|
+
"deleted": {
|
|
3680
|
+
"description": "Optional. If true, soft-deleted versions will be included in lookup, no matter if the subject is active or soft-deleted. If false, soft-deleted versions will be excluded. The default is false.",
|
|
3681
|
+
"type": "boolean"
|
|
3682
|
+
},
|
|
3683
|
+
"normalize": {
|
|
3684
|
+
"description": "Optional. If true, the schema will be normalized before being looked up. The default is false.",
|
|
3685
|
+
"type": "boolean"
|
|
3686
|
+
},
|
|
3687
|
+
"references": {
|
|
3688
|
+
"description": "Optional. The schema references used by the schema.",
|
|
3689
|
+
"items": {
|
|
3690
|
+
"$ref": "SchemaReference"
|
|
3691
|
+
},
|
|
3692
|
+
"type": "array"
|
|
3693
|
+
},
|
|
3694
|
+
"schema": {
|
|
3695
|
+
"description": "Required. The schema payload",
|
|
3696
|
+
"type": "string"
|
|
3697
|
+
},
|
|
3698
|
+
"schemaType": {
|
|
3699
|
+
"description": "Optional. The schema type of the schema.",
|
|
3700
|
+
"enum": [
|
|
3701
|
+
"SCHEMA_TYPE_UNSPECIFIED",
|
|
3702
|
+
"AVRO",
|
|
3703
|
+
"JSON",
|
|
3704
|
+
"PROTOBUF"
|
|
3705
|
+
],
|
|
3706
|
+
"enumDescriptions": [
|
|
3707
|
+
"No schema type. The default will be AVRO.",
|
|
3708
|
+
"Avro schema type.",
|
|
3709
|
+
"JSON schema type.",
|
|
3710
|
+
"Protobuf schema type."
|
|
3711
|
+
],
|
|
3712
|
+
"type": "string"
|
|
3713
|
+
}
|
|
3714
|
+
},
|
|
3715
|
+
"type": "object"
|
|
3716
|
+
},
|
|
2058
3717
|
"NetworkConfig": {
|
|
2059
3718
|
"description": "The configuration of a Virtual Private Cloud (VPC) network that can access the Kafka cluster.",
|
|
2060
3719
|
"id": "NetworkConfig",
|
|
@@ -2217,6 +3876,187 @@
|
|
|
2217
3876
|
"properties": {},
|
|
2218
3877
|
"type": "object"
|
|
2219
3878
|
},
|
|
3879
|
+
"Schema": {
|
|
3880
|
+
"description": "Schema for a Kafka message.",
|
|
3881
|
+
"id": "Schema",
|
|
3882
|
+
"properties": {
|
|
3883
|
+
"references": {
|
|
3884
|
+
"description": "Optional. The schema references used by the schema.",
|
|
3885
|
+
"items": {
|
|
3886
|
+
"$ref": "SchemaReference"
|
|
3887
|
+
},
|
|
3888
|
+
"type": "array"
|
|
3889
|
+
},
|
|
3890
|
+
"schema": {
|
|
3891
|
+
"description": "The schema payload.",
|
|
3892
|
+
"type": "string"
|
|
3893
|
+
},
|
|
3894
|
+
"schemaType": {
|
|
3895
|
+
"description": "Optional. The schema type of the schema.",
|
|
3896
|
+
"enum": [
|
|
3897
|
+
"SCHEMA_TYPE_UNSPECIFIED",
|
|
3898
|
+
"AVRO",
|
|
3899
|
+
"JSON",
|
|
3900
|
+
"PROTOBUF"
|
|
3901
|
+
],
|
|
3902
|
+
"enumDescriptions": [
|
|
3903
|
+
"No schema type. The default will be AVRO.",
|
|
3904
|
+
"Avro schema type.",
|
|
3905
|
+
"JSON schema type.",
|
|
3906
|
+
"Protobuf schema type."
|
|
3907
|
+
],
|
|
3908
|
+
"type": "string"
|
|
3909
|
+
}
|
|
3910
|
+
},
|
|
3911
|
+
"type": "object"
|
|
3912
|
+
},
|
|
3913
|
+
"SchemaConfig": {
|
|
3914
|
+
"description": "SchemaConfig represents configuration for a schema registry or a specific subject.",
|
|
3915
|
+
"id": "SchemaConfig",
|
|
3916
|
+
"properties": {
|
|
3917
|
+
"alias": {
|
|
3918
|
+
"description": "Optional. The subject to which this subject is an alias of. Only applicable for subject config.",
|
|
3919
|
+
"type": "string"
|
|
3920
|
+
},
|
|
3921
|
+
"compatibility": {
|
|
3922
|
+
"description": "Required. The compatibility type of the schema. The default value is BACKWARD. If unset in a SchemaSubject-level SchemaConfig, defaults to the global value. If unset in a SchemaRegistry-level SchemaConfig, reverts to the default value.",
|
|
3923
|
+
"enum": [
|
|
3924
|
+
"NONE",
|
|
3925
|
+
"BACKWARD",
|
|
3926
|
+
"BACKWARD_TRANSITIVE",
|
|
3927
|
+
"FORWARD",
|
|
3928
|
+
"FORWARD_TRANSITIVE",
|
|
3929
|
+
"FULL",
|
|
3930
|
+
"FULL_TRANSITIVE"
|
|
3931
|
+
],
|
|
3932
|
+
"enumDescriptions": [
|
|
3933
|
+
"No compatibility check.",
|
|
3934
|
+
"Backwards compatible with the most recent version.",
|
|
3935
|
+
"Backwards compatible with all previous versions.",
|
|
3936
|
+
"Forwards compatible with the most recent version.",
|
|
3937
|
+
"Forwards compatible with all previous versions.",
|
|
3938
|
+
"Backwards and forwards compatible with the most recent version.",
|
|
3939
|
+
"Backwards and forwards compatible with all previous versions."
|
|
3940
|
+
],
|
|
3941
|
+
"type": "string"
|
|
3942
|
+
},
|
|
3943
|
+
"normalize": {
|
|
3944
|
+
"description": "Optional. If true, the schema will be normalized before being stored or looked up. The default is false. If unset in a SchemaSubject-level SchemaConfig, the global value will be used. If unset in a SchemaRegistry-level SchemaConfig, reverts to the default value.",
|
|
3945
|
+
"type": "boolean"
|
|
3946
|
+
}
|
|
3947
|
+
},
|
|
3948
|
+
"type": "object"
|
|
3949
|
+
},
|
|
3950
|
+
"SchemaMode": {
|
|
3951
|
+
"description": "SchemaMode represents the mode of a schema registry or a specific subject. Four modes are supported: * NONE: This is the default mode for a subject and essentially means that the subject does not have any mode set. This means the subject will follow the schema registry's mode. * READONLY: The schema registry is in read-only mode. * READWRITE: The schema registry is in read-write mode, which allows limited write operations on the schema. * IMPORT: The schema registry is in import mode, which allows more editing operations on the schema for data importing purposes.",
|
|
3952
|
+
"id": "SchemaMode",
|
|
3953
|
+
"properties": {
|
|
3954
|
+
"mode": {
|
|
3955
|
+
"description": "Required. The mode type of a schema registry (READWRITE by default) or of a subject (NONE by default, which means use the global schema registry setting).",
|
|
3956
|
+
"enum": [
|
|
3957
|
+
"NONE",
|
|
3958
|
+
"READONLY",
|
|
3959
|
+
"READWRITE",
|
|
3960
|
+
"IMPORT"
|
|
3961
|
+
],
|
|
3962
|
+
"enumDescriptions": [
|
|
3963
|
+
"No mode.",
|
|
3964
|
+
"READONLY mode.",
|
|
3965
|
+
"READWRITE mode.",
|
|
3966
|
+
"IMPORT mode."
|
|
3967
|
+
],
|
|
3968
|
+
"type": "string"
|
|
3969
|
+
}
|
|
3970
|
+
},
|
|
3971
|
+
"type": "object"
|
|
3972
|
+
},
|
|
3973
|
+
"SchemaReference": {
|
|
3974
|
+
"description": "SchemaReference is a reference to a schema.",
|
|
3975
|
+
"id": "SchemaReference",
|
|
3976
|
+
"properties": {
|
|
3977
|
+
"name": {
|
|
3978
|
+
"description": "Required. The name of the reference.",
|
|
3979
|
+
"type": "string"
|
|
3980
|
+
},
|
|
3981
|
+
"subject": {
|
|
3982
|
+
"description": "Required. The subject of the reference.",
|
|
3983
|
+
"type": "string"
|
|
3984
|
+
},
|
|
3985
|
+
"version": {
|
|
3986
|
+
"description": "Required. The version of the reference.",
|
|
3987
|
+
"format": "int32",
|
|
3988
|
+
"type": "integer"
|
|
3989
|
+
}
|
|
3990
|
+
},
|
|
3991
|
+
"type": "object"
|
|
3992
|
+
},
|
|
3993
|
+
"SchemaRegistry": {
|
|
3994
|
+
"description": "SchemaRegistry is a schema registry instance.",
|
|
3995
|
+
"id": "SchemaRegistry",
|
|
3996
|
+
"properties": {
|
|
3997
|
+
"contexts": {
|
|
3998
|
+
"description": "Output only. The contexts of the schema registry instance.",
|
|
3999
|
+
"items": {
|
|
4000
|
+
"type": "string"
|
|
4001
|
+
},
|
|
4002
|
+
"readOnly": true,
|
|
4003
|
+
"type": "array"
|
|
4004
|
+
},
|
|
4005
|
+
"name": {
|
|
4006
|
+
"description": "Identifier. The name of the schema registry instance. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` The instance name {schema_registry} can contain the following: * Up to 255 characters. * Letters (uppercase or lowercase), numbers, and underscores.",
|
|
4007
|
+
"type": "string"
|
|
4008
|
+
}
|
|
4009
|
+
},
|
|
4010
|
+
"type": "object"
|
|
4011
|
+
},
|
|
4012
|
+
"SchemaVersion": {
|
|
4013
|
+
"description": "Version of a schema.",
|
|
4014
|
+
"id": "SchemaVersion",
|
|
4015
|
+
"properties": {
|
|
4016
|
+
"id": {
|
|
4017
|
+
"description": "Required. The schema ID.",
|
|
4018
|
+
"format": "int32",
|
|
4019
|
+
"type": "integer"
|
|
4020
|
+
},
|
|
4021
|
+
"references": {
|
|
4022
|
+
"description": "Optional. The schema references used by the schema.",
|
|
4023
|
+
"items": {
|
|
4024
|
+
"$ref": "SchemaReference"
|
|
4025
|
+
},
|
|
4026
|
+
"type": "array"
|
|
4027
|
+
},
|
|
4028
|
+
"schema": {
|
|
4029
|
+
"description": "Required. The schema payload.",
|
|
4030
|
+
"type": "string"
|
|
4031
|
+
},
|
|
4032
|
+
"schemaType": {
|
|
4033
|
+
"description": "Optional. The schema type of the schema.",
|
|
4034
|
+
"enum": [
|
|
4035
|
+
"SCHEMA_TYPE_UNSPECIFIED",
|
|
4036
|
+
"AVRO",
|
|
4037
|
+
"JSON",
|
|
4038
|
+
"PROTOBUF"
|
|
4039
|
+
],
|
|
4040
|
+
"enumDescriptions": [
|
|
4041
|
+
"No schema type. The default will be AVRO.",
|
|
4042
|
+
"Avro schema type.",
|
|
4043
|
+
"JSON schema type.",
|
|
4044
|
+
"Protobuf schema type."
|
|
4045
|
+
],
|
|
4046
|
+
"type": "string"
|
|
4047
|
+
},
|
|
4048
|
+
"subject": {
|
|
4049
|
+
"description": "Required. The subject of the version.",
|
|
4050
|
+
"type": "string"
|
|
4051
|
+
},
|
|
4052
|
+
"version": {
|
|
4053
|
+
"description": "Required. The version ID",
|
|
4054
|
+
"format": "int32",
|
|
4055
|
+
"type": "integer"
|
|
4056
|
+
}
|
|
4057
|
+
},
|
|
4058
|
+
"type": "object"
|
|
4059
|
+
},
|
|
2220
4060
|
"Status": {
|
|
2221
4061
|
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
|
|
2222
4062
|
"id": "Status",
|
|
@@ -2300,6 +4140,62 @@
|
|
|
2300
4140
|
}
|
|
2301
4141
|
},
|
|
2302
4142
|
"type": "object"
|
|
4143
|
+
},
|
|
4144
|
+
"UpdateSchemaConfigRequest": {
|
|
4145
|
+
"description": "Request for updating schema config. On a SchemaSubject-level SchemaConfig, an unset field will be removed from the SchemaConfig.",
|
|
4146
|
+
"id": "UpdateSchemaConfigRequest",
|
|
4147
|
+
"properties": {
|
|
4148
|
+
"compatibility": {
|
|
4149
|
+
"description": "Required. The compatibility type of the schemas. Cannot be unset for a SchemaRegistry-level SchemaConfig. If unset on a SchemaSubject-level SchemaConfig, removes the compatibility field for the SchemaConfig.",
|
|
4150
|
+
"enum": [
|
|
4151
|
+
"NONE",
|
|
4152
|
+
"BACKWARD",
|
|
4153
|
+
"BACKWARD_TRANSITIVE",
|
|
4154
|
+
"FORWARD",
|
|
4155
|
+
"FORWARD_TRANSITIVE",
|
|
4156
|
+
"FULL",
|
|
4157
|
+
"FULL_TRANSITIVE"
|
|
4158
|
+
],
|
|
4159
|
+
"enumDescriptions": [
|
|
4160
|
+
"No compatibility check.",
|
|
4161
|
+
"Backwards compatible with the most recent version.",
|
|
4162
|
+
"Backwards compatible with all previous versions.",
|
|
4163
|
+
"Forwards compatible with the most recent version.",
|
|
4164
|
+
"Forwards compatible with all previous versions.",
|
|
4165
|
+
"Backwards and forwards compatible with the most recent version.",
|
|
4166
|
+
"Backwards and forwards compatible with all previous versions."
|
|
4167
|
+
],
|
|
4168
|
+
"type": "string"
|
|
4169
|
+
},
|
|
4170
|
+
"normalize": {
|
|
4171
|
+
"description": "Optional. If true, the schema will be normalized before being stored or looked up. The default is false. Cannot be unset for a SchemaRegistry-level SchemaConfig. If unset on a SchemaSubject-level SchemaConfig, removes the normalize field for the SchemaConfig.",
|
|
4172
|
+
"type": "boolean"
|
|
4173
|
+
}
|
|
4174
|
+
},
|
|
4175
|
+
"type": "object"
|
|
4176
|
+
},
|
|
4177
|
+
"UpdateSchemaModeRequest": {
|
|
4178
|
+
"description": "Request for updating schema registry or subject mode.",
|
|
4179
|
+
"id": "UpdateSchemaModeRequest",
|
|
4180
|
+
"properties": {
|
|
4181
|
+
"mode": {
|
|
4182
|
+
"description": "Required. The mode type.",
|
|
4183
|
+
"enum": [
|
|
4184
|
+
"NONE",
|
|
4185
|
+
"READONLY",
|
|
4186
|
+
"READWRITE",
|
|
4187
|
+
"IMPORT"
|
|
4188
|
+
],
|
|
4189
|
+
"enumDescriptions": [
|
|
4190
|
+
"No mode.",
|
|
4191
|
+
"READONLY mode.",
|
|
4192
|
+
"READWRITE mode.",
|
|
4193
|
+
"IMPORT mode."
|
|
4194
|
+
],
|
|
4195
|
+
"type": "string"
|
|
4196
|
+
}
|
|
4197
|
+
},
|
|
4198
|
+
"type": "object"
|
|
2303
4199
|
}
|
|
2304
4200
|
},
|
|
2305
4201
|
"servicePath": "",
|