Class: Google::Apis::CloudidentityV1beta1::BlockDeviceUserResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudidentity_v1beta1/classes.rb,
generated/google/apis/cloudidentity_v1beta1/representations.rb,
generated/google/apis/cloudidentity_v1beta1/representations.rb

Overview

Response message for blocking the device from accessing user data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BlockDeviceUserResponse

Returns a new instance of BlockDeviceUserResponse.



97
98
99
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 97

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#device_userGoogle::Apis::CloudidentityV1beta1::DeviceUser

A DeviceUser is a resource representing a user's use of a Device Corresponds to the JSON property deviceUser



95
96
97
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 95

def device_user
  @device_user
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



102
103
104
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 102

def update!(**args)
  @device_user = args[:device_user] if args.key?(:device_user)
end