Skip to content

Commit

Permalink
feat: Support AttachedClusters (#45)
Browse files Browse the repository at this point in the history
* feat: Support AttachedClusters
feat: Add errors output fields for cluster and nodepool resources
feat: Add AWS Autoscaling Group metrics collection for AWS nodepools
feat: Add monitoring config

Clients can now (1) manage Attached Clusters, (2) use managed GMP metrics collection, (3) enable AWS nodepool ASG metrics collection, and (4) get error summary from API resources.

PiperOrigin-RevId: 496709757

Source-Link: googleapis/googleapis@8e3a5a4

Source-Link: googleapis/googleapis-gen@d5c060f
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDVjMDYwZjFlYzg2NWFmNzI3ZDcwZTI2MTFmZjgwNmZkNTA0Y2JiNSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* add regenerate with rest

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
  • Loading branch information
3 people authored Jan 4, 2023
1 parent 22b3a24 commit 7063320
Show file tree
Hide file tree
Showing 63 changed files with 21,423 additions and 104 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
AttachedClusters
----------------------------------

.. automodule:: google.cloud.gke_multicloud_v1.services.attached_clusters
:members:
:inherited-members:

.. automodule:: google.cloud.gke_multicloud_v1.services.attached_clusters.pagers
:members:
:inherited-members:
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ Services for Google Cloud Gke Multicloud v1 API
.. toctree::
:maxdepth: 2

attached_clusters
aws_clusters
azure_clusters
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
__version__ = package_version.__version__


from google.cloud.gke_multicloud_v1.services.attached_clusters.async_client import (
AttachedClustersAsyncClient,
)
from google.cloud.gke_multicloud_v1.services.attached_clusters.client import (
AttachedClustersClient,
)
from google.cloud.gke_multicloud_v1.services.aws_clusters.async_client import (
AwsClustersAsyncClient,
)
Expand All @@ -30,9 +36,32 @@
from google.cloud.gke_multicloud_v1.services.azure_clusters.client import (
AzureClustersClient,
)
from google.cloud.gke_multicloud_v1.types.attached_resources import (
AttachedCluster,
AttachedClusterError,
AttachedClustersAuthorization,
AttachedClusterUser,
AttachedOidcConfig,
AttachedPlatformVersionInfo,
AttachedServerConfig,
)
from google.cloud.gke_multicloud_v1.types.attached_service import (
CreateAttachedClusterRequest,
DeleteAttachedClusterRequest,
GenerateAttachedClusterInstallManifestRequest,
GenerateAttachedClusterInstallManifestResponse,
GetAttachedClusterRequest,
GetAttachedServerConfigRequest,
ImportAttachedClusterRequest,
ListAttachedClustersRequest,
ListAttachedClustersResponse,
UpdateAttachedClusterRequest,
)
from google.cloud.gke_multicloud_v1.types.aws_resources import (
AwsAuthorization,
AwsAutoscalingGroupMetricsCollection,
AwsCluster,
AwsClusterError,
AwsClusterNetworking,
AwsClusterUser,
AwsConfigEncryption,
Expand All @@ -43,6 +72,7 @@
AwsNodeConfig,
AwsNodePool,
AwsNodePoolAutoscaling,
AwsNodePoolError,
AwsProxyConfig,
AwsServerConfig,
AwsServicesAuthentication,
Expand Down Expand Up @@ -70,6 +100,7 @@
AzureAuthorization,
AzureClient,
AzureCluster,
AzureClusterError,
AzureClusterNetworking,
AzureClusterResources,
AzureClusterUser,
Expand All @@ -81,6 +112,7 @@
AzureNodeConfig,
AzureNodePool,
AzureNodePoolAutoscaling,
AzureNodePoolError,
AzureProxyConfig,
AzureServerConfig,
AzureSshConfig,
Expand Down Expand Up @@ -112,19 +144,42 @@
Fleet,
LoggingComponentConfig,
LoggingConfig,
ManagedPrometheusConfig,
MaxPodsConstraint,
MonitoringConfig,
NodeTaint,
OperationMetadata,
WorkloadIdentityConfig,
)

__all__ = (
"AttachedClustersClient",
"AttachedClustersAsyncClient",
"AwsClustersClient",
"AwsClustersAsyncClient",
"AzureClustersClient",
"AzureClustersAsyncClient",
"AttachedCluster",
"AttachedClusterError",
"AttachedClustersAuthorization",
"AttachedClusterUser",
"AttachedOidcConfig",
"AttachedPlatformVersionInfo",
"AttachedServerConfig",
"CreateAttachedClusterRequest",
"DeleteAttachedClusterRequest",
"GenerateAttachedClusterInstallManifestRequest",
"GenerateAttachedClusterInstallManifestResponse",
"GetAttachedClusterRequest",
"GetAttachedServerConfigRequest",
"ImportAttachedClusterRequest",
"ListAttachedClustersRequest",
"ListAttachedClustersResponse",
"UpdateAttachedClusterRequest",
"AwsAuthorization",
"AwsAutoscalingGroupMetricsCollection",
"AwsCluster",
"AwsClusterError",
"AwsClusterNetworking",
"AwsClusterUser",
"AwsConfigEncryption",
Expand All @@ -135,6 +190,7 @@
"AwsNodeConfig",
"AwsNodePool",
"AwsNodePoolAutoscaling",
"AwsNodePoolError",
"AwsProxyConfig",
"AwsServerConfig",
"AwsServicesAuthentication",
Expand All @@ -158,6 +214,7 @@
"AzureAuthorization",
"AzureClient",
"AzureCluster",
"AzureClusterError",
"AzureClusterNetworking",
"AzureClusterResources",
"AzureClusterUser",
Expand All @@ -169,6 +226,7 @@
"AzureNodeConfig",
"AzureNodePool",
"AzureNodePoolAutoscaling",
"AzureNodePoolError",
"AzureProxyConfig",
"AzureServerConfig",
"AzureSshConfig",
Expand Down Expand Up @@ -196,7 +254,9 @@
"Fleet",
"LoggingComponentConfig",
"LoggingConfig",
"ManagedPrometheusConfig",
"MaxPodsConstraint",
"MonitoringConfig",
"NodeTaint",
"OperationMetadata",
"WorkloadIdentityConfig",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,38 @@
__version__ = package_version.__version__


from .services.attached_clusters import (
AttachedClustersAsyncClient,
AttachedClustersClient,
)
from .services.aws_clusters import AwsClustersAsyncClient, AwsClustersClient
from .services.azure_clusters import AzureClustersAsyncClient, AzureClustersClient
from .types.attached_resources import (
AttachedCluster,
AttachedClusterError,
AttachedClustersAuthorization,
AttachedClusterUser,
AttachedOidcConfig,
AttachedPlatformVersionInfo,
AttachedServerConfig,
)
from .types.attached_service import (
CreateAttachedClusterRequest,
DeleteAttachedClusterRequest,
GenerateAttachedClusterInstallManifestRequest,
GenerateAttachedClusterInstallManifestResponse,
GetAttachedClusterRequest,
GetAttachedServerConfigRequest,
ImportAttachedClusterRequest,
ListAttachedClustersRequest,
ListAttachedClustersResponse,
UpdateAttachedClusterRequest,
)
from .types.aws_resources import (
AwsAuthorization,
AwsAutoscalingGroupMetricsCollection,
AwsCluster,
AwsClusterError,
AwsClusterNetworking,
AwsClusterUser,
AwsConfigEncryption,
Expand All @@ -33,6 +60,7 @@
AwsNodeConfig,
AwsNodePool,
AwsNodePoolAutoscaling,
AwsNodePoolError,
AwsProxyConfig,
AwsServerConfig,
AwsServicesAuthentication,
Expand Down Expand Up @@ -60,6 +88,7 @@
AzureAuthorization,
AzureClient,
AzureCluster,
AzureClusterError,
AzureClusterNetworking,
AzureClusterResources,
AzureClusterUser,
Expand All @@ -71,6 +100,7 @@
AzureNodeConfig,
AzureNodePool,
AzureNodePoolAutoscaling,
AzureNodePoolError,
AzureProxyConfig,
AzureServerConfig,
AzureSshConfig,
Expand Down Expand Up @@ -102,17 +132,30 @@
Fleet,
LoggingComponentConfig,
LoggingConfig,
ManagedPrometheusConfig,
MaxPodsConstraint,
MonitoringConfig,
NodeTaint,
OperationMetadata,
WorkloadIdentityConfig,
)

__all__ = (
"AttachedClustersAsyncClient",
"AwsClustersAsyncClient",
"AzureClustersAsyncClient",
"AttachedCluster",
"AttachedClusterError",
"AttachedClusterUser",
"AttachedClustersAuthorization",
"AttachedClustersClient",
"AttachedOidcConfig",
"AttachedPlatformVersionInfo",
"AttachedServerConfig",
"AwsAuthorization",
"AwsAutoscalingGroupMetricsCollection",
"AwsCluster",
"AwsClusterError",
"AwsClusterNetworking",
"AwsClusterUser",
"AwsClustersClient",
Expand All @@ -124,6 +167,7 @@
"AwsNodeConfig",
"AwsNodePool",
"AwsNodePoolAutoscaling",
"AwsNodePoolError",
"AwsProxyConfig",
"AwsServerConfig",
"AwsServicesAuthentication",
Expand All @@ -132,6 +176,7 @@
"AzureAuthorization",
"AzureClient",
"AzureCluster",
"AzureClusterError",
"AzureClusterNetworking",
"AzureClusterResources",
"AzureClusterUser",
Expand All @@ -144,31 +189,41 @@
"AzureNodeConfig",
"AzureNodePool",
"AzureNodePoolAutoscaling",
"AzureNodePoolError",
"AzureProxyConfig",
"AzureServerConfig",
"AzureSshConfig",
"CreateAttachedClusterRequest",
"CreateAwsClusterRequest",
"CreateAwsNodePoolRequest",
"CreateAzureClientRequest",
"CreateAzureClusterRequest",
"CreateAzureNodePoolRequest",
"DeleteAttachedClusterRequest",
"DeleteAwsClusterRequest",
"DeleteAwsNodePoolRequest",
"DeleteAzureClientRequest",
"DeleteAzureClusterRequest",
"DeleteAzureNodePoolRequest",
"Fleet",
"GenerateAttachedClusterInstallManifestRequest",
"GenerateAttachedClusterInstallManifestResponse",
"GenerateAwsAccessTokenRequest",
"GenerateAwsAccessTokenResponse",
"GenerateAzureAccessTokenRequest",
"GenerateAzureAccessTokenResponse",
"GetAttachedClusterRequest",
"GetAttachedServerConfigRequest",
"GetAwsClusterRequest",
"GetAwsNodePoolRequest",
"GetAwsServerConfigRequest",
"GetAzureClientRequest",
"GetAzureClusterRequest",
"GetAzureNodePoolRequest",
"GetAzureServerConfigRequest",
"ImportAttachedClusterRequest",
"ListAttachedClustersRequest",
"ListAttachedClustersResponse",
"ListAwsClustersRequest",
"ListAwsClustersResponse",
"ListAwsNodePoolsRequest",
Expand All @@ -181,10 +236,13 @@
"ListAzureNodePoolsResponse",
"LoggingComponentConfig",
"LoggingConfig",
"ManagedPrometheusConfig",
"MaxPodsConstraint",
"MonitoringConfig",
"NodeTaint",
"OperationMetadata",
"ReplicaPlacement",
"UpdateAttachedClusterRequest",
"UpdateAwsClusterRequest",
"UpdateAwsNodePoolRequest",
"UpdateAzureClusterRequest",
Expand Down
Loading

0 comments on commit 7063320

Please sign in to comment.