Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
releaseType: python
handleGHRelease: true
manifest: true
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.2.1"
}
1 change: 0 additions & 1 deletion docs/edgecontainer_v1/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ Types for Google Cloud Edgecontainer v1 API

.. automodule:: google.cloud.edgecontainer_v1.types
:members:
:undoc-members:
:show-inheritance:
113 changes: 113 additions & 0 deletions google/cloud/edgecontainer/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
# -*- coding: utf-8 -*-
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
from google.cloud.edgecontainer import gapic_version as package_version

__version__ = package_version.__version__


from google.cloud.edgecontainer_v1.services.edge_container.async_client import (
EdgeContainerAsyncClient,
)
from google.cloud.edgecontainer_v1.services.edge_container.client import (
EdgeContainerClient,
)
from google.cloud.edgecontainer_v1.types.resources import (
Authorization,
Cluster,
ClusterNetworking,
ClusterUser,
Fleet,
KmsKeyState,
LocationMetadata,
Machine,
MaintenancePolicy,
MaintenanceWindow,
NodePool,
Quota,
RecurringTimeWindow,
TimeWindow,
VpnConnection,
ZoneMetadata,
)
from google.cloud.edgecontainer_v1.types.service import (
CreateClusterRequest,
CreateNodePoolRequest,
CreateVpnConnectionRequest,
DeleteClusterRequest,
DeleteNodePoolRequest,
DeleteVpnConnectionRequest,
GenerateAccessTokenRequest,
GenerateAccessTokenResponse,
GetClusterRequest,
GetMachineRequest,
GetNodePoolRequest,
GetVpnConnectionRequest,
ListClustersRequest,
ListClustersResponse,
ListMachinesRequest,
ListMachinesResponse,
ListNodePoolsRequest,
ListNodePoolsResponse,
ListVpnConnectionsRequest,
ListVpnConnectionsResponse,
OperationMetadata,
UpdateClusterRequest,
UpdateNodePoolRequest,
)

__all__ = (
"EdgeContainerClient",
"EdgeContainerAsyncClient",
"Authorization",
"Cluster",
"ClusterNetworking",
"ClusterUser",
"Fleet",
"LocationMetadata",
"Machine",
"MaintenancePolicy",
"MaintenanceWindow",
"NodePool",
"Quota",
"RecurringTimeWindow",
"TimeWindow",
"VpnConnection",
"ZoneMetadata",
"KmsKeyState",
"CreateClusterRequest",
"CreateNodePoolRequest",
"CreateVpnConnectionRequest",
"DeleteClusterRequest",
"DeleteNodePoolRequest",
"DeleteVpnConnectionRequest",
"GenerateAccessTokenRequest",
"GenerateAccessTokenResponse",
"GetClusterRequest",
"GetMachineRequest",
"GetNodePoolRequest",
"GetVpnConnectionRequest",
"ListClustersRequest",
"ListClustersResponse",
"ListMachinesRequest",
"ListMachinesResponse",
"ListNodePoolsRequest",
"ListNodePoolsResponse",
"ListVpnConnectionsRequest",
"ListVpnConnectionsResponse",
"OperationMetadata",
"UpdateClusterRequest",
"UpdateNodePoolRequest",
)
16 changes: 16 additions & 0 deletions google/cloud/edgecontainer/gapic_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.2.1" # {x-release-please-version}
2 changes: 2 additions & 0 deletions google/cloud/edgecontainer/py.typed
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Marker file for PEP 561.
# The google-cloud-edgecontainer package uses inline types.
4 changes: 4 additions & 0 deletions google/cloud/edgecontainer_v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from google.cloud.edgecontainer import gapic_version as package_version

__version__ = package_version.__version__


from .services.edge_container import EdgeContainerAsyncClient, EdgeContainerClient
from .types.resources import (
Expand Down
Loading