google-apis-certificatemanager_v1 0.3.0 → 0.6.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: adf8adeac8d7416d2aa53f6a6fe954d3f79d6267683777bdefad0c0a90d1d22a
4
- data.tar.gz: 5008120875d6db8c1973ec65c8a569a3fa80504dea09efc71053e2d2cd275eed
3
+ metadata.gz: 37b55273ea1bd3fb93f86fc032e013b3556a51c7232d466e680a366cf85f3901
4
+ data.tar.gz: e647aad8b100a5b28c006c298a6c0d805ca3986dbb209f498c35cb08d3489194
5
5
  SHA512:
6
- metadata.gz: be218720c0baca29da1cc672d95529fe898acd000c46a718a7ccdadb831b7c73db5252b5a6c92fdd3090b1f52aca71c319d2afc52b7cdcd3ef43f36fdbb98b14
7
- data.tar.gz: aedf7c10f799a24306488a912c9e8b2eebbcbbf755641cbd9f5c4f083824384cc2ffd55e9413f1ea23643cf09971fe1af18e9c8d21c0c5063cfbee33f3865c08
6
+ metadata.gz: 1a1d1dd0ecd389f45504fd49d1d41787c3c89abae9317e6d55441d8553130f3a36f2af8d19663c169afb90832ad15d4db25ca1e2149d97f1aa838079038e5b29
7
+ data.tar.gz: b889014783778c4870deccdd51ae7313d717b4eb8ef83173c981026cb30c90d1935be68d05d394d8740af3dde58286511bc205079759eda09c36e0ab88ba7240
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-certificatemanager_v1
2
2
 
3
+ ### v0.6.0 (2022-05-29)
4
+
5
+ * Regenerated from discovery document revision 20220523
6
+
7
+ ### v0.5.0 (2022-04-17)
8
+
9
+ * Regenerated from discovery document revision 20220407
10
+
11
+ ### v0.4.0 (2022-04-02)
12
+
13
+ * Regenerated from discovery document revision 20220324
14
+
3
15
  ### v0.3.0 (2022-03-08)
4
16
 
5
17
  * Regenerated from discovery document revision 20220223
@@ -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
@@ -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,48 @@ module Google
873
874
  end
874
875
  end
875
876
 
877
+ # ResourcesCount represents the resource that stores aggregated project's info
878
+ # in the given location, e.g.: total number of certificates assigned to the
879
+ # project.
880
+ class ResourcesCount
881
+ include Google::Apis::Core::Hashable
882
+
883
+ # The count of certificates.
884
+ # Corresponds to the JSON property `certificates`
885
+ # @return [Fixnum]
886
+ attr_accessor :certificates
887
+
888
+ # Required. Input only. The time of the computation. The field is input only,
889
+ # used in Create and Update calls. For Update call, new values of selected
890
+ # resources are set if their compute_time is younger than the persisted ones, e.
891
+ # g.: If you support 3 types of resources: A, B and C, and you have: 'A'
892
+ # resource count computed at timestamp = 3 'B' resource count computed at
893
+ # timestamp = 10 'C' resource count computed at timestamp = 5 And you're going
894
+ # to update all of them with compute_time = 8, only 'A' and 'C' will be updated,
895
+ # as 'B' already has fresher data. For Get call a ResourcesCount instance
896
+ # contains the freshest values for every type.
897
+ # Corresponds to the JSON property `computeTime`
898
+ # @return [String]
899
+ attr_accessor :compute_time
900
+
901
+ # The singleton resource of the resources count. Must be in the format `projects/
902
+ # */locations/*/resourcesCounts/single`.
903
+ # Corresponds to the JSON property `name`
904
+ # @return [String]
905
+ attr_accessor :name
906
+
907
+ def initialize(**args)
908
+ update!(**args)
909
+ end
910
+
911
+ # Update properties of this object
912
+ def update!(**args)
913
+ @certificates = args[:certificates] if args.key?(:certificates)
914
+ @compute_time = args[:compute_time] if args.key?(:compute_time)
915
+ @name = args[:name] if args.key?(:name)
916
+ end
917
+ end
918
+
876
919
  # Certificate data for a SelfManaged Certificate. SelfManaged Certificates are
877
920
  # uploaded by the user. Updating such certificates before they expire remains
878
921
  # 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.3.0"
19
+ GEM_VERSION = "0.6.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 = "20220223"
25
+ REVISION = "20220523"
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.3.0
4
+ version: 0.6.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-03-14 00:00:00.000000000 Z
11
+ date: 2022-05-30 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.3.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-certificatemanager_v1/v0.6.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Certificate Manager API V1