Skip to content

Commit

Permalink
chore: [GkeMultiCloud] update import paths for Go targets to match op…
Browse files Browse the repository at this point in the history
…en source location (#5841)

* feat: Added support for Azure workload identity federation
feat: Added `reconciling` and `update_time` output fields to Azure Client resource.

Added support for Azure workload identity federation to replace Azure client when creating clusters to manage Azure resources.

PiperOrigin-RevId: 506534887

Source-Link: googleapis/googleapis@db56b14

Source-Link: googleapis/googleapis-gen@f76c2b5
Copy-Tag: eyJwIjoiR2tlTXVsdGlDbG91ZC8uT3dsQm90LnlhbWwiLCJoIjoiZjc2YzJiNTJjODE2ZDkxYmRkN2JhNWVmYTExN2NjYTA5ODk3MjBlNyJ9

* 🦉 Updates from OwlBot post-processor

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

* chore: update import paths for Go targets to match open source location
chore: update go_package in protos to match open source location
chore: add explicit release levels to Go gapic targets

PiperOrigin-RevId: 506711567

Source-Link: googleapis/googleapis@d02e582

Source-Link: googleapis/googleapis-gen@7f1c541
Copy-Tag: eyJwIjoiR2tlTXVsdGlDbG91ZC8uT3dsQm90LnlhbWwiLCJoIjoiN2YxYzU0MTUzMTI1ZWI1YWJkNjBhMzJkZTU4Y2ZkYTZhNzk4YTcwYSJ9

* 🦉 Updates from OwlBot post-processor

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

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Feb 7, 2023
1 parent 6ece840 commit 6f26239
Show file tree
Hide file tree
Showing 51 changed files with 377 additions and 177 deletions.
Binary file modified GkeMultiCloud/metadata/V1/AttachedResources.php
Binary file not shown.
6 changes: 3 additions & 3 deletions GkeMultiCloud/metadata/V1/AttachedService.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified GkeMultiCloud/metadata/V1/AwsResources.php
Binary file not shown.
6 changes: 3 additions & 3 deletions GkeMultiCloud/metadata/V1/AwsService.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified GkeMultiCloud/metadata/V1/AzureResources.php
Binary file not shown.
6 changes: 3 additions & 3 deletions GkeMultiCloud/metadata/V1/AzureService.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified GkeMultiCloud/metadata/V1/CommonResources.php
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
/**
* Creates a new
* [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
* on a given GCP project and region.
* on a given Google Cloud Platform project and region.
*
* If successful, the response contains a newly created
* [Operation][google.longrunning.Operation] resource that can be
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`.
*
* See [Resource Names](https://cloud.google.com/apis/design/resource_names)
* for more details on GCP resource names. Please see
* for more details on Google Cloud Platform resource names. Please see
* {@see AttachedClustersClient::attachedClusterName()} for help formatting this field.
*/
function delete_attached_cluster_sample(string $formattedName): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* See [Resource Names](https://cloud.google.com/apis/design/resource_names)
* for more details on Google Cloud resource names. Please see
* {@see AttachedClustersClient::locationName()} for help formatting this field.
* @param string $attachedClusterId A client provided ID the resource. Must be unique within the
* @param string $attachedClusterId A client provided ID of the resource. Must be unique within the
* parent resource.
*
* The provided ID will be part of the
Expand All @@ -52,7 +52,7 @@
* When generating an install manifest for importing an existing Membership
* resource, the attached_cluster_id field must be the Membership id.
*
* Membership names are formatted as `resource name formatted as
* Membership names are formatted as
* `projects/<project-id>/locations/<region>/memberships/<membership-id>`.
* @param string $platformVersion The platform version for the cluster (e.g. `1.19.0-gke.1000`).
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* `projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>`.
*
* See [Resource Names](https://cloud.google.com/apis/design/resource_names)
* for more details on GCP resource names. Please see
* for more details on Google Cloud Platform resource names. Please see
* {@see AttachedClustersClient::attachedClusterName()} for help formatting this field.
*/
function get_attached_cluster_sample(string $formattedName): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* Location names are formatted as `projects/<project-id>/locations/<region>`.
*
* See [Resource Names](https://cloud.google.com/apis/design/resource_names)
* for more details on GCP resource names. Please see
* for more details on Google Cloud Platform resource names. Please see
* {@see AttachedClustersClient::locationName()} for help formatting this field.
*/
function list_attached_clusters_sample(string $formattedParent): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

/**
* Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]
* resource on a given GCP project and region.
* resource on a given Google Cloud Platform project and region.
*
* If successful, the response contains a newly created
* [Operation][google.longrunning.Operation] resource that can be
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
* `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`.
*
* See [Resource Names](https://cloud.google.com/apis/design/resource_names)
* for more details on GCP resource names. Please see
* for more details on Google Cloud Platform resource names. Please see
* {@see AwsClustersClient::awsClusterName()} for help formatting this field.
*/
function delete_aws_cluster_sample(string $formattedName): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`.
*
* See [Resource Names](https://cloud.google.com/apis/design/resource_names)
* for more details on GCP resource names. Please see
* for more details on Google Cloud Platform resource names. Please see
* {@see AwsClustersClient::awsClusterName()} for help formatting this field.
*/
function get_aws_cluster_sample(string $formattedName): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* Location names are formatted as `projects/<project-id>/locations/<region>`.
*
* See [Resource Names](https://cloud.google.com/apis/design/resource_names)
* for more details on GCP resource names. Please see
* for more details on Google Cloud Platform resource names. Please see
* {@see AwsClustersClient::locationName()} for help formatting this field.
*/
function list_aws_clusters_sample(string $formattedParent): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

/**
* Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
* resource on a given GCP project and region.
* resource on a given Google Cloud Platform project and region.
*
* If successful, the response contains a newly created
* [Operation][google.longrunning.Operation] resource that can be
Expand All @@ -61,19 +61,6 @@
* @param string $azureClusterResourceGroupId The ARM ID of the resource group where the cluster resources are
* deployed. For example:
* `/subscriptions/<subscription-id>/resourceGroups/<resource-group-name>`
* @param string $azureClusterAzureClient Name of the
* [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] that contains
* authentication configuration for how the Anthos Multi-Cloud API connects to
* Azure APIs.
*
* The `AzureClient` resource must reside on the same GCP project and region
* as the `AzureCluster`.
*
* `AzureClient` names are formatted as
* `projects/<project-number>/locations/<region>/azureClients/<client-id>`.
*
* See [Resource Names](https://cloud.google.com/apis/design/resource_names)
* for more details on Google Cloud resource names.
* @param string $azureClusterNetworkingVirtualNetworkId The Azure Resource Manager (ARM) ID of the VNet associated with
* your cluster.
*
Expand Down Expand Up @@ -127,7 +114,6 @@ function create_azure_cluster_sample(
string $formattedParent,
string $azureClusterAzureRegion,
string $azureClusterResourceGroupId,
string $azureClusterAzureClient,
string $azureClusterNetworkingVirtualNetworkId,
string $azureClusterNetworkingPodAddressCidrBlocksElement,
string $azureClusterNetworkingServiceAddressCidrBlocksElement,
Expand Down Expand Up @@ -166,7 +152,6 @@ function create_azure_cluster_sample(
$azureCluster = (new AzureCluster())
->setAzureRegion($azureClusterAzureRegion)
->setResourceGroupId($azureClusterResourceGroupId)
->setAzureClient($azureClusterAzureClient)
->setNetworking($azureClusterNetworking)
->setControlPlane($azureClusterControlPlane)
->setAuthorization($azureClusterAuthorization)
Expand Down Expand Up @@ -210,7 +195,6 @@ function callSample(): void
$formattedParent = AzureClustersClient::locationName('[PROJECT]', '[LOCATION]');
$azureClusterAzureRegion = '[AZURE_REGION]';
$azureClusterResourceGroupId = '[RESOURCE_GROUP_ID]';
$azureClusterAzureClient = '[AZURE_CLIENT]';
$azureClusterNetworkingVirtualNetworkId = '[VIRTUAL_NETWORK_ID]';
$azureClusterNetworkingPodAddressCidrBlocksElement = '[POD_ADDRESS_CIDR_BLOCKS]';
$azureClusterNetworkingServiceAddressCidrBlocksElement = '[SERVICE_ADDRESS_CIDR_BLOCKS]';
Expand All @@ -224,7 +208,6 @@ function callSample(): void
$formattedParent,
$azureClusterAzureRegion,
$azureClusterResourceGroupId,
$azureClusterAzureClient,
$azureClusterNetworkingVirtualNetworkId,
$azureClusterNetworkingPodAddressCidrBlocksElement,
$azureClusterNetworkingServiceAddressCidrBlocksElement,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
* `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
*
* See [Resource Names](https://cloud.google.com/apis/design/resource_names)
* for more details on GCP resource names. Please see
* for more details on Google Cloud Platform resource names. Please see
* {@see AzureClustersClient::azureClusterName()} for help formatting this field.
*/
function delete_azure_cluster_sample(string $formattedName): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* `projects/<project-id>/locations/<region>/azureClusters/<cluster-id>`.
*
* See [Resource Names](https://cloud.google.com/apis/design/resource_names)
* for more details on GCP resource names. Please see
* for more details on Google Cloud Platform resource names. Please see
* {@see AzureClustersClient::azureClusterName()} for help formatting this field.
*/
function get_azure_cluster_sample(string $formattedName): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* Location names are formatted as `projects/<project-id>/locations/<region>`.
*
* See [Resource Names](https://cloud.google.com/apis/design/resource_names)
* for more details on GCP resource names. Please see
* for more details on Google Cloud Platform resource names. Please see
* {@see AzureClustersClient::locationName()} for help formatting this field.
*/
function list_azure_clients_sample(string $formattedParent): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* Location names are formatted as `projects/<project-id>/locations/<region>`.
*
* See [Resource Names](https://cloud.google.com/apis/design/resource_names)
* for more details on GCP resource names. Please see
* for more details on Google Cloud Platform resource names. Please see
* {@see AzureClustersClient::locationName()} for help formatting this field.
*/
function list_azure_clusters_sample(string $formattedParent): void
Expand Down
Loading

0 comments on commit 6f26239

Please sign in to comment.