Class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest

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

Overview

Request message for blocking account on device.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest

Returns a new instance of GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest.



407
408
409
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 407

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

Instance Attribute Details

#customerString

Optional. Resource name of the customer. If you're using this API for your own organization, use customers/my_customer If you're using this API to manage another organization, use customers/customer`, where customer is the customer to whom the device belongs. Corresponds to the JSON propertycustomer`

Returns:

  • (String)


405
406
407
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 405

def customer
  @customer
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



412
413
414
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 412

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