ibm-platform-services 0.66.2__tar.gz → 0.67.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. {ibm_platform_services-0.66.2/ibm_platform_services.egg-info → ibm_platform_services-0.67.1}/PKG-INFO +2 -2
  2. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/README.md +1 -1
  3. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services/global_catalog_v1.py +1 -21
  4. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services/global_tagging_v1.py +129 -39
  5. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services/version.py +1 -1
  6. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1/ibm_platform_services.egg-info}/PKG-INFO +2 -2
  7. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/pyproject.toml +1 -1
  8. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/LICENSE +0 -0
  9. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/MANIFEST.in +0 -0
  10. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services/__init__.py +0 -0
  11. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services/case_management_v1.py +0 -0
  12. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services/catalog_management_v1.py +0 -0
  13. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services/common.py +0 -0
  14. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services/context_based_restrictions_v1.py +0 -0
  15. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services/enterprise_billing_units_v1.py +0 -0
  16. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services/enterprise_management_v1.py +0 -0
  17. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services/enterprise_usage_reports_v1.py +0 -0
  18. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services/global_search_v2.py +0 -0
  19. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services/iam_access_groups_v2.py +0 -0
  20. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services/iam_identity_v1.py +0 -0
  21. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services/iam_policy_management_v1.py +0 -0
  22. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services/ibm_cloud_shell_v1.py +0 -0
  23. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services/open_service_broker_v1.py +0 -0
  24. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services/partner_management_v1.py +0 -0
  25. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services/resource_controller_v2.py +0 -0
  26. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services/resource_manager_v2.py +0 -0
  27. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services/usage_metering_v4.py +0 -0
  28. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services/usage_reports_v4.py +0 -0
  29. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services/user_management_v1.py +0 -0
  30. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services.egg-info/SOURCES.txt +0 -0
  31. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services.egg-info/dependency_links.txt +0 -0
  32. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services.egg-info/requires.txt +0 -0
  33. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/ibm_platform_services.egg-info/top_level.txt +0 -0
  34. {ibm_platform_services-0.66.2 → ibm_platform_services-0.67.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ibm-platform-services
3
- Version: 0.66.2
3
+ Version: 0.67.1
4
4
  Summary: Python client library for IBM Cloud Platform Services
5
5
  Author-email: IBM <devxsdk@us.ibm.com>
6
6
  Project-URL: Repository, https://github.com/IBM/platform-services-python-sdk
@@ -51,7 +51,7 @@ Dynamic: license-file
51
51
  [![CLA assistant](https://cla-assistant.io/readme/badge/IBM/platform-services-python-sdk)](https://cla-assistant.io/IBM/platform-services-python-sdk)
52
52
 
53
53
 
54
- # IBM Cloud Platform Services Python SDK Version 0.66.2
54
+ # IBM Cloud Platform Services Python SDK Version 0.67.1
55
55
 
56
56
  Python client library to interact with various
57
57
  [IBM Cloud Platform Service APIs](https://cloud.ibm.com/docs?tab=api-docs&category=platform_services).
@@ -8,7 +8,7 @@
8
8
  [![CLA assistant](https://cla-assistant.io/readme/badge/IBM/platform-services-python-sdk)](https://cla-assistant.io/IBM/platform-services-python-sdk)
9
9
 
10
10
 
11
- # IBM Cloud Platform Services Python SDK Version 0.66.2
11
+ # IBM Cloud Platform Services Python SDK Version 0.67.1
12
12
 
13
13
  Python client library to interact with various
14
14
  [IBM Cloud Platform Service APIs](https://cloud.ibm.com/docs?tab=api-docs&category=platform_services).
@@ -14,7 +14,7 @@
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.104.0-b4a47c49-20250418-184351
17
+ # IBM OpenAPI SDK Code Generator Version: 3.106.0-09823488-20250707-071701
18
18
 
19
19
  """
20
20
  The catalog service manages offerings across geographies as the system of record. The
@@ -2017,10 +2017,6 @@ class CFMetaData:
2017
2017
  `us-south=123`.
2018
2018
  :param str crn_mask: (optional) Cloud resource name identifying the environment
2019
2019
  containing this service.
2020
- :param dict user_defined_service: (optional) Deprecated: An extended set of
2021
- metadata fields that pertain to user-defined services.
2022
- :param dict extension: (optional) Deprecated: A property-bag like extension to
2023
- service metadata.
2024
2020
  :param bool paid_only: (optional) Deprecated: Boolean flag indicating if this
2025
2021
  service only offers paid pricing plans rather than the default paygo.
2026
2022
  :param bool custom_create_page_hybrid_enabled: (optional) Boolean flag that
@@ -2046,8 +2042,6 @@ class CFMetaData:
2046
2042
  service_key_supported: Optional[bool] = None,
2047
2043
  cf_guid: Optional[dict] = None,
2048
2044
  crn_mask: Optional[str] = None,
2049
- user_defined_service: Optional[dict] = None,
2050
- extension: Optional[dict] = None,
2051
2045
  paid_only: Optional[bool] = None,
2052
2046
  custom_create_page_hybrid_enabled: Optional[bool] = None,
2053
2047
  ) -> None:
@@ -2097,10 +2091,6 @@ class CFMetaData:
2097
2091
  For example, `us-south=123`.
2098
2092
  :param str crn_mask: (optional) Cloud resource name identifying the
2099
2093
  environment containing this service.
2100
- :param dict user_defined_service: (optional) Deprecated: An extended set of
2101
- metadata fields that pertain to user-defined services.
2102
- :param dict extension: (optional) Deprecated: A property-bag like extension
2103
- to service metadata.
2104
2094
  :param bool paid_only: (optional) Deprecated: Boolean flag indicating if
2105
2095
  this service only offers paid pricing plans rather than the default paygo.
2106
2096
  :param bool custom_create_page_hybrid_enabled: (optional) Boolean flag that
@@ -2122,8 +2112,6 @@ class CFMetaData:
2122
2112
  self.service_key_supported = service_key_supported
2123
2113
  self.cf_guid = cf_guid
2124
2114
  self.crn_mask = crn_mask
2125
- self.user_defined_service = user_defined_service
2126
- self.extension = extension
2127
2115
  self.paid_only = paid_only
2128
2116
  self.custom_create_page_hybrid_enabled = custom_create_page_hybrid_enabled
2129
2117
 
@@ -2161,10 +2149,6 @@ class CFMetaData:
2161
2149
  args['cf_guid'] = cf_guid
2162
2150
  if (crn_mask := _dict.get('crn_mask')) is not None:
2163
2151
  args['crn_mask'] = crn_mask
2164
- if (user_defined_service := _dict.get('user_defined_service')) is not None:
2165
- args['user_defined_service'] = user_defined_service
2166
- if (extension := _dict.get('extension')) is not None:
2167
- args['extension'] = extension
2168
2152
  if (paid_only := _dict.get('paid_only')) is not None:
2169
2153
  args['paid_only'] = paid_only
2170
2154
  if (custom_create_page_hybrid_enabled := _dict.get('custom_create_page_hybrid_enabled')) is not None:
@@ -2209,10 +2193,6 @@ class CFMetaData:
2209
2193
  _dict['cf_guid'] = self.cf_guid
2210
2194
  if hasattr(self, 'crn_mask') and self.crn_mask is not None:
2211
2195
  _dict['crn_mask'] = self.crn_mask
2212
- if hasattr(self, 'user_defined_service') and self.user_defined_service is not None:
2213
- _dict['user_defined_service'] = self.user_defined_service
2214
- if hasattr(self, 'extension') and self.extension is not None:
2215
- _dict['extension'] = self.extension
2216
2196
  if hasattr(self, 'paid_only') and self.paid_only is not None:
2217
2197
  _dict['paid_only'] = self.paid_only
2218
2198
  if hasattr(self, 'custom_create_page_hybrid_enabled') and self.custom_create_page_hybrid_enabled is not None:
@@ -1,6 +1,6 @@
1
1
  # coding: utf-8
2
2
 
3
- # (C) Copyright IBM Corp. 2024.
3
+ # (C) Copyright IBM Corp. 2025.
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
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.87.0-91c7c775-20240320-213027
17
+ # IBM OpenAPI SDK Code Generator Version: 3.105.0-3c13b041-20250605-193116
18
18
 
19
19
  """
20
20
  Manage your tags with the Tagging API in IBM Cloud. You can attach, detach, delete, or
@@ -23,10 +23,10 @@ unique within a billing account. You can create tags in two formats: `key:value`
23
23
  `label`. The tagging API supports three types of tag: `user` `service`, and `access` tags.
24
24
  `service` tags cannot be attached to IMS resources. `service` tags must be in the form
25
25
  `service_prefix:tag_label` where `service_prefix` identifies the Service owning the tag.
26
- `access` tags cannot be attached to IMS and Cloud Foundry resources. They must be in the
27
- form `key:value`. You can replace all resource's tags using the `replace` query parameter
28
- in the attach operation. You can update the `value` of a resource's tag in the format
29
- `key:value`, using the `update` query parameter in the attach operation.
26
+ `access` tags cannot be attached to IMS resources. They must be in the form `key:value`.
27
+ You can replace all resource's tags using the `replace` query parameter in the attach
28
+ operation. You can update the `value` of a resource's tag in the format `key:value`, using
29
+ the `update` query parameter in the attach operation.
30
30
 
31
31
  API Version: 1.2.0
32
32
  """
@@ -453,10 +453,11 @@ class GlobalTaggingV1(BaseService):
453
453
 
454
454
  def attach_tag(
455
455
  self,
456
- resources: List['Resource'],
457
456
  *,
458
457
  tag_name: Optional[str] = None,
459
458
  tag_names: Optional[List[str]] = None,
459
+ resources: Optional[List['Resource']] = None,
460
+ query: Optional['QueryString'] = None,
460
461
  x_request_id: Optional[str] = None,
461
462
  x_correlation_id: Optional[str] = None,
462
463
  account_id: Optional[str] = None,
@@ -472,10 +473,11 @@ class GlobalTaggingV1(BaseService):
472
473
  than 1000 tags per each 'user' and 'service' type, and no more than 250 'access'
473
474
  tags (which is the account limit).
474
475
 
475
- :param List[Resource] resources: List of resources on which the tag or tags
476
- are attached.
477
476
  :param str tag_name: (optional) The name of the tag to attach.
478
477
  :param List[str] tag_names: (optional) An array of tag names to attach.
478
+ :param List[Resource] resources: (optional) List of resources on which the
479
+ tagging operation operates on.
480
+ :param QueryString query: (optional) A valid Global Search string.
479
481
  :param str x_request_id: (optional) An alphanumeric string that is used to
480
482
  trace the request. The value may include ASCII alphanumerics and any of
481
483
  following segment separators: space ( ), comma (,), hyphen, (-), and
@@ -516,9 +518,10 @@ class GlobalTaggingV1(BaseService):
516
518
  :rtype: DetailedResponse with `dict` result representing a `TagResults` object
517
519
  """
518
520
 
519
- if resources is None:
520
- raise ValueError('resources must be provided')
521
- resources = [convert_model(x) for x in resources]
521
+ if resources is not None:
522
+ resources = [convert_model(x) for x in resources]
523
+ if query is not None:
524
+ query = convert_model(query)
522
525
  headers = {
523
526
  'x-request-id': x_request_id,
524
527
  'x-correlation-id': x_correlation_id,
@@ -538,9 +541,10 @@ class GlobalTaggingV1(BaseService):
538
541
  }
539
542
 
540
543
  data = {
541
- 'resources': resources,
542
544
  'tag_name': tag_name,
543
545
  'tag_names': tag_names,
546
+ 'resources': resources,
547
+ 'query': query,
544
548
  }
545
549
  data = {k: v for (k, v) in data.items() if v is not None}
546
550
  data = json.dumps(data)
@@ -565,10 +569,11 @@ class GlobalTaggingV1(BaseService):
565
569
 
566
570
  def detach_tag(
567
571
  self,
568
- resources: List['Resource'],
569
572
  *,
570
573
  tag_name: Optional[str] = None,
571
574
  tag_names: Optional[List[str]] = None,
575
+ resources: Optional[List['Resource']] = None,
576
+ query: Optional['QueryString'] = None,
572
577
  x_request_id: Optional[str] = None,
573
578
  x_correlation_id: Optional[str] = None,
574
579
  account_id: Optional[str] = None,
@@ -580,10 +585,11 @@ class GlobalTaggingV1(BaseService):
580
585
 
581
586
  Detaches one or more tags from one or more resources.
582
587
 
583
- :param List[Resource] resources: List of resources on which the tag or tags
584
- are detached.
585
588
  :param str tag_name: (optional) The name of the tag to detach.
586
589
  :param List[str] tag_names: (optional) An array of tag names to detach.
590
+ :param List[Resource] resources: (optional) List of resources on which the
591
+ tagging operation operates on.
592
+ :param QueryString query: (optional) A valid Global Search string.
587
593
  :param str x_request_id: (optional) An alphanumeric string that is used to
588
594
  trace the request. The value may include ASCII alphanumerics and any of
589
595
  following segment separators: space ( ), comma (,), hyphen, (-), and
@@ -612,9 +618,10 @@ class GlobalTaggingV1(BaseService):
612
618
  :rtype: DetailedResponse with `dict` result representing a `TagResults` object
613
619
  """
614
620
 
615
- if resources is None:
616
- raise ValueError('resources must be provided')
617
- resources = [convert_model(x) for x in resources]
621
+ if resources is not None:
622
+ resources = [convert_model(x) for x in resources]
623
+ if query is not None:
624
+ query = convert_model(query)
618
625
  headers = {
619
626
  'x-request-id': x_request_id,
620
627
  'x-correlation-id': x_correlation_id,
@@ -632,9 +639,10 @@ class GlobalTaggingV1(BaseService):
632
639
  }
633
640
 
634
641
  data = {
635
- 'resources': resources,
636
642
  'tag_name': tag_name,
637
643
  'tag_names': tag_names,
644
+ 'resources': resources,
645
+ 'query': query,
638
646
  }
639
647
  data = {k: v for (k, v) in data.items() if v is not None}
640
648
  data = json.dumps(data)
@@ -1001,6 +1009,8 @@ class DeleteTagResultsItem:
1001
1009
  :param str provider: (optional) The provider of the tag.
1002
1010
  :param bool is_error: (optional) It is `true` if the operation exits with an
1003
1011
  error (for example, the tag does not exist).
1012
+
1013
+ This type supports additional properties of type object.
1004
1014
  """
1005
1015
 
1006
1016
  # The set of defined properties for the class
@@ -1011,7 +1021,7 @@ class DeleteTagResultsItem:
1011
1021
  *,
1012
1022
  provider: Optional[str] = None,
1013
1023
  is_error: Optional[bool] = None,
1014
- **kwargs,
1024
+ **kwargs: Optional[object],
1015
1025
  ) -> None:
1016
1026
  """
1017
1027
  Initialize a DeleteTagResultsItem object.
@@ -1019,12 +1029,17 @@ class DeleteTagResultsItem:
1019
1029
  :param str provider: (optional) The provider of the tag.
1020
1030
  :param bool is_error: (optional) It is `true` if the operation exits with
1021
1031
  an error (for example, the tag does not exist).
1022
- :param **kwargs: (optional) Any additional properties.
1032
+ :param object **kwargs: (optional) Additional properties of type object
1023
1033
  """
1024
1034
  self.provider = provider
1025
1035
  self.is_error = is_error
1026
- for _key, _value in kwargs.items():
1027
- setattr(self, _key, _value)
1036
+ for k, v in kwargs.items():
1037
+ if k not in DeleteTagResultsItem._properties:
1038
+ if not isinstance(v, object):
1039
+ raise ValueError('Value for additional property {} must be of type object'.format(k))
1040
+ setattr(self, k, v)
1041
+ else:
1042
+ raise ValueError('Property {} cannot be specified as an additional property'.format(k))
1028
1043
 
1029
1044
  @classmethod
1030
1045
  def from_dict(cls, _dict: Dict) -> 'DeleteTagResultsItem':
@@ -1034,7 +1049,11 @@ class DeleteTagResultsItem:
1034
1049
  args['provider'] = provider
1035
1050
  if (is_error := _dict.get('is_error')) is not None:
1036
1051
  args['is_error'] = is_error
1037
- args.update({k: v for (k, v) in _dict.items() if k not in cls._properties})
1052
+ for k, v in _dict.items():
1053
+ if k not in cls._properties:
1054
+ if not isinstance(v, object):
1055
+ raise ValueError('Value for additional property {} must be of type object'.format(k))
1056
+ args[k] = v
1038
1057
  return cls(**args)
1039
1058
 
1040
1059
  @classmethod
@@ -1049,8 +1068,8 @@ class DeleteTagResultsItem:
1049
1068
  _dict['provider'] = self.provider
1050
1069
  if hasattr(self, 'is_error') and self.is_error is not None:
1051
1070
  _dict['is_error'] = self.is_error
1052
- for _key in [k for k in vars(self).keys() if k not in DeleteTagResultsItem._properties]:
1053
- _dict[_key] = getattr(self, _key)
1071
+ for k in [_k for _k in vars(self).keys() if _k not in DeleteTagResultsItem._properties]:
1072
+ _dict[k] = getattr(self, k)
1054
1073
  return _dict
1055
1074
 
1056
1075
  def _to_dict(self):
@@ -1058,21 +1077,23 @@ class DeleteTagResultsItem:
1058
1077
  return self.to_dict()
1059
1078
 
1060
1079
  def get_properties(self) -> Dict:
1061
- """Return a dictionary of arbitrary properties from this instance of DeleteTagResultsItem"""
1080
+ """Return the additional properties from this instance of DeleteTagResultsItem in the form of a dict."""
1062
1081
  _dict = {}
1063
-
1064
- for _key in [k for k in vars(self).keys() if k not in DeleteTagResultsItem._properties]:
1065
- _dict[_key] = getattr(self, _key)
1082
+ for k in [_k for _k in vars(self).keys() if _k not in DeleteTagResultsItem._properties]:
1083
+ _dict[k] = getattr(self, k)
1066
1084
  return _dict
1067
1085
 
1068
1086
  def set_properties(self, _dict: dict):
1069
- """Set a dictionary of arbitrary properties to this instance of DeleteTagResultsItem"""
1070
- for _key in [k for k in vars(self).keys() if k not in DeleteTagResultsItem._properties]:
1071
- delattr(self, _key)
1072
-
1073
- for _key, _value in _dict.items():
1074
- if _key not in DeleteTagResultsItem._properties:
1075
- setattr(self, _key, _value)
1087
+ """Set a dictionary of additional properties in this instance of DeleteTagResultsItem"""
1088
+ for k in [_k for _k in vars(self).keys() if _k not in DeleteTagResultsItem._properties]:
1089
+ delattr(self, k)
1090
+ for k, v in _dict.items():
1091
+ if k not in DeleteTagResultsItem._properties:
1092
+ if not isinstance(v, object):
1093
+ raise ValueError('Value for additional property {} must be of type object'.format(k))
1094
+ setattr(self, k, v)
1095
+ else:
1096
+ raise ValueError('Property {} cannot be specified as an additional property'.format(k))
1076
1097
 
1077
1098
  def __str__(self) -> str:
1078
1099
  """Return a `str` version of this DeleteTagResultsItem object."""
@@ -1248,12 +1269,76 @@ class DeleteTagsResultItem:
1248
1269
  return not self == other
1249
1270
 
1250
1271
 
1272
+ class QueryString:
1273
+ """
1274
+ A valid Global Search string.
1275
+
1276
+ :param str query_string: The Lucene-formatted query string.
1277
+ """
1278
+
1279
+ def __init__(
1280
+ self,
1281
+ query_string: str,
1282
+ ) -> None:
1283
+ """
1284
+ Initialize a QueryString object.
1285
+
1286
+ :param str query_string: The Lucene-formatted query string.
1287
+ """
1288
+ self.query_string = query_string
1289
+
1290
+ @classmethod
1291
+ def from_dict(cls, _dict: Dict) -> 'QueryString':
1292
+ """Initialize a QueryString object from a json dictionary."""
1293
+ args = {}
1294
+ if (query_string := _dict.get('query_string')) is not None:
1295
+ args['query_string'] = query_string
1296
+ else:
1297
+ raise ValueError('Required property \'query_string\' not present in QueryString JSON')
1298
+ return cls(**args)
1299
+
1300
+ @classmethod
1301
+ def _from_dict(cls, _dict):
1302
+ """Initialize a QueryString object from a json dictionary."""
1303
+ return cls.from_dict(_dict)
1304
+
1305
+ def to_dict(self) -> Dict:
1306
+ """Return a json dictionary representing this model."""
1307
+ _dict = {}
1308
+ if hasattr(self, 'query_string') and self.query_string is not None:
1309
+ _dict['query_string'] = self.query_string
1310
+ return _dict
1311
+
1312
+ def _to_dict(self):
1313
+ """Return a json dictionary representing this model."""
1314
+ return self.to_dict()
1315
+
1316
+ def __str__(self) -> str:
1317
+ """Return a `str` version of this QueryString object."""
1318
+ return json.dumps(self.to_dict(), indent=2)
1319
+
1320
+ def __eq__(self, other: 'QueryString') -> bool:
1321
+ """Return `true` when self and other are equal, false otherwise."""
1322
+ if not isinstance(other, self.__class__):
1323
+ return False
1324
+ return self.__dict__ == other.__dict__
1325
+
1326
+ def __ne__(self, other: 'QueryString') -> bool:
1327
+ """Return `true` when self and other are not equal, false otherwise."""
1328
+ return not self == other
1329
+
1330
+
1251
1331
  class Resource:
1252
1332
  """
1253
1333
  A resource that might have tags that are attached.
1254
1334
 
1255
1335
  :param str resource_id: The CRN or IMS ID of the resource.
1256
- :param str resource_type: (optional) The IMS resource type of the resource.
1336
+ :param str resource_type: (optional) The IMS resource type of the resource. It
1337
+ can be one of SoftLayer_Virtual_DedicatedHost, SoftLayer_Hardware,
1338
+ SoftLayer_Hardware_Server, SoftLayer_Network_Application_Delivery_Controller,
1339
+ SoftLayer_Network_Vlan, SoftLayer_Network_Vlan_Firewall,
1340
+ SoftLayer_Network_Component_Firewall, SoftLayer_Network_Firewall_Module_Context,
1341
+ SoftLayer_Virtual_Guest.
1257
1342
  """
1258
1343
 
1259
1344
  def __init__(
@@ -1267,6 +1352,11 @@ class Resource:
1267
1352
 
1268
1353
  :param str resource_id: The CRN or IMS ID of the resource.
1269
1354
  :param str resource_type: (optional) The IMS resource type of the resource.
1355
+ It can be one of SoftLayer_Virtual_DedicatedHost, SoftLayer_Hardware,
1356
+ SoftLayer_Hardware_Server,
1357
+ SoftLayer_Network_Application_Delivery_Controller, SoftLayer_Network_Vlan,
1358
+ SoftLayer_Network_Vlan_Firewall, SoftLayer_Network_Component_Firewall,
1359
+ SoftLayer_Network_Firewall_Module_Context, SoftLayer_Virtual_Guest.
1270
1360
  """
1271
1361
  self.resource_id = resource_id
1272
1362
  self.resource_type = resource_type
@@ -2,4 +2,4 @@
2
2
  Version of platform_services
3
3
  """
4
4
 
5
- __version__ = '0.66.2'
5
+ __version__ = '0.67.1'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ibm-platform-services
3
- Version: 0.66.2
3
+ Version: 0.67.1
4
4
  Summary: Python client library for IBM Cloud Platform Services
5
5
  Author-email: IBM <devxsdk@us.ibm.com>
6
6
  Project-URL: Repository, https://github.com/IBM/platform-services-python-sdk
@@ -51,7 +51,7 @@ Dynamic: license-file
51
51
  [![CLA assistant](https://cla-assistant.io/readme/badge/IBM/platform-services-python-sdk)](https://cla-assistant.io/IBM/platform-services-python-sdk)
52
52
 
53
53
 
54
- # IBM Cloud Platform Services Python SDK Version 0.66.2
54
+ # IBM Cloud Platform Services Python SDK Version 0.67.1
55
55
 
56
56
  Python client library to interact with various
57
57
  [IBM Cloud Platform Service APIs](https://cloud.ibm.com/docs?tab=api-docs&category=platform_services).
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ibm-platform-services"
3
- version = "0.66.2"
3
+ version = "0.67.1"
4
4
  authors = [
5
5
  { name="IBM", email="devxsdk@us.ibm.com" }
6
6
  ]