Class ProjectsResource.LocationsResource.ClustersResource.AclsResource.AddAclEntryRequest
Incremental update: Adds an acl entry to an acl. Creates the acl if it does not exist yet.
Inheritance
ProjectsResource.LocationsResource.ClustersResource.AclsResource.AddAclEntryRequest
Inherited Members
Namespace: Google.Apis.ManagedKafka.v1
Assembly: Google.Apis.ManagedKafka.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ClustersResource.AclsResource.AddAclEntryRequest : ManagedKafkaBaseServiceRequest<AddAclEntryResponse>, IClientServiceRequest<AddAclEntryResponse>, IClientServiceRequest
Constructors
AddAclEntryRequest(IClientService, AclEntry, string)
Constructs a new AddAclEntry request.
Declaration
public AddAclEntryRequest(IClientService service, AclEntry body, string acl)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AclEntry | body | |
string | acl |
Properties
Acl
Required. The name of the acl to add the acl entry to. Structured like:
projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}
. The structure of
acl_id
defines the Resource Pattern (resource_type, resource_name, pattern_type) of the
acl. See Acl.name
for details.
Declaration
[RequestParameter("acl", RequestParameterType.Path)]
public virtual string Acl { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes AddAclEntry parameter list.
Declaration
protected override void InitParameters()