Skip to content

Commit 43e2805

Browse files
partheacopybara-github
authored andcommitted
Copybara import of the project:
-- c76a319 by Anthonios Partheniou <[email protected]>: chore: regenerate code with gapic-generator-python 1.4.4 -- 9c55be3 by Yu-Han Liu <[email protected]>: chore: regenerate with gapic-generator-python 1.4.4 COPYBARA_INTEGRATE_REVIEW=#1779 from googleapis:regenerate-code-with-gapic-1-4-4 9c55be3 PiperOrigin-RevId: 488641639
1 parent 2377606 commit 43e2805

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+681
-312
lines changed

.kokoro/requirements.txt

+177-148
Large diffs are not rendered by default.

google/cloud/aiplatform_v1/services/featurestore_service/async_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1593,7 +1593,7 @@ async def sample_create_feature():
15931593
become the final component of the Feature's resource
15941594
name.
15951595
1596-
This value may be up to 60 characters, and valid
1596+
This value may be up to 128 characters, and valid
15971597
characters are ``[a-z0-9_]``. The first character cannot
15981598
be a number.
15991599

google/cloud/aiplatform_v1/services/featurestore_service/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1859,7 +1859,7 @@ def sample_create_feature():
18591859
become the final component of the Feature's resource
18601860
name.
18611861
1862-
This value may be up to 60 characters, and valid
1862+
This value may be up to 128 characters, and valid
18631863
characters are ``[a-z0-9_]``. The first character cannot
18641864
be a number.
18651865

google/cloud/aiplatform_v1/services/tensorboard_service/async_client.py

+9-12
Original file line numberDiff line numberDiff line change
@@ -1280,10 +1280,9 @@ async def sample_list_tensorboard_experiments():
12801280
The request object. Request message for
12811281
[TensorboardService.ListTensorboardExperiments][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardExperiments].
12821282
parent (:class:`str`):
1283-
Required. The resource name of the
1284-
Tensorboard to list
1283+
Required. The resource name of the Tensorboard to list
12851284
TensorboardExperiments. Format:
1286-
'projects/{project}/locations/{location}/tensorboards/{tensorboard}'
1285+
``projects/{project}/locations/{location}/tensorboards/{tensorboard}``
12871286
12881287
This corresponds to the ``parent`` field
12891288
on the ``request`` instance; if ``request`` is provided, this
@@ -2014,10 +2013,9 @@ async def sample_list_tensorboard_runs():
20142013
The request object. Request message for
20152014
[TensorboardService.ListTensorboardRuns][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardRuns].
20162015
parent (:class:`str`):
2017-
Required. The resource name of the
2018-
TensorboardExperiment to list
2019-
TensorboardRuns. Format:
2020-
'projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}'
2016+
Required. The resource name of the TensorboardExperiment
2017+
to list TensorboardRuns. Format:
2018+
``projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}``
20212019
20222020
This corresponds to the ``parent`` field
20232021
on the ``request`` instance; if ``request`` is provided, this
@@ -2745,10 +2743,9 @@ async def sample_list_tensorboard_time_series():
27452743
The request object. Request message for
27462744
[TensorboardService.ListTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardTimeSeries].
27472745
parent (:class:`str`):
2748-
Required. The resource name of the
2749-
TensorboardRun to list
2750-
TensorboardTimeSeries. Format:
2751-
'projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}'
2746+
Required. The resource name of the TensorboardRun to
2747+
list TensorboardTimeSeries. Format:
2748+
``projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}``
27522749
27532750
This corresponds to the ``parent`` field
27542751
on the ``request`` instance; if ``request`` is provided, this
@@ -3222,7 +3219,7 @@ async def sample_read_tensorboard_blob_data():
32223219
time_series (:class:`str`):
32233220
Required. The resource name of the TensorboardTimeSeries
32243221
to list Blobs. Format:
3225-
'projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}'
3222+
``projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}``
32263223
32273224
This corresponds to the ``time_series`` field
32283225
on the ``request`` instance; if ``request`` is provided, this

google/cloud/aiplatform_v1/services/tensorboard_service/client.py

+9-12
Original file line numberDiff line numberDiff line change
@@ -1566,10 +1566,9 @@ def sample_list_tensorboard_experiments():
15661566
The request object. Request message for
15671567
[TensorboardService.ListTensorboardExperiments][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardExperiments].
15681568
parent (str):
1569-
Required. The resource name of the
1570-
Tensorboard to list
1569+
Required. The resource name of the Tensorboard to list
15711570
TensorboardExperiments. Format:
1572-
'projects/{project}/locations/{location}/tensorboards/{tensorboard}'
1571+
``projects/{project}/locations/{location}/tensorboards/{tensorboard}``
15731572
15741573
This corresponds to the ``parent`` field
15751574
on the ``request`` instance; if ``request`` is provided, this
@@ -2312,10 +2311,9 @@ def sample_list_tensorboard_runs():
23122311
The request object. Request message for
23132312
[TensorboardService.ListTensorboardRuns][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardRuns].
23142313
parent (str):
2315-
Required. The resource name of the
2316-
TensorboardExperiment to list
2317-
TensorboardRuns. Format:
2318-
'projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}'
2314+
Required. The resource name of the TensorboardExperiment
2315+
to list TensorboardRuns. Format:
2316+
``projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}``
23192317
23202318
This corresponds to the ``parent`` field
23212319
on the ``request`` instance; if ``request`` is provided, this
@@ -3059,10 +3057,9 @@ def sample_list_tensorboard_time_series():
30593057
The request object. Request message for
30603058
[TensorboardService.ListTensorboardTimeSeries][google.cloud.aiplatform.v1.TensorboardService.ListTensorboardTimeSeries].
30613059
parent (str):
3062-
Required. The resource name of the
3063-
TensorboardRun to list
3064-
TensorboardTimeSeries. Format:
3065-
'projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}'
3060+
Required. The resource name of the TensorboardRun to
3061+
list TensorboardTimeSeries. Format:
3062+
``projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}``
30663063
30673064
This corresponds to the ``parent`` field
30683065
on the ``request`` instance; if ``request`` is provided, this
@@ -3554,7 +3551,7 @@ def sample_read_tensorboard_blob_data():
35543551
time_series (str):
35553552
Required. The resource name of the TensorboardTimeSeries
35563553
to list Blobs. Format:
3557-
'projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}'
3554+
``projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}``
35583555
35593556
This corresponds to the ``time_series`` field
35603557
on the ``request`` instance; if ``request`` is provided, this

google/cloud/aiplatform_v1/types/artifact.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ class Artifact(proto.Message):
8585
metadata store.
8686
metadata (google.protobuf.struct_pb2.Struct):
8787
Properties of the Artifact.
88-
The size of this field should not exceed 200KB.
88+
Top level metadata keys' heading and trailing
89+
spaces will be trimmed. The size of this field
90+
should not exceed 200KB.
8991
description (str):
9092
Description of the Artifact
9193
"""

google/cloud/aiplatform_v1/types/batch_prediction_job.py

+14
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,16 @@ class BatchPredictionJob(proto.Message):
103103
DEDICATED_RESOURCES this config may be provided (and the job
104104
will use these resources), if the Model doesn't support
105105
AUTOMATIC_RESOURCES, this config must be provided.
106+
service_account (str):
107+
The service account that the DeployedModel's container runs
108+
as. If not specified, a system generated one will be used,
109+
which has minimal permissions and the custom container, if
110+
used, may not have enough permission to access other GCP
111+
resources.
112+
113+
Users deploying the Model must have the
114+
``iam.serviceAccounts.actAs`` permission on this service
115+
account.
106116
manual_batch_tuning_parameters (google.cloud.aiplatform_v1.types.ManualBatchTuningParameters):
107117
Immutable. Parameters configuring the batch behavior.
108118
Currently only applicable when
@@ -437,6 +447,10 @@ class OutputInfo(proto.Message):
437447
number=7,
438448
message=machine_resources.BatchDedicatedResources,
439449
)
450+
service_account = proto.Field(
451+
proto.STRING,
452+
number=29,
453+
)
440454
manual_batch_tuning_parameters = proto.Field(
441455
proto.MESSAGE,
442456
number=8,

google/cloud/aiplatform_v1/types/context.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ class Context(proto.Message):
7878
metadata store.
7979
metadata (google.protobuf.struct_pb2.Struct):
8080
Properties of the Context.
81-
The size of this field should not exceed 200KB.
81+
Top level metadata keys' heading and trailing
82+
spaces will be trimmed. The size of this field
83+
should not exceed 200KB.
8284
description (str):
8385
Description of the Context
8486
"""

google/cloud/aiplatform_v1/types/dataset.py

+17
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,18 @@ class ImportDataConfig(proto.Message):
166166
labels specified inside index file referenced by
167167
[import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri],
168168
e.g. jsonl file.
169+
annotation_labels (Mapping[str, str]):
170+
Labels that will be applied to newly imported Annotations.
171+
If two Annotations are identical, one of them will be
172+
deduped. Two Annotations are considered identical if their
173+
[payload][google.cloud.aiplatform.v1.Annotation.payload],
174+
[payload_schema_uri][google.cloud.aiplatform.v1.Annotation.payload_schema_uri]
175+
and all of their
176+
[labels][google.cloud.aiplatform.v1.Annotation.labels] are
177+
the same. These labels will be overridden by Annotation
178+
labels specified inside index file referenced by
179+
[import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri],
180+
e.g. jsonl file.
169181
import_schema_uri (str):
170182
Required. Points to a YAML file stored on Google Cloud
171183
Storage describing the import format. Validation will be
@@ -185,6 +197,11 @@ class ImportDataConfig(proto.Message):
185197
proto.STRING,
186198
number=2,
187199
)
200+
annotation_labels = proto.MapField(
201+
proto.STRING,
202+
proto.STRING,
203+
number=3,
204+
)
188205
import_schema_uri = proto.Field(
189206
proto.STRING,
190207
number=4,

google/cloud/aiplatform_v1/types/execution.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ class Execution(proto.Message):
8181
metadata store.
8282
metadata (google.protobuf.struct_pb2.Struct):
8383
Properties of the Execution.
84-
The size of this field should not exceed 200KB.
84+
Top level metadata keys' heading and trailing
85+
spaces will be trimmed. The size of this field
86+
should not exceed 200KB.
8587
description (str):
8688
Description of the Execution
8789
"""

google/cloud/aiplatform_v1/types/featurestore.py

+6-4
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,12 @@ class Featurestore(proto.Message):
6161
System reserved label keys are prefixed with
6262
"aiplatform.googleapis.com/" and are immutable.
6363
online_serving_config (google.cloud.aiplatform_v1.types.Featurestore.OnlineServingConfig):
64-
Optional. Config for online storage
65-
resources. If unset, the featurestore will not
66-
have an online store and cannot be used for
67-
online serving.
64+
Optional. Config for online storage resources. The field
65+
should not co-exist with the field of
66+
``OnlineStoreReplicationConfig``. If both of it and
67+
OnlineStoreReplicationConfig are unset, the feature store
68+
will not have an online store and cannot be used for online
69+
serving.
6870
state (google.cloud.aiplatform_v1.types.Featurestore.State):
6971
Output only. State of the featurestore.
7072
encryption_spec (google.cloud.aiplatform_v1.types.EncryptionSpec):

google/cloud/aiplatform_v1/types/featurestore_service.py

+12-1
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,12 @@ class BatchReadFeatureValuesRequest(proto.Message):
548548
[BatchReadFeatureValuesRequest.entity_type_specs] must have
549549
a column specifying entity IDs in the EntityType in
550550
[BatchReadFeatureValuesRequest.request][] .
551+
start_time (google.protobuf.timestamp_pb2.Timestamp):
552+
Optional. Excludes Feature values with
553+
feature generation timestamp before this
554+
timestamp. If not set, retrieve oldest values
555+
kept in Feature Store. Timestamp, if present,
556+
must not have higher than millisecond precision.
551557
"""
552558

553559
class PassThroughField(proto.Message):
@@ -629,6 +635,11 @@ class EntityTypeSpec(proto.Message):
629635
number=7,
630636
message=EntityTypeSpec,
631637
)
638+
start_time = proto.Field(
639+
proto.MESSAGE,
640+
number=11,
641+
message=timestamp_pb2.Timestamp,
642+
)
632643

633644

634645
class ExportFeatureValuesRequest(proto.Message):
@@ -1109,7 +1120,7 @@ class CreateFeatureRequest(proto.Message):
11091120
Required. The ID to use for the Feature, which will become
11101121
the final component of the Feature's resource name.
11111122
1112-
This value may be up to 60 characters, and valid characters
1123+
This value may be up to 128 characters, and valid characters
11131124
are ``[a-z0-9_]``. The first character cannot be a number.
11141125
11151126
The value must be unique within an EntityType.

google/cloud/aiplatform_v1/types/index_endpoint.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class IndexEndpoint(proto.Message):
8787
are mutually exclusive.
8888
8989
`Format <https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert>`__:
90-
projects/{project}/global/networks/{network}. Where
90+
``projects/{project}/global/networks/{network}``. Where
9191
{project} is a project number, as in '12345', and {network}
9292
is network name.
9393
enable_private_service_connect (bool):

google/cloud/aiplatform_v1/types/metadata_service.py

+10-4
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,8 @@ class ListArtifactsRequest(proto.Message):
359359
``in_context("projects/<project_number>/locations/<location>/metadataStores/<metadatastore_name>/contexts/<context-id>")``
360360
361361
Each of the above supported filter types can be combined
362-
together using logical operators (``AND`` & ``OR``).
362+
together using logical operators (``AND`` & ``OR``). Maximum
363+
nested expression depth allowed is 5.
363364
364365
For example:
365366
``display_name = "test" AND metadata.field1.bool_value = true``.
@@ -667,7 +668,8 @@ class ListContextsRequest(proto.Message):
667668
"projects/<project_number>/locations/<location>/metadataStores/<metadatastore_name>/contexts/<context_id>"
668669
669670
Each of the above supported filters can be combined together
670-
using logical operators (``AND`` & ``OR``).
671+
using logical operators (``AND`` & ``OR``). Maximum nested
672+
expression depth allowed is 5.
671673
672674
For example:
673675
``display_name = "test" AND metadata.field1.bool_value = true``.
@@ -1103,7 +1105,10 @@ class ListExecutionsRequest(proto.Message):
11031105
``in_context("projects/<project_number>/locations/<location>/metadataStores/<metadatastore_name>/contexts/<context-id>")``
11041106
11051107
Each of the above supported filters can be combined together
1106-
using logical operators (``AND`` & ``OR``). For example:
1108+
using logical operators (``AND`` & ``OR``). Maximum nested
1109+
expression depth allowed is 5.
1110+
1111+
For example:
11071112
``display_name = "test" AND metadata.field1.bool_value = true``.
11081113
order_by (str):
11091114
How the list of messages is ordered. Specify the values to
@@ -1523,7 +1528,8 @@ class QueryArtifactLineageSubgraphRequest(proto.Message):
15231528
``metadata.field_1.number_value = 10.0``
15241529
15251530
Each of the above supported filter types can be combined
1526-
together using logical operators (``AND`` & ``OR``).
1531+
together using logical operators (``AND`` & ``OR``). Maximum
1532+
nested expression depth allowed is 5.
15271533
15281534
For example:
15291535
``display_name = "test" AND metadata.field1.bool_value = true``.

google/cloud/aiplatform_v1/types/model.py

+11-2
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ class Model(proto.Message):
5050
version_aliases (Sequence[str]):
5151
User provided version aliases so that a model version can be
5252
referenced via alias (i.e.
53-
projects/{project}/locations/{location}/models/{model_id}@{version_alias}
53+
``projects/{project}/locations/{location}/models/{model_id}@{version_alias}``
5454
instead of auto-generated version id (i.e.
55-
projects/{project}/locations/{location}/models/{model_id}@{version_id}).
55+
``projects/{project}/locations/{location}/models/{model_id}@{version_id})``.
5656
The format is [a-z][a-zA-Z0-9-]{0,126}[a-z0-9] to
5757
distinguish from version_id. A default version alias will be
5858
created for the first version of the model, and there must
@@ -280,6 +280,11 @@ class Model(proto.Message):
280280
be automl training pipeline, custom training
281281
pipeline, BigQuery ML, or existing Vertex AI
282282
Model.
283+
metadata_artifact (str):
284+
Output only. The resource name of the Artifact that was
285+
created in MetadataStore when creating the Model. The
286+
Artifact resource name pattern is
287+
``projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}``.
283288
"""
284289

285290
class DeploymentResourcesType(proto.Enum):
@@ -454,6 +459,10 @@ class ExportableContent(proto.Enum):
454459
number=38,
455460
message="ModelSourceInfo",
456461
)
462+
metadata_artifact = proto.Field(
463+
proto.STRING,
464+
number=44,
465+
)
457466

458467

459468
class PredictSchemata(proto.Message):

0 commit comments

Comments
 (0)