lib/google/apis/servicecontrol_v1/classes.rb in google-apis-servicecontrol_v1-0.34.0 vs lib/google/apis/servicecontrol_v1/classes.rb in google-apis-servicecontrol_v1-0.35.0
- old
+ new
@@ -353,10 +353,17 @@
# provider dependent structure.
# Corresponds to the JSON property `claims`
# @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.
# googleusercontent.com".
# Corresponds to the JSON property `presenter`
@@ -378,9 +385,10 @@
# Update properties of this object
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
end