Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ClustersResource.AclsResource.CreateRequest

Creates a new acl in the given project, location, and cluster.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Acl>
ManagedKafkaBaseServiceRequest<Acl>
ProjectsResource.LocationsResource.ClustersResource.AclsResource.CreateRequest
Implements
IClientServiceRequest<Acl>
IClientServiceRequest
Inherited Members
ManagedKafkaBaseServiceRequest<Acl>.Xgafv
ManagedKafkaBaseServiceRequest<Acl>.AccessToken
ManagedKafkaBaseServiceRequest<Acl>.Alt
ManagedKafkaBaseServiceRequest<Acl>.Callback
ManagedKafkaBaseServiceRequest<Acl>.Fields
ManagedKafkaBaseServiceRequest<Acl>.Key
ManagedKafkaBaseServiceRequest<Acl>.OauthToken
ManagedKafkaBaseServiceRequest<Acl>.PrettyPrint
ManagedKafkaBaseServiceRequest<Acl>.QuotaUser
ManagedKafkaBaseServiceRequest<Acl>.UploadType
ManagedKafkaBaseServiceRequest<Acl>.UploadProtocol
ClientServiceRequest<Acl>.Execute()
ClientServiceRequest<Acl>.ExecuteAsStream()
ClientServiceRequest<Acl>.ExecuteAsync()
ClientServiceRequest<Acl>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Acl>.ExecuteAsStreamAsync()
ClientServiceRequest<Acl>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Acl>.CreateRequest(bool?)
ClientServiceRequest<Acl>.GenerateRequestUri()
ClientServiceRequest<Acl>.GetDefaultETagAction(string)
ClientServiceRequest<Acl>.ETagAction
ClientServiceRequest<Acl>.ModifyRequest
ClientServiceRequest<Acl>.ValidateParameters
ClientServiceRequest<Acl>.ApiVersion
ClientServiceRequest<Acl>.RequestParameters
ClientServiceRequest<Acl>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ManagedKafka.v1
Assembly: Google.Apis.ManagedKafka.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ClustersResource.AclsResource.CreateRequest : ManagedKafkaBaseServiceRequest<Acl>, IClientServiceRequest<Acl>, IClientServiceRequest

Constructors

CreateRequest(IClientService, Acl, string)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, Acl body, string parent)
Parameters
Type Name Description
IClientService service
Acl body
string parent

Properties

AclId

Required. The ID to use for the acl, which will become the final component of the acl's name. The structure of acl_id defines the Resource Pattern (resource_type, resource_name, pattern_type) of the acl. acl_id is structured like one of the following: For acls on the cluster: cluster For acls on a single resource within the cluster: topic/{resource_name} consumerGroup/{resource_name} transactionalId/{resource_name} For acls on all resources that match a prefix: topicPrefixed/{resource_name} consumerGroupPrefixed/{resource_name} transactionalIdPrefixed/{resource_name} For acls on all resources of a given type (i.e. the wildcard literal "*"): allTopics (represents topic/*) allConsumerGroups (represents consumerGroup/*) allTransactionalIds (represents transactionalId/*)

Declaration
[RequestParameter("aclId", RequestParameterType.Query)]
public virtual string AclId { get; set; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Acl>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Acl>.MethodName

Parent

Required. The parent cluster in which to create the acl. Structured like projects/{project}/locations/{location}/clusters/{cluster}.

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Acl>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<Acl>.GetBody()

InitParameters()

Initializes Create parameter list.

Declaration
protected override void InitParameters()
Overrides
ManagedKafkaBaseServiceRequest<Acl>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX