Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Run the code generator #309

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
72 changes: 36 additions & 36 deletions src/google/events/cloud/alloydb_v1/types/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ class BackupSource(proto.Message):
backup_name (str):
Required. The name of the backup resource with the format:
- projects/{project}/locations/{region}/backups/{backup_id}
- projects/{project}/locations/{region}/backups/{backup_id}
"""

backup_uid: str = proto.Field(
Expand Down Expand Up @@ -472,12 +472,12 @@ class Cluster(proto.Message):
Output only. The name of the cluster resource with the
format:
- projects/{project}/locations/{region}/clusters/{cluster_id}
where the cluster ID segment should satisfy the regex
expression ``[a-z0-9-]+``. For more details see
https://google.aip.dev/122. The prefix of the cluster
resource name is the name of the parent resource:
- projects/{project}/locations/{region}
- projects/{project}/locations/{region}/clusters/{cluster_id}
where the cluster ID segment should satisfy the regex
expression ``[a-z0-9-]+``. For more details see
https://google.aip.dev/122. The prefix of the cluster
resource name is the name of the parent resource:
- projects/{project}/locations/{region}
display_name (str):
User-settable and human-readable display name
for the Cluster.
Expand Down Expand Up @@ -637,7 +637,7 @@ class SecondaryConfig(proto.Message):
primary_cluster_name (str):
The name of the primary cluster name with the format:
- projects/{project}/locations/{region}/clusters/{cluster_id}
- projects/{project}/locations/{region}/clusters/{cluster_id}
"""

primary_cluster_name: str = proto.Field(
Expand Down Expand Up @@ -779,15 +779,15 @@ class Instance(proto.Message):
Output only. The name of the instance resource with the
format:
- projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
where the cluster and instance ID segments should satisfy
the regex expression ``[a-z]([a-z0-9-]{0,61}[a-z0-9])?``,
e.g. 1-63 characters of lowercase letters, numbers, and
dashes, starting with a letter, and ending with a letter
or number. For more details see
https://google.aip.dev/122. The prefix of the instance
resource name is the name of the parent resource:
- projects/{project}/locations/{region}/clusters/{cluster_id}
- projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
where the cluster and instance ID segments should satisfy
the regex expression ``[a-z]([a-z0-9-]{0,61}[a-z0-9])?``,
e.g. 1-63 characters of lowercase letters, numbers, and
dashes, starting with a letter, and ending with a letter
or number. For more details see
https://google.aip.dev/122. The prefix of the instance
resource name is the name of the parent resource:
- projects/{project}/locations/{region}/clusters/{cluster_id}
display_name (str):
User-settable and human-readable display name
for the Instance.
Expand Down Expand Up @@ -832,12 +832,12 @@ class Instance(proto.Message):
database_flags (MutableMapping[str, str]):
Database flags. Set at instance level.
- They are copied from primary instance on read instance
creation.
- Read instances can set new or override existing flags
that are relevant for reads, e.g. for enabling columnar
cache on a read instance. Flags set on read instance may
or may not be present on primary.
- They are copied from primary instance on read instance
creation.
- Read instances can set new or override existing flags that
are relevant for reads, e.g. for enabling columnar cache
on a read instance. Flags set on read instance may or may
not be present on primary.
This is a list of "key": "value" pairs. "key": The name of
the flag. These flags are passed at instance setup time, so
Expand Down Expand Up @@ -933,10 +933,10 @@ class InstanceType(proto.Enum):
READ POOL instances support read operations only. Each read
pool instance consists of one or more homogeneous nodes.
- Read pool of size 1 can only have zonal availability.
- Read pools with node count of 2 or more can have regional
availability (nodes are present in 2 or more zones in a
region).
- Read pool of size 1 can only have zonal availability.
- Read pools with node count of 2 or more can have regional
availability (nodes are present in 2 or more zones in a
region).
SECONDARY (3):
SECONDARY instances support read operations
only. SECONDARY instance is a cross-region read
Expand Down Expand Up @@ -1193,15 +1193,15 @@ class Backup(proto.Message):
Output only. The name of the backup resource with the
format:
- projects/{project}/locations/{region}/backups/{backup_id}
where the cluster and backup ID segments should satisfy
the regex expression ``[a-z]([a-z0-9-]{0,61}[a-z0-9])?``,
e.g. 1-63 characters of lowercase letters, numbers, and
dashes, starting with a letter, and ending with a letter
or number. For more details see
https://google.aip.dev/122. The prefix of the backup
resource name is the name of the parent resource:
- projects/{project}/locations/{region}
- projects/{project}/locations/{region}/backups/{backup_id}
where the cluster and backup ID segments should satisfy
the regex expression ``[a-z]([a-z0-9-]{0,61}[a-z0-9])?``,
e.g. 1-63 characters of lowercase letters, numbers, and
dashes, starting with a letter, and ending with a letter
or number. For more details see
https://google.aip.dev/122. The prefix of the backup
resource name is the name of the parent resource:
- projects/{project}/locations/{region}
display_name (str):
User-settable and human-readable display name
for the Backup.
Expand Down
10 changes: 5 additions & 5 deletions src/google/events/cloud/apigateway_v1/types/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,11 @@ class ApiConfig(proto.Message):
If multiple files are specified, the files are merged with
the following rules:
- All singular scalar fields are merged using "last one
wins" semantics in the order of the files uploaded.
- Repeated fields are concatenated.
- Singular embedded messages are merged using these rules
for nested fields.
- All singular scalar fields are merged using "last one
wins" semantics in the order of the files uploaded.
- Repeated fields are concatenated.
- Singular embedded messages are merged using these rules
for nested fields.
"""
class State(proto.Enum):
r"""All the possible API Config states.
Expand Down
15 changes: 7 additions & 8 deletions src/google/events/cloud/audit_v1/types/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,14 +521,13 @@ class RequestMetadata(proto.Message):
authenticated and should be treated accordingly. For
example:
- ``google-api-python-client/1.4.0``: The request was made
by the Google API client for Python.
- ``Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62``:
The request was made by the Google Cloud SDK CLI
(gcloud).
- ``AppEngine-Google; (+http://code.google.com/appengine; appid: s~my-project``:
The request was made from the ``my-project`` App Engine
app.
- ``google-api-python-client/1.4.0``: The request was made
by the Google API client for Python.
- ``Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62``:
The request was made by the Google Cloud SDK CLI (gcloud).
- ``AppEngine-Google; (+http://code.google.com/appengine; appid: s~my-project``:
The request was made from the ``my-project`` App Engine
app.
caller_network (str):
The network of the caller. Set only if the network host
project is part of the same GCP organization (or project) as
Expand Down
28 changes: 14 additions & 14 deletions src/google/events/cloud/batch_v1/types/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1158,18 +1158,18 @@ class Disk(proto.Message):
Name of a public or custom image used as the data source.
For example, the following are all valid URLs:
- Specify the image by its family name:
projects/{project}/global/images/family/{image_family}
- Specify the image version:
projects/{project}/global/images/{image_version}
- Specify the image by its family name:
projects/{project}/global/images/family/{image_family}
- Specify the image version:
projects/{project}/global/images/{image_version}
You can also use Batch customized image in short names. The
following image values are supported for a boot disk:
- "batch-debian": use Batch Debian images.
- "batch-centos": use Batch CentOS images.
- "batch-cos": use Batch Container-Optimized images.
- "batch-hpc-centos": use Batch HPC CentOS images.
- "batch-debian": use Batch Debian images.
- "batch-centos": use Batch CentOS images.
- "batch-cos": use Batch Container-Optimized images.
- "batch-hpc-centos": use Batch HPC CentOS images.
This field is a member of `oneof`_ ``data_source``.
snapshot (str):
Expand Down Expand Up @@ -1404,18 +1404,18 @@ class NetworkInterface(proto.Message):
For example, the following are all valid URLs:
- https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- projects/{project}/global/networks/{network}
- global/networks/{network}
- https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- projects/{project}/global/networks/{network}
- global/networks/{network}
subnetwork (str):
The URL of an existing subnetwork resource in the network.
You can specify the subnetwork as a full or partial URL.
For example, the following are all valid URLs:
- https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
- projects/{project}/regions/{region}/subnetworks/{subnetwork}
- regions/{region}/subnetworks/{subnetwork}
- https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
- projects/{project}/regions/{region}/subnetworks/{subnetwork}
- regions/{region}/subnetworks/{subnetwork}
no_external_ip_address (bool):
Default is false (with an external IP
address). Required if no external public IP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,20 @@ class ResourceInfo(proto.Message):
r"""ResourceInfo represents the information/status of an app connector
resource. Such as:
- remote_agent
- remote_agent
- container
- container
- runtime
- appgateway
- runtime
- appgateway
- appconnector
- appconnector
- appconnection
- appconnection
- tunnel
- tunnel
- logagent
- logagent
Attributes:
id (str):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ class ClientConnectorService(proto.Message):
Optional. User-provided name. The display name should follow
certain format.
- Must be 6 to 30 characters in length.
- Can only contain lowercase letters, numbers, and hyphens.
- Must start with a letter.
- Must be 6 to 30 characters in length.
- Can only contain lowercase letters, numbers, and hyphens.
- Must start with a letter.
ingress (google.events.cloud.beyondcorp.clientconnectorservices_v1.types.ClientConnectorService.Ingress):
Required. The details of the ingress
settings.
Expand Down
6 changes: 3 additions & 3 deletions src/google/events/cloud/cloudbuild_v1/types/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ class BuildEventData(proto.Message):
Stores timing information for phases of the build. Valid
keys are:
- BUILD: time to execute all build steps
- PUSH: time to push all specified images.
- FETCHSOURCE: time to fetch source.
- BUILD: time to execute all build steps
- PUSH: time to push all specified images.
- FETCHSOURCE: time to fetch source.
If the build does not specify source or images, these keys
will not be included.
Expand Down
8 changes: 4 additions & 4 deletions src/google/events/cloud/clouddms_v1/types/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,10 +493,10 @@ class CloudSqlSettings(proto.Message):
availability_type (google.events.cloud.clouddms_v1.types.CloudSqlSettings.SqlAvailabilityType):
Optional. Availability type. Potential values:
- ``ZONAL``: The instance serves data from only one zone.
Outages in that zone affect data availability.
- ``REGIONAL``: The instance can serve data from more than
one zone in a region (it is highly available).
- ``ZONAL``: The instance serves data from only one zone.
Outages in that zone affect data availability.
- ``REGIONAL``: The instance can serve data from more than
one zone in a region (it is highly available).
"""
class SqlActivationPolicy(proto.Enum):
r"""Specifies when the instance should be activated.
Expand Down
18 changes: 9 additions & 9 deletions src/google/events/cloud/dataflow_v1beta3/types/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,9 +771,9 @@ class Job(proto.Message):
confidential information when you supply string values using the
API. Fields stripped from source Job proto:
- steps
- pipeline_description
- transform_name_mapping
- steps
- pipeline_description
- transform_name_mapping
Attributes:
id (str):
Expand Down Expand Up @@ -877,12 +877,12 @@ class Job(proto.Message):
of the labels map are UTF8 strings that comply with the
following restrictions:
- Keys must conform to regexp:
[\\p{Ll}\\p{Lo}][\\p{Ll}\\p{Lo}\\p{N}_-]{0,62}
- Values must conform to regexp:
[\\p{Ll}\\p{Lo}\\p{N}_-]{0,63}
- Both keys and values are additionally constrained to be
<= 128 bytes in size.
- Keys must conform to regexp:
[\\p{Ll}\\p{Lo}][\\p{Ll}\\p{Lo}\\p{N}\_-]{0,62}
- Values must conform to regexp:
[\\p{Ll}\\p{Lo}\\p{N}\_-]{0,63}
- Both keys and values are additionally constrained to be <=
128 bytes in size.
location (str):
The [regional endpoint]
(https://cloud.google.com/dataflow/docs/concepts/regional-endpoints)
Expand Down
Loading