diff --git a/CHANGELOG.md b/CHANGELOG.md index 82642fddf52..9aeda88d4fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,41 @@ # Changelog +## [2.133.0](https://github.com/googleapis/google-api-python-client/compare/v2.132.0...v2.133.0) (2024-06-11) + + +### Features + +* **accessapproval:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/ed68923d2629cd1bddf10b804e63bddbcef907e2 ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **aiplatform:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/50938ea02875c567c3a823009c3b8952d28a8489 ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **alloydb:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/411cad83fe5941066e8173a60d73cf2118d65925 ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **androidmanagement:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/94ac9e050260aa9165143854a93771fe3451a1ae ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **bigqueryconnection:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/80d62812069074e284c9d5268ddcde6330b9cd34 ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **bigquery:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/c2584ebfc726d29b86312fe0bc048b65f7052554 ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **clouddeploy:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/ec43c8d4db18af457874deba233f4066dfa23e67 ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **connectors:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/bb4945c6c627b5703c7495d6370e3be04debac9e ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **contactcenteraiplatform:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/e554c80ea06035a150deebebb06aa1a4fd41dcfd ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **dataplex:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/7a985a7f845be1e8eed58949eeab5392ceb9d681 ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **dataproc:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/cf27327e622c696bacdbfec1321f45d6598f3bae ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **datastream:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/51d984487911e49c5eb4a19570cfbfb944a249c8 ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **dialogflow:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/da84cc40a9af0574b5ef4eb615964f7d57a9f144 ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **discoveryengine:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/092bfcec6254957bbf1dc5145d4865d13e10dcf7 ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **dns:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/40dd8f65e5a8b82b4046fdd7c1f484e88507bc8c ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **domains:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/53fba763fafc0eba376e65bc57d9d9a3fe29a5a1 ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **games:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/b9ed87df9b6b17c668e0b7d341c3a2fc551d7b7a ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **memcache:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/6ba2a752a38345ac996f3139158363ed2ce6c403 ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **networkconnectivity:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/6a3bf3dca4a96dfc8f8f6c6596fd8b21c40a04bd ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **notebooks:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/a045dba9ffa6bdbce19c5431ea3f7c517398706a ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **pubsub:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/3349e843ce895e1b3b7b1564b1ec504c0b12a00d ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **redis:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/fb4d4b5141f37978005a21f8155d7b19280dcc77 ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **sqladmin:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/08f0aa1824f505721a09c10238e59bc2777ab453 ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **vmmigration:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/cb830e416867a2f0666f92a73572d4e42988098a ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) + + +### Bug Fixes + +* **chat:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/17071ef9f24d25408e063d37a4840445ece1b3e4 ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) +* **dataflow:** Update the api https://togithub.com/googleapis/google-api-python-client/commit/743be6674070e92425fee6ff124e8fbc111e2ffd ([46e3cf4](https://github.com/googleapis/google-api-python-client/commit/46e3cf4a5639facb4cb3603c470314195c715218)) + ## [2.132.0](https://github.com/googleapis/google-api-python-client/compare/v2.131.0...v2.132.0) (2024-06-04) diff --git a/docs/dyn/accessapproval_v1.folders.html b/docs/dyn/accessapproval_v1.folders.html index 5a75d51b387..4857ff7c92d 100644 --- a/docs/dyn/accessapproval_v1.folders.html +++ b/docs/dyn/accessapproval_v1.folders.html @@ -150,6 +150,7 @@
streamGenerateContent(model, body=None, x__xgafv=None)
Generate content with multimodal inputs with streaming support.
+
+ streamRawPredict(endpoint, body=None, x__xgafv=None)
Perform a streaming online prediction with an arbitrary HTTP payload.
testIamPermissions(resource, permissions=None, x__xgafv=None)
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
@@ -3238,6 +3241,46 @@streamRawPredict(endpoint, body=None, x__xgafv=None)
+ Perform a streaming online prediction with an arbitrary HTTP payload.
+
+Args:
+ endpoint: string, Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # Request message for PredictionService.StreamRawPredict.
+ "httpBody": { # Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged. # The prediction input. Supports HTTP headers and arbitrary data payload.
+ "contentType": "A String", # The HTTP Content-Type header value specifying the content type of the body.
+ "data": "A String", # The HTTP request/response body as raw binary.
+ "extensions": [ # Application specific response metadata. Must be set in the first response for streaming APIs.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+ },
+}
+
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.
+ "contentType": "A String", # The HTTP Content-Type header value specifying the content type of the body.
+ "data": "A String", # The HTTP request/response body as raw binary.
+ "extensions": [ # Application specific response metadata. Must be set in the first response for streaming APIs.
+ {
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ ],
+}
+testIamPermissions(resource, permissions=None, x__xgafv=None)
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.modelMonitors.html b/docs/dyn/aiplatform_v1beta1.projects.locations.modelMonitors.html index 73ea3b1fbd8..c8be57a2d1b 100644 --- a/docs/dyn/aiplatform_v1beta1.projects.locations.modelMonitors.html +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.modelMonitors.html @@ -1404,13 +1404,6 @@Method Details
"pageSize": 42, # The standard list page size. "pageToken": "A String", # A page token received from a previous ModelMonitoringService.SearchModelMonitoringStats call. "statsFilter": { # Filter for searching ModelMonitoringStats. # Filter for search different stats. - "genAiStatsFilter": { # GenAi statistics filter. # GenAi statistics filter. - "clusterId": "A String", # From a particular cluster of monitoring results. - "modelMonitoringJob": "A String", # From a particular monitoring job. - "modelMonitoringSchedule": "A String", # From a particular monitoring schedule. - "objectiveType": "A String", # One of the supported monitoring objectives: `gen-ai-general` `gen-ai-evaluation` `gen-ai-safety` - "statsName": "A String", # If not specified, will return all the stats_names. - }, "tabularStatsFilter": { # Tabular statistics filter. # Tabular statistics filter. "algorithm": "A String", # Specify the algorithm type used for distance calculation, eg: jensen_shannon_divergence, l_infinity. "modelMonitoringJob": "A String", # From a particular monitoring job. @@ -1436,34 +1429,6 @@Method Details
{ # Response message for ModelMonitoringService.SearchModelMonitoringStats. "monitoringStats": [ # Stats retrieved for requested objectives. { # Represents the collection of statistics for a metric. - "genAiStats": { # A collection of data points that describes the time-varying values of a gen ai metric. # Generated gen ai statistics. - "dataPoints": [ # The data points of this time series. When listing time series, points are returned in reverse time order. - { # Represents a single statistics data point. - "algorithm": "A String", # Algorithm used to calculated the metrics, eg: jensen_shannon_divergence, l_infinity. - "baselineStats": { # Typed value of the statistics. # Statistics from baseline dataset. - "distributionValue": { # Summary statistics for a population of values. # Distribution. - "distribution": "", # Predictive monitoring drift distribution in `tensorflow.metadata.v0.DatasetFeatureStatistics` format. - "distributionDeviation": 3.14, # Distribution distance deviation from the current dataset's statistics to baseline dataset's statistics. * For categorical feature, the distribution distance is calculated by L-inifinity norm or Jensen–Shannon divergence. * For numerical feature, the distribution distance is calculated by Jensen–Shannon divergence. - }, - "doubleValue": 3.14, # Double. - }, - "createTime": "A String", # Statistics create time. - "currentStats": { # Typed value of the statistics. # Statistics from current dataset. - "distributionValue": { # Summary statistics for a population of values. # Distribution. - "distribution": "", # Predictive monitoring drift distribution in `tensorflow.metadata.v0.DatasetFeatureStatistics` format. - "distributionDeviation": 3.14, # Distribution distance deviation from the current dataset's statistics to baseline dataset's statistics. * For categorical feature, the distribution distance is calculated by L-inifinity norm or Jensen–Shannon divergence. * For numerical feature, the distribution distance is calculated by Jensen–Shannon divergence. - }, - "doubleValue": 3.14, # Double. - }, - "hasAnomaly": True or False, # Indicate if the statistics has anomaly. - "modelMonitoringJob": "A String", # Model monitoring job resource name. - "schedule": "A String", # Schedule resource name. - "thresholdValue": 3.14, # Threshold value. - }, - ], - "objectiveType": "A String", # One of the supported monitoring objectives: `gen-ai-general` `gen-ai-evaluation` `gen-ai-safety` - "statsName": "A String", # The stats name. - }, "tabularStats": { # A collection of data points that describes the time-varying values of a tabular metric. # Generated tabular statistics. "dataPoints": [ # The data points of this time series. When listing time series, points are returned in reverse time order. { # Represents a single statistics data point. diff --git a/docs/dyn/aiplatform_v1beta1.projects.locations.publishers.models.html b/docs/dyn/aiplatform_v1beta1.projects.locations.publishers.models.html index cde13c36aee..a6a0aca6fe4 100644 --- a/docs/dyn/aiplatform_v1beta1.projects.locations.publishers.models.html +++ b/docs/dyn/aiplatform_v1beta1.projects.locations.publishers.models.html @@ -101,6 +101,9 @@Instance Methods
streamGenerateContent(model, body=None, x__xgafv=None)Generate content with multimodal inputs with streaming support.
++
+streamRawPredict(endpoint, body=None, x__xgafv=None)Perform a streaming online prediction with an arbitrary HTTP payload.
Method Details
+close()@@ -1171,4 +1174,44 @@Method Details
}++streamRawPredict(endpoint, body=None, x__xgafv=None)+Perform a streaming online prediction with an arbitrary HTTP payload. + +Args: + endpoint: string, Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` (required) + body: object, The request body. + The object takes the form of: + +{ # Request message for PredictionService.StreamRawPredict. + "httpBody": { # Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged. # The prediction input. Supports HTTP headers and arbitrary data payload. + "contentType": "A String", # The HTTP Content-Type header value specifying the content type of the body. + "data": "A String", # The HTTP request/response body as raw binary. + "extensions": [ # Application specific response metadata. Must be set in the first response for streaming APIs. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], + }, +} + + x__xgafv: string, V1 error format. + Allowed values + 1 - v1 error format + 2 - v2 error format + +Returns: + An object of the form: + + { # Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged. + "contentType": "A String", # The HTTP Content-Type header value specifying the content type of the body. + "data": "A String", # The HTTP request/response body as raw binary. + "extensions": [ # Application specific response metadata. Must be set in the first response for streaming APIs. + { + "a_key": "", # Properties of the object. Contains field @type with type URL. + }, + ], +}+