@@ -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 ; }
0 commit comments