Class ProjectsResource.LocationsResource.ClustersResource.AclsResource.PatchRequest
Updates the properties of a single acl.
Inheritance
Inherited Members
Namespace: Google.Apis.ManagedKafka.v1
Assembly: Google.Apis.ManagedKafka.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ClustersResource.AclsResource.PatchRequest : ManagedKafkaBaseServiceRequest<Acl>, IClientServiceRequest<Acl>, IClientServiceRequest
Constructors
PatchRequest(IClientService, Acl, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, Acl body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Acl | body | |
string | name |
Properties
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
Name
Identifier. The name for the acl. Represents a single Resource Pattern. 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. 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("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UpdateMask
Optional. Field mask is used to specify the fields to be overwritten in the Acl resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()