Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_bindingGoogle::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

#parentString

Required. Formats: - accounts/account - properties/property Corresponds to the JSON property parent

Returns:

  • (String)


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