Skip to content

Commit b131c1a

Browse files
fix(Global Tagging): regenerate service using latest API definition (#231)
Signed-off-by: Fabrizio Leoni <[email protected]>
1 parent dd15e93 commit b131c1a

File tree

3 files changed

+110
-153
lines changed

3 files changed

+110
-153
lines changed

ibm_platform_services/global_search_v2.py

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
# IBM OpenAPI SDK Code Generator Version: 3.79.0-2eb6af3d-20230905-174838
17+
# IBM OpenAPI SDK Code Generator Version: 3.82.1-2082d402-20231115-195014
1818

1919
"""
2020
Search for resources with the global and shared resource properties repository that is
@@ -31,7 +31,7 @@
3131
"""
3232

3333
from enum import Enum
34-
from typing import Dict, List
34+
from typing import Dict, List, Optional
3535
import json
3636

3737
from ibm_cloud_sdk_core import BaseService, DetailedResponse
@@ -86,21 +86,21 @@ def __init__(
8686
def search(
8787
self,
8888
*,
89-
query: str = None,
90-
fields: List[str] = None,
91-
search_cursor: str = None,
92-
x_request_id: str = None,
93-
x_correlation_id: str = None,
94-
transaction_id: str = None,
95-
account_id: str = None,
96-
limit: int = None,
97-
timeout: int = None,
98-
sort: List[str] = None,
99-
is_deleted: str = None,
100-
is_reclaimed: str = None,
101-
is_public: str = None,
102-
impersonate_user: str = None,
103-
can_tag: str = None,
89+
query: Optional[str] = None,
90+
fields: Optional[List[str]] = None,
91+
search_cursor: Optional[str] = None,
92+
x_request_id: Optional[str] = None,
93+
x_correlation_id: Optional[str] = None,
94+
transaction_id: Optional[str] = None,
95+
account_id: Optional[str] = None,
96+
limit: Optional[int] = None,
97+
timeout: Optional[int] = None,
98+
sort: Optional[List[str]] = None,
99+
is_deleted: Optional[str] = None,
100+
is_reclaimed: Optional[str] = None,
101+
is_public: Optional[str] = None,
102+
impersonate_user: Optional[str] = None,
103+
can_tag: Optional[str] = None,
104104
**kwargs,
105105
) -> DetailedResponse:
106106
"""
@@ -302,7 +302,7 @@ class ResultItem:
302302
A resource returned in a search result, which is identified by its `crn`. It contains
303303
other properties that depend on the resource type.
304304
305-
:attr str crn: Resource identifier in CRN format.
305+
:param str crn: Resource identifier in CRN format.
306306
"""
307307

308308
# The set of defined properties for the class
@@ -388,10 +388,10 @@ class ScanResult:
388388
"""
389389
The search scan response.
390390
391-
:attr str search_cursor: (optional) The search cursor to use on all calls after
391+
:param str search_cursor: (optional) The search cursor to use on all calls after
392392
the first one.
393-
:attr int limit: Value of the limit parameter specified by the user.
394-
:attr List[ResultItem] items: The array of results. Each item represents a
393+
:param int limit: Value of the limit parameter specified by the user.
394+
:param List[ResultItem] items: The array of results. Each item represents a
395395
resource. An empty array signals the end of the result set, which means there
396396
are no more results to fetch.
397397
"""
@@ -401,7 +401,7 @@ def __init__(
401401
limit: int,
402402
items: List['ResultItem'],
403403
*,
404-
search_cursor: str = None,
404+
search_cursor: Optional[str] = None,
405405
) -> None:
406406
"""
407407
Initialize a ScanResult object.

0 commit comments

Comments
 (0)