Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
feat: add v1 (#51)
Browse files Browse the repository at this point in the history
Committer: @parthea
PiperOrigin-RevId: 381971413

Source-Link: googleapis/googleapis@b6b4b89

Source-Link: googleapis/googleapis-gen@7519297

feat: add always_use_jwt_access
  • Loading branch information
gcf-owl-bot[bot] committed Jul 2, 2021
1 parent 5dfc9ce commit f11dcfd
Show file tree
Hide file tree
Showing 53 changed files with 11,007 additions and 89 deletions.
2 changes: 1 addition & 1 deletion .coveragerc
Expand Up @@ -4,7 +4,7 @@ branch = True
[report]
show_missing = True
omit =
google/cloud/gkehub/__init__.py
google/cloud/gkehub/multiclusteringress/__init__.py
exclude_lines =
# Re-enable the standard pragma
pragma: NO COVER
Expand Down
5 changes: 5 additions & 0 deletions .github/.OwlBot.yaml
Expand Up @@ -18,6 +18,11 @@ docker:
deep-remove-regex:
- /owl-bot-staging

deep-preserve-regex:
- /owl-bot-staging/v1alpha
- /owl-bot-staging/v1alpha2
- /owl-bot-staging/v1beta

deep-copy-regex:
- source: /google/cloud/gkehub/(v.*)/.*-py/(.*)
dest: /owl-bot-staging/$1/$2
Expand Down
4 changes: 4 additions & 0 deletions docs/configmanagement_v1/services.rst
@@ -0,0 +1,4 @@
Services for Google Cloud Gkehub Configmanagement v1 API
========================================================
.. toctree::
:maxdepth: 2
7 changes: 7 additions & 0 deletions docs/configmanagement_v1/types.rst
@@ -0,0 +1,7 @@
Types for Google Cloud Gkehub Configmanagement v1 API
=====================================================

.. automodule:: google.cloud.gkehub.configmanagement_v1.types
:members:
:undoc-members:
:show-inheritance:
10 changes: 10 additions & 0 deletions docs/gkehub_v1/gke_hub.rst
@@ -0,0 +1,10 @@
GkeHub
------------------------

.. automodule:: google.cloud.gkehub_v1.services.gke_hub
:members:
:inherited-members:

.. automodule:: google.cloud.gkehub_v1.services.gke_hub.pagers
:members:
:inherited-members:
6 changes: 6 additions & 0 deletions docs/gkehub_v1/services.rst
@@ -0,0 +1,6 @@
Services for Google Cloud Gkehub v1 API
=======================================
.. toctree::
:maxdepth: 2

gke_hub
7 changes: 7 additions & 0 deletions docs/gkehub_v1/types.rst
@@ -0,0 +1,7 @@
Types for Google Cloud Gkehub v1 API
====================================

.. automodule:: google.cloud.gkehub_v1.types
:members:
:undoc-members:
:show-inheritance:
13 changes: 13 additions & 0 deletions docs/index.rst
Expand Up @@ -2,6 +2,18 @@

.. include:: multiprocessing.rst

API Reference
-------------
.. toctree::
:maxdepth: 2

gkehub_v1/services
gkehub_v1/types
configmanagement_v1/services
configmanagement_v1/types
multiclusteringress_v1/services
multiclusteringress_v1/types

API Reference
-------------
.. toctree::
Expand All @@ -10,6 +22,7 @@ API Reference
gkehub_v1beta1/services
gkehub_v1beta1/types


Changelog
---------

Expand Down
4 changes: 4 additions & 0 deletions docs/multiclusteringress_v1/services.rst
@@ -0,0 +1,4 @@
Services for Google Cloud Gkehub Multiclusteringress v1 API
===========================================================
.. toctree::
:maxdepth: 2
7 changes: 7 additions & 0 deletions docs/multiclusteringress_v1/types.rst
@@ -0,0 +1,7 @@
Types for Google Cloud Gkehub Multiclusteringress v1 API
========================================================

.. automodule:: google.cloud.gkehub.multiclusteringress_v1.types
:members:
:undoc-members:
:show-inheritance:
82 changes: 0 additions & 82 deletions google/cloud/gkehub/__init__.py

This file was deleted.

94 changes: 94 additions & 0 deletions google/cloud/gkehub/configmanagement/__init__.py
@@ -0,0 +1,94 @@
# -*- coding: utf-8 -*-
# Copyright 2020 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.gkehub.configmanagement_v1.types.configmanagement import ConfigSync
from google.cloud.gkehub.configmanagement_v1.types.configmanagement import (
ConfigSyncDeploymentState,
)
from google.cloud.gkehub.configmanagement_v1.types.configmanagement import (
ConfigSyncState,
)
from google.cloud.gkehub.configmanagement_v1.types.configmanagement import (
ConfigSyncVersion,
)
from google.cloud.gkehub.configmanagement_v1.types.configmanagement import ErrorResource
from google.cloud.gkehub.configmanagement_v1.types.configmanagement import (
GatekeeperDeploymentState,
)
from google.cloud.gkehub.configmanagement_v1.types.configmanagement import GitConfig
from google.cloud.gkehub.configmanagement_v1.types.configmanagement import (
GroupVersionKind,
)
from google.cloud.gkehub.configmanagement_v1.types.configmanagement import (
HierarchyControllerConfig,
)
from google.cloud.gkehub.configmanagement_v1.types.configmanagement import (
HierarchyControllerDeploymentState,
)
from google.cloud.gkehub.configmanagement_v1.types.configmanagement import (
HierarchyControllerState,
)
from google.cloud.gkehub.configmanagement_v1.types.configmanagement import (
HierarchyControllerVersion,
)
from google.cloud.gkehub.configmanagement_v1.types.configmanagement import InstallError
from google.cloud.gkehub.configmanagement_v1.types.configmanagement import (
MembershipSpec,
)
from google.cloud.gkehub.configmanagement_v1.types.configmanagement import (
MembershipState,
)
from google.cloud.gkehub.configmanagement_v1.types.configmanagement import OperatorState
from google.cloud.gkehub.configmanagement_v1.types.configmanagement import (
PolicyController,
)
from google.cloud.gkehub.configmanagement_v1.types.configmanagement import (
PolicyControllerState,
)
from google.cloud.gkehub.configmanagement_v1.types.configmanagement import (
PolicyControllerVersion,
)
from google.cloud.gkehub.configmanagement_v1.types.configmanagement import SyncError
from google.cloud.gkehub.configmanagement_v1.types.configmanagement import SyncState
from google.cloud.gkehub.configmanagement_v1.types.configmanagement import (
DeploymentState,
)

__all__ = (
"ConfigSync",
"ConfigSyncDeploymentState",
"ConfigSyncState",
"ConfigSyncVersion",
"ErrorResource",
"GatekeeperDeploymentState",
"GitConfig",
"GroupVersionKind",
"HierarchyControllerConfig",
"HierarchyControllerDeploymentState",
"HierarchyControllerState",
"HierarchyControllerVersion",
"InstallError",
"MembershipSpec",
"MembershipState",
"OperatorState",
"PolicyController",
"PolicyControllerState",
"PolicyControllerVersion",
"SyncError",
"SyncState",
"DeploymentState",
)
2 changes: 2 additions & 0 deletions google/cloud/gkehub/configmanagement/py.typed
@@ -0,0 +1,2 @@
# Marker file for PEP 561.
# The google-cloud-gkehub-configmanagement package uses inline types.
64 changes: 64 additions & 0 deletions google/cloud/gkehub/configmanagement_v1/__init__.py
@@ -0,0 +1,64 @@
# -*- coding: utf-8 -*-
# Copyright 2020 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 .types.configmanagement import ConfigSync
from .types.configmanagement import ConfigSyncDeploymentState
from .types.configmanagement import ConfigSyncState
from .types.configmanagement import ConfigSyncVersion
from .types.configmanagement import ErrorResource
from .types.configmanagement import GatekeeperDeploymentState
from .types.configmanagement import GitConfig
from .types.configmanagement import GroupVersionKind
from .types.configmanagement import HierarchyControllerConfig
from .types.configmanagement import HierarchyControllerDeploymentState
from .types.configmanagement import HierarchyControllerState
from .types.configmanagement import HierarchyControllerVersion
from .types.configmanagement import InstallError
from .types.configmanagement import MembershipSpec
from .types.configmanagement import MembershipState
from .types.configmanagement import OperatorState
from .types.configmanagement import PolicyController
from .types.configmanagement import PolicyControllerState
from .types.configmanagement import PolicyControllerVersion
from .types.configmanagement import SyncError
from .types.configmanagement import SyncState
from .types.configmanagement import DeploymentState

__all__ = (
"ConfigSync",
"ConfigSyncDeploymentState",
"ConfigSyncState",
"ConfigSyncVersion",
"DeploymentState",
"ErrorResource",
"GatekeeperDeploymentState",
"GitConfig",
"GroupVersionKind",
"HierarchyControllerConfig",
"HierarchyControllerDeploymentState",
"HierarchyControllerState",
"HierarchyControllerVersion",
"InstallError",
"MembershipSpec",
"MembershipState",
"OperatorState",
"PolicyController",
"PolicyControllerState",
"PolicyControllerVersion",
"SyncError",
"SyncState",
)
7 changes: 7 additions & 0 deletions google/cloud/gkehub/configmanagement_v1/gapic_metadata.json
@@ -0,0 +1,7 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.gkehub.configmanagement_v1",
"protoPackage": "google.cloud.gkehub.configmanagement.v1",
"schema": "1.0"
}
2 changes: 2 additions & 0 deletions google/cloud/gkehub/configmanagement_v1/py.typed
@@ -0,0 +1,2 @@
# Marker file for PEP 561.
# The google-cloud-gkehub-configmanagement package uses inline types.
15 changes: 15 additions & 0 deletions google/cloud/gkehub/configmanagement_v1/services/__init__.py
@@ -0,0 +1,15 @@
# -*- coding: utf-8 -*-
# Copyright 2020 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.
#

0 comments on commit f11dcfd

Please sign in to comment.