google-cloud-security-public_ca-v1beta1 0.5.2 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc1c7dc9d1b06464efd60cd6c014b1bf03a0cada102873b36f2d6a1e01a8cadb
4
- data.tar.gz: eda91bade6d210d8eff0ce58aeb04417ac9799b9c611d41878f66380115d60eb
3
+ metadata.gz: ab5be5a74ec53b91340c274d85723d05aba4c7236ab558e2be048ed3320f3370
4
+ data.tar.gz: 6bda528c3b37e1123b7aa802597a7fc60aedae89e81e7464f85ab177fe251b8e
5
5
  SHA512:
6
- metadata.gz: c8ed6597c50a74bafd946ef6fc3d656a34479c19b7e2e824f9cf3400e8faa60313337655f07079aab1056730d4b9258d489a1e4126b94535d45d84375ee23e19
7
- data.tar.gz: 9fc2f2731129513784a48dd4a74bf1360846bdfffc2043daaac02c826daf1e3a73c1f548a9308940d423ad07ecba29a0cc6c164fdc0b7dcc86c9c83d03bb8ba9
6
+ metadata.gz: 4bcbc1d890d2fff41d90f2234112f61501a8f5d61f3b390a93aec43dc2eb4811aa98f728b92bb8b5019052e84a3f19065077744868b3f9187da389b40e0ad8a6
7
+ data.tar.gz: 6d367b122c7a46c74731cbb772a6eae2d908e916587d126531eaa14adba1611f405c6d925a558e9a05562c9daa9604f45480de1e39d9c77b72c544302dea0031
data/README.md CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
76
76
 
77
77
  ## Supported Ruby Versions
78
78
 
79
- This library is supported on Ruby 2.6+.
79
+ This library is supported on Ruby 2.7+.
80
80
 
81
81
  Google provides official support for Ruby versions that are actively supported
82
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -33,6 +33,9 @@ module Google
33
33
  # the public certificate authority service.
34
34
  #
35
35
  class Client
36
+ # @private
37
+ API_VERSION = ""
38
+
36
39
  # @private
37
40
  DEFAULT_ENDPOINT_TEMPLATE = "publicca.$UNIVERSE_DOMAIN$"
38
41
 
@@ -230,10 +233,11 @@ module Google
230
233
  # Customize the options with defaults
231
234
  metadata = @config.rpcs.create_external_account_key.metadata.to_h
232
235
 
233
- # Set x-goog-api-client and x-goog-user-project headers
236
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
234
237
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
235
238
  lib_name: @config.lib_name, lib_version: @config.lib_version,
236
239
  gapic_version: ::Google::Cloud::Security::PublicCA::V1beta1::VERSION
240
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
237
241
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
238
242
 
239
243
  header_params = {}
@@ -35,6 +35,9 @@ module Google
35
35
  # the public certificate authority service.
36
36
  #
37
37
  class Client
38
+ # @private
39
+ API_VERSION = ""
40
+
38
41
  # @private
39
42
  DEFAULT_ENDPOINT_TEMPLATE = "publicca.$UNIVERSE_DOMAIN$"
40
43
 
@@ -222,12 +225,13 @@ module Google
222
225
  # Customize the options with defaults
223
226
  call_metadata = @config.rpcs.create_external_account_key.metadata.to_h
224
227
 
225
- # Set x-goog-api-client and x-goog-user-project headers
228
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
226
229
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
227
230
  lib_name: @config.lib_name, lib_version: @config.lib_version,
228
231
  gapic_version: ::Google::Cloud::Security::PublicCA::V1beta1::VERSION,
229
232
  transports_version_send: [:rest]
230
233
 
234
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
231
235
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
232
236
 
233
237
  options.apply_defaults timeout: @config.rpcs.create_external_account_key.timeout,
@@ -22,7 +22,7 @@ module Google
22
22
  module Security
23
23
  module PublicCA
24
24
  module V1beta1
25
- VERSION = "0.5.2"
25
+ VERSION = "0.6.1"
26
26
  end
27
27
  end
28
28
  end
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
8
8
  require 'google/api/resource_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n6google/cloud/security/publicca/v1beta1/resources.proto\x12&google.cloud.security.publicca.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xe0\x01\n\x12\x45xternalAccountKey\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x14\n\x06key_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x62\x36\x34_mac_key\x18\x03 \x01(\x0c\x42\x04\xe2\x41\x01\x03:\x84\x01\xea\x41\x80\x01\n*publicca.googleapis.com/ExternalAccountKey\x12Rprojects/{project}/locations/{location}/externalAccountKeys/{external_account_key}B\x88\x02\n*com.google.cloud.security.publicca.v1beta1B\x0eResourcesProtoP\x01ZFcloud.google.com/go/security/publicca/apiv1beta1/publiccapb;publiccapb\xf8\x01\x01\xaa\x02&Google.Cloud.Security.PublicCA.V1Beta1\xca\x02&Google\\Cloud\\Security\\PublicCA\\V1beta1\xea\x02*Google::Cloud::Security::PublicCA::V1beta1b\x06proto3"
11
+ descriptor_data = "\n6google/cloud/security/publicca/v1beta1/resources.proto\x12&google.cloud.security.publicca.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xdd\x01\n\x12\x45xternalAccountKey\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x06key_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x62\x36\x34_mac_key\x18\x03 \x01(\x0c\x42\x03\xe0\x41\x03:\x84\x01\xea\x41\x80\x01\n*publicca.googleapis.com/ExternalAccountKey\x12Rprojects/{project}/locations/{location}/externalAccountKeys/{external_account_key}B\x88\x02\n*com.google.cloud.security.publicca.v1beta1B\x0eResourcesProtoP\x01ZFcloud.google.com/go/security/publicca/apiv1beta1/publiccapb;publiccapb\xf8\x01\x01\xaa\x02&Google.Cloud.Security.PublicCA.V1Beta1\xca\x02&Google\\Cloud\\Security\\PublicCA\\V1beta1\xea\x02*Google::Cloud::Security::PublicCA::V1beta1b\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
 
@@ -11,7 +11,7 @@ require 'google/api/resource_pb'
11
11
  require 'google/cloud/security/publicca/v1beta1/resources_pb'
12
12
 
13
13
 
14
- descriptor_data = "\n4google/cloud/security/publicca/v1beta1/service.proto\x12&google.cloud.security.publicca.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x36google/cloud/security/publicca/v1beta1/resources.proto\"\xc6\x01\n\x1f\x43reateExternalAccountKeyRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe2\x41\x01\x02\xfa\x41,\x12*publicca.googleapis.com/ExternalAccountKey\x12^\n\x14\x65xternal_account_key\x18\x02 \x01(\x0b\x32:.google.cloud.security.publicca.v1beta1.ExternalAccountKeyB\x04\xe2\x41\x01\x02\x32\x8c\x03\n!PublicCertificateAuthorityService\x12\x99\x02\n\x18\x43reateExternalAccountKey\x12G.google.cloud.security.publicca.v1beta1.CreateExternalAccountKeyRequest\x1a:.google.cloud.security.publicca.v1beta1.ExternalAccountKey\"x\xda\x41\x1bparent,external_account_key\x82\xd3\xe4\x93\x02T\"</v1beta1/{parent=projects/*/locations/*}/externalAccountKeys:\x14\x65xternal_account_key\x1aK\xca\x41\x17publicca.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x86\x02\n*com.google.cloud.security.publicca.v1beta1B\x0cServiceProtoP\x01ZFcloud.google.com/go/security/publicca/apiv1beta1/publiccapb;publiccapb\xf8\x01\x01\xaa\x02&Google.Cloud.Security.PublicCA.V1Beta1\xca\x02&Google\\Cloud\\Security\\PublicCA\\V1beta1\xea\x02*Google::Cloud::Security::PublicCA::V1beta1b\x06proto3"
14
+ descriptor_data = "\n4google/cloud/security/publicca/v1beta1/service.proto\x12&google.cloud.security.publicca.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x36google/cloud/security/publicca/v1beta1/resources.proto\"\xc4\x01\n\x1f\x43reateExternalAccountKeyRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*publicca.googleapis.com/ExternalAccountKey\x12]\n\x14\x65xternal_account_key\x18\x02 \x01(\x0b\x32:.google.cloud.security.publicca.v1beta1.ExternalAccountKeyB\x03\xe0\x41\x02\x32\x8c\x03\n!PublicCertificateAuthorityService\x12\x99\x02\n\x18\x43reateExternalAccountKey\x12G.google.cloud.security.publicca.v1beta1.CreateExternalAccountKeyRequest\x1a:.google.cloud.security.publicca.v1beta1.ExternalAccountKey\"x\xda\x41\x1bparent,external_account_key\x82\xd3\xe4\x93\x02T\"</v1beta1/{parent=projects/*/locations/*}/externalAccountKeys:\x14\x65xternal_account_key\x1aK\xca\x41\x17publicca.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x86\x02\n*com.google.cloud.security.publicca.v1beta1B\x0cServiceProtoP\x01ZFcloud.google.com/go/security/publicca/apiv1beta1/publiccapb;publiccapb\xf8\x01\x01\xaa\x02&Google.Cloud.Security.PublicCA.V1Beta1\xca\x02&Google\\Cloud\\Security\\PublicCA\\V1beta1\xea\x02*Google::Cloud::Security::PublicCA::V1beta1b\x06proto3"
15
15
 
16
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
17
 
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -192,9 +196,26 @@ module Google
192
196
  # @!attribute [rw] common
193
197
  # @return [::Google::Api::CommonLanguageSettings]
194
198
  # Some settings.
199
+ # @!attribute [rw] experimental_features
200
+ # @return [::Google::Api::PythonSettings::ExperimentalFeatures]
201
+ # Experimental features to be included during client library generation.
195
202
  class PythonSettings
196
203
  include ::Google::Protobuf::MessageExts
197
204
  extend ::Google::Protobuf::MessageExts::ClassMethods
205
+
206
+ # Experimental features to be included during client library generation.
207
+ # These fields will be deprecated once the feature graduates and is enabled
208
+ # by default.
209
+ # @!attribute [rw] rest_async_io_enabled
210
+ # @return [::Boolean]
211
+ # Enables generation of asynchronous REST clients if `rest` transport is
212
+ # enabled. By default, asynchronous REST clients will not be generated.
213
+ # This feature will be enabled by default 1 month after launching the
214
+ # feature in preview packages.
215
+ class ExperimentalFeatures
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
198
219
  end
199
220
 
200
221
  # Settings for Node client libraries.
@@ -286,6 +307,13 @@ module Google
286
307
  # @return [::String]
287
308
  # The fully qualified name of the method, for which the options below apply.
288
309
  # This is used to find the method to apply the options.
310
+ #
311
+ # Example:
312
+ #
313
+ # publishing:
314
+ # method_settings:
315
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
316
+ # # method settings for CreateFolder...
289
317
  # @!attribute [rw] long_running
290
318
  # @return [::Google::Api::MethodSettings::LongRunning]
291
319
  # Describes settings to use for long-running operations when generating
@@ -294,17 +322,14 @@ module Google
294
322
  #
295
323
  # Example of a YAML configuration::
296
324
  #
297
- # publishing:
298
- # method_settings:
325
+ # publishing:
326
+ # method_settings:
299
327
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
300
328
  # long_running:
301
- # initial_poll_delay:
302
- # seconds: 60 # 1 minute
329
+ # initial_poll_delay: 60s # 1 minute
303
330
  # poll_delay_multiplier: 1.5
304
- # max_poll_delay:
305
- # seconds: 360 # 6 minutes
306
- # total_poll_timeout:
307
- # seconds: 54000 # 90 minutes
331
+ # max_poll_delay: 360s # 6 minutes
332
+ # total_poll_timeout: 54000s # 90 minutes
308
333
  # @!attribute [rw] auto_populated_fields
309
334
  # @return [::Array<::String>]
310
335
  # List of top-level fields of the request message, that should be
@@ -313,8 +338,8 @@ module Google
313
338
  #
314
339
  # Example of a YAML configuration:
315
340
  #
316
- # publishing:
317
- # method_settings:
341
+ # publishing:
342
+ # method_settings:
318
343
  # - selector: google.example.v1.ExampleService.CreateExample
319
344
  # auto_populated_fields:
320
345
  # - request_id
@@ -124,8 +124,13 @@ module Google
124
124
  # @return [::String]
125
125
  # The plural name used in the resource name and permission names, such as
126
126
  # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
- # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
128
+ # to this is for Nested Collections that have stuttering names, as defined
129
+ # in [AIP-122](https://google.aip.dev/122#nested-collections), where the
130
+ # collection ID in the resource name pattern does not necessarily directly
131
+ # match the `plural` value.
132
+ #
133
+ # It is the same concept of the `plural` field in k8s CRD spec
129
134
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
135
  #
131
136
  # Note: The plural form is required even for singleton resources. See
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-security-public_ca-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-01 00:00:00.000000000 Z
11
+ date: 2024-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -44,118 +44,6 @@ dependencies:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '1.0'
47
- - !ruby/object:Gem::Dependency
48
- name: google-style
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: 1.26.3
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: 1.26.3
61
- - !ruby/object:Gem::Dependency
62
- name: minitest
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: '5.16'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '5.16'
75
- - !ruby/object:Gem::Dependency
76
- name: minitest-focus
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '1.1'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '1.1'
89
- - !ruby/object:Gem::Dependency
90
- name: minitest-rg
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '5.2'
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '5.2'
103
- - !ruby/object:Gem::Dependency
104
- name: rake
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- version: '13.0'
110
- type: :development
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - ">="
115
- - !ruby/object:Gem::Version
116
- version: '13.0'
117
- - !ruby/object:Gem::Dependency
118
- name: redcarpet
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: '3.0'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: '3.0'
131
- - !ruby/object:Gem::Dependency
132
- name: simplecov
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '0.18'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '0.18'
145
- - !ruby/object:Gem::Dependency
146
- name: yard
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '0.9'
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: '0.9'
159
47
  description: Certificate Manager's Public Certificate Authority (CA) functionality
160
48
  allows you to provision and deploy widely trusted X.509 certificates after validating
161
49
  that the certificate requester controls the domains. Certificate Manager lets you
@@ -208,14 +96,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
208
96
  requirements:
209
97
  - - ">="
210
98
  - !ruby/object:Gem::Version
211
- version: '2.6'
99
+ version: '2.7'
212
100
  required_rubygems_version: !ruby/object:Gem::Requirement
213
101
  requirements:
214
102
  - - ">="
215
103
  - !ruby/object:Gem::Version
216
104
  version: '0'
217
105
  requirements: []
218
- rubygems_version: 3.5.3
106
+ rubygems_version: 3.5.6
219
107
  signing_key:
220
108
  specification_version: 4
221
109
  summary: The Public Certificate Authority API may be used to create and manage ACME