Skip to content

Commit 81153fa

Browse files
amanda-tarafajskeet
authored andcommitted
feat: Generate Google.Apis.ManagedKafka.v1 version 1.73.0.3998
1 parent 1ec5840 commit 81153fa

File tree

4 files changed

+129
-2
lines changed

4 files changed

+129
-2
lines changed

DiscoveryJson/managedkafka.v1.json

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,21 @@
480480
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
481481
"required": true,
482482
"type": "string"
483+
},
484+
"view": {
485+
"description": "Optional. Specifies the view of the Cluster resource to be returned. Defaults to CLUSTER_VIEW_BASIC. See the ClusterView enum for possible values.",
486+
"enum": [
487+
"CLUSTER_VIEW_UNSPECIFIED",
488+
"CLUSTER_VIEW_BASIC",
489+
"CLUSTER_VIEW_FULL"
490+
],
491+
"enumDescriptions": [
492+
"The default / unset value. The API will default to the BASIC view.",
493+
"Include the basic metadata of the Cluster. This is the default value (for both ListClusters and GetCluster).",
494+
"Include everything, including data fetched from the Kafka cluster source of truth."
495+
],
496+
"location": "query",
497+
"type": "string"
483498
}
484499
},
485500
"path": "v1/{+name}",
@@ -3166,7 +3181,7 @@
31663181
}
31673182
}
31683183
},
3169-
"revision": "20251204",
3184+
"revision": "20251212",
31703185
"rootUrl": "https://managedkafka.googleapis.com/",
31713186
"schemas": {
31723187
"AccessConfig": {
@@ -3258,6 +3273,30 @@
32583273
},
32593274
"type": "object"
32603275
},
3276+
"BrokerDetails": {
3277+
"description": "Details of a broker in the Kafka cluster.",
3278+
"id": "BrokerDetails",
3279+
"properties": {
3280+
"brokerIndex": {
3281+
"description": "Output only. The index of the broker.",
3282+
"format": "int64",
3283+
"readOnly": true,
3284+
"type": "string"
3285+
},
3286+
"nodeId": {
3287+
"description": "Output only. The node id of the broker.",
3288+
"format": "int64",
3289+
"readOnly": true,
3290+
"type": "string"
3291+
},
3292+
"rack": {
3293+
"description": "Output only. The rack of the broker.",
3294+
"readOnly": true,
3295+
"type": "string"
3296+
}
3297+
},
3298+
"type": "object"
3299+
},
32613300
"CancelOperationRequest": {
32623301
"description": "The request message for Operations.CancelOperation.",
32633302
"id": "CancelOperationRequest",
@@ -3352,6 +3391,14 @@
33523391
"description": "An Apache Kafka cluster deployed in a location.",
33533392
"id": "Cluster",
33543393
"properties": {
3394+
"brokerDetails": {
3395+
"description": "Output only. Only populated when FULL view is requested. Details of each broker in the cluster.",
3396+
"items": {
3397+
"$ref": "BrokerDetails"
3398+
},
3399+
"readOnly": true,
3400+
"type": "array"
3401+
},
33553402
"capacityConfig": {
33563403
"$ref": "CapacityConfig",
33573404
"description": "Required. Capacity configuration for the Kafka cluster."
@@ -3366,6 +3413,11 @@
33663413
"$ref": "GcpConfig",
33673414
"description": "Required. Configuration properties for a Kafka cluster deployed to Google Cloud Platform."
33683415
},
3416+
"kafkaVersion": {
3417+
"description": "Output only. Only populated when FULL view is requested. The Kafka version of the cluster.",
3418+
"readOnly": true,
3419+
"type": "string"
3420+
},
33693421
"labels": {
33703422
"additionalProperties": {
33713423
"type": "string"

EnumStorage/managedkafka.v1.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
"CONSUMER_GROUP_VIEW_BASIC",
1414
"CONSUMER_GROUP_VIEW_FULL"
1515
],
16+
"Google.Apis.ManagedKafka.v1.ProjectsResource+LocationsResource+ClustersResource+GetRequest.ViewEnum": [
17+
"CLUSTER_VIEW_UNSPECIFIED",
18+
"CLUSTER_VIEW_BASIC",
19+
"CLUSTER_VIEW_FULL"
20+
],
1621
"Google.Apis.ManagedKafka.v1.ProjectsResource+LocationsResource+SchemaRegistriesResource+ListRequest.ViewEnum": [
1722
"SCHEMA_REGISTRY_VIEW_UNSPECIFIED",
1823
"SCHEMA_REGISTRY_VIEW_BASIC",

Src/Generated/Google.Apis.ManagedKafka.v1/Google.Apis.ManagedKafka.v1.cs

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1694,6 +1694,37 @@ public GetRequest(Google.Apis.Services.IClientService service, string name) : ba
16941694
[Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)]
16951695
public virtual string Name { get; private set; }
16961696

1697+
/// <summary>
1698+
/// Optional. Specifies the view of the Cluster resource to be returned. Defaults to
1699+
/// CLUSTER_VIEW_BASIC. See the ClusterView enum for possible values.
1700+
/// </summary>
1701+
[Google.Apis.Util.RequestParameterAttribute("view", Google.Apis.Util.RequestParameterType.Query)]
1702+
public virtual System.Nullable<ViewEnum> View { get; set; }
1703+
1704+
/// <summary>
1705+
/// Optional. Specifies the view of the Cluster resource to be returned. Defaults to
1706+
/// CLUSTER_VIEW_BASIC. See the ClusterView enum for possible values.
1707+
/// </summary>
1708+
public enum ViewEnum
1709+
{
1710+
/// <summary>The default / unset value. The API will default to the BASIC view.</summary>
1711+
[Google.Apis.Util.StringValueAttribute("CLUSTER_VIEW_UNSPECIFIED")]
1712+
CLUSTERVIEWUNSPECIFIED = 0,
1713+
1714+
/// <summary>
1715+
/// Include the basic metadata of the Cluster. This is the default value (for both ListClusters
1716+
/// and GetCluster).
1717+
/// </summary>
1718+
[Google.Apis.Util.StringValueAttribute("CLUSTER_VIEW_BASIC")]
1719+
CLUSTERVIEWBASIC = 1,
1720+
1721+
/// <summary>
1722+
/// Include everything, including data fetched from the Kafka cluster source of truth.
1723+
/// </summary>
1724+
[Google.Apis.Util.StringValueAttribute("CLUSTER_VIEW_FULL")]
1725+
CLUSTERVIEWFULL = 2,
1726+
}
1727+
16971728
/// <summary>Gets the method name.</summary>
16981729
public override string MethodName => "get";
16991730

@@ -1715,6 +1746,14 @@ protected override void InitParameters()
17151746
DefaultValue = null,
17161747
Pattern = @"^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
17171748
});
1749+
RequestParameters.Add("view", new Google.Apis.Discovery.Parameter
1750+
{
1751+
Name = "view",
1752+
IsRequired = false,
1753+
ParameterType = "query",
1754+
DefaultValue = null,
1755+
Pattern = null,
1756+
});
17181757
}
17191758
}
17201759

@@ -7209,6 +7248,25 @@ public class AddAclEntryResponse : Google.Apis.Requests.IDirectResponseSchema
72097248
public virtual string ETag { get; set; }
72107249
}
72117250

7251+
/// <summary>Details of a broker in the Kafka cluster.</summary>
7252+
public class BrokerDetails : Google.Apis.Requests.IDirectResponseSchema
7253+
{
7254+
/// <summary>Output only. The index of the broker.</summary>
7255+
[Newtonsoft.Json.JsonPropertyAttribute("brokerIndex")]
7256+
public virtual System.Nullable<long> BrokerIndex { get; set; }
7257+
7258+
/// <summary>Output only. The node id of the broker.</summary>
7259+
[Newtonsoft.Json.JsonPropertyAttribute("nodeId")]
7260+
public virtual System.Nullable<long> NodeId { get; set; }
7261+
7262+
/// <summary>Output only. The rack of the broker.</summary>
7263+
[Newtonsoft.Json.JsonPropertyAttribute("rack")]
7264+
public virtual string Rack { get; set; }
7265+
7266+
/// <summary>The ETag of the item.</summary>
7267+
public virtual string ETag { get; set; }
7268+
}
7269+
72127270
/// <summary>The request message for Operations.CancelOperation.</summary>
72137271
public class CancelOperationRequest : Google.Apis.Requests.IDirectResponseSchema
72147272
{
@@ -7293,6 +7351,12 @@ public class CheckCompatibilityResponse : Google.Apis.Requests.IDirectResponseSc
72937351
/// <summary>An Apache Kafka cluster deployed in a location.</summary>
72947352
public class Cluster : Google.Apis.Requests.IDirectResponseSchema
72957353
{
7354+
/// <summary>
7355+
/// Output only. Only populated when FULL view is requested. Details of each broker in the cluster.
7356+
/// </summary>
7357+
[Newtonsoft.Json.JsonPropertyAttribute("brokerDetails")]
7358+
public virtual System.Collections.Generic.IList<BrokerDetails> BrokerDetails { get; set; }
7359+
72967360
/// <summary>Required. Capacity configuration for the Kafka cluster.</summary>
72977361
[Newtonsoft.Json.JsonPropertyAttribute("capacityConfig")]
72987362
public virtual CapacityConfig CapacityConfig { get; set; }
@@ -7338,6 +7402,12 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset
73387402
[Newtonsoft.Json.JsonPropertyAttribute("gcpConfig")]
73397403
public virtual GcpConfig GcpConfig { get; set; }
73407404

7405+
/// <summary>
7406+
/// Output only. Only populated when FULL view is requested. The Kafka version of the cluster.
7407+
/// </summary>
7408+
[Newtonsoft.Json.JsonPropertyAttribute("kafkaVersion")]
7409+
public virtual string KafkaVersion { get; set; }
7410+
73417411
/// <summary>Optional. Labels as key value pairs.</summary>
73427412
[Newtonsoft.Json.JsonPropertyAttribute("labels")]
73437413
public virtual System.Collections.Generic.IDictionary<string, string> Labels { get; set; }

Src/Generated/Google.Apis.ManagedKafka.v1/Google.Apis.ManagedKafka.v1.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!-- nupkg information -->
44
<PropertyGroup>
55
<Title>Google.Apis.ManagedKafka.v1 Client Library</Title>
6-
<Version>1.73.0.3990</Version>
6+
<Version>1.73.0.3998</Version>
77
<Authors>Google LLC</Authors>
88
<Copyright>Copyright 2025 Google LLC</Copyright>
99
<PackageTags>Google</PackageTags>

0 commit comments

Comments
 (0)