#[non_exhaustive]pub struct CreateAclRequest {
pub parent: String,
pub acl_id: String,
pub acl: Option<Acl>,
/* private fields */
}Expand description
Request for CreateAcl.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.parent: StringRequired. The parent cluster in which to create the acl.
Structured like
projects/{project}/locations/{location}/clusters/{cluster}.
acl_id: StringRequired. 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/*)
acl: Option<Acl>Required. Configuration of the acl to create. Its name field is ignored.
Implementations§
Source§impl CreateAclRequest
impl CreateAclRequest
Trait Implementations§
Source§impl Clone for CreateAclRequest
impl Clone for CreateAclRequest
Source§fn clone(&self) -> CreateAclRequest
fn clone(&self) -> CreateAclRequest
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source. Read more