google-apis-certificatemanager_v1 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/certificatemanager_v1/classes.rb +40 -0
- data/lib/google/apis/certificatemanager_v1/gem_version.rb +2 -2
- data/lib/google/apis/certificatemanager_v1/representations.rb +15 -0
- data/lib/google/apis/certificatemanager_v1/service.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef214666b391a3819eb213eaae4f73ac0cefc2c32922f80b3d56d9e4f9b5f55e
|
4
|
+
data.tar.gz: 9307b521102a98f12fbd72e51c39018327735e8083d1ef4e7602dcdb59df85cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 890865797ffa41de69629d7e5687e57320eac594e6edc601d02e269ad96b767adceca4acc330d95c2362f86e3c52460f67b29789e90ea4df57482e2c3a2182d6
|
7
|
+
data.tar.gz: 8ab3483792b88bd6a8a47b9fb635de4a7c390471efc20d8b3045674fd23bdc84056a0476bfba82246d435155022ca32354a8255588569117302ae86fc121ec04
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
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 = "
|
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"
|
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
|
+
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-
|
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.
|
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: []
|