google-cloud-certificate_manager-v1 1.5.1 → 1.6.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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -5
  3. data/lib/google/cloud/certificate_manager/v1/bindings_override.rb +1 -1
  4. data/lib/google/cloud/certificate_manager/v1/certificate_manager/client.rb +156 -50
  5. data/lib/google/cloud/certificate_manager/v1/certificate_manager/credentials.rb +1 -1
  6. data/lib/google/cloud/certificate_manager/v1/certificate_manager/operations.rb +1 -1
  7. data/lib/google/cloud/certificate_manager/v1/certificate_manager/paths.rb +1 -1
  8. data/lib/google/cloud/certificate_manager/v1/certificate_manager/rest/client.rb +149 -50
  9. data/lib/google/cloud/certificate_manager/v1/certificate_manager/rest/operations.rb +1 -1
  10. data/lib/google/cloud/certificate_manager/v1/certificate_manager/rest/service_stub.rb +63 -1
  11. data/lib/google/cloud/certificate_manager/v1/certificate_manager/rest.rb +1 -1
  12. data/lib/google/cloud/certificate_manager/v1/certificate_manager.rb +1 -1
  13. data/lib/google/cloud/certificate_manager/v1/rest.rb +1 -1
  14. data/lib/google/cloud/certificate_manager/v1/version.rb +1 -1
  15. data/lib/google/cloud/certificate_manager/v1.rb +1 -1
  16. data/lib/google/cloud/certificatemanager/v1/certificate_issuance_config_pb.rb +3 -1
  17. data/lib/google/cloud/certificatemanager/v1/certificate_manager_pb.rb +8 -1
  18. data/lib/google/cloud/certificatemanager/v1/certificate_manager_services_pb.rb +3 -1
  19. data/lib/google/cloud/certificatemanager/v1/trust_config_pb.rb +2 -1
  20. data/lib/google-cloud-certificate_manager-v1.rb +1 -1
  21. data/proto_docs/google/api/client.rb +1 -1
  22. data/proto_docs/google/api/field_behavior.rb +1 -1
  23. data/proto_docs/google/api/field_info.rb +88 -0
  24. data/proto_docs/google/api/launch_stage.rb +1 -1
  25. data/proto_docs/google/api/resource.rb +1 -1
  26. data/proto_docs/google/cloud/certificatemanager/v1/certificate_issuance_config.rb +43 -13
  27. data/proto_docs/google/cloud/certificatemanager/v1/certificate_manager.rb +261 -74
  28. data/proto_docs/google/cloud/certificatemanager/v1/trust_config.rb +60 -16
  29. data/proto_docs/google/longrunning/operations.rb +1 -1
  30. data/proto_docs/google/protobuf/any.rb +1 -1
  31. data/proto_docs/google/protobuf/duration.rb +1 -1
  32. data/proto_docs/google/protobuf/empty.rb +1 -1
  33. data/proto_docs/google/protobuf/field_mask.rb +1 -1
  34. data/proto_docs/google/protobuf/timestamp.rb +8 -7
  35. data/proto_docs/google/rpc/status.rb +1 -1
  36. metadata +11 -9
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -374,17 +374,17 @@ module Google
374
374
  # Required. The project and location from which the certificate should be
375
375
  # listed, specified in the format `projects/*/locations/*`.
376
376
  # @param page_size [::Integer]
377
- # Maximum number of certificates to return per call.
377
+ # Optional. Maximum number of certificates to return per call.
378
378
  # @param page_token [::String]
379
- # The value returned by the last `ListCertificatesResponse`. Indicates that
380
- # this is a continuation of a prior `ListCertificates` call, and that the
381
- # system should return the next page of data.
379
+ # Optional. The value returned by the last `ListCertificatesResponse`.
380
+ # Indicates that this is a continuation of a prior `ListCertificates` call,
381
+ # and that the system should return the next page of data.
382
382
  # @param filter [::String]
383
- # Filter expression to restrict the Certificates returned.
383
+ # Optional. Filter expression to restrict the Certificates returned.
384
384
  # @param order_by [::String]
385
- # A list of Certificate field names used to specify the order of the returned
386
- # results. The default sorting order is ascending. To specify descending
387
- # order for a field, add a suffix `" desc"`.
385
+ # Optional. A list of Certificate field names used to specify the order of
386
+ # the returned results. The default sorting order is ascending. To specify
387
+ # descending order for a field, add a suffix `" desc"`.
388
388
  # @yield [result, operation] Access the result along with the TransportOperation object
389
389
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CertificateManager::V1::Certificate>]
390
390
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -821,16 +821,16 @@ module Google
821
821
  # Required. The project and location from which the certificate maps should
822
822
  # be listed, specified in the format `projects/*/locations/*`.
823
823
  # @param page_size [::Integer]
824
- # Maximum number of certificate maps to return per call.
824
+ # Optional. Maximum number of certificate maps to return per call.
825
825
  # @param page_token [::String]
826
- # The value returned by the last `ListCertificateMapsResponse`. Indicates
827
- # that this is a continuation of a prior `ListCertificateMaps` call, and that
828
- # the system should return the next page of data.
826
+ # Optional. The value returned by the last `ListCertificateMapsResponse`.
827
+ # Indicates that this is a continuation of a prior `ListCertificateMaps`
828
+ # call, and that the system should return the next page of data.
829
829
  # @param filter [::String]
830
- # Filter expression to restrict the Certificates Maps returned.
830
+ # Optional. Filter expression to restrict the Certificates Maps returned.
831
831
  # @param order_by [::String]
832
- # A list of Certificate Map field names used to specify the order of the
833
- # returned results. The default sorting order is ascending. To specify
832
+ # Optional. A list of Certificate Map field names used to specify the order
833
+ # of the returned results. The default sorting order is ascending. To specify
834
834
  # descending order for a field, add a suffix `" desc"`.
835
835
  # @yield [result, operation] Access the result along with the TransportOperation object
836
836
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CertificateManager::V1::CertificateMap>]
@@ -1271,19 +1271,20 @@ module Google
1271
1271
  # certificate map entries should be listed, specified in the format
1272
1272
  # `projects/*/locations/*/certificateMaps/*`.
1273
1273
  # @param page_size [::Integer]
1274
- # Maximum number of certificate map entries to return. The service may return
1275
- # fewer than this value.
1276
- # If unspecified, at most 50 certificate map entries will be returned.
1277
- # The maximum value is 1000; values above 1000 will be coerced to 1000.
1274
+ # Optional. Maximum number of certificate map entries to return. The service
1275
+ # may return fewer than this value. If unspecified, at most 50 certificate
1276
+ # map entries will be returned. The maximum value is 1000; values above 1000
1277
+ # will be coerced to 1000.
1278
1278
  # @param page_token [::String]
1279
- # The value returned by the last `ListCertificateMapEntriesResponse`.
1280
- # Indicates that this is a continuation of a prior
1281
- # `ListCertificateMapEntries` call, and that the system should return the
1282
- # next page of data.
1279
+ # Optional. The value returned by the last
1280
+ # `ListCertificateMapEntriesResponse`. Indicates that this is a continuation
1281
+ # of a prior `ListCertificateMapEntries` call, and that the system should
1282
+ # return the next page of data.
1283
1283
  # @param filter [::String]
1284
- # Filter expression to restrict the returned Certificate Map Entries.
1284
+ # Optional. Filter expression to restrict the returned Certificate Map
1285
+ # Entries.
1285
1286
  # @param order_by [::String]
1286
- # A list of Certificate Map Entry field names used to specify
1287
+ # Optional. A list of Certificate Map Entry field names used to specify
1287
1288
  # the order of the returned results. The default sorting order is ascending.
1288
1289
  # To specify descending order for a field, add a suffix `" desc"`.
1289
1290
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -1722,16 +1723,16 @@ module Google
1722
1723
  # Required. The project and location from which the dns authorizations should
1723
1724
  # be listed, specified in the format `projects/*/locations/*`.
1724
1725
  # @param page_size [::Integer]
1725
- # Maximum number of dns authorizations to return per call.
1726
+ # Optional. Maximum number of dns authorizations to return per call.
1726
1727
  # @param page_token [::String]
1727
- # The value returned by the last `ListDnsAuthorizationsResponse`. Indicates
1728
- # that this is a continuation of a prior `ListDnsAuthorizations` call, and
1729
- # that the system should return the next page of data.
1728
+ # Optional. The value returned by the last `ListDnsAuthorizationsResponse`.
1729
+ # Indicates that this is a continuation of a prior `ListDnsAuthorizations`
1730
+ # call, and that the system should return the next page of data.
1730
1731
  # @param filter [::String]
1731
- # Filter expression to restrict the Dns Authorizations returned.
1732
+ # Optional. Filter expression to restrict the Dns Authorizations returned.
1732
1733
  # @param order_by [::String]
1733
- # A list of Dns Authorization field names used to specify the order of the
1734
- # returned results. The default sorting order is ascending. To specify
1734
+ # Optional. A list of Dns Authorization field names used to specify the order
1735
+ # of the returned results. The default sorting order is ascending. To specify
1735
1736
  # descending order for a field, add a suffix `" desc"`.
1736
1737
  # @yield [result, operation] Access the result along with the TransportOperation object
1737
1738
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CertificateManager::V1::DnsAuthorization>]
@@ -2169,18 +2170,18 @@ module Google
2169
2170
  # Required. The project and location from which the certificate should be
2170
2171
  # listed, specified in the format `projects/*/locations/*`.
2171
2172
  # @param page_size [::Integer]
2172
- # Maximum number of certificate configs to return per call.
2173
+ # Optional. Maximum number of certificate configs to return per call.
2173
2174
  # @param page_token [::String]
2174
- # The value returned by the last `ListCertificateIssuanceConfigsResponse`.
2175
- # Indicates that this is a continuation of a prior
2176
- # `ListCertificateIssuanceConfigs` call, and that the system should return
2177
- # the next page of data.
2175
+ # Optional. The value returned by the last
2176
+ # `ListCertificateIssuanceConfigsResponse`. Indicates that this is a
2177
+ # continuation of a prior `ListCertificateIssuanceConfigs` call, and that the
2178
+ # system should return the next page of data.
2178
2179
  # @param filter [::String]
2179
- # Filter expression to restrict the Certificates Configs returned.
2180
+ # Optional. Filter expression to restrict the Certificates Configs returned.
2180
2181
  # @param order_by [::String]
2181
- # A list of Certificate Config field names used to specify the order of the
2182
- # returned results. The default sorting order is ascending. To specify
2183
- # descending order for a field, add a suffix `" desc"`.
2182
+ # Optional. A list of Certificate Config field names used to specify the
2183
+ # order of the returned results. The default sorting order is ascending. To
2184
+ # specify descending order for a field, add a suffix `" desc"`.
2184
2185
  # @yield [result, operation] Access the result along with the TransportOperation object
2185
2186
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig>]
2186
2187
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -2416,6 +2417,97 @@ module Google
2416
2417
  raise ::Google::Cloud::Error.from_error(e)
2417
2418
  end
2418
2419
 
2420
+ ##
2421
+ # Updates a CertificateIssuanceConfig.
2422
+ #
2423
+ # @overload update_certificate_issuance_config(request, options = nil)
2424
+ # Pass arguments to `update_certificate_issuance_config` via a request object, either of type
2425
+ # {::Google::Cloud::CertificateManager::V1::UpdateCertificateIssuanceConfigRequest} or an equivalent Hash.
2426
+ #
2427
+ # @param request [::Google::Cloud::CertificateManager::V1::UpdateCertificateIssuanceConfigRequest, ::Hash]
2428
+ # A request object representing the call parameters. Required. To specify no
2429
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
2430
+ # @param options [::Gapic::CallOptions, ::Hash]
2431
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2432
+ #
2433
+ # @overload update_certificate_issuance_config(certificate_issuance_config: nil, update_mask: nil)
2434
+ # Pass arguments to `update_certificate_issuance_config` via keyword arguments. Note that at
2435
+ # least one keyword argument is required. To specify no parameters, or to keep all
2436
+ # the default parameter values, pass an empty Hash as a request object (see above).
2437
+ #
2438
+ # @param certificate_issuance_config [::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig, ::Hash]
2439
+ # Required. A definition of the certificate issuance config to update.
2440
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
2441
+ # Required. The update mask applies to the resource. For the `FieldMask`
2442
+ # definition, see
2443
+ # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
2444
+ # @yield [result, operation] Access the result along with the TransportOperation object
2445
+ # @yieldparam result [::Gapic::Operation]
2446
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2447
+ #
2448
+ # @return [::Gapic::Operation]
2449
+ #
2450
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
2451
+ #
2452
+ # @example Basic example
2453
+ # require "google/cloud/certificate_manager/v1"
2454
+ #
2455
+ # # Create a client object. The client can be reused for multiple calls.
2456
+ # client = Google::Cloud::CertificateManager::V1::CertificateManager::Rest::Client.new
2457
+ #
2458
+ # # Create a request. To set request fields, pass in keyword arguments.
2459
+ # request = Google::Cloud::CertificateManager::V1::UpdateCertificateIssuanceConfigRequest.new
2460
+ #
2461
+ # # Call the update_certificate_issuance_config method.
2462
+ # result = client.update_certificate_issuance_config request
2463
+ #
2464
+ # # The returned object is of type Gapic::Operation. You can use it to
2465
+ # # check the status of an operation, cancel it, or wait for results.
2466
+ # # Here is how to wait for a response.
2467
+ # result.wait_until_done! timeout: 60
2468
+ # if result.response?
2469
+ # p result.response
2470
+ # else
2471
+ # puts "No response received."
2472
+ # end
2473
+ #
2474
+ def update_certificate_issuance_config request, options = nil
2475
+ raise ::ArgumentError, "request must be provided" if request.nil?
2476
+
2477
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::CertificateManager::V1::UpdateCertificateIssuanceConfigRequest
2478
+
2479
+ # Converts hash and nil to an options object
2480
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2481
+
2482
+ # Customize the options with defaults
2483
+ call_metadata = @config.rpcs.update_certificate_issuance_config.metadata.to_h
2484
+
2485
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2486
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2487
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
2488
+ gapic_version: ::Google::Cloud::CertificateManager::V1::VERSION,
2489
+ transports_version_send: [:rest]
2490
+
2491
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2492
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2493
+
2494
+ options.apply_defaults timeout: @config.rpcs.update_certificate_issuance_config.timeout,
2495
+ metadata: call_metadata,
2496
+ retry_policy: @config.rpcs.update_certificate_issuance_config.retry_policy
2497
+
2498
+ options.apply_defaults timeout: @config.timeout,
2499
+ metadata: @config.metadata,
2500
+ retry_policy: @config.retry_policy
2501
+
2502
+ @certificate_manager_stub.update_certificate_issuance_config request, options do |result, operation|
2503
+ result = ::Gapic::Operation.new result, @operations_client, options: options
2504
+ yield result, operation if block_given?
2505
+ throw :response, result
2506
+ end
2507
+ rescue ::Gapic::Rest::Error => e
2508
+ raise ::Google::Cloud::Error.from_error(e)
2509
+ end
2510
+
2419
2511
  ##
2420
2512
  # Deletes a single CertificateIssuanceConfig.
2421
2513
  #
@@ -2526,16 +2618,16 @@ module Google
2526
2618
  # Required. The project and location from which the TrustConfigs should be
2527
2619
  # listed, specified in the format `projects/*/locations/*`.
2528
2620
  # @param page_size [::Integer]
2529
- # Maximum number of TrustConfigs to return per call.
2621
+ # Optional. Maximum number of TrustConfigs to return per call.
2530
2622
  # @param page_token [::String]
2531
- # The value returned by the last `ListTrustConfigsResponse`. Indicates
2532
- # that this is a continuation of a prior `ListTrustConfigs` call, and that
2533
- # the system should return the next page of data.
2623
+ # Optional. The value returned by the last `ListTrustConfigsResponse`.
2624
+ # Indicates that this is a continuation of a prior `ListTrustConfigs` call,
2625
+ # and that the system should return the next page of data.
2534
2626
  # @param filter [::String]
2535
- # Filter expression to restrict the TrustConfigs returned.
2627
+ # Optional. Filter expression to restrict the TrustConfigs returned.
2536
2628
  # @param order_by [::String]
2537
- # A list of TrustConfig field names used to specify the order of the
2538
- # returned results. The default sorting order is ascending. To specify
2629
+ # Optional. A list of TrustConfig field names used to specify the order of
2630
+ # the returned results. The default sorting order is ascending. To specify
2539
2631
  # descending order for a field, add a suffix `" desc"`.
2540
2632
  # @yield [result, operation] Access the result along with the TransportOperation object
2541
2633
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CertificateManager::V1::TrustConfig>]
@@ -2886,7 +2978,7 @@ module Google
2886
2978
  # Required. A name of the TrustConfig to delete. Must be in the format
2887
2979
  # `projects/*/locations/*/trustConfigs/*`.
2888
2980
  # @param etag [::String]
2889
- # The current etag of the TrustConfig.
2981
+ # Optional. The current etag of the TrustConfig.
2890
2982
  # If an etag is provided and does not match the current etag of the resource,
2891
2983
  # deletion will be blocked and an ABORTED error will be returned.
2892
2984
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -3227,6 +3319,11 @@ module Google
3227
3319
  #
3228
3320
  attr_reader :create_certificate_issuance_config
3229
3321
  ##
3322
+ # RPC-specific configuration for `update_certificate_issuance_config`
3323
+ # @return [::Gapic::Config::Method]
3324
+ #
3325
+ attr_reader :update_certificate_issuance_config
3326
+ ##
3230
3327
  # RPC-specific configuration for `delete_certificate_issuance_config`
3231
3328
  # @return [::Gapic::Config::Method]
3232
3329
  #
@@ -3305,6 +3402,8 @@ module Google
3305
3402
  @get_certificate_issuance_config = ::Gapic::Config::Method.new get_certificate_issuance_config_config
3306
3403
  create_certificate_issuance_config_config = parent_rpcs.create_certificate_issuance_config if parent_rpcs.respond_to? :create_certificate_issuance_config
3307
3404
  @create_certificate_issuance_config = ::Gapic::Config::Method.new create_certificate_issuance_config_config
3405
+ update_certificate_issuance_config_config = parent_rpcs.update_certificate_issuance_config if parent_rpcs.respond_to? :update_certificate_issuance_config
3406
+ @update_certificate_issuance_config = ::Gapic::Config::Method.new update_certificate_issuance_config_config
3308
3407
  delete_certificate_issuance_config_config = parent_rpcs.delete_certificate_issuance_config if parent_rpcs.respond_to? :delete_certificate_issuance_config
3309
3408
  @delete_certificate_issuance_config = ::Gapic::Config::Method.new delete_certificate_issuance_config_config
3310
3409
  list_trust_configs_config = parent_rpcs.list_trust_configs if parent_rpcs.respond_to? :list_trust_configs
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -993,6 +993,46 @@ module Google
993
993
  end
994
994
  end
995
995
 
996
+ ##
997
+ # Baseline implementation for the update_certificate_issuance_config REST call
998
+ #
999
+ # @param request_pb [::Google::Cloud::CertificateManager::V1::UpdateCertificateIssuanceConfigRequest]
1000
+ # A request object representing the call parameters. Required.
1001
+ # @param options [::Gapic::CallOptions]
1002
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1003
+ #
1004
+ # @yield [result, operation] Access the result along with the TransportOperation object
1005
+ # @yieldparam result [::Google::Longrunning::Operation]
1006
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1007
+ #
1008
+ # @return [::Google::Longrunning::Operation]
1009
+ # A result object deserialized from the server's reply
1010
+ def update_certificate_issuance_config request_pb, options = nil
1011
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
1012
+
1013
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_certificate_issuance_config_request request_pb
1014
+ query_string_params = if query_string_params.any?
1015
+ query_string_params.to_h { |p| p.split "=", 2 }
1016
+ else
1017
+ {}
1018
+ end
1019
+
1020
+ response = @client_stub.make_http_request(
1021
+ verb,
1022
+ uri: uri,
1023
+ body: body || "",
1024
+ params: query_string_params,
1025
+ method_name: "update_certificate_issuance_config",
1026
+ options: options
1027
+ )
1028
+ operation = ::Gapic::Rest::TransportOperation.new response
1029
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
1030
+ catch :response do
1031
+ yield result, operation if block_given?
1032
+ result
1033
+ end
1034
+ end
1035
+
996
1036
  ##
997
1037
  # Baseline implementation for the delete_certificate_issuance_config REST call
998
1038
  #
@@ -1725,6 +1765,28 @@ module Google
1725
1765
  transcoder.transcode request_pb
1726
1766
  end
1727
1767
 
1768
+ ##
1769
+ # @private
1770
+ #
1771
+ # GRPC transcoding helper method for the update_certificate_issuance_config REST call
1772
+ #
1773
+ # @param request_pb [::Google::Cloud::CertificateManager::V1::UpdateCertificateIssuanceConfigRequest]
1774
+ # A request object representing the call parameters. Required.
1775
+ # @return [Array(String, [String, nil], Hash{String => String})]
1776
+ # Uri, Body, Query string parameters
1777
+ def self.transcode_update_certificate_issuance_config_request request_pb
1778
+ transcoder = Gapic::Rest::GrpcTranscoder.new
1779
+ .with_bindings(
1780
+ uri_method: :patch,
1781
+ uri_template: "/v1/{certificate_issuance_config.name}",
1782
+ body: "certificate_issuance_config",
1783
+ matches: [
1784
+ ["certificate_issuance_config.name", %r{^projects/[^/]+/locations/[^/]+/certificateIssuanceConfigs/[^/]+/?$}, false]
1785
+ ]
1786
+ )
1787
+ transcoder.transcode request_pb
1788
+ end
1789
+
1728
1790
  ##
1729
1791
  # @private
1730
1792
  #
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module CertificateManager
23
23
  module V1
24
- VERSION = "1.5.1"
24
+ VERSION = "1.6.0"
25
25
  end
26
26
  end
27
27
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -7,10 +7,11 @@ require 'google/protobuf'
7
7
  require 'google/api/field_behavior_pb'
8
8
  require 'google/api/resource_pb'
9
9
  require 'google/protobuf/duration_pb'
10
+ require 'google/protobuf/field_mask_pb'
10
11
  require 'google/protobuf/timestamp_pb'
11
12
 
12
13
 
13
- descriptor_data = "\nDgoogle/cloud/certificatemanager/v1/certificate_issuance_config.proto\x12\"google.cloud.certificatemanager.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xab\x01\n%ListCertificateIssuanceConfigsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\xbb\x01\n&ListCertificateIssuanceConfigsResponse\x12\x63\n\x1c\x63\x65rtificate_issuance_configs\x18\x01 \x03(\x0b\x32=.google.cloud.certificatemanager.v1.CertificateIssuanceConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"x\n#GetCertificateIssuanceConfigRequest\x12Q\n\x04name\x18\x01 \x01(\tBC\xe0\x41\x02\xfa\x41=\n;certificatemanager.googleapis.com/CertificateIssuanceConfig\"\xf9\x01\n&CreateCertificateIssuanceConfigRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12+\n\x1e\x63\x65rtificate_issuance_config_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12g\n\x1b\x63\x65rtificate_issuance_config\x18\x03 \x01(\x0b\x32=.google.cloud.certificatemanager.v1.CertificateIssuanceConfigB\x03\xe0\x41\x02\"{\n&DeleteCertificateIssuanceConfigRequest\x12Q\n\x04name\x18\x01 \x01(\tBC\xe0\x41\x02\xfa\x41=\n;certificatemanager.googleapis.com/CertificateIssuanceConfig\"\xa3\t\n\x19\x43\x65rtificateIssuanceConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12Y\n\x06labels\x18\x04 \x03(\x0b\x32I.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x83\x01\n\x1c\x63\x65rtificate_authority_config\x18\x06 \x01(\x0b\x32X.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfigB\x03\xe0\x41\x02\x12\x30\n\x08lifetime\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12\'\n\x1arotation_window_percentage\x18\x08 \x01(\x05\x42\x03\xe0\x41\x02\x12\x66\n\rkey_algorithm\x18\t \x01(\x0e\x32J.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithmB\x03\xe0\x41\x02\x1a\xb0\x02\n\x1a\x43\x65rtificateAuthorityConfig\x12\xaa\x01\n$certificate_authority_service_config\x18\x01 \x01(\x0b\x32z.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfigH\x00\x1a]\n!CertificateAuthorityServiceConfig\x12\x38\n\x07\x63\x61_pool\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fprivateca.googleapis.com/CaPoolB\x06\n\x04kind\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"K\n\x0cKeyAlgorithm\x12\x1d\n\x19KEY_ALGORITHM_UNSPECIFIED\x10\x00\x12\x0c\n\x08RSA_2048\x10\x01\x12\x0e\n\nECDSA_P256\x10\x04:\xa3\x01\xea\x41\x9f\x01\n;certificatemanager.googleapis.com/CertificateIssuanceConfig\x12`projects/{project}/locations/{location}/certificateIssuanceConfigs/{certificate_issuance_config}B\xf3\x02\n&com.google.cloud.certificatemanager.v1B\x1e\x43\x65rtificateIssuanceConfigProtoP\x01ZVcloud.google.com/go/certificatemanager/apiv1/certificatemanagerpb;certificatemanagerpb\xaa\x02\"Google.Cloud.CertificateManager.V1\xca\x02\"Google\\Cloud\\CertificateManager\\V1\xea\x02%Google::Cloud::CertificateManager::V1\xea\x41\\\n\x1fprivateca.googleapis.com/CaPool\x12\x39projects/{project}/locations/{location}/caPools/{ca_pool}b\x06proto3"
14
+ descriptor_data = "\nDgoogle/cloud/certificatemanager/v1/certificate_issuance_config.proto\x12\"google.cloud.certificatemanager.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc4\x01\n%ListCertificateIssuanceConfigsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"\xbb\x01\n&ListCertificateIssuanceConfigsResponse\x12\x63\n\x1c\x63\x65rtificate_issuance_configs\x18\x01 \x03(\x0b\x32=.google.cloud.certificatemanager.v1.CertificateIssuanceConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"y\n#GetCertificateIssuanceConfigRequest\x12R\n\x04name\x18\x01 \x01(\tBD\xe2\x41\x01\x02\xfa\x41=\n;certificatemanager.googleapis.com/CertificateIssuanceConfig\"\xfc\x01\n&CreateCertificateIssuanceConfigRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12,\n\x1e\x63\x65rtificate_issuance_config_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12h\n\x1b\x63\x65rtificate_issuance_config\x18\x03 \x01(\x0b\x32=.google.cloud.certificatemanager.v1.CertificateIssuanceConfigB\x04\xe2\x41\x01\x02\"\xc9\x01\n&UpdateCertificateIssuanceConfigRequest\x12h\n\x1b\x63\x65rtificate_issuance_config\x18\x01 \x01(\x0b\x32=.google.cloud.certificatemanager.v1.CertificateIssuanceConfigB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\"|\n&DeleteCertificateIssuanceConfigRequest\x12R\n\x04name\x18\x01 \x01(\tBD\xe2\x41\x01\x02\xfa\x41=\n;certificatemanager.googleapis.com/CertificateIssuanceConfig\"\xff\n\n\x19\x43\x65rtificateIssuanceConfig\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x35\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12_\n\x06labels\x18\x04 \x03(\x0b\x32I.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.LabelsEntryB\x04\xe2\x41\x01\x01\x12\x19\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12\x84\x01\n\x1c\x63\x65rtificate_authority_config\x18\x06 \x01(\x0b\x32X.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfigB\x04\xe2\x41\x01\x02\x12\x31\n\x08lifetime\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x02\x12(\n\x1arotation_window_percentage\x18\x08 \x01(\x05\x42\x04\xe2\x41\x01\x02\x12g\n\rkey_algorithm\x18\t \x01(\x0e\x32J.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithmB\x04\xe2\x41\x01\x02\x12]\n\x04tags\x18\n \x03(\x0b\x32G.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.TagsEntryB\x06\xe2\x41\x03\x04\x05\x01\x1a\xb1\x02\n\x1a\x43\x65rtificateAuthorityConfig\x12\xaa\x01\n$certificate_authority_service_config\x18\x01 \x01(\x0b\x32z.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfigH\x00\x1a^\n!CertificateAuthorityServiceConfig\x12\x39\n\x07\x63\x61_pool\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1fprivateca.googleapis.com/CaPoolB\x06\n\x04kind\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"K\n\x0cKeyAlgorithm\x12\x1d\n\x19KEY_ALGORITHM_UNSPECIFIED\x10\x00\x12\x0c\n\x08RSA_2048\x10\x01\x12\x0e\n\nECDSA_P256\x10\x04:\xda\x01\xea\x41\xd6\x01\n;certificatemanager.googleapis.com/CertificateIssuanceConfig\x12`projects/{project}/locations/{location}/certificateIssuanceConfigs/{certificate_issuance_config}*\x1a\x63\x65rtificateIssuanceConfigs2\x19\x63\x65rtificateIssuanceConfigB\xf3\x02\n&com.google.cloud.certificatemanager.v1B\x1e\x43\x65rtificateIssuanceConfigProtoP\x01ZVcloud.google.com/go/certificatemanager/apiv1/certificatemanagerpb;certificatemanagerpb\xaa\x02\"Google.Cloud.CertificateManager.V1\xca\x02\"Google\\Cloud\\CertificateManager\\V1\xea\x02%Google::Cloud::CertificateManager::V1\xea\x41\\\n\x1fprivateca.googleapis.com/CaPool\x12\x39projects/{project}/locations/{location}/caPools/{ca_pool}b\x06proto3"
14
15
 
15
16
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
16
17
  pool.add_serialized_file(descriptor_data)
@@ -23,6 +24,7 @@ module Google
23
24
  ListCertificateIssuanceConfigsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse").msgclass
24
25
  GetCertificateIssuanceConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest").msgclass
25
26
  CreateCertificateIssuanceConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest").msgclass
27
+ UpdateCertificateIssuanceConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.UpdateCertificateIssuanceConfigRequest").msgclass
26
28
  DeleteCertificateIssuanceConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest").msgclass
27
29
  CertificateIssuanceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.CertificateIssuanceConfig").msgclass
28
30
  CertificateIssuanceConfig::CertificateAuthorityConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig").msgclass