Class: Google::Apis::AgentidentityV1::RevokeAuthorizationRequest
- Inherits:
-
Object
- Object
- Google::Apis::AgentidentityV1::RevokeAuthorizationRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/agentidentity_v1/classes.rb,
lib/google/apis/agentidentity_v1/representations.rb,
lib/google/apis/agentidentity_v1/representations.rb
Overview
Request message for RevokeAuthorization.
Instance Attribute Summary collapse
-
#user_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RevokeAuthorizationRequest
constructor
A new instance of RevokeAuthorizationRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RevokeAuthorizationRequest
Returns a new instance of RevokeAuthorizationRequest.
937 938 939 |
# File 'lib/google/apis/agentidentity_v1/classes.rb', line 937 def initialize(**args) update!(**args) end |
Instance Attribute Details
#user_id ⇒ String
Required. The identity of the user to revoke authorization for.
Corresponds to the JSON property userId
935 936 937 |
# File 'lib/google/apis/agentidentity_v1/classes.rb', line 935 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
942 943 944 |
# File 'lib/google/apis/agentidentity_v1/classes.rb', line 942 def update!(**args) @user_id = args[:user_id] if args.key?(:user_id) end |