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.79.0-2eb6af3d-20230905-174838
17
+ # IBM OpenAPI SDK Code Generator Version: 3.82.1-2082d402-20231115-195014
18
18
19
19
"""
20
20
Search for resources with the global and shared resource properties repository that is
31
31
"""
32
32
33
33
from enum import Enum
34
- from typing import Dict , List
34
+ from typing import Dict , List , Optional
35
35
import json
36
36
37
37
from ibm_cloud_sdk_core import BaseService , DetailedResponse
@@ -86,21 +86,21 @@ def __init__(
86
86
def search (
87
87
self ,
88
88
* ,
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 ,
104
104
** kwargs ,
105
105
) -> DetailedResponse :
106
106
"""
@@ -302,7 +302,7 @@ class ResultItem:
302
302
A resource returned in a search result, which is identified by its `crn`. It contains
303
303
other properties that depend on the resource type.
304
304
305
- :attr str crn: Resource identifier in CRN format.
305
+ :param str crn: Resource identifier in CRN format.
306
306
"""
307
307
308
308
# The set of defined properties for the class
@@ -388,10 +388,10 @@ class ScanResult:
388
388
"""
389
389
The search scan response.
390
390
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
392
392
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
395
395
resource. An empty array signals the end of the result set, which means there
396
396
are no more results to fetch.
397
397
"""
@@ -401,7 +401,7 @@ def __init__(
401
401
limit : int ,
402
402
items : List ['ResultItem' ],
403
403
* ,
404
- search_cursor : str = None ,
404
+ search_cursor : Optional [ str ] = None ,
405
405
) -> None :
406
406
"""
407
407
Initialize a ScanResult object.
0 commit comments