google-cloud-security-private_ca-v1 0.5.0 → 0.7.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.
@@ -0,0 +1,58 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/rest"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/security/private_ca/v1/version"
24
+ require "google/cloud/security/private_ca/v1/bindings_override"
25
+
26
+ require "google/cloud/security/private_ca/v1/certificate_authority_service/credentials"
27
+ require "google/cloud/security/private_ca/v1/certificate_authority_service/paths"
28
+ require "google/cloud/security/private_ca/v1/certificate_authority_service/rest/operations"
29
+ require "google/cloud/security/private_ca/v1/certificate_authority_service/rest/client"
30
+
31
+ module Google
32
+ module Cloud
33
+ module Security
34
+ module PrivateCA
35
+ module V1
36
+ ##
37
+ # [Certificate Authority
38
+ # Service][google.cloud.security.privateca.v1.CertificateAuthorityService]
39
+ # manages private certificate authorities and issued certificates.
40
+ #
41
+ # To load this service and instantiate a REST client:
42
+ #
43
+ # require "google/cloud/security/private_ca/v1/certificate_authority_service/rest"
44
+ # client = ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Rest::Client.new
45
+ #
46
+ module CertificateAuthorityService
47
+ # Client for the REST transport
48
+ module Rest
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
54
+ end
55
+ end
56
+
57
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
58
+ require "google/cloud/security/private_ca/v1/certificate_authority_service/rest/helpers" if ::File.file? helper_path
@@ -26,6 +26,7 @@ require "google/cloud/security/private_ca/v1/certificate_authority_service/crede
26
26
  require "google/cloud/security/private_ca/v1/certificate_authority_service/paths"
27
27
  require "google/cloud/security/private_ca/v1/certificate_authority_service/operations"
28
28
  require "google/cloud/security/private_ca/v1/certificate_authority_service/client"
29
+ require "google/cloud/security/private_ca/v1/certificate_authority_service/rest"
29
30
 
30
31
  module Google
31
32
  module Cloud
@@ -42,6 +43,11 @@ module Google
42
43
  # require "google/cloud/security/private_ca/v1/certificate_authority_service"
43
44
  # client = ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client.new
44
45
  #
46
+ # @example Load this service and instantiate a REST client
47
+ #
48
+ # require "google/cloud/security/private_ca/v1/certificate_authority_service/rest"
49
+ # client = ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Rest::Client.new
50
+ #
45
51
  module CertificateAuthorityService
46
52
  end
47
53
  end
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/security/private_ca/v1/certificate_authority_service/rest"
20
+ require "google/cloud/security/private_ca/v1/bindings_override"
21
+ require "google/cloud/security/private_ca/v1/version"
22
+
23
+ module Google
24
+ module Cloud
25
+ module Security
26
+ module PrivateCA
27
+ ##
28
+ # To load just the REST part of this package, including all its services, and instantiate a REST client:
29
+ #
30
+ # @example
31
+ #
32
+ # require "google/cloud/security/private_ca/v1/rest"
33
+ # client = ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Rest::Client.new
34
+ #
35
+ module V1
36
+ end
37
+ end
38
+ end
39
+ end
40
+ end
@@ -22,7 +22,7 @@ module Google
22
22
  module Security
23
23
  module PrivateCA
24
24
  module V1
25
- VERSION = "0.5.0"
25
+ VERSION = "0.7.0"
26
26
  end
27
27
  end
28
28
  end
@@ -31,6 +31,11 @@ module Google
31
31
  # require "google/cloud/security/private_ca/v1"
32
32
  # client = ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client.new
33
33
  #
34
+ # @example Load this package, including all its services, and instantiate a REST client
35
+ #
36
+ # require "google/cloud/security/private_ca/v1"
37
+ # client = ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Rest::Client.new
38
+ #
34
39
  module V1
35
40
  end
36
41
  end
@@ -9,6 +9,7 @@ require 'google/api/field_behavior_pb'
9
9
  require 'google/api/resource_pb'
10
10
  require 'google/cloud/security/privateca/v1/resources_pb'
11
11
  require 'google/longrunning/operations_pb'
12
+ require 'google/protobuf/empty_pb'
12
13
  require 'google/protobuf/field_mask_pb'
13
14
  require 'google/protobuf/timestamp_pb'
14
15
 
@@ -62,6 +63,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
62
63
  add_message "google.cloud.security.privateca.v1.DisableCertificateAuthorityRequest" do
63
64
  optional :name, :string, 1
64
65
  optional :request_id, :string, 2
66
+ optional :ignore_dependent_resources, :bool, 3
65
67
  end
66
68
  add_message "google.cloud.security.privateca.v1.EnableCertificateAuthorityRequest" do
67
69
  optional :name, :string, 1
@@ -97,6 +99,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
97
99
  optional :request_id, :string, 2
98
100
  optional :ignore_active_certificates, :bool, 4
99
101
  optional :skip_grace_period, :bool, 5
102
+ optional :ignore_dependent_resources, :bool, 6
100
103
  end
101
104
  add_message "google.cloud.security.privateca.v1.UpdateCertificateAuthorityRequest" do
102
105
  optional :certificate_authority, :message, 1, "google.cloud.security.privateca.v1.CertificateAuthority"
@@ -117,6 +120,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
117
120
  add_message "google.cloud.security.privateca.v1.DeleteCaPoolRequest" do
118
121
  optional :name, :string, 1
119
122
  optional :request_id, :string, 2
123
+ optional :ignore_dependent_resources, :bool, 4
120
124
  end
121
125
  add_message "google.cloud.security.privateca.v1.FetchCaCertsRequest" do
122
126
  optional :ca_pool, :string, 1
@@ -35,7 +35,9 @@ module Google
35
35
  # Details about how and where to publish client libraries.
36
36
  # @!attribute [rw] version
37
37
  # @return [::String]
38
- # Version of the API to apply these settings to.
38
+ # Version of the API to apply these settings to. This is the full protobuf
39
+ # package for the API, ending in the version element.
40
+ # Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
39
41
  # @!attribute [rw] launch_stage
40
42
  # @return [::Google::Api::LaunchStage]
41
43
  # Launch stage of this version of the API.
@@ -111,6 +113,10 @@ module Google
111
113
  # Client library settings. If the same version string appears multiple
112
114
  # times in this list, then the last one wins. Settings from earlier
113
115
  # settings with the same version string are discarded.
116
+ # @!attribute [rw] proto_reference_documentation_uri
117
+ # @return [::String]
118
+ # Optional link to proto reference documentation. Example:
119
+ # https://cloud.google.com/pubsub/lite/docs/reference/rpc
114
120
  class Publishing
115
121
  include ::Google::Protobuf::MessageExts
116
122
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -203,9 +209,57 @@ module Google
203
209
  # @!attribute [rw] common
204
210
  # @return [::Google::Api::CommonLanguageSettings]
205
211
  # Some settings.
212
+ # @!attribute [rw] renamed_services
213
+ # @return [::Google::Protobuf::Map{::String => ::String}]
214
+ # Map from original service names to renamed versions.
215
+ # This is used when the default generated types
216
+ # would cause a naming conflict. (Neither name is
217
+ # fully-qualified.)
218
+ # Example: Subscriber to SubscriberServiceApi.
219
+ # @!attribute [rw] renamed_resources
220
+ # @return [::Google::Protobuf::Map{::String => ::String}]
221
+ # Map from full resource types to the effective short name
222
+ # for the resource. This is used when otherwise resource
223
+ # named from different services would cause naming collisions.
224
+ # Example entry:
225
+ # "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
226
+ # @!attribute [rw] ignored_resources
227
+ # @return [::Array<::String>]
228
+ # List of full resource types to ignore during generation.
229
+ # This is typically used for API-specific Location resources,
230
+ # which should be handled by the generator as if they were actually
231
+ # the common Location resources.
232
+ # Example entry: "documentai.googleapis.com/Location"
233
+ # @!attribute [rw] forced_namespace_aliases
234
+ # @return [::Array<::String>]
235
+ # Namespaces which must be aliased in snippets due to
236
+ # a known (but non-generator-predictable) naming collision
237
+ # @!attribute [rw] handwritten_signatures
238
+ # @return [::Array<::String>]
239
+ # Method signatures (in the form "service.method(signature)")
240
+ # which are provided separately, so shouldn't be generated.
241
+ # Snippets *calling* these methods are still generated, however.
206
242
  class DotnetSettings
207
243
  include ::Google::Protobuf::MessageExts
208
244
  extend ::Google::Protobuf::MessageExts::ClassMethods
245
+
246
+ # @!attribute [rw] key
247
+ # @return [::String]
248
+ # @!attribute [rw] value
249
+ # @return [::String]
250
+ class RenamedServicesEntry
251
+ include ::Google::Protobuf::MessageExts
252
+ extend ::Google::Protobuf::MessageExts::ClassMethods
253
+ end
254
+
255
+ # @!attribute [rw] key
256
+ # @return [::String]
257
+ # @!attribute [rw] value
258
+ # @return [::String]
259
+ class RenamedResourcesEntry
260
+ include ::Google::Protobuf::MessageExts
261
+ extend ::Google::Protobuf::MessageExts::ClassMethods
262
+ end
209
263
  end
210
264
 
211
265
  # Settings for Ruby client libraries.
@@ -240,8 +294,8 @@ module Google
240
294
  # Example of a YAML configuration::
241
295
  #
242
296
  # publishing:
243
- # method_behavior:
244
- # - selector: CreateAdDomain
297
+ # method_settings:
298
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
245
299
  # long_running:
246
300
  # initial_poll_delay:
247
301
  # seconds: 60 # 1 minute
@@ -1459,7 +1459,7 @@ module Google
1459
1459
  DEFAULT = 1
1460
1460
 
1461
1461
  # A mode reserved for special cases. Indicates that the certificate should
1462
- # have one or more SPIFFE
1462
+ # have one SPIFFE
1463
1463
  # {::Google::Cloud::Security::PrivateCA::V1::SubjectAltNames SubjectAltNames} set
1464
1464
  # by the service based on the caller's identity. This mode will ignore any
1465
1465
  # explicitly specified {::Google::Cloud::Security::PrivateCA::V1::Subject Subject}
@@ -313,6 +313,12 @@ module Google
313
313
  #
314
314
  # The request ID must be a valid UUID with the exception that zero UUID is
315
315
  # not supported (00000000-0000-0000-0000-000000000000).
316
+ # @!attribute [rw] ignore_dependent_resources
317
+ # @return [::Boolean]
318
+ # Optional. This field allows this CA to be disabled even if it's being
319
+ # depended on by another resource. However, doing so may result in unintended
320
+ # and unrecoverable effects on any dependent resource(s) since the CA will
321
+ # no longer be able to issue certificates.
316
322
  class DisableCertificateAuthorityRequest
317
323
  include ::Google::Protobuf::MessageExts
318
324
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -490,6 +496,12 @@ module Google
490
496
  # Optional. If this flag is set, the Certificate Authority will be deleted as
491
497
  # soon as possible without a 30-day grace period where undeletion would have
492
498
  # been allowed. If you proceed, there will be no way to recover this CA.
499
+ # @!attribute [rw] ignore_dependent_resources
500
+ # @return [::Boolean]
501
+ # Optional. This field allows this ca to be deleted even if it's being
502
+ # depended on by another resource. However, doing so may result in unintended
503
+ # and unrecoverable effects on any dependent resource(s) since the CA will
504
+ # no longer be able to issue certificates.
493
505
  class DeleteCertificateAuthorityRequest
494
506
  include ::Google::Protobuf::MessageExts
495
507
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -611,6 +623,12 @@ module Google
611
623
  #
612
624
  # The request ID must be a valid UUID with the exception that zero UUID is
613
625
  # not supported (00000000-0000-0000-0000-000000000000).
626
+ # @!attribute [rw] ignore_dependent_resources
627
+ # @return [::Boolean]
628
+ # Optional. This field allows this pool to be deleted even if it's being
629
+ # depended on by another resource. However, doing so may result in unintended
630
+ # and unrecoverable effects on any dependent resource(s) since the pool will
631
+ # no longer be able to issue certificates.
614
632
  class DeleteCaPoolRequest
615
633
  include ::Google::Protobuf::MessageExts
616
634
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-security-private_ca-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-14 00:00:00.000000000 Z
11
+ date: 2023-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.17.1
19
+ version: 0.18.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.17.1
29
+ version: 0.18.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: '0.3'
53
+ version: '0.4'
54
54
  - - "<"
55
55
  - !ruby/object:Gem::Version
56
56
  version: 2.a
@@ -60,7 +60,7 @@ dependencies:
60
60
  requirements:
61
61
  - - ">="
62
62
  - !ruby/object:Gem::Version
63
- version: '0.3'
63
+ version: '0.4'
64
64
  - - "<"
65
65
  - !ruby/object:Gem::Version
66
66
  version: 2.a
@@ -70,7 +70,7 @@ dependencies:
70
70
  requirements:
71
71
  - - ">="
72
72
  - !ruby/object:Gem::Version
73
- version: '0.3'
73
+ version: '0.4'
74
74
  - - "<"
75
75
  - !ruby/object:Gem::Version
76
76
  version: 2.a
@@ -80,7 +80,7 @@ dependencies:
80
80
  requirements:
81
81
  - - ">="
82
82
  - !ruby/object:Gem::Version
83
- version: '0.3'
83
+ version: '0.4'
84
84
  - - "<"
85
85
  - !ruby/object:Gem::Version
86
86
  version: 2.a
@@ -90,14 +90,14 @@ dependencies:
90
90
  requirements:
91
91
  - - "~>"
92
92
  - !ruby/object:Gem::Version
93
- version: 1.26.1
93
+ version: 1.26.3
94
94
  type: :development
95
95
  prerelease: false
96
96
  version_requirements: !ruby/object:Gem::Requirement
97
97
  requirements:
98
98
  - - "~>"
99
99
  - !ruby/object:Gem::Version
100
- version: 1.26.1
100
+ version: 1.26.3
101
101
  - !ruby/object:Gem::Dependency
102
102
  name: minitest
103
103
  requirement: !ruby/object:Gem::Requirement
@@ -213,11 +213,17 @@ files:
213
213
  - README.md
214
214
  - lib/google-cloud-security-private_ca-v1.rb
215
215
  - lib/google/cloud/security/private_ca/v1.rb
216
+ - lib/google/cloud/security/private_ca/v1/bindings_override.rb
216
217
  - lib/google/cloud/security/private_ca/v1/certificate_authority_service.rb
217
218
  - lib/google/cloud/security/private_ca/v1/certificate_authority_service/client.rb
218
219
  - lib/google/cloud/security/private_ca/v1/certificate_authority_service/credentials.rb
219
220
  - lib/google/cloud/security/private_ca/v1/certificate_authority_service/operations.rb
220
221
  - lib/google/cloud/security/private_ca/v1/certificate_authority_service/paths.rb
222
+ - lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest.rb
223
+ - lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest/client.rb
224
+ - lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest/operations.rb
225
+ - lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest/service_stub.rb
226
+ - lib/google/cloud/security/private_ca/v1/rest.rb
221
227
  - lib/google/cloud/security/private_ca/v1/version.rb
222
228
  - lib/google/cloud/security/privateca/v1/resources_pb.rb
223
229
  - lib/google/cloud/security/privateca/v1/service_pb.rb
@@ -259,5 +265,7 @@ requirements: []
259
265
  rubygems_version: 3.4.2
260
266
  signing_key:
261
267
  specification_version: 4
262
- summary: API Client library for the Ceritificate Authority Service V1 API
268
+ summary: The Certificate Authority Service API is a highly-available, scalable service
269
+ that enables you to simplify and automate the management of private certificate
270
+ authorities (CAs) while staying in control of your private keys.
263
271
  test_files: []