Skip to content

Commit 440516e

Browse files
feat(serviceusage): update the api
#### serviceusage:v1 The following keys were added: - schemas.DotnetSettings.properties.forcedNamespaceAliases (Total Keys: 2) - schemas.DotnetSettings.properties.handwrittenSignatures (Total Keys: 2) - schemas.DotnetSettings.properties.ignoredResources (Total Keys: 2) - schemas.DotnetSettings.properties.renamedResources (Total Keys: 2) - schemas.DotnetSettings.properties.renamedServices (Total Keys: 2) #### serviceusage:v1beta1 The following keys were added: - schemas.DotnetSettings.properties.forcedNamespaceAliases (Total Keys: 2) - schemas.DotnetSettings.properties.handwrittenSignatures (Total Keys: 2) - schemas.DotnetSettings.properties.ignoredResources (Total Keys: 2) - schemas.DotnetSettings.properties.renamedResources (Total Keys: 2) - schemas.DotnetSettings.properties.renamedServices (Total Keys: 2)
1 parent 9921394 commit 440516e

File tree

2 files changed

+72
-2
lines changed

2 files changed

+72
-2
lines changed

googleapiclient/discovery_cache/documents/serviceusage.v1.json

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@
426426
}
427427
}
428428
},
429-
"revision": "20230322",
429+
"revision": "20230330",
430430
"rootUrl": "https://serviceusage.googleapis.com/",
431431
"schemas": {
432432
"AdminQuotaPolicy": {
@@ -1141,6 +1141,41 @@
11411141
"common": {
11421142
"$ref": "CommonLanguageSettings",
11431143
"description": "Some settings."
1144+
},
1145+
"forcedNamespaceAliases": {
1146+
"description": "Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision",
1147+
"items": {
1148+
"type": "string"
1149+
},
1150+
"type": "array"
1151+
},
1152+
"handwrittenSignatures": {
1153+
"description": "Method signatures (in the form \"service.method(signature)\") which are provided separately, so shouldn't be generated. Snippets *calling* these methods are still generated, however.",
1154+
"items": {
1155+
"type": "string"
1156+
},
1157+
"type": "array"
1158+
},
1159+
"ignoredResources": {
1160+
"description": "List of full resource types to ignore during generation. This is typically used for API-specific Location resources, which should be handled by the generator as if they were actually the common Location resources. Example entry: \"documentai.googleapis.com/Location\"",
1161+
"items": {
1162+
"type": "string"
1163+
},
1164+
"type": "array"
1165+
},
1166+
"renamedResources": {
1167+
"additionalProperties": {
1168+
"type": "string"
1169+
},
1170+
"description": "Map from full resource types to the effective short name for the resource. This is used when otherwise resource named from different services would cause naming collisions. Example entry: \"datalabeling.googleapis.com/Dataset\": \"DataLabelingDataset\"",
1171+
"type": "object"
1172+
},
1173+
"renamedServices": {
1174+
"additionalProperties": {
1175+
"type": "string"
1176+
},
1177+
"description": "Map from original service names to renamed versions. This is used when the default generated types would cause a naming conflict. (Neither name is fully-qualified.) Example: Subscriber to SubscriberServiceApi.",
1178+
"type": "object"
11441179
}
11451180
},
11461181
"type": "object"

googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@
959959
}
960960
}
961961
},
962-
"revision": "20230322",
962+
"revision": "20230330",
963963
"rootUrl": "https://serviceusage.googleapis.com/",
964964
"schemas": {
965965
"AdminQuotaPolicy": {
@@ -1713,6 +1713,41 @@
17131713
"common": {
17141714
"$ref": "CommonLanguageSettings",
17151715
"description": "Some settings."
1716+
},
1717+
"forcedNamespaceAliases": {
1718+
"description": "Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision",
1719+
"items": {
1720+
"type": "string"
1721+
},
1722+
"type": "array"
1723+
},
1724+
"handwrittenSignatures": {
1725+
"description": "Method signatures (in the form \"service.method(signature)\") which are provided separately, so shouldn't be generated. Snippets *calling* these methods are still generated, however.",
1726+
"items": {
1727+
"type": "string"
1728+
},
1729+
"type": "array"
1730+
},
1731+
"ignoredResources": {
1732+
"description": "List of full resource types to ignore during generation. This is typically used for API-specific Location resources, which should be handled by the generator as if they were actually the common Location resources. Example entry: \"documentai.googleapis.com/Location\"",
1733+
"items": {
1734+
"type": "string"
1735+
},
1736+
"type": "array"
1737+
},
1738+
"renamedResources": {
1739+
"additionalProperties": {
1740+
"type": "string"
1741+
},
1742+
"description": "Map from full resource types to the effective short name for the resource. This is used when otherwise resource named from different services would cause naming collisions. Example entry: \"datalabeling.googleapis.com/Dataset\": \"DataLabelingDataset\"",
1743+
"type": "object"
1744+
},
1745+
"renamedServices": {
1746+
"additionalProperties": {
1747+
"type": "string"
1748+
},
1749+
"description": "Map from original service names to renamed versions. This is used when the default generated types would cause a naming conflict. (Neither name is fully-qualified.) Example: Subscriber to SubscriberServiceApi.",
1750+
"type": "object"
17161751
}
17171752
},
17181753
"type": "object"

0 commit comments

Comments
 (0)