Class: Google::Apis::CloudidentityV1beta1::ApproveDeviceUserRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1beta1::ApproveDeviceUserRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudidentity_v1beta1/classes.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb
Overview
Request message for approving the device to access user data.
Instance Attribute Summary collapse
-
#customer ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApproveDeviceUserRequest
constructor
A new instance of ApproveDeviceUserRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApproveDeviceUserRequest
Returns a new instance of ApproveDeviceUserRequest.
144 145 146 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 144 def initialize(**args) update!(**args) end |
Instance Attribute Details
#customer ⇒ String
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_id`, where customer_id is the customer to whom the
device belongs.
Corresponds to the JSON property
customer`
142 143 144 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 142 def customer @customer end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
149 150 151 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 149 def update!(**args) @customer = args[:customer] if args.key?(:customer) end |