google-apis-privateca_v1 0.27.0 → 0.28.0

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: 195c3d33786169822b9ecee83e35398b8d31e24dffb2aa71fac65e5dea958fe5
4
- data.tar.gz: 46c3548f809bf202107f0c537072b67b2fa5bda42a5435252b06b930fddd0e5b
3
+ metadata.gz: acaaa6facd8b6f1da3ee73bcf317a402b5aa303258f6b65d3b06ee7ddcd0f9ad
4
+ data.tar.gz: 7c0944e424fc4b0e844574ac3a68fc27adc7f4a0ceebc595edcdea3ae96028d6
5
5
  SHA512:
6
- metadata.gz: '087a977352ee98c8bd674f94182a9181d76134cfc663e750b413b3905a2fa15fe87bbff810eb53f3358e08faa8b158596c34e3dde01b7ecbee2a4f54f2a50c3d'
7
- data.tar.gz: de6446d35b804ed8c2d40f2ec997003e233c9fc56a154c4c6d0da2dc7209381e5a71b5ed1a5ed7c10240a790dbc8d049a7b8b80f276854f8b44c3b18b6f6f68b
6
+ metadata.gz: d94238ae05b445ef0eaa6684e7ca3e123fdc904855fdba6447bdf94d4cafa29b96b367d0f22f316ebfc5b2ea7e9c9522132f81c5a239c8be5535b104c06bf836
7
+ data.tar.gz: e71fbeb9c7c0595e823b9bf555fb0052df91aedc51f8393bc32e7f3e382ec2fea34fa27c399fe9ecbe056a41faa6c32841a026742e9be220da4c2ba7368ad95f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-privateca_v1
2
2
 
3
+ ### v0.28.0 (2023-02-26)
4
+
5
+ * Regenerated from discovery document revision 20230208
6
+ * Regenerated using generator version 0.12.0
7
+
3
8
  ### v0.27.0 (2023-02-05)
4
9
 
5
10
  * Regenerated from discovery document revision 20230125
@@ -63,7 +63,7 @@ module Google
63
63
  # you must retry your request, the server will know to ignore the request if it
64
64
  # has already been completed. The server will guarantee that for at least 60
65
65
  # minutes since the first request. For example, consider a situation where you
66
- # make an initial request and t he request times out. If you make the request
66
+ # make an initial request and the request times out. If you make the request
67
67
  # again with the same request ID, the server can check if original operation
68
68
  # with the same request ID was received, and if so, will ignore the second
69
69
  # request. This prevents clients from accidentally creating duplicate
@@ -976,7 +976,7 @@ module Google
976
976
  # you must retry your request, the server will know to ignore the request if it
977
977
  # has already been completed. The server will guarantee that for at least 60
978
978
  # minutes since the first request. For example, consider a situation where you
979
- # make an initial request and t he request times out. If you make the request
979
+ # make an initial request and the request times out. If you make the request
980
980
  # again with the same request ID, the server can check if original operation
981
981
  # with the same request ID was received, and if so, will ignore the second
982
982
  # request. This prevents clients from accidentally creating duplicate
@@ -1041,7 +1041,7 @@ module Google
1041
1041
  # you must retry your request, the server will know to ignore the request if it
1042
1042
  # has already been completed. The server will guarantee that for at least 60
1043
1043
  # minutes since the first request. For example, consider a situation where you
1044
- # make an initial request and t he request times out. If you make the request
1044
+ # make an initial request and the request times out. If you make the request
1045
1045
  # again with the same request ID, the server can check if original operation
1046
1046
  # with the same request ID was received, and if so, will ignore the second
1047
1047
  # request. This prevents clients from accidentally creating duplicate
@@ -1185,7 +1185,7 @@ module Google
1185
1185
  # you must retry your request, the server will know to ignore the request if it
1186
1186
  # has already been completed. The server will guarantee that for at least 60
1187
1187
  # minutes since the first request. For example, consider a situation where you
1188
- # make an initial request and t he request times out. If you make the request
1188
+ # make an initial request and the request times out. If you make the request
1189
1189
  # again with the same request ID, the server can check if original operation
1190
1190
  # with the same request ID was received, and if so, will ignore the second
1191
1191
  # request. This prevents clients from accidentally creating duplicate
@@ -1754,6 +1754,93 @@ module Google
1754
1754
  end
1755
1755
  end
1756
1756
 
1757
+ # Describes the X.509 name constraints extension, per https://tools.ietf.org/
1758
+ # html/rfc5280#section-4.2.1.10
1759
+ class NameConstraints
1760
+ include Google::Apis::Core::Hashable
1761
+
1762
+ # Indicates whether or not the name constraints are marked critical.
1763
+ # Corresponds to the JSON property `critical`
1764
+ # @return [Boolean]
1765
+ attr_accessor :critical
1766
+ alias_method :critical?, :critical
1767
+
1768
+ # Contains excluded DNS names. Any DNS name that can be constructed by simply
1769
+ # adding zero or more labels to the left-hand side of the name satisfies the
1770
+ # name constraint. For example, `example.com`, `www.example.com`, `www.sub.
1771
+ # example.com` would satisfy `example.com` while `example1.com` does not.
1772
+ # Corresponds to the JSON property `excludedDnsNames`
1773
+ # @return [Array<String>]
1774
+ attr_accessor :excluded_dns_names
1775
+
1776
+ # Contains the excluded email addresses. The value can be a particular email
1777
+ # address, a hostname to indicate all email addresses on that host or a domain
1778
+ # with a leading period (e.g. `.example.com`) to indicate all email addresses in
1779
+ # that domain.
1780
+ # Corresponds to the JSON property `excludedEmailAddresses`
1781
+ # @return [Array<String>]
1782
+ attr_accessor :excluded_email_addresses
1783
+
1784
+ # Contains the excluded IP ranges. For IPv4 addresses, the ranges are expressed
1785
+ # using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges
1786
+ # are expressed in similar encoding as IPv4 addresses.
1787
+ # Corresponds to the JSON property `excludedIpRanges`
1788
+ # @return [Array<String>]
1789
+ attr_accessor :excluded_ip_ranges
1790
+
1791
+ # Contains the excluded URIs that apply to the host part of the name. The value
1792
+ # can be a hostname or a domain with a leading period (like `.example.com`)
1793
+ # Corresponds to the JSON property `excludedUris`
1794
+ # @return [Array<String>]
1795
+ attr_accessor :excluded_uris
1796
+
1797
+ # Contains permitted DNS names. Any DNS name that can be constructed by simply
1798
+ # adding zero or more labels to the left-hand side of the name satisfies the
1799
+ # name constraint. For example, `example.com`, `www.example.com`, `www.sub.
1800
+ # example.com` would satisfy `example.com` while `example1.com` does not.
1801
+ # Corresponds to the JSON property `permittedDnsNames`
1802
+ # @return [Array<String>]
1803
+ attr_accessor :permitted_dns_names
1804
+
1805
+ # Contains the permitted email addresses. The value can be a particular email
1806
+ # address, a hostname to indicate all email addresses on that host or a domain
1807
+ # with a leading period (e.g. `.example.com`) to indicate all email addresses in
1808
+ # that domain.
1809
+ # Corresponds to the JSON property `permittedEmailAddresses`
1810
+ # @return [Array<String>]
1811
+ attr_accessor :permitted_email_addresses
1812
+
1813
+ # Contains the permitted IP ranges. For IPv4 addresses, the ranges are expressed
1814
+ # using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges
1815
+ # are expressed in similar encoding as IPv4 addresses.
1816
+ # Corresponds to the JSON property `permittedIpRanges`
1817
+ # @return [Array<String>]
1818
+ attr_accessor :permitted_ip_ranges
1819
+
1820
+ # Contains the permitted URIs that apply to the host part of the name. The value
1821
+ # can be a hostname or a domain with a leading period (like `.example.com`)
1822
+ # Corresponds to the JSON property `permittedUris`
1823
+ # @return [Array<String>]
1824
+ attr_accessor :permitted_uris
1825
+
1826
+ def initialize(**args)
1827
+ update!(**args)
1828
+ end
1829
+
1830
+ # Update properties of this object
1831
+ def update!(**args)
1832
+ @critical = args[:critical] if args.key?(:critical)
1833
+ @excluded_dns_names = args[:excluded_dns_names] if args.key?(:excluded_dns_names)
1834
+ @excluded_email_addresses = args[:excluded_email_addresses] if args.key?(:excluded_email_addresses)
1835
+ @excluded_ip_ranges = args[:excluded_ip_ranges] if args.key?(:excluded_ip_ranges)
1836
+ @excluded_uris = args[:excluded_uris] if args.key?(:excluded_uris)
1837
+ @permitted_dns_names = args[:permitted_dns_names] if args.key?(:permitted_dns_names)
1838
+ @permitted_email_addresses = args[:permitted_email_addresses] if args.key?(:permitted_email_addresses)
1839
+ @permitted_ip_ranges = args[:permitted_ip_ranges] if args.key?(:permitted_ip_ranges)
1840
+ @permitted_uris = args[:permitted_uris] if args.key?(:permitted_uris)
1841
+ end
1842
+ end
1843
+
1757
1844
  # An ObjectId specifies an object identifier (OID). These provide context and
1758
1845
  # describe types in ASN.1 messages.
1759
1846
  class ObjectIdProp
@@ -2121,7 +2208,7 @@ module Google
2121
2208
  # you must retry your request, the server will know to ignore the request if it
2122
2209
  # has already been completed. The server will guarantee that for at least 60
2123
2210
  # minutes since the first request. For example, consider a situation where you
2124
- # make an initial request and t he request times out. If you make the request
2211
+ # make an initial request and the request times out. If you make the request
2125
2212
  # again with the same request ID, the server can check if original operation
2126
2213
  # with the same request ID was received, and if so, will ignore the second
2127
2214
  # request. This prevents clients from accidentally creating duplicate
@@ -2586,7 +2673,7 @@ module Google
2586
2673
  # you must retry your request, the server will know to ignore the request if it
2587
2674
  # has already been completed. The server will guarantee that for at least 60
2588
2675
  # minutes since the first request. For example, consider a situation where you
2589
- # make an initial request and t he request times out. If you make the request
2676
+ # make an initial request and the request times out. If you make the request
2590
2677
  # again with the same request ID, the server can check if original operation
2591
2678
  # with the same request ID was received, and if so, will ignore the second
2592
2679
  # request. This prevents clients from accidentally creating duplicate
@@ -2671,6 +2758,12 @@ module Google
2671
2758
  # @return [Google::Apis::PrivatecaV1::KeyUsage]
2672
2759
  attr_accessor :key_usage
2673
2760
 
2761
+ # Describes the X.509 name constraints extension, per https://tools.ietf.org/
2762
+ # html/rfc5280#section-4.2.1.10
2763
+ # Corresponds to the JSON property `nameConstraints`
2764
+ # @return [Google::Apis::PrivatecaV1::NameConstraints]
2765
+ attr_accessor :name_constraints
2766
+
2674
2767
  # Optional. Describes the X.509 certificate policy object identifiers, per https:
2675
2768
  # //tools.ietf.org/html/rfc5280#section-4.2.1.4.
2676
2769
  # Corresponds to the JSON property `policyIds`
@@ -2687,6 +2780,7 @@ module Google
2687
2780
  @aia_ocsp_servers = args[:aia_ocsp_servers] if args.key?(:aia_ocsp_servers)
2688
2781
  @ca_options = args[:ca_options] if args.key?(:ca_options)
2689
2782
  @key_usage = args[:key_usage] if args.key?(:key_usage)
2783
+ @name_constraints = args[:name_constraints] if args.key?(:name_constraints)
2690
2784
  @policy_ids = args[:policy_ids] if args.key?(:policy_ids)
2691
2785
  end
2692
2786
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module PrivatecaV1
18
18
  # Version of the google-apis-privateca_v1 gem
19
- GEM_VERSION = "0.27.0"
19
+ GEM_VERSION = "0.28.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.1"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230125"
25
+ REVISION = "20230208"
26
26
  end
27
27
  end
28
28
  end
@@ -274,6 +274,12 @@ module Google
274
274
  include Google::Apis::Core::JsonObjectSupport
275
275
  end
276
276
 
277
+ class NameConstraints
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
277
283
  class ObjectIdProp
278
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
285
 
@@ -867,6 +873,21 @@ module Google
867
873
  end
868
874
  end
869
875
 
876
+ class NameConstraints
877
+ # @private
878
+ class Representation < Google::Apis::Core::JsonRepresentation
879
+ property :critical, as: 'critical'
880
+ collection :excluded_dns_names, as: 'excludedDnsNames'
881
+ collection :excluded_email_addresses, as: 'excludedEmailAddresses'
882
+ collection :excluded_ip_ranges, as: 'excludedIpRanges'
883
+ collection :excluded_uris, as: 'excludedUris'
884
+ collection :permitted_dns_names, as: 'permittedDnsNames'
885
+ collection :permitted_email_addresses, as: 'permittedEmailAddresses'
886
+ collection :permitted_ip_ranges, as: 'permittedIpRanges'
887
+ collection :permitted_uris, as: 'permittedUris'
888
+ end
889
+ end
890
+
870
891
  class ObjectIdProp
871
892
  # @private
872
893
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1093,6 +1114,8 @@ module Google
1093
1114
 
1094
1115
  property :key_usage, as: 'keyUsage', class: Google::Apis::PrivatecaV1::KeyUsage, decorator: Google::Apis::PrivatecaV1::KeyUsage::Representation
1095
1116
 
1117
+ property :name_constraints, as: 'nameConstraints', class: Google::Apis::PrivatecaV1::NameConstraints, decorator: Google::Apis::PrivatecaV1::NameConstraints::Representation
1118
+
1096
1119
  collection :policy_ids, as: 'policyIds', class: Google::Apis::PrivatecaV1::ObjectIdProp, decorator: Google::Apis::PrivatecaV1::ObjectIdProp::Representation
1097
1120
 
1098
1121
  end
@@ -137,7 +137,7 @@ module Google
137
137
  # you must retry your request, the server will know to ignore the request if it
138
138
  # has already been completed. The server will guarantee that for at least 60
139
139
  # minutes since the first request. For example, consider a situation where you
140
- # make an initial request and t he request times out. If you make the request
140
+ # make an initial request and the request times out. If you make the request
141
141
  # again with the same request ID, the server can check if original operation
142
142
  # with the same request ID was received, and if so, will ignore the second
143
143
  # request. This prevents clients from accidentally creating duplicate
@@ -183,7 +183,7 @@ module Google
183
183
  # you must retry your request, the server will know to ignore the request if it
184
184
  # has already been completed. The server will guarantee that for at least 60
185
185
  # minutes since the first request. For example, consider a situation where you
186
- # make an initial request and t he request times out. If you make the request
186
+ # make an initial request and the request times out. If you make the request
187
187
  # again with the same request ID, the server can check if original operation
188
188
  # with the same request ID was received, and if so, will ignore the second
189
189
  # request. This prevents clients from accidentally creating duplicate
@@ -385,7 +385,7 @@ module Google
385
385
  # you must retry your request, the server will know to ignore the request if it
386
386
  # has already been completed. The server will guarantee that for at least 60
387
387
  # minutes since the first request. For example, consider a situation where you
388
- # make an initial request and t he request times out. If you make the request
388
+ # make an initial request and the request times out. If you make the request
389
389
  # again with the same request ID, the server can check if original operation
390
390
  # with the same request ID was received, and if so, will ignore the second
391
391
  # request. This prevents clients from accidentally creating duplicate
@@ -550,7 +550,7 @@ module Google
550
550
  # you must retry your request, the server will know to ignore the request if it
551
551
  # has already been completed. The server will guarantee that for at least 60
552
552
  # minutes since the first request. For example, consider a situation where you
553
- # make an initial request and t he request times out. If you make the request
553
+ # make an initial request and the request times out. If you make the request
554
554
  # again with the same request ID, the server can check if original operation
555
555
  # with the same request ID was received, and if so, will ignore the second
556
556
  # request. This prevents clients from accidentally creating duplicate
@@ -599,7 +599,7 @@ module Google
599
599
  # you must retry your request, the server will know to ignore the request if it
600
600
  # has already been completed. The server will guarantee that for at least 60
601
601
  # minutes since the first request. For example, consider a situation where you
602
- # make an initial request and t he request times out. If you make the request
602
+ # make an initial request and the request times out. If you make the request
603
603
  # again with the same request ID, the server can check if original operation
604
604
  # with the same request ID was received, and if so, will ignore the second
605
605
  # request. This prevents clients from accidentally creating duplicate
@@ -830,7 +830,7 @@ module Google
830
830
  # you must retry your request, the server will know to ignore the request if it
831
831
  # has already been completed. The server will guarantee that for at least 60
832
832
  # minutes since the first request. For example, consider a situation where you
833
- # make an initial request and t he request times out. If you make the request
833
+ # make an initial request and the request times out. If you make the request
834
834
  # again with the same request ID, the server can check if original operation
835
835
  # with the same request ID was received, and if so, will ignore the second
836
836
  # request. This prevents clients from accidentally creating duplicate
@@ -1038,7 +1038,7 @@ module Google
1038
1038
  # you must retry your request, the server will know to ignore the request if it
1039
1039
  # has already been completed. The server will guarantee that for at least 60
1040
1040
  # minutes since the first request. For example, consider a situation where you
1041
- # make an initial request and t he request times out. If you make the request
1041
+ # make an initial request and the request times out. If you make the request
1042
1042
  # again with the same request ID, the server can check if original operation
1043
1043
  # with the same request ID was received, and if so, will ignore the second
1044
1044
  # request. This prevents clients from accidentally creating duplicate
@@ -1316,7 +1316,7 @@ module Google
1316
1316
  # you must retry your request, the server will know to ignore the request if it
1317
1317
  # has already been completed. The server will guarantee that for at least 60
1318
1318
  # minutes since the first request. For example, consider a situation where you
1319
- # make an initial request and t he request times out. If you make the request
1319
+ # make an initial request and the request times out. If you make the request
1320
1320
  # again with the same request ID, the server can check if original operation
1321
1321
  # with the same request ID was received, and if so, will ignore the second
1322
1322
  # request. This prevents clients from accidentally creating duplicate
@@ -1402,7 +1402,7 @@ module Google
1402
1402
  # you must retry your request, the server will know to ignore the request if it
1403
1403
  # has already been completed. The server will guarantee that for at least 60
1404
1404
  # minutes since the first request. For example, consider a situation where you
1405
- # make an initial request and t he request times out. If you make the request
1405
+ # make an initial request and the request times out. If you make the request
1406
1406
  # again with the same request ID, the server can check if original operation
1407
1407
  # with the same request ID was received, and if so, will ignore the second
1408
1408
  # request. This prevents clients from accidentally creating duplicate
@@ -1448,7 +1448,7 @@ module Google
1448
1448
  # you must retry your request, the server will know to ignore the request if it
1449
1449
  # has already been completed. The server will guarantee that for at least 60
1450
1450
  # minutes since the first request. For example, consider a situation where you
1451
- # make an initial request and t he request times out. If you make the request
1451
+ # make an initial request and the request times out. If you make the request
1452
1452
  # again with the same request ID, the server can check if original operation
1453
1453
  # with the same request ID was received, and if so, will ignore the second
1454
1454
  # request. This prevents clients from accidentally creating duplicate
@@ -1614,7 +1614,7 @@ module Google
1614
1614
  # you must retry your request, the server will know to ignore the request if it
1615
1615
  # has already been completed. The server will guarantee that for at least 60
1616
1616
  # minutes since the first request. For example, consider a situation where you
1617
- # make an initial request and t he request times out. If you make the request
1617
+ # make an initial request and the request times out. If you make the request
1618
1618
  # again with the same request ID, the server can check if original operation
1619
1619
  # with the same request ID was received, and if so, will ignore the second
1620
1620
  # request. This prevents clients from accidentally creating duplicate
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-privateca_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.28.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-05 00:00:00.000000000 Z
11
+ date: 2023-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.1
19
+ version: 0.11.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.9.1
29
+ version: 0.11.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-privateca_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-privateca_v1/v0.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-privateca_v1/v0.28.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-privateca_v1
63
63
  post_install_message:
64
64
  rdoc_options: []