From 1927725a36859df1fb37dc3a2c676f7ddf4cb006 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 18 Dec 2024 01:06:32 -0800 Subject: [PATCH 01/11] feat: Generate Google.Apis.Aiplatform.v1 version 1.68.0.3631 --- DiscoveryJson/aiplatform.v1.json | 186 +++++++++++++-- .../Google.Apis.Aiplatform.v1.cs | 213 +++++++++++++++++- .../Google.Apis.Aiplatform.v1.csproj | 2 +- 3 files changed, 371 insertions(+), 30 deletions(-) diff --git a/DiscoveryJson/aiplatform.v1.json b/DiscoveryJson/aiplatform.v1.json index 4a013d7a82..21f2ba5e3e 100644 --- a/DiscoveryJson/aiplatform.v1.json +++ b/DiscoveryJson/aiplatform.v1.json @@ -184,6 +184,11 @@ "endpointUrl": "https://us-east4-aiplatform.googleapis.com/", "location": "us-east4" }, + { + "description": "Locational Endpoint", + "endpointUrl": "https://us-east7-aiplatform.googleapis.com/", + "location": "us-east7" + }, { "description": "Locational Endpoint", "endpointUrl": "https://us-south1-aiplatform.googleapis.com/", @@ -445,7 +450,7 @@ ], "parameters": { "name": { - "description": "Output only. Identifier. The resource name of the Dataset.", + "description": "Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", "location": "path", "pattern": "^datasets/[^/]+$", "required": true, @@ -2211,7 +2216,7 @@ ], "parameters": { "name": { - "description": "Output only. Identifier. The resource name of the Dataset.", + "description": "Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", "required": true, @@ -15346,6 +15351,34 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "streamQuery": { + "description": "Streams queries using a reasoning engine.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}:streamQuery", + "httpMethod": "POST", + "id": "aiplatform.projects.locations.reasoningEngines.streamQuery", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:streamQuery", + "request": { + "$ref": "GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest" + }, + "response": { + "$ref": "GoogleApiHttpBody" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } }, "resources": { @@ -19294,7 +19327,7 @@ } } }, - "revision": "20241203", + "revision": "20241210", "rootUrl": "https://aiplatform.googleapis.com/", "schemas": { "CloudAiLargeModelsVisionGenerateVideoResponse": { @@ -22655,7 +22688,7 @@ "type": "string" }, "name": { - "description": "Output only. Identifier. The resource name of the Dataset.", + "description": "Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", "readOnly": true, "type": "string" }, @@ -26859,6 +26892,22 @@ "format": "int32", "type": "integer" }, + "mediaResolution": { + "description": "Optional. If specified, the media resolution specified will be used.", + "enum": [ + "MEDIA_RESOLUTION_UNSPECIFIED", + "MEDIA_RESOLUTION_LOW", + "MEDIA_RESOLUTION_MEDIUM", + "MEDIA_RESOLUTION_HIGH" + ], + "enumDescriptions": [ + "Media resolution has not been set.", + "Media resolution set to low (64 tokens).", + "Media resolution set to medium (256 tokens).", + "Media resolution set to high (zoomed reframing with 256 tokens)." + ], + "type": "string" + }, "presencePenalty": { "description": "Optional. Positive penalties.", "format": "float", @@ -26920,22 +26969,6 @@ "format": "float", "type": "number" }, - "tokenResolution": { - "description": "Optional. If specified, the token resolution specified will be used.", - "enum": [ - "TOKEN_RESOLUTION_UNSPECIFIED", - "TOKEN_RESOLUTION_LOW", - "TOKEN_RESOLUTION_MEDIUM", - "TOKEN_RESOLUTION_HIGH" - ], - "enumDescriptions": [ - "Token resolution has not been set.", - "Token resolution set to low (64 tokens).", - "Token resolution set to medium (256 tokens).", - "Token resolution set to high (P&S with 256 tokens)." - ], - "type": "string" - }, "topK": { "description": "Optional. If specified, top-k sampling will be used.", "format": "float", @@ -30070,6 +30103,10 @@ "description": "Required. Immutable. URI of the Docker image to be used as the custom container for serving predictions. This URI must identify an image in Artifact Registry or Container Registry. Learn more about the [container publishing requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#publishing), including permissions requirements for the Vertex AI Service Agent. The container image is ingested upon ModelService.UploadModel, stored internally, and this original path is afterwards not used. To learn about the requirements for the Docker image itself, see [Custom container requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#). You can use the URI to one of Vertex AI's [pre-built container images for prediction](https://cloud.google.com/vertex-ai/docs/predictions/pre-built-containers) in this field.", "type": "string" }, + "livenessProbe": { + "$ref": "GoogleCloudAiplatformV1Probe", + "description": "Immutable. Specification for Kubernetes liveness probe." + }, "ports": { "description": "Immutable. List of ports to expose from the container. Vertex AI sends any prediction requests that it receives to the first port on this list. Vertex AI also sends [liveness and health checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#liveness) to this port. If you do not specify this field, it defaults to following value: ```json [ { \"containerPort\": 8080 } ] ``` Vertex AI does not use ports other than the first one listed. This field corresponds to the `ports` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).", "items": { @@ -33436,11 +33473,23 @@ "$ref": "GoogleCloudAiplatformV1ProbeExecAction", "description": "ExecAction probes the health of a container by executing a command." }, + "grpc": { + "$ref": "GoogleCloudAiplatformV1ProbeGrpcAction", + "description": "GrpcAction probes the health of a container by sending a gRPC request." + }, + "httpGet": { + "$ref": "GoogleCloudAiplatformV1ProbeHttpGetAction", + "description": "HttpGetAction probes the health of a container by sending an HTTP GET request." + }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Must be less than timeout_seconds. Maps to Kubernetes probe argument 'periodSeconds'.", "format": "int32", "type": "integer" }, + "tcpSocket": { + "$ref": "GoogleCloudAiplatformV1ProbeTcpSocketAction", + "description": "TcpSocketAction probes the health of a container by opening a TCP socket connection." + }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Must be greater or equal to period_seconds. Maps to Kubernetes probe argument 'timeoutSeconds'.", "format": "int32", @@ -33463,6 +33512,84 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1ProbeGrpcAction": { + "description": "GrpcAction checks the health of a container using a gRPC service.", + "id": "GoogleCloudAiplatformV1ProbeGrpcAction", + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "format": "int32", + "type": "integer" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1ProbeHttpGetAction": { + "description": "HttpGetAction describes an action based on HTTP Get requests.", + "id": "GoogleCloudAiplatformV1ProbeHttpGetAction", + "properties": { + "host": { + "description": "Host name to connect to, defaults to the model serving container's IP. You probably want to set \"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "items": { + "$ref": "GoogleCloudAiplatformV1ProbeHttpHeader" + }, + "type": "array" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Number of the port to access on the container. Number must be in the range 1 to 65535.", + "format": "int32", + "type": "integer" + }, + "scheme": { + "description": "Scheme to use for connecting to the host. Defaults to HTTP. Acceptable values are \"HTTP\" or \"HTTPS\".", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1ProbeHttpHeader": { + "description": "HttpHeader describes a custom header to be used in HTTP probes", + "id": "GoogleCloudAiplatformV1ProbeHttpHeader", + "properties": { + "name": { + "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1ProbeTcpSocketAction": { + "description": "TcpSocketAction probes the health of a container by opening a TCP socket connection.", + "id": "GoogleCloudAiplatformV1ProbeTcpSocketAction", + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the model serving container's IP.", + "type": "string" + }, + "port": { + "description": "Number of the port to access on the container. Number must be in the range 1 to 65535.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1PscAutomatedEndpoints": { "description": "PscAutomatedEndpoints defines the output of the forwarding rule automatically created by each PscAutomationConfig.", "id": "GoogleCloudAiplatformV1PscAutomatedEndpoints", @@ -40750,6 +40877,25 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest": { + "description": "Request message for ReasoningEngineExecutionService.StreamQuery.", + "id": "GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest", + "properties": { + "classMethod": { + "description": "Optional. Class method to be used for the stream query. It is optional and defaults to \"stream_query\" if unspecified.", + "type": "string" + }, + "input": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc.", + "type": "object" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1StreamRawPredictRequest": { "description": "Request message for PredictionService.StreamRawPredict.", "id": "GoogleCloudAiplatformV1StreamRawPredictRequest", diff --git a/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.cs b/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.cs index d7acf76ccb..32a811080d 100644 --- a/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.cs +++ b/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.cs @@ -1005,7 +1005,10 @@ protected override void InitParameters() /// Updates a Dataset. /// The body of the request. - /// Output only. Identifier. The resource name of the Dataset. + /// + /// Output only. Identifier. The resource name of the Dataset. Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}` + /// public virtual PatchRequest Patch(Google.Apis.Aiplatform.v1.Data.GoogleCloudAiplatformV1Dataset body, string name) { return new PatchRequest(this.service, body, name); @@ -1022,7 +1025,10 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Aip InitParameters(); } - /// Output only. Identifier. The resource name of the Dataset. + /// + /// Output only. Identifier. The resource name of the Dataset. Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}` + /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -6842,7 +6848,10 @@ protected override void InitParameters() /// Updates a Dataset. /// The body of the request. - /// Output only. Identifier. The resource name of the Dataset. + /// + /// Output only. Identifier. The resource name of the Dataset. Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}` + /// public virtual PatchRequest Patch(Google.Apis.Aiplatform.v1.Data.GoogleCloudAiplatformV1Dataset body, string name) { return new PatchRequest(this.service, body, name); @@ -6859,7 +6868,10 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Aip InitParameters(); } - /// Output only. Identifier. The resource name of the Dataset. + /// + /// Output only. Identifier. The resource name of the Dataset. Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}` + /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -34734,6 +34746,65 @@ protected override void InitParameters() }); } } + + /// Streams queries using a reasoning engine. + /// The body of the request. + /// + /// Required. The name of the ReasoningEngine resource to use. Format: + /// `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + /// + public virtual StreamQueryRequest StreamQuery(Google.Apis.Aiplatform.v1.Data.GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest body, string name) + { + return new StreamQueryRequest(this.service, body, name); + } + + /// Streams queries using a reasoning engine. + public class StreamQueryRequest : AiplatformBaseServiceRequest + { + /// Constructs a new StreamQuery request. + public StreamQueryRequest(Google.Apis.Services.IClientService service, Google.Apis.Aiplatform.v1.Data.GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// + /// Required. The name of the ReasoningEngine resource to use. Format: + /// `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Aiplatform.v1.Data.GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "streamQuery"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:streamQuery"; + + /// Initializes StreamQuery parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+$", + }); + } + } } /// Gets the Schedules resource. @@ -48096,7 +48167,10 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("modelReference")] public virtual string ModelReference { get; set; } - /// Output only. Identifier. The resource name of the Dataset. + /// + /// Output only. Identifier. The resource name of the Dataset. Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}` + /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } @@ -53850,6 +53924,10 @@ public class GoogleCloudAiplatformV1GenerationConfig : Google.Apis.Requests.IDir [Newtonsoft.Json.JsonPropertyAttribute("maxOutputTokens")] public virtual System.Nullable MaxOutputTokens { get; set; } + /// Optional. If specified, the media resolution specified will be used. + [Newtonsoft.Json.JsonPropertyAttribute("mediaResolution")] + public virtual string MediaResolution { get; set; } + /// Optional. Positive penalties. [Newtonsoft.Json.JsonPropertyAttribute("presencePenalty")] public virtual System.Nullable PresencePenalty { get; set; } @@ -53899,10 +53977,6 @@ public class GoogleCloudAiplatformV1GenerationConfig : Google.Apis.Requests.IDir [Newtonsoft.Json.JsonPropertyAttribute("temperature")] public virtual System.Nullable Temperature { get; set; } - /// Optional. If specified, the token resolution specified will be used. - [Newtonsoft.Json.JsonPropertyAttribute("tokenResolution")] - public virtual string TokenResolution { get; set; } - /// Optional. If specified, top-k sampling will be used. [Newtonsoft.Json.JsonPropertyAttribute("topK")] public virtual System.Nullable TopK { get; set; } @@ -57840,6 +57914,10 @@ public class GoogleCloudAiplatformV1ModelContainerSpec : Google.Apis.Requests.ID [Newtonsoft.Json.JsonPropertyAttribute("imageUri")] public virtual string ImageUri { get; set; } + /// Immutable. Specification for Kubernetes liveness probe. + [Newtonsoft.Json.JsonPropertyAttribute("livenessProbe")] + public virtual GoogleCloudAiplatformV1Probe LivenessProbe { get; set; } + /// /// Immutable. List of ports to expose from the container. Vertex AI sends any prediction requests that it /// receives to the first port on this list. Vertex AI also sends [liveness and health @@ -62082,6 +62160,14 @@ public class GoogleCloudAiplatformV1Probe : Google.Apis.Requests.IDirectResponse [Newtonsoft.Json.JsonPropertyAttribute("exec")] public virtual GoogleCloudAiplatformV1ProbeExecAction Exec { get; set; } + /// GrpcAction probes the health of a container by sending a gRPC request. + [Newtonsoft.Json.JsonPropertyAttribute("grpc")] + public virtual GoogleCloudAiplatformV1ProbeGrpcAction Grpc { get; set; } + + /// HttpGetAction probes the health of a container by sending an HTTP GET request. + [Newtonsoft.Json.JsonPropertyAttribute("httpGet")] + public virtual GoogleCloudAiplatformV1ProbeHttpGetAction HttpGet { get; set; } + /// /// How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Must be less than /// timeout_seconds. Maps to Kubernetes probe argument 'periodSeconds'. @@ -62089,6 +62175,10 @@ public class GoogleCloudAiplatformV1Probe : Google.Apis.Requests.IDirectResponse [Newtonsoft.Json.JsonPropertyAttribute("periodSeconds")] public virtual System.Nullable PeriodSeconds { get; set; } + /// TcpSocketAction probes the health of a container by opening a TCP socket connection. + [Newtonsoft.Json.JsonPropertyAttribute("tcpSocket")] + public virtual GoogleCloudAiplatformV1ProbeTcpSocketAction TcpSocket { get; set; } + /// /// Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Must be greater /// or equal to period_seconds. Maps to Kubernetes probe argument 'timeoutSeconds'. @@ -62116,6 +62206,90 @@ public class GoogleCloudAiplatformV1ProbeExecAction : Google.Apis.Requests.IDire public virtual string ETag { get; set; } } + /// GrpcAction checks the health of a container using a gRPC service. + public class GoogleCloudAiplatformV1ProbeGrpcAction : Google.Apis.Requests.IDirectResponseSchema + { + /// Port number of the gRPC service. Number must be in the range 1 to 65535. + [Newtonsoft.Json.JsonPropertyAttribute("port")] + public virtual System.Nullable Port { get; set; } + + /// + /// Service is the name of the service to place in the gRPC HealthCheckRequest (see + /// https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default + /// behavior is defined by gRPC. + /// + [Newtonsoft.Json.JsonPropertyAttribute("service")] + public virtual string Service { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// HttpGetAction describes an action based on HTTP Get requests. + public class GoogleCloudAiplatformV1ProbeHttpGetAction : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Host name to connect to, defaults to the model serving container's IP. You probably want to set "Host" in + /// httpHeaders instead. + /// + [Newtonsoft.Json.JsonPropertyAttribute("host")] + public virtual string Host { get; set; } + + /// Custom headers to set in the request. HTTP allows repeated headers. + [Newtonsoft.Json.JsonPropertyAttribute("httpHeaders")] + public virtual System.Collections.Generic.IList HttpHeaders { get; set; } + + /// Path to access on the HTTP server. + [Newtonsoft.Json.JsonPropertyAttribute("path")] + public virtual string Path { get; set; } + + /// Number of the port to access on the container. Number must be in the range 1 to 65535. + [Newtonsoft.Json.JsonPropertyAttribute("port")] + public virtual System.Nullable Port { get; set; } + + /// + /// Scheme to use for connecting to the host. Defaults to HTTP. Acceptable values are "HTTP" or "HTTPS". + /// + [Newtonsoft.Json.JsonPropertyAttribute("scheme")] + public virtual string Scheme { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// HttpHeader describes a custom header to be used in HTTP probes + public class GoogleCloudAiplatformV1ProbeHttpHeader : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as + /// the same header. + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The header field value + [Newtonsoft.Json.JsonPropertyAttribute("value")] + public virtual string Value { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// TcpSocketAction probes the health of a container by opening a TCP socket connection. + public class GoogleCloudAiplatformV1ProbeTcpSocketAction : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional: Host name to connect to, defaults to the model serving container's IP. + [Newtonsoft.Json.JsonPropertyAttribute("host")] + public virtual string Host { get; set; } + + /// Number of the port to access on the container. Number must be in the range 1 to 65535. + [Newtonsoft.Json.JsonPropertyAttribute("port")] + public virtual System.Nullable Port { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// PscAutomatedEndpoints defines the output of the forwarding rule automatically created by each /// PscAutomationConfig. @@ -70337,6 +70511,27 @@ public class GoogleCloudAiplatformV1StratifiedSplit : Google.Apis.Requests.IDire public virtual string ETag { get; set; } } + /// Request message for ReasoningEngineExecutionService.StreamQuery. + public class GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. Class method to be used for the stream query. It is optional and defaults to "stream_query" if + /// unspecified. + /// + [Newtonsoft.Json.JsonPropertyAttribute("classMethod")] + public virtual string ClassMethod { get; set; } + + /// + /// Optional. Input content provided by users in JSON object format. Examples include text query, function + /// calling parameters, media bytes, etc. + /// + [Newtonsoft.Json.JsonPropertyAttribute("input")] + public virtual System.Collections.Generic.IDictionary Input { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Request message for PredictionService.StreamRawPredict. public class GoogleCloudAiplatformV1StreamRawPredictRequest : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.csproj b/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.csproj index 5edb4f1e18..66298c677e 100644 --- a/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.csproj +++ b/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Aiplatform.v1 Client Library - 1.68.0.3624 + 1.68.0.3631 Google LLC Copyright 2024 Google LLC Google From f8adb21b2246176f0c8733755667b69c7ccaa310 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 18 Dec 2024 01:06:36 -0800 Subject: [PATCH 02/11] feat: Generate Google.Apis.Aiplatform.v1beta1 version 1.68.0.3631 --- DiscoveryJson/aiplatform.v1beta1.json | 235 ++++++++++- .../Google.Apis.Aiplatform.v1beta1.cs | 368 +++++++++++++++++- .../Google.Apis.Aiplatform.v1beta1.csproj | 2 +- 3 files changed, 572 insertions(+), 33 deletions(-) diff --git a/DiscoveryJson/aiplatform.v1beta1.json b/DiscoveryJson/aiplatform.v1beta1.json index c2f26db1f3..c61b2328b3 100644 --- a/DiscoveryJson/aiplatform.v1beta1.json +++ b/DiscoveryJson/aiplatform.v1beta1.json @@ -184,6 +184,11 @@ "endpointUrl": "https://us-east4-aiplatform.googleapis.com/", "location": "us-east4" }, + { + "description": "Locational Endpoint", + "endpointUrl": "https://us-east7-aiplatform.googleapis.com/", + "location": "us-east7" + }, { "description": "Locational Endpoint", "endpointUrl": "https://us-south1-aiplatform.googleapis.com/", @@ -445,7 +450,7 @@ ], "parameters": { "name": { - "description": "Output only. Identifier. The resource name of the Dataset.", + "description": "Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", "location": "path", "pattern": "^datasets/[^/]+$", "required": true, @@ -2550,7 +2555,7 @@ ], "parameters": { "name": { - "description": "Output only. Identifier. The resource name of the Dataset.", + "description": "Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$", "required": true, @@ -6195,6 +6200,37 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}:getIamPolicy", + "httpMethod": "POST", + "id": "aiplatform.projects.locations.featureGroups.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+resource}:getIamPolicy", + "response": { + "$ref": "GoogleIamV1Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Lists FeatureGroups in a given project and location.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/featureGroups", @@ -6274,6 +6310,65 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}:setIamPolicy", + "httpMethod": "POST", + "id": "aiplatform.projects.locations.featureGroups.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+resource}:setIamPolicy", + "request": { + "$ref": "GoogleIamV1SetIamPolicyRequest" + }, + "response": { + "$ref": "GoogleIamV1Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "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.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/featureGroups/{featureGroupsId}:testIamPermissions", + "httpMethod": "POST", + "id": "aiplatform.projects.locations.featureGroups.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "permissions": { + "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", + "location": "query", + "repeated": true, + "type": "string" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+resource}:testIamPermissions", + "response": { + "$ref": "GoogleIamV1TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } }, "resources": { @@ -21869,7 +21964,7 @@ } } }, - "revision": "20241203", + "revision": "20241210", "rootUrl": "https://aiplatform.googleapis.com/", "schemas": { "CloudAiLargeModelsVisionGenerateVideoResponse": { @@ -22782,7 +22877,11 @@ "id": "GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig", "properties": { "apiKeySecret": { - "description": "Required. The name of the SecretManager secret version resource storing the API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - If specified, the `secretmanager.versions.access` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource.", + "description": "Optional. The name of the SecretManager secret version resource storing the API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - If both `api_key_secret` and `api_key_string` are specified, this field takes precedence over `api_key_string`. - If specified, the `secretmanager.versions.access` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource.", + "type": "string" + }, + "apiKeyString": { + "description": "Optional. The API key to be used in the request directly.", "type": "string" }, "httpElementLocation": { @@ -25517,7 +25616,7 @@ "type": "string" }, "name": { - "description": "Output only. Identifier. The resource name of the Dataset.", + "description": "Output only. Identifier. The resource name of the Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`", "readOnly": true, "type": "string" }, @@ -30611,6 +30710,22 @@ "format": "int32", "type": "integer" }, + "mediaResolution": { + "description": "Optional. If specified, the media resolution specified will be used.", + "enum": [ + "MEDIA_RESOLUTION_UNSPECIFIED", + "MEDIA_RESOLUTION_LOW", + "MEDIA_RESOLUTION_MEDIUM", + "MEDIA_RESOLUTION_HIGH" + ], + "enumDescriptions": [ + "Media resolution has not been set.", + "Media resolution set to low (64 tokens).", + "Media resolution set to medium (256 tokens).", + "Media resolution set to high (zoomed reframing with 256 tokens)." + ], + "type": "string" + }, "presencePenalty": { "description": "Optional. Positive penalties.", "format": "float", @@ -30672,22 +30787,6 @@ "format": "float", "type": "number" }, - "tokenResolution": { - "description": "Optional. If specified, the token resolution specified will be used.", - "enum": [ - "TOKEN_RESOLUTION_UNSPECIFIED", - "TOKEN_RESOLUTION_LOW", - "TOKEN_RESOLUTION_MEDIUM", - "TOKEN_RESOLUTION_HIGH" - ], - "enumDescriptions": [ - "Token resolution has not been set.", - "Token resolution set to low (64 tokens).", - "Token resolution set to medium (256 tokens).", - "Token resolution set to high (P&S with 256 tokens)." - ], - "type": "string" - }, "topK": { "description": "Optional. If specified, top-k sampling will be used.", "format": "float", @@ -34002,6 +34101,10 @@ "description": "Required. Immutable. URI of the Docker image to be used as the custom container for serving predictions. This URI must identify an image in Artifact Registry or Container Registry. Learn more about the [container publishing requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#publishing), including permissions requirements for the Vertex AI Service Agent. The container image is ingested upon ModelService.UploadModel, stored internally, and this original path is afterwards not used. To learn about the requirements for the Docker image itself, see [Custom container requirements](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#). You can use the URI to one of Vertex AI's [pre-built container images for prediction](https://cloud.google.com/vertex-ai/docs/predictions/pre-built-containers) in this field.", "type": "string" }, + "livenessProbe": { + "$ref": "GoogleCloudAiplatformV1beta1Probe", + "description": "Immutable. Specification for Kubernetes liveness probe." + }, "ports": { "description": "Immutable. List of ports to expose from the container. Vertex AI sends any prediction requests that it receives to the first port on this list. Vertex AI also sends [liveness and health checks](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#liveness) to this port. If you do not specify this field, it defaults to following value: ```json [ { \"containerPort\": 8080 } ] ``` Vertex AI does not use ports other than the first one listed. This field corresponds to the `ports` field of the Kubernetes Containers [v1 core API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core).", "items": { @@ -38332,11 +38435,23 @@ "$ref": "GoogleCloudAiplatformV1beta1ProbeExecAction", "description": "ExecAction probes the health of a container by executing a command." }, + "grpc": { + "$ref": "GoogleCloudAiplatformV1beta1ProbeGrpcAction", + "description": "GrpcAction probes the health of a container by sending a gRPC request." + }, + "httpGet": { + "$ref": "GoogleCloudAiplatformV1beta1ProbeHttpGetAction", + "description": "HttpGetAction probes the health of a container by sending an HTTP GET request." + }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Must be less than timeout_seconds. Maps to Kubernetes probe argument 'periodSeconds'.", "format": "int32", "type": "integer" }, + "tcpSocket": { + "$ref": "GoogleCloudAiplatformV1beta1ProbeTcpSocketAction", + "description": "TcpSocketAction probes the health of a container by opening a TCP socket connection." + }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Must be greater or equal to period_seconds. Maps to Kubernetes probe argument 'timeoutSeconds'.", "format": "int32", @@ -38359,6 +38474,84 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1ProbeGrpcAction": { + "description": "GrpcAction checks the health of a container using a gRPC service.", + "id": "GoogleCloudAiplatformV1beta1ProbeGrpcAction", + "properties": { + "port": { + "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", + "format": "int32", + "type": "integer" + }, + "service": { + "description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1beta1ProbeHttpGetAction": { + "description": "HttpGetAction describes an action based on HTTP Get requests.", + "id": "GoogleCloudAiplatformV1beta1ProbeHttpGetAction", + "properties": { + "host": { + "description": "Host name to connect to, defaults to the model serving container's IP. You probably want to set \"Host\" in httpHeaders instead.", + "type": "string" + }, + "httpHeaders": { + "description": "Custom headers to set in the request. HTTP allows repeated headers.", + "items": { + "$ref": "GoogleCloudAiplatformV1beta1ProbeHttpHeader" + }, + "type": "array" + }, + "path": { + "description": "Path to access on the HTTP server.", + "type": "string" + }, + "port": { + "description": "Number of the port to access on the container. Number must be in the range 1 to 65535.", + "format": "int32", + "type": "integer" + }, + "scheme": { + "description": "Scheme to use for connecting to the host. Defaults to HTTP. Acceptable values are \"HTTP\" or \"HTTPS\".", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1beta1ProbeHttpHeader": { + "description": "HttpHeader describes a custom header to be used in HTTP probes", + "id": "GoogleCloudAiplatformV1beta1ProbeHttpHeader", + "properties": { + "name": { + "description": "The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1beta1ProbeTcpSocketAction": { + "description": "TcpSocketAction probes the health of a container by opening a TCP socket connection.", + "id": "GoogleCloudAiplatformV1beta1ProbeTcpSocketAction", + "properties": { + "host": { + "description": "Optional: Host name to connect to, defaults to the model serving container's IP.", + "type": "string" + }, + "port": { + "description": "Number of the port to access on the container. Number must be in the range 1 to 65535.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1PscAutomatedEndpoints": { "description": "PscAutomatedEndpoints defines the output of the forwarding rule automatically created by each PscAutomationConfig.", "id": "GoogleCloudAiplatformV1beta1PscAutomatedEndpoints", diff --git a/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.cs b/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.cs index 67f4844f70..fe9582a875 100644 --- a/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.cs +++ b/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.cs @@ -1005,7 +1005,10 @@ protected override void InitParameters() /// Updates a Dataset. /// The body of the request. - /// Output only. Identifier. The resource name of the Dataset. + /// + /// Output only. Identifier. The resource name of the Dataset. Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}` + /// public virtual PatchRequest Patch(Google.Apis.Aiplatform.v1beta1.Data.GoogleCloudAiplatformV1beta1Dataset body, string name) { return new PatchRequest(this.service, body, name); @@ -1022,7 +1025,10 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Aip InitParameters(); } - /// Output only. Identifier. The resource name of the Dataset. + /// + /// Output only. Identifier. The resource name of the Dataset. Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}` + /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -7583,7 +7589,10 @@ protected override void InitParameters() /// Updates a Dataset. /// The body of the request. - /// Output only. Identifier. The resource name of the Dataset. + /// + /// Output only. Identifier. The resource name of the Dataset. Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}` + /// public virtual PatchRequest Patch(Google.Apis.Aiplatform.v1beta1.Data.GoogleCloudAiplatformV1beta1Dataset body, string name) { return new PatchRequest(this.service, body, name); @@ -7600,7 +7609,10 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Aip InitParameters(); } - /// Output only. Identifier. The resource name of the Dataset. + /// + /// Output only. Identifier. The resource name of the Dataset. Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}` + /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -15210,6 +15222,86 @@ protected override void InitParameters() } } + /// + /// Gets the access control policy for a resource. Returns an empty policy if the resource exists and + /// does not have a policy set. + /// + /// + /// REQUIRED: The resource for which the policy is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + public virtual GetIamPolicyRequest GetIamPolicy(string resource) + { + return new GetIamPolicyRequest(this.service, resource); + } + + /// + /// Gets the access control policy for a resource. Returns an empty policy if the resource exists and + /// does not have a policy set. + /// + public class GetIamPolicyRequest : AiplatformBaseServiceRequest + { + /// Constructs a new GetIamPolicy request. + public GetIamPolicyRequest(Google.Apis.Services.IClientService service, string resource) : base(service) + { + Resource = resource; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// + /// Optional. The maximum policy version that will be used to format the policy. Valid values are 0, + /// 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any + /// conditional role bindings must specify version 3. Policies with no conditional role bindings may + /// specify any valid value or leave the field unset. The policy in the response might use the + /// policy version that you specified, or it might use a lower policy version. For example, if you + /// specify version 3, but the policy has no conditional role bindings, the response uses version 1. + /// To learn which resources support conditions in their IAM policies, see the [IAM + /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// + [Google.Apis.Util.RequestParameterAttribute("options.requestedPolicyVersion", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable OptionsRequestedPolicyVersion { get; set; } + + /// Gets the method name. + public override string MethodName => "getIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1beta1/{+resource}:getIamPolicy"; + + /// Initializes GetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+$", + }); + RequestParameters.Add("options.requestedPolicyVersion", new Google.Apis.Discovery.Parameter + { + Name = "options.requestedPolicyVersion", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + /// Lists FeatureGroups in a given project and location. /// /// Required. The resource name of the Location to list FeatureGroups. Format: @@ -15405,6 +15497,152 @@ protected override void InitParameters() }); } } + + /// + /// Sets the access control policy on the specified resource. Replaces any existing policy. Can return + /// `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + /// + /// The body of the request. + /// + /// REQUIRED: The resource for which the policy is being specified. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + public virtual SetIamPolicyRequest SetIamPolicy(Google.Apis.Aiplatform.v1beta1.Data.GoogleIamV1SetIamPolicyRequest body, string resource) + { + return new SetIamPolicyRequest(this.service, body, resource); + } + + /// + /// Sets the access control policy on the specified resource. Replaces any existing policy. Can return + /// `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + /// + public class SetIamPolicyRequest : AiplatformBaseServiceRequest + { + /// Constructs a new SetIamPolicy request. + public SetIamPolicyRequest(Google.Apis.Services.IClientService service, Google.Apis.Aiplatform.v1beta1.Data.GoogleIamV1SetIamPolicyRequest body, string resource) : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy is being specified. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Aiplatform.v1beta1.Data.GoogleIamV1SetIamPolicyRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "setIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1beta1/{+resource}:setIamPolicy"; + + /// Initializes SetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+$", + }); + } + } + + /// + /// 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. + /// + /// + /// REQUIRED: The resource for which the policy detail is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + public virtual TestIamPermissionsRequest TestIamPermissions(string resource) + { + return new TestIamPermissionsRequest(this.service, resource); + } + + /// + /// 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. + /// + public class TestIamPermissionsRequest : AiplatformBaseServiceRequest + { + /// Constructs a new TestIamPermissions request. + public TestIamPermissionsRequest(Google.Apis.Services.IClientService service, string resource) : base(service) + { + Resource = resource; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy detail is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// + /// The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or + /// `storage.*`) are not allowed. For more information see [IAM + /// Overview](https://cloud.google.com/iam/docs/overview#permissions). + /// + [Google.Apis.Util.RequestParameterAttribute("permissions", Google.Apis.Util.RequestParameterType.Query)] + public virtual Google.Apis.Util.Repeatable Permissions { get; set; } + + /// Gets the method name. + public override string MethodName => "testIamPermissions"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1beta1/{+resource}:testIamPermissions"; + + /// Initializes TestIamPermissions parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+$", + }); + RequestParameters.Add("permissions", new Google.Apis.Discovery.Parameter + { + Name = "permissions", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } } /// Gets the FeatureOnlineStores resource. @@ -50893,14 +51131,19 @@ public class GoogleCloudAiplatformV1beta1AuthConfig : Google.Apis.Requests.IDire public class GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig : Google.Apis.Requests.IDirectResponseSchema { /// - /// Required. The name of the SecretManager secret version resource storing the API key. Format: - /// `projects/{project}/secrets/{secrete}/versions/{version}` - If specified, the + /// Optional. The name of the SecretManager secret version resource storing the API key. Format: + /// `projects/{project}/secrets/{secrete}/versions/{version}` - If both `api_key_secret` and `api_key_string` + /// are specified, this field takes precedence over `api_key_string`. - If specified, the /// `secretmanager.versions.access` permission should be granted to Vertex AI Extension Service Agent /// (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource. /// [Newtonsoft.Json.JsonPropertyAttribute("apiKeySecret")] public virtual string ApiKeySecret { get; set; } + /// Optional. The API key to be used in the request directly. + [Newtonsoft.Json.JsonPropertyAttribute("apiKeyString")] + public virtual string ApiKeyString { get; set; } + /// Required. The location of the API key. [Newtonsoft.Json.JsonPropertyAttribute("httpElementLocation")] public virtual string HttpElementLocation { get; set; } @@ -54443,7 +54686,10 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("modelReference")] public virtual string ModelReference { get; set; } - /// Output only. Identifier. The resource name of the Dataset. + /// + /// Output only. Identifier. The resource name of the Dataset. Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}` + /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } @@ -61265,6 +61511,10 @@ public class GoogleCloudAiplatformV1beta1GenerationConfig : Google.Apis.Requests [Newtonsoft.Json.JsonPropertyAttribute("maxOutputTokens")] public virtual System.Nullable MaxOutputTokens { get; set; } + /// Optional. If specified, the media resolution specified will be used. + [Newtonsoft.Json.JsonPropertyAttribute("mediaResolution")] + public virtual string MediaResolution { get; set; } + /// Optional. Positive penalties. [Newtonsoft.Json.JsonPropertyAttribute("presencePenalty")] public virtual System.Nullable PresencePenalty { get; set; } @@ -61314,10 +61564,6 @@ public class GoogleCloudAiplatformV1beta1GenerationConfig : Google.Apis.Requests [Newtonsoft.Json.JsonPropertyAttribute("temperature")] public virtual System.Nullable Temperature { get; set; } - /// Optional. If specified, the token resolution specified will be used. - [Newtonsoft.Json.JsonPropertyAttribute("tokenResolution")] - public virtual string TokenResolution { get; set; } - /// Optional. If specified, top-k sampling will be used. [Newtonsoft.Json.JsonPropertyAttribute("topK")] public virtual System.Nullable TopK { get; set; } @@ -65388,6 +65634,10 @@ public class GoogleCloudAiplatformV1beta1ModelContainerSpec : Google.Apis.Reques [Newtonsoft.Json.JsonPropertyAttribute("imageUri")] public virtual string ImageUri { get; set; } + /// Immutable. Specification for Kubernetes liveness probe. + [Newtonsoft.Json.JsonPropertyAttribute("livenessProbe")] + public virtual GoogleCloudAiplatformV1beta1Probe LivenessProbe { get; set; } + /// /// Immutable. List of ports to expose from the container. Vertex AI sends any prediction requests that it /// receives to the first port on this list. Vertex AI also sends [liveness and health @@ -70899,6 +71149,14 @@ public class GoogleCloudAiplatformV1beta1Probe : Google.Apis.Requests.IDirectRes [Newtonsoft.Json.JsonPropertyAttribute("exec")] public virtual GoogleCloudAiplatformV1beta1ProbeExecAction Exec { get; set; } + /// GrpcAction probes the health of a container by sending a gRPC request. + [Newtonsoft.Json.JsonPropertyAttribute("grpc")] + public virtual GoogleCloudAiplatformV1beta1ProbeGrpcAction Grpc { get; set; } + + /// HttpGetAction probes the health of a container by sending an HTTP GET request. + [Newtonsoft.Json.JsonPropertyAttribute("httpGet")] + public virtual GoogleCloudAiplatformV1beta1ProbeHttpGetAction HttpGet { get; set; } + /// /// How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Must be less than /// timeout_seconds. Maps to Kubernetes probe argument 'periodSeconds'. @@ -70906,6 +71164,10 @@ public class GoogleCloudAiplatformV1beta1Probe : Google.Apis.Requests.IDirectRes [Newtonsoft.Json.JsonPropertyAttribute("periodSeconds")] public virtual System.Nullable PeriodSeconds { get; set; } + /// TcpSocketAction probes the health of a container by opening a TCP socket connection. + [Newtonsoft.Json.JsonPropertyAttribute("tcpSocket")] + public virtual GoogleCloudAiplatformV1beta1ProbeTcpSocketAction TcpSocket { get; set; } + /// /// Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Must be greater /// or equal to period_seconds. Maps to Kubernetes probe argument 'timeoutSeconds'. @@ -70933,6 +71195,90 @@ public class GoogleCloudAiplatformV1beta1ProbeExecAction : Google.Apis.Requests. public virtual string ETag { get; set; } } + /// GrpcAction checks the health of a container using a gRPC service. + public class GoogleCloudAiplatformV1beta1ProbeGrpcAction : Google.Apis.Requests.IDirectResponseSchema + { + /// Port number of the gRPC service. Number must be in the range 1 to 65535. + [Newtonsoft.Json.JsonPropertyAttribute("port")] + public virtual System.Nullable Port { get; set; } + + /// + /// Service is the name of the service to place in the gRPC HealthCheckRequest (see + /// https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default + /// behavior is defined by gRPC. + /// + [Newtonsoft.Json.JsonPropertyAttribute("service")] + public virtual string Service { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// HttpGetAction describes an action based on HTTP Get requests. + public class GoogleCloudAiplatformV1beta1ProbeHttpGetAction : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Host name to connect to, defaults to the model serving container's IP. You probably want to set "Host" in + /// httpHeaders instead. + /// + [Newtonsoft.Json.JsonPropertyAttribute("host")] + public virtual string Host { get; set; } + + /// Custom headers to set in the request. HTTP allows repeated headers. + [Newtonsoft.Json.JsonPropertyAttribute("httpHeaders")] + public virtual System.Collections.Generic.IList HttpHeaders { get; set; } + + /// Path to access on the HTTP server. + [Newtonsoft.Json.JsonPropertyAttribute("path")] + public virtual string Path { get; set; } + + /// Number of the port to access on the container. Number must be in the range 1 to 65535. + [Newtonsoft.Json.JsonPropertyAttribute("port")] + public virtual System.Nullable Port { get; set; } + + /// + /// Scheme to use for connecting to the host. Defaults to HTTP. Acceptable values are "HTTP" or "HTTPS". + /// + [Newtonsoft.Json.JsonPropertyAttribute("scheme")] + public virtual string Scheme { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// HttpHeader describes a custom header to be used in HTTP probes + public class GoogleCloudAiplatformV1beta1ProbeHttpHeader : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The header field name. This will be canonicalized upon output, so case-variant names will be understood as + /// the same header. + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The header field value + [Newtonsoft.Json.JsonPropertyAttribute("value")] + public virtual string Value { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// TcpSocketAction probes the health of a container by opening a TCP socket connection. + public class GoogleCloudAiplatformV1beta1ProbeTcpSocketAction : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional: Host name to connect to, defaults to the model serving container's IP. + [Newtonsoft.Json.JsonPropertyAttribute("host")] + public virtual string Host { get; set; } + + /// Number of the port to access on the container. Number must be in the range 1 to 65535. + [Newtonsoft.Json.JsonPropertyAttribute("port")] + public virtual System.Nullable Port { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// PscAutomatedEndpoints defines the output of the forwarding rule automatically created by each /// PscAutomationConfig. diff --git a/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.csproj b/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.csproj index 8f1ee2ef16..b481d7369d 100644 --- a/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Aiplatform.v1beta1 Client Library - 1.68.0.3624 + 1.68.0.3631 Google LLC Copyright 2024 Google LLC Google From 577d3cf924195818cc35ee5ff83db098bf53a8ac Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 18 Dec 2024 01:06:39 -0800 Subject: [PATCH 03/11] feat: Generate Google.Apis.AndroidPublisher.v3 version 1.68.0.3637 --- DiscoveryJson/androidpublisher.v3.json | 6 +++++- .../Google.Apis.AndroidPublisher.v3.cs | 4 ++++ .../Google.Apis.AndroidPublisher.v3.csproj | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/androidpublisher.v3.json b/DiscoveryJson/androidpublisher.v3.json index e19fc403e1..89d03a59e1 100644 --- a/DiscoveryJson/androidpublisher.v3.json +++ b/DiscoveryJson/androidpublisher.v3.json @@ -4732,7 +4732,7 @@ } } }, - "revision": "20241125", + "revision": "20241216", "rootUrl": "https://androidpublisher.googleapis.com/", "schemas": { "Abi": { @@ -5314,6 +5314,10 @@ "priceChangeDetails": { "$ref": "SubscriptionItemPriceChangeDetails", "description": "The information of the last price change for the item since subscription signup." + }, + "recurringPrice": { + "$ref": "Money", + "description": "The current recurring price of the auto renewing plan." } }, "type": "object" diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.cs b/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.cs index fdb3d78445..58f9ba03dd 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.cs +++ b/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.cs @@ -12383,6 +12383,10 @@ public class AutoRenewingPlan : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("priceChangeDetails")] public virtual SubscriptionItemPriceChangeDetails PriceChangeDetails { get; set; } + /// The current recurring price of the auto renewing plan. + [Newtonsoft.Json.JsonPropertyAttribute("recurringPrice")] + public virtual Money RecurringPrice { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.csproj b/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.csproj index 3221511790..0221804d51 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.csproj +++ b/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.AndroidPublisher.v3 Client Library - 1.68.0.3616 + 1.68.0.3637 Google LLC Copyright 2024 Google LLC Google From 80b1fcd4df6d0cb7fdb313b763177b672b248ac1 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 18 Dec 2024 01:06:42 -0800 Subject: [PATCH 04/11] feat: Generate Google.Apis.ChromeManagement.v1 version 1.68.0.3636 --- DiscoveryJson/chromemanagement.v1.json | 151 +++++++++++- .../Google.Apis.ChromeManagement.v1.cs | 232 ++++++++++++++++++ .../Google.Apis.ChromeManagement.v1.csproj | 2 +- 3 files changed, 383 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/chromemanagement.v1.json b/DiscoveryJson/chromemanagement.v1.json index 1bd4c02bda..5a92f6a097 100644 --- a/DiscoveryJson/chromemanagement.v1.json +++ b/DiscoveryJson/chromemanagement.v1.json @@ -1263,7 +1263,7 @@ } } }, - "revision": "20241210", + "revision": "20241215", "rootUrl": "https://chromemanagement.googleapis.com/", "schemas": { "GoogleChromeManagementV1AndroidAppInfo": { @@ -4992,6 +4992,91 @@ }, "type": "object" }, + "GoogleChromeManagementVersionsV1CertificateProvisioningProcess": { + "description": "A certificate provisioning process.", + "id": "GoogleChromeManagementVersionsV1CertificateProvisioningProcess", + "properties": { + "caConnectionAdapterConfigReference": { + "description": "Output only. A JSON string that contains the administrator-provided configuration for the certification authority service. This field can be missing if no configuration was given.", + "readOnly": true, + "type": "string" + }, + "chromeOsDevice": { + "$ref": "GoogleChromeManagementVersionsV1ChromeOsDevice", + "description": "Output only. The client certificate is being provisioned for a ChromeOS device. This contains information about the device.", + "readOnly": true + }, + "chromeOsUserSession": { + "$ref": "GoogleChromeManagementVersionsV1ChromeOsUserSession", + "description": "Output only. The client certificate is being provisioned for a ChromeOS user session. This contains information about the user session.", + "readOnly": true + }, + "failureMessage": { + "description": "Output only. A message describing why this `CertificateProvisioningProcess` failed. Presence of this field indicates that the `CertificateProvisioningProcess` has failed.", + "readOnly": true, + "type": "string" + }, + "issuedCertificate": { + "description": "Output only. The issued certificate for this `CertificateProvisioningProcess` in PEM format.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Identifier. Resource name of the `CertificateProvisioningProcess`. The name pattern is given as `customers/{customer}/certificateProvisioningProcesses/{certificate_provisioning_process}` with `{customer}` being the obfuscated customer id and `{certificate_provisioning_process}` being the certificate provisioning process id.", + "type": "string" + }, + "profileAdapterConfigReference": { + "description": "Output only. A JSON string that contains the administrator-provided configuration for the certificate provisioning profile. This field can be missing if no configuration was given.", + "readOnly": true, + "type": "string" + }, + "provisioningProfileId": { + "description": "Output only. The ID of the certificate provisioning profile.", + "readOnly": true, + "type": "string" + }, + "signData": { + "description": "Output only. The data that the client was asked to sign. This field is only present after the `SignData` operation has been initiated.", + "format": "byte", + "readOnly": true, + "type": "string" + }, + "signature": { + "description": "Output only. The signature of `signature_algorithm`, generated using the client's private key using `signature_algorithm`. This field is only present after the`SignData` operation has finished.", + "format": "byte", + "readOnly": true, + "type": "string" + }, + "signatureAlgorithm": { + "description": "Output only. The signature algorithm that the adapter expects the client and backend components to use when processing `sign_data`. This field is only present after the `SignData` operation has been initiated.", + "enum": [ + "SIGNATURE_ALGORITHM_UNSPECIFIED", + "SIGNATURE_ALGORITHM_RSA_PKCS1_V1_5_SHA256", + "SIGNATURE_ALGORITHM_ECDSA_SHA256" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "The server-side builds the PKCS#1 DigestInfo, i.e., the SHA256 hash is constructed on the server-side. The client should sign using RSA with PKCS#1 v1.5 padding.", + "The PKCS#1 digest info is built by the server-side and sent to the client unhashed. The client is responsible for signing and hashing. Uses the P-256 curve." + ], + "readOnly": true, + "type": "string" + }, + "startTime": { + "description": "Output only. Server-generated timestamp of when the certificate provisioning process has been created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "subjectPublicKeyInfo": { + "description": "Output only. The public key for which a certificate should be provisioned. Represented as a DER-encoded X.509 SubjectPublicKeyInfo.", + "format": "byte", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleChromeManagementVersionsV1ChromeBrowserProfile": { "description": "A representation of a Chrome browser profile.", "id": "GoogleChromeManagementVersionsV1ChromeBrowserProfile", @@ -5159,6 +5244,45 @@ }, "type": "object" }, + "GoogleChromeManagementVersionsV1ChromeOsDevice": { + "description": "Describes the ChromeOS device that a `CertificateProvisioningProcess` belongs to.", + "id": "GoogleChromeManagementVersionsV1ChromeOsDevice", + "properties": { + "deviceDirectoryApiId": { + "description": "Output only. The unique Directory API ID of the device. This value is the same as the Admin Console's Directory API ID in the ChromeOS Devices tab.", + "readOnly": true, + "type": "string" + }, + "serialNumber": { + "description": "Output only. Device serial number. This value is the same as the Admin Console's Serial Number in the ChromeOS Devices tab.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleChromeManagementVersionsV1ChromeOsUserSession": { + "description": "Describes the ChromeOS user session that a `CertificateProvisioningProcess` belongs to.", + "id": "GoogleChromeManagementVersionsV1ChromeOsUserSession", + "properties": { + "chromeOsDevice": { + "$ref": "GoogleChromeManagementVersionsV1ChromeOsDevice", + "description": "Output only. This field contains information about the ChromeOS device that the user session is running on. It is only set if the user session is affiliated, i.e. if the user is managed by the same organization that managed the ChromeOS device.", + "readOnly": true + }, + "userDirectoryApiId": { + "description": "Output only. The unique Directory API ID of the user.", + "readOnly": true, + "type": "string" + }, + "userPrimaryEmail": { + "description": "Output only. The primary e-mail address of the user.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleChromeManagementVersionsV1DeviceInfo": { "description": "Information of a device that runs a Chrome browser profile.", "id": "GoogleChromeManagementVersionsV1DeviceInfo", @@ -5465,6 +5589,31 @@ }, "type": "object" }, + "GoogleChromeManagementVersionsV1SignDataMetadata": { + "description": "Metadata for the long-running operation returned by signData.", + "id": "GoogleChromeManagementVersionsV1SignDataMetadata", + "properties": { + "startTime": { + "description": "Output only. Start time of the SignData operation.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleChromeManagementVersionsV1SignDataResponse": { + "description": "Response message for requesting a signature from the client that initated a certificate provisioning process.", + "id": "GoogleChromeManagementVersionsV1SignDataResponse", + "properties": { + "certificateProvisioningProcess": { + "$ref": "GoogleChromeManagementVersionsV1CertificateProvisioningProcess", + "description": "Output only. The certificate provisioning process. The signature generated by the client will be available in the `signature` field of `CertificateProvisioningProcess`.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleChromeManagementVersionsV1alpha1CertificateProvisioningProcess": { "description": "A certificate provisioning process.", "id": "GoogleChromeManagementVersionsV1alpha1CertificateProvisioningProcess", diff --git a/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.cs b/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.cs index e10fb1a245..360ea60c9b 100644 --- a/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.cs +++ b/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.cs @@ -6716,6 +6716,134 @@ public virtual System.DateTimeOffset? KeyRotationTimeDateTimeOffset public virtual string ETag { get; set; } } + /// A certificate provisioning process. + public class GoogleChromeManagementVersionsV1CertificateProvisioningProcess : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Output only. A JSON string that contains the administrator-provided configuration for the certification + /// authority service. This field can be missing if no configuration was given. + /// + [Newtonsoft.Json.JsonPropertyAttribute("caConnectionAdapterConfigReference")] + public virtual string CaConnectionAdapterConfigReference { get; set; } + + /// + /// Output only. The client certificate is being provisioned for a ChromeOS device. This contains information + /// about the device. + /// + [Newtonsoft.Json.JsonPropertyAttribute("chromeOsDevice")] + public virtual GoogleChromeManagementVersionsV1ChromeOsDevice ChromeOsDevice { get; set; } + + /// + /// Output only. The client certificate is being provisioned for a ChromeOS user session. This contains + /// information about the user session. + /// + [Newtonsoft.Json.JsonPropertyAttribute("chromeOsUserSession")] + public virtual GoogleChromeManagementVersionsV1ChromeOsUserSession ChromeOsUserSession { get; set; } + + /// + /// Output only. A message describing why this `CertificateProvisioningProcess` failed. Presence of this field + /// indicates that the `CertificateProvisioningProcess` has failed. + /// + [Newtonsoft.Json.JsonPropertyAttribute("failureMessage")] + public virtual string FailureMessage { get; set; } + + /// + /// Output only. The issued certificate for this `CertificateProvisioningProcess` in PEM format. + /// + [Newtonsoft.Json.JsonPropertyAttribute("issuedCertificate")] + public virtual string IssuedCertificate { get; set; } + + /// + /// Identifier. Resource name of the `CertificateProvisioningProcess`. The name pattern is given as + /// `customers/{customer}/certificateProvisioningProcesses/{certificate_provisioning_process}` with `{customer}` + /// being the obfuscated customer id and `{certificate_provisioning_process}` being the certificate provisioning + /// process id. + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// + /// Output only. A JSON string that contains the administrator-provided configuration for the certificate + /// provisioning profile. This field can be missing if no configuration was given. + /// + [Newtonsoft.Json.JsonPropertyAttribute("profileAdapterConfigReference")] + public virtual string ProfileAdapterConfigReference { get; set; } + + /// Output only. The ID of the certificate provisioning profile. + [Newtonsoft.Json.JsonPropertyAttribute("provisioningProfileId")] + public virtual string ProvisioningProfileId { get; set; } + + /// + /// Output only. The data that the client was asked to sign. This field is only present after the `SignData` + /// operation has been initiated. + /// + [Newtonsoft.Json.JsonPropertyAttribute("signData")] + public virtual string SignData { get; set; } + + /// + /// Output only. The signature of `signature_algorithm`, generated using the client's private key using + /// `signature_algorithm`. This field is only present after the`SignData` operation has finished. + /// + [Newtonsoft.Json.JsonPropertyAttribute("signature")] + public virtual string Signature { get; set; } + + /// + /// Output only. The signature algorithm that the adapter expects the client and backend components to use when + /// processing `sign_data`. This field is only present after the `SignData` operation has been initiated. + /// + [Newtonsoft.Json.JsonPropertyAttribute("signatureAlgorithm")] + public virtual string SignatureAlgorithm { get; set; } + + private string _startTimeRaw; + + private object _startTime; + + /// + /// Output only. Server-generated timestamp of when the certificate provisioning process has been created. + /// + [Newtonsoft.Json.JsonPropertyAttribute("startTime")] + public virtual string StartTimeRaw + { + get => _startTimeRaw; + set + { + _startTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _startTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use StartTimeDateTimeOffset instead.")] + public virtual object StartTime + { + get => _startTime; + set + { + _startTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _startTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? StartTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(StartTimeRaw); + set => StartTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// + /// Output only. The public key for which a certificate should be provisioned. Represented as a DER-encoded + /// X.509 SubjectPublicKeyInfo. + /// + [Newtonsoft.Json.JsonPropertyAttribute("subjectPublicKeyInfo")] + public virtual string SubjectPublicKeyInfo { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// A representation of a Chrome browser profile. public class GoogleChromeManagementVersionsV1ChromeBrowserProfile : Google.Apis.Requests.IDirectResponseSchema { @@ -7012,6 +7140,50 @@ public virtual System.DateTimeOffset? LastStatusReportTimeDateTimeOffset public virtual string UserId { get; set; } } + /// Describes the ChromeOS device that a `CertificateProvisioningProcess` belongs to. + public class GoogleChromeManagementVersionsV1ChromeOsDevice : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Output only. The unique Directory API ID of the device. This value is the same as the Admin Console's + /// Directory API ID in the ChromeOS Devices tab. + /// + [Newtonsoft.Json.JsonPropertyAttribute("deviceDirectoryApiId")] + public virtual string DeviceDirectoryApiId { get; set; } + + /// + /// Output only. Device serial number. This value is the same as the Admin Console's Serial Number in the + /// ChromeOS Devices tab. + /// + [Newtonsoft.Json.JsonPropertyAttribute("serialNumber")] + public virtual string SerialNumber { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Describes the ChromeOS user session that a `CertificateProvisioningProcess` belongs to. + public class GoogleChromeManagementVersionsV1ChromeOsUserSession : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Output only. This field contains information about the ChromeOS device that the user session is running on. + /// It is only set if the user session is affiliated, i.e. if the user is managed by the same organization that + /// managed the ChromeOS device. + /// + [Newtonsoft.Json.JsonPropertyAttribute("chromeOsDevice")] + public virtual GoogleChromeManagementVersionsV1ChromeOsDevice ChromeOsDevice { get; set; } + + /// Output only. The unique Directory API ID of the user. + [Newtonsoft.Json.JsonPropertyAttribute("userDirectoryApiId")] + public virtual string UserDirectoryApiId { get; set; } + + /// Output only. The primary e-mail address of the user. + [Newtonsoft.Json.JsonPropertyAttribute("userPrimaryEmail")] + public virtual string UserPrimaryEmail { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Information of a device that runs a Chrome browser profile. public class GoogleChromeManagementVersionsV1DeviceInfo : Google.Apis.Requests.IDirectResponseSchema { @@ -7209,6 +7381,66 @@ public class GoogleChromeManagementVersionsV1ReportingDataPolicyData : Google.Ap public virtual string ETag { get; set; } } + /// Metadata for the long-running operation returned by signData. + public class GoogleChromeManagementVersionsV1SignDataMetadata : Google.Apis.Requests.IDirectResponseSchema + { + private string _startTimeRaw; + + private object _startTime; + + /// Output only. Start time of the SignData operation. + [Newtonsoft.Json.JsonPropertyAttribute("startTime")] + public virtual string StartTimeRaw + { + get => _startTimeRaw; + set + { + _startTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _startTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use StartTimeDateTimeOffset instead.")] + public virtual object StartTime + { + get => _startTime; + set + { + _startTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _startTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? StartTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(StartTimeRaw); + set => StartTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Response message for requesting a signature from the client that initated a certificate provisioning process. + /// + public class GoogleChromeManagementVersionsV1SignDataResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Output only. The certificate provisioning process. The signature generated by the client will be available + /// in the `signature` field of `CertificateProvisioningProcess`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("certificateProvisioningProcess")] + public virtual GoogleChromeManagementVersionsV1CertificateProvisioningProcess CertificateProvisioningProcess { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// A certificate provisioning process. public class GoogleChromeManagementVersionsV1alpha1CertificateProvisioningProcess : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.csproj b/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.csproj index df1769f2e5..f09f42cb30 100644 --- a/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.csproj +++ b/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ChromeManagement.v1 Client Library - 1.68.0.3631 + 1.68.0.3636 Google LLC Copyright 2024 Google LLC Google From 0fcdc79f94a1506fc524a23ab0481d99cdf1c2c9 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 18 Dec 2024 01:06:46 -0800 Subject: [PATCH 05/11] feat: Generate Google.Apis.DatabaseMigrationService.v1 version 1.68.0.3632 --- DiscoveryJson/datamigration.v1.json | 6 +++++- .../Google.Apis.DatabaseMigrationService.v1.cs | 4 ++++ .../Google.Apis.DatabaseMigrationService.v1.csproj | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/datamigration.v1.json b/DiscoveryJson/datamigration.v1.json index fb4e87a972..eb7139be17 100644 --- a/DiscoveryJson/datamigration.v1.json +++ b/DiscoveryJson/datamigration.v1.json @@ -2332,7 +2332,7 @@ } } }, - "revision": "20241202", + "revision": "20241211", "rootUrl": "https://datamigration.googleapis.com/", "schemas": { "AlloyDbConnectionProfile": { @@ -5743,6 +5743,10 @@ "$ref": "MigrationJobObjectsConfig", "description": "Optional. The object filter to apply to the migration job." }, + "restartFailedObjects": { + "description": "Optional. If true, only failed objects will be restarted.", + "type": "boolean" + }, "skipValidation": { "description": "Optional. Restart the migration job without running prior configuration verification. Defaults to `false`.", "type": "boolean" diff --git a/Src/Generated/Google.Apis.DatabaseMigrationService.v1/Google.Apis.DatabaseMigrationService.v1.cs b/Src/Generated/Google.Apis.DatabaseMigrationService.v1/Google.Apis.DatabaseMigrationService.v1.cs index e9362d1de7..6b9bbf5d5c 100644 --- a/Src/Generated/Google.Apis.DatabaseMigrationService.v1/Google.Apis.DatabaseMigrationService.v1.cs +++ b/Src/Generated/Google.Apis.DatabaseMigrationService.v1/Google.Apis.DatabaseMigrationService.v1.cs @@ -8829,6 +8829,10 @@ public class RestartMigrationJobRequest : Google.Apis.Requests.IDirectResponseSc [Newtonsoft.Json.JsonPropertyAttribute("objectsFilter")] public virtual MigrationJobObjectsConfig ObjectsFilter { get; set; } + /// Optional. If true, only failed objects will be restarted. + [Newtonsoft.Json.JsonPropertyAttribute("restartFailedObjects")] + public virtual System.Nullable RestartFailedObjects { get; set; } + /// /// Optional. Restart the migration job without running prior configuration verification. Defaults to `false`. /// diff --git a/Src/Generated/Google.Apis.DatabaseMigrationService.v1/Google.Apis.DatabaseMigrationService.v1.csproj b/Src/Generated/Google.Apis.DatabaseMigrationService.v1/Google.Apis.DatabaseMigrationService.v1.csproj index b8ec8b4924..d9d3241d90 100644 --- a/Src/Generated/Google.Apis.DatabaseMigrationService.v1/Google.Apis.DatabaseMigrationService.v1.csproj +++ b/Src/Generated/Google.Apis.DatabaseMigrationService.v1/Google.Apis.DatabaseMigrationService.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.DatabaseMigrationService.v1 Client Library - 1.68.0.3623 + 1.68.0.3632 Google LLC Copyright 2024 Google LLC Google From 5d64210d8e9cb8a008a8753884af0f886179cbd0 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 18 Dec 2024 01:06:49 -0800 Subject: [PATCH 06/11] feat: Generate Google.Apis.CloudDomains.v1 version 1.68.0.3630 --- DiscoveryJson/domains.v1.json | 12 ++--- .../Google.Apis.CloudDomains.v1.cs | 45 ++++++++++--------- .../Google.Apis.CloudDomains.v1.csproj | 2 +- 3 files changed, 30 insertions(+), 29 deletions(-) diff --git a/DiscoveryJson/domains.v1.json b/DiscoveryJson/domains.v1.json index 5da8c73e7c..976187940c 100644 --- a/DiscoveryJson/domains.v1.json +++ b/DiscoveryJson/domains.v1.json @@ -965,7 +965,7 @@ } } }, - "revision": "20240724", + "revision": "20241209", "rootUrl": "https://domains.googleapis.com/", "schemas": { "AuditConfig": { @@ -1939,18 +1939,18 @@ "type": "object" }, "PostalAddress": { - "description": "Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478", + "description": "Represents a postal address. For example for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created by user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, see: https://support.google.com/business/answer/6397478", "id": "PostalAddress", "properties": { "addressLines": { - "description": "Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", + "description": "Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (For example \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country/region of the address. In places where this can vary (For example Japan), address_language is used to make it explicit (For example \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).", "items": { "type": "string" }, "type": "array" }, "administrativeArea": { - "description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.", + "description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (For example \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. For example in Switzerland this should be left unpopulated.", "type": "string" }, "languageCode": { @@ -1966,7 +1966,7 @@ "type": "string" }, "postalCode": { - "description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).", + "description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (For example state/zip validation in the U.S.A.).", "type": "string" }, "recipients": { @@ -1986,7 +1986,7 @@ "type": "integer" }, "sortingCode": { - "description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (e.g. \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (e.g. C\u00f4te d'Ivoire).", + "description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (For example \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (For example C\u00f4te d'Ivoire).", "type": "string" }, "sublocality": { diff --git a/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.cs b/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.cs index 9222bcf8d9..1e077c365c 100644 --- a/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.cs +++ b/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.cs @@ -3416,29 +3416,29 @@ public class Policy : Google.Apis.Requests.IDirectResponseSchema } /// - /// Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal - /// service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations - /// (roads, towns, mountains). In typical usage an address would be created via user input or from importing - /// existing data, depending on the type of process. Advice on address input / editing: - Use an + /// Represents a postal address. For example for postal delivery or payments addresses. Given a postal address, a + /// postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical + /// locations (roads, towns, mountains). In typical usage an address would be created by user input or from + /// importing existing data, depending on the type of process. Advice on address input / editing: - Use an /// internationalization-ready address widget such as https://github.com/google/libaddressinput) - Users should not /// be presented with UI elements for input or editing of fields outside countries where that field is used. For - /// more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478 + /// more guidance on how to use this schema, see: https://support.google.com/business/answer/6397478 /// public class PostalAddress : Google.Apis.Requests.IDirectResponseSchema { /// /// Unstructured address lines describing the lower levels of an address. Because values in address_lines do not - /// have type information and may sometimes contain multiple values in a single field (e.g. "Austin, TX"), it is - /// important that the line order is clear. The order of address lines should be "envelope order" for the - /// country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make - /// it explicit (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large). This way, the - /// most specific line of an address can be selected based on the language. The minimum permitted structural - /// representation of an address consists of a region_code with all remaining information placed in the - /// address_lines. It would be possible to format such an address very approximately without geocoding, but no - /// semantic reasoning could be made about any of the address components until it was at least partially - /// resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the - /// recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the - /// address should be localities or administrative areas). + /// have type information and may sometimes contain multiple values in a single field (For example "Austin, + /// TX"), it is important that the line order is clear. The order of address lines should be "envelope order" + /// for the country/region of the address. In places where this can vary (For example Japan), address_language + /// is used to make it explicit (For example "ja" for large-to-small ordering and "ja-Latn" or "en" for + /// small-to-large). This way, the most specific line of an address can be selected based on the language. The + /// minimum permitted structural representation of an address consists of a region_code with all remaining + /// information placed in the address_lines. It would be possible to format such an address very approximately + /// without geocoding, but no semantic reasoning could be made about any of the address components until it was + /// at least partially resolved. Creating an address only containing a region_code and address_lines, and then + /// geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which + /// parts of the address should be localities or administrative areas). /// [Newtonsoft.Json.JsonPropertyAttribute("addressLines")] public virtual System.Collections.Generic.IList AddressLines { get; set; } @@ -3446,8 +3446,9 @@ public class PostalAddress : Google.Apis.Requests.IDirectResponseSchema /// /// Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For /// example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the - /// province and not the autonomous community (e.g. "Barcelona" and not "Catalonia"). Many countries don't use - /// an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated. + /// province and not the autonomous community (For example "Barcelona" and not "Catalonia"). Many countries + /// don't use an administrative area in postal addresses. For example in Switzerland this should be left + /// unpopulated. /// [Newtonsoft.Json.JsonPropertyAttribute("administrativeArea")] public virtual string AdministrativeArea { get; set; } @@ -3477,7 +3478,7 @@ public class PostalAddress : Google.Apis.Requests.IDirectResponseSchema /// /// Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where - /// they are used, they may trigger additional validation with other parts of the address (e.g. state/zip + /// they are used, they may trigger additional validation with other parts of the address (For example state/zip /// validation in the U.S.A.). /// [Newtonsoft.Json.JsonPropertyAttribute("postalCode")] @@ -3508,9 +3509,9 @@ public class PostalAddress : Google.Apis.Requests.IDirectResponseSchema /// /// Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, - /// the value is either a string like "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a - /// number alone, representing the "sector code" (Jamaica), "delivery area indicator" (Malawi) or "post office - /// indicator" (e.g. Côte d'Ivoire). + /// the value is either a string like "CEDEX", optionally followed by a number (For example "CEDEX 7"), or just + /// a number alone, representing the "sector code" (Jamaica), "delivery area indicator" (Malawi) or "post office + /// indicator" (For example Côte d'Ivoire). /// [Newtonsoft.Json.JsonPropertyAttribute("sortingCode")] public virtual string SortingCode { get; set; } diff --git a/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.csproj b/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.csproj index aa9a1c3b1b..f8dfe25ae1 100644 --- a/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.csproj +++ b/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudDomains.v1 Client Library - 1.68.0.3492 + 1.68.0.3630 Google LLC Copyright 2024 Google LLC Google From 813ef8d79051fba98c98732aa1ab2d217c5d854b Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 18 Dec 2024 01:06:52 -0800 Subject: [PATCH 07/11] feat: Generate Google.Apis.FirebaseML.v2beta version 1.68.0.3636 --- DiscoveryJson/firebaseml.v2beta.json | 6 +++++- .../Google.Apis.FirebaseML.v2beta.cs | 4 ++++ .../Google.Apis.FirebaseML.v2beta.csproj | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/firebaseml.v2beta.json b/DiscoveryJson/firebaseml.v2beta.json index fe125c8715..50ba5017d6 100644 --- a/DiscoveryJson/firebaseml.v2beta.json +++ b/DiscoveryJson/firebaseml.v2beta.json @@ -206,7 +206,7 @@ } } }, - "revision": "20241211", + "revision": "20241215", "rootUrl": "https://firebaseml.googleapis.com/", "schemas": { "Date": { @@ -1170,6 +1170,10 @@ "description": "Optional. Text part (can be code).", "type": "string" }, + "thought": { + "description": "Optional. Indicates if the part is thought from the model.", + "type": "boolean" + }, "videoMetadata": { "$ref": "GoogleCloudAiplatformV1beta1VideoMetadata", "description": "Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data." diff --git a/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.cs b/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.cs index a0205d08fc..44de297647 100644 --- a/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.cs +++ b/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.cs @@ -1385,6 +1385,10 @@ public class GoogleCloudAiplatformV1beta1Part : Google.Apis.Requests.IDirectResp [Newtonsoft.Json.JsonPropertyAttribute("text")] public virtual string Text { get; set; } + /// Optional. Indicates if the part is thought from the model. + [Newtonsoft.Json.JsonPropertyAttribute("thought")] + public virtual System.Nullable Thought { get; set; } + /// /// Optional. Video metadata. The metadata should only be specified while the video data is presented in /// inline_data or file_data. diff --git a/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.csproj b/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.csproj index ca31ab609d..3e936af1ac 100644 --- a/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.csproj +++ b/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.csproj @@ -3,7 +3,7 @@ Google.Apis.FirebaseML.v2beta Client Library - 1.68.0.3632 + 1.68.0.3636 Google LLC Copyright 2024 Google LLC Google From bea661f389c148441b1faf1dc47cf555d25a5b57 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 18 Dec 2024 01:06:56 -0800 Subject: [PATCH 08/11] feat: Generate Google.Apis.Monitoring.v1 version 1.68.0.3633 --- DiscoveryJson/monitoring.v1.json | 36 ++++++++++++++++++- .../Google.Apis.Monitoring.v1.cs | 22 ++++++++++++ .../Google.Apis.Monitoring.v1.csproj | 2 +- 3 files changed, 58 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/monitoring.v1.json b/DiscoveryJson/monitoring.v1.json index 8c985444aa..467ccfd326 100644 --- a/DiscoveryJson/monitoring.v1.json +++ b/DiscoveryJson/monitoring.v1.json @@ -753,7 +753,7 @@ } } }, - "revision": "20241003", + "revision": "20241212", "rootUrl": "https://monitoring.googleapis.com/", "schemas": { "Aggregation": { @@ -1060,6 +1060,33 @@ }, "type": "object" }, + "ColumnSortingOptions": { + "description": "Data structure to storing column's sort strategy", + "id": "ColumnSortingOptions", + "properties": { + "column": { + "description": "Optional. Column name to sort data by", + "type": "string" + }, + "direction": { + "description": "Optional. A sorting direction that determines ascending or descending order. This is a legacy field kept for backwards compatibility with table.", + "enum": [ + "SORT_ORDER_UNSPECIFIED", + "SORT_ORDER_NONE", + "SORT_ORDER_ASCENDING", + "SORT_ORDER_DESCENDING" + ], + "enumDescriptions": [ + "An unspecified sort order. This option is invalid when sorting is required.", + "No sorting is applied.", + "The lowest-valued entries are selected first.", + "The highest-valued entries are selected first." + ], + "type": "string" + } + }, + "type": "object" + }, "Dashboard": { "description": "A Google Stackdriver dashboard. Dashboards define the content and layout of pages in the Stackdriver web application.", "id": "Dashboard", @@ -1253,6 +1280,13 @@ ], "type": "string" }, + "sort": { + "description": "Optional. A collection of sort options, affects the order of the data and legend.", + "items": { + "$ref": "ColumnSortingOptions" + }, + "type": "array" + }, "targetAxis": { "description": "Optional. The target axis to use for plotting the metric.", "enum": [ diff --git a/Src/Generated/Google.Apis.Monitoring.v1/Google.Apis.Monitoring.v1.cs b/Src/Generated/Google.Apis.Monitoring.v1/Google.Apis.Monitoring.v1.cs index 98dcbea70b..764828871a 100644 --- a/Src/Generated/Google.Apis.Monitoring.v1/Google.Apis.Monitoring.v1.cs +++ b/Src/Generated/Google.Apis.Monitoring.v1/Google.Apis.Monitoring.v1.cs @@ -2031,6 +2031,24 @@ public class ColumnSettings : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Data structure to storing column's sort strategy + public class ColumnSortingOptions : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Column name to sort data by + [Newtonsoft.Json.JsonPropertyAttribute("column")] + public virtual string Column { get; set; } + + /// + /// Optional. A sorting direction that determines ascending or descending order. This is a legacy field kept for + /// backwards compatibility with table. + /// + [Newtonsoft.Json.JsonPropertyAttribute("direction")] + public virtual string Direction { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// A Google Stackdriver dashboard. Dashboards define the content and layout of pages in the Stackdriver web /// application. @@ -2205,6 +2223,10 @@ public class DataSet : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("plotType")] public virtual string PlotType { get; set; } + /// Optional. A collection of sort options, affects the order of the data and legend. + [Newtonsoft.Json.JsonPropertyAttribute("sort")] + public virtual System.Collections.Generic.IList Sort { get; set; } + /// Optional. The target axis to use for plotting the metric. [Newtonsoft.Json.JsonPropertyAttribute("targetAxis")] public virtual string TargetAxis { get; set; } diff --git a/Src/Generated/Google.Apis.Monitoring.v1/Google.Apis.Monitoring.v1.csproj b/Src/Generated/Google.Apis.Monitoring.v1/Google.Apis.Monitoring.v1.csproj index 8e59d6d463..638737518c 100644 --- a/Src/Generated/Google.Apis.Monitoring.v1/Google.Apis.Monitoring.v1.csproj +++ b/Src/Generated/Google.Apis.Monitoring.v1/Google.Apis.Monitoring.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Monitoring.v1 Client Library - 1.68.0.3563 + 1.68.0.3633 Google LLC Copyright 2024 Google LLC Google From 243181b4cf18ec087d309bf8fbedef34b3d737f6 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 18 Dec 2024 01:06:59 -0800 Subject: [PATCH 09/11] feat: Generate Google.Apis.NetworkManagement.v1beta1 version 1.68.0.3631 --- DiscoveryJson/networkmanagement.v1beta1.json | 61 +++++++++++----- .../Google.Apis.NetworkManagement.v1beta1.cs | 73 +++++++++++++++---- ...ogle.Apis.NetworkManagement.v1beta1.csproj | 2 +- 3 files changed, 102 insertions(+), 34 deletions(-) diff --git a/DiscoveryJson/networkmanagement.v1beta1.json b/DiscoveryJson/networkmanagement.v1beta1.json index fc323906ce..e4da0ceaaf 100644 --- a/DiscoveryJson/networkmanagement.v1beta1.json +++ b/DiscoveryJson/networkmanagement.v1beta1.json @@ -758,7 +758,7 @@ } } }, - "revision": "20241202", + "revision": "20241210", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -2726,11 +2726,12 @@ "id": "RouteInfo", "properties": { "advertisedRouteNextHopUri": { - "description": "For advertised routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network.", + "deprecated": true, + "description": "For ADVERTISED routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network. Deprecated in favor of the next_hop_uri field, not used in new tests.", "type": "string" }, "advertisedRouteSourceRouterUri": { - "description": "For advertised dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.", + "description": "For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.", "type": "string" }, "destIpRange": { @@ -2738,7 +2739,7 @@ "type": "string" }, "destPortRanges": { - "description": "Destination port ranges of the route. Policy based routes only.", + "description": "Destination port ranges of the route. POLICY_BASED routes only.", "items": { "type": "string" }, @@ -2755,20 +2756,29 @@ }, "type": "array" }, + "nccHubRouteUri": { + "description": "For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub, the URI of the corresponding route in NCC Hub's routing table.", + "type": "string" + }, "nccHubUri": { - "description": "URI of a NCC Hub. NCC_HUB routes only.", + "description": "URI of the NCC Hub the route is advertised by. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.", "type": "string" }, "nccSpokeUri": { - "description": "URI of a NCC Spoke. NCC_HUB routes only.", + "description": "URI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.", "type": "string" }, "networkUri": { - "description": "URI of a Compute Engine network. NETWORK routes only.", + "description": "URI of a VPC network where route is located.", "type": "string" }, "nextHop": { - "description": "Next hop of the route.", + "deprecated": true, + "description": "String type of the next hop of the route (for example, \"VPN tunnel\"). Deprecated in favor of the next_hop_type and next_hop_uri fields, not used in new tests.", + "type": "string" + }, + "nextHopNetworkUri": { + "description": "URI of a VPC network where the next hop resource is located.", "type": "string" }, "nextHopType": { @@ -2793,36 +2803,49 @@ "Next hop is an IP address.", "Next hop is a Compute Engine instance.", "Next hop is a VPC network gateway.", - "Next hop is a peering VPC.", + "Next hop is a peering VPC. This scenario only happens when the user doesn't have permissions to the project where the next hop resource is located.", "Next hop is an interconnect.", "Next hop is a VPN tunnel.", "Next hop is a VPN gateway. This scenario only happens when tracing connectivity from an on-premises network to Google Cloud through a VPN. The analysis simulates a packet departing from the on-premises network through a VPN tunnel and arriving at a Cloud VPN gateway.", "Next hop is an internet gateway.", - "Next hop is blackhole; that is, the next hop either does not exist or is not running.", + "Next hop is blackhole; that is, the next hop either does not exist or is unusable.", "Next hop is the forwarding rule of an Internal Load Balancer.", "Next hop is a [router appliance instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).", - "Next hop is an NCC hub." + "Next hop is an NCC hub. This scenario only happens when the user doesn't have permissions to the project where the next hop resource is located." ], "type": "string" }, + "nextHopUri": { + "description": "URI of the next hop resource.", + "type": "string" + }, + "originatingRouteDisplayName": { + "description": "For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route.", + "type": "string" + }, + "originatingRouteUri": { + "description": "For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route.", + "type": "string" + }, "priority": { "description": "Priority of the route.", "format": "int32", "type": "integer" }, "protocols": { - "description": "Protocols of the route. Policy based routes only.", + "description": "Protocols of the route. POLICY_BASED routes only.", "items": { "type": "string" }, "type": "array" }, "region": { - "description": "Region of the route (if applicable).", + "description": "Region of the route. DYNAMIC, PEERING_DYNAMIC, POLICY_BASED and ADVERTISED routes only. If set for POLICY_BASED route, this is a region of VLAN attachments for Cloud Interconnect the route applies to.", "type": "string" }, "routeScope": { - "description": "Indicates where route is applicable.", + "deprecated": true, + "description": "Indicates where route is applicable. Deprecated, routes with NCC_HUB scope are not included in the trace in new tests.", "enum": [ "ROUTE_SCOPE_UNSPECIFIED", "NETWORK", @@ -2853,27 +2876,27 @@ "Route is a subnet route automatically created by the system.", "Static route created by the user, including the default route to the internet.", "Dynamic route exchanged between BGP peers.", - "A subnet route received from peering network.", + "A subnet route received from peering network or NCC Hub.", "A static route received from peering network.", - "A dynamic route received from peering network.", + "A dynamic route received from peering network or NCC Hub.", "Policy based route.", "Advertised route. Synthetic route which is used to transition from the StartFromPrivateNetwork state in Connectivity tests." ], "type": "string" }, "srcIpRange": { - "description": "Source IP address range of the route. Policy based routes only.", + "description": "Source IP address range of the route. POLICY_BASED routes only.", "type": "string" }, "srcPortRanges": { - "description": "Source port ranges of the route. Policy based routes only.", + "description": "Source port ranges of the route. POLICY_BASED routes only.", "items": { "type": "string" }, "type": "array" }, "uri": { - "description": "URI of a route (if applicable).", + "description": "URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network) and POLICY_BASED routes only.", "type": "string" } }, diff --git a/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.cs b/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.cs index 225ff19f1a..37112c1cc5 100644 --- a/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.cs +++ b/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.cs @@ -3629,15 +3629,15 @@ public class RerunConnectivityTestRequest : Google.Apis.Requests.IDirectResponse public class RouteInfo : Google.Apis.Requests.IDirectResponseSchema { /// - /// For advertised routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, + /// For ADVERTISED routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, /// Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the - /// source peered network. + /// source peered network. Deprecated in favor of the next_hop_uri field, not used in new tests. /// [Newtonsoft.Json.JsonPropertyAttribute("advertisedRouteNextHopUri")] public virtual string AdvertisedRouteNextHopUri { get; set; } /// - /// For advertised dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix. + /// For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix. /// [Newtonsoft.Json.JsonPropertyAttribute("advertisedRouteSourceRouterUri")] public virtual string AdvertisedRouteSourceRouterUri { get; set; } @@ -3646,7 +3646,7 @@ public class RouteInfo : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("destIpRange")] public virtual string DestIpRange { get; set; } - /// Destination port ranges of the route. Policy based routes only. + /// Destination port ranges of the route. POLICY_BASED routes only. [Newtonsoft.Json.JsonPropertyAttribute("destPortRanges")] public virtual System.Collections.Generic.IList DestPortRanges { get; set; } @@ -3658,39 +3658,82 @@ public class RouteInfo : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("instanceTags")] public virtual System.Collections.Generic.IList InstanceTags { get; set; } - /// URI of a NCC Hub. NCC_HUB routes only. + /// + /// For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub, the URI of the corresponding + /// route in NCC Hub's routing table. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nccHubRouteUri")] + public virtual string NccHubRouteUri { get; set; } + + /// + /// URI of the NCC Hub the route is advertised by. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised + /// by NCC Hub only. + /// [Newtonsoft.Json.JsonPropertyAttribute("nccHubUri")] public virtual string NccHubUri { get; set; } - /// URI of a NCC Spoke. NCC_HUB routes only. + /// + /// URI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub + /// only. + /// [Newtonsoft.Json.JsonPropertyAttribute("nccSpokeUri")] public virtual string NccSpokeUri { get; set; } - /// URI of a Compute Engine network. NETWORK routes only. + /// URI of a VPC network where route is located. [Newtonsoft.Json.JsonPropertyAttribute("networkUri")] public virtual string NetworkUri { get; set; } - /// Next hop of the route. + /// + /// String type of the next hop of the route (for example, "VPN tunnel"). Deprecated in favor of the + /// next_hop_type and next_hop_uri fields, not used in new tests. + /// [Newtonsoft.Json.JsonPropertyAttribute("nextHop")] public virtual string NextHop { get; set; } + /// URI of a VPC network where the next hop resource is located. + [Newtonsoft.Json.JsonPropertyAttribute("nextHopNetworkUri")] + public virtual string NextHopNetworkUri { get; set; } + /// Type of next hop. [Newtonsoft.Json.JsonPropertyAttribute("nextHopType")] public virtual string NextHopType { get; set; } + /// URI of the next hop resource. + [Newtonsoft.Json.JsonPropertyAttribute("nextHopUri")] + public virtual string NextHopUri { get; set; } + + /// + /// For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating + /// SUBNET/STATIC/DYNAMIC route. + /// + [Newtonsoft.Json.JsonPropertyAttribute("originatingRouteDisplayName")] + public virtual string OriginatingRouteDisplayName { get; set; } + + /// + /// For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route. + /// + [Newtonsoft.Json.JsonPropertyAttribute("originatingRouteUri")] + public virtual string OriginatingRouteUri { get; set; } + /// Priority of the route. [Newtonsoft.Json.JsonPropertyAttribute("priority")] public virtual System.Nullable Priority { get; set; } - /// Protocols of the route. Policy based routes only. + /// Protocols of the route. POLICY_BASED routes only. [Newtonsoft.Json.JsonPropertyAttribute("protocols")] public virtual System.Collections.Generic.IList Protocols { get; set; } - /// Region of the route (if applicable). + /// + /// Region of the route. DYNAMIC, PEERING_DYNAMIC, POLICY_BASED and ADVERTISED routes only. If set for + /// POLICY_BASED route, this is a region of VLAN attachments for Cloud Interconnect the route applies to. + /// [Newtonsoft.Json.JsonPropertyAttribute("region")] public virtual string Region { get; set; } - /// Indicates where route is applicable. + /// + /// Indicates where route is applicable. Deprecated, routes with NCC_HUB scope are not included in the trace in + /// new tests. + /// [Newtonsoft.Json.JsonPropertyAttribute("routeScope")] public virtual string RouteScope { get; set; } @@ -3698,15 +3741,17 @@ public class RouteInfo : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("routeType")] public virtual string RouteType { get; set; } - /// Source IP address range of the route. Policy based routes only. + /// Source IP address range of the route. POLICY_BASED routes only. [Newtonsoft.Json.JsonPropertyAttribute("srcIpRange")] public virtual string SrcIpRange { get; set; } - /// Source port ranges of the route. Policy based routes only. + /// Source port ranges of the route. POLICY_BASED routes only. [Newtonsoft.Json.JsonPropertyAttribute("srcPortRanges")] public virtual System.Collections.Generic.IList SrcPortRanges { get; set; } - /// URI of a route (if applicable). + /// + /// URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network) and POLICY_BASED routes only. + /// [Newtonsoft.Json.JsonPropertyAttribute("uri")] public virtual string Uri { get; set; } diff --git a/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.csproj b/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.csproj index fa7a8dc00d..7cdc448b7b 100644 --- a/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.csproj +++ b/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.NetworkManagement.v1beta1 Client Library - 1.68.0.3623 + 1.68.0.3631 Google LLC Copyright 2024 Google LLC Google From 2d13dcbac2d362cfd2d8a36daf5ee7e59e30787c Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 18 Dec 2024 01:07:02 -0800 Subject: [PATCH 10/11] feat: Generate Google.Apis.CloudRedis.v1 version 1.68.0.3633 --- DiscoveryJson/redis.v1.json | 22 ++++++++++++++----- .../Google.Apis.CloudRedis.v1.csproj | 2 +- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/DiscoveryJson/redis.v1.json b/DiscoveryJson/redis.v1.json index 208b40e962..b8e8086d23 100644 --- a/DiscoveryJson/redis.v1.json +++ b/DiscoveryJson/redis.v1.json @@ -1067,7 +1067,7 @@ } } }, - "revision": "20241203", + "revision": "20241212", "rootUrl": "https://redis.googleapis.com/", "schemas": { "AOFConfig": { @@ -2082,7 +2082,9 @@ "SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES", "SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS", "SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET", - "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET" + "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", + "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", + "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY" ], "enumDeprecated": [ false, @@ -2163,6 +2165,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -2244,7 +2248,9 @@ "Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.", "Detects events where a database user or role has been granted all privileges to a database, or to all tables, procedures, or functions in a schema.", "Detects if database instance data exported to a Cloud Storage bucket outside of the organization.", - "Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible." + "Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible.", + "Detects if a database instance is using a weak password hash algorithm.", + "Detects if a database instance has no user password policy set." ], "type": "string" }, @@ -2615,7 +2621,9 @@ "SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES", "SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS", "SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET", - "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET" + "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET", + "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM", + "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY" ], "enumDeprecated": [ false, @@ -2696,6 +2704,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -2777,7 +2787,9 @@ "Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.", "Detects events where a database user or role has been granted all privileges to a database, or to all tables, procedures, or functions in a schema.", "Detects if database instance data exported to a Cloud Storage bucket outside of the organization.", - "Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible." + "Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible.", + "Detects if a database instance is using a weak password hash algorithm.", + "Detects if a database instance has no user password policy set." ], "type": "string" } diff --git a/Src/Generated/Google.Apis.CloudRedis.v1/Google.Apis.CloudRedis.v1.csproj b/Src/Generated/Google.Apis.CloudRedis.v1/Google.Apis.CloudRedis.v1.csproj index 3979f6c45b..d0e07f42b3 100644 --- a/Src/Generated/Google.Apis.CloudRedis.v1/Google.Apis.CloudRedis.v1.csproj +++ b/Src/Generated/Google.Apis.CloudRedis.v1/Google.Apis.CloudRedis.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudRedis.v1 Client Library - 1.68.0.3624 + 1.68.0.3633 Google LLC Copyright 2024 Google LLC Google From f8583d7f3bb8da4938a6bc4d59e5be6d219c768d Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 18 Dec 2024 01:07:06 -0800 Subject: [PATCH 11/11] feat: Generate Google.Apis.ServiceConsumerManagement.v1 version 1.68.0.3631 --- DiscoveryJson/serviceconsumermanagement.v1.json | 6 +++++- .../Google.Apis.ServiceConsumerManagement.v1.cs | 7 +++++++ .../Google.Apis.ServiceConsumerManagement.v1.csproj | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/serviceconsumermanagement.v1.json b/DiscoveryJson/serviceconsumermanagement.v1.json index d0322d92f3..1ec81f655b 100644 --- a/DiscoveryJson/serviceconsumermanagement.v1.json +++ b/DiscoveryJson/serviceconsumermanagement.v1.json @@ -542,7 +542,7 @@ } } }, - "revision": "20241115", + "revision": "20241210", "rootUrl": "https://serviceconsumermanagement.googleapis.com/", "schemas": { "AddTenantProjectRequest": { @@ -1133,6 +1133,10 @@ "description": "`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.", "id": "Documentation", "properties": { + "additionalIamInfo": { + "description": "Optional information about the IAM configuration. This is typically used to link to documentation about a product's IAM roles and permissions.", + "type": "string" + }, "documentationRootUrl": { "description": "The URL to the root of documentation.", "type": "string" diff --git a/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.cs b/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.cs index c31b52f59c..ceaf3f417f 100644 --- a/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.cs +++ b/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.cs @@ -2032,6 +2032,13 @@ public class DeleteTenantProjectRequest : Google.Apis.Requests.IDirectResponseSc /// public class Documentation : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Optional information about the IAM configuration. This is typically used to link to documentation about a + /// product's IAM roles and permissions. + /// + [Newtonsoft.Json.JsonPropertyAttribute("additionalIamInfo")] + public virtual string AdditionalIamInfo { get; set; } + /// The URL to the root of documentation. [Newtonsoft.Json.JsonPropertyAttribute("documentationRootUrl")] public virtual string DocumentationRootUrl { get; set; } diff --git a/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.csproj b/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.csproj index aa27f9e408..e3b735a793 100644 --- a/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.csproj +++ b/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceConsumerManagement.v1 Client Library - 1.68.0.3606 + 1.68.0.3631 Google LLC Copyright 2024 Google LLC Google