Skip to content
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
OrgPolicyViolationsPreviewService
---------------------------------------------------

.. automodule:: google.cloud.policysimulator_v1.services.org_policy_violations_preview_service
:members:
:inherited-members:

.. automodule:: google.cloud.policysimulator_v1.services.org_policy_violations_preview_service.pagers
:members:
:inherited-members:
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ Services for Google Cloud Policysimulator v1 API
.. toctree::
:maxdepth: 2

org_policy_violations_preview_service
simulator
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
__version__ = package_version.__version__


from google.cloud.policysimulator_v1.services.org_policy_violations_preview_service.async_client import (
OrgPolicyViolationsPreviewServiceAsyncClient,
)
from google.cloud.policysimulator_v1.services.org_policy_violations_preview_service.client import (
OrgPolicyViolationsPreviewServiceClient,
)
from google.cloud.policysimulator_v1.services.simulator.async_client import (
SimulatorAsyncClient,
)
Expand All @@ -29,6 +35,20 @@
ExplainedPolicy,
HeuristicRelevance,
)
from google.cloud.policysimulator_v1.types.orgpolicy import (
CreateOrgPolicyViolationsPreviewOperationMetadata,
CreateOrgPolicyViolationsPreviewRequest,
GetOrgPolicyViolationsPreviewRequest,
ListOrgPolicyViolationsPreviewsRequest,
ListOrgPolicyViolationsPreviewsResponse,
ListOrgPolicyViolationsRequest,
ListOrgPolicyViolationsResponse,
OrgPolicyOverlay,
OrgPolicyViolation,
OrgPolicyViolationsPreview,
PreviewState,
ResourceContext,
)
from google.cloud.policysimulator_v1.types.simulator import (
AccessStateDiff,
CreateReplayRequest,
Expand All @@ -44,13 +64,27 @@
)

__all__ = (
"OrgPolicyViolationsPreviewServiceClient",
"OrgPolicyViolationsPreviewServiceAsyncClient",
"SimulatorClient",
"SimulatorAsyncClient",
"AccessTuple",
"BindingExplanation",
"ExplainedPolicy",
"AccessState",
"HeuristicRelevance",
"CreateOrgPolicyViolationsPreviewOperationMetadata",
"CreateOrgPolicyViolationsPreviewRequest",
"GetOrgPolicyViolationsPreviewRequest",
"ListOrgPolicyViolationsPreviewsRequest",
"ListOrgPolicyViolationsPreviewsResponse",
"ListOrgPolicyViolationsRequest",
"ListOrgPolicyViolationsResponse",
"OrgPolicyOverlay",
"OrgPolicyViolation",
"OrgPolicyViolationsPreview",
"ResourceContext",
"PreviewState",
"AccessStateDiff",
"CreateReplayRequest",
"ExplainedAccess",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.1.14" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
__version__ = package_version.__version__


from .services.org_policy_violations_preview_service import (
OrgPolicyViolationsPreviewServiceAsyncClient,
OrgPolicyViolationsPreviewServiceClient,
)
from .services.simulator import SimulatorAsyncClient, SimulatorClient
from .types.explanations import (
AccessState,
Expand All @@ -26,6 +30,20 @@
ExplainedPolicy,
HeuristicRelevance,
)
from .types.orgpolicy import (
CreateOrgPolicyViolationsPreviewOperationMetadata,
CreateOrgPolicyViolationsPreviewRequest,
GetOrgPolicyViolationsPreviewRequest,
ListOrgPolicyViolationsPreviewsRequest,
ListOrgPolicyViolationsPreviewsResponse,
ListOrgPolicyViolationsRequest,
ListOrgPolicyViolationsResponse,
OrgPolicyOverlay,
OrgPolicyViolation,
OrgPolicyViolationsPreview,
PreviewState,
ResourceContext,
)
from .types.simulator import (
AccessStateDiff,
CreateReplayRequest,
Expand All @@ -41,22 +59,36 @@
)

__all__ = (
"OrgPolicyViolationsPreviewServiceAsyncClient",
"SimulatorAsyncClient",
"AccessState",
"AccessStateDiff",
"AccessTuple",
"BindingExplanation",
"CreateOrgPolicyViolationsPreviewOperationMetadata",
"CreateOrgPolicyViolationsPreviewRequest",
"CreateReplayRequest",
"ExplainedAccess",
"ExplainedPolicy",
"GetOrgPolicyViolationsPreviewRequest",
"GetReplayRequest",
"HeuristicRelevance",
"ListOrgPolicyViolationsPreviewsRequest",
"ListOrgPolicyViolationsPreviewsResponse",
"ListOrgPolicyViolationsRequest",
"ListOrgPolicyViolationsResponse",
"ListReplayResultsRequest",
"ListReplayResultsResponse",
"OrgPolicyOverlay",
"OrgPolicyViolation",
"OrgPolicyViolationsPreview",
"OrgPolicyViolationsPreviewServiceClient",
"PreviewState",
"Replay",
"ReplayConfig",
"ReplayDiff",
"ReplayOperationMetadata",
"ReplayResult",
"ResourceContext",
"SimulatorClient",
)
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,85 @@
"protoPackage": "google.cloud.policysimulator.v1",
"schema": "1.0",
"services": {
"OrgPolicyViolationsPreviewService": {
"clients": {
"grpc": {
"libraryClient": "OrgPolicyViolationsPreviewServiceClient",
"rpcs": {
"CreateOrgPolicyViolationsPreview": {
"methods": [
"create_org_policy_violations_preview"
]
},
"GetOrgPolicyViolationsPreview": {
"methods": [
"get_org_policy_violations_preview"
]
},
"ListOrgPolicyViolations": {
"methods": [
"list_org_policy_violations"
]
},
"ListOrgPolicyViolationsPreviews": {
"methods": [
"list_org_policy_violations_previews"
]
}
}
},
"grpc-async": {
"libraryClient": "OrgPolicyViolationsPreviewServiceAsyncClient",
"rpcs": {
"CreateOrgPolicyViolationsPreview": {
"methods": [
"create_org_policy_violations_preview"
]
},
"GetOrgPolicyViolationsPreview": {
"methods": [
"get_org_policy_violations_preview"
]
},
"ListOrgPolicyViolations": {
"methods": [
"list_org_policy_violations"
]
},
"ListOrgPolicyViolationsPreviews": {
"methods": [
"list_org_policy_violations_previews"
]
}
}
},
"rest": {
"libraryClient": "OrgPolicyViolationsPreviewServiceClient",
"rpcs": {
"CreateOrgPolicyViolationsPreview": {
"methods": [
"create_org_policy_violations_preview"
]
},
"GetOrgPolicyViolationsPreview": {
"methods": [
"get_org_policy_violations_preview"
]
},
"ListOrgPolicyViolations": {
"methods": [
"list_org_policy_violations"
]
},
"ListOrgPolicyViolationsPreviews": {
"methods": [
"list_org_policy_violations_previews"
]
}
}
}
}
},
"Simulator": {
"clients": {
"grpc": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.1.14" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
# Copyright 2025 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 .async_client import OrgPolicyViolationsPreviewServiceAsyncClient
from .client import OrgPolicyViolationsPreviewServiceClient

__all__ = (
"OrgPolicyViolationsPreviewServiceClient",
"OrgPolicyViolationsPreviewServiceAsyncClient",
)
Loading
Loading