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.

@@ -175,7 +175,7 @@ class ProfilesApi(object):
175
175
  def create_profile(self, **kwargs): # noqa: E501
176
176
  """create_profile # noqa: E501
177
177
 
178
- Creates a new profile associated with a billing account. This is asynchronous. The final return is of type definitions/BillingProfileModel. # noqa: E501
178
+ Creates a new profile associated with a billing account. This is asynchronous. The final return is of type definitions/BillingProfileModel. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
179
179
  This method makes a synchronous HTTP request by default. To make an
180
180
  asynchronous HTTP request, please pass async_req=True
181
181
  >>> thread = api.create_profile(async_req=True)
@@ -200,7 +200,7 @@ class ProfilesApi(object):
200
200
  def create_profile_with_http_info(self, **kwargs): # noqa: E501
201
201
  """create_profile # noqa: E501
202
202
 
203
- Creates a new profile associated with a billing account. This is asynchronous. The final return is of type definitions/BillingProfileModel. # noqa: E501
203
+ Creates a new profile associated with a billing account. This is asynchronous. The final return is of type definitions/BillingProfileModel. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
204
204
  This method makes a synchronous HTTP request by default. To make an
205
205
  asynchronous HTTP request, please pass async_req=True
206
206
  >>> thread = api.create_profile_with_http_info(async_req=True)
@@ -289,7 +289,7 @@ class ProfilesApi(object):
289
289
  def delete_profile(self, id, **kwargs): # noqa: E501
290
290
  """delete_profile # noqa: E501
291
291
 
292
- Delete a billing profile by id. This is asynchronous. The final return is of type definitions/DeleteResponseModel. # noqa: E501
292
+ Delete a billing profile by id. This is asynchronous. The final return is of type definitions/DeleteResponseModel. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
293
293
  This method makes a synchronous HTTP request by default. To make an
294
294
  asynchronous HTTP request, please pass async_req=True
295
295
  >>> thread = api.delete_profile(id, async_req=True)
@@ -315,7 +315,7 @@ class ProfilesApi(object):
315
315
  def delete_profile_with_http_info(self, id, **kwargs): # noqa: E501
316
316
  """delete_profile # noqa: E501
317
317
 
318
- Delete a billing profile by id. This is asynchronous. The final return is of type definitions/DeleteResponseModel. # noqa: E501
318
+ Delete a billing profile by id. This is asynchronous. The final return is of type definitions/DeleteResponseModel. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
319
319
  This method makes a synchronous HTTP request by default. To make an
320
320
  asynchronous HTTP request, please pass async_req=True
321
321
  >>> thread = api.delete_profile_with_http_info(id, async_req=True)
@@ -652,6 +652,120 @@ class ProfilesApi(object):
652
652
  _request_timeout=local_var_params.get('_request_timeout'),
653
653
  collection_formats=collection_formats)
654
654
 
655
+ def get_profile_resources(self, id, **kwargs): # noqa: E501
656
+ """get_profile_resources # noqa: E501
657
+
658
+ Given a profile ID, return the resources associated with that profile. # noqa: E501
659
+ This method makes a synchronous HTTP request by default. To make an
660
+ asynchronous HTTP request, please pass async_req=True
661
+ >>> thread = api.get_profile_resources(id, async_req=True)
662
+ >>> result = thread.get()
663
+
664
+ :param async_req bool: execute request asynchronously
665
+ :param str id: A UUID to used to identify an object in the repository (required)
666
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
667
+ be returned without reading/decoding response
668
+ data. Default is True.
669
+ :param _request_timeout: timeout setting for this request. If one
670
+ number provided, it will be total request
671
+ timeout. It can also be a pair (tuple) of
672
+ (connection, read) timeouts.
673
+ :return: EnumerateBillingProfileResourcesModel
674
+ If the method is called asynchronously,
675
+ returns the request thread.
676
+ """
677
+ kwargs['_return_http_data_only'] = True
678
+ return self.get_profile_resources_with_http_info(id, **kwargs) # noqa: E501
679
+
680
+ def get_profile_resources_with_http_info(self, id, **kwargs): # noqa: E501
681
+ """get_profile_resources # noqa: E501
682
+
683
+ Given a profile ID, return the resources associated with that profile. # noqa: E501
684
+ This method makes a synchronous HTTP request by default. To make an
685
+ asynchronous HTTP request, please pass async_req=True
686
+ >>> thread = api.get_profile_resources_with_http_info(id, async_req=True)
687
+ >>> result = thread.get()
688
+
689
+ :param async_req bool: execute request asynchronously
690
+ :param str id: A UUID to used to identify an object in the repository (required)
691
+ :param _return_http_data_only: response data without head status code
692
+ and headers
693
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
694
+ be returned without reading/decoding response
695
+ data. Default is True.
696
+ :param _request_timeout: timeout setting for this request. If one
697
+ number provided, it will be total request
698
+ timeout. It can also be a pair (tuple) of
699
+ (connection, read) timeouts.
700
+ :return: tuple(EnumerateBillingProfileResourcesModel, status_code(int), headers(HTTPHeaderDict))
701
+ If the method is called asynchronously,
702
+ returns the request thread.
703
+ """
704
+
705
+ local_var_params = locals()
706
+
707
+ all_params = [
708
+ 'id'
709
+ ]
710
+ all_params.extend(
711
+ [
712
+ 'async_req',
713
+ '_return_http_data_only',
714
+ '_preload_content',
715
+ '_request_timeout'
716
+ ]
717
+ )
718
+
719
+ for key, val in six.iteritems(local_var_params['kwargs']):
720
+ if key not in all_params:
721
+ raise ApiTypeError(
722
+ "Got an unexpected keyword argument '%s'"
723
+ " to method get_profile_resources" % key
724
+ )
725
+ local_var_params[key] = val
726
+ del local_var_params['kwargs']
727
+ # verify the required parameter 'id' is set
728
+ if self.api_client.client_side_validation and ('id' not in local_var_params or # noqa: E501
729
+ local_var_params['id'] is None): # noqa: E501
730
+ raise ApiValueError("Missing the required parameter `id` when calling `get_profile_resources`") # noqa: E501
731
+
732
+ collection_formats = {}
733
+
734
+ path_params = {}
735
+ if 'id' in local_var_params:
736
+ path_params['id'] = local_var_params['id'] # noqa: E501
737
+
738
+ query_params = []
739
+
740
+ header_params = {}
741
+
742
+ form_params = []
743
+ local_var_files = {}
744
+
745
+ body_params = None
746
+ # HTTP header `Accept`
747
+ header_params['Accept'] = self.api_client.select_header_accept(
748
+ ['application/json']) # noqa: E501
749
+
750
+ # Authentication setting
751
+ auth_settings = ['oidc'] # noqa: E501
752
+
753
+ return self.api_client.call_api(
754
+ '/api/resources/v1/profiles/{id}/resources', 'GET',
755
+ path_params,
756
+ query_params,
757
+ header_params,
758
+ body=body_params,
759
+ post_params=form_params,
760
+ files=local_var_files,
761
+ response_type='EnumerateBillingProfileResourcesModel', # noqa: E501
762
+ auth_settings=auth_settings,
763
+ async_req=local_var_params.get('async_req'),
764
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
765
+ _preload_content=local_var_params.get('_preload_content', True),
766
+ _request_timeout=local_var_params.get('_request_timeout'),
767
+ collection_formats=collection_formats)
768
+
655
769
  def retrieve_profile(self, id, **kwargs): # noqa: E501
656
770
  """retrieve_profile # noqa: E501
657
771
 
@@ -883,7 +997,7 @@ class ProfilesApi(object):
883
997
  def update_profile(self, billing_profile_update_model, **kwargs): # noqa: E501
884
998
  """update_profile # noqa: E501
885
999
 
886
- Update a billing profile by id. This is asynchronous. The final return is of type definitions/BillingProfileModel. # noqa: E501
1000
+ Update a billing profile by id. This is asynchronous. The final return is of type definitions/BillingProfileModel. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
887
1001
  This method makes a synchronous HTTP request by default. To make an
888
1002
  asynchronous HTTP request, please pass async_req=True
889
1003
  >>> thread = api.update_profile(billing_profile_update_model, async_req=True)
@@ -908,7 +1022,7 @@ class ProfilesApi(object):
908
1022
  def update_profile_with_http_info(self, billing_profile_update_model, **kwargs): # noqa: E501
909
1023
  """update_profile # noqa: E501
910
1024
 
911
- Update a billing profile by id. This is asynchronous. The final return is of type definitions/BillingProfileModel. # noqa: E501
1025
+ Update a billing profile by id. This is asynchronous. The final return is of type definitions/BillingProfileModel. Use the returned job id to check the retrieveJob endpoint for the job status or retrieveJobResult endpoint to get the final result. # noqa: E501
912
1026
  This method makes a synchronous HTTP request by default. To make an
913
1027
  asynchronous HTTP request, please pass async_req=True
914
1028
  >>> thread = api.update_profile_with_http_info(billing_profile_update_model, async_req=True)