Skip to content

Commit

Permalink
feat: Run the code generator (494b78c) (#230)
Browse files Browse the repository at this point in the history
Co-authored-by: Charles Engelke <engelke@google.com>
  • Loading branch information
yoshi-code-bot and engelke authored Jul 19, 2023
1 parent 5232a7d commit c08dbc5
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/google/events/cloud/alloydb_v1/types/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -946,6 +946,7 @@ class InstanceType(proto.Enum):

class AvailabilityType(proto.Enum):
r"""The Availability type of an instance. Potential values:

- ZONAL: The instance serves data from only one zone. Outages in
that zone affect instance availability.
- REGIONAL: The instance can serve data from more than one zone
Expand Down
5 changes: 4 additions & 1 deletion src/google/events/cloud/clouddms_v1/types/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,7 @@ class MigrationJob(proto.Message):
name (str):
The name (URI) of this migration job
resource, in the form of:

projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
create_time (google.protobuf.timestamp_pb2.Timestamp):
Output only. The timestamp when the migration
Expand Down Expand Up @@ -943,7 +944,9 @@ class MigrationJob(proto.Message):
Output only. The duration of the migration
job (in seconds). A duration in seconds with up
to nine fractional digits, terminated by 's'.
Example: "3.5s".
Example:

"3.5s".
error (google.rpc.status_pb2.Status):
Output only. The error details in case of
state FAILED.
Expand Down
1 change: 1 addition & 0 deletions src/google/events/cloud/dataflow_v1beta3/types/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ class Environment(proto.Message):
The supported resource type is:

Google BigQuery:

bigquery.googleapis.com/{dataset}
sdk_pipeline_options (google.protobuf.struct_pb2.Struct):
The Cloud Dataflow SDK pipeline options
Expand Down
1 change: 1 addition & 0 deletions src/google/events/cloud/datastream_v1/types/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,7 @@ class MysqlColumn(proto.Message):
data_type (str):
The MySQL data type. Full data types list can
be found here:

https://dev.mysql.com/doc/refman/8.0/en/data-types.html
length (int):
Column length.
Expand Down
1 change: 1 addition & 0 deletions src/google/events/cloud/eventarc_v1/types/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ class State(proto.Enum):
The INACTIVE state indicates that the Channel
cannot receive events permanently. There are two
possible cases this state can happen:

1. The SaaS provider disconnected from this
Channel. 2. The Channel activation token has
expired but the SaaS provider wasn't
Expand Down
2 changes: 2 additions & 0 deletions src/google/events/cloud/gkehub_v1/types/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,7 @@ class Membership(proto.Message):
Optional. How to identify workloads from this
Membership. See the documentation on Workload
Identity for more details:

https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
"""

Expand Down Expand Up @@ -1132,6 +1133,7 @@ class Authority(proto.Message):
r"""Authority encodes how Google will recognize identities from
this Membership. See the workload identity documentation for
more details:

https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity

Attributes:
Expand Down
6 changes: 6 additions & 0 deletions src/google/events/cloud/networkconnectivity_v1/types/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ class ProducerPscConfig(proto.Message):
service_attachment_uri (str):
The resource path of a service attachment.
Example:

projects/{projectNumOrId}/regions/{region}/serviceAttachments/{resourceId}.
"""

Expand All @@ -185,6 +186,7 @@ class ConsumerPscConfig(proto.Message):
in. Note, this network does not need be in the
ConsumerPscConfig.project in the case of
SharedVPC. Example:

projects/{projectNumOrId}/global/networks/{networkId}.
disable_global_access (bool):
This is used in PSC consumer ForwardingRule
Expand Down Expand Up @@ -273,6 +275,7 @@ class ConsumerPscConnection(proto.Message):
forwarding_rule (str):
The URI of the consumer forwarding rule
created. Example:

projects/{projectNumOrId}/regions/us-east1/networks/{resourceId}.
"""
class State(proto.Enum):
Expand Down Expand Up @@ -418,6 +421,7 @@ class ServiceConnectionPolicy(proto.Message):
network (str):
The resource path of the consumer network.
Example:

-
projects/{projectNumOrId}/global/networks/{resourceId}.
service_class (str):
Expand Down Expand Up @@ -474,6 +478,7 @@ class PscConfig(proto.Message):
subnetworks (MutableSequence[str]):
The resource paths of subnetworks to use for
IP address management. Example:

projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.
limit (int):
Optional. Max number of PSC connections for
Expand Down Expand Up @@ -693,6 +698,7 @@ class ServiceConnectionToken(proto.Message):
network (str):
The resource path of the network associated
with this token. Example:

projects/{projectNumOrId}/global/networks/{resourceId}.
"""

Expand Down
8 changes: 5 additions & 3 deletions src/google/events/cloud/networkmanagement_v1/types/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -2014,6 +2014,7 @@ class ConnectivityTest(proto.Message):
location.

Examples:

If the source IP address is an internal IP
address within a Google Cloud Virtual Private
Cloud (VPC) network, then you must also specify
Expand Down Expand Up @@ -2175,9 +2176,10 @@ class Endpoint(proto.Message):
The Project ID can be derived from the URI if
you provide a VM instance or network URI.
The following are two cases where you must
provide the project ID: 1. Only the IP address
is specified, and the IP address is within a
Google Cloud project.
provide the project ID:

1. Only the IP address is specified, and the IP
address is within a Google Cloud project.
2. When you are using Shared VPC and the IP
address that you provide is from the service
project. In this case, the network that the IP
Expand Down
1 change: 1 addition & 0 deletions src/google/events/cloud/notebooks_v1/types/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1248,6 +1248,7 @@ class ExecutionTemplate(proto.Message):
Example:
'gcr.io/deeplearning-platform-release/base-cu100'
More examples can be found at:

https://cloud.google.com/ai-platform/deep-learning-containers/docs/choosing-container
output_notebook_folder (str):
Path to the notebook folder to write to. Must be in a Google
Expand Down
4 changes: 3 additions & 1 deletion src/google/events/cloud/visionai_v1/types/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -2217,7 +2217,9 @@ class VertexCustomConfig(proto.Message):
attach_application_metadata (bool):
If true, the prediction request received by
custom model will also contain metadata with the
following schema: 'appPlatformMetadata': {
following schema:

'appPlatformMetadata': {
'ingestionTime': DOUBLE; (UNIX timestamp)
'application': STRING;
'instanceId': STRING;
Expand Down
2 changes: 2 additions & 0 deletions src/google/events/firebase/testlab_v1/types/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,13 @@ class OutcomeSummary(proto.Enum):
SUCCESS (1):
The test matrix run was successful, for
instance:

- All test cases passed.
- No crash of the application under test was
detected.
FAILURE (2):
A run failed, for instance:

- One or more test case failed.
- A test timed out.
- The application under test crashed.
Expand Down

0 comments on commit c08dbc5

Please sign in to comment.