data-repo-client 2.197.0__py3-none-any.whl → 2.360.0__py3-none-any.whl
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.
Potentially problematic release.
This version of data-repo-client might be problematic. Click here for more details.
- data_repo_client/__init__.py +3 -1
- data_repo_client/api/admin_api.py +2 -2
- data_repo_client/api/datasets_api.py +271 -30
- data_repo_client/api/profiles_api.py +120 -6
- data_repo_client/api/repository_api.py +408 -40
- data_repo_client/api/resources_api.py +120 -6
- data_repo_client/api/snapshots_api.py +133 -6
- data_repo_client/api/upgrade_api.py +2 -2
- data_repo_client/api_client.py +1 -1
- data_repo_client/configuration.py +1 -1
- data_repo_client/models/__init__.py +2 -0
- data_repo_client/models/dataset_model.py +31 -3
- data_repo_client/models/dataset_request_model.py +29 -1
- data_repo_client/models/dataset_summary_model.py +31 -3
- data_repo_client/models/enumerate_billing_profile_resources_model.py +120 -0
- data_repo_client/models/iam_resource_type_enum.py +2 -1
- data_repo_client/models/profile_owned_resource_model.py +240 -0
- data_repo_client/models/sam_policy_model.py +27 -1
- {data_repo_client-2.197.0.dist-info → data_repo_client-2.360.0.dist-info}/METADATA +1 -1
- {data_repo_client-2.197.0.dist-info → data_repo_client-2.360.0.dist-info}/RECORD +22 -20
- {data_repo_client-2.197.0.dist-info → data_repo_client-2.360.0.dist-info}/WHEEL +0 -0
- {data_repo_client-2.197.0.dist-info → data_repo_client-2.360.0.dist-info}/top_level.txt +0 -0
|
@@ -39,7 +39,7 @@ class RepositoryApi(object):
|
|
|
39
39
|
def add_dataset_asset_specifications(self, id, **kwargs): # noqa: E501
|
|
40
40
|
"""add_dataset_asset_specifications # noqa: E501
|
|
41
41
|
|
|
42
|
-
Add an asset definition to a dataset # noqa: E501
|
|
42
|
+
Add an asset definition to a dataset. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
43
43
|
This method makes a synchronous HTTP request by default. To make an
|
|
44
44
|
asynchronous HTTP request, please pass async_req=True
|
|
45
45
|
>>> thread = api.add_dataset_asset_specifications(id, async_req=True)
|
|
@@ -65,7 +65,7 @@ class RepositoryApi(object):
|
|
|
65
65
|
def add_dataset_asset_specifications_with_http_info(self, id, **kwargs): # noqa: E501
|
|
66
66
|
"""add_dataset_asset_specifications # noqa: E501
|
|
67
67
|
|
|
68
|
-
Add an asset definition to a dataset # noqa: E501
|
|
68
|
+
Add an asset definition to a dataset. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
69
69
|
This method makes a synchronous HTTP request by default. To make an
|
|
70
70
|
asynchronous HTTP request, please pass async_req=True
|
|
71
71
|
>>> thread = api.add_dataset_asset_specifications_with_http_info(id, async_req=True)
|
|
@@ -546,10 +546,124 @@ class RepositoryApi(object):
|
|
|
546
546
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
547
547
|
collection_formats=collection_formats)
|
|
548
548
|
|
|
549
|
+
def adjust_members_inherit_steward(self, id, **kwargs): # noqa: E501
|
|
550
|
+
"""adjust_members_inherit_steward # noqa: E501
|
|
551
|
+
|
|
552
|
+
ADMIN ONLY - Adjust members on datasets based on inherit steward flag. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
553
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
554
|
+
asynchronous HTTP request, please pass async_req=True
|
|
555
|
+
>>> thread = api.adjust_members_inherit_steward(id, async_req=True)
|
|
556
|
+
>>> result = thread.get()
|
|
557
|
+
|
|
558
|
+
:param async_req bool: execute request asynchronously
|
|
559
|
+
:param str id: A UUID to used to identify an object in the repository (required)
|
|
560
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
561
|
+
be returned without reading/decoding response
|
|
562
|
+
data. Default is True.
|
|
563
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
564
|
+
number provided, it will be total request
|
|
565
|
+
timeout. It can also be a pair (tuple) of
|
|
566
|
+
(connection, read) timeouts.
|
|
567
|
+
:return: JobModel
|
|
568
|
+
If the method is called asynchronously,
|
|
569
|
+
returns the request thread.
|
|
570
|
+
"""
|
|
571
|
+
kwargs['_return_http_data_only'] = True
|
|
572
|
+
return self.adjust_members_inherit_steward_with_http_info(id, **kwargs) # noqa: E501
|
|
573
|
+
|
|
574
|
+
def adjust_members_inherit_steward_with_http_info(self, id, **kwargs): # noqa: E501
|
|
575
|
+
"""adjust_members_inherit_steward # noqa: E501
|
|
576
|
+
|
|
577
|
+
ADMIN ONLY - Adjust members on datasets based on inherit steward flag. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
578
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
579
|
+
asynchronous HTTP request, please pass async_req=True
|
|
580
|
+
>>> thread = api.adjust_members_inherit_steward_with_http_info(id, async_req=True)
|
|
581
|
+
>>> result = thread.get()
|
|
582
|
+
|
|
583
|
+
:param async_req bool: execute request asynchronously
|
|
584
|
+
:param str id: A UUID to used to identify an object in the repository (required)
|
|
585
|
+
:param _return_http_data_only: response data without head status code
|
|
586
|
+
and headers
|
|
587
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
588
|
+
be returned without reading/decoding response
|
|
589
|
+
data. Default is True.
|
|
590
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
591
|
+
number provided, it will be total request
|
|
592
|
+
timeout. It can also be a pair (tuple) of
|
|
593
|
+
(connection, read) timeouts.
|
|
594
|
+
:return: tuple(JobModel, status_code(int), headers(HTTPHeaderDict))
|
|
595
|
+
If the method is called asynchronously,
|
|
596
|
+
returns the request thread.
|
|
597
|
+
"""
|
|
598
|
+
|
|
599
|
+
local_var_params = locals()
|
|
600
|
+
|
|
601
|
+
all_params = [
|
|
602
|
+
'id'
|
|
603
|
+
]
|
|
604
|
+
all_params.extend(
|
|
605
|
+
[
|
|
606
|
+
'async_req',
|
|
607
|
+
'_return_http_data_only',
|
|
608
|
+
'_preload_content',
|
|
609
|
+
'_request_timeout'
|
|
610
|
+
]
|
|
611
|
+
)
|
|
612
|
+
|
|
613
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
614
|
+
if key not in all_params:
|
|
615
|
+
raise ApiTypeError(
|
|
616
|
+
"Got an unexpected keyword argument '%s'"
|
|
617
|
+
" to method adjust_members_inherit_steward" % key
|
|
618
|
+
)
|
|
619
|
+
local_var_params[key] = val
|
|
620
|
+
del local_var_params['kwargs']
|
|
621
|
+
# verify the required parameter 'id' is set
|
|
622
|
+
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
|
623
|
+
local_var_params['id'] is None): # noqa: E501
|
|
624
|
+
raise ApiValueError("Missing the required parameter `id` when calling `adjust_members_inherit_steward`") # noqa: E501
|
|
625
|
+
|
|
626
|
+
collection_formats = {}
|
|
627
|
+
|
|
628
|
+
path_params = {}
|
|
629
|
+
if 'id' in local_var_params:
|
|
630
|
+
path_params['id'] = local_var_params['id'] # noqa: E501
|
|
631
|
+
|
|
632
|
+
query_params = []
|
|
633
|
+
|
|
634
|
+
header_params = {}
|
|
635
|
+
|
|
636
|
+
form_params = []
|
|
637
|
+
local_var_files = {}
|
|
638
|
+
|
|
639
|
+
body_params = None
|
|
640
|
+
# HTTP header `Accept`
|
|
641
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
642
|
+
['application/json']) # noqa: E501
|
|
643
|
+
|
|
644
|
+
# Authentication setting
|
|
645
|
+
auth_settings = ['oidc'] # noqa: E501
|
|
646
|
+
|
|
647
|
+
return self.api_client.call_api(
|
|
648
|
+
'/api/repository/v1/datasets/{id}/adjustMembersInheritSteward', 'PUT',
|
|
649
|
+
path_params,
|
|
650
|
+
query_params,
|
|
651
|
+
header_params,
|
|
652
|
+
body=body_params,
|
|
653
|
+
post_params=form_params,
|
|
654
|
+
files=local_var_files,
|
|
655
|
+
response_type='JobModel', # noqa: E501
|
|
656
|
+
auth_settings=auth_settings,
|
|
657
|
+
async_req=local_var_params.get('async_req'),
|
|
658
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
659
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
|
660
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
|
661
|
+
collection_formats=collection_formats)
|
|
662
|
+
|
|
549
663
|
def apply_dataset_data_deletion(self, id, **kwargs): # noqa: E501
|
|
550
664
|
"""apply_dataset_data_deletion # noqa: E501
|
|
551
665
|
|
|
552
|
-
Applies deletes to primary tabular data in a dataset # noqa: E501
|
|
666
|
+
Applies deletes to primary tabular data in a dataset. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
553
667
|
This method makes a synchronous HTTP request by default. To make an
|
|
554
668
|
asynchronous HTTP request, please pass async_req=True
|
|
555
669
|
>>> thread = api.apply_dataset_data_deletion(id, async_req=True)
|
|
@@ -575,7 +689,7 @@ class RepositoryApi(object):
|
|
|
575
689
|
def apply_dataset_data_deletion_with_http_info(self, id, **kwargs): # noqa: E501
|
|
576
690
|
"""apply_dataset_data_deletion # noqa: E501
|
|
577
691
|
|
|
578
|
-
Applies deletes to primary tabular data in a dataset # noqa: E501
|
|
692
|
+
Applies deletes to primary tabular data in a dataset. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
579
693
|
This method makes a synchronous HTTP request by default. To make an
|
|
580
694
|
asynchronous HTTP request, please pass async_req=True
|
|
581
695
|
>>> thread = api.apply_dataset_data_deletion_with_http_info(id, async_req=True)
|
|
@@ -672,7 +786,7 @@ class RepositoryApi(object):
|
|
|
672
786
|
def bulk_file_load(self, id, **kwargs): # noqa: E501
|
|
673
787
|
"""bulk_file_load # noqa: E501
|
|
674
788
|
|
|
675
|
-
Load many files into the dataset file system; async returns a BulkLoadResultModel Note that this endpoint is not a single transaction. Some files may be loaded and others may fail. Each file load is atomic; the file will either be loaded into the dataset file system or it will not exist. # noqa: E501
|
|
789
|
+
Load many files into the dataset file system; async returns a BulkLoadResultModel Note that this endpoint is not a single transaction. Some files may be loaded and others may fail. Each file load is atomic; the file will either be loaded into the dataset file system or it will not exist. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
676
790
|
This method makes a synchronous HTTP request by default. To make an
|
|
677
791
|
asynchronous HTTP request, please pass async_req=True
|
|
678
792
|
>>> thread = api.bulk_file_load(id, async_req=True)
|
|
@@ -698,7 +812,7 @@ class RepositoryApi(object):
|
|
|
698
812
|
def bulk_file_load_with_http_info(self, id, **kwargs): # noqa: E501
|
|
699
813
|
"""bulk_file_load # noqa: E501
|
|
700
814
|
|
|
701
|
-
Load many files into the dataset file system; async returns a BulkLoadResultModel Note that this endpoint is not a single transaction. Some files may be loaded and others may fail. Each file load is atomic; the file will either be loaded into the dataset file system or it will not exist. # noqa: E501
|
|
815
|
+
Load many files into the dataset file system; async returns a BulkLoadResultModel Note that this endpoint is not a single transaction. Some files may be loaded and others may fail. Each file load is atomic; the file will either be loaded into the dataset file system or it will not exist. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
702
816
|
This method makes a synchronous HTTP request by default. To make an
|
|
703
817
|
asynchronous HTTP request, please pass async_req=True
|
|
704
818
|
>>> thread = api.bulk_file_load_with_http_info(id, async_req=True)
|
|
@@ -795,7 +909,7 @@ class RepositoryApi(object):
|
|
|
795
909
|
def bulk_file_load_array(self, id, **kwargs): # noqa: E501
|
|
796
910
|
"""bulk_file_load_array # noqa: E501
|
|
797
911
|
|
|
798
|
-
Load many files into the dataset file system; async returns a BulkLoadArrayResultModel Note that this endpoint is not a single transaction. Some files may be loaded and others may fail. Each file load is atomic; the file will either be loaded into the dataset file system or it will not exist. # noqa: E501
|
|
912
|
+
Load many files into the dataset file system; async returns a BulkLoadArrayResultModel Note that this endpoint is not a single transaction. Some files may be loaded and others may fail. Each file load is atomic; the file will either be loaded into the dataset file system or it will not exist. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
799
913
|
This method makes a synchronous HTTP request by default. To make an
|
|
800
914
|
asynchronous HTTP request, please pass async_req=True
|
|
801
915
|
>>> thread = api.bulk_file_load_array(id, async_req=True)
|
|
@@ -821,7 +935,7 @@ class RepositoryApi(object):
|
|
|
821
935
|
def bulk_file_load_array_with_http_info(self, id, **kwargs): # noqa: E501
|
|
822
936
|
"""bulk_file_load_array # noqa: E501
|
|
823
937
|
|
|
824
|
-
Load many files into the dataset file system; async returns a BulkLoadArrayResultModel Note that this endpoint is not a single transaction. Some files may be loaded and others may fail. Each file load is atomic; the file will either be loaded into the dataset file system or it will not exist. # noqa: E501
|
|
938
|
+
Load many files into the dataset file system; async returns a BulkLoadArrayResultModel Note that this endpoint is not a single transaction. Some files may be loaded and others may fail. Each file load is atomic; the file will either be loaded into the dataset file system or it will not exist. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
825
939
|
This method makes a synchronous HTTP request by default. To make an
|
|
826
940
|
asynchronous HTTP request, please pass async_req=True
|
|
827
941
|
>>> thread = api.bulk_file_load_array_with_http_info(id, async_req=True)
|
|
@@ -918,7 +1032,7 @@ class RepositoryApi(object):
|
|
|
918
1032
|
def bulk_file_results_delete(self, id, load_tag, **kwargs): # noqa: E501
|
|
919
1033
|
"""bulk_file_results_delete # noqa: E501
|
|
920
1034
|
|
|
921
|
-
Delete results from the bulk file load table of the dataset. If jobId is specified, then only the results for the loadTag plus that jobId are deleted. Otherwise, all results associated with the loadTag are deleted. # noqa: E501
|
|
1035
|
+
Delete results from the bulk file load table of the dataset. If jobId is specified, then only the results for the loadTag plus that jobId are deleted. Otherwise, all results associated with the loadTag are deleted. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
922
1036
|
This method makes a synchronous HTTP request by default. To make an
|
|
923
1037
|
asynchronous HTTP request, please pass async_req=True
|
|
924
1038
|
>>> thread = api.bulk_file_results_delete(id, load_tag, async_req=True)
|
|
@@ -945,7 +1059,7 @@ class RepositoryApi(object):
|
|
|
945
1059
|
def bulk_file_results_delete_with_http_info(self, id, load_tag, **kwargs): # noqa: E501
|
|
946
1060
|
"""bulk_file_results_delete # noqa: E501
|
|
947
1061
|
|
|
948
|
-
Delete results from the bulk file load table of the dataset. If jobId is specified, then only the results for the loadTag plus that jobId are deleted. Otherwise, all results associated with the loadTag are deleted. # noqa: E501
|
|
1062
|
+
Delete results from the bulk file load table of the dataset. If jobId is specified, then only the results for the loadTag plus that jobId are deleted. Otherwise, all results associated with the loadTag are deleted. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
949
1063
|
This method makes a synchronous HTTP request by default. To make an
|
|
950
1064
|
asynchronous HTTP request, please pass async_req=True
|
|
951
1065
|
>>> thread = api.bulk_file_results_delete_with_http_info(id, load_tag, async_req=True)
|
|
@@ -1046,7 +1160,7 @@ class RepositoryApi(object):
|
|
|
1046
1160
|
def close_transaction(self, id, transaction_id, **kwargs): # noqa: E501
|
|
1047
1161
|
"""close_transaction # noqa: E501
|
|
1048
1162
|
|
|
1049
|
-
Close a given transaction # noqa: E501
|
|
1163
|
+
Close a given transaction. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
1050
1164
|
This method makes a synchronous HTTP request by default. To make an
|
|
1051
1165
|
asynchronous HTTP request, please pass async_req=True
|
|
1052
1166
|
>>> thread = api.close_transaction(id, transaction_id, async_req=True)
|
|
@@ -1073,7 +1187,7 @@ class RepositoryApi(object):
|
|
|
1073
1187
|
def close_transaction_with_http_info(self, id, transaction_id, **kwargs): # noqa: E501
|
|
1074
1188
|
"""close_transaction # noqa: E501
|
|
1075
1189
|
|
|
1076
|
-
Close a given transaction # noqa: E501
|
|
1190
|
+
Close a given transaction. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
1077
1191
|
This method makes a synchronous HTTP request by default. To make an
|
|
1078
1192
|
asynchronous HTTP request, please pass async_req=True
|
|
1079
1193
|
>>> thread = api.close_transaction_with_http_info(id, transaction_id, async_req=True)
|
|
@@ -1178,7 +1292,7 @@ class RepositoryApi(object):
|
|
|
1178
1292
|
def create_dataset(self, **kwargs): # noqa: E501
|
|
1179
1293
|
"""create_dataset # noqa: E501
|
|
1180
1294
|
|
|
1181
|
-
Create a new dataset asynchronously. The async result is DatasetSummaryModel. # noqa: E501
|
|
1295
|
+
Create a new dataset asynchronously. The async result is DatasetSummaryModel. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
1182
1296
|
This method makes a synchronous HTTP request by default. To make an
|
|
1183
1297
|
asynchronous HTTP request, please pass async_req=True
|
|
1184
1298
|
>>> thread = api.create_dataset(async_req=True)
|
|
@@ -1203,7 +1317,7 @@ class RepositoryApi(object):
|
|
|
1203
1317
|
def create_dataset_with_http_info(self, **kwargs): # noqa: E501
|
|
1204
1318
|
"""create_dataset # noqa: E501
|
|
1205
1319
|
|
|
1206
|
-
Create a new dataset asynchronously. The async result is DatasetSummaryModel. # noqa: E501
|
|
1320
|
+
Create a new dataset asynchronously. The async result is DatasetSummaryModel. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
1207
1321
|
This method makes a synchronous HTTP request by default. To make an
|
|
1208
1322
|
asynchronous HTTP request, please pass async_req=True
|
|
1209
1323
|
>>> thread = api.create_dataset_with_http_info(async_req=True)
|
|
@@ -1292,7 +1406,7 @@ class RepositoryApi(object):
|
|
|
1292
1406
|
def create_snapshot(self, **kwargs): # noqa: E501
|
|
1293
1407
|
"""create_snapshot # noqa: E501
|
|
1294
1408
|
|
|
1295
|
-
Create a new snapshot # noqa: E501
|
|
1409
|
+
Create a new snapshot. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
1296
1410
|
This method makes a synchronous HTTP request by default. To make an
|
|
1297
1411
|
asynchronous HTTP request, please pass async_req=True
|
|
1298
1412
|
>>> thread = api.create_snapshot(async_req=True)
|
|
@@ -1317,7 +1431,7 @@ class RepositoryApi(object):
|
|
|
1317
1431
|
def create_snapshot_with_http_info(self, **kwargs): # noqa: E501
|
|
1318
1432
|
"""create_snapshot # noqa: E501
|
|
1319
1433
|
|
|
1320
|
-
Create a new snapshot # noqa: E501
|
|
1434
|
+
Create a new snapshot. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
1321
1435
|
This method makes a synchronous HTTP request by default. To make an
|
|
1322
1436
|
asynchronous HTTP request, please pass async_req=True
|
|
1323
1437
|
>>> thread = api.create_snapshot_with_http_info(async_req=True)
|
|
@@ -1406,7 +1520,7 @@ class RepositoryApi(object):
|
|
|
1406
1520
|
def delete_dataset(self, id, **kwargs): # noqa: E501
|
|
1407
1521
|
"""delete_dataset # noqa: E501
|
|
1408
1522
|
|
|
1409
|
-
Delete a dataset by id # noqa: E501
|
|
1523
|
+
Delete a dataset by id. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
1410
1524
|
This method makes a synchronous HTTP request by default. To make an
|
|
1411
1525
|
asynchronous HTTP request, please pass async_req=True
|
|
1412
1526
|
>>> thread = api.delete_dataset(id, async_req=True)
|
|
@@ -1431,7 +1545,7 @@ class RepositoryApi(object):
|
|
|
1431
1545
|
def delete_dataset_with_http_info(self, id, **kwargs): # noqa: E501
|
|
1432
1546
|
"""delete_dataset # noqa: E501
|
|
1433
1547
|
|
|
1434
|
-
Delete a dataset by id # noqa: E501
|
|
1548
|
+
Delete a dataset by id. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
1435
1549
|
This method makes a synchronous HTTP request by default. To make an
|
|
1436
1550
|
asynchronous HTTP request, please pass async_req=True
|
|
1437
1551
|
>>> thread = api.delete_dataset_with_http_info(id, async_req=True)
|
|
@@ -1652,7 +1766,7 @@ class RepositoryApi(object):
|
|
|
1652
1766
|
def delete_file(self, id, fileid, **kwargs): # noqa: E501
|
|
1653
1767
|
"""delete_file # noqa: E501
|
|
1654
1768
|
|
|
1655
|
-
Hard delete of a file by id. The file is deleted even if it is in use by a dataset. Subsequent lookups will give not found errors. # noqa: E501
|
|
1769
|
+
Hard delete of a file by id. The file is deleted even if it is in use by a dataset. Subsequent lookups will give not found errors. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
1656
1770
|
This method makes a synchronous HTTP request by default. To make an
|
|
1657
1771
|
asynchronous HTTP request, please pass async_req=True
|
|
1658
1772
|
>>> thread = api.delete_file(id, fileid, async_req=True)
|
|
@@ -1678,7 +1792,7 @@ class RepositoryApi(object):
|
|
|
1678
1792
|
def delete_file_with_http_info(self, id, fileid, **kwargs): # noqa: E501
|
|
1679
1793
|
"""delete_file # noqa: E501
|
|
1680
1794
|
|
|
1681
|
-
Hard delete of a file by id. The file is deleted even if it is in use by a dataset. Subsequent lookups will give not found errors. # noqa: E501
|
|
1795
|
+
Hard delete of a file by id. The file is deleted even if it is in use by a dataset. Subsequent lookups will give not found errors. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
1682
1796
|
This method makes a synchronous HTTP request by default. To make an
|
|
1683
1797
|
asynchronous HTTP request, please pass async_req=True
|
|
1684
1798
|
>>> thread = api.delete_file_with_http_info(id, fileid, async_req=True)
|
|
@@ -1775,7 +1889,7 @@ class RepositoryApi(object):
|
|
|
1775
1889
|
def delete_snapshot(self, id, **kwargs): # noqa: E501
|
|
1776
1890
|
"""delete_snapshot # noqa: E501
|
|
1777
1891
|
|
|
1778
|
-
Delete a snapshot by id # noqa: E501
|
|
1892
|
+
Delete a snapshot by id. If this operation fails, we do not attempt to undo any failed steps. Therefore, a failed snapshot delete call leaves the snapshot in a partially deleted state. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
1779
1893
|
This method makes a synchronous HTTP request by default. To make an
|
|
1780
1894
|
asynchronous HTTP request, please pass async_req=True
|
|
1781
1895
|
>>> thread = api.delete_snapshot(id, async_req=True)
|
|
@@ -1800,7 +1914,7 @@ class RepositoryApi(object):
|
|
|
1800
1914
|
def delete_snapshot_with_http_info(self, id, **kwargs): # noqa: E501
|
|
1801
1915
|
"""delete_snapshot # noqa: E501
|
|
1802
1916
|
|
|
1803
|
-
Delete a snapshot by id # noqa: E501
|
|
1917
|
+
Delete a snapshot by id. If this operation fails, we do not attempt to undo any failed steps. Therefore, a failed snapshot delete call leaves the snapshot in a partially deleted state. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
1804
1918
|
This method makes a synchronous HTTP request by default. To make an
|
|
1805
1919
|
asynchronous HTTP request, please pass async_req=True
|
|
1806
1920
|
>>> thread = api.delete_snapshot_with_http_info(id, async_req=True)
|
|
@@ -2806,7 +2920,7 @@ class RepositoryApi(object):
|
|
|
2806
2920
|
def export_snapshot(self, id, **kwargs): # noqa: E501
|
|
2807
2921
|
"""export_snapshot # noqa: E501
|
|
2808
2922
|
|
|
2809
|
-
Export a snapshot by id # noqa: E501
|
|
2923
|
+
Export a snapshot by id. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
2810
2924
|
This method makes a synchronous HTTP request by default. To make an
|
|
2811
2925
|
asynchronous HTTP request, please pass async_req=True
|
|
2812
2926
|
>>> thread = api.export_snapshot(id, async_req=True)
|
|
@@ -2834,7 +2948,7 @@ class RepositoryApi(object):
|
|
|
2834
2948
|
def export_snapshot_with_http_info(self, id, **kwargs): # noqa: E501
|
|
2835
2949
|
"""export_snapshot # noqa: E501
|
|
2836
2950
|
|
|
2837
|
-
Export a snapshot by id # noqa: E501
|
|
2951
|
+
Export a snapshot by id. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
2838
2952
|
This method makes a synchronous HTTP request by default. To make an
|
|
2839
2953
|
asynchronous HTTP request, please pass async_req=True
|
|
2840
2954
|
>>> thread = api.export_snapshot_with_http_info(id, async_req=True)
|
|
@@ -3515,7 +3629,7 @@ class RepositoryApi(object):
|
|
|
3515
3629
|
def get_load_history_for_load_tag(self, id, load_tag, **kwargs): # noqa: E501
|
|
3516
3630
|
"""get_load_history_for_load_tag # noqa: E501
|
|
3517
3631
|
|
|
3518
|
-
Retrieve the results of a bulk file load. The results of each bulk load are stored in the dataset. They can be queried directly or retrieved with this paginated interface. # noqa: E501
|
|
3632
|
+
Retrieve the results of a bulk file load. The results of each bulk load are stored in the dataset. They can be queried directly or retrieved with this paginated interface. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
3519
3633
|
This method makes a synchronous HTTP request by default. To make an
|
|
3520
3634
|
asynchronous HTTP request, please pass async_req=True
|
|
3521
3635
|
>>> thread = api.get_load_history_for_load_tag(id, load_tag, async_req=True)
|
|
@@ -3543,7 +3657,7 @@ class RepositoryApi(object):
|
|
|
3543
3657
|
def get_load_history_for_load_tag_with_http_info(self, id, load_tag, **kwargs): # noqa: E501
|
|
3544
3658
|
"""get_load_history_for_load_tag # noqa: E501
|
|
3545
3659
|
|
|
3546
|
-
Retrieve the results of a bulk file load. The results of each bulk load are stored in the dataset. They can be queried directly or retrieved with this paginated interface. # noqa: E501
|
|
3660
|
+
Retrieve the results of a bulk file load. The results of each bulk load are stored in the dataset. They can be queried directly or retrieved with this paginated interface. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
3547
3661
|
This method makes a synchronous HTTP request by default. To make an
|
|
3548
3662
|
asynchronous HTTP request, please pass async_req=True
|
|
3549
3663
|
>>> thread = api.get_load_history_for_load_tag_with_http_info(id, load_tag, async_req=True)
|
|
@@ -4109,7 +4223,7 @@ class RepositoryApi(object):
|
|
|
4109
4223
|
def ingest_dataset(self, id, **kwargs): # noqa: E501
|
|
4110
4224
|
"""ingest_dataset # noqa: E501
|
|
4111
4225
|
|
|
4112
|
-
Ingest data into a dataset table # noqa: E501
|
|
4226
|
+
Ingest data into a dataset table. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
4113
4227
|
This method makes a synchronous HTTP request by default. To make an
|
|
4114
4228
|
asynchronous HTTP request, please pass async_req=True
|
|
4115
4229
|
>>> thread = api.ingest_dataset(id, async_req=True)
|
|
@@ -4135,7 +4249,7 @@ class RepositoryApi(object):
|
|
|
4135
4249
|
def ingest_dataset_with_http_info(self, id, **kwargs): # noqa: E501
|
|
4136
4250
|
"""ingest_dataset # noqa: E501
|
|
4137
4251
|
|
|
4138
|
-
Ingest data into a dataset table # noqa: E501
|
|
4252
|
+
Ingest data into a dataset table. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
4139
4253
|
This method makes a synchronous HTTP request by default. To make an
|
|
4140
4254
|
asynchronous HTTP request, please pass async_req=True
|
|
4141
4255
|
>>> thread = api.ingest_dataset_with_http_info(id, async_req=True)
|
|
@@ -4232,7 +4346,7 @@ class RepositoryApi(object):
|
|
|
4232
4346
|
def ingest_file(self, id, **kwargs): # noqa: E501
|
|
4233
4347
|
"""ingest_file # noqa: E501
|
|
4234
4348
|
|
|
4235
|
-
Ingest one file into the dataset file system; async returns a FileModel # noqa: E501
|
|
4349
|
+
Ingest one file into the dataset file system; async returns a FileModel. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
4236
4350
|
This method makes a synchronous HTTP request by default. To make an
|
|
4237
4351
|
asynchronous HTTP request, please pass async_req=True
|
|
4238
4352
|
>>> thread = api.ingest_file(id, async_req=True)
|
|
@@ -4258,7 +4372,7 @@ class RepositoryApi(object):
|
|
|
4258
4372
|
def ingest_file_with_http_info(self, id, **kwargs): # noqa: E501
|
|
4259
4373
|
"""ingest_file # noqa: E501
|
|
4260
4374
|
|
|
4261
|
-
Ingest one file into the dataset file system; async returns a FileModel # noqa: E501
|
|
4375
|
+
Ingest one file into the dataset file system; async returns a FileModel. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
4262
4376
|
This method makes a synchronous HTTP request by default. To make an
|
|
4263
4377
|
asynchronous HTTP request, please pass async_req=True
|
|
4264
4378
|
>>> thread = api.ingest_file_with_http_info(id, async_req=True)
|
|
@@ -5774,7 +5888,7 @@ class RepositoryApi(object):
|
|
|
5774
5888
|
def open_transaction(self, id, transaction, **kwargs): # noqa: E501
|
|
5775
5889
|
"""open_transaction # noqa: E501
|
|
5776
5890
|
|
|
5777
|
-
Create a transaction to be used for ingesting if you are chaining ingests together # noqa: E501
|
|
5891
|
+
Create a transaction to be used for ingesting if you are chaining ingests together. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
5778
5892
|
This method makes a synchronous HTTP request by default. To make an
|
|
5779
5893
|
asynchronous HTTP request, please pass async_req=True
|
|
5780
5894
|
>>> thread = api.open_transaction(id, transaction, async_req=True)
|
|
@@ -5800,7 +5914,7 @@ class RepositoryApi(object):
|
|
|
5800
5914
|
def open_transaction_with_http_info(self, id, transaction, **kwargs): # noqa: E501
|
|
5801
5915
|
"""open_transaction # noqa: E501
|
|
5802
5916
|
|
|
5803
|
-
Create a transaction to be used for ingesting if you are chaining ingests together # noqa: E501
|
|
5917
|
+
Create a transaction to be used for ingesting if you are chaining ingests together. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
5804
5918
|
This method makes a synchronous HTTP request by default. To make an
|
|
5805
5919
|
asynchronous HTTP request, please pass async_req=True
|
|
5806
5920
|
>>> thread = api.open_transaction_with_http_info(id, transaction, async_req=True)
|
|
@@ -6411,7 +6525,7 @@ class RepositoryApi(object):
|
|
|
6411
6525
|
def register_drs_aliases(self, **kwargs): # noqa: E501
|
|
6412
6526
|
"""register_drs_aliases # noqa: E501
|
|
6413
6527
|
|
|
6414
|
-
Load Drs Aliases into TDR. It is possible to have an alias to a DRS ID that does not exist in TDR. # noqa: E501
|
|
6528
|
+
Load Drs Aliases into TDR. It is possible to have an alias to a DRS ID that does not exist in TDR. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
6415
6529
|
This method makes a synchronous HTTP request by default. To make an
|
|
6416
6530
|
asynchronous HTTP request, please pass async_req=True
|
|
6417
6531
|
>>> thread = api.register_drs_aliases(async_req=True)
|
|
@@ -6436,7 +6550,7 @@ class RepositoryApi(object):
|
|
|
6436
6550
|
def register_drs_aliases_with_http_info(self, **kwargs): # noqa: E501
|
|
6437
6551
|
"""register_drs_aliases # noqa: E501
|
|
6438
6552
|
|
|
6439
|
-
Load Drs Aliases into TDR. It is possible to have an alias to a DRS ID that does not exist in TDR. # noqa: E501
|
|
6553
|
+
Load Drs Aliases into TDR. It is possible to have an alias to a DRS ID that does not exist in TDR. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
6440
6554
|
This method makes a synchronous HTTP request by default. To make an
|
|
6441
6555
|
asynchronous HTTP request, please pass async_req=True
|
|
6442
6556
|
>>> thread = api.register_drs_aliases_with_http_info(async_req=True)
|
|
@@ -6525,7 +6639,7 @@ class RepositoryApi(object):
|
|
|
6525
6639
|
def remove_dataset_asset_specifications(self, id, assetid, **kwargs): # noqa: E501
|
|
6526
6640
|
"""remove_dataset_asset_specifications # noqa: E501
|
|
6527
6641
|
|
|
6528
|
-
Remove an asset definition from a dataset # noqa: E501
|
|
6642
|
+
Remove an asset definition from a dataset. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
6529
6643
|
This method makes a synchronous HTTP request by default. To make an
|
|
6530
6644
|
asynchronous HTTP request, please pass async_req=True
|
|
6531
6645
|
>>> thread = api.remove_dataset_asset_specifications(id, assetid, async_req=True)
|
|
@@ -6551,7 +6665,7 @@ class RepositoryApi(object):
|
|
|
6551
6665
|
def remove_dataset_asset_specifications_with_http_info(self, id, assetid, **kwargs): # noqa: E501
|
|
6552
6666
|
"""remove_dataset_asset_specifications # noqa: E501
|
|
6553
6667
|
|
|
6554
|
-
Remove an asset definition from a dataset # noqa: E501
|
|
6668
|
+
Remove an asset definition from a dataset. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
6555
6669
|
This method makes a synchronous HTTP request by default. To make an
|
|
6556
6670
|
asynchronous HTTP request, please pass async_req=True
|
|
6557
6671
|
>>> thread = api.remove_dataset_asset_specifications_with_http_info(id, assetid, async_req=True)
|
|
@@ -8477,6 +8591,260 @@ class RepositoryApi(object):
|
|
|
8477
8591
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
8478
8592
|
collection_formats=collection_formats)
|
|
8479
8593
|
|
|
8594
|
+
def set_inherit_steward(self, id, body, **kwargs): # noqa: E501
|
|
8595
|
+
"""set_inherit_steward # noqa: E501
|
|
8596
|
+
|
|
8597
|
+
ADMIN ONLY - Set flag that allows the dataset custodians to inherit the steward role on all snapshots made from this dataset. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
8598
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
8599
|
+
asynchronous HTTP request, please pass async_req=True
|
|
8600
|
+
>>> thread = api.set_inherit_steward(id, body, async_req=True)
|
|
8601
|
+
>>> result = thread.get()
|
|
8602
|
+
|
|
8603
|
+
:param async_req bool: execute request asynchronously
|
|
8604
|
+
:param str id: A UUID to used to identify an object in the repository (required)
|
|
8605
|
+
:param bool body: A boolean value indicating whether the dataset custodians should inherit the steward role on all snapshots made from this dataset. (required)
|
|
8606
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
8607
|
+
be returned without reading/decoding response
|
|
8608
|
+
data. Default is True.
|
|
8609
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
8610
|
+
number provided, it will be total request
|
|
8611
|
+
timeout. It can also be a pair (tuple) of
|
|
8612
|
+
(connection, read) timeouts.
|
|
8613
|
+
:return: JobModel
|
|
8614
|
+
If the method is called asynchronously,
|
|
8615
|
+
returns the request thread.
|
|
8616
|
+
"""
|
|
8617
|
+
kwargs['_return_http_data_only'] = True
|
|
8618
|
+
return self.set_inherit_steward_with_http_info(id, body, **kwargs) # noqa: E501
|
|
8619
|
+
|
|
8620
|
+
def set_inherit_steward_with_http_info(self, id, body, **kwargs): # noqa: E501
|
|
8621
|
+
"""set_inherit_steward # noqa: E501
|
|
8622
|
+
|
|
8623
|
+
ADMIN ONLY - Set flag that allows the dataset custodians to inherit the steward role on all snapshots made from this dataset. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
8624
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
8625
|
+
asynchronous HTTP request, please pass async_req=True
|
|
8626
|
+
>>> thread = api.set_inherit_steward_with_http_info(id, body, async_req=True)
|
|
8627
|
+
>>> result = thread.get()
|
|
8628
|
+
|
|
8629
|
+
:param async_req bool: execute request asynchronously
|
|
8630
|
+
:param str id: A UUID to used to identify an object in the repository (required)
|
|
8631
|
+
:param bool body: A boolean value indicating whether the dataset custodians should inherit the steward role on all snapshots made from this dataset. (required)
|
|
8632
|
+
:param _return_http_data_only: response data without head status code
|
|
8633
|
+
and headers
|
|
8634
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
8635
|
+
be returned without reading/decoding response
|
|
8636
|
+
data. Default is True.
|
|
8637
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
8638
|
+
number provided, it will be total request
|
|
8639
|
+
timeout. It can also be a pair (tuple) of
|
|
8640
|
+
(connection, read) timeouts.
|
|
8641
|
+
:return: tuple(JobModel, status_code(int), headers(HTTPHeaderDict))
|
|
8642
|
+
If the method is called asynchronously,
|
|
8643
|
+
returns the request thread.
|
|
8644
|
+
"""
|
|
8645
|
+
|
|
8646
|
+
local_var_params = locals()
|
|
8647
|
+
|
|
8648
|
+
all_params = [
|
|
8649
|
+
'id',
|
|
8650
|
+
'body'
|
|
8651
|
+
]
|
|
8652
|
+
all_params.extend(
|
|
8653
|
+
[
|
|
8654
|
+
'async_req',
|
|
8655
|
+
'_return_http_data_only',
|
|
8656
|
+
'_preload_content',
|
|
8657
|
+
'_request_timeout'
|
|
8658
|
+
]
|
|
8659
|
+
)
|
|
8660
|
+
|
|
8661
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
8662
|
+
if key not in all_params:
|
|
8663
|
+
raise ApiTypeError(
|
|
8664
|
+
"Got an unexpected keyword argument '%s'"
|
|
8665
|
+
" to method set_inherit_steward" % key
|
|
8666
|
+
)
|
|
8667
|
+
local_var_params[key] = val
|
|
8668
|
+
del local_var_params['kwargs']
|
|
8669
|
+
# verify the required parameter 'id' is set
|
|
8670
|
+
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
|
8671
|
+
local_var_params['id'] is None): # noqa: E501
|
|
8672
|
+
raise ApiValueError("Missing the required parameter `id` when calling `set_inherit_steward`") # noqa: E501
|
|
8673
|
+
# verify the required parameter 'body' is set
|
|
8674
|
+
if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501
|
|
8675
|
+
local_var_params['body'] is None): # noqa: E501
|
|
8676
|
+
raise ApiValueError("Missing the required parameter `body` when calling `set_inherit_steward`") # noqa: E501
|
|
8677
|
+
|
|
8678
|
+
collection_formats = {}
|
|
8679
|
+
|
|
8680
|
+
path_params = {}
|
|
8681
|
+
if 'id' in local_var_params:
|
|
8682
|
+
path_params['id'] = local_var_params['id'] # noqa: E501
|
|
8683
|
+
|
|
8684
|
+
query_params = []
|
|
8685
|
+
|
|
8686
|
+
header_params = {}
|
|
8687
|
+
|
|
8688
|
+
form_params = []
|
|
8689
|
+
local_var_files = {}
|
|
8690
|
+
|
|
8691
|
+
body_params = None
|
|
8692
|
+
if 'body' in local_var_params:
|
|
8693
|
+
body_params = local_var_params['body']
|
|
8694
|
+
# HTTP header `Accept`
|
|
8695
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
8696
|
+
['application/json']) # noqa: E501
|
|
8697
|
+
|
|
8698
|
+
# HTTP header `Content-Type`
|
|
8699
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
8700
|
+
['application/json']) # noqa: E501
|
|
8701
|
+
|
|
8702
|
+
# Authentication setting
|
|
8703
|
+
auth_settings = ['oidc'] # noqa: E501
|
|
8704
|
+
|
|
8705
|
+
return self.api_client.call_api(
|
|
8706
|
+
'/api/repository/v1/datasets/{id}/inheritSteward', 'PUT',
|
|
8707
|
+
path_params,
|
|
8708
|
+
query_params,
|
|
8709
|
+
header_params,
|
|
8710
|
+
body=body_params,
|
|
8711
|
+
post_params=form_params,
|
|
8712
|
+
files=local_var_files,
|
|
8713
|
+
response_type='JobModel', # noqa: E501
|
|
8714
|
+
auth_settings=auth_settings,
|
|
8715
|
+
async_req=local_var_params.get('async_req'),
|
|
8716
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
8717
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
|
8718
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
|
8719
|
+
collection_formats=collection_formats)
|
|
8720
|
+
|
|
8721
|
+
def set_snapshot_public(self, id, body, **kwargs): # noqa: E501
|
|
8722
|
+
"""set_snapshot_public # noqa: E501
|
|
8723
|
+
|
|
8724
|
+
Sets the reader policy on the snapshot public for the specified snapshot if request body is true. Makes the reader policy on the snapshot private if the request body is false. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
8725
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
8726
|
+
asynchronous HTTP request, please pass async_req=True
|
|
8727
|
+
>>> thread = api.set_snapshot_public(id, body, async_req=True)
|
|
8728
|
+
>>> result = thread.get()
|
|
8729
|
+
|
|
8730
|
+
:param async_req bool: execute request asynchronously
|
|
8731
|
+
:param str id: A UUID to used to identify an object in the repository (required)
|
|
8732
|
+
:param bool body: A boolean value indicating whether the reader policy on the snapshot is being set public. (required)
|
|
8733
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
8734
|
+
be returned without reading/decoding response
|
|
8735
|
+
data. Default is True.
|
|
8736
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
8737
|
+
number provided, it will be total request
|
|
8738
|
+
timeout. It can also be a pair (tuple) of
|
|
8739
|
+
(connection, read) timeouts.
|
|
8740
|
+
:return: JobModel
|
|
8741
|
+
If the method is called asynchronously,
|
|
8742
|
+
returns the request thread.
|
|
8743
|
+
"""
|
|
8744
|
+
kwargs['_return_http_data_only'] = True
|
|
8745
|
+
return self.set_snapshot_public_with_http_info(id, body, **kwargs) # noqa: E501
|
|
8746
|
+
|
|
8747
|
+
def set_snapshot_public_with_http_info(self, id, body, **kwargs): # noqa: E501
|
|
8748
|
+
"""set_snapshot_public # noqa: E501
|
|
8749
|
+
|
|
8750
|
+
Sets the reader policy on the snapshot public for the specified snapshot if request body is true. Makes the reader policy on the snapshot private if the request body is false. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
8751
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
8752
|
+
asynchronous HTTP request, please pass async_req=True
|
|
8753
|
+
>>> thread = api.set_snapshot_public_with_http_info(id, body, async_req=True)
|
|
8754
|
+
>>> result = thread.get()
|
|
8755
|
+
|
|
8756
|
+
:param async_req bool: execute request asynchronously
|
|
8757
|
+
:param str id: A UUID to used to identify an object in the repository (required)
|
|
8758
|
+
:param bool body: A boolean value indicating whether the reader policy on the snapshot is being set public. (required)
|
|
8759
|
+
:param _return_http_data_only: response data without head status code
|
|
8760
|
+
and headers
|
|
8761
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
8762
|
+
be returned without reading/decoding response
|
|
8763
|
+
data. Default is True.
|
|
8764
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
8765
|
+
number provided, it will be total request
|
|
8766
|
+
timeout. It can also be a pair (tuple) of
|
|
8767
|
+
(connection, read) timeouts.
|
|
8768
|
+
:return: tuple(JobModel, status_code(int), headers(HTTPHeaderDict))
|
|
8769
|
+
If the method is called asynchronously,
|
|
8770
|
+
returns the request thread.
|
|
8771
|
+
"""
|
|
8772
|
+
|
|
8773
|
+
local_var_params = locals()
|
|
8774
|
+
|
|
8775
|
+
all_params = [
|
|
8776
|
+
'id',
|
|
8777
|
+
'body'
|
|
8778
|
+
]
|
|
8779
|
+
all_params.extend(
|
|
8780
|
+
[
|
|
8781
|
+
'async_req',
|
|
8782
|
+
'_return_http_data_only',
|
|
8783
|
+
'_preload_content',
|
|
8784
|
+
'_request_timeout'
|
|
8785
|
+
]
|
|
8786
|
+
)
|
|
8787
|
+
|
|
8788
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
8789
|
+
if key not in all_params:
|
|
8790
|
+
raise ApiTypeError(
|
|
8791
|
+
"Got an unexpected keyword argument '%s'"
|
|
8792
|
+
" to method set_snapshot_public" % key
|
|
8793
|
+
)
|
|
8794
|
+
local_var_params[key] = val
|
|
8795
|
+
del local_var_params['kwargs']
|
|
8796
|
+
# verify the required parameter 'id' is set
|
|
8797
|
+
if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
|
|
8798
|
+
local_var_params['id'] is None): # noqa: E501
|
|
8799
|
+
raise ApiValueError("Missing the required parameter `id` when calling `set_snapshot_public`") # noqa: E501
|
|
8800
|
+
# verify the required parameter 'body' is set
|
|
8801
|
+
if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501
|
|
8802
|
+
local_var_params['body'] is None): # noqa: E501
|
|
8803
|
+
raise ApiValueError("Missing the required parameter `body` when calling `set_snapshot_public`") # noqa: E501
|
|
8804
|
+
|
|
8805
|
+
collection_formats = {}
|
|
8806
|
+
|
|
8807
|
+
path_params = {}
|
|
8808
|
+
if 'id' in local_var_params:
|
|
8809
|
+
path_params['id'] = local_var_params['id'] # noqa: E501
|
|
8810
|
+
|
|
8811
|
+
query_params = []
|
|
8812
|
+
|
|
8813
|
+
header_params = {}
|
|
8814
|
+
|
|
8815
|
+
form_params = []
|
|
8816
|
+
local_var_files = {}
|
|
8817
|
+
|
|
8818
|
+
body_params = None
|
|
8819
|
+
if 'body' in local_var_params:
|
|
8820
|
+
body_params = local_var_params['body']
|
|
8821
|
+
# HTTP header `Accept`
|
|
8822
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
8823
|
+
['application/json']) # noqa: E501
|
|
8824
|
+
|
|
8825
|
+
# HTTP header `Content-Type`
|
|
8826
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
8827
|
+
['application/json']) # noqa: E501
|
|
8828
|
+
|
|
8829
|
+
# Authentication setting
|
|
8830
|
+
auth_settings = ['oidc'] # noqa: E501
|
|
8831
|
+
|
|
8832
|
+
return self.api_client.call_api(
|
|
8833
|
+
'/api/repository/v1/snapshots/{id}/public', 'PUT',
|
|
8834
|
+
path_params,
|
|
8835
|
+
query_params,
|
|
8836
|
+
header_params,
|
|
8837
|
+
body=body_params,
|
|
8838
|
+
post_params=form_params,
|
|
8839
|
+
files=local_var_files,
|
|
8840
|
+
response_type='JobModel', # noqa: E501
|
|
8841
|
+
auth_settings=auth_settings,
|
|
8842
|
+
async_req=local_var_params.get('async_req'),
|
|
8843
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
8844
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
|
8845
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
|
8846
|
+
collection_formats=collection_formats)
|
|
8847
|
+
|
|
8480
8848
|
def sync_duos_dataset_authorized_users(self, duos_id, **kwargs): # noqa: E501
|
|
8481
8849
|
"""sync_duos_dataset_authorized_users # noqa: E501
|
|
8482
8850
|
|
|
@@ -9186,7 +9554,7 @@ class RepositoryApi(object):
|
|
|
9186
9554
|
def update_schema(self, id, dataset_schema_update_model, **kwargs): # noqa: E501
|
|
9187
9555
|
"""update_schema # noqa: E501
|
|
9188
9556
|
|
|
9189
|
-
Modify a dataset's schema with additive changes # noqa: E501
|
|
9557
|
+
Modify a dataset's schema with additive changes. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
9190
9558
|
This method makes a synchronous HTTP request by default. To make an
|
|
9191
9559
|
asynchronous HTTP request, please pass async_req=True
|
|
9192
9560
|
>>> thread = api.update_schema(id, dataset_schema_update_model, async_req=True)
|
|
@@ -9212,7 +9580,7 @@ class RepositoryApi(object):
|
|
|
9212
9580
|
def update_schema_with_http_info(self, id, dataset_schema_update_model, **kwargs): # noqa: E501
|
|
9213
9581
|
"""update_schema # noqa: E501
|
|
9214
9582
|
|
|
9215
|
-
Modify a dataset's schema with additive changes # noqa: E501
|
|
9583
|
+
Modify a dataset's schema with additive changes. This is asynchronous. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
9216
9584
|
This method makes a synchronous HTTP request by default. To make an
|
|
9217
9585
|
asynchronous HTTP request, please pass async_req=True
|
|
9218
9586
|
>>> thread = api.update_schema_with_http_info(id, dataset_schema_update_model, async_req=True)
|
|
@@ -9563,7 +9931,7 @@ class RepositoryApi(object):
|
|
|
9563
9931
|
def upgrade(self, upgrade, **kwargs): # noqa: E501
|
|
9564
9932
|
"""upgrade # noqa: E501
|
|
9565
9933
|
|
|
9566
|
-
Extensible endpoint for triggering upgrade tasks in the data repository. The asynchronous result is UpgradeResponseModel # noqa: E501
|
|
9934
|
+
Extensible endpoint for triggering upgrade tasks in the data repository. The asynchronous result is UpgradeResponseModel. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
9567
9935
|
This method makes a synchronous HTTP request by default. To make an
|
|
9568
9936
|
asynchronous HTTP request, please pass async_req=True
|
|
9569
9937
|
>>> thread = api.upgrade(upgrade, async_req=True)
|
|
@@ -9588,7 +9956,7 @@ class RepositoryApi(object):
|
|
|
9588
9956
|
def upgrade_with_http_info(self, upgrade, **kwargs): # noqa: E501
|
|
9589
9957
|
"""upgrade # noqa: E501
|
|
9590
9958
|
|
|
9591
|
-
Extensible endpoint for triggering upgrade tasks in the data repository. The asynchronous result is UpgradeResponseModel # noqa: E501
|
|
9959
|
+
Extensible endpoint for triggering upgrade tasks in the data repository. The asynchronous result is UpgradeResponseModel. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
|
|
9592
9960
|
This method makes a synchronous HTTP request by default. To make an
|
|
9593
9961
|
asynchronous HTTP request, please pass async_req=True
|
|
9594
9962
|
>>> thread = api.upgrade_with_http_info(upgrade, async_req=True)
|