14
14
# See the License for the specific language governing permissions and
15
15
# limitations under the License.
16
16
17
- # IBM OpenAPI SDK Code Generator Version: 3.74 .0-89f1dbab-20230630-160213
17
+ # IBM OpenAPI SDK Code Generator Version: 3.78 .0-67aec9b7-20230818-174940
18
18
19
19
"""
20
20
The IAM Access Groups API allows for the management of access groups (Create, Read,
@@ -2474,7 +2474,11 @@ class AccessActionControls:
2474
2474
:attr bool add: (optional) Action control for adding access policies to an
2475
2475
enterprise-managed access group in a child account. If an access group
2476
2476
administrator in a child account adds a policy, they can always update or remove
2477
- it.
2477
+ it. Note that if conflicts arise between an update to this control in a new
2478
+ version and polices added to the access group by an administrator in a child
2479
+ account, you must resolve those conflicts in the child account. This prevents
2480
+ breaking access in the child account. For more information, see [Working with
2481
+ versions](https://test.cloud.ibm.com/docs/secure-enterprise?topic=secure-enterprise-working-with-versions#new-version-scenarios).
2478
2482
"""
2479
2483
2480
2484
def __init__ (
@@ -2488,7 +2492,12 @@ def __init__(
2488
2492
:param bool add: (optional) Action control for adding access policies to an
2489
2493
enterprise-managed access group in a child account. If an access group
2490
2494
administrator in a child account adds a policy, they can always update or
2491
- remove it.
2495
+ remove it. Note that if conflicts arise between an update to this control
2496
+ in a new version and polices added to the access group by an administrator
2497
+ in a child account, you must resolve those conflicts in the child account.
2498
+ This prevents breaking access in the child account. For more information,
2499
+ see [Working with
2500
+ versions](https://test.cloud.ibm.com/docs/secure-enterprise?topic=secure-enterprise-working-with-versions#new-version-scenarios).
2492
2501
"""
2493
2502
self .add = add
2494
2503
@@ -3375,34 +3384,42 @@ class AssertionsActionControls:
3375
3384
3376
3385
:attr bool add: (optional) Action control for adding dynamic rules to an
3377
3386
enterprise-managed access group. If an access group administrator in a child
3378
- account adds a dynamic rule, they can always update or remove it.
3387
+ account adds a dynamic rule, they can always update or remove it. Note that if
3388
+ conflicts arise between an update to this control and rules added or updated by
3389
+ an administrator in the child account, you must resolve those conflicts in the
3390
+ child account. This prevents breaking access that the rules might grant in the
3391
+ child account. For more information, see [Working with versions].
3379
3392
:attr bool remove: (optional) Action control for removing enterprise-managed
3380
- dynamic rules in an enterprise-managed access group.
3381
- :attr bool update: (optional) Action control for updating enterprise-managed
3382
- dynamic rules in an enterprise-managed access group .
3393
+ dynamic rules in an enterprise-managed access group. Note that if a rule is
3394
+ removed from an enterprise-managed access group by an administrator in a child
3395
+ account and and you reassign the template, the rule is reinstated .
3383
3396
"""
3384
3397
3385
3398
def __init__ (
3386
3399
self ,
3387
3400
* ,
3388
3401
add : bool = None ,
3389
3402
remove : bool = None ,
3390
- update : bool = None ,
3391
3403
) -> None :
3392
3404
"""
3393
3405
Initialize a AssertionsActionControls object.
3394
3406
3395
3407
:param bool add: (optional) Action control for adding dynamic rules to an
3396
3408
enterprise-managed access group. If an access group administrator in a
3397
3409
child account adds a dynamic rule, they can always update or remove it.
3410
+ Note that if conflicts arise between an update to this control and rules
3411
+ added or updated by an administrator in the child account, you must resolve
3412
+ those conflicts in the child account. This prevents breaking access that
3413
+ the rules might grant in the child account. For more information, see
3414
+ [Working with versions].
3398
3415
:param bool remove: (optional) Action control for removing
3399
3416
enterprise-managed dynamic rules in an enterprise-managed access group.
3400
- :param bool update: (optional) Action control for updating
3401
- enterprise-managed dynamic rules in an enterprise-managed access group.
3417
+ Note that if a rule is removed from an enterprise-managed access group by
3418
+ an administrator in a child account and and you reassign the template, the
3419
+ rule is reinstated.
3402
3420
"""
3403
3421
self .add = add
3404
3422
self .remove = remove
3405
- self .update = update
3406
3423
3407
3424
@classmethod
3408
3425
def from_dict (cls , _dict : Dict ) -> 'AssertionsActionControls' :
@@ -3412,8 +3429,6 @@ def from_dict(cls, _dict: Dict) -> 'AssertionsActionControls':
3412
3429
args ['add' ] = _dict .get ('add' )
3413
3430
if 'remove' in _dict :
3414
3431
args ['remove' ] = _dict .get ('remove' )
3415
- if 'update' in _dict :
3416
- args ['update' ] = _dict .get ('update' )
3417
3432
return cls (** args )
3418
3433
3419
3434
@classmethod
@@ -3428,8 +3443,6 @@ def to_dict(self) -> Dict:
3428
3443
_dict ['add' ] = self .add
3429
3444
if hasattr (self , 'remove' ) and self .remove is not None :
3430
3445
_dict ['remove' ] = self .remove
3431
- if hasattr (self , 'update' ) and self .update is not None :
3432
- _dict ['update' ] = self .update
3433
3446
return _dict
3434
3447
3435
3448
def _to_dict (self ):
@@ -5825,9 +5838,16 @@ class MembersActionControls:
5825
5838
5826
5839
:attr bool add: (optional) Action control for adding child account members to an
5827
5840
enterprise-managed access group. If an access group administrator in a child
5828
- account adds a member, they can always remove them.
5841
+ account adds a member, they can always remove them. Note that if conflicts arise
5842
+ between an update to this control in a new version and members added by an
5843
+ administrator in the child account, you must resolve those conflicts in the
5844
+ child account. This prevents breaking access in the child account. For more
5845
+ information, see [Working with versions]
5846
+ (https://test.cloud.ibm.com/docs/secure-enterprise?topic=secure-enterprise-working-with-versions#new-version-scenarios).
5829
5847
:attr bool remove: (optional) Action control for removing enterprise-managed
5830
- members from an enterprise-managed access group.
5848
+ members from an enterprise-managed access group. Note that if an enterprise
5849
+ member is removed from an enterprise-managed access group in a child account and
5850
+ you reassign the template, the membership is reinstated.
5831
5851
"""
5832
5852
5833
5853
def __init__ (
@@ -5841,9 +5861,17 @@ def __init__(
5841
5861
5842
5862
:param bool add: (optional) Action control for adding child account members
5843
5863
to an enterprise-managed access group. If an access group administrator in
5844
- a child account adds a member, they can always remove them.
5864
+ a child account adds a member, they can always remove them. Note that if
5865
+ conflicts arise between an update to this control in a new version and
5866
+ members added by an administrator in the child account, you must resolve
5867
+ those conflicts in the child account. This prevents breaking access in the
5868
+ child account. For more information, see [Working with versions]
5869
+ (https://test.cloud.ibm.com/docs/secure-enterprise?topic=secure-enterprise-working-with-versions#new-version-scenarios).
5845
5870
:param bool remove: (optional) Action control for removing
5846
- enterprise-managed members from an enterprise-managed access group.
5871
+ enterprise-managed members from an enterprise-managed access group. Note
5872
+ that if an enterprise member is removed from an enterprise-managed access
5873
+ group in a child account and you reassign the template, the membership is
5874
+ reinstated.
5847
5875
"""
5848
5876
self .add = add
5849
5877
self .remove = remove
@@ -6216,35 +6244,27 @@ class RuleActionControls:
6216
6244
6217
6245
:attr bool remove: (optional) Action control for removing this
6218
6246
enterprise-managed dynamic rule.
6219
- :attr bool update: (optional) Action control for updating this
6220
- enterprise-managed dynamic rule.
6221
6247
"""
6222
6248
6223
6249
def __init__ (
6224
6250
self ,
6225
6251
* ,
6226
6252
remove : bool = None ,
6227
- update : bool = None ,
6228
6253
) -> None :
6229
6254
"""
6230
6255
Initialize a RuleActionControls object.
6231
6256
6232
6257
:param bool remove: (optional) Action control for removing this
6233
6258
enterprise-managed dynamic rule.
6234
- :param bool update: (optional) Action control for updating this
6235
- enterprise-managed dynamic rule.
6236
6259
"""
6237
6260
self .remove = remove
6238
- self .update = update
6239
6261
6240
6262
@classmethod
6241
6263
def from_dict (cls , _dict : Dict ) -> 'RuleActionControls' :
6242
6264
"""Initialize a RuleActionControls object from a json dictionary."""
6243
6265
args = {}
6244
6266
if 'remove' in _dict :
6245
6267
args ['remove' ] = _dict .get ('remove' )
6246
- if 'update' in _dict :
6247
- args ['update' ] = _dict .get ('update' )
6248
6268
return cls (** args )
6249
6269
6250
6270
@classmethod
@@ -6257,8 +6277,6 @@ def to_dict(self) -> Dict:
6257
6277
_dict = {}
6258
6278
if hasattr (self , 'remove' ) and self .remove is not None :
6259
6279
_dict ['remove' ] = self .remove
6260
- if hasattr (self , 'update' ) and self .update is not None :
6261
- _dict ['update' ] = self .update
6262
6280
return _dict
6263
6281
6264
6282
def _to_dict (self ):
0 commit comments