Class PropertiesResource.AccessBindingsResource
The "accessBindings" collection of methods.
Inherited Members
Namespace: Google.Apis.GoogleAnalyticsAdmin.v1alpha
Assembly: Google.Apis.GoogleAnalyticsAdmin.v1alpha.dll
Syntax
public class PropertiesResource.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 PropertiesResource.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 |
|---|---|
| PropertiesResource.AccessBindingsResource.BatchCreateRequest |
BatchDelete(GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest, string)
Deletes information about multiple users' links to an account or property.
Declaration
public virtual PropertiesResource.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 |
|---|---|
| PropertiesResource.AccessBindingsResource.BatchDeleteRequest |
BatchGet(string)
Gets information about multiple access bindings to an account or property.
Declaration
public virtual PropertiesResource.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 |
|---|---|
| PropertiesResource.AccessBindingsResource.BatchGetRequest |
BatchUpdate(GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest, string)
Updates information about multiple access bindings to an account or property.
Declaration
public virtual PropertiesResource.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 |
|---|---|
| PropertiesResource.AccessBindingsResource.BatchUpdateRequest |
Create(GoogleAnalyticsAdminV1alphaAccessBinding, string)
Creates an access binding on an account or property.
Declaration
public virtual PropertiesResource.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 |
|---|---|
| PropertiesResource.AccessBindingsResource.CreateRequest |
Delete(string)
Deletes an access binding on an account or property.
Declaration
public virtual PropertiesResource.AccessBindingsResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Formats: - accounts/{account}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding} |
Returns
| Type | Description |
|---|---|
| PropertiesResource.AccessBindingsResource.DeleteRequest |
Get(string)
Gets information about an access binding.
Declaration
public virtual PropertiesResource.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 |
|---|---|
| PropertiesResource.AccessBindingsResource.GetRequest |
List(string)
Lists all access bindings on an account or property.
Declaration
public virtual PropertiesResource.AccessBindingsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. Formats: - accounts/{account} - properties/{property} |
Returns
| Type | Description |
|---|---|
| PropertiesResource.AccessBindingsResource.ListRequest |
Patch(GoogleAnalyticsAdminV1alphaAccessBinding, string)
Updates an access binding on an account or property.
Declaration
public virtual PropertiesResource.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 |
|---|---|
| PropertiesResource.AccessBindingsResource.PatchRequest |