Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.43 KB

File metadata and controls

36 lines (27 loc) · 1.43 KB

Assetsv3Rule

Base Rule object which is used in create and list APIs.

Properties

Name Type Description Notes
actions List[Assetsv3Action] Action object of the actions in the rules. [optional]
is_delete int Rule isDelete. [optional]
parameters List[Assetsv3RuleParameter] Parameter object which are used in the rule. [optional]
policy_id str Policy ID. [optional]
rule_id str Rule ID. [optional]
rule_name str Rule Name. [optional]
rule_type Assetsv3RuleType [optional] [default to Assetsv3RuleType.ACCESS]

Example

from ibm_gdsc_sdk_saas.models.assetsv3_rule import Assetsv3Rule

# TODO update the JSON string below
json = "{}"
# create an instance of Assetsv3Rule from a JSON string
assetsv3_rule_instance = Assetsv3Rule.from_json(json)
# print the JSON string representation of the object
print(Assetsv3Rule.to_json())

# convert the object into a dict
assetsv3_rule_dict = assetsv3_rule_instance.to_dict()
# create an instance of Assetsv3Rule from a dict
assetsv3_rule_from_dict = Assetsv3Rule.from_dict(assetsv3_rule_dict)

[Back to Model list] [Back to API list] [Back to README]