oci 2.2.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -111,7 +111,7 @@ module OCI
111
111
  # @param [String] upload_id The upload ID for a multipart upload.
112
112
  # @param [Hash] opts the optional parameters
113
113
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
114
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
114
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
115
115
  # @option opts [String] :opc_client_request_id The client request ID for tracing.
116
116
  # @return [Response] A Response object with data of type nil
117
117
  def abort_multipart_upload(namespace_name, bucket_name, object_name, upload_id, opts = {})
@@ -128,6 +128,7 @@ module OCI
128
128
  path = '/n/{namespaceName}/b/{bucketName}/u/{objectName}'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s).sub('{objectName}', object_name.to_s)
129
129
  operation_signing_strategy = :standard
130
130
 
131
+ # rubocop:disable Style/NegatedIf
131
132
  # Query Params
132
133
  query_params = {}
133
134
  query_params[:uploadId] = upload_id
@@ -137,6 +138,7 @@ module OCI
137
138
  header_params['accept'] = 'application/json'
138
139
  header_params['content-type'] = 'application/json'
139
140
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
141
+ # rubocop:enable Style/NegatedIf
140
142
 
141
143
  post_body = nil
142
144
 
@@ -176,7 +178,7 @@ module OCI
176
178
  # @param [OCI::ObjectStorage::Models::CommitMultipartUploadDetails] commit_multipart_upload_details The part numbers and ETags for the parts you want to commit.
177
179
  # @param [Hash] opts the optional parameters
178
180
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
179
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
181
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
180
182
  # @option opts [String] :if_match The entity tag to match. For creating and committing a multipart upload to an object, this is the entity tag of the target object.
181
183
  # For uploading a part, this is the entity tag of the target part.
182
184
  #
@@ -200,6 +202,7 @@ module OCI
200
202
  path = '/n/{namespaceName}/b/{bucketName}/u/{objectName}'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s).sub('{objectName}', object_name.to_s)
201
203
  operation_signing_strategy = :standard
202
204
 
205
+ # rubocop:disable Style/NegatedIf
203
206
  # Query Params
204
207
  query_params = {}
205
208
  query_params[:uploadId] = upload_id
@@ -211,6 +214,7 @@ module OCI
211
214
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
212
215
  header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
213
216
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
217
+ # rubocop:enable Style/NegatedIf
214
218
 
215
219
  post_body = @api_client.object_to_http_body(commit_multipart_upload_details)
216
220
 
@@ -243,7 +247,7 @@ module OCI
243
247
  # @param [OCI::ObjectStorage::Models::CreateBucketDetails] create_bucket_details Request object for creating a bucket.
244
248
  # @param [Hash] opts the optional parameters
245
249
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
246
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
250
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
247
251
  # @option opts [String] :opc_client_request_id The client request ID for tracing.
248
252
  # @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::Bucket Bucket}
249
253
  def create_bucket(namespace_name, create_bucket_details, opts = {})
@@ -256,6 +260,7 @@ module OCI
256
260
  path = '/n/{namespaceName}/b/'.sub('{namespaceName}', namespace_name.to_s)
257
261
  operation_signing_strategy = :standard
258
262
 
263
+ # rubocop:disable Style/NegatedIf
259
264
  # Query Params
260
265
  query_params = {}
261
266
 
@@ -264,6 +269,7 @@ module OCI
264
269
  header_params['accept'] = 'application/json'
265
270
  header_params['content-type'] = 'application/json'
266
271
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
272
+ # rubocop:enable Style/NegatedIf
267
273
 
268
274
  post_body = @api_client.object_to_http_body(create_bucket_details)
269
275
 
@@ -300,7 +306,7 @@ module OCI
300
306
  # @param [OCI::ObjectStorage::Models::CreateMultipartUploadDetails] create_multipart_upload_details Request object for creating a multi-part upload.
301
307
  # @param [Hash] opts the optional parameters
302
308
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
303
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
309
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
304
310
  # @option opts [String] :if_match The entity tag to match. For creating and committing a multipart upload to an object, this is the entity tag of the target object.
305
311
  # For uploading a part, this is the entity tag of the target part.
306
312
  #
@@ -321,6 +327,7 @@ module OCI
321
327
  path = '/n/{namespaceName}/b/{bucketName}/u'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
322
328
  operation_signing_strategy = :standard
323
329
 
330
+ # rubocop:disable Style/NegatedIf
324
331
  # Query Params
325
332
  query_params = {}
326
333
 
@@ -331,6 +338,7 @@ module OCI
331
338
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
332
339
  header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
333
340
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
341
+ # rubocop:enable Style/NegatedIf
334
342
 
335
343
  post_body = @api_client.object_to_http_body(create_multipart_upload_details)
336
344
 
@@ -367,7 +375,7 @@ module OCI
367
375
  # @param [OCI::ObjectStorage::Models::CreatePreauthenticatedRequestDetails] create_preauthenticated_request_details Information needed to create the pre-authenticated request.
368
376
  # @param [Hash] opts the optional parameters
369
377
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
370
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
378
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
371
379
  # @option opts [String] :opc_client_request_id The client request ID for tracing.
372
380
  # @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::PreauthenticatedRequest PreauthenticatedRequest}
373
381
  def create_preauthenticated_request(namespace_name, bucket_name, create_preauthenticated_request_details, opts = {})
@@ -382,6 +390,7 @@ module OCI
382
390
  path = '/n/{namespaceName}/b/{bucketName}/p/'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
383
391
  operation_signing_strategy = :standard
384
392
 
393
+ # rubocop:disable Style/NegatedIf
385
394
  # Query Params
386
395
  query_params = {}
387
396
 
@@ -390,6 +399,7 @@ module OCI
390
399
  header_params['accept'] = 'application/json'
391
400
  header_params['content-type'] = 'application/json'
392
401
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
402
+ # rubocop:enable Style/NegatedIf
393
403
 
394
404
  post_body = @api_client.object_to_http_body(create_preauthenticated_request_details)
395
405
 
@@ -425,7 +435,7 @@ module OCI
425
435
  #
426
436
  # @param [Hash] opts the optional parameters
427
437
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
428
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
438
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
429
439
  # @option opts [String] :if_match The entity tag to match. For creating and committing a multipart upload to an object, this is the entity tag of the target object.
430
440
  # For uploading a part, this is the entity tag of the target part.
431
441
  #
@@ -442,6 +452,7 @@ module OCI
442
452
  path = '/n/{namespaceName}/b/{bucketName}/'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
443
453
  operation_signing_strategy = :standard
444
454
 
455
+ # rubocop:disable Style/NegatedIf
445
456
  # Query Params
446
457
  query_params = {}
447
458
 
@@ -451,6 +462,7 @@ module OCI
451
462
  header_params['content-type'] = 'application/json'
452
463
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
453
464
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
465
+ # rubocop:enable Style/NegatedIf
454
466
 
455
467
  post_body = nil
456
468
 
@@ -488,7 +500,7 @@ module OCI
488
500
  #
489
501
  # @param [Hash] opts the optional parameters
490
502
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
491
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
503
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
492
504
  # @option opts [String] :if_match The entity tag to match. For creating and committing a multipart upload to an object, this is the entity tag of the target object.
493
505
  # For uploading a part, this is the entity tag of the target part.
494
506
  #
@@ -507,6 +519,7 @@ module OCI
507
519
  path = '/n/{namespaceName}/b/{bucketName}/o/{objectName}'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s).sub('{objectName}', object_name.to_s)
508
520
  operation_signing_strategy = :standard
509
521
 
522
+ # rubocop:disable Style/NegatedIf
510
523
  # Query Params
511
524
  query_params = {}
512
525
 
@@ -516,6 +529,7 @@ module OCI
516
529
  header_params['content-type'] = 'application/json'
517
530
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
518
531
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
532
+ # rubocop:enable Style/NegatedIf
519
533
 
520
534
  post_body = nil
521
535
 
@@ -552,7 +566,7 @@ module OCI
552
566
  #
553
567
  # @param [Hash] opts the optional parameters
554
568
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
555
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
569
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
556
570
  # @option opts [String] :opc_client_request_id The client request ID for tracing.
557
571
  # @return [Response] A Response object with data of type nil
558
572
  def delete_preauthenticated_request(namespace_name, bucket_name, par_id, opts = {})
@@ -568,6 +582,7 @@ module OCI
568
582
  path = '/n/{namespaceName}/b/{bucketName}/p/{parId}'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s).sub('{parId}', par_id.to_s)
569
583
  operation_signing_strategy = :standard
570
584
 
585
+ # rubocop:disable Style/NegatedIf
571
586
  # Query Params
572
587
  query_params = {}
573
588
 
@@ -576,6 +591,7 @@ module OCI
576
591
  header_params['accept'] = 'application/json'
577
592
  header_params['content-type'] = 'application/json'
578
593
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
594
+ # rubocop:enable Style/NegatedIf
579
595
 
580
596
  post_body = nil
581
597
 
@@ -610,7 +626,7 @@ module OCI
610
626
  #
611
627
  # @param [Hash] opts the optional parameters
612
628
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
613
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
629
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
614
630
  # @option opts [String] :if_match The entity tag to match. For creating and committing a multipart upload to an object, this is the entity tag of the target object.
615
631
  # For uploading a part, this is the entity tag of the target part.
616
632
  #
@@ -630,6 +646,7 @@ module OCI
630
646
  path = '/n/{namespaceName}/b/{bucketName}/'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
631
647
  operation_signing_strategy = :standard
632
648
 
649
+ # rubocop:disable Style/NegatedIf
633
650
  # Query Params
634
651
  query_params = {}
635
652
 
@@ -640,6 +657,7 @@ module OCI
640
657
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
641
658
  header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
642
659
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
660
+ # rubocop:enable Style/NegatedIf
643
661
 
644
662
  post_body = nil
645
663
 
@@ -672,7 +690,7 @@ module OCI
672
690
  #
673
691
  # @param [Hash] opts the optional parameters
674
692
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
675
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
693
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
676
694
  # @option opts [String] :opc_client_request_id The client request ID for tracing.
677
695
  # @return [Response] A Response object with data of type String
678
696
  def get_namespace(opts = {})
@@ -682,6 +700,7 @@ module OCI
682
700
  path = '/n/'
683
701
  operation_signing_strategy = :standard
684
702
 
703
+ # rubocop:disable Style/NegatedIf
685
704
  # Query Params
686
705
  query_params = {}
687
706
 
@@ -690,6 +709,7 @@ module OCI
690
709
  header_params['accept'] = 'application/json'
691
710
  header_params['content-type'] = 'application/json'
692
711
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
712
+ # rubocop:enable Style/NegatedIf
693
713
 
694
714
  post_body = nil
695
715
 
@@ -725,7 +745,7 @@ module OCI
725
745
  # @param [String] namespace_name The top-level namespace used for the request.
726
746
  # @param [Hash] opts the optional parameters
727
747
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
728
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
748
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
729
749
  # @option opts [String] :opc_client_request_id The client request ID for tracing.
730
750
  # @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::NamespaceMetadata NamespaceMetadata}
731
751
  def get_namespace_metadata(namespace_name, opts = {})
@@ -737,6 +757,7 @@ module OCI
737
757
  path = '/n/{namespaceName}'.sub('{namespaceName}', namespace_name.to_s)
738
758
  operation_signing_strategy = :standard
739
759
 
760
+ # rubocop:disable Style/NegatedIf
740
761
  # Query Params
741
762
  query_params = {}
742
763
 
@@ -745,6 +766,7 @@ module OCI
745
766
  header_params['accept'] = 'application/json'
746
767
  header_params['content-type'] = 'application/json'
747
768
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
769
+ # rubocop:enable Style/NegatedIf
748
770
 
749
771
  post_body = nil
750
772
 
@@ -783,7 +805,7 @@ module OCI
783
805
  #
784
806
  # @param [Hash] opts the optional parameters
785
807
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
786
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
808
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
787
809
  # @option opts [String] :if_match The entity tag to match. For creating and committing a multipart upload to an object, this is the entity tag of the target object.
788
810
  # For uploading a part, this is the entity tag of the target part.
789
811
  #
@@ -810,6 +832,7 @@ module OCI
810
832
  path = '/n/{namespaceName}/b/{bucketName}/o/{objectName}'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s).sub('{objectName}', object_name.to_s)
811
833
  operation_signing_strategy = :standard
812
834
 
835
+ # rubocop:disable Style/NegatedIf
813
836
  # Query Params
814
837
  query_params = {}
815
838
 
@@ -821,6 +844,7 @@ module OCI
821
844
  header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
822
845
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
823
846
  header_params[:range] = opts[:range] if opts[:range]
847
+ # rubocop:enable Style/NegatedIf
824
848
 
825
849
  post_body = nil
826
850
 
@@ -900,7 +924,7 @@ module OCI
900
924
  #
901
925
  # @param [Hash] opts the optional parameters
902
926
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
903
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
927
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
904
928
  # @option opts [String] :opc_client_request_id The client request ID for tracing.
905
929
  # @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::PreauthenticatedRequestSummary PreauthenticatedRequestSummary}
906
930
  def get_preauthenticated_request(namespace_name, bucket_name, par_id, opts = {})
@@ -916,6 +940,7 @@ module OCI
916
940
  path = '/n/{namespaceName}/b/{bucketName}/p/{parId}'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s).sub('{parId}', par_id.to_s)
917
941
  operation_signing_strategy = :standard
918
942
 
943
+ # rubocop:disable Style/NegatedIf
919
944
  # Query Params
920
945
  query_params = {}
921
946
 
@@ -924,6 +949,7 @@ module OCI
924
949
  header_params['accept'] = 'application/json'
925
950
  header_params['content-type'] = 'application/json'
926
951
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
952
+ # rubocop:enable Style/NegatedIf
927
953
 
928
954
  post_body = nil
929
955
 
@@ -959,7 +985,7 @@ module OCI
959
985
  #
960
986
  # @param [Hash] opts the optional parameters
961
987
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
962
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
988
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
963
989
  # @option opts [String] :if_match The entity tag to match. For creating and committing a multipart upload to an object, this is the entity tag of the target object.
964
990
  # For uploading a part, this is the entity tag of the target part.
965
991
  #
@@ -979,6 +1005,7 @@ module OCI
979
1005
  path = '/n/{namespaceName}/b/{bucketName}/'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
980
1006
  operation_signing_strategy = :standard
981
1007
 
1008
+ # rubocop:disable Style/NegatedIf
982
1009
  # Query Params
983
1010
  query_params = {}
984
1011
 
@@ -989,6 +1016,7 @@ module OCI
989
1016
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
990
1017
  header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
991
1018
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
1019
+ # rubocop:enable Style/NegatedIf
992
1020
 
993
1021
  post_body = nil
994
1022
 
@@ -1026,7 +1054,7 @@ module OCI
1026
1054
  #
1027
1055
  # @param [Hash] opts the optional parameters
1028
1056
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1029
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1057
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1030
1058
  # @option opts [String] :if_match The entity tag to match. For creating and committing a multipart upload to an object, this is the entity tag of the target object.
1031
1059
  # For uploading a part, this is the entity tag of the target part.
1032
1060
  #
@@ -1048,6 +1076,7 @@ module OCI
1048
1076
  path = '/n/{namespaceName}/b/{bucketName}/o/{objectName}'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s).sub('{objectName}', object_name.to_s)
1049
1077
  operation_signing_strategy = :standard
1050
1078
 
1079
+ # rubocop:disable Style/NegatedIf
1051
1080
  # Query Params
1052
1081
  query_params = {}
1053
1082
 
@@ -1058,6 +1087,7 @@ module OCI
1058
1087
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1059
1088
  header_params[:'if-none-match'] = opts[:if_none_match] if opts[:if_none_match]
1060
1089
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
1090
+ # rubocop:enable Style/NegatedIf
1061
1091
 
1062
1092
  post_body = nil
1063
1093
 
@@ -1095,7 +1125,7 @@ module OCI
1095
1125
  # @param [String] compartment_id The ID of the compartment in which to list buckets.
1096
1126
  # @param [Hash] opts the optional parameters
1097
1127
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1098
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1128
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1099
1129
  # @option opts [Integer] :limit The maximum number of items to return.
1100
1130
  # @option opts [String] :page The page at which to start retrieving results.
1101
1131
  # @option opts [Array<String>] :fields Bucket summary in list of buckets includes the 'namespace', 'name', 'compartmentId', 'createdBy', 'timeCreated',
@@ -1125,6 +1155,7 @@ module OCI
1125
1155
  path = '/n/{namespaceName}/b/'.sub('{namespaceName}', namespace_name.to_s)
1126
1156
  operation_signing_strategy = :standard
1127
1157
 
1158
+ # rubocop:disable Style/NegatedIf
1128
1159
  # Query Params
1129
1160
  query_params = {}
1130
1161
  query_params[:compartmentId] = compartment_id
@@ -1137,6 +1168,7 @@ module OCI
1137
1168
  header_params['accept'] = 'application/json'
1138
1169
  header_params['content-type'] = 'application/json'
1139
1170
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
1171
+ # rubocop:enable Style/NegatedIf
1140
1172
 
1141
1173
  post_body = nil
1142
1174
 
@@ -1176,7 +1208,7 @@ module OCI
1176
1208
  # @param [String] upload_id The upload ID for a multipart upload.
1177
1209
  # @param [Hash] opts the optional parameters
1178
1210
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1179
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1211
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1180
1212
  # @option opts [Integer] :limit The maximum number of items to return.
1181
1213
  # @option opts [String] :page The page at which to start retrieving results.
1182
1214
  # @option opts [String] :opc_client_request_id The client request ID for tracing.
@@ -1195,6 +1227,7 @@ module OCI
1195
1227
  path = '/n/{namespaceName}/b/{bucketName}/u/{objectName}'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s).sub('{objectName}', object_name.to_s)
1196
1228
  operation_signing_strategy = :standard
1197
1229
 
1230
+ # rubocop:disable Style/NegatedIf
1198
1231
  # Query Params
1199
1232
  query_params = {}
1200
1233
  query_params[:uploadId] = upload_id
@@ -1206,6 +1239,7 @@ module OCI
1206
1239
  header_params['accept'] = 'application/json'
1207
1240
  header_params['content-type'] = 'application/json'
1208
1241
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
1242
+ # rubocop:enable Style/NegatedIf
1209
1243
 
1210
1244
  post_body = nil
1211
1245
 
@@ -1241,7 +1275,7 @@ module OCI
1241
1275
  #
1242
1276
  # @param [Hash] opts the optional parameters
1243
1277
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1244
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1278
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1245
1279
  # @option opts [Integer] :limit The maximum number of items to return.
1246
1280
  # @option opts [String] :page The page at which to start retrieving results.
1247
1281
  # @option opts [String] :opc_client_request_id The client request ID for tracing.
@@ -1257,6 +1291,7 @@ module OCI
1257
1291
  path = '/n/{namespaceName}/b/{bucketName}/u'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
1258
1292
  operation_signing_strategy = :standard
1259
1293
 
1294
+ # rubocop:disable Style/NegatedIf
1260
1295
  # Query Params
1261
1296
  query_params = {}
1262
1297
  query_params[:limit] = opts[:limit] if opts[:limit]
@@ -1267,6 +1302,7 @@ module OCI
1267
1302
  header_params['accept'] = 'application/json'
1268
1303
  header_params['content-type'] = 'application/json'
1269
1304
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
1305
+ # rubocop:enable Style/NegatedIf
1270
1306
 
1271
1307
  post_body = nil
1272
1308
 
@@ -1306,7 +1342,7 @@ module OCI
1306
1342
  #
1307
1343
  # @param [Hash] opts the optional parameters
1308
1344
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1309
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1345
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1310
1346
  # @option opts [String] :prefix The string to use for matching against the start of object names in a list query.
1311
1347
  # @option opts [String] :start Object names returned by a list query must be greater or equal to this parameter.
1312
1348
  # @option opts [String] :_end Object names returned by a list query must be strictly less than this parameter.
@@ -1335,6 +1371,7 @@ module OCI
1335
1371
  path = '/n/{namespaceName}/b/{bucketName}/o'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
1336
1372
  operation_signing_strategy = :standard
1337
1373
 
1374
+ # rubocop:disable Style/NegatedIf
1338
1375
  # Query Params
1339
1376
  query_params = {}
1340
1377
  query_params[:prefix] = opts[:prefix] if opts[:prefix]
@@ -1349,6 +1386,7 @@ module OCI
1349
1386
  header_params['accept'] = 'application/json'
1350
1387
  header_params['content-type'] = 'application/json'
1351
1388
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
1389
+ # rubocop:enable Style/NegatedIf
1352
1390
 
1353
1391
  post_body = nil
1354
1392
 
@@ -1384,7 +1422,7 @@ module OCI
1384
1422
  #
1385
1423
  # @param [Hash] opts the optional parameters
1386
1424
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1387
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1425
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1388
1426
  # @option opts [String] :object_name_prefix User-specified object name prefixes can be used to query and return a list of pre-authenticated requests.
1389
1427
  # @option opts [Integer] :limit The maximum number of items to return.
1390
1428
  # @option opts [String] :page The page at which to start retrieving results.
@@ -1401,6 +1439,7 @@ module OCI
1401
1439
  path = '/n/{namespaceName}/b/{bucketName}/p/'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
1402
1440
  operation_signing_strategy = :standard
1403
1441
 
1442
+ # rubocop:disable Style/NegatedIf
1404
1443
  # Query Params
1405
1444
  query_params = {}
1406
1445
  query_params[:objectNamePrefix] = opts[:object_name_prefix] if opts[:object_name_prefix]
@@ -1412,6 +1451,7 @@ module OCI
1412
1451
  header_params['accept'] = 'application/json'
1413
1452
  header_params['content-type'] = 'application/json'
1414
1453
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
1454
+ # rubocop:enable Style/NegatedIf
1415
1455
 
1416
1456
  post_body = nil
1417
1457
 
@@ -1451,7 +1491,7 @@ module OCI
1451
1491
  # @param [String, IO] put_object_body The object to upload to the object store.
1452
1492
  # @param [Hash] opts the optional parameters
1453
1493
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1454
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1494
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1455
1495
  # @option opts [Integer] :content_length The content length of the body.
1456
1496
  # @option opts [String] :if_match The entity tag to match. For creating and committing a multipart upload to an object, this is the entity tag of the target object.
1457
1497
  # For uploading a part, this is the entity tag of the target part.
@@ -1482,6 +1522,7 @@ module OCI
1482
1522
  path = '/n/{namespaceName}/b/{bucketName}/o/{objectName}'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s).sub('{objectName}', object_name.to_s)
1483
1523
  operation_signing_strategy = :exclude_body
1484
1524
 
1525
+ # rubocop:disable Style/NegatedIf
1485
1526
  # Query Params
1486
1527
  query_params = {}
1487
1528
 
@@ -1497,6 +1538,7 @@ module OCI
1497
1538
  header_params[:'content-type'] = opts[:content_type] if opts[:content_type]
1498
1539
  header_params[:'content-language'] = opts[:content_language] if opts[:content_language]
1499
1540
  header_params[:'content-encoding'] = opts[:content_encoding] if opts[:content_encoding]
1541
+ # rubocop:enable Style/NegatedIf
1500
1542
 
1501
1543
  if opts[:opc_meta]
1502
1544
  opts[:opc_meta].each do |key, value|
@@ -1539,7 +1581,7 @@ module OCI
1539
1581
  # @param [OCI::ObjectStorage::Models::RenameObjectDetails] rename_object_details The sourceName and newName of rename operation.
1540
1582
  # @param [Hash] opts the optional parameters
1541
1583
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1542
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1584
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1543
1585
  # @option opts [String] :opc_client_request_id The client request ID for tracing.
1544
1586
  # @return [Response] A Response object with data of type nil
1545
1587
  def rename_object(namespace_name, bucket_name, rename_object_details, opts = {})
@@ -1554,6 +1596,7 @@ module OCI
1554
1596
  path = '/n/{namespaceName}/b/{bucketName}/actions/renameObject'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
1555
1597
  operation_signing_strategy = :standard
1556
1598
 
1599
+ # rubocop:disable Style/NegatedIf
1557
1600
  # Query Params
1558
1601
  query_params = {}
1559
1602
 
@@ -1562,6 +1605,7 @@ module OCI
1562
1605
  header_params['accept'] = 'application/json'
1563
1606
  header_params['content-type'] = 'application/json'
1564
1607
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
1608
+ # rubocop:enable Style/NegatedIf
1565
1609
 
1566
1610
  post_body = @api_client.object_to_http_body(rename_object_details)
1567
1611
 
@@ -1598,7 +1642,7 @@ module OCI
1598
1642
  # @param [OCI::ObjectStorage::Models::RestoreObjectsDetails] restore_objects_details Request to restore objects.
1599
1643
  # @param [Hash] opts the optional parameters
1600
1644
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1601
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1645
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1602
1646
  # @option opts [String] :opc_client_request_id The client request ID for tracing.
1603
1647
  # @return [Response] A Response object with data of type nil
1604
1648
  def restore_objects(namespace_name, bucket_name, restore_objects_details, opts = {})
@@ -1613,6 +1657,7 @@ module OCI
1613
1657
  path = '/n/{namespaceName}/b/{bucketName}/actions/restoreObjects'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
1614
1658
  operation_signing_strategy = :standard
1615
1659
 
1660
+ # rubocop:disable Style/NegatedIf
1616
1661
  # Query Params
1617
1662
  query_params = {}
1618
1663
 
@@ -1621,6 +1666,7 @@ module OCI
1621
1666
  header_params['accept'] = 'application/json'
1622
1667
  header_params['content-type'] = 'application/json'
1623
1668
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
1669
+ # rubocop:enable Style/NegatedIf
1624
1670
 
1625
1671
  post_body = @api_client.object_to_http_body(restore_objects_details)
1626
1672
 
@@ -1656,7 +1702,7 @@ module OCI
1656
1702
  # @param [OCI::ObjectStorage::Models::UpdateBucketDetails] update_bucket_details Request object for updating a bucket.
1657
1703
  # @param [Hash] opts the optional parameters
1658
1704
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1659
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1705
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1660
1706
  # @option opts [String] :if_match The entity tag to match. For creating and committing a multipart upload to an object, this is the entity tag of the target object.
1661
1707
  # For uploading a part, this is the entity tag of the target part.
1662
1708
  #
@@ -1674,6 +1720,7 @@ module OCI
1674
1720
  path = '/n/{namespaceName}/b/{bucketName}/'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s)
1675
1721
  operation_signing_strategy = :standard
1676
1722
 
1723
+ # rubocop:disable Style/NegatedIf
1677
1724
  # Query Params
1678
1725
  query_params = {}
1679
1726
 
@@ -1683,6 +1730,7 @@ module OCI
1683
1730
  header_params['content-type'] = 'application/json'
1684
1731
  header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
1685
1732
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
1733
+ # rubocop:enable Style/NegatedIf
1686
1734
 
1687
1735
  post_body = @api_client.object_to_http_body(update_bucket_details)
1688
1736
 
@@ -1719,7 +1767,7 @@ module OCI
1719
1767
  # @param [OCI::ObjectStorage::Models::UpdateNamespaceMetadataDetails] update_namespace_metadata_details Request object for update NamespaceMetadata.
1720
1768
  # @param [Hash] opts the optional parameters
1721
1769
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1722
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1770
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1723
1771
  # @option opts [String] :opc_client_request_id The client request ID for tracing.
1724
1772
  # @return [Response] A Response object with data of type {OCI::ObjectStorage::Models::NamespaceMetadata NamespaceMetadata}
1725
1773
  def update_namespace_metadata(namespace_name, update_namespace_metadata_details, opts = {})
@@ -1732,6 +1780,7 @@ module OCI
1732
1780
  path = '/n/{namespaceName}'.sub('{namespaceName}', namespace_name.to_s)
1733
1781
  operation_signing_strategy = :standard
1734
1782
 
1783
+ # rubocop:disable Style/NegatedIf
1735
1784
  # Query Params
1736
1785
  query_params = {}
1737
1786
 
@@ -1740,6 +1789,7 @@ module OCI
1740
1789
  header_params['accept'] = 'application/json'
1741
1790
  header_params['content-type'] = 'application/json'
1742
1791
  header_params[:'opc-client-request-id'] = opts[:opc_client_request_id] if opts[:opc_client_request_id]
1792
+ # rubocop:enable Style/NegatedIf
1743
1793
 
1744
1794
  post_body = @api_client.object_to_http_body(update_namespace_metadata_details)
1745
1795
 
@@ -1781,7 +1831,7 @@ module OCI
1781
1831
  # @param [String, IO] upload_part_body The part being uploaded to the Object Storage Service.
1782
1832
  # @param [Hash] opts the optional parameters
1783
1833
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1784
- # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1834
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
1785
1835
  # @option opts [Integer] :content_length The content length of the body.
1786
1836
  # @option opts [String] :opc_client_request_id The client request ID for tracing.
1787
1837
  # @option opts [String] :if_match The entity tag to match. For creating and committing a multipart upload to an object, this is the entity tag of the target object.
@@ -1809,6 +1859,7 @@ module OCI
1809
1859
  path = '/n/{namespaceName}/b/{bucketName}/u/{objectName}'.sub('{namespaceName}', namespace_name.to_s).sub('{bucketName}', bucket_name.to_s).sub('{objectName}', object_name.to_s)
1810
1860
  operation_signing_strategy = :exclude_body
1811
1861
 
1862
+ # rubocop:disable Style/NegatedIf
1812
1863
  # Query Params
1813
1864
  query_params = {}
1814
1865
  query_params[:uploadId] = upload_id
@@ -1823,6 +1874,7 @@ module OCI
1823
1874
  header_params[:expect] = opts[:expect] if opts[:expect]
1824
1875
  header_params[:'content-length'] = opts[:content_length] if opts[:content_length]
1825
1876
  header_params[:'content-md5'] = opts[:content_md5] if opts[:content_md5]
1877
+ # rubocop:enable Style/NegatedIf
1826
1878
  header_params['content-type'] ||= 'application/octet-stream'
1827
1879
 
1828
1880
  post_body = @api_client.object_to_http_body(upload_part_body)