google-cloud-certificate_manager-v1 0.9.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -41,7 +41,7 @@ module Google
41
41
  # @return [::String]
42
42
  # A list of Certificate field names used to specify the order of the returned
43
43
  # results. The default sorting order is ascending. To specify descending
44
- # order for a field, add a suffix " desc".
44
+ # order for a field, add a suffix `" desc"`.
45
45
  class ListCertificatesRequest
46
46
  include ::Google::Protobuf::MessageExts
47
47
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -134,7 +134,7 @@ module Google
134
134
  # @return [::String]
135
135
  # A list of Certificate Map field names used to specify the order of the
136
136
  # returned results. The default sorting order is ascending. To specify
137
- # descending order for a field, add a suffix " desc".
137
+ # descending order for a field, add a suffix `" desc"`.
138
138
  class ListCertificateMapsRequest
139
139
  include ::Google::Protobuf::MessageExts
140
140
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -232,7 +232,7 @@ module Google
232
232
  # @return [::String]
233
233
  # A list of Certificate Map Entry field names used to specify
234
234
  # the order of the returned results. The default sorting order is ascending.
235
- # To specify descending order for a field, add a suffix " desc".
235
+ # To specify descending order for a field, add a suffix `" desc"`.
236
236
  class ListCertificateMapEntriesRequest
237
237
  include ::Google::Protobuf::MessageExts
238
238
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -325,7 +325,7 @@ module Google
325
325
  # @return [::String]
326
326
  # A list of Dns Authorization field names used to specify the order of the
327
327
  # returned results. The default sorting order is ascending. To specify
328
- # descending order for a field, add a suffix " desc".
328
+ # descending order for a field, add a suffix `" desc"`.
329
329
  class ListDnsAuthorizationsRequest
330
330
  include ::Google::Protobuf::MessageExts
331
331
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -578,8 +578,8 @@ module Google
578
578
  # State is unspecified.
579
579
  STATE_UNSPECIFIED = 0
580
580
 
581
- # Certificate provisioning for this domain is under way. GCP will
582
- # attempt to authorize the domain.
581
+ # Certificate provisioning for this domain is under way. Google Cloud
582
+ # will attempt to authorize the domain.
583
583
  AUTHORIZING = 1
584
584
 
585
585
  # A managed certificate can be provisioned, no issues for this domain.
@@ -648,8 +648,13 @@ module Google
648
648
  DEFAULT = 0
649
649
 
650
650
  # Certificates with scope EDGE_CACHE are special-purposed certificates,
651
- # served from non-core Google data centers.
651
+ # served from Edge Points of Presence.
652
+ # See https://cloud.google.com/vpc/docs/edge-locations.
652
653
  EDGE_CACHE = 1
654
+
655
+ # Certificates with ALL_REGIONS scope are served from all Google Cloud
656
+ # regions. See https://cloud.google.com/compute/docs/regions-zones.
657
+ ALL_REGIONS = 2
653
658
  end
654
659
  end
655
660
 
@@ -810,6 +815,11 @@ module Google
810
815
  # @return [::Google::Cloud::CertificateManager::V1::DnsAuthorization::DnsResourceRecord]
811
816
  # Output only. DNS Resource Record that needs to be added to DNS
812
817
  # configuration.
818
+ # @!attribute [rw] type
819
+ # @return [::Google::Cloud::CertificateManager::V1::DnsAuthorization::Type]
820
+ # Immutable. Type of DnsAuthorization. If unset during resource creation the
821
+ # following default will be used:
822
+ # - in location global: FIXED_RECORD.
813
823
  class DnsAuthorization
814
824
  include ::Google::Protobuf::MessageExts
815
825
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -841,6 +851,20 @@ module Google
841
851
  include ::Google::Protobuf::MessageExts
842
852
  extend ::Google::Protobuf::MessageExts::ClassMethods
843
853
  end
854
+
855
+ # DnsAuthorization type.
856
+ module Type
857
+ # Type is unspecified.
858
+ TYPE_UNSPECIFIED = 0
859
+
860
+ # FIXED_RECORD DNS authorization uses DNS-01 validation method.
861
+ FIXED_RECORD = 1
862
+
863
+ # PER_PROJECT_RECORD DNS authorization allows for independent management
864
+ # of Google-managed certificates with DNS authorization across multiple
865
+ # projects.
866
+ PER_PROJECT_RECORD = 2
867
+ end
844
868
  end
845
869
 
846
870
  # Defines set of serving states associated with a resource.
@@ -0,0 +1,210 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 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
+
20
+ module Google
21
+ module Cloud
22
+ module CertificateManager
23
+ module V1
24
+ # Request for the `ListTrustConfigs` method.
25
+ # @!attribute [rw] parent
26
+ # @return [::String]
27
+ # Required. The project and location from which the TrustConfigs should be
28
+ # listed, specified in the format `projects/*/locations/*`.
29
+ # @!attribute [rw] page_size
30
+ # @return [::Integer]
31
+ # Maximum number of TrustConfigs to return per call.
32
+ # @!attribute [rw] page_token
33
+ # @return [::String]
34
+ # The value returned by the last `ListTrustConfigsResponse`. Indicates
35
+ # that this is a continuation of a prior `ListTrustConfigs` call, and that
36
+ # the system should return the next page of data.
37
+ # @!attribute [rw] filter
38
+ # @return [::String]
39
+ # Filter expression to restrict the TrustConfigs returned.
40
+ # @!attribute [rw] order_by
41
+ # @return [::String]
42
+ # A list of TrustConfig field names used to specify the order of the
43
+ # returned results. The default sorting order is ascending. To specify
44
+ # descending order for a field, add a suffix `" desc"`.
45
+ class ListTrustConfigsRequest
46
+ include ::Google::Protobuf::MessageExts
47
+ extend ::Google::Protobuf::MessageExts::ClassMethods
48
+ end
49
+
50
+ # Response for the `ListTrustConfigs` method.
51
+ # @!attribute [rw] trust_configs
52
+ # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig>]
53
+ # A list of TrustConfigs for the parent resource.
54
+ # @!attribute [rw] next_page_token
55
+ # @return [::String]
56
+ # If there might be more results than those appearing in this response, then
57
+ # `next_page_token` is included. To get the next set of results, call this
58
+ # method again using the value of `next_page_token` as `page_token`.
59
+ # @!attribute [rw] unreachable
60
+ # @return [::Array<::String>]
61
+ # Locations that could not be reached.
62
+ class ListTrustConfigsResponse
63
+ include ::Google::Protobuf::MessageExts
64
+ extend ::Google::Protobuf::MessageExts::ClassMethods
65
+ end
66
+
67
+ # Request for the `GetTrustConfig` method.
68
+ # @!attribute [rw] name
69
+ # @return [::String]
70
+ # Required. A name of the TrustConfig to describe. Must be in the format
71
+ # `projects/*/locations/*/trustConfigs/*`.
72
+ class GetTrustConfigRequest
73
+ include ::Google::Protobuf::MessageExts
74
+ extend ::Google::Protobuf::MessageExts::ClassMethods
75
+ end
76
+
77
+ # Request for the `CreateTrustConfig` method.
78
+ # @!attribute [rw] parent
79
+ # @return [::String]
80
+ # Required. The parent resource of the TrustConfig. Must be in the format
81
+ # `projects/*/locations/*`.
82
+ # @!attribute [rw] trust_config_id
83
+ # @return [::String]
84
+ # Required. A user-provided name of the TrustConfig. Must match the regexp
85
+ # `[a-z0-9-]{1,63}`.
86
+ # @!attribute [rw] trust_config
87
+ # @return [::Google::Cloud::CertificateManager::V1::TrustConfig]
88
+ # Required. A definition of the TrustConfig to create.
89
+ class CreateTrustConfigRequest
90
+ include ::Google::Protobuf::MessageExts
91
+ extend ::Google::Protobuf::MessageExts::ClassMethods
92
+ end
93
+
94
+ # Request for the `UpdateTrustConfig` method.
95
+ # @!attribute [rw] trust_config
96
+ # @return [::Google::Cloud::CertificateManager::V1::TrustConfig]
97
+ # Required. A definition of the TrustConfig to update.
98
+ # @!attribute [rw] update_mask
99
+ # @return [::Google::Protobuf::FieldMask]
100
+ # Required. The update mask applies to the resource. For the `FieldMask`
101
+ # definition, see
102
+ # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
103
+ class UpdateTrustConfigRequest
104
+ include ::Google::Protobuf::MessageExts
105
+ extend ::Google::Protobuf::MessageExts::ClassMethods
106
+ end
107
+
108
+ # Request for the `DeleteTrustConfig` method.
109
+ # @!attribute [rw] name
110
+ # @return [::String]
111
+ # Required. A name of the TrustConfig to delete. Must be in the format
112
+ # `projects/*/locations/*/trustConfigs/*`.
113
+ # @!attribute [rw] etag
114
+ # @return [::String]
115
+ # The current etag of the TrustConfig.
116
+ # If an etag is provided and does not match the current etag of the resource,
117
+ # deletion will be blocked and an ABORTED error will be returned.
118
+ class DeleteTrustConfigRequest
119
+ include ::Google::Protobuf::MessageExts
120
+ extend ::Google::Protobuf::MessageExts::ClassMethods
121
+ end
122
+
123
+ # Defines a trust config.
124
+ # @!attribute [rw] name
125
+ # @return [::String]
126
+ # A user-defined name of the trust config. TrustConfig names must be
127
+ # unique globally and match pattern
128
+ # `projects/*/locations/*/trustConfigs/*`.
129
+ # @!attribute [r] create_time
130
+ # @return [::Google::Protobuf::Timestamp]
131
+ # Output only. The creation timestamp of a TrustConfig.
132
+ # @!attribute [r] update_time
133
+ # @return [::Google::Protobuf::Timestamp]
134
+ # Output only. The last update timestamp of a TrustConfig.
135
+ # @!attribute [rw] labels
136
+ # @return [::Google::Protobuf::Map{::String => ::String}]
137
+ # Set of labels associated with a TrustConfig.
138
+ # @!attribute [rw] description
139
+ # @return [::String]
140
+ # One or more paragraphs of text description of a TrustConfig.
141
+ # @!attribute [rw] etag
142
+ # @return [::String]
143
+ # This checksum is computed by the server based on the value of other
144
+ # fields, and may be sent on update and delete requests to ensure the
145
+ # client has an up-to-date value before proceeding.
146
+ # @!attribute [rw] trust_stores
147
+ # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::TrustStore>]
148
+ # Set of trust stores to perform validation against.
149
+ #
150
+ # This field is supported when TrustConfig is configured with Load Balancers,
151
+ # currently not supported for SPIFFE certificate validation.
152
+ #
153
+ # Only one TrustStore specified is currently allowed.
154
+ class TrustConfig
155
+ include ::Google::Protobuf::MessageExts
156
+ extend ::Google::Protobuf::MessageExts::ClassMethods
157
+
158
+ # Defines a trust anchor.
159
+ # @!attribute [rw] pem_certificate
160
+ # @return [::String]
161
+ # PEM root certificate of the PKI used for validation.
162
+ #
163
+ # Each certificate provided in PEM format may occupy up to 5kB.
164
+ class TrustAnchor
165
+ include ::Google::Protobuf::MessageExts
166
+ extend ::Google::Protobuf::MessageExts::ClassMethods
167
+ end
168
+
169
+ # Defines an intermediate CA.
170
+ # @!attribute [rw] pem_certificate
171
+ # @return [::String]
172
+ # PEM intermediate certificate used for building up paths
173
+ # for validation.
174
+ #
175
+ # Each certificate provided in PEM format may occupy up to 5kB.
176
+ class IntermediateCA
177
+ include ::Google::Protobuf::MessageExts
178
+ extend ::Google::Protobuf::MessageExts::ClassMethods
179
+ end
180
+
181
+ # Defines a trust store.
182
+ # @!attribute [rw] trust_anchors
183
+ # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::TrustAnchor>]
184
+ # List of Trust Anchors to be used while performing validation
185
+ # against a given TrustStore.
186
+ # @!attribute [rw] intermediate_cas
187
+ # @return [::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::IntermediateCA>]
188
+ # Set of intermediate CA certificates used for the path building
189
+ # phase of chain validation.
190
+ #
191
+ # The field is currently not supported if TrustConfig is used for the
192
+ # workload certificate feature.
193
+ class TrustStore
194
+ include ::Google::Protobuf::MessageExts
195
+ extend ::Google::Protobuf::MessageExts::ClassMethods
196
+ end
197
+
198
+ # @!attribute [rw] key
199
+ # @return [::String]
200
+ # @!attribute [rw] value
201
+ # @return [::String]
202
+ class LabelsEntry
203
+ include ::Google::Protobuf::MessageExts
204
+ extend ::Google::Protobuf::MessageExts::ClassMethods
205
+ end
206
+ end
207
+ end
208
+ end
209
+ end
210
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-certificate_manager-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.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: 2024-02-26 00:00:00.000000000 Z
11
+ date: 2024-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -95,6 +95,7 @@ files:
95
95
  - lib/google/cloud/certificatemanager/v1/certificate_issuance_config_pb.rb
96
96
  - lib/google/cloud/certificatemanager/v1/certificate_manager_pb.rb
97
97
  - lib/google/cloud/certificatemanager/v1/certificate_manager_services_pb.rb
98
+ - lib/google/cloud/certificatemanager/v1/trust_config_pb.rb
98
99
  - proto_docs/README.md
99
100
  - proto_docs/google/api/client.rb
100
101
  - proto_docs/google/api/field_behavior.rb
@@ -102,6 +103,7 @@ files:
102
103
  - proto_docs/google/api/resource.rb
103
104
  - proto_docs/google/cloud/certificatemanager/v1/certificate_issuance_config.rb
104
105
  - proto_docs/google/cloud/certificatemanager/v1/certificate_manager.rb
106
+ - proto_docs/google/cloud/certificatemanager/v1/trust_config.rb
105
107
  - proto_docs/google/longrunning/operations.rb
106
108
  - proto_docs/google/protobuf/any.rb
107
109
  - proto_docs/google/protobuf/duration.rb