Class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/cloudidentity_v1/classes.rb,
generated/google/apis/cloudidentity_v1/representations.rb,
generated/google/apis/cloudidentity_v1/representations.rb
Overview
Request message for approving the device to access user data.
Instance Attribute Summary collapse
-
#customer ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest
constructor
A new instance of GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest
Returns a new instance of GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest.
167 168 169 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 167 def initialize(**args) update!(**args) end |
Instance Attribute Details
#customer ⇒ String
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 property
customer`
165 166 167 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 165 def customer @customer end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
172 173 174 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 172 def update!(**args) @customer = args[:customer] if args.key?(:customer) end |