diff --git a/api_names_out.yaml b/api_names_out.yaml index a6270bf59..751ab1b21 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -139760,10 +139760,12 @@ "/secretmanager:v1/ReplicationStatus/userManaged": user_managed "/secretmanager:v1/Secret": secret "/secretmanager:v1/Secret/createTime": create_time +"/secretmanager:v1/Secret/expireTime": expire_time "/secretmanager:v1/Secret/labels": labels "/secretmanager:v1/Secret/labels/label": label "/secretmanager:v1/Secret/name": name "/secretmanager:v1/Secret/replication": replication +"/secretmanager:v1/Secret/ttl": ttl "/secretmanager:v1/SecretPayload": secret_payload "/secretmanager:v1/SecretPayload/data": data "/secretmanager:v1/SecretVersion": secret_version diff --git a/generated/google-apis-secretmanager_v1/CHANGELOG.md b/generated/google-apis-secretmanager_v1/CHANGELOG.md index 71ed637cb..20d8602ec 100644 --- a/generated/google-apis-secretmanager_v1/CHANGELOG.md +++ b/generated/google-apis-secretmanager_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-secretmanager_v1 +### v0.2.0 (2021-01-15) + +* Regenerated from discovery document revision 20210108 + ### v0.1.0 (2021-01-07) * Regenerated using generator version 0.1.1 diff --git a/generated/google-apis-secretmanager_v1/lib/google/apis/secretmanager_v1/classes.rb b/generated/google-apis-secretmanager_v1/lib/google/apis/secretmanager_v1/classes.rb index 065ddc60e..77ea3ea5d 100644 --- a/generated/google-apis-secretmanager_v1/lib/google/apis/secretmanager_v1/classes.rb +++ b/generated/google-apis-secretmanager_v1/lib/google/apis/secretmanager_v1/classes.rb @@ -751,6 +751,12 @@ module Google # @return [String] attr_accessor :create_time + # Optional. Timestamp in UTC when the Secret is scheduled to expire. This is + # always provided on output, regardless of what was sent on input. + # Corresponds to the JSON property `expireTime` + # @return [String] + attr_accessor :expire_time + # The labels assigned to this Secret. Label keys must be between 1 and 63 # characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform # to the following PCRE regular expression: `\p`Ll`\p`Lo``0,62`` Label values @@ -772,6 +778,11 @@ module Google # @return [Google::Apis::SecretmanagerV1::Replication] attr_accessor :replication + # Input only. The TTL for the Secret. + # Corresponds to the JSON property `ttl` + # @return [String] + attr_accessor :ttl + def initialize(**args) update!(**args) end @@ -779,9 +790,11 @@ module Google # Update properties of this object def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) + @expire_time = args[:expire_time] if args.key?(:expire_time) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @replication = args[:replication] if args.key?(:replication) + @ttl = args[:ttl] if args.key?(:ttl) end end diff --git a/generated/google-apis-secretmanager_v1/lib/google/apis/secretmanager_v1/gem_version.rb b/generated/google-apis-secretmanager_v1/lib/google/apis/secretmanager_v1/gem_version.rb index c7a517f7b..21c6e99c8 100644 --- a/generated/google-apis-secretmanager_v1/lib/google/apis/secretmanager_v1/gem_version.rb +++ b/generated/google-apis-secretmanager_v1/lib/google/apis/secretmanager_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module SecretmanagerV1 # Version of the google-apis-secretmanager_v1 gem - GEM_VERSION = "0.1.0" + GEM_VERSION = "0.2.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.1.1" # Revision of the discovery document this client was generated from - REVISION = "20201106" + REVISION = "20210108" end end end diff --git a/generated/google-apis-secretmanager_v1/lib/google/apis/secretmanager_v1/representations.rb b/generated/google-apis-secretmanager_v1/lib/google/apis/secretmanager_v1/representations.rb index d20a14bb4..5f7a7b675 100644 --- a/generated/google-apis-secretmanager_v1/lib/google/apis/secretmanager_v1/representations.rb +++ b/generated/google-apis-secretmanager_v1/lib/google/apis/secretmanager_v1/representations.rb @@ -410,10 +410,12 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :create_time, as: 'createTime' + property :expire_time, as: 'expireTime' hash :labels, as: 'labels' property :name, as: 'name' property :replication, as: 'replication', class: Google::Apis::SecretmanagerV1::Replication, decorator: Google::Apis::SecretmanagerV1::Replication::Representation + property :ttl, as: 'ttl' end end diff --git a/generated/google-apis-secretmanager_v1/synth.metadata b/generated/google-apis-secretmanager_v1/synth.metadata index 6336bab0b..ee6df5ece 100644 --- a/generated/google-apis-secretmanager_v1/synth.metadata +++ b/generated/google-apis-secretmanager_v1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "6a65c71c4437d5f9e766960419b37cd84c9f4584" + "sha": "efec549a40b76d987e85eddad4c3d654018927a3" } } ]