google-apis-certificatemanager_v1 0.4.0 → 0.5.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 53ba4d38ea99a6e08ecb2d4a4499b4376e0776fc984e5a7645e558878fe6fd3c
4
- data.tar.gz: a7ba61248be6eb97ee7dbd53534462c947553ac709d970be12d58d8626ac0ca0
3
+ metadata.gz: ef214666b391a3819eb213eaae4f73ac0cefc2c32922f80b3d56d9e4f9b5f55e
4
+ data.tar.gz: 9307b521102a98f12fbd72e51c39018327735e8083d1ef4e7602dcdb59df85cf
5
5
  SHA512:
6
- metadata.gz: 2db226bb7a85d9af9588c3c88758c1c056de8ccc25dd92d1596191d6988a11658de9c73f97348f74e5dbabcd07a2c5f2ea0bd7f1bce2b140331aa42688ae16f9
7
- data.tar.gz: fa4cabb2043aefe34527d60d022ee72410e0adbabffbe99ee5173bfb93b35cac3b9c61f438e7d45d81877b226a2418fcabd04b6ebf5e17470aa501d3f4f49327
6
+ metadata.gz: 890865797ffa41de69629d7e5687e57320eac594e6edc601d02e269ad96b767adceca4acc330d95c2362f86e3c52460f67b29789e90ea4df57482e2c3a2182d6
7
+ data.tar.gz: 8ab3483792b88bd6a8a47b9fb635de4a7c390471efc20d8b3045674fd23bdc84056a0476bfba82246d435155022ca32354a8255588569117302ae86fc121ec04
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.4.0 (2022-04-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20220324
@@ -874,6 +874,46 @@ module Google
874
874
  end
875
875
  end
876
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
+
877
917
  # Certificate data for a SelfManaged Certificate. SelfManaged Certificates are
878
918
  # uploaded by the user. Updating such certificates before they expire remains
879
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.4.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 = "20220324"
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.4.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-04-04 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.4.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: []