Class: Google::Apis::AgentidentityV1::RevokeAuthorizationRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idString

Required. The identity of the user to revoke authorization for. Corresponds to the JSON property userId

Returns:

  • (String)


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