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

Commit

Permalink
feat: Add Channel and ChannelConnection resources (#72)
Browse files Browse the repository at this point in the history
* feat: Add Channel and ChannelConnection resources

PiperOrigin-RevId: 425975821

Source-Link: googleapis/googleapis@3766798

Source-Link: https://github.com/googleapis/googleapis-gen/commit/0332102d499db3d7d6e69551f2f595a9c08a30d9
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDMzMjEwMmQ0OTlkYjNkN2Q2ZTY5NTUxZjJmNTk1YTljMDhhMzBkOSJ9

* 🦉 Updates from OwlBot

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

* disambiguate method names that are reserved in transport classes

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
  • Loading branch information
3 people authored Feb 4, 2022
1 parent 2ebb100 commit 4d89018
Show file tree
Hide file tree
Showing 16 changed files with 5,561 additions and 74 deletions.
28 changes: 28 additions & 0 deletions google/cloud/eventarc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,33 +17,61 @@
from google.cloud.eventarc_v1.services.eventarc.client import EventarcClient
from google.cloud.eventarc_v1.services.eventarc.async_client import EventarcAsyncClient

from google.cloud.eventarc_v1.types.channel import Channel
from google.cloud.eventarc_v1.types.channel_connection import ChannelConnection
from google.cloud.eventarc_v1.types.eventarc import CreateChannelConnectionRequest
from google.cloud.eventarc_v1.types.eventarc import CreateChannelRequest
from google.cloud.eventarc_v1.types.eventarc import CreateTriggerRequest
from google.cloud.eventarc_v1.types.eventarc import DeleteChannelConnectionRequest
from google.cloud.eventarc_v1.types.eventarc import DeleteChannelRequest
from google.cloud.eventarc_v1.types.eventarc import DeleteTriggerRequest
from google.cloud.eventarc_v1.types.eventarc import GetChannelConnectionRequest
from google.cloud.eventarc_v1.types.eventarc import GetChannelRequest
from google.cloud.eventarc_v1.types.eventarc import GetTriggerRequest
from google.cloud.eventarc_v1.types.eventarc import ListChannelConnectionsRequest
from google.cloud.eventarc_v1.types.eventarc import ListChannelConnectionsResponse
from google.cloud.eventarc_v1.types.eventarc import ListChannelsRequest
from google.cloud.eventarc_v1.types.eventarc import ListChannelsResponse
from google.cloud.eventarc_v1.types.eventarc import ListTriggersRequest
from google.cloud.eventarc_v1.types.eventarc import ListTriggersResponse
from google.cloud.eventarc_v1.types.eventarc import OperationMetadata
from google.cloud.eventarc_v1.types.eventarc import UpdateChannelRequest
from google.cloud.eventarc_v1.types.eventarc import UpdateTriggerRequest
from google.cloud.eventarc_v1.types.trigger import CloudRun
from google.cloud.eventarc_v1.types.trigger import Destination
from google.cloud.eventarc_v1.types.trigger import EventFilter
from google.cloud.eventarc_v1.types.trigger import GKE
from google.cloud.eventarc_v1.types.trigger import Pubsub
from google.cloud.eventarc_v1.types.trigger import Transport
from google.cloud.eventarc_v1.types.trigger import Trigger

__all__ = (
"EventarcClient",
"EventarcAsyncClient",
"Channel",
"ChannelConnection",
"CreateChannelConnectionRequest",
"CreateChannelRequest",
"CreateTriggerRequest",
"DeleteChannelConnectionRequest",
"DeleteChannelRequest",
"DeleteTriggerRequest",
"GetChannelConnectionRequest",
"GetChannelRequest",
"GetTriggerRequest",
"ListChannelConnectionsRequest",
"ListChannelConnectionsResponse",
"ListChannelsRequest",
"ListChannelsResponse",
"ListTriggersRequest",
"ListTriggersResponse",
"OperationMetadata",
"UpdateChannelRequest",
"UpdateTriggerRequest",
"CloudRun",
"Destination",
"EventFilter",
"GKE",
"Pubsub",
"Transport",
"Trigger",
Expand Down
28 changes: 28 additions & 0 deletions google/cloud/eventarc_v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,34 +17,62 @@
from .services.eventarc import EventarcClient
from .services.eventarc import EventarcAsyncClient

from .types.channel import Channel
from .types.channel_connection import ChannelConnection
from .types.eventarc import CreateChannelConnectionRequest
from .types.eventarc import CreateChannelRequest
from .types.eventarc import CreateTriggerRequest
from .types.eventarc import DeleteChannelConnectionRequest
from .types.eventarc import DeleteChannelRequest
from .types.eventarc import DeleteTriggerRequest
from .types.eventarc import GetChannelConnectionRequest
from .types.eventarc import GetChannelRequest
from .types.eventarc import GetTriggerRequest
from .types.eventarc import ListChannelConnectionsRequest
from .types.eventarc import ListChannelConnectionsResponse
from .types.eventarc import ListChannelsRequest
from .types.eventarc import ListChannelsResponse
from .types.eventarc import ListTriggersRequest
from .types.eventarc import ListTriggersResponse
from .types.eventarc import OperationMetadata
from .types.eventarc import UpdateChannelRequest
from .types.eventarc import UpdateTriggerRequest
from .types.trigger import CloudRun
from .types.trigger import Destination
from .types.trigger import EventFilter
from .types.trigger import GKE
from .types.trigger import Pubsub
from .types.trigger import Transport
from .types.trigger import Trigger

__all__ = (
"EventarcAsyncClient",
"Channel",
"ChannelConnection",
"CloudRun",
"CreateChannelConnectionRequest",
"CreateChannelRequest",
"CreateTriggerRequest",
"DeleteChannelConnectionRequest",
"DeleteChannelRequest",
"DeleteTriggerRequest",
"Destination",
"EventFilter",
"EventarcClient",
"GKE",
"GetChannelConnectionRequest",
"GetChannelRequest",
"GetTriggerRequest",
"ListChannelConnectionsRequest",
"ListChannelConnectionsResponse",
"ListChannelsRequest",
"ListChannelsResponse",
"ListTriggersRequest",
"ListTriggersResponse",
"OperationMetadata",
"Pubsub",
"Transport",
"Trigger",
"UpdateChannelRequest",
"UpdateTriggerRequest",
)
90 changes: 90 additions & 0 deletions google/cloud/eventarc_v1/gapic_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,71 @@
"grpc": {
"libraryClient": "EventarcClient",
"rpcs": {
"CreateChannel": {
"methods": [
"create_channel"
]
},
"CreateChannelConnection": {
"methods": [
"create_channel_connection"
]
},
"CreateTrigger": {
"methods": [
"create_trigger"
]
},
"DeleteChannel": {
"methods": [
"delete_channel"
]
},
"DeleteChannelConnection": {
"methods": [
"delete_channel_connection"
]
},
"DeleteTrigger": {
"methods": [
"delete_trigger"
]
},
"GetChannel": {
"methods": [
"get_channel"
]
},
"GetChannelConnection": {
"methods": [
"get_channel_connection"
]
},
"GetTrigger": {
"methods": [
"get_trigger"
]
},
"ListChannelConnections": {
"methods": [
"list_channel_connections"
]
},
"ListChannels": {
"methods": [
"list_channels"
]
},
"ListTriggers": {
"methods": [
"list_triggers"
]
},
"UpdateChannel": {
"methods": [
"update_channel"
]
},
"UpdateTrigger": {
"methods": [
"update_trigger"
Expand All @@ -40,26 +85,71 @@
"grpc-async": {
"libraryClient": "EventarcAsyncClient",
"rpcs": {
"CreateChannel": {
"methods": [
"create_channel"
]
},
"CreateChannelConnection": {
"methods": [
"create_channel_connection"
]
},
"CreateTrigger": {
"methods": [
"create_trigger"
]
},
"DeleteChannel": {
"methods": [
"delete_channel"
]
},
"DeleteChannelConnection": {
"methods": [
"delete_channel_connection"
]
},
"DeleteTrigger": {
"methods": [
"delete_trigger"
]
},
"GetChannel": {
"methods": [
"get_channel"
]
},
"GetChannelConnection": {
"methods": [
"get_channel_connection"
]
},
"GetTrigger": {
"methods": [
"get_trigger"
]
},
"ListChannelConnections": {
"methods": [
"list_channel_connections"
]
},
"ListChannels": {
"methods": [
"list_channels"
]
},
"ListTriggers": {
"methods": [
"list_triggers"
]
},
"UpdateChannel": {
"methods": [
"update_channel"
]
},
"UpdateTrigger": {
"methods": [
"update_trigger"
Expand Down
Loading

0 comments on commit 4d89018

Please sign in to comment.