11# coding: utf-8
22
3- # (C) Copyright IBM Corp. 2021 .
3+ # (C) Copyright IBM Corp. 2022 .
44#
55# Licensed under the Apache License, Version 2.0 (the "License");
66# you may not use this file except in compliance with the License.
1414# See the License for the specific language governing permissions and
1515# limitations under the License.
1616
17- # IBM OpenAPI SDK Code Generator Version: 3.43.0-49eab5c7-20211117-152138
17+ # IBM OpenAPI SDK Code Generator Version: 3.43.4-432d779b-20220119-173927
1818
1919"""
2020The IAM Access Groups API allows for the management of access groups (Create, Read,
@@ -187,8 +187,8 @@ def list_access_groups(self,
187187 multiple services by using one identifier. The header key must be set to
188188 Transaction-Id and the value is anything that you choose. If no transaction
189189 ID is passed in, then a random ID is generated.
190- :param str iam_id: (optional) Return groups for member id (IBMid or Service
191- Id).
190+ :param str iam_id: (optional) Return groups for member id (IBMid, Service
191+ Id or Profile Id ).
192192 :param int limit: (optional) Return up to this limit of results where limit
193193 is between 0 and 100.
194194 :param int offset: (optional) The offset of the first result item to be
@@ -498,12 +498,12 @@ def add_members_to_access_group(self,
498498 """
499499 Add members to an access group.
500500
501- Use this API to add users (`IBMid-...`) or service IDs (`iam-ServiceId-...`) to an
502- access group. Any member added gains access to resources defined in the group's
503- policies. To revoke a given user 's access, simply remove them from the group.
504- There is no limit to the number of members one group can have, but each `iam_id`
505- can only be added to 50 groups. Additionally, this API request payload can add up
506- to 50 members per call.
501+ Use this API to add users (`IBMid-...`), service IDs (`iam-ServiceId-...`) or
502+ trusted profiles (`iam-Profile-...`) to an access group. Any member added gains
503+ access to resources defined in the group 's policies. To revoke a given members's
504+ access, simply remove them from the group. There is no limit to the number of
505+ members one group can have, but each `iam_id` can only be added to 50 groups.
506+ Additionally, this API request payload can add up to 50 members per call.
507507
508508 :param str access_group_id: The access group identifier.
509509 :param List[AddGroupMembersRequestMembersItem] members: (optional) An array
@@ -570,9 +570,9 @@ def list_access_group_members(self,
570570
571571 List all members of a given group using this API. Parameters for pagination and
572572 sorting can be used to filter the results. The most useful query parameter may be
573- the `verbose` flag. If `verbose=true`, user and service ID names will be retrieved
574- for each `iam_id`. If performance is a concern, leave the `verbose` parameter off
575- so that name information does not get retrieved.
573+ the `verbose` flag. If `verbose=true`, user, service ID and trusted profile names
574+ will be retrieved for each `iam_id`. If performance is a concern, leave the
575+ `verbose` parameter off so that name information does not get retrieved.
576576
577577 :param str access_group_id: The access group identifier.
578578 :param str transaction_id: (optional) An optional transaction ID can be
@@ -586,7 +586,7 @@ def list_access_group_members(self,
586586 returned.
587587 :param str type: (optional) Filter the results by member type.
588588 :param bool verbose: (optional) Return user's email and name for each user
589- id or the name for each service id.
589+ id or the name for each service id or trusted profile .
590590 :param str sort: (optional) If verbose is true, sort the results by id,
591591 name, or email.
592592 :param dict headers: A `dict` containing the request headers
@@ -828,8 +828,8 @@ def add_member_to_multiple_access_groups(self,
828828 IAM ID. If a user IAM ID is specified in iam_id then then account_id must
829829 match the account of the Authorization token.
830830 :param str iam_id: The IAM identifier.
831- :param str type: (optional) The type of the member, must be either "user"
832- or "service ".
831+ :param str type: (optional) The type of the member, must be either "user",
832+ "service" or "trusted profile ".
833833 :param List[str] groups: (optional) The ids of the access groups a given
834834 member is to be added to.
835835 :param str transaction_id: (optional) An optional transaction ID can be
@@ -1437,8 +1437,9 @@ class AddGroupMembersRequestMembersItem():
14371437 """
14381438 AddGroupMembersRequestMembersItem.
14391439
1440- :attr str iam_id: The IBMid or Service Id of the member.
1441- :attr str type: The type of the member, must be either "user" or "service".
1440+ :attr str iam_id: The IBMid, Service Id or Profile Id of the member.
1441+ :attr str type: The type of the member, must be either "user", "service" or
1442+ "trusted profile".
14421443 """
14431444
14441445 def __init__ (self ,
@@ -1447,9 +1448,9 @@ def __init__(self,
14471448 """
14481449 Initialize a AddGroupMembersRequestMembersItem object.
14491450
1450- :param str iam_id: The IBMid or Service Id of the member.
1451- :param str type: The type of the member, must be either "user" or
1452- "service ".
1451+ :param str iam_id: The IBMid, Service Id or Profile Id of the member.
1452+ :param str type: The type of the member, must be either "user", "service"
1453+ or "trusted profile ".
14531454 """
14541455 self .iam_id = iam_id
14551456 self .type = type
0 commit comments