Skip to content

fix(IAM Policy Management): update subject attribute value #237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 37 additions & 30 deletions ibm_platform_services/iam_policy_management_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# IBM OpenAPI SDK Code Generator Version: 3.84.0-a4533f12-20240103-170852
# IBM OpenAPI SDK Code Generator Version: 3.84.1-55f6d880-20240110-194020

"""
IAM Policy Management API
Expand Down Expand Up @@ -5682,9 +5682,9 @@ class RuleAttribute:

:param str key: The name of an attribute.
:param str operator: The operator of an attribute.
:param object value: The value of a rule or resource attribute; can be boolean
or string for resource attribute. Can be string or an array of strings (e.g.,
array of days to permit access) for rule attribute.
:param object value: The value of a rule, resource, or subject attribute; can be
boolean or string for resource and subject attribute. Can be string or an array
of strings (e.g., array of days to permit access) for rule attribute.
"""

def __init__(
Expand All @@ -5698,9 +5698,10 @@ def __init__(

:param str key: The name of an attribute.
:param str operator: The operator of an attribute.
:param object value: The value of a rule or resource attribute; can be
boolean or string for resource attribute. Can be string or an array of
strings (e.g., array of days to permit access) for rule attribute.
:param object value: The value of a rule, resource, or subject attribute;
can be boolean or string for resource and subject attribute. Can be string
or an array of strings (e.g., array of days to permit access) for rule
attribute.
"""
self.key = key
self.operator = operator
Expand Down Expand Up @@ -6525,9 +6526,9 @@ class V2PolicyResourceAttribute:

:param str key: The name of a resource attribute.
:param str operator: The operator of an attribute.
:param object value: The value of a rule or resource attribute; can be boolean
or string for resource attribute. Can be string or an array of strings (e.g.,
array of days to permit access) for rule attribute.
:param object value: The value of a rule, resource, or subject attribute; can be
boolean or string for resource and subject attribute. Can be string or an array
of strings (e.g., array of days to permit access) for rule attribute.
"""

def __init__(
Expand All @@ -6541,9 +6542,10 @@ def __init__(

:param str key: The name of a resource attribute.
:param str operator: The operator of an attribute.
:param object value: The value of a rule or resource attribute; can be
boolean or string for resource attribute. Can be string or an array of
strings (e.g., array of days to permit access) for rule attribute.
:param object value: The value of a rule, resource, or subject attribute;
can be boolean or string for resource and subject attribute. Can be string
or an array of strings (e.g., array of days to permit access) for rule
attribute.
"""
self.key = key
self.operator = operator
Expand Down Expand Up @@ -6790,24 +6792,27 @@ class V2PolicySubjectAttribute:

:param str key: The name of a subject attribute, e.g., iam_id, access_group_id.
:param str operator: The operator of an attribute.
:param str value: The value of the ID of the subject, e.g., service ID, access
group ID, IAM ID.
:param object value: The value of a rule, resource, or subject attribute; can be
boolean or string for resource and subject attribute. Can be string or an array
of strings (e.g., array of days to permit access) for rule attribute.
"""

def __init__(
self,
key: str,
operator: str,
value: str,
value: object,
) -> None:
"""
Initialize a V2PolicySubjectAttribute object.

:param str key: The name of a subject attribute, e.g., iam_id,
access_group_id.
:param str operator: The operator of an attribute.
:param str value: The value of the ID of the subject, e.g., service ID,
access group ID, IAM ID.
:param object value: The value of a rule, resource, or subject attribute;
can be boolean or string for resource and subject attribute. Can be string
or an array of strings (e.g., array of days to permit access) for rule
attribute.
"""
self.key = key
self.operator = operator
Expand Down Expand Up @@ -7251,9 +7256,9 @@ class NestedConditionRuleAttribute(NestedCondition):

:param str key: The name of an attribute.
:param str operator: The operator of an attribute.
:param object value: The value of a rule or resource attribute; can be boolean
or string for resource attribute. Can be string or an array of strings (e.g.,
array of days to permit access) for rule attribute.
:param object value: The value of a rule, resource, or subject attribute; can be
boolean or string for resource and subject attribute. Can be string or an array
of strings (e.g., array of days to permit access) for rule attribute.
"""

def __init__(
Expand All @@ -7267,9 +7272,10 @@ def __init__(

:param str key: The name of an attribute.
:param str operator: The operator of an attribute.
:param object value: The value of a rule or resource attribute; can be
boolean or string for resource attribute. Can be string or an array of
strings (e.g., array of days to permit access) for rule attribute.
:param object value: The value of a rule, resource, or subject attribute;
can be boolean or string for resource and subject attribute. Can be string
or an array of strings (e.g., array of days to permit access) for rule
attribute.
"""
# pylint: disable=super-init-not-called
self.key = key
Expand Down Expand Up @@ -7440,9 +7446,9 @@ class V2PolicyRuleRuleAttribute(V2PolicyRule):

:param str key: The name of an attribute.
:param str operator: The operator of an attribute.
:param object value: The value of a rule or resource attribute; can be boolean
or string for resource attribute. Can be string or an array of strings (e.g.,
array of days to permit access) for rule attribute.
:param object value: The value of a rule, resource, or subject attribute; can be
boolean or string for resource and subject attribute. Can be string or an array
of strings (e.g., array of days to permit access) for rule attribute.
"""

def __init__(
Expand All @@ -7456,9 +7462,10 @@ def __init__(

:param str key: The name of an attribute.
:param str operator: The operator of an attribute.
:param object value: The value of a rule or resource attribute; can be
boolean or string for resource attribute. Can be string or an array of
strings (e.g., array of days to permit access) for rule attribute.
:param object value: The value of a rule, resource, or subject attribute;
can be boolean or string for resource and subject attribute. Can be string
or an array of strings (e.g., array of days to permit access) for rule
attribute.
"""
# pylint: disable=super-init-not-called
self.key = key
Expand Down
Loading