ibm-platform-services 0.68.1__tar.gz → 0.68.3__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.68.1/ibm_platform_services.egg-info → ibm_platform_services-0.68.3}/PKG-INFO +2 -2
  2. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/README.md +1 -1
  3. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services/global_search_v2.py +44 -50
  4. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services/iam_identity_v1.py +121 -11
  5. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services/version.py +1 -1
  6. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3/ibm_platform_services.egg-info}/PKG-INFO +2 -2
  7. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/pyproject.toml +1 -1
  8. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/LICENSE +0 -0
  9. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/MANIFEST.in +0 -0
  10. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services/__init__.py +0 -0
  11. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services/case_management_v1.py +0 -0
  12. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services/catalog_management_v1.py +0 -0
  13. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services/common.py +0 -0
  14. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services/context_based_restrictions_v1.py +0 -0
  15. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services/enterprise_billing_units_v1.py +0 -0
  16. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services/enterprise_management_v1.py +0 -0
  17. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services/enterprise_usage_reports_v1.py +0 -0
  18. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services/global_catalog_v1.py +0 -0
  19. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services/global_tagging_v1.py +0 -0
  20. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services/iam_access_groups_v2.py +0 -0
  21. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services/iam_policy_management_v1.py +0 -0
  22. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services/ibm_cloud_shell_v1.py +0 -0
  23. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services/open_service_broker_v1.py +0 -0
  24. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services/partner_management_v1.py +0 -0
  25. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services/resource_controller_v2.py +0 -0
  26. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services/resource_manager_v2.py +0 -0
  27. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services/usage_metering_v4.py +0 -0
  28. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services/usage_reports_v4.py +0 -0
  29. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services/user_management_v1.py +0 -0
  30. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services.egg-info/SOURCES.txt +0 -0
  31. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services.egg-info/dependency_links.txt +0 -0
  32. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services.egg-info/requires.txt +0 -0
  33. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/ibm_platform_services.egg-info/top_level.txt +0 -0
  34. {ibm_platform_services-0.68.1 → ibm_platform_services-0.68.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ibm-platform-services
3
- Version: 0.68.1
3
+ Version: 0.68.3
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.68.1
54
+ # IBM Cloud Platform Services Python SDK Version 0.68.3
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.68.1
11
+ # IBM Cloud Platform Services Python SDK Version 0.68.3
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).
@@ -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.100.0-2ad7a784-20250212-162551
18
18
 
19
19
  """
20
20
  Search for resources with the global and shared resource properties repository that is
@@ -96,7 +96,6 @@ class GlobalSearchV2(BaseService):
96
96
  sort: Optional[List[str]] = None,
97
97
  is_deleted: Optional[str] = None,
98
98
  is_reclaimed: Optional[str] = None,
99
- is_public: Optional[str] = None,
100
99
  impersonate_user: Optional[str] = None,
101
100
  can_tag: Optional[str] = None,
102
101
  is_project_resource: Optional[str] = None,
@@ -106,21 +105,17 @@ class GlobalSearchV2(BaseService):
106
105
  Find instances of resources (v3).
107
106
 
108
107
  Find IAM-enabled resources or storage and network resources that run on classic
109
- infrastructure in a specific account ID. You can apply query strings if necessary.
110
- To filter results, you can insert a string by using the Lucene syntax and the
111
- query string is parsed into a series of terms and operators. A term can be a
112
- single word or a phrase, in which case the search is performed for all the words,
113
- in the same order. To filter for a specific value regardless of the property that
114
- contains it, type the search term without specifying a field. Only resources that
115
- belong to the account ID and that are accessible by the client are returned.
108
+ infrastructure in a specific account ID.
116
109
  You must use `/v3/resources/search` when you need to fetch more than `10000`
117
110
  resource items. On the first call, the operation returns a live cursor on the data
118
111
  that you must use on all the subsequent calls to get the next batch of results
119
112
  until you get the empty result set.
120
- By default, the fields that are returned for every resource are `crn`, `name`,
121
- `family`, `type`, and `account_id`. You can specify the subset of the fields you
122
- want in your request using the `fields` request body attribute. Set `"fields":
123
- ["*"]` to discover the set of fields which are available to request.
113
+ To filter results, you can apply query strings following the *Lucene* query
114
+ syntax.
115
+ By default, the fields that are returned for every resource are **crn**, **name**,
116
+ **family**, **type**, and **account_id**. You can specify the subset of the fields
117
+ you want in your request using the `fields` request body attribute. Set `"fields":
118
+ ["*"]` to discover the complete set of fields which are available to request.
124
119
 
125
120
  :param str query: (optional) The Lucene-formatted query string. Default to
126
121
  '*' if not set.
@@ -131,8 +126,10 @@ class GlobalSearchV2(BaseService):
131
126
  request.
132
127
  :param str search_cursor: (optional) An opaque cursor that is returned on
133
128
  each call and that must be set on the subsequent call to get the next batch
134
- of items. If the search returns no items, then the search_cursor is not
135
- present in the response.
129
+ of items. You can stop paging when the search returns less items than the
130
+ specified `limit` or when the `search_cursor` is not present in the
131
+ response. NOTE: when setting this parameter, any other properties present
132
+ in the body will be ignored.
136
133
  :param str x_request_id: (optional) An alphanumeric string that is used to
137
134
  trace the request. The value may include ASCII alphanumerics and any of
138
135
  following segment separators: space ( ), comma (,), hyphen, (-), and
@@ -169,10 +166,6 @@ class GlobalSearchV2(BaseService):
169
166
  (default), true or any. If false, only not reclaimed documents are
170
167
  returned; if true, only reclaimed documents are returned; If any, both
171
168
  reclaimed and not reclaimed documents are returned.
172
- :param str is_public: (optional) Determines if public resources should be
173
- included in result set or not. Possible values are false (default), true or
174
- any. If false, do not search public resources; if true, search only public
175
- resources; If any, search also public resources.
176
169
  :param str impersonate_user: (optional) The user on whose behalf the search
177
170
  must be performed. Only a GhoST admin can impersonate a user, so be sure
178
171
  you set a GhoST admin IAM token in the Authorization header if you set this
@@ -212,7 +205,6 @@ class GlobalSearchV2(BaseService):
212
205
  'sort': convert_list(sort),
213
206
  'is_deleted': is_deleted,
214
207
  'is_reclaimed': is_reclaimed,
215
- 'is_public': is_public,
216
208
  'impersonate_user': impersonate_user,
217
209
  'can_tag': can_tag,
218
210
  'is_project_resource': is_project_resource,
@@ -274,17 +266,6 @@ class SearchEnums:
274
266
  FALSE = 'false'
275
267
  ANY = 'any'
276
268
 
277
- class IsPublic(str, Enum):
278
- """
279
- Determines if public resources should be included in result set or not. Possible
280
- values are false (default), true or any. If false, do not search public resources;
281
- if true, search only public resources; If any, search also public resources.
282
- """
283
-
284
- TRUE = 'true'
285
- FALSE = 'false'
286
- ANY = 'any'
287
-
288
269
  class CanTag(str, Enum):
289
270
  """
290
271
  Determines if the result set must return the resources that the user can tag or
@@ -322,6 +303,8 @@ class ResultItem:
322
303
  other properties that depend on the resource type.
323
304
 
324
305
  :param str crn: Resource identifier in CRN format.
306
+
307
+ This type supports additional properties of type object.
325
308
  """
326
309
 
327
310
  # The set of defined properties for the class
@@ -330,17 +313,22 @@ class ResultItem:
330
313
  def __init__(
331
314
  self,
332
315
  crn: str,
333
- **kwargs,
316
+ **kwargs: Optional[object],
334
317
  ) -> None:
335
318
  """
336
319
  Initialize a ResultItem object.
337
320
 
338
321
  :param str crn: Resource identifier in CRN format.
339
- :param **kwargs: (optional) Any additional properties.
322
+ :param object **kwargs: (optional) Additional properties of type object
340
323
  """
341
324
  self.crn = crn
342
- for _key, _value in kwargs.items():
343
- setattr(self, _key, _value)
325
+ for k, v in kwargs.items():
326
+ if k not in ResultItem._properties:
327
+ if not isinstance(v, object):
328
+ raise ValueError('Value for additional property {} must be of type object'.format(k))
329
+ setattr(self, k, v)
330
+ else:
331
+ raise ValueError('Property {} cannot be specified as an additional property'.format(k))
344
332
 
345
333
  @classmethod
346
334
  def from_dict(cls, _dict: Dict) -> 'ResultItem':
@@ -350,7 +338,11 @@ class ResultItem:
350
338
  args['crn'] = crn
351
339
  else:
352
340
  raise ValueError('Required property \'crn\' not present in ResultItem JSON')
353
- args.update({k: v for (k, v) in _dict.items() if k not in cls._properties})
341
+ for k, v in _dict.items():
342
+ if k not in cls._properties:
343
+ if not isinstance(v, object):
344
+ raise ValueError('Value for additional property {} must be of type object'.format(k))
345
+ args[k] = v
354
346
  return cls(**args)
355
347
 
356
348
  @classmethod
@@ -363,8 +355,8 @@ class ResultItem:
363
355
  _dict = {}
364
356
  if hasattr(self, 'crn') and self.crn is not None:
365
357
  _dict['crn'] = self.crn
366
- for _key in [k for k in vars(self).keys() if k not in ResultItem._properties]:
367
- _dict[_key] = getattr(self, _key)
358
+ for k in [_k for _k in vars(self).keys() if _k not in ResultItem._properties]:
359
+ _dict[k] = getattr(self, k)
368
360
  return _dict
369
361
 
370
362
  def _to_dict(self):
@@ -372,21 +364,23 @@ class ResultItem:
372
364
  return self.to_dict()
373
365
 
374
366
  def get_properties(self) -> Dict:
375
- """Return a dictionary of arbitrary properties from this instance of ResultItem"""
367
+ """Return the additional properties from this instance of ResultItem in the form of a dict."""
376
368
  _dict = {}
377
-
378
- for _key in [k for k in vars(self).keys() if k not in ResultItem._properties]:
379
- _dict[_key] = getattr(self, _key)
369
+ for k in [_k for _k in vars(self).keys() if _k not in ResultItem._properties]:
370
+ _dict[k] = getattr(self, k)
380
371
  return _dict
381
372
 
382
373
  def set_properties(self, _dict: dict):
383
- """Set a dictionary of arbitrary properties to this instance of ResultItem"""
384
- for _key in [k for k in vars(self).keys() if k not in ResultItem._properties]:
385
- delattr(self, _key)
386
-
387
- for _key, _value in _dict.items():
388
- if _key not in ResultItem._properties:
389
- setattr(self, _key, _value)
374
+ """Set a dictionary of additional properties in this instance of ResultItem"""
375
+ for k in [_k for _k in vars(self).keys() if _k not in ResultItem._properties]:
376
+ delattr(self, k)
377
+ for k, v in _dict.items():
378
+ if k not in ResultItem._properties:
379
+ if not isinstance(v, object):
380
+ raise ValueError('Value for additional property {} must be of type object'.format(k))
381
+ setattr(self, k, v)
382
+ else:
383
+ raise ValueError('Property {} cannot be specified as an additional property'.format(k))
390
384
 
391
385
  def __str__(self) -> str:
392
386
  """Return a `str` version of this ResultItem object."""
@@ -2196,6 +2196,78 @@ class IamIdentityV1(BaseService):
2196
2196
  response = self.send(request, **kwargs)
2197
2197
  return response
2198
2198
 
2199
+ def delete_link_by_parameters(
2200
+ self,
2201
+ profile_id: str,
2202
+ type: str,
2203
+ *,
2204
+ crn: Optional[str] = None,
2205
+ namespace: Optional[str] = None,
2206
+ name: Optional[str] = None,
2207
+ component_type: Optional[str] = None,
2208
+ component_name: Optional[str] = None,
2209
+ **kwargs,
2210
+ ) -> DetailedResponse:
2211
+ """
2212
+ Delete compute resource link to profile by given parameters.
2213
+
2214
+ Deletes compute resource link of a Trusted Profile matching the given parameters.
2215
+
2216
+ :param str profile_id: The unique ID of the Trusted Profile.
2217
+ :param str type: The compute resource type. Valid values are VSI, BMS,
2218
+ IKS_SA, ROKS_SA, CE.
2219
+ :param str crn: (optional) CRN of the compute resource (IKS/ROKS/VSI/BMS).
2220
+ :param str namespace: (optional) Namespace of the compute resource
2221
+ (IKS/ROKS).
2222
+ :param str name: (optional) Name of the compute resource (IKS/ROKS).
2223
+ :param str component_type: (optional) Component type of the compute
2224
+ resource, only required if type is CE.
2225
+ :param str component_name: (optional) Component name of the compute
2226
+ resource, only required if type is CE.
2227
+ :param dict headers: A `dict` containing the request headers
2228
+ :return: A `DetailedResponse` containing the result, headers and HTTP status code.
2229
+ :rtype: DetailedResponse
2230
+ """
2231
+
2232
+ if not profile_id:
2233
+ raise ValueError('profile_id must be provided')
2234
+ if not type:
2235
+ raise ValueError('type must be provided')
2236
+ headers = {}
2237
+ sdk_headers = get_sdk_headers(
2238
+ service_name=self.DEFAULT_SERVICE_NAME,
2239
+ service_version='V1',
2240
+ operation_id='delete_link_by_parameters',
2241
+ )
2242
+ headers.update(sdk_headers)
2243
+
2244
+ params = {
2245
+ 'type': type,
2246
+ 'crn': crn,
2247
+ 'namespace': namespace,
2248
+ 'name': name,
2249
+ 'component_type': component_type,
2250
+ 'component_name': component_name,
2251
+ }
2252
+
2253
+ if 'headers' in kwargs:
2254
+ headers.update(kwargs.get('headers'))
2255
+ del kwargs['headers']
2256
+
2257
+ path_param_keys = ['profile-id']
2258
+ path_param_values = self.encode_path_vars(profile_id)
2259
+ path_param_dict = dict(zip(path_param_keys, path_param_values))
2260
+ url = '/v1/profiles/{profile-id}/links'.format(**path_param_dict)
2261
+ request = self.prepare_request(
2262
+ method='DELETE',
2263
+ url=url,
2264
+ headers=headers,
2265
+ params=params,
2266
+ )
2267
+
2268
+ response = self.send(request, **kwargs)
2269
+ return response
2270
+
2199
2271
  def get_link(
2200
2272
  self,
2201
2273
  profile_id: str,
@@ -8665,31 +8737,43 @@ class CreateProfileLinkRequestLink:
8665
8737
  Link details.
8666
8738
 
8667
8739
  :param str crn: The CRN of the compute resource.
8668
- :param str namespace: The compute resource namespace, only required if cr_type
8669
- is IKS_SA or ROKS_SA.
8740
+ :param str namespace: (optional) The compute resource namespace, only required
8741
+ if cr_type is IKS_SA or ROKS_SA.
8670
8742
  :param str name: (optional) Name of the compute resource, only required if
8671
8743
  cr_type is IKS_SA or ROKS_SA.
8744
+ :param str component_type: (optional) Component type of the compute resource,
8745
+ only required if cr_type is CE.
8746
+ :param str component_name: (optional) Component name of the compute resource,
8747
+ only required if cr_type is CE.
8672
8748
  """
8673
8749
 
8674
8750
  def __init__(
8675
8751
  self,
8676
8752
  crn: str,
8677
- namespace: str,
8678
8753
  *,
8754
+ namespace: Optional[str] = None,
8679
8755
  name: Optional[str] = None,
8756
+ component_type: Optional[str] = None,
8757
+ component_name: Optional[str] = None,
8680
8758
  ) -> None:
8681
8759
  """
8682
8760
  Initialize a CreateProfileLinkRequestLink object.
8683
8761
 
8684
8762
  :param str crn: The CRN of the compute resource.
8685
- :param str namespace: The compute resource namespace, only required if
8686
- cr_type is IKS_SA or ROKS_SA.
8763
+ :param str namespace: (optional) The compute resource namespace, only
8764
+ required if cr_type is IKS_SA or ROKS_SA.
8687
8765
  :param str name: (optional) Name of the compute resource, only required if
8688
8766
  cr_type is IKS_SA or ROKS_SA.
8767
+ :param str component_type: (optional) Component type of the compute
8768
+ resource, only required if cr_type is CE.
8769
+ :param str component_name: (optional) Component name of the compute
8770
+ resource, only required if cr_type is CE.
8689
8771
  """
8690
8772
  self.crn = crn
8691
8773
  self.namespace = namespace
8692
8774
  self.name = name
8775
+ self.component_type = component_type
8776
+ self.component_name = component_name
8693
8777
 
8694
8778
  @classmethod
8695
8779
  def from_dict(cls, _dict: Dict) -> 'CreateProfileLinkRequestLink':
@@ -8701,10 +8785,12 @@ class CreateProfileLinkRequestLink:
8701
8785
  raise ValueError('Required property \'crn\' not present in CreateProfileLinkRequestLink JSON')
8702
8786
  if (namespace := _dict.get('namespace')) is not None:
8703
8787
  args['namespace'] = namespace
8704
- else:
8705
- raise ValueError('Required property \'namespace\' not present in CreateProfileLinkRequestLink JSON')
8706
8788
  if (name := _dict.get('name')) is not None:
8707
8789
  args['name'] = name
8790
+ if (component_type := _dict.get('component_type')) is not None:
8791
+ args['component_type'] = component_type
8792
+ if (component_name := _dict.get('component_name')) is not None:
8793
+ args['component_name'] = component_name
8708
8794
  return cls(**args)
8709
8795
 
8710
8796
  @classmethod
@@ -8721,6 +8807,10 @@ class CreateProfileLinkRequestLink:
8721
8807
  _dict['namespace'] = self.namespace
8722
8808
  if hasattr(self, 'name') and self.name is not None:
8723
8809
  _dict['name'] = self.name
8810
+ if hasattr(self, 'component_type') and self.component_type is not None:
8811
+ _dict['component_type'] = self.component_type
8812
+ if hasattr(self, 'component_name') and self.component_name is not None:
8813
+ _dict['component_name'] = self.component_name
8724
8814
  return _dict
8725
8815
 
8726
8816
  def _to_dict(self):
@@ -10645,8 +10735,8 @@ class ProfileLink:
10645
10735
  :param datetime modified_at: If set contains a date time string of the last
10646
10736
  modification date in ISO format.
10647
10737
  :param str name: (optional) Optional name of the Link.
10648
- :param str cr_type: The compute resource type. Valid values are VSI, IKS_SA,
10649
- ROKS_SA.
10738
+ :param str cr_type: The compute resource type. Valid values are VSI, BMS,
10739
+ IKS_SA, ROKS_SA, CE.
10650
10740
  :param ProfileLinkLink link:
10651
10741
  """
10652
10742
 
@@ -10670,8 +10760,8 @@ class ProfileLink:
10670
10760
  creation date in ISO format.
10671
10761
  :param datetime modified_at: If set contains a date time string of the last
10672
10762
  modification date in ISO format.
10673
- :param str cr_type: The compute resource type. Valid values are VSI,
10674
- IKS_SA, ROKS_SA.
10763
+ :param str cr_type: The compute resource type. Valid values are VSI, BMS,
10764
+ IKS_SA, ROKS_SA, CE.
10675
10765
  :param ProfileLinkLink link:
10676
10766
  :param str name: (optional) Optional name of the Link.
10677
10767
  """
@@ -10770,6 +10860,10 @@ class ProfileLinkLink:
10770
10860
  if cr_type is IKS_SA or ROKS_SA.
10771
10861
  :param str name: (optional) Name of the compute resource, only required if
10772
10862
  cr_type is IKS_SA or ROKS_SA.
10863
+ :param str component_type: (optional) Component type of the compute resource,
10864
+ only required if cr_type is CE.
10865
+ :param str component_name: (optional) Component name of the compute resource,
10866
+ only required if cr_type is CE.
10773
10867
  """
10774
10868
 
10775
10869
  def __init__(
@@ -10778,6 +10872,8 @@ class ProfileLinkLink:
10778
10872
  crn: Optional[str] = None,
10779
10873
  namespace: Optional[str] = None,
10780
10874
  name: Optional[str] = None,
10875
+ component_type: Optional[str] = None,
10876
+ component_name: Optional[str] = None,
10781
10877
  ) -> None:
10782
10878
  """
10783
10879
  Initialize a ProfileLinkLink object.
@@ -10787,10 +10883,16 @@ class ProfileLinkLink:
10787
10883
  required if cr_type is IKS_SA or ROKS_SA.
10788
10884
  :param str name: (optional) Name of the compute resource, only required if
10789
10885
  cr_type is IKS_SA or ROKS_SA.
10886
+ :param str component_type: (optional) Component type of the compute
10887
+ resource, only required if cr_type is CE.
10888
+ :param str component_name: (optional) Component name of the compute
10889
+ resource, only required if cr_type is CE.
10790
10890
  """
10791
10891
  self.crn = crn
10792
10892
  self.namespace = namespace
10793
10893
  self.name = name
10894
+ self.component_type = component_type
10895
+ self.component_name = component_name
10794
10896
 
10795
10897
  @classmethod
10796
10898
  def from_dict(cls, _dict: Dict) -> 'ProfileLinkLink':
@@ -10802,6 +10904,10 @@ class ProfileLinkLink:
10802
10904
  args['namespace'] = namespace
10803
10905
  if (name := _dict.get('name')) is not None:
10804
10906
  args['name'] = name
10907
+ if (component_type := _dict.get('component_type')) is not None:
10908
+ args['component_type'] = component_type
10909
+ if (component_name := _dict.get('component_name')) is not None:
10910
+ args['component_name'] = component_name
10805
10911
  return cls(**args)
10806
10912
 
10807
10913
  @classmethod
@@ -10818,6 +10924,10 @@ class ProfileLinkLink:
10818
10924
  _dict['namespace'] = self.namespace
10819
10925
  if hasattr(self, 'name') and self.name is not None:
10820
10926
  _dict['name'] = self.name
10927
+ if hasattr(self, 'component_type') and self.component_type is not None:
10928
+ _dict['component_type'] = self.component_type
10929
+ if hasattr(self, 'component_name') and self.component_name is not None:
10930
+ _dict['component_name'] = self.component_name
10821
10931
  return _dict
10822
10932
 
10823
10933
  def _to_dict(self):
@@ -2,4 +2,4 @@
2
2
  Version of platform_services
3
3
  """
4
4
 
5
- __version__ = '0.68.1'
5
+ __version__ = '0.68.3'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ibm-platform-services
3
- Version: 0.68.1
3
+ Version: 0.68.3
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.68.1
54
+ # IBM Cloud Platform Services Python SDK Version 0.68.3
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.68.1"
3
+ version = "0.68.3"
4
4
  authors = [
5
5
  { name="IBM", email="devxsdk@us.ibm.com" }
6
6
  ]