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: add read_mask to ListPipelineJobsRequest in aiplatform v1 pipeline_service #1589

Merged
merged 18 commits into from
Aug 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
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
12 changes: 12 additions & 0 deletions google/cloud/aiplatform_v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@
from .types.featurestore_service import UpdateFeaturestoreRequest
from .types.hyperparameter_tuning_job import HyperparameterTuningJob
from .types.index import Index
from .types.index import IndexDatapoint
from .types.index import IndexStats
from .types.index_endpoint import DeployedIndex
from .types.index_endpoint import DeployedIndexAuthConfig
from .types.index_endpoint import IndexEndpoint
Expand Down Expand Up @@ -209,8 +211,12 @@
from .types.index_service import ListIndexesRequest
from .types.index_service import ListIndexesResponse
from .types.index_service import NearestNeighborSearchOperationMetadata
from .types.index_service import RemoveDatapointsRequest
from .types.index_service import RemoveDatapointsResponse
from .types.index_service import UpdateIndexOperationMetadata
from .types.index_service import UpdateIndexRequest
from .types.index_service import UpsertDatapointsRequest
from .types.index_service import UpsertDatapointsResponse
from .types.io import AvroSource
from .types.io import BigQueryDestination
from .types.io import BigQuerySource
Expand Down Expand Up @@ -743,10 +749,12 @@
"ImportFeatureValuesResponse",
"ImportModelEvaluationRequest",
"Index",
"IndexDatapoint",
"IndexEndpoint",
"IndexEndpointServiceClient",
"IndexPrivateEndpoints",
"IndexServiceClient",
"IndexStats",
"InputDataConfig",
"Int64Array",
"IntegratedGradientsAttribution",
Expand Down Expand Up @@ -890,6 +898,8 @@
"ReadTensorboardBlobDataResponse",
"ReadTensorboardTimeSeriesDataRequest",
"ReadTensorboardTimeSeriesDataResponse",
"RemoveDatapointsRequest",
"RemoveDatapointsResponse",
"ResourcesConsumed",
"ResumeModelDeploymentMonitoringJobRequest",
"SampleConfig",
Expand Down Expand Up @@ -964,6 +974,8 @@
"UploadModelOperationMetadata",
"UploadModelRequest",
"UploadModelResponse",
"UpsertDatapointsRequest",
"UpsertDatapointsResponse",
"UserActionReference",
"Value",
"VizierServiceClient",
Expand Down
20 changes: 20 additions & 0 deletions google/cloud/aiplatform_v1/gapic_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -580,10 +580,20 @@
"list_indexes"
]
},
"RemoveDatapoints": {
"methods": [
"remove_datapoints"
]
},
"UpdateIndex": {
"methods": [
"update_index"
]
},
"UpsertDatapoints": {
"methods": [
"upsert_datapoints"
]
}
}
},
Expand All @@ -610,10 +620,20 @@
"list_indexes"
]
},
"RemoveDatapoints": {
"methods": [
"remove_datapoints"
]
},
"UpdateIndex": {
"methods": [
"update_index"
]
},
"UpsertDatapoints": {
"methods": [
"upsert_datapoints"
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1784,8 +1784,11 @@ async def set_iam_policy(
expression that further constrains the role binding
based on attributes about the request and/or target
resource.

**JSON Example**

::

{
"bindings": [
{
Expand All @@ -1809,8 +1812,11 @@ async def set_iam_policy(
}
]
}

**YAML Example**

::

bindings:
- members:
- user:mike@example.com
Expand All @@ -1825,6 +1831,7 @@ async def set_iam_policy(
title: expirable access
description: Does not grant access after Sep 2020
expression: request.time < timestamp('2020-10-01T00:00:00.000Z')

For a description of IAM and its features, see the `IAM
developer's
guide <https://cloud.google.com/iam/docs>`__.
Expand Down Expand Up @@ -1898,8 +1905,11 @@ async def get_iam_policy(
expression that further constrains the role binding
based on attributes about the request and/or target
resource.

**JSON Example**

::

{
"bindings": [
{
Expand All @@ -1923,8 +1933,11 @@ async def get_iam_policy(
}
]
}

**YAML Example**

::

bindings:
- members:
- user:mike@example.com
Expand All @@ -1939,6 +1952,7 @@ async def get_iam_policy(
title: expirable access
description: Does not grant access after Sep 2020
expression: request.time < timestamp('2020-10-01T00:00:00.000Z')

For a description of IAM and its features, see the `IAM
developer's
guide <https://cloud.google.com/iam/docs>`__.
Expand Down
14 changes: 14 additions & 0 deletions google/cloud/aiplatform_v1/services/dataset_service/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2110,8 +2110,11 @@ def set_iam_policy(
expression that further constrains the role binding
based on attributes about the request and/or target
resource.

**JSON Example**

::

{
"bindings": [
{
Expand All @@ -2135,8 +2138,11 @@ def set_iam_policy(
}
]
}

**YAML Example**

::

bindings:
- members:
- user:mike@example.com
Expand All @@ -2151,6 +2157,7 @@ def set_iam_policy(
title: expirable access
description: Does not grant access after Sep 2020
expression: request.time < timestamp('2020-10-01T00:00:00.000Z')

For a description of IAM and its features, see the `IAM
developer's
guide <https://cloud.google.com/iam/docs>`__.
Expand Down Expand Up @@ -2224,8 +2231,11 @@ def get_iam_policy(
expression that further constrains the role binding
based on attributes about the request and/or target
resource.

**JSON Example**

::

{
"bindings": [
{
Expand All @@ -2249,8 +2259,11 @@ def get_iam_policy(
}
]
}

**YAML Example**

::

bindings:
- members:
- user:mike@example.com
Expand All @@ -2265,6 +2278,7 @@ def get_iam_policy(
title: expirable access
description: Does not grant access after Sep 2020
expression: request.time < timestamp('2020-10-01T00:00:00.000Z')

For a description of IAM and its features, see the `IAM
developer's
guide <https://cloud.google.com/iam/docs>`__.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1411,8 +1411,11 @@ async def set_iam_policy(
expression that further constrains the role binding
based on attributes about the request and/or target
resource.

**JSON Example**

::

{
"bindings": [
{
Expand All @@ -1436,8 +1439,11 @@ async def set_iam_policy(
}
]
}

**YAML Example**

::

bindings:
- members:
- user:mike@example.com
Expand All @@ -1452,6 +1458,7 @@ async def set_iam_policy(
title: expirable access
description: Does not grant access after Sep 2020
expression: request.time < timestamp('2020-10-01T00:00:00.000Z')

For a description of IAM and its features, see the `IAM
developer's
guide <https://cloud.google.com/iam/docs>`__.
Expand Down Expand Up @@ -1525,8 +1532,11 @@ async def get_iam_policy(
expression that further constrains the role binding
based on attributes about the request and/or target
resource.

**JSON Example**

::

{
"bindings": [
{
Expand All @@ -1550,8 +1560,11 @@ async def get_iam_policy(
}
]
}

**YAML Example**

::

bindings:
- members:
- user:mike@example.com
Expand All @@ -1566,6 +1579,7 @@ async def get_iam_policy(
title: expirable access
description: Does not grant access after Sep 2020
expression: request.time < timestamp('2020-10-01T00:00:00.000Z')

For a description of IAM and its features, see the `IAM
developer's
guide <https://cloud.google.com/iam/docs>`__.
Expand Down
14 changes: 14 additions & 0 deletions google/cloud/aiplatform_v1/services/endpoint_service/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1700,8 +1700,11 @@ def set_iam_policy(
expression that further constrains the role binding
based on attributes about the request and/or target
resource.

**JSON Example**

::

{
"bindings": [
{
Expand All @@ -1725,8 +1728,11 @@ def set_iam_policy(
}
]
}

**YAML Example**

::

bindings:
- members:
- user:mike@example.com
Expand All @@ -1741,6 +1747,7 @@ def set_iam_policy(
title: expirable access
description: Does not grant access after Sep 2020
expression: request.time < timestamp('2020-10-01T00:00:00.000Z')

For a description of IAM and its features, see the `IAM
developer's
guide <https://cloud.google.com/iam/docs>`__.
Expand Down Expand Up @@ -1814,8 +1821,11 @@ def get_iam_policy(
expression that further constrains the role binding
based on attributes about the request and/or target
resource.

**JSON Example**

::

{
"bindings": [
{
Expand All @@ -1839,8 +1849,11 @@ def get_iam_policy(
}
]
}

**YAML Example**

::

bindings:
- members:
- user:mike@example.com
Expand All @@ -1855,6 +1868,7 @@ def get_iam_policy(
title: expirable access
description: Does not grant access after Sep 2020
expression: request.time < timestamp('2020-10-01T00:00:00.000Z')

For a description of IAM and its features, see the `IAM
developer's
guide <https://cloud.google.com/iam/docs>`__.
Expand Down
Loading