Skip to content

Commit

Permalink
feat: Automated regeneration of servicecontrol v1 client (#18899)
Browse files Browse the repository at this point in the history
Auto-created at 2024-04-28 10:31:42 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot committed Apr 28, 2024
1 parent 8aa8149 commit fd3958a
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 2 deletions.
1 change: 1 addition & 0 deletions api_names_out.yaml
Expand Up @@ -303821,6 +303821,7 @@
"/servicecontrol:v1/Auth/audiences/audience": audience
"/servicecontrol:v1/Auth/claims": claims
"/servicecontrol:v1/Auth/claims/claim": claim
"/servicecontrol:v1/Auth/credentialId": credential_id
"/servicecontrol:v1/Auth/presenter": presenter
"/servicecontrol:v1/Auth/principal": principal
"/servicecontrol:v1/AuthenticationInfo": authentication_info
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-servicecontrol_v1/CHANGELOG.md
@@ -1,5 +1,9 @@
# Release history for google-apis-servicecontrol_v1

### v0.35.0 (2024-04-28)

* Regenerated from discovery document revision 20240419

### v0.34.0 (2024-04-21)

* Regenerated from discovery document revision 20240412
Expand Down
Expand Up @@ -355,6 +355,13 @@ class Auth
# @return [Hash<String,Object>]
attr_accessor :claims

# Identifies the client credential id used for authentication. credential_id is
# in the format of AUTH_METHOD:IDENTIFIER, e.g. "serviceaccount:XXXXX, apikey:
# XXXXX" where the format of the IDENTIFIER can vary for different AUTH_METHODs.
# Corresponds to the JSON property `credentialId`
# @return [String]
attr_accessor :credential_id

# The authorized presenter of the credential. Reflects the optional Authorized
# Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a
# Google Cloud Platform client id looks as follows: "123456789012.apps.
Expand All @@ -380,6 +387,7 @@ def update!(**args)
@access_levels = args[:access_levels] if args.key?(:access_levels)
@audiences = args[:audiences] if args.key?(:audiences)
@claims = args[:claims] if args.key?(:claims)
@credential_id = args[:credential_id] if args.key?(:credential_id)
@presenter = args[:presenter] if args.key?(:presenter)
@principal = args[:principal] if args.key?(:principal)
end
Expand Down
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module ServicecontrolV1
# Version of the google-apis-servicecontrol_v1 gem
GEM_VERSION = "0.34.0"
GEM_VERSION = "0.35.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.14.0"

# Revision of the discovery document this client was generated from
REVISION = "20240412"
REVISION = "20240419"
end
end
end
Expand Up @@ -440,6 +440,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
collection :access_levels, as: 'accessLevels'
collection :audiences, as: 'audiences'
hash :claims, as: 'claims'
property :credential_id, as: 'credentialId'
property :presenter, as: 'presenter'
property :principal, as: 'principal'
end
Expand Down

0 comments on commit fd3958a

Please sign in to comment.