You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Required. The Endpoint which replaces the resource on
796
+
the server. Currently we only support updating the
797
+
``client_connection_config`` field, all the other
798
+
fields' update will be blocked.
799
+
800
+
This corresponds to the ``endpoint`` field
801
+
on the ``request`` instance; if ``request`` is provided, this
802
+
should not be set.
803
+
retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
804
+
should be retried.
805
+
timeout (float): The timeout for this request.
806
+
metadata (Sequence[Tuple[str, str]]): Strings which should be
807
+
sent along with the request as metadata.
808
+
809
+
Returns:
810
+
google.api_core.operation_async.AsyncOperation:
811
+
An object representing a long-running operation.
812
+
813
+
The result type for the operation will be :class:`google.cloud.aiplatform_v1.types.Endpoint` Models are deployed into it, and afterwards Endpoint is called to obtain
814
+
predictions and explanations.
815
+
816
+
"""
817
+
# Create or coerce a protobuf request object.
818
+
# - Quick check: If we got a request object, we should *not* have
819
+
# gotten any keyword arguments that map to the request.
820
+
has_flattened_params=any([endpoint])
821
+
ifrequestisnotNoneandhas_flattened_params:
822
+
raiseValueError("If the `request` argument is set, then none of "
823
+
"the individual field arguments should be set.")
824
+
825
+
# - Use the request object if provided (there's no risk of modifying the input as
Required. The Endpoint which replaces the resource on
1186
+
the server. Currently we only support updating the
1187
+
``client_connection_config`` field, all the other
1188
+
fields' update will be blocked.
1189
+
1190
+
This corresponds to the ``endpoint`` field
1191
+
on the ``request`` instance; if ``request`` is provided, this
1192
+
should not be set.
1193
+
retry (google.api_core.retry.Retry): Designation of what errors, if any,
1194
+
should be retried.
1195
+
timeout (float): The timeout for this request.
1196
+
metadata (Sequence[Tuple[str, str]]): Strings which should be
1197
+
sent along with the request as metadata.
1198
+
1199
+
Returns:
1200
+
google.api_core.operation.Operation:
1201
+
An object representing a long-running operation.
1202
+
1203
+
The result type for the operation will be :class:`google.cloud.aiplatform_v1.types.Endpoint` Models are deployed into it, and afterwards Endpoint is called to obtain
1204
+
predictions and explanations.
1205
+
1206
+
"""
1207
+
# Create or coerce a protobuf request object.
1208
+
# - Quick check: If we got a request object, we should *not* have
1209
+
# gotten any keyword arguments that map to the request.
1210
+
has_flattened_params=any([endpoint])
1211
+
ifrequestisnotNoneandhas_flattened_params:
1212
+
raiseValueError('If the `request` argument is set, then none of '
1213
+
'the individual field arguments should be set.')
1214
+
1215
+
# - Use the request object if provided (there's no risk of modifying the input as
0 commit comments