Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb
Overview
Request message for CreateAccessBinding RPC.
Instance Attribute Summary collapse
-
#access_binding ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessBinding
A binding of a user to a set of roles.
-
#parent ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest
constructor
A new instance of GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest
Returns a new instance of GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest.
2383 2384 2385 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2383 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_binding ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessBinding
A binding of a user to a set of roles.
Corresponds to the JSON property accessBinding
2376 2377 2378 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2376 def access_binding @access_binding end |
#parent ⇒ String
Required. Formats: - accounts/account
- properties/property
Corresponds to the JSON property parent
2381 2382 2383 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2381 def parent @parent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2388 2389 2390 2391 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2388 def update!(**args) @access_binding = args[:access_binding] if args.key?(:access_binding) @parent = args[:parent] if args.key?(:parent) end |