Skip to content

Commit c53847a

Browse files
feat: Automated regeneration of apikeys v2 client (googleapis#20418)
Auto-created at 2024-10-20 09:34:47 +0000 using the toys pull request generator.
1 parent 7b6040d commit c53847a

File tree

5 files changed

+15
-2
lines changed

5 files changed

+15
-2
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34939,6 +34939,7 @@
3493934939
"/apikeys:v2/V2Key/keyString": key_string
3494034940
"/apikeys:v2/V2Key/name": name
3494134941
"/apikeys:v2/V2Key/restrictions": restrictions
34942+
"/apikeys:v2/V2Key/serviceAccountEmail": service_account_email
3494234943
"/apikeys:v2/V2Key/uid": uid
3494334944
"/apikeys:v2/V2Key/updateTime": update_time
3494434945
"/apikeys:v2/V2ListKeysResponse": v2_list_keys_response

generated/google-apis-apikeys_v2/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-apikeys_v2
22

3+
### v0.24.0 (2024-10-20)
4+
5+
* Regenerated from discovery document revision 20241016
6+
37
### v0.23.0 (2024-08-18)
48

59
* Regenerated from discovery document revision 20240811

generated/google-apis-apikeys_v2/lib/google/apis/apikeys_v2/classes.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,12 @@ class V2Key
315315
# @return [Google::Apis::ApikeysV2::V2Restrictions]
316316
attr_accessor :restrictions
317317

318+
# Optional. The email address of [the service account](https://cloud.google.com/
319+
# iam/docs/service-accounts) the key is bound to.
320+
# Corresponds to the JSON property `serviceAccountEmail`
321+
# @return [String]
322+
attr_accessor :service_account_email
323+
318324
# Output only. Unique id in UUID4 format.
319325
# Corresponds to the JSON property `uid`
320326
# @return [String]
@@ -339,6 +345,7 @@ def update!(**args)
339345
@key_string = args[:key_string] if args.key?(:key_string)
340346
@name = args[:name] if args.key?(:name)
341347
@restrictions = args[:restrictions] if args.key?(:restrictions)
348+
@service_account_email = args[:service_account_email] if args.key?(:service_account_email)
342349
@uid = args[:uid] if args.key?(:uid)
343350
@update_time = args[:update_time] if args.key?(:update_time)
344351
end

generated/google-apis-apikeys_v2/lib/google/apis/apikeys_v2/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ApikeysV2
1818
# Version of the google-apis-apikeys_v2 gem
19-
GEM_VERSION = "0.23.0"
19+
GEM_VERSION = "0.24.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.15.1"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20240811"
25+
REVISION = "20241016"
2626
end
2727
end
2828
end

generated/google-apis-apikeys_v2/lib/google/apis/apikeys_v2/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
184184
property :name, as: 'name'
185185
property :restrictions, as: 'restrictions', class: Google::Apis::ApikeysV2::V2Restrictions, decorator: Google::Apis::ApikeysV2::V2Restrictions::Representation
186186

187+
property :service_account_email, as: 'serviceAccountEmail'
187188
property :uid, as: 'uid'
188189
property :update_time, as: 'updateTime'
189190
end

0 commit comments

Comments
 (0)