google-cloud-sql-v1 0.8.0 → 0.9.0

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.
@@ -522,6 +522,266 @@ module Google
522
522
  raise ::Google::Cloud::Error.from_error(e)
523
523
  end
524
524
 
525
+ ##
526
+ # Upload and update customer managed certificate bundle for an existing Cloud
527
+ # SQL instance.
528
+ #
529
+ # @overload update_customer_managed_certificate(request, options = nil)
530
+ # Pass arguments to `update_customer_managed_certificate` via a request object, either of type
531
+ # {::Google::Cloud::Sql::V1::UpdateCustomerManagedCertificateRequest} or an equivalent Hash.
532
+ #
533
+ # @param request [::Google::Cloud::Sql::V1::UpdateCustomerManagedCertificateRequest, ::Hash]
534
+ # A request object representing the call parameters. Required. To specify no
535
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
536
+ # @param options [::Gapic::CallOptions, ::Hash]
537
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
538
+ #
539
+ # @overload update_customer_managed_certificate(instance: nil, project: nil, customer_managed_certificate_config: nil, update_mask: nil, allow_missing: nil, certificate_bundle: nil)
540
+ # Pass arguments to `update_customer_managed_certificate` via keyword arguments. Note that at
541
+ # least one keyword argument is required. To specify no parameters, or to keep all
542
+ # the default parameter values, pass an empty Hash as a request object (see above).
543
+ #
544
+ # @param instance [::String]
545
+ # Required. Cloud SQL instance ID. This does not include the project ID.
546
+ # @param project [::String]
547
+ # Required. Project ID of the project that contains the instance.
548
+ # @param customer_managed_certificate_config [::Google::Cloud::Sql::V1::CustomerManagedCertificateConfig, ::Hash]
549
+ # Required. The customer managed certificate bundle SSL configuration to
550
+ # update.
551
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
552
+ # Optional. The list of fields to be updated.
553
+ # @param allow_missing [::Boolean]
554
+ # Optional. If set to true, and the customer managed certificate bundle
555
+ # configuration is not found, a new customer managed certificate bundle
556
+ # configuration will be created. In this situation, `update_mask` is ignored.
557
+ # @param certificate_bundle [::String]
558
+ # Required. Name tag of the customer managed certificate bundle to update. It
559
+ # must start with a letter, be alphanumeric, and have a maximum length of 10
560
+ # characters.
561
+ # @yield [result, operation] Access the result along with the TransportOperation object
562
+ # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
563
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
564
+ #
565
+ # @return [::Google::Cloud::Sql::V1::Operation]
566
+ #
567
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
568
+ #
569
+ # @example Basic example
570
+ # require "google/cloud/sql/v1"
571
+ #
572
+ # # Create a client object. The client can be reused for multiple calls.
573
+ # client = Google::Cloud::Sql::V1::SqlSslCertsService::Rest::Client.new
574
+ #
575
+ # # Create a request. To set request fields, pass in keyword arguments.
576
+ # request = Google::Cloud::Sql::V1::UpdateCustomerManagedCertificateRequest.new
577
+ #
578
+ # # Call the update_customer_managed_certificate method.
579
+ # result = client.update_customer_managed_certificate request
580
+ #
581
+ # # The returned object is of type Google::Cloud::Sql::V1::Operation.
582
+ # p result
583
+ #
584
+ def update_customer_managed_certificate request, options = nil
585
+ raise ::ArgumentError, "request must be provided" if request.nil?
586
+
587
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Sql::V1::UpdateCustomerManagedCertificateRequest
588
+
589
+ # Converts hash and nil to an options object
590
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
591
+
592
+ # Customize the options with defaults
593
+ call_metadata = @config.rpcs.update_customer_managed_certificate.metadata.to_h
594
+
595
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
596
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
597
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
598
+ gapic_version: ::Google::Cloud::Sql::V1::VERSION,
599
+ transports_version_send: [:rest]
600
+
601
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
602
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
603
+
604
+ options.apply_defaults timeout: @config.rpcs.update_customer_managed_certificate.timeout,
605
+ metadata: call_metadata,
606
+ retry_policy: @config.rpcs.update_customer_managed_certificate.retry_policy
607
+
608
+ options.apply_defaults timeout: @config.timeout,
609
+ metadata: @config.metadata,
610
+ retry_policy: @config.retry_policy
611
+
612
+ @sql_ssl_certs_service_stub.update_customer_managed_certificate request, options do |result, operation|
613
+ yield result, operation if block_given?
614
+ end
615
+ rescue ::Gapic::Rest::Error => e
616
+ raise ::Google::Cloud::Error.from_error(e)
617
+ end
618
+
619
+ ##
620
+ # Delete customer managed certificate bundle for an existing Cloud SQL
621
+ # instance.
622
+ #
623
+ # @overload delete_customer_managed_certificate(request, options = nil)
624
+ # Pass arguments to `delete_customer_managed_certificate` via a request object, either of type
625
+ # {::Google::Cloud::Sql::V1::DeleteCustomerManagedCertificateRequest} or an equivalent Hash.
626
+ #
627
+ # @param request [::Google::Cloud::Sql::V1::DeleteCustomerManagedCertificateRequest, ::Hash]
628
+ # A request object representing the call parameters. Required. To specify no
629
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
630
+ # @param options [::Gapic::CallOptions, ::Hash]
631
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
632
+ #
633
+ # @overload delete_customer_managed_certificate(instance: nil, project: nil, certificate_bundle: nil)
634
+ # Pass arguments to `delete_customer_managed_certificate` via keyword arguments. Note that at
635
+ # least one keyword argument is required. To specify no parameters, or to keep all
636
+ # the default parameter values, pass an empty Hash as a request object (see above).
637
+ #
638
+ # @param instance [::String]
639
+ # Required. Cloud SQL instance ID. This does not include the project ID.
640
+ # @param project [::String]
641
+ # Required. Project ID of the project that contains the instance.
642
+ # @param certificate_bundle [::String]
643
+ # Required. Name tag of the customer managed certificate bundle to delete. It
644
+ # must start with a letter, be alphanumeric, and have a maximum length of 10
645
+ # characters.
646
+ # @yield [result, operation] Access the result along with the TransportOperation object
647
+ # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
648
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
649
+ #
650
+ # @return [::Google::Cloud::Sql::V1::Operation]
651
+ #
652
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
653
+ #
654
+ # @example Basic example
655
+ # require "google/cloud/sql/v1"
656
+ #
657
+ # # Create a client object. The client can be reused for multiple calls.
658
+ # client = Google::Cloud::Sql::V1::SqlSslCertsService::Rest::Client.new
659
+ #
660
+ # # Create a request. To set request fields, pass in keyword arguments.
661
+ # request = Google::Cloud::Sql::V1::DeleteCustomerManagedCertificateRequest.new
662
+ #
663
+ # # Call the delete_customer_managed_certificate method.
664
+ # result = client.delete_customer_managed_certificate request
665
+ #
666
+ # # The returned object is of type Google::Cloud::Sql::V1::Operation.
667
+ # p result
668
+ #
669
+ def delete_customer_managed_certificate request, options = nil
670
+ raise ::ArgumentError, "request must be provided" if request.nil?
671
+
672
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Sql::V1::DeleteCustomerManagedCertificateRequest
673
+
674
+ # Converts hash and nil to an options object
675
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
676
+
677
+ # Customize the options with defaults
678
+ call_metadata = @config.rpcs.delete_customer_managed_certificate.metadata.to_h
679
+
680
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
681
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
682
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
683
+ gapic_version: ::Google::Cloud::Sql::V1::VERSION,
684
+ transports_version_send: [:rest]
685
+
686
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
687
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
688
+
689
+ options.apply_defaults timeout: @config.rpcs.delete_customer_managed_certificate.timeout,
690
+ metadata: call_metadata,
691
+ retry_policy: @config.rpcs.delete_customer_managed_certificate.retry_policy
692
+
693
+ options.apply_defaults timeout: @config.timeout,
694
+ metadata: @config.metadata,
695
+ retry_policy: @config.retry_policy
696
+
697
+ @sql_ssl_certs_service_stub.delete_customer_managed_certificate request, options do |result, operation|
698
+ yield result, operation if block_given?
699
+ end
700
+ rescue ::Gapic::Rest::Error => e
701
+ raise ::Google::Cloud::Error.from_error(e)
702
+ end
703
+
704
+ ##
705
+ # List all customer managed certificate bundles for an existing Cloud SQL
706
+ # instance.
707
+ #
708
+ # @overload list_customer_managed_certificates(request, options = nil)
709
+ # Pass arguments to `list_customer_managed_certificates` via a request object, either of type
710
+ # {::Google::Cloud::Sql::V1::ListCustomerManagedCertificatesRequest} or an equivalent Hash.
711
+ #
712
+ # @param request [::Google::Cloud::Sql::V1::ListCustomerManagedCertificatesRequest, ::Hash]
713
+ # A request object representing the call parameters. Required. To specify no
714
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
715
+ # @param options [::Gapic::CallOptions, ::Hash]
716
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
717
+ #
718
+ # @overload list_customer_managed_certificates(instance: nil, project: nil)
719
+ # Pass arguments to `list_customer_managed_certificates` via keyword arguments. Note that at
720
+ # least one keyword argument is required. To specify no parameters, or to keep all
721
+ # the default parameter values, pass an empty Hash as a request object (see above).
722
+ #
723
+ # @param instance [::String]
724
+ # Required. Cloud SQL instance ID. This does not include the project ID.
725
+ # @param project [::String]
726
+ # Required. Project ID of the project that contains the instance.
727
+ # @yield [result, operation] Access the result along with the TransportOperation object
728
+ # @yieldparam result [::Google::Cloud::Sql::V1::ListCustomerManagedCertificatesResponse]
729
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
730
+ #
731
+ # @return [::Google::Cloud::Sql::V1::ListCustomerManagedCertificatesResponse]
732
+ #
733
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
734
+ #
735
+ # @example Basic example
736
+ # require "google/cloud/sql/v1"
737
+ #
738
+ # # Create a client object. The client can be reused for multiple calls.
739
+ # client = Google::Cloud::Sql::V1::SqlSslCertsService::Rest::Client.new
740
+ #
741
+ # # Create a request. To set request fields, pass in keyword arguments.
742
+ # request = Google::Cloud::Sql::V1::ListCustomerManagedCertificatesRequest.new
743
+ #
744
+ # # Call the list_customer_managed_certificates method.
745
+ # result = client.list_customer_managed_certificates request
746
+ #
747
+ # # The returned object is of type Google::Cloud::Sql::V1::ListCustomerManagedCertificatesResponse.
748
+ # p result
749
+ #
750
+ def list_customer_managed_certificates request, options = nil
751
+ raise ::ArgumentError, "request must be provided" if request.nil?
752
+
753
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Sql::V1::ListCustomerManagedCertificatesRequest
754
+
755
+ # Converts hash and nil to an options object
756
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
757
+
758
+ # Customize the options with defaults
759
+ call_metadata = @config.rpcs.list_customer_managed_certificates.metadata.to_h
760
+
761
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
762
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
763
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
764
+ gapic_version: ::Google::Cloud::Sql::V1::VERSION,
765
+ transports_version_send: [:rest]
766
+
767
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
768
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
769
+
770
+ options.apply_defaults timeout: @config.rpcs.list_customer_managed_certificates.timeout,
771
+ metadata: call_metadata,
772
+ retry_policy: @config.rpcs.list_customer_managed_certificates.retry_policy
773
+
774
+ options.apply_defaults timeout: @config.timeout,
775
+ metadata: @config.metadata,
776
+ retry_policy: @config.retry_policy
777
+
778
+ @sql_ssl_certs_service_stub.list_customer_managed_certificates request, options do |result, operation|
779
+ yield result, operation if block_given?
780
+ end
781
+ rescue ::Gapic::Rest::Error => e
782
+ raise ::Google::Cloud::Error.from_error(e)
783
+ end
784
+
525
785
  ##
526
786
  # Configuration class for the SqlSslCertsService REST API.
527
787
  #
@@ -690,6 +950,21 @@ module Google
690
950
  # @return [::Gapic::Config::Method]
691
951
  #
692
952
  attr_reader :list
953
+ ##
954
+ # RPC-specific configuration for `update_customer_managed_certificate`
955
+ # @return [::Gapic::Config::Method]
956
+ #
957
+ attr_reader :update_customer_managed_certificate
958
+ ##
959
+ # RPC-specific configuration for `delete_customer_managed_certificate`
960
+ # @return [::Gapic::Config::Method]
961
+ #
962
+ attr_reader :delete_customer_managed_certificate
963
+ ##
964
+ # RPC-specific configuration for `list_customer_managed_certificates`
965
+ # @return [::Gapic::Config::Method]
966
+ #
967
+ attr_reader :list_customer_managed_certificates
693
968
 
694
969
  # @private
695
970
  def initialize parent_rpcs = nil
@@ -701,6 +976,12 @@ module Google
701
976
  @insert = ::Gapic::Config::Method.new insert_config
702
977
  list_config = parent_rpcs.list if parent_rpcs.respond_to? :list
703
978
  @list = ::Gapic::Config::Method.new list_config
979
+ update_customer_managed_certificate_config = parent_rpcs.update_customer_managed_certificate if parent_rpcs.respond_to? :update_customer_managed_certificate
980
+ @update_customer_managed_certificate = ::Gapic::Config::Method.new update_customer_managed_certificate_config
981
+ delete_customer_managed_certificate_config = parent_rpcs.delete_customer_managed_certificate if parent_rpcs.respond_to? :delete_customer_managed_certificate
982
+ @delete_customer_managed_certificate = ::Gapic::Config::Method.new delete_customer_managed_certificate_config
983
+ list_customer_managed_certificates_config = parent_rpcs.list_customer_managed_certificates if parent_rpcs.respond_to? :list_customer_managed_certificates
984
+ @list_customer_managed_certificates = ::Gapic::Config::Method.new list_customer_managed_certificates_config
704
985
 
705
986
  yield self if block_given?
706
987
  end
@@ -233,6 +233,126 @@ module Google
233
233
  end
234
234
  end
235
235
 
236
+ ##
237
+ # Baseline implementation for the update_customer_managed_certificate REST call
238
+ #
239
+ # @param request_pb [::Google::Cloud::Sql::V1::UpdateCustomerManagedCertificateRequest]
240
+ # A request object representing the call parameters. Required.
241
+ # @param options [::Gapic::CallOptions]
242
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
243
+ #
244
+ # @yield [result, operation] Access the result along with the TransportOperation object
245
+ # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
246
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
247
+ #
248
+ # @return [::Google::Cloud::Sql::V1::Operation]
249
+ # A result object deserialized from the server's reply
250
+ def update_customer_managed_certificate request_pb, options = nil
251
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
252
+
253
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_customer_managed_certificate_request request_pb
254
+ query_string_params = if query_string_params.any?
255
+ query_string_params.to_h { |p| p.split "=", 2 }
256
+ else
257
+ {}
258
+ end
259
+
260
+ response = @client_stub.make_http_request(
261
+ verb,
262
+ uri: uri,
263
+ body: body || "",
264
+ params: query_string_params,
265
+ method_name: "update_customer_managed_certificate",
266
+ options: options
267
+ )
268
+ operation = ::Gapic::Rest::TransportOperation.new response
269
+ result = ::Google::Cloud::Sql::V1::Operation.decode_json response.body, ignore_unknown_fields: true
270
+ catch :response do
271
+ yield result, operation if block_given?
272
+ result
273
+ end
274
+ end
275
+
276
+ ##
277
+ # Baseline implementation for the delete_customer_managed_certificate REST call
278
+ #
279
+ # @param request_pb [::Google::Cloud::Sql::V1::DeleteCustomerManagedCertificateRequest]
280
+ # A request object representing the call parameters. Required.
281
+ # @param options [::Gapic::CallOptions]
282
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
283
+ #
284
+ # @yield [result, operation] Access the result along with the TransportOperation object
285
+ # @yieldparam result [::Google::Cloud::Sql::V1::Operation]
286
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
287
+ #
288
+ # @return [::Google::Cloud::Sql::V1::Operation]
289
+ # A result object deserialized from the server's reply
290
+ def delete_customer_managed_certificate request_pb, options = nil
291
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
292
+
293
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_customer_managed_certificate_request request_pb
294
+ query_string_params = if query_string_params.any?
295
+ query_string_params.to_h { |p| p.split "=", 2 }
296
+ else
297
+ {}
298
+ end
299
+
300
+ response = @client_stub.make_http_request(
301
+ verb,
302
+ uri: uri,
303
+ body: body || "",
304
+ params: query_string_params,
305
+ method_name: "delete_customer_managed_certificate",
306
+ options: options
307
+ )
308
+ operation = ::Gapic::Rest::TransportOperation.new response
309
+ result = ::Google::Cloud::Sql::V1::Operation.decode_json response.body, ignore_unknown_fields: true
310
+ catch :response do
311
+ yield result, operation if block_given?
312
+ result
313
+ end
314
+ end
315
+
316
+ ##
317
+ # Baseline implementation for the list_customer_managed_certificates REST call
318
+ #
319
+ # @param request_pb [::Google::Cloud::Sql::V1::ListCustomerManagedCertificatesRequest]
320
+ # A request object representing the call parameters. Required.
321
+ # @param options [::Gapic::CallOptions]
322
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
323
+ #
324
+ # @yield [result, operation] Access the result along with the TransportOperation object
325
+ # @yieldparam result [::Google::Cloud::Sql::V1::ListCustomerManagedCertificatesResponse]
326
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
327
+ #
328
+ # @return [::Google::Cloud::Sql::V1::ListCustomerManagedCertificatesResponse]
329
+ # A result object deserialized from the server's reply
330
+ def list_customer_managed_certificates request_pb, options = nil
331
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
332
+
333
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_customer_managed_certificates_request request_pb
334
+ query_string_params = if query_string_params.any?
335
+ query_string_params.to_h { |p| p.split "=", 2 }
336
+ else
337
+ {}
338
+ end
339
+
340
+ response = @client_stub.make_http_request(
341
+ verb,
342
+ uri: uri,
343
+ body: body || "",
344
+ params: query_string_params,
345
+ method_name: "list_customer_managed_certificates",
346
+ options: options
347
+ )
348
+ operation = ::Gapic::Rest::TransportOperation.new response
349
+ result = ::Google::Cloud::Sql::V1::ListCustomerManagedCertificatesResponse.decode_json response.body, ignore_unknown_fields: true
350
+ catch :response do
351
+ yield result, operation if block_given?
352
+ result
353
+ end
354
+ end
355
+
236
356
  ##
237
357
  # @private
238
358
  #
@@ -323,6 +443,75 @@ module Google
323
443
  )
324
444
  transcoder.transcode request_pb
325
445
  end
446
+
447
+ ##
448
+ # @private
449
+ #
450
+ # GRPC transcoding helper method for the update_customer_managed_certificate REST call
451
+ #
452
+ # @param request_pb [::Google::Cloud::Sql::V1::UpdateCustomerManagedCertificateRequest]
453
+ # A request object representing the call parameters. Required.
454
+ # @return [Array(String, [String, nil], Hash{String => String})]
455
+ # Uri, Body, Query string parameters
456
+ def self.transcode_update_customer_managed_certificate_request request_pb
457
+ transcoder = Gapic::Rest::GrpcTranscoder.new
458
+ .with_bindings(
459
+ uri_method: :patch,
460
+ uri_template: "/v1/projects/{project}/instances/{instance}/customerManagedCertificates/{certificate_bundle}",
461
+ body: "*",
462
+ matches: [
463
+ ["project", %r{^[^/]+/?$}, false],
464
+ ["instance", %r{^[^/]+/?$}, false],
465
+ ["certificate_bundle", %r{^[^/]+/?$}, false]
466
+ ]
467
+ )
468
+ transcoder.transcode request_pb
469
+ end
470
+
471
+ ##
472
+ # @private
473
+ #
474
+ # GRPC transcoding helper method for the delete_customer_managed_certificate REST call
475
+ #
476
+ # @param request_pb [::Google::Cloud::Sql::V1::DeleteCustomerManagedCertificateRequest]
477
+ # A request object representing the call parameters. Required.
478
+ # @return [Array(String, [String, nil], Hash{String => String})]
479
+ # Uri, Body, Query string parameters
480
+ def self.transcode_delete_customer_managed_certificate_request request_pb
481
+ transcoder = Gapic::Rest::GrpcTranscoder.new
482
+ .with_bindings(
483
+ uri_method: :delete,
484
+ uri_template: "/v1/projects/{project}/instances/{instance}/customerManagedCertificates/{certificate_bundle}",
485
+ matches: [
486
+ ["project", %r{^[^/]+/?$}, false],
487
+ ["instance", %r{^[^/]+/?$}, false],
488
+ ["certificate_bundle", %r{^[^/]+/?$}, false]
489
+ ]
490
+ )
491
+ transcoder.transcode request_pb
492
+ end
493
+
494
+ ##
495
+ # @private
496
+ #
497
+ # GRPC transcoding helper method for the list_customer_managed_certificates REST call
498
+ #
499
+ # @param request_pb [::Google::Cloud::Sql::V1::ListCustomerManagedCertificatesRequest]
500
+ # A request object representing the call parameters. Required.
501
+ # @return [Array(String, [String, nil], Hash{String => String})]
502
+ # Uri, Body, Query string parameters
503
+ def self.transcode_list_customer_managed_certificates_request request_pb
504
+ transcoder = Gapic::Rest::GrpcTranscoder.new
505
+ .with_bindings(
506
+ uri_method: :get,
507
+ uri_template: "/v1/projects/{project}/instances/{instance}/customerManagedCertificates",
508
+ matches: [
509
+ ["project", %r{^[^/]+/?$}, false],
510
+ ["instance", %r{^[^/]+/?$}, false]
511
+ ]
512
+ )
513
+ transcoder.transcode request_pb
514
+ end
326
515
  end
327
516
  end
328
517
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Sql
23
23
  module V1
24
- VERSION = "0.8.0"
24
+ VERSION = "0.9.0"
25
25
  end
26
26
  end
27
27
  end