Skip to content

Commit a2b2acd

Browse files
Automated build 'Automated commit 'Merge pull request #2019 from sailpoint/devrel-2136-v3
devrel-2136 v3' by github action: 13953156774' python sdk: 13953168358
1 parent 7ed2c87 commit a2b2acd

File tree

4 files changed

+56
-14
lines changed

4 files changed

+56
-14
lines changed

sailpoint/v3/api/search_attribute_configuration_api.py

Lines changed: 41 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from typing_extensions import Annotated
1818

1919
from pydantic import Field, StrictStr
20-
from typing import Any, Dict, List
20+
from typing import Any, Dict, List, Optional
2121
from typing_extensions import Annotated
2222
from sailpoint.v3.models.json_patch_operation import JsonPatchOperation
2323
from sailpoint.v3.models.search_attribute_config import SearchAttributeConfig
@@ -59,7 +59,7 @@ def create_search_attribute_config(
5959
) -> object:
6060
"""Create Extended Search Attributes
6161
62-
Create and configure extended search attributes. This API accepts an attribute name, an attribute display name and a list of name/value pair associates of application IDs to attribute names. It will then validate the inputs and configure/create and attribute promotion configuration in the Link ObjectConfig.
62+
Create and configure extended search attributes. This API accepts an attribute name, an attribute display name and a list of name/value pair associates of application IDs to attribute names. It will then validate the inputs and configure/create the attribute promotion configuration in the Link ObjectConfig. >**Note: Give searchable attributes unique names. Do not give them the same names used for account attributes or source attributes. Also, do not give them the same names present in account schema for a current or future source, regardless of whether that source is included in the searchable attributes' `applicationAttributes`.**
6363
6464
:param search_attribute_config: (required)
6565
:type search_attribute_config: SearchAttributeConfig
@@ -132,7 +132,7 @@ def create_search_attribute_config_with_http_info(
132132
) -> ApiResponse[object]:
133133
"""Create Extended Search Attributes
134134
135-
Create and configure extended search attributes. This API accepts an attribute name, an attribute display name and a list of name/value pair associates of application IDs to attribute names. It will then validate the inputs and configure/create and attribute promotion configuration in the Link ObjectConfig.
135+
Create and configure extended search attributes. This API accepts an attribute name, an attribute display name and a list of name/value pair associates of application IDs to attribute names. It will then validate the inputs and configure/create the attribute promotion configuration in the Link ObjectConfig. >**Note: Give searchable attributes unique names. Do not give them the same names used for account attributes or source attributes. Also, do not give them the same names present in account schema for a current or future source, regardless of whether that source is included in the searchable attributes' `applicationAttributes`.**
136136
137137
:param search_attribute_config: (required)
138138
:type search_attribute_config: SearchAttributeConfig
@@ -205,7 +205,7 @@ def create_search_attribute_config_without_preload_content(
205205
) -> RESTResponseType:
206206
"""Create Extended Search Attributes
207207
208-
Create and configure extended search attributes. This API accepts an attribute name, an attribute display name and a list of name/value pair associates of application IDs to attribute names. It will then validate the inputs and configure/create and attribute promotion configuration in the Link ObjectConfig.
208+
Create and configure extended search attributes. This API accepts an attribute name, an attribute display name and a list of name/value pair associates of application IDs to attribute names. It will then validate the inputs and configure/create the attribute promotion configuration in the Link ObjectConfig. >**Note: Give searchable attributes unique names. Do not give them the same names used for account attributes or source attributes. Also, do not give them the same names present in account schema for a current or future source, regardless of whether that source is included in the searchable attributes' `applicationAttributes`.**
209209
210210
:param search_attribute_config: (required)
211211
:type search_attribute_config: SearchAttributeConfig
@@ -616,6 +616,8 @@ def _delete_search_attribute_config_serialize(
616616
@validate_call
617617
def get_search_attribute_config(
618618
self,
619+
limit: Annotated[Optional[Annotated[int, Field(le=250, strict=True, ge=0)]], Field(description="Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.")] = None,
620+
offset: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.")] = None,
619621
_request_timeout: Union[
620622
None,
621623
Annotated[StrictFloat, Field(gt=0)],
@@ -631,8 +633,12 @@ def get_search_attribute_config(
631633
) -> List[SearchAttributeConfig]:
632634
"""List Extended Search Attributes
633635
634-
Get a list of attribute/application associates currently configured in Identity Security Cloud (ISC).
636+
Get a list of attribute/application attributes currently configured in Identity Security Cloud (ISC).
635637
638+
:param limit: Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
639+
:type limit: int
640+
:param offset: Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
641+
:type offset: int
636642
:param _request_timeout: timeout setting for this request. If one
637643
number provided, it will be total request
638644
timeout. It can also be a pair (tuple) of
@@ -656,6 +662,8 @@ def get_search_attribute_config(
656662
""" # noqa: E501
657663

658664
_param = self._get_search_attribute_config_serialize(
665+
limit=limit,
666+
offset=offset,
659667
_request_auth=_request_auth,
660668
_content_type=_content_type,
661669
_headers=_headers,
@@ -684,6 +692,8 @@ def get_search_attribute_config(
684692
@validate_call
685693
def get_search_attribute_config_with_http_info(
686694
self,
695+
limit: Annotated[Optional[Annotated[int, Field(le=250, strict=True, ge=0)]], Field(description="Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.")] = None,
696+
offset: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.")] = None,
687697
_request_timeout: Union[
688698
None,
689699
Annotated[StrictFloat, Field(gt=0)],
@@ -699,8 +709,12 @@ def get_search_attribute_config_with_http_info(
699709
) -> ApiResponse[List[SearchAttributeConfig]]:
700710
"""List Extended Search Attributes
701711
702-
Get a list of attribute/application associates currently configured in Identity Security Cloud (ISC).
712+
Get a list of attribute/application attributes currently configured in Identity Security Cloud (ISC).
703713
714+
:param limit: Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
715+
:type limit: int
716+
:param offset: Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
717+
:type offset: int
704718
:param _request_timeout: timeout setting for this request. If one
705719
number provided, it will be total request
706720
timeout. It can also be a pair (tuple) of
@@ -724,6 +738,8 @@ def get_search_attribute_config_with_http_info(
724738
""" # noqa: E501
725739

726740
_param = self._get_search_attribute_config_serialize(
741+
limit=limit,
742+
offset=offset,
727743
_request_auth=_request_auth,
728744
_content_type=_content_type,
729745
_headers=_headers,
@@ -752,6 +768,8 @@ def get_search_attribute_config_with_http_info(
752768
@validate_call
753769
def get_search_attribute_config_without_preload_content(
754770
self,
771+
limit: Annotated[Optional[Annotated[int, Field(le=250, strict=True, ge=0)]], Field(description="Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.")] = None,
772+
offset: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.")] = None,
755773
_request_timeout: Union[
756774
None,
757775
Annotated[StrictFloat, Field(gt=0)],
@@ -767,8 +785,12 @@ def get_search_attribute_config_without_preload_content(
767785
) -> RESTResponseType:
768786
"""List Extended Search Attributes
769787
770-
Get a list of attribute/application associates currently configured in Identity Security Cloud (ISC).
788+
Get a list of attribute/application attributes currently configured in Identity Security Cloud (ISC).
771789
790+
:param limit: Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
791+
:type limit: int
792+
:param offset: Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
793+
:type offset: int
772794
:param _request_timeout: timeout setting for this request. If one
773795
number provided, it will be total request
774796
timeout. It can also be a pair (tuple) of
@@ -792,6 +814,8 @@ def get_search_attribute_config_without_preload_content(
792814
""" # noqa: E501
793815

794816
_param = self._get_search_attribute_config_serialize(
817+
limit=limit,
818+
offset=offset,
795819
_request_auth=_request_auth,
796820
_content_type=_content_type,
797821
_headers=_headers,
@@ -815,6 +839,8 @@ def get_search_attribute_config_without_preload_content(
815839

816840
def _get_search_attribute_config_serialize(
817841
self,
842+
limit,
843+
offset,
818844
_request_auth,
819845
_content_type,
820846
_headers,
@@ -837,6 +863,14 @@ def _get_search_attribute_config_serialize(
837863

838864
# process the path parameters
839865
# process the query parameters
866+
if limit is not None:
867+
868+
_query_params.append(('limit', limit))
869+
870+
if offset is not None:
871+
872+
_query_params.append(('offset', offset))
873+
840874
# process the header parameters
841875
# process the form parameters
842876
# process the body parameter

sailpoint/v3/docs/SearchAttributeConfigurationApi.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ Method | HTTP request | Description
4242

4343
## create-search-attribute-config
4444
Create Extended Search Attributes
45-
Create and configure extended search attributes. This API accepts an attribute name, an attribute display name and a list of name/value pair associates of application IDs to attribute names. It will then validate the inputs and configure/create and attribute promotion configuration in the Link ObjectConfig.
45+
Create and configure extended search attributes. This API accepts an attribute name, an attribute display name and a list of name/value pair associates of application IDs to attribute names. It will then validate the inputs and configure/create the attribute promotion configuration in the Link ObjectConfig.
46+
>**Note: Give searchable attributes unique names. Do not give them the same names used for account attributes or source attributes. Also, do not give them the same names present in account schema for a current or future source, regardless of whether that source is included in the searchable attributes' `applicationAttributes`.**
4647
4748
[API Spec](https://developer.sailpoint.com/docs/api/v3/create-search-attribute-config)
4849

@@ -166,12 +167,16 @@ with ApiClient(configuration) as api_client:
166167

167168
## get-search-attribute-config
168169
List Extended Search Attributes
169-
Get a list of attribute/application associates currently configured in Identity Security Cloud (ISC).
170+
Get a list of attribute/application attributes currently configured in Identity Security Cloud (ISC).
170171

171172
[API Spec](https://developer.sailpoint.com/docs/api/v3/get-search-attribute-config)
172173

173174
### Parameters
174-
This endpoint does not need any parameter.
175+
176+
Param Type | Name | Data Type | Required | Description
177+
------------- | ------------- | ------------- | ------------- | -------------
178+
Query | limit | **int** | (optional) (default to 250) | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
179+
Query | offset | **int** | (optional) (default to 0) | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
175180

176181
### Return type
177182
[**List[SearchAttributeConfig]**](../models/search-attribute-config)
@@ -202,13 +207,15 @@ configuration = Configuration()
202207

203208

204209
with ApiClient(configuration) as api_client:
210+
limit = 250 # int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)
211+
offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)
205212

206213
try:
207214
# List Extended Search Attributes
208215

209216
results = SearchAttributeConfigurationApi(api_client).get_search_attribute_config()
210217
# Below is a request that includes all optional parameters
211-
# results = SearchAttributeConfigurationApi(api_client).get_search_attribute_config()
218+
# results = SearchAttributeConfigurationApi(api_client).get_search_attribute_config(limit, offset)
212219
print("The response of SearchAttributeConfigurationApi->get_search_attribute_config:\n")
213220
pprint(results)
214221
except Exception as e:

sailpoint/v3/docs/SearchAttributeConfigurationApideveloperSite_code_examples.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,14 @@
6969
7070
7171
with ApiClient(configuration) as api_client:
72+
limit = 250 # int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)
73+
offset = 0 # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)
7274
try:
7375
# List Extended Search Attributes
7476
7577
results = SearchAttributeConfigurationApi(api_client).get_search_attribute_config()
7678
# Below is a request that includes all optional parameters
77-
# results = SearchAttributeConfigurationApi(api_client).get_search_attribute_config()
79+
# results = SearchAttributeConfigurationApi(api_client).get_search_attribute_config(limit, offset)
7880
print("The response of SearchAttributeConfigurationApi->get_search_attribute_config:\n")
7981
pprint(results)
8082
except Exception as e:

sailpoint/v3/docs/TransformsApi.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ tags: ['SDK', 'Software Development Kit', 'Transforms', 'Transforms']
1212
# sailpoint.v3.TransformsApi
1313
The purpose of this API is to expose functionality for the manipulation of Transform objects.
1414
Transforms are a form of configurable objects which define an easy way to manipulate attribute data without having
15-
to write code. These endpoints don't require API calls to other resources, audit service is used for keeping track
16-
of which users have made changes to the Transforms.
15+
to write code.
1716

1817
Refer to [Transforms](https://developer.sailpoint.com/docs/extensibility/transforms/) for more information about transforms.
1918

0 commit comments

Comments
 (0)