ibm-platform-services 0.53.5__tar.gz → 0.53.7__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 (39) hide show
  1. {ibm-platform-services-0.53.5/ibm_platform_services.egg-info → ibm-platform-services-0.53.7}/PKG-INFO +2 -2
  2. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/README.md +1 -1
  3. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/enterprise_management_v1.py +21 -16
  4. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/global_search_v2.py +22 -0
  5. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/version.py +1 -1
  6. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7/ibm_platform_services.egg-info}/PKG-INFO +2 -2
  7. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/setup.py +1 -1
  8. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/LICENSE +0 -0
  9. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/MANIFEST.in +0 -0
  10. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/__init__.py +0 -0
  11. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/case_management_v1.py +0 -0
  12. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/catalog_management_v1.py +0 -0
  13. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/common.py +0 -0
  14. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/context_based_restrictions_v1.py +0 -0
  15. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/enterprise_billing_units_v1.py +0 -0
  16. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/enterprise_usage_reports_v1.py +0 -0
  17. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/global_catalog_v1.py +0 -0
  18. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/global_tagging_v1.py +0 -0
  19. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/iam_access_groups_v2.py +0 -0
  20. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/iam_identity_v1.py +0 -0
  21. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/iam_policy_management_v1.py +0 -0
  22. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/ibm_cloud_shell_v1.py +0 -0
  23. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/open_service_broker_v1.py +0 -0
  24. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/partner_billing_units_v1.py +0 -0
  25. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/partner_usage_reports_v1.py +0 -0
  26. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/resource_controller_v2.py +0 -0
  27. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/resource_manager_v2.py +0 -0
  28. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/usage_metering_v4.py +0 -0
  29. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/usage_reports_v4.py +0 -0
  30. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services/user_management_v1.py +0 -0
  31. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services.egg-info/SOURCES.txt +0 -0
  32. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services.egg-info/dependency_links.txt +0 -0
  33. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services.egg-info/requires.txt +0 -0
  34. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services.egg-info/top_level.txt +0 -0
  35. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/ibm_platform_services.egg-info/zip-safe +0 -0
  36. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/pyproject.toml +0 -0
  37. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/requirements-dev.txt +0 -0
  38. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/requirements.txt +0 -0
  39. {ibm-platform-services-0.53.5 → ibm-platform-services-0.53.7}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ibm-platform-services
3
- Version: 0.53.5
3
+ Version: 0.53.7
4
4
  Summary: Python client library for IBM Cloud Platform Services
5
5
  Home-page: https://github.com/IBM/platform-services-python-sdk
6
6
  Author: IBM
@@ -33,7 +33,7 @@ License-File: LICENSE
33
33
  [![CLA assistant](https://cla-assistant.io/readme/badge/IBM/platform-services-python-sdk)](https://cla-assistant.io/IBM/platform-services-python-sdk)
34
34
 
35
35
 
36
- # IBM Cloud Platform Services Python SDK Version 0.53.5
36
+ # IBM Cloud Platform Services Python SDK Version 0.53.7
37
37
 
38
38
  Python client library to interact with various
39
39
  [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.53.5
11
+ # IBM Cloud Platform Services Python SDK Version 0.53.7
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.87.0-91c7c775-20240320-213027
17
+ # IBM OpenAPI SDK Code Generator Version: 3.89.1-ed9d96f4-20240417-193115
18
18
 
19
19
  """
20
20
  The Enterprise Management API enables you to create and manage an enterprise, account
@@ -1655,17 +1655,22 @@ class CreateAccountResponse:
1655
1655
  """
1656
1656
  A newly-created account.
1657
1657
 
1658
- :attr str account_id: (optional) The ID of the account entity that was created.
1659
- :attr str iam_service_id: (optional) The iam_service_id of the account entity
1658
+ :param str account_id: (optional) The ID of the account entity that was created.
1659
+ :param str iam_service_id: (optional) The iam_service_id of the account entity
1660
1660
  that was created.
1661
- :attr str iam_apikey_id: (optional) The iam_apikey_id of the account entity that
1662
- was created.
1663
- :attr str iam_apikey: (optional) The iam_apikey of the account entity with owner
1664
- iam policies that was created.
1661
+ :param str iam_apikey_id: (optional) The iam_apikey_id of the account entity
1662
+ that was created.
1663
+ :param str iam_apikey: (optional) The iam_apikey of the account entity with
1664
+ owner iam policies that was created.
1665
1665
  """
1666
1666
 
1667
1667
  def __init__(
1668
- self, *, account_id: str = None, iam_service_id: str = None, iam_apikey_id: str = None, iam_apikey: str = None
1668
+ self,
1669
+ *,
1670
+ account_id: Optional[str] = None,
1671
+ iam_service_id: Optional[str] = None,
1672
+ iam_apikey_id: Optional[str] = None,
1673
+ iam_apikey: Optional[str] = None,
1669
1674
  ) -> None:
1670
1675
  """
1671
1676
  Initialize a CreateAccountResponse object.
@@ -1688,14 +1693,14 @@ class CreateAccountResponse:
1688
1693
  def from_dict(cls, _dict: Dict) -> 'CreateAccountResponse':
1689
1694
  """Initialize a CreateAccountResponse object from a json dictionary."""
1690
1695
  args = {}
1691
- if 'account_id' in _dict:
1692
- args['account_id'] = _dict.get('account_id')
1693
- if 'iam_service_id' in _dict:
1694
- args['iam_service_id'] = _dict.get('iam_service_id')
1695
- if 'iam_apikey_id' in _dict:
1696
- args['iam_apikey_id'] = _dict.get('iam_apikey_id')
1697
- if 'iam_apikey' in _dict:
1698
- args['iam_apikey'] = _dict.get('iam_apikey')
1696
+ if (account_id := _dict.get('account_id')) is not None:
1697
+ args['account_id'] = account_id
1698
+ if (iam_service_id := _dict.get('iam_service_id')) is not None:
1699
+ args['iam_service_id'] = iam_service_id
1700
+ if (iam_apikey_id := _dict.get('iam_apikey_id')) is not None:
1701
+ args['iam_apikey_id'] = iam_apikey_id
1702
+ if (iam_apikey := _dict.get('iam_apikey')) is not None:
1703
+ args['iam_apikey'] = iam_apikey
1699
1704
  return cls(**args)
1700
1705
 
1701
1706
  @classmethod
@@ -99,6 +99,7 @@ class GlobalSearchV2(BaseService):
99
99
  is_public: Optional[str] = None,
100
100
  impersonate_user: Optional[str] = None,
101
101
  can_tag: Optional[str] = None,
102
+ is_project_resource: Optional[str] = None,
102
103
  **kwargs,
103
104
  ) -> DetailedResponse:
104
105
  """
@@ -181,6 +182,13 @@ class GlobalSearchV2(BaseService):
181
182
  (only a GhoST admin can use this parameter). If false (default), only
182
183
  resources user can view are returned; if true, only resources that user has
183
184
  permissions for tagging are returned (_for administrators only_).
185
+ :param str is_project_resource: (optional) Determines if documents
186
+ belonging to Project family should be included in result set or not.
187
+ Possible values are false (default), true or any. If false, documents
188
+ belonging to all families except Project are returned; if true, only
189
+ documents belonging to Project family are returned; if any, documents of
190
+ any family are returned. Only authorized ServiceIds can use this query
191
+ parameter.
184
192
  :param dict headers: A `dict` containing the request headers
185
193
  :return: A `DetailedResponse` containing the result, headers and HTTP status code.
186
194
  :rtype: DetailedResponse with `dict` result representing a `ScanResult` object
@@ -207,6 +215,7 @@ class GlobalSearchV2(BaseService):
207
215
  'is_public': is_public,
208
216
  'impersonate_user': impersonate_user,
209
217
  'can_tag': can_tag,
218
+ 'is_project_resource': is_project_resource,
210
219
  }
211
220
 
212
221
  data = {
@@ -288,6 +297,19 @@ class SearchEnums:
288
297
  TRUE = 'true'
289
298
  FALSE = 'false'
290
299
 
300
+ class IsProjectResource(str, Enum):
301
+ """
302
+ Determines if documents belonging to Project family should be included in result
303
+ set or not. Possible values are false (default), true or any. If false, documents
304
+ belonging to all families except Project are returned; if true, only documents
305
+ belonging to Project family are returned; if any, documents of any family are
306
+ returned. Only authorized ServiceIds can use this query parameter.
307
+ """
308
+
309
+ TRUE = 'true'
310
+ FALSE = 'false'
311
+ ANY = 'any'
312
+
291
313
 
292
314
  ##############################################################################
293
315
  # Models
@@ -2,4 +2,4 @@
2
2
  Version of platform_services
3
3
  """
4
4
 
5
- __version__ = '0.53.5'
5
+ __version__ = '0.53.7'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ibm-platform-services
3
- Version: 0.53.5
3
+ Version: 0.53.7
4
4
  Summary: Python client library for IBM Cloud Platform Services
5
5
  Home-page: https://github.com/IBM/platform-services-python-sdk
6
6
  Author: IBM
@@ -33,7 +33,7 @@ License-File: LICENSE
33
33
  [![CLA assistant](https://cla-assistant.io/readme/badge/IBM/platform-services-python-sdk)](https://cla-assistant.io/IBM/platform-services-python-sdk)
34
34
 
35
35
 
36
- # IBM Cloud Platform Services Python SDK Version 0.53.5
36
+ # IBM Cloud Platform Services Python SDK Version 0.53.7
37
37
 
38
38
  Python client library to interact with various
39
39
  [IBM Cloud Platform Service APIs](https://cloud.ibm.com/docs?tab=api-docs&category=platform_services).
@@ -19,7 +19,7 @@ import os
19
19
  import sys
20
20
  import pkg_resources
21
21
 
22
- __version__ = '0.53.5'
22
+ __version__ = '0.53.7'
23
23
  PACKAGE_NAME = 'ibm_platform_services'
24
24
  PACKAGE_DESC = 'Python client library for IBM Cloud Platform Services'
25
25