Show / Hide Table of Contents

Class AccountsResource.AccessBindingsResource

The "accessBindings" collection of methods.

Inheritance
object
AccountsResource.AccessBindingsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.GoogleAnalyticsAdmin.v1alpha
Assembly: Google.Apis.GoogleAnalyticsAdmin.v1alpha.dll
Syntax
public class AccountsResource.AccessBindingsResource

Constructors

AccessBindingsResource(IClientService)

Constructs a new resource.

Declaration
public AccessBindingsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

BatchCreate(GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest, string)

Creates information about multiple access bindings to an account or property. This method is transactional. If any AccessBinding cannot be created, none of the AccessBindings will be created.

Declaration
public virtual AccountsResource.AccessBindingsResource.BatchCreateRequest BatchCreate(GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest body, string parent)
Parameters
Type Name Description
GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest body

The body of the request.

string parent

Required. The account or property that owns the access bindings. The parent field in the CreateAccessBindingRequest messages must either be empty or match this field. Formats: - accounts/{account} - properties/{property}

Returns
Type Description
AccountsResource.AccessBindingsResource.BatchCreateRequest

BatchDelete(GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest, string)

Deletes information about multiple users' links to an account or property.

Declaration
public virtual AccountsResource.AccessBindingsResource.BatchDeleteRequest BatchDelete(GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest body, string parent)
Parameters
Type Name Description
GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest body

The body of the request.

string parent

Required. The account or property that owns the access bindings. The parent of all provided values for the 'names' field in DeleteAccessBindingRequest messages must match this field. Formats: - accounts/{account} - properties/{property}

Returns
Type Description
AccountsResource.AccessBindingsResource.BatchDeleteRequest

BatchGet(string)

Gets information about multiple access bindings to an account or property.

Declaration
public virtual AccountsResource.AccessBindingsResource.BatchGetRequest BatchGet(string parent)
Parameters
Type Name Description
string parent

Required. The account or property that owns the access bindings. The parent of all provided values for the 'names' field must match this field. Formats: - accounts/{account} - properties/{property}

Returns
Type Description
AccountsResource.AccessBindingsResource.BatchGetRequest

BatchUpdate(GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest, string)

Updates information about multiple access bindings to an account or property.

Declaration
public virtual AccountsResource.AccessBindingsResource.BatchUpdateRequest BatchUpdate(GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest body, string parent)
Parameters
Type Name Description
GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest body

The body of the request.

string parent

Required. The account or property that owns the access bindings. The parent of all provided AccessBinding in UpdateAccessBindingRequest messages must match this field. Formats: - accounts/{account} - properties/{property}

Returns
Type Description
AccountsResource.AccessBindingsResource.BatchUpdateRequest

Create(GoogleAnalyticsAdminV1alphaAccessBinding, string)

Creates an access binding on an account or property.

Declaration
public virtual AccountsResource.AccessBindingsResource.CreateRequest Create(GoogleAnalyticsAdminV1alphaAccessBinding body, string parent)
Parameters
Type Name Description
GoogleAnalyticsAdminV1alphaAccessBinding body

The body of the request.

string parent

Required. Formats: - accounts/{account} - properties/{property}

Returns
Type Description
AccountsResource.AccessBindingsResource.CreateRequest

Delete(string)

Deletes an access binding on an account or property.

Declaration
public virtual AccountsResource.AccessBindingsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Formats: - accounts/{account}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding}

Returns
Type Description
AccountsResource.AccessBindingsResource.DeleteRequest

Get(string)

Gets information about an access binding.

Declaration
public virtual AccountsResource.AccessBindingsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the access binding to retrieve. Formats: - accounts/{account}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding}

Returns
Type Description
AccountsResource.AccessBindingsResource.GetRequest

List(string)

Lists all access bindings on an account or property.

Declaration
public virtual AccountsResource.AccessBindingsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Formats: - accounts/{account} - properties/{property}

Returns
Type Description
AccountsResource.AccessBindingsResource.ListRequest

Patch(GoogleAnalyticsAdminV1alphaAccessBinding, string)

Updates an access binding on an account or property.

Declaration
public virtual AccountsResource.AccessBindingsResource.PatchRequest Patch(GoogleAnalyticsAdminV1alphaAccessBinding body, string name)
Parameters
Type Name Description
GoogleAnalyticsAdminV1alphaAccessBinding body

The body of the request.

string name

Output only. Resource name of this binding. Format: accounts/{account}/accessBindings/{access_binding} or properties/{property}/accessBindings/{access_binding} Example: "accounts/100/accessBindings/200"

Returns
Type Description
AccountsResource.AccessBindingsResource.PatchRequest
In this article
Back to top Generated by DocFX