google-apis-certificatemanager_v1 0.2.0 → 0.5.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: 8fe6248c6f45ab3e896d03d0a8876ed576485dcbb89b84ed89bf175e4035bb52
4
- data.tar.gz: da45809ef624c64754dcf5344cbc25c519929f200e738653a0fab3e830677ae9
3
+ metadata.gz: ef214666b391a3819eb213eaae4f73ac0cefc2c32922f80b3d56d9e4f9b5f55e
4
+ data.tar.gz: 9307b521102a98f12fbd72e51c39018327735e8083d1ef4e7602dcdb59df85cf
5
5
  SHA512:
6
- metadata.gz: 4e08d684a65630834c8cacd4c5e3ef59cb41048124258c94ce57240dcf48fe99baa6b3d7f2c114db7d46b90de397f0696d865cf954db010f4e41ffcf2b048790
7
- data.tar.gz: 66d6a7fb78536c8ce3355fa79c24f37f5b3b6ee711e10188ae67fb805eb6e33139015d8c21788d8827ffcb775add2573f3e761dee3eb530bb54eebb134923d4a
6
+ metadata.gz: 890865797ffa41de69629d7e5687e57320eac594e6edc601d02e269ad96b767adceca4acc330d95c2362f86e3c52460f67b29789e90ea4df57482e2c3a2182d6
7
+ data.tar.gz: 8ab3483792b88bd6a8a47b9fb635de4a7c390471efc20d8b3045674fd23bdc84056a0476bfba82246d435155022ca32354a8255588569117302ae86fc121ec04
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-certificatemanager_v1
2
2
 
3
+ ### v0.5.0 (2022-04-17)
4
+
5
+ * Regenerated from discovery document revision 20220407
6
+
7
+ ### v0.4.0 (2022-04-02)
8
+
9
+ * Regenerated from discovery document revision 20220324
10
+
11
+ ### v0.3.0 (2022-03-08)
12
+
13
+ * Regenerated from discovery document revision 20220223
14
+
3
15
  ### v0.2.0 (2022-02-08)
4
16
 
5
17
  * Regenerated from discovery document revision 20220202
@@ -117,7 +117,9 @@ module Google
117
117
  attr_accessor :pem_certificate
118
118
 
119
119
  # Output only. The list of Subject Alternative Names of dnsName type defined in
120
- # the certificate (see RFC 5280 4.2.1.6)
120
+ # the certificate (see RFC 5280 4.2.1.6). Managed certificates that haven't been
121
+ # provisioned yet have this field populated with a value of the managed.domains
122
+ # field.
121
123
  # Corresponds to the JSON property `sanDnsnames`
122
124
  # @return [Array<String>]
123
125
  attr_accessor :san_dnsnames
@@ -230,8 +232,8 @@ module Google
230
232
  # @return [String]
231
233
  attr_accessor :description
232
234
 
233
- # A Hostname (FQDN, e.g. example.com) or a wildcard hostname expression (*.
234
- # example.com) for a set of hostnames with common suffix. Used as Server Name
235
+ # A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression (`*.
236
+ # example.com`) for a set of hostnames with common suffix. Used as Server Name
235
237
  # Indication (SNI) for selecting a proper certificate.
236
238
  # Corresponds to the JSON property `hostname`
237
239
  # @return [String]
@@ -304,9 +306,9 @@ module Google
304
306
  attr_accessor :dns_resource_record
305
307
 
306
308
  # Required. Immutable. A domain which is being authorized. A DnsAuthorization
307
- # resource covers a single domain and its wildcard, e.g. authorization for "
308
- # example.com" can be used to issue certificates for "example.com" and "*.
309
- # example.com".
309
+ # resource covers a single domain and its wildcard, e.g. authorization for `
310
+ # example.com` can be used to issue certificates for `example.com` and `*.
311
+ # example.com`.
310
312
  # Corresponds to the JSON property `domain`
311
313
  # @return [String]
312
314
  attr_accessor :domain
@@ -353,8 +355,8 @@ module Google
353
355
  # @return [String]
354
356
  attr_accessor :data
355
357
 
356
- # Output only. Fully qualified name of the DNS Resource Record. e.g. "_acme-
357
- # challenge.example.com."
358
+ # Output only. Fully qualified name of the DNS Resource Record. e.g. `_acme-
359
+ # challenge.example.com`
358
360
  # Corresponds to the JSON property `name`
359
361
  # @return [String]
360
362
  attr_accessor :name
@@ -379,8 +381,7 @@ module Google
379
381
  # A generic empty message that you can re-use to avoid defining duplicated empty
380
382
  # messages in your APIs. A typical example is to use it as the request or the
381
383
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
382
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
383
- # `Empty` is empty JSON object ````.
384
+ # protobuf.Empty) returns (google.protobuf.Empty); `
384
385
  class Empty
385
386
  include Google::Apis::Core::Hashable
386
387
 
@@ -873,6 +874,46 @@ module Google
873
874
  end
874
875
  end
875
876
 
877
+ #
878
+ class ResourcesCount
879
+ include Google::Apis::Core::Hashable
880
+
881
+ # The count of certificates.
882
+ # Corresponds to the JSON property `certificates`
883
+ # @return [Fixnum]
884
+ attr_accessor :certificates
885
+
886
+ # Required. Input only. The time of the computation. The field is input only,
887
+ # used in Create and Update calls. For Update call, new values of selected
888
+ # resources are set if their compute_time is younger than the persisted ones, e.
889
+ # g.: If you support 3 types of resources: A, B and C, and you have: 'A'
890
+ # resource count computed at timestamp = 3 'B' resource count computed at
891
+ # timestamp = 10 'C' resource count computed at timestamp = 5 And you're going
892
+ # to update all of them with compute_time = 8, only 'A' and 'C' will be updated,
893
+ # as 'B' already has fresher data. For Get call a ResourcesCount instance
894
+ # contains the freshest values for every type.
895
+ # Corresponds to the JSON property `computeTime`
896
+ # @return [String]
897
+ attr_accessor :compute_time
898
+
899
+ # The singleton resource of the resources count. Must be in the format `projects/
900
+ # */locations/*/resourcesCounts/single`.
901
+ # Corresponds to the JSON property `name`
902
+ # @return [String]
903
+ attr_accessor :name
904
+
905
+ def initialize(**args)
906
+ update!(**args)
907
+ end
908
+
909
+ # Update properties of this object
910
+ def update!(**args)
911
+ @certificates = args[:certificates] if args.key?(:certificates)
912
+ @compute_time = args[:compute_time] if args.key?(:compute_time)
913
+ @name = args[:name] if args.key?(:name)
914
+ end
915
+ end
916
+
876
917
  # Certificate data for a SelfManaged Certificate. SelfManaged Certificates are
877
918
  # uploaded by the user. Updating such certificates before they expire remains
878
919
  # the user's responsibility.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CertificatemanagerV1
18
18
  # Version of the google-apis-certificatemanager_v1 gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220202"
25
+ REVISION = "20220407"
26
26
  end
27
27
  end
28
28
  end
@@ -148,6 +148,12 @@ module Google
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
+ class ResourcesCount
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
151
157
  class SelfManagedCertificate
152
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
159
 
@@ -385,6 +391,15 @@ module Google
385
391
  end
386
392
  end
387
393
 
394
+ class ResourcesCount
395
+ # @private
396
+ class Representation < Google::Apis::Core::JsonRepresentation
397
+ property :certificates, :numeric_string => true, as: 'certificates'
398
+ property :compute_time, as: 'computeTime'
399
+ property :name, as: 'name'
400
+ end
401
+ end
402
+
388
403
  class SelfManagedCertificate
389
404
  # @private
390
405
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -84,8 +84,8 @@ module Google
84
84
  # The resource that owns the locations collection, if applicable.
85
85
  # @param [String] filter
86
86
  # A filter to narrow down results to a preferred subset. The filtering language
87
- # accepts strings like "displayName=tokyo", and is documented in more detail in [
88
- # AIP-160](https://google.aip.dev/160).
87
+ # accepts strings like `"displayName=tokyo"`, and is documented in more detail
88
+ # in [AIP-160](https://google.aip.dev/160).
89
89
  # @param [Fixnum] page_size
90
90
  # The maximum number of results to return. If not set, the service selects a
91
91
  # default.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-certificatemanager_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.5.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: 2022-02-14 00:00:00.000000000 Z
11
+ date: 2022-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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-certificatemanager_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-certificatemanager_v1/v0.2.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-certificatemanager_v1/v0.5.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-certificatemanager_v1
63
63
  post_install_message:
64
64
  rdoc_options: []