Skip to content

Commit 4148872

Browse files
feat(all): auto-regenerate discovery clients (#2287)
1 parent 7897739 commit 4148872

File tree

4 files changed

+356
-6
lines changed

4 files changed

+356
-6
lines changed

analyticshub/v1/analyticshub-api.json

+59-1
Original file line numberDiff line numberDiff line change
@@ -857,6 +857,35 @@
857857
"https://www.googleapis.com/auth/cloud-platform"
858858
]
859859
},
860+
"getIamPolicy": {
861+
"description": "Gets the IAM policy.",
862+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/subscriptions/{subscriptionsId}:getIamPolicy",
863+
"httpMethod": "POST",
864+
"id": "analyticshub.projects.locations.subscriptions.getIamPolicy",
865+
"parameterOrder": [
866+
"resource"
867+
],
868+
"parameters": {
869+
"resource": {
870+
"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
871+
"location": "path",
872+
"pattern": "^projects/[^/]+/locations/[^/]+/subscriptions/[^/]+$",
873+
"required": true,
874+
"type": "string"
875+
}
876+
},
877+
"path": "v1/{+resource}:getIamPolicy",
878+
"request": {
879+
"$ref": "GetIamPolicyRequest"
880+
},
881+
"response": {
882+
"$ref": "Policy"
883+
},
884+
"scopes": [
885+
"https://www.googleapis.com/auth/bigquery",
886+
"https://www.googleapis.com/auth/cloud-platform"
887+
]
888+
},
860889
"list": {
861890
"description": "Lists all subscriptions in a given project and location.",
862891
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/subscriptions",
@@ -956,6 +985,35 @@
956985
"https://www.googleapis.com/auth/bigquery",
957986
"https://www.googleapis.com/auth/cloud-platform"
958987
]
988+
},
989+
"setIamPolicy": {
990+
"description": "Sets the IAM policy.",
991+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/subscriptions/{subscriptionsId}:setIamPolicy",
992+
"httpMethod": "POST",
993+
"id": "analyticshub.projects.locations.subscriptions.setIamPolicy",
994+
"parameterOrder": [
995+
"resource"
996+
],
997+
"parameters": {
998+
"resource": {
999+
"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
1000+
"location": "path",
1001+
"pattern": "^projects/[^/]+/locations/[^/]+/subscriptions/[^/]+$",
1002+
"required": true,
1003+
"type": "string"
1004+
}
1005+
},
1006+
"path": "v1/{+resource}:setIamPolicy",
1007+
"request": {
1008+
"$ref": "SetIamPolicyRequest"
1009+
},
1010+
"response": {
1011+
"$ref": "Policy"
1012+
},
1013+
"scopes": [
1014+
"https://www.googleapis.com/auth/bigquery",
1015+
"https://www.googleapis.com/auth/cloud-platform"
1016+
]
9591017
}
9601018
}
9611019
}
@@ -964,7 +1022,7 @@
9641022
}
9651023
}
9661024
},
967-
"revision": "20230923",
1025+
"revision": "20231127",
9681026
"rootUrl": "https://analyticshub.googleapis.com/",
9691027
"schemas": {
9701028
"AuditConfig": {

analyticshub/v1/analyticshub-gen.go

+292
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)