Skip to content

Commit 68eedb4

Browse files
feat(managedkafka): update the api
#### managedkafka:v1 The following keys were added: - schemas.CertificateAuthorityServiceConfig (Total Keys: 3) - schemas.Cluster.properties.tlsConfig.$ref (Total Keys: 1) - schemas.TlsConfig (Total Keys: 4) - schemas.TrustConfig (Total Keys: 4)
1 parent b3a831c commit 68eedb4

File tree

4 files changed

+101
-17
lines changed

4 files changed

+101
-17
lines changed

docs/dyn/managedkafka_v1.projects.locations.clusters.html

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,16 @@ <h3>Method Details</h3>
151151
&quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
152152
&quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
153153
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the cluster.
154+
&quot;tlsConfig&quot;: { # The TLS configuration for the Kafka cluster. # Optional. TLS configuration for the Kafka cluster.
155+
&quot;sslPrincipalMappingRules&quot;: &quot;A String&quot;, # Optional. A list of rules for mapping from SSL principal names to short names. These are applied in order by Kafka. Refer to the Apache Kafka documentation for `ssl.principal.mapping.rules` for the precise formatting details and syntax. Example: &quot;RULE:^CN=(.*?),OU=ServiceUsers.*$/[email protected]/,DEFAULT&quot; This is a static Kafka broker configuration. Setting or modifying this field will trigger a rolling restart of the Kafka brokers to apply the change. An empty string means no rules are applied (Kafka default).
156+
&quot;trustConfig&quot;: { # Sources of CA certificates to install in the broker&#x27;s truststore. # Optional. The configuration of the broker truststore. If specified, clients can use mTLS for authentication.
157+
&quot;casConfigs&quot;: [ # Optional. Configuration for the Google Certificate Authority Service. Maximum 10.
158+
{ # A configuration for the Google Certificate Authority Service.
159+
&quot;caPool&quot;: &quot;A String&quot;, # Required. The name of the CA pool to pull CA certificates from. Structured like: projects/{project}/locations/{location}/caPools/{ca_pool}. The CA pool does not need to be in the same project or location as the Kafka cluster.
160+
},
161+
],
162+
},
163+
},
154164
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the cluster was last updated.
155165
}
156166

@@ -261,6 +271,16 @@ <h3>Method Details</h3>
261271
&quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
262272
&quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
263273
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the cluster.
274+
&quot;tlsConfig&quot;: { # The TLS configuration for the Kafka cluster. # Optional. TLS configuration for the Kafka cluster.
275+
&quot;sslPrincipalMappingRules&quot;: &quot;A String&quot;, # Optional. A list of rules for mapping from SSL principal names to short names. These are applied in order by Kafka. Refer to the Apache Kafka documentation for `ssl.principal.mapping.rules` for the precise formatting details and syntax. Example: &quot;RULE:^CN=(.*?),OU=ServiceUsers.*$/[email protected]/,DEFAULT&quot; This is a static Kafka broker configuration. Setting or modifying this field will trigger a rolling restart of the Kafka brokers to apply the change. An empty string means no rules are applied (Kafka default).
276+
&quot;trustConfig&quot;: { # Sources of CA certificates to install in the broker&#x27;s truststore. # Optional. The configuration of the broker truststore. If specified, clients can use mTLS for authentication.
277+
&quot;casConfigs&quot;: [ # Optional. Configuration for the Google Certificate Authority Service. Maximum 10.
278+
{ # A configuration for the Google Certificate Authority Service.
279+
&quot;caPool&quot;: &quot;A String&quot;, # Required. The name of the CA pool to pull CA certificates from. Structured like: projects/{project}/locations/{location}/caPools/{ca_pool}. The CA pool does not need to be in the same project or location as the Kafka cluster.
280+
},
281+
],
282+
},
283+
},
264284
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the cluster was last updated.
265285
}</pre>
266286
</div>
@@ -311,6 +331,16 @@ <h3>Method Details</h3>
311331
&quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
312332
&quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
313333
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the cluster.
334+
&quot;tlsConfig&quot;: { # The TLS configuration for the Kafka cluster. # Optional. TLS configuration for the Kafka cluster.
335+
&quot;sslPrincipalMappingRules&quot;: &quot;A String&quot;, # Optional. A list of rules for mapping from SSL principal names to short names. These are applied in order by Kafka. Refer to the Apache Kafka documentation for `ssl.principal.mapping.rules` for the precise formatting details and syntax. Example: &quot;RULE:^CN=(.*?),OU=ServiceUsers.*$/[email protected]/,DEFAULT&quot; This is a static Kafka broker configuration. Setting or modifying this field will trigger a rolling restart of the Kafka brokers to apply the change. An empty string means no rules are applied (Kafka default).
336+
&quot;trustConfig&quot;: { # Sources of CA certificates to install in the broker&#x27;s truststore. # Optional. The configuration of the broker truststore. If specified, clients can use mTLS for authentication.
337+
&quot;casConfigs&quot;: [ # Optional. Configuration for the Google Certificate Authority Service. Maximum 10.
338+
{ # A configuration for the Google Certificate Authority Service.
339+
&quot;caPool&quot;: &quot;A String&quot;, # Required. The name of the CA pool to pull CA certificates from. Structured like: projects/{project}/locations/{location}/caPools/{ca_pool}. The CA pool does not need to be in the same project or location as the Kafka cluster.
340+
},
341+
],
342+
},
343+
},
314344
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the cluster was last updated.
315345
},
316346
],
@@ -370,6 +400,16 @@ <h3>Method Details</h3>
370400
&quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
371401
&quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
372402
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the cluster.
403+
&quot;tlsConfig&quot;: { # The TLS configuration for the Kafka cluster. # Optional. TLS configuration for the Kafka cluster.
404+
&quot;sslPrincipalMappingRules&quot;: &quot;A String&quot;, # Optional. A list of rules for mapping from SSL principal names to short names. These are applied in order by Kafka. Refer to the Apache Kafka documentation for `ssl.principal.mapping.rules` for the precise formatting details and syntax. Example: &quot;RULE:^CN=(.*?),OU=ServiceUsers.*$/[email protected]/,DEFAULT&quot; This is a static Kafka broker configuration. Setting or modifying this field will trigger a rolling restart of the Kafka brokers to apply the change. An empty string means no rules are applied (Kafka default).
405+
&quot;trustConfig&quot;: { # Sources of CA certificates to install in the broker&#x27;s truststore. # Optional. The configuration of the broker truststore. If specified, clients can use mTLS for authentication.
406+
&quot;casConfigs&quot;: [ # Optional. Configuration for the Google Certificate Authority Service. Maximum 10.
407+
{ # A configuration for the Google Certificate Authority Service.
408+
&quot;caPool&quot;: &quot;A String&quot;, # Required. The name of the CA pool to pull CA certificates from. Structured like: projects/{project}/locations/{location}/caPools/{ca_pool}. The CA pool does not need to be in the same project or location as the Kafka cluster.
409+
},
410+
],
411+
},
412+
},
373413
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the cluster was last updated.
374414
}
375415

docs/dyn/managedkafka_v1.projects.locations.schemaRegistries.contexts.mode.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ <h3>Method Details</h3>
106106
Returns:
107107
An object of the form:
108108

109-
{ # SchemaMode represents the mode of a schema registry or a specific subject. Four modes are supported: * NONE: This is the default mode for a subject and essentially means that the subject does not have any mode set. This means the subject will follow the schema registry&#x27;s mode. * READONLY: The schema registry is in read-only mode. * READWRITE: The schema registry is in read-write mode, which allows limited write operations on the schema. * IMPORT: The schema registry is in import mode, which allows more editing operations on the schema for data importing purposes.
110-
&quot;mode&quot;: &quot;A String&quot;, # Required. The mode type of a schema registry (READWRITE by default) or of a subject (NONE by default, which means use the global schema registry setting).
109+
{ # SchemaMode represents the mode of a schema registry or a specific subject. Four modes are supported: * NONE: deprecated. This was the default mode for a subject, but now the default is unset (which means use the global schema registry setting) * READONLY: The schema registry is in read-only mode. * READWRITE: The schema registry is in read-write mode, which allows limited write operations on the schema. * IMPORT: The schema registry is in import mode, which allows more editing operations on the schema for data importing purposes.
110+
&quot;mode&quot;: &quot;A String&quot;, # Required. The mode type of a schema registry (READWRITE by default) or of a subject (unset by default, which means use the global schema registry setting).
111111
}</pre>
112112
</div>
113113

@@ -125,8 +125,8 @@ <h3>Method Details</h3>
125125
Returns:
126126
An object of the form:
127127

128-
{ # SchemaMode represents the mode of a schema registry or a specific subject. Four modes are supported: * NONE: This is the default mode for a subject and essentially means that the subject does not have any mode set. This means the subject will follow the schema registry&#x27;s mode. * READONLY: The schema registry is in read-only mode. * READWRITE: The schema registry is in read-write mode, which allows limited write operations on the schema. * IMPORT: The schema registry is in import mode, which allows more editing operations on the schema for data importing purposes.
129-
&quot;mode&quot;: &quot;A String&quot;, # Required. The mode type of a schema registry (READWRITE by default) or of a subject (NONE by default, which means use the global schema registry setting).
128+
{ # SchemaMode represents the mode of a schema registry or a specific subject. Four modes are supported: * NONE: deprecated. This was the default mode for a subject, but now the default is unset (which means use the global schema registry setting) * READONLY: The schema registry is in read-only mode. * READWRITE: The schema registry is in read-write mode, which allows limited write operations on the schema. * IMPORT: The schema registry is in import mode, which allows more editing operations on the schema for data importing purposes.
129+
&quot;mode&quot;: &quot;A String&quot;, # Required. The mode type of a schema registry (READWRITE by default) or of a subject (unset by default, which means use the global schema registry setting).
130130
}</pre>
131131
</div>
132132

@@ -151,8 +151,8 @@ <h3>Method Details</h3>
151151
Returns:
152152
An object of the form:
153153

154-
{ # SchemaMode represents the mode of a schema registry or a specific subject. Four modes are supported: * NONE: This is the default mode for a subject and essentially means that the subject does not have any mode set. This means the subject will follow the schema registry&#x27;s mode. * READONLY: The schema registry is in read-only mode. * READWRITE: The schema registry is in read-write mode, which allows limited write operations on the schema. * IMPORT: The schema registry is in import mode, which allows more editing operations on the schema for data importing purposes.
155-
&quot;mode&quot;: &quot;A String&quot;, # Required. The mode type of a schema registry (READWRITE by default) or of a subject (NONE by default, which means use the global schema registry setting).
154+
{ # SchemaMode represents the mode of a schema registry or a specific subject. Four modes are supported: * NONE: deprecated. This was the default mode for a subject, but now the default is unset (which means use the global schema registry setting) * READONLY: The schema registry is in read-only mode. * READWRITE: The schema registry is in read-write mode, which allows limited write operations on the schema. * IMPORT: The schema registry is in import mode, which allows more editing operations on the schema for data importing purposes.
155+
&quot;mode&quot;: &quot;A String&quot;, # Required. The mode type of a schema registry (READWRITE by default) or of a subject (unset by default, which means use the global schema registry setting).
156156
}</pre>
157157
</div>
158158

docs/dyn/managedkafka_v1.projects.locations.schemaRegistries.mode.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ <h3>Method Details</h3>
106106
Returns:
107107
An object of the form:
108108

109-
{ # SchemaMode represents the mode of a schema registry or a specific subject. Four modes are supported: * NONE: This is the default mode for a subject and essentially means that the subject does not have any mode set. This means the subject will follow the schema registry&#x27;s mode. * READONLY: The schema registry is in read-only mode. * READWRITE: The schema registry is in read-write mode, which allows limited write operations on the schema. * IMPORT: The schema registry is in import mode, which allows more editing operations on the schema for data importing purposes.
110-
&quot;mode&quot;: &quot;A String&quot;, # Required. The mode type of a schema registry (READWRITE by default) or of a subject (NONE by default, which means use the global schema registry setting).
109+
{ # SchemaMode represents the mode of a schema registry or a specific subject. Four modes are supported: * NONE: deprecated. This was the default mode for a subject, but now the default is unset (which means use the global schema registry setting) * READONLY: The schema registry is in read-only mode. * READWRITE: The schema registry is in read-write mode, which allows limited write operations on the schema. * IMPORT: The schema registry is in import mode, which allows more editing operations on the schema for data importing purposes.
110+
&quot;mode&quot;: &quot;A String&quot;, # Required. The mode type of a schema registry (READWRITE by default) or of a subject (unset by default, which means use the global schema registry setting).
111111
}</pre>
112112
</div>
113113

@@ -125,8 +125,8 @@ <h3>Method Details</h3>
125125
Returns:
126126
An object of the form:
127127

128-
{ # SchemaMode represents the mode of a schema registry or a specific subject. Four modes are supported: * NONE: This is the default mode for a subject and essentially means that the subject does not have any mode set. This means the subject will follow the schema registry&#x27;s mode. * READONLY: The schema registry is in read-only mode. * READWRITE: The schema registry is in read-write mode, which allows limited write operations on the schema. * IMPORT: The schema registry is in import mode, which allows more editing operations on the schema for data importing purposes.
129-
&quot;mode&quot;: &quot;A String&quot;, # Required. The mode type of a schema registry (READWRITE by default) or of a subject (NONE by default, which means use the global schema registry setting).
128+
{ # SchemaMode represents the mode of a schema registry or a specific subject. Four modes are supported: * NONE: deprecated. This was the default mode for a subject, but now the default is unset (which means use the global schema registry setting) * READONLY: The schema registry is in read-only mode. * READWRITE: The schema registry is in read-write mode, which allows limited write operations on the schema. * IMPORT: The schema registry is in import mode, which allows more editing operations on the schema for data importing purposes.
129+
&quot;mode&quot;: &quot;A String&quot;, # Required. The mode type of a schema registry (READWRITE by default) or of a subject (unset by default, which means use the global schema registry setting).
130130
}</pre>
131131
</div>
132132

@@ -151,8 +151,8 @@ <h3>Method Details</h3>
151151
Returns:
152152
An object of the form:
153153

154-
{ # SchemaMode represents the mode of a schema registry or a specific subject. Four modes are supported: * NONE: This is the default mode for a subject and essentially means that the subject does not have any mode set. This means the subject will follow the schema registry&#x27;s mode. * READONLY: The schema registry is in read-only mode. * READWRITE: The schema registry is in read-write mode, which allows limited write operations on the schema. * IMPORT: The schema registry is in import mode, which allows more editing operations on the schema for data importing purposes.
155-
&quot;mode&quot;: &quot;A String&quot;, # Required. The mode type of a schema registry (READWRITE by default) or of a subject (NONE by default, which means use the global schema registry setting).
154+
{ # SchemaMode represents the mode of a schema registry or a specific subject. Four modes are supported: * NONE: deprecated. This was the default mode for a subject, but now the default is unset (which means use the global schema registry setting) * READONLY: The schema registry is in read-only mode. * READWRITE: The schema registry is in read-write mode, which allows limited write operations on the schema. * IMPORT: The schema registry is in import mode, which allows more editing operations on the schema for data importing purposes.
155+
&quot;mode&quot;: &quot;A String&quot;, # Required. The mode type of a schema registry (READWRITE by default) or of a subject (unset by default, which means use the global schema registry setting).
156156
}</pre>
157157
</div>
158158

0 commit comments

Comments
 (0)