Skip to content
Closed
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
6 changes: 4 additions & 2 deletions .librarian/state.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-li
libraries:
- id: google-cloud-dlp
version: 3.32.0
last_generated_commit: f8776fec04e336527ba7279d960105533a1c4e21
last_generated_commit: c4e80cd2d3321cc37cf1c3713bb02529857728d1
apis:
- path: google/privacy/dlp/v2
service_config: dlp_v2.yaml
Expand All @@ -24,9 +24,10 @@ libraries:
tag_format: '{id}-v{version}'
- id: google-cloud-eventarc
version: 1.15.3
last_generated_commit: d300b151a973ce0425ae4ad07b3de957ca31bec6
last_generated_commit: c4e80cd2d3321cc37cf1c3713bb02529857728d1
apis:
- path: google/cloud/eventarc/v1
service_config: eventarc_v1.yaml
source_roots:
- packages/google-cloud-eventarc
preserve_regex:
Expand All @@ -48,6 +49,7 @@ libraries:
last_generated_commit: d300b151a973ce0425ae4ad07b3de957ca31bec6
apis:
- path: google/cloud/video/livestream/v1
service_config: livestream_v1.yaml
source_roots:
- packages/google-cloud-video-live-stream
preserve_regex:
Expand Down
24 changes: 0 additions & 24 deletions packages/google-cloud-eventarc/.OwlBot.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2459,7 +2459,9 @@ async def get_google_channel_config(
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
) -> google_channel_config.GoogleChannelConfig:
r"""Get a GoogleChannelConfig
r"""Get a GoogleChannelConfig.
The name of the GoogleChannelConfig in the response is
ALWAYS coded with projectID.

.. code-block:: python

Expand Down Expand Up @@ -2864,7 +2866,7 @@ async def sample_list_message_buses():
ListMessageBuses method.
parent (:class:`str`):
Required. The parent collection to
list triggers on.
list message buses on.

This corresponds to the ``parent`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down Expand Up @@ -3137,7 +3139,7 @@ async def sample_create_message_bus():
message_bus_id (:class:`str`):
Required. The user-provided ID to be assigned to the
MessageBus. It should match the format
(^\ `a-z <[a-z0-9-]{0,61}[a-z0-9]>`__?$)
``^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$``.

This corresponds to the ``message_bus_id`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down Expand Up @@ -3813,7 +3815,7 @@ async def sample_create_enrollment():
enrollment_id (:class:`str`):
Required. The user-provided ID to be assigned to the
Enrollment. It should match the format
(^\ `a-z <[a-z0-9-]{0,61}[a-z0-9]>`__?$).
``^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$``.

This corresponds to the ``enrollment_id`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down Expand Up @@ -4485,8 +4487,9 @@ async def sample_create_pipeline():
on the ``request`` instance; if ``request`` is provided, this
should not be set.
pipeline_id (:class:`str`):
Required. The user-provided ID to be
assigned to the Pipeline.
Required. The user-provided ID to be assigned to the
Pipeline. It should match the format
``^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$``.

This corresponds to the ``pipeline_id`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down Expand Up @@ -5156,7 +5159,7 @@ async def sample_create_google_api_source():
google_api_source_id (:class:`str`):
Required. The user-provided ID to be assigned to the
GoogleApiSource. It should match the format
(^\ `a-z <[a-z0-9-]{0,61}[a-z0-9]>`__?$).
``^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$``.

This corresponds to the ``google_api_source_id`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3119,7 +3119,9 @@ def get_google_channel_config(
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
) -> google_channel_config.GoogleChannelConfig:
r"""Get a GoogleChannelConfig
r"""Get a GoogleChannelConfig.
The name of the GoogleChannelConfig in the response is
ALWAYS coded with projectID.

.. code-block:: python

Expand Down Expand Up @@ -3519,7 +3521,7 @@ def sample_list_message_buses():
ListMessageBuses method.
parent (str):
Required. The parent collection to
list triggers on.
list message buses on.

This corresponds to the ``parent`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down Expand Up @@ -3788,7 +3790,7 @@ def sample_create_message_bus():
message_bus_id (str):
Required. The user-provided ID to be assigned to the
MessageBus. It should match the format
(^\ `a-z <[a-z0-9-]{0,61}[a-z0-9]>`__?$)
``^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$``.

This corresponds to the ``message_bus_id`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down Expand Up @@ -4449,7 +4451,7 @@ def sample_create_enrollment():
enrollment_id (str):
Required. The user-provided ID to be assigned to the
Enrollment. It should match the format
(^\ `a-z <[a-z0-9-]{0,61}[a-z0-9]>`__?$).
``^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$``.

This corresponds to the ``enrollment_id`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down Expand Up @@ -5106,8 +5108,9 @@ def sample_create_pipeline():
on the ``request`` instance; if ``request`` is provided, this
should not be set.
pipeline_id (str):
Required. The user-provided ID to be
assigned to the Pipeline.
Required. The user-provided ID to be assigned to the
Pipeline. It should match the format
``^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$``.

This corresponds to the ``pipeline_id`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down Expand Up @@ -5762,7 +5765,7 @@ def sample_create_google_api_source():
google_api_source_id (str):
Required. The user-provided ID to be assigned to the
GoogleApiSource. It should match the format
(^\ `a-z <[a-z0-9-]{0,61}[a-z0-9]>`__?$).
``^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$``.

This corresponds to the ``google_api_source_id`` field
on the ``request`` instance; if ``request`` is provided, this
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,9 @@ def get_google_channel_config(
]:
r"""Return a callable for the get google channel config method over gRPC.

Get a GoogleChannelConfig
Get a GoogleChannelConfig.
The name of the GoogleChannelConfig in the response is
ALWAYS coded with projectID.

Returns:
Callable[[~.GetGoogleChannelConfigRequest],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,9 @@ def get_google_channel_config(
]:
r"""Return a callable for the get google channel config method over gRPC.

Get a GoogleChannelConfig
Get a GoogleChannelConfig.
The name of the GoogleChannelConfig in the response is
ALWAYS coded with projectID.

Returns:
Callable[[~.GetGoogleChannelConfigRequest],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2141,6 +2141,10 @@ def _get_http_options():
"method": "get",
"uri": "/v1/{resource=projects/*/locations/*/pipelines/*}:getIamPolicy",
},
{
"method": "get",
"uri": "/v1/{resource=projects/*/locations/*/kafkaSources/*}:getIamPolicy",
},
{
"method": "get",
"uri": "/v1/{resource=projects/*/locations/*/googleApiSources/*}:getIamPolicy",
Expand Down Expand Up @@ -2196,6 +2200,11 @@ def _get_http_options():
"uri": "/v1/{resource=projects/*/locations/*/pipelines/*}:setIamPolicy",
"body": "*",
},
{
"method": "post",
"uri": "/v1/{resource=projects/*/locations/*/kafkaSources/*}:setIamPolicy",
"body": "*",
},
{
"method": "post",
"uri": "/v1/{resource=projects/*/locations/*/googleApiSources/*}:setIamPolicy",
Expand Down Expand Up @@ -2257,6 +2266,11 @@ def _get_http_options():
"uri": "/v1/{resource=projects/*/locations/*/pipelines/*}:testIamPermissions",
"body": "*",
},
{
"method": "post",
"uri": "/v1/{resource=projects/*/locations/*/kafkaSources/*}:testIamPermissions",
"body": "*",
},
{
"method": "post",
"uri": "/v1/{resource=projects/*/locations/*/googleApiSources/*}:testIamPermissions",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,17 @@ class Channel(proto.Message):
channel. The token must be used by the provider
to register the channel for publishing.
crypto_key_name (str):
Resource name of a KMS crypto key (managed by the user) used
to encrypt/decrypt their event data.
Optional. Resource name of a KMS crypto key (managed by the
user) used to encrypt/decrypt their event data.

It must match the pattern
``projects/*/locations/*/keyRings/*/cryptoKeys/*``.
satisfies_pzs (bool):
Output only. Whether or not this Channel
satisfies the requirements of physical zone
separation
labels (MutableMapping[str, str]):
Optional. Resource labels.
"""

class State(proto.Enum):
Expand Down Expand Up @@ -162,6 +164,11 @@ class State(proto.Enum):
proto.BOOL,
number=12,
)
labels: MutableMapping[str, str] = proto.MapField(
proto.STRING,
proto.STRING,
number=13,
)


__all__ = tuple(sorted(__protobuf__.manifest))
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ class ChannelConnection(proto.Message):
ChannelConnection to bind the channel with the
provider project. This field will not be stored
in the provider resource.
labels (MutableMapping[str, str]):
Optional. Resource labels.
"""

name: str = proto.Field(
Expand Down Expand Up @@ -85,6 +87,11 @@ class ChannelConnection(proto.Message):
proto.STRING,
number=8,
)
labels: MutableMapping[str, str] = proto.MapField(
proto.STRING,
proto.STRING,
number=9,
)


__all__ = tuple(sorted(__protobuf__.manifest))
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ class Enrollment(proto.Message):
Required. A CEL expression identifying which
messages this enrollment applies to.
message_bus (str):
Required. Resource name of the message bus
identifying the source of the messages. It
matches the form
Required. Immutable. Resource name of the
message bus identifying the source of the
messages. It matches the form
projects/{project}/locations/{location}/messageBuses/{messageBus}.
destination (str):
Required. Destination is the Pipeline that the Enrollment is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ class ListMessageBusesRequest(proto.Message):
Attributes:
parent (str):
Required. The parent collection to list
triggers on.
message buses on.
page_size (int):
Optional. The maximum number of results to
return on each page.
Expand Down Expand Up @@ -935,7 +935,7 @@ class CreateMessageBusRequest(proto.Message):
message_bus_id (str):
Required. The user-provided ID to be assigned to the
MessageBus. It should match the format
(^\ `a-z <[a-z0-9-]{0,61}[a-z0-9]>`__?$)
``^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$``.
validate_only (bool):
Optional. If set, validate the request and
preview the review, but do not post it.
Expand Down Expand Up @@ -1150,7 +1150,7 @@ class CreateEnrollmentRequest(proto.Message):
enrollment_id (str):
Required. The user-provided ID to be assigned to the
Enrollment. It should match the format
(^\ `a-z <[a-z0-9-]{0,61}[a-z0-9]>`__?$).
``^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$``.
validate_only (bool):
Optional. If set, validate the request and
preview the review, but do not post it.
Expand Down Expand Up @@ -1363,8 +1363,9 @@ class CreatePipelineRequest(proto.Message):
pipeline (google.cloud.eventarc_v1.types.Pipeline):
Required. The pipeline to create.
pipeline_id (str):
Required. The user-provided ID to be assigned
to the Pipeline.
Required. The user-provided ID to be assigned to the
Pipeline. It should match the format
``^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$``.
validate_only (bool):
Optional. If set, validate the request and
preview the review, but do not post it.
Expand Down Expand Up @@ -1582,7 +1583,7 @@ class CreateGoogleApiSourceRequest(proto.Message):
google_api_source_id (str):
Required. The user-provided ID to be assigned to the
GoogleApiSource. It should match the format
(^\ `a-z <[a-z0-9-]{0,61}[a-z0-9]>`__?$).
``^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$``.
validate_only (bool):
Optional. If set, validate the request and
preview the review, but do not post it.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ class GoogleChannelConfig(proto.Message):
Required. The resource name of the config. Must be in the
format of,
``projects/{project}/locations/{location}/googleChannelConfig``.
In API responses, the config name always includes the
projectID, regardless of whether the projectID or
projectNumber was provided.
update_time (google.protobuf.timestamp_pb2.Timestamp):
Output only. The last-modified time.
crypto_key_name (str):
Expand All @@ -48,6 +51,8 @@ class GoogleChannelConfig(proto.Message):

It must match the pattern
``projects/*/locations/*/keyRings/*/cryptoKeys/*``.
labels (MutableMapping[str, str]):
Optional. Resource labels.
"""

name: str = proto.Field(
Expand All @@ -63,6 +68,11 @@ class GoogleChannelConfig(proto.Message):
proto.STRING,
number=7,
)
labels: MutableMapping[str, str] = proto.MapField(
proto.STRING,
proto.STRING,
number=8,
)


__all__ = tuple(sorted(__protobuf__.manifest))
Loading
Loading