Class: Google::Apis::CloudidentityV1beta1::ApproveDeviceUserRequest

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
more...

Overview

Request message for approving the device to access user data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ApproveDeviceUserRequest

Returns a new instance of ApproveDeviceUserRequest.

[View source]

82
83
84
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 82

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

Instance Attribute Details

#customerString

Required. 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_id`, where customer_id is the customer to whom the device belongs. Corresponds to the JSON propertycustomer`

Returns:

  • (String)

80
81
82
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 80

def customer
  @customer
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

87
88
89
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 87

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


Privacy · Terms