Skip to content

Commit 9fb35f5

Browse files
feat(all): auto-regenerate discovery clients (#1788)
1 parent 1569e5b commit 9fb35f5

23 files changed

+47443
-47
lines changed

accesscontextmanager/v1/accesscontextmanager-api.json

Lines changed: 229 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,158 @@
565565
}
566566
}
567567
},
568+
"authorizedOrgsDescs": {
569+
"methods": {
570+
"create": {
571+
"description": "Creates a authorized orgs desc. The long-running operation from this RPC has a successful status after the authorized orgs desc propagates to long-lasting storage. If a authorized orgs desc contains errors, an error response is returned for the first error encountered. The name of this `AuthorizedOrgsDesc` will be assigned during creation.",
572+
"flatPath": "v1/accessPolicies/{accessPoliciesId}/authorizedOrgsDescs",
573+
"httpMethod": "POST",
574+
"id": "accesscontextmanager.accessPolicies.authorizedOrgsDescs.create",
575+
"parameterOrder": [
576+
"parent"
577+
],
578+
"parameters": {
579+
"parent": {
580+
"description": "Required. Resource name for the access policy which owns this Authorized Orgs Desc. Format: `accessPolicies/{policy_id}`",
581+
"location": "path",
582+
"pattern": "^accessPolicies/[^/]+$",
583+
"required": true,
584+
"type": "string"
585+
}
586+
},
587+
"path": "v1/{+parent}/authorizedOrgsDescs",
588+
"request": {
589+
"$ref": "AuthorizedOrgsDesc"
590+
},
591+
"response": {
592+
"$ref": "Operation"
593+
},
594+
"scopes": [
595+
"https://www.googleapis.com/auth/cloud-platform"
596+
]
597+
},
598+
"delete": {
599+
"description": "Deletes a authorized orgs desc based on the resource name. The long-running operation from this RPC has a successful status after the authorized orgs desc is removed from long-lasting storage.",
600+
"flatPath": "v1/accessPolicies/{accessPoliciesId}/authorizedOrgsDescs/{authorizedOrgsDescsId}",
601+
"httpMethod": "DELETE",
602+
"id": "accesscontextmanager.accessPolicies.authorizedOrgsDescs.delete",
603+
"parameterOrder": [
604+
"name"
605+
],
606+
"parameters": {
607+
"name": {
608+
"description": "Required. Resource name for the Authorized Orgs Desc. Format: `accessPolicies/{policy_id}/authorizedOrgsDesc/{authorized_orgs_desc_id}`",
609+
"location": "path",
610+
"pattern": "^accessPolicies/[^/]+/authorizedOrgsDescs/[^/]+$",
611+
"required": true,
612+
"type": "string"
613+
}
614+
},
615+
"path": "v1/{+name}",
616+
"response": {
617+
"$ref": "Operation"
618+
},
619+
"scopes": [
620+
"https://www.googleapis.com/auth/cloud-platform"
621+
]
622+
},
623+
"get": {
624+
"description": "Gets a authorized orgs desc based on the resource name.",
625+
"flatPath": "v1/accessPolicies/{accessPoliciesId}/authorizedOrgsDescs/{authorizedOrgsDescsId}",
626+
"httpMethod": "GET",
627+
"id": "accesscontextmanager.accessPolicies.authorizedOrgsDescs.get",
628+
"parameterOrder": [
629+
"name"
630+
],
631+
"parameters": {
632+
"name": {
633+
"description": "Required. Resource name for the Authorized Orgs Desc. Format: `accessPolicies/{policy_id}/authorizedOrgsDescs/{authorized_orgs_descs_id}`",
634+
"location": "path",
635+
"pattern": "^accessPolicies/[^/]+/authorizedOrgsDescs/[^/]+$",
636+
"required": true,
637+
"type": "string"
638+
}
639+
},
640+
"path": "v1/{+name}",
641+
"response": {
642+
"$ref": "AuthorizedOrgsDesc"
643+
},
644+
"scopes": [
645+
"https://www.googleapis.com/auth/cloud-platform"
646+
]
647+
},
648+
"list": {
649+
"description": "Lists all authorized orgs descs for an access policy.",
650+
"flatPath": "v1/accessPolicies/{accessPoliciesId}/authorizedOrgsDescs",
651+
"httpMethod": "GET",
652+
"id": "accesscontextmanager.accessPolicies.authorizedOrgsDescs.list",
653+
"parameterOrder": [
654+
"parent"
655+
],
656+
"parameters": {
657+
"pageSize": {
658+
"description": "Number of Authorized Orgs Descs to include in the list. Default 100.",
659+
"format": "int32",
660+
"location": "query",
661+
"type": "integer"
662+
},
663+
"pageToken": {
664+
"description": "Next page token for the next batch of Authorized Orgs Desc instances. Defaults to the first page of results.",
665+
"location": "query",
666+
"type": "string"
667+
},
668+
"parent": {
669+
"description": "Required. Resource name for the access policy to list Authorized Orgs Desc from. Format: `accessPolicies/{policy_id}`",
670+
"location": "path",
671+
"pattern": "^accessPolicies/[^/]+$",
672+
"required": true,
673+
"type": "string"
674+
}
675+
},
676+
"path": "v1/{+parent}/authorizedOrgsDescs",
677+
"response": {
678+
"$ref": "ListAuthorizedOrgsDescsResponse"
679+
},
680+
"scopes": [
681+
"https://www.googleapis.com/auth/cloud-platform"
682+
]
683+
},
684+
"patch": {
685+
"description": "Updates a authorized orgs desc. The long-running operation from this RPC has a successful status after the authorized orgs desc propagates to long-lasting storage. If a authorized orgs desc contains errors, an error response is returned for the first error encountered. Only the organization list in `AuthorizedOrgsDesc` can be updated. The name, authorization_type, asset_type and authorization_direction cannot be updated.",
686+
"flatPath": "v1/accessPolicies/{accessPoliciesId}/authorizedOrgsDescs/{authorizedOrgsDescsId}",
687+
"httpMethod": "PATCH",
688+
"id": "accesscontextmanager.accessPolicies.authorizedOrgsDescs.patch",
689+
"parameterOrder": [
690+
"name"
691+
],
692+
"parameters": {
693+
"name": {
694+
"description": "Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: \"accessPolicies/122256/authorizedOrgs/b3-BhcX_Ud5N\"",
695+
"location": "path",
696+
"pattern": "^accessPolicies/[^/]+/authorizedOrgsDescs/[^/]+$",
697+
"required": true,
698+
"type": "string"
699+
},
700+
"updateMask": {
701+
"description": "Required. Mask to control which fields get updated. Must be non-empty.",
702+
"format": "google-fieldmask",
703+
"location": "query",
704+
"type": "string"
705+
}
706+
},
707+
"path": "v1/{+name}",
708+
"request": {
709+
"$ref": "AuthorizedOrgsDesc"
710+
},
711+
"response": {
712+
"$ref": "Operation"
713+
},
714+
"scopes": [
715+
"https://www.googleapis.com/auth/cloud-platform"
716+
]
717+
}
718+
}
719+
},
568720
"servicePerimeters": {
569721
"methods": {
570722
"commit": {
@@ -1083,7 +1235,7 @@
10831235
}
10841236
}
10851237
},
1086-
"revision": "20221205",
1238+
"revision": "20221213",
10871239
"rootUrl": "https://accesscontextmanager.googleapis.com/",
10881240
"schemas": {
10891241
"AccessContextManagerOperationMetadata": {
@@ -1215,6 +1367,64 @@
12151367
},
12161368
"type": "object"
12171369
},
1370+
"AuthorizedOrgsDesc": {
1371+
"description": "`AuthorizedOrgsDesc` is a resource that contains a list of organizations for a authorization type and asset type and its authorization direction.",
1372+
"id": "AuthorizedOrgsDesc",
1373+
"properties": {
1374+
"assetType": {
1375+
"description": "The asset type of this authorized orgs desc. e.g. device, credential strength.",
1376+
"enum": [
1377+
"ASSET_TYPE_UNSPECIFIED",
1378+
"ASSET_TYPE_DEVICE",
1379+
"ASSET_TYPE_CREDENTIAL_STRENGTH"
1380+
],
1381+
"enumDescriptions": [
1382+
"No asset type specified.",
1383+
"Device asset type.",
1384+
"credential strength asset type."
1385+
],
1386+
"type": "string"
1387+
},
1388+
"authorizationDirection": {
1389+
"description": "Authorization direction of this authorization relationship. i.e. Whether to allow specified orgs to evaluate this org's traffic, or allow specified orgs' traffic to be evaluated by this org. Orgs specified as `AUTHORIZATION_DIRECTION_TO` in this AuthorizedOrgsDesc[com.google.identity.accesscontextmanager.v1.AuthorizedOrgsDesc] must also specify this org as the `AUTHORIZATION_DIRECTION_FROM` in their own AuthorizedOrgsDesc in order for this relationship to take effect. Orgs specified as `AUTHORIZATION_DIRECTION_FROM` in this AuthorizedOrgsDesc[com.google.identity.accesscontextmanager.v1.AuthorizedOrgsDesc] must also specify this org as the `AUTHORIZATION_DIRECTION_TO` in their own AuthorizedOrgsDesc in order for this relationship to take effect.",
1390+
"enum": [
1391+
"AUTHORIZATION_DIRECTION_UNSPECIFIED",
1392+
"AUTHORIZATION_DIRECTION_TO",
1393+
"AUTHORIZATION_DIRECTION_FROM"
1394+
],
1395+
"enumDescriptions": [
1396+
"No direction specified.",
1397+
"Specified orgs will evaluate traffic.",
1398+
"Specified orgs' traffic will be evaluated."
1399+
],
1400+
"type": "string"
1401+
},
1402+
"authorizationType": {
1403+
"description": "The authorization type of this authorized orgs desc. e.g.authorization, troubleshooting or logging.",
1404+
"enum": [
1405+
"AUTHORIZATION_TYPE_UNSPECIFIED",
1406+
"AUTHORIZATION_TYPE_TRUST"
1407+
],
1408+
"enumDescriptions": [
1409+
"No authorization type specified.",
1410+
"This authorization relationship is \"trust\"."
1411+
],
1412+
"type": "string"
1413+
},
1414+
"name": {
1415+
"description": "Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be specified by the client during creation. Example: \"accessPolicies/122256/authorizedOrgs/b3-BhcX_Ud5N\"",
1416+
"type": "string"
1417+
},
1418+
"orgs": {
1419+
"description": "The list of organization ids in this AuthorizedOrgsDesc.",
1420+
"items": {
1421+
"type": "string"
1422+
},
1423+
"type": "array"
1424+
}
1425+
},
1426+
"type": "object"
1427+
},
12181428
"BasicLevel": {
12191429
"description": "`BasicLevel` is an `AccessLevel` using a set of recommended features.",
12201430
"id": "BasicLevel",
@@ -1689,6 +1899,24 @@
16891899
},
16901900
"type": "object"
16911901
},
1902+
"ListAuthorizedOrgsDescsResponse": {
1903+
"description": "A response to `ListAuthorizedOrgsDescsRequest`.",
1904+
"id": "ListAuthorizedOrgsDescsResponse",
1905+
"properties": {
1906+
"authorizedOrgsDescs": {
1907+
"description": "List of the Authorized Orgs Desc instances.",
1908+
"items": {
1909+
"$ref": "AuthorizedOrgsDesc"
1910+
},
1911+
"type": "array"
1912+
},
1913+
"nextPageToken": {
1914+
"description": "The pagination token to retrieve the next page of results. If the value is empty, no further results remain.",
1915+
"type": "string"
1916+
}
1917+
},
1918+
"type": "object"
1919+
},
16921920
"ListGcpUserAccessBindingsResponse": {
16931921
"description": "Response of ListGcpUserAccessBindings.",
16941922
"id": "ListGcpUserAccessBindingsResponse",

0 commit comments

Comments
 (0)