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.84.0-a4533f12-20240103-170852
17
+ # IBM OpenAPI SDK Code Generator Version: 3.84.1-55f6d880-20240110-194020
18
18
19
19
"""
20
20
IAM Policy Management API
@@ -5682,9 +5682,9 @@ class RuleAttribute:
5682
5682
5683
5683
:param str key: The name of an attribute.
5684
5684
:param str operator: The operator of an attribute.
5685
- :param object value: The value of a rule or resource attribute; can be boolean
5686
- or string for resource attribute. Can be string or an array of strings (e.g.,
5687
- array of days to permit access) for rule attribute.
5685
+ :param object value: The value of a rule, resource, or subject attribute; can be
5686
+ boolean or string for resource and subject attribute. Can be string or an array
5687
+ of strings (e.g., array of days to permit access) for rule attribute.
5688
5688
"""
5689
5689
5690
5690
def __init__ (
@@ -5698,9 +5698,10 @@ def __init__(
5698
5698
5699
5699
:param str key: The name of an attribute.
5700
5700
:param str operator: The operator of an attribute.
5701
- :param object value: The value of a rule or resource attribute; can be
5702
- boolean or string for resource attribute. Can be string or an array of
5703
- strings (e.g., array of days to permit access) for rule attribute.
5701
+ :param object value: The value of a rule, resource, or subject attribute;
5702
+ can be boolean or string for resource and subject attribute. Can be string
5703
+ or an array of strings (e.g., array of days to permit access) for rule
5704
+ attribute.
5704
5705
"""
5705
5706
self .key = key
5706
5707
self .operator = operator
@@ -6525,9 +6526,9 @@ class V2PolicyResourceAttribute:
6525
6526
6526
6527
:param str key: The name of a resource attribute.
6527
6528
:param str operator: The operator of an attribute.
6528
- :param object value: The value of a rule or resource attribute; can be boolean
6529
- or string for resource attribute. Can be string or an array of strings (e.g.,
6530
- array of days to permit access) for rule attribute.
6529
+ :param object value: The value of a rule, resource, or subject attribute; can be
6530
+ boolean or string for resource and subject attribute. Can be string or an array
6531
+ of strings (e.g., array of days to permit access) for rule attribute.
6531
6532
"""
6532
6533
6533
6534
def __init__ (
@@ -6541,9 +6542,10 @@ def __init__(
6541
6542
6542
6543
:param str key: The name of a resource attribute.
6543
6544
:param str operator: The operator of an attribute.
6544
- :param object value: The value of a rule or resource attribute; can be
6545
- boolean or string for resource attribute. Can be string or an array of
6546
- strings (e.g., array of days to permit access) for rule attribute.
6545
+ :param object value: The value of a rule, resource, or subject attribute;
6546
+ can be boolean or string for resource and subject attribute. Can be string
6547
+ or an array of strings (e.g., array of days to permit access) for rule
6548
+ attribute.
6547
6549
"""
6548
6550
self .key = key
6549
6551
self .operator = operator
@@ -6790,24 +6792,27 @@ class V2PolicySubjectAttribute:
6790
6792
6791
6793
:param str key: The name of a subject attribute, e.g., iam_id, access_group_id.
6792
6794
:param str operator: The operator of an attribute.
6793
- :param str value: The value of the ID of the subject, e.g., service ID, access
6794
- group ID, IAM ID.
6795
+ :param object value: The value of a rule, resource, or subject attribute; can be
6796
+ boolean or string for resource and subject attribute. Can be string or an array
6797
+ of strings (e.g., array of days to permit access) for rule attribute.
6795
6798
"""
6796
6799
6797
6800
def __init__ (
6798
6801
self ,
6799
6802
key : str ,
6800
6803
operator : str ,
6801
- value : str ,
6804
+ value : object ,
6802
6805
) -> None :
6803
6806
"""
6804
6807
Initialize a V2PolicySubjectAttribute object.
6805
6808
6806
6809
:param str key: The name of a subject attribute, e.g., iam_id,
6807
6810
access_group_id.
6808
6811
:param str operator: The operator of an attribute.
6809
- :param str value: The value of the ID of the subject, e.g., service ID,
6810
- access group ID, IAM ID.
6812
+ :param object value: The value of a rule, resource, or subject attribute;
6813
+ can be boolean or string for resource and subject attribute. Can be string
6814
+ or an array of strings (e.g., array of days to permit access) for rule
6815
+ attribute.
6811
6816
"""
6812
6817
self .key = key
6813
6818
self .operator = operator
@@ -7251,9 +7256,9 @@ class NestedConditionRuleAttribute(NestedCondition):
7251
7256
7252
7257
:param str key: The name of an attribute.
7253
7258
:param str operator: The operator of an attribute.
7254
- :param object value: The value of a rule or resource attribute; can be boolean
7255
- or string for resource attribute. Can be string or an array of strings (e.g.,
7256
- array of days to permit access) for rule attribute.
7259
+ :param object value: The value of a rule, resource, or subject attribute; can be
7260
+ boolean or string for resource and subject attribute. Can be string or an array
7261
+ of strings (e.g., array of days to permit access) for rule attribute.
7257
7262
"""
7258
7263
7259
7264
def __init__ (
@@ -7267,9 +7272,10 @@ def __init__(
7267
7272
7268
7273
:param str key: The name of an attribute.
7269
7274
:param str operator: The operator of an attribute.
7270
- :param object value: The value of a rule or resource attribute; can be
7271
- boolean or string for resource attribute. Can be string or an array of
7272
- strings (e.g., array of days to permit access) for rule attribute.
7275
+ :param object value: The value of a rule, resource, or subject attribute;
7276
+ can be boolean or string for resource and subject attribute. Can be string
7277
+ or an array of strings (e.g., array of days to permit access) for rule
7278
+ attribute.
7273
7279
"""
7274
7280
# pylint: disable=super-init-not-called
7275
7281
self .key = key
@@ -7440,9 +7446,9 @@ class V2PolicyRuleRuleAttribute(V2PolicyRule):
7440
7446
7441
7447
:param str key: The name of an attribute.
7442
7448
:param str operator: The operator of an attribute.
7443
- :param object value: The value of a rule or resource attribute; can be boolean
7444
- or string for resource attribute. Can be string or an array of strings (e.g.,
7445
- array of days to permit access) for rule attribute.
7449
+ :param object value: The value of a rule, resource, or subject attribute; can be
7450
+ boolean or string for resource and subject attribute. Can be string or an array
7451
+ of strings (e.g., array of days to permit access) for rule attribute.
7446
7452
"""
7447
7453
7448
7454
def __init__ (
@@ -7456,9 +7462,10 @@ def __init__(
7456
7462
7457
7463
:param str key: The name of an attribute.
7458
7464
:param str operator: The operator of an attribute.
7459
- :param object value: The value of a rule or resource attribute; can be
7460
- boolean or string for resource attribute. Can be string or an array of
7461
- strings (e.g., array of days to permit access) for rule attribute.
7465
+ :param object value: The value of a rule, resource, or subject attribute;
7466
+ can be boolean or string for resource and subject attribute. Can be string
7467
+ or an array of strings (e.g., array of days to permit access) for rule
7468
+ attribute.
7462
7469
"""
7463
7470
# pylint: disable=super-init-not-called
7464
7471
self .key = key
0 commit comments