Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
fix: Add async context manager return types
chore: Mock return_value should not populate oneof message fields

chore: Support snippet generation for services that only support REST transport

chore: Update gapic-generator-python to v1.11.0
PiperOrigin-RevId: 545430278

Source-Link: googleapis/googleapis@601b532

Source-Link: https://github.com/googleapis/googleapis-gen/commit/b3f18d0f6560a855022fd058865e7620479d7af9
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjNmMThkMGY2NTYwYTg1NTAyMmZkMDU4ODY1ZTc2MjA0NzlkN2FmOSJ9
  • Loading branch information
gcf-owl-bot[bot] committed Jul 4, 2023
commit 069c29d053988acf841572b2aeb59740acd8de85
13 changes: 13 additions & 0 deletions owl-bot-staging/v1/.coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[run]
branch = True

[report]
show_missing = True
omit =
google/cloud/binaryauthorization/__init__.py
google/cloud/binaryauthorization/gapic_version.py
exclude_lines =
# Re-enable the standard pragma
pragma: NO COVER
# Ignore debug-only repr
def __repr__
33 changes: 33 additions & 0 deletions owl-bot-staging/v1/.flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# -*- 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
#
# https://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.

# Generated by synthtool. DO NOT EDIT!
[flake8]
ignore = E203, E266, E501, W503
exclude =
# Exclude generated code.
**/proto/**
**/gapic/**
**/services/**
**/types/**
*_pb2.py

# Standard linting exemptions.
**/.nox/**
__pycache__,
.git,
*.pyc,
conf.py
2 changes: 2 additions & 0 deletions owl-bot-staging/v1/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
recursive-include google/cloud/binaryauthorization *.py
recursive-include google/cloud/binaryauthorization_v1 *.py
49 changes: 49 additions & 0 deletions owl-bot-staging/v1/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
Python Client for Google Cloud Binaryauthorization API
=================================================

Quick Start
-----------

In order to use this library, you first need to go through the following steps:

1. `Select or create a Cloud Platform project.`_
2. `Enable billing for your project.`_
3. Enable the Google Cloud Binaryauthorization API.
4. `Setup Authentication.`_

.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html

Installation
~~~~~~~~~~~~

Install this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to
create isolated Python environments. The basic problem it addresses is one of
dependencies and versions, and indirectly permissions.

With `virtualenv`_, it's possible to install this library without needing system
install permissions, and without clashing with the installed system
dependencies.

.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/


Mac/Linux
^^^^^^^^^

.. code-block:: console

python3 -m venv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install /path/to/library


Windows
^^^^^^^

.. code-block:: console

python3 -m venv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install \path\to\library
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
BinauthzManagementServiceV1
---------------------------------------------

.. automodule:: google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1
:members:
:inherited-members:

.. automodule:: google.cloud.binaryauthorization_v1.services.binauthz_management_service_v1.pagers
:members:
:inherited-members:
8 changes: 8 additions & 0 deletions owl-bot-staging/v1/docs/binaryauthorization_v1/services.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Services for Google Cloud Binaryauthorization v1 API
====================================================
.. toctree::
:maxdepth: 2

binauthz_management_service_v1
system_policy_v1
validation_helper_v1
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
SystemPolicyV1
--------------------------------

.. automodule:: google.cloud.binaryauthorization_v1.services.system_policy_v1
:members:
:inherited-members:
6 changes: 6 additions & 0 deletions owl-bot-staging/v1/docs/binaryauthorization_v1/types.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Types for Google Cloud Binaryauthorization v1 API
=================================================

.. automodule:: google.cloud.binaryauthorization_v1.types
:members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ValidationHelperV1
------------------------------------

.. automodule:: google.cloud.binaryauthorization_v1.services.validation_helper_v1
:members:
:inherited-members:
Loading