diff --git a/clients/service_control/README.md b/clients/service_control/README.md index 6502f204d1..f3649c71ba 100644 --- a/clients/service_control/README.md +++ b/clients/service_control/README.md @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding ```elixir def deps do - [{:google_api_service_control, "~> 0.44"}] + [{:google_api_service_control, "~> 0.45"}] end ``` diff --git a/clients/service_control/lib/google_api/service_control/v1/metadata.ex b/clients/service_control/lib/google_api/service_control/v1/metadata.ex index 4d0e821188..58a7025e2d 100644 --- a/clients/service_control/lib/google_api/service_control/v1/metadata.ex +++ b/clients/service_control/lib/google_api/service_control/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.ServiceControl.V1 do API client metadata for GoogleApi.ServiceControl.V1. """ - @discovery_revision "20240802" + @discovery_revision "20250103" def discovery_revision(), do: @discovery_revision end diff --git a/clients/service_control/lib/google_api/service_control/v1/model/attributes.ex b/clients/service_control/lib/google_api/service_control/v1/model/attributes.ex index 2c61425a7c..8f1df3b6b8 100644 --- a/clients/service_control/lib/google_api/service_control/v1/model/attributes.ex +++ b/clients/service_control/lib/google_api/service_control/v1/model/attributes.ex @@ -21,7 +21,7 @@ defmodule GoogleApi.ServiceControl.V1.Model.Attributes do ## Attributes - * `attributeMap` (*type:* `%{optional(String.t) => GoogleApi.ServiceControl.V1.Model.AttributeValue.t}`, *default:* `nil`) - The set of attributes. Each attribute's key can be up to 128 bytes long. The value can be a string up to 256 bytes, a signed 64-bit integer, or the Boolean values `true` and `false`. For example: "/instance_id": "my-instance" "/http/user_agent": "" "/http/request_bytes": 300 "abc.com/myattribute": true + * `attributeMap` (*type:* `%{optional(String.t) => GoogleApi.ServiceControl.V1.Model.AttributeValue.t}`, *default:* `nil`) - The set of attributes. Each attribute's key can be up to 128 bytes long. The value can be a string up to 256 bytes, a signed 64-bit integer, or the Boolean values `true` and `false`. For example: "/instance_id": "my-instance" "/http/user_agent": "" "/http/request_bytes": 300 "example.com/myattribute": true * `droppedAttributesCount` (*type:* `integer()`, *default:* `nil`) - The number of attributes that were discarded. Attributes can be discarded because their keys are too long or because there are too many attributes. If this value is 0 then all attributes are valid. """ diff --git a/clients/service_control/lib/google_api/service_control/v1/model/auth.ex b/clients/service_control/lib/google_api/service_control/v1/model/auth.ex index 4345d7bfca..f935788110 100644 --- a/clients/service_control/lib/google_api/service_control/v1/model/auth.ex +++ b/clients/service_control/lib/google_api/service_control/v1/model/auth.ex @@ -24,7 +24,6 @@ defmodule GoogleApi.ServiceControl.V1.Model.Auth do * `accessLevels` (*type:* `list(String.t)`, *default:* `nil`) - A list of access level resource names that allow resources to be accessed by authenticated requester. It is part of Secure GCP processing for the incoming request. An access level string has the format: "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}" Example: "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL" * `audiences` (*type:* `list(String.t)`, *default:* `nil`) - The intended audience(s) for this authentication information. Reflects the audience (`aud`) claim within a JWT. The audience value(s) depends on the `issuer`, but typically include one or more of the following pieces of information: * The services intended to receive the credential. For example, ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * A set of service-based scopes. For example, ["https://www.googleapis.com/auth/cloud-platform"]. * The client id of an app, such as the Firebase project id for JWTs from Firebase Auth. Consult the documentation for the credential issuer to determine the information provided. * `claims` (*type:* `map()`, *default:* `nil`) - Structured claims presented with the credential. JWTs include `{key: value}` pairs for standard and private claims. The following is a subset of the standard required and optional claims that would typically be presented for a Google-based JWT: {'iss': 'accounts.google.com', 'sub': '113289723416554971153', 'aud': ['123456789012', 'pubsub.googleapis.com'], 'azp': '123456789012.apps.googleusercontent.com', 'email': 'jsmith@example.com', 'iat': 1353601026, 'exp': 1353604926} SAML assertions are similarly specified, but with an identity provider dependent structure. - * `credentialId` (*type:* `String.t`, *default:* `nil`) - Identifies the client credential id used for authentication. credential_id is in the format of AUTH_METHOD:IDENTIFIER, e.g. "serviceaccount:XXXXX, apikey:XXXXX" where the format of the IDENTIFIER can vary for different AUTH_METHODs. * `presenter` (*type:* `String.t`, *default:* `nil`) - The authorized presenter of the credential. Reflects the optional Authorized Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a Google Cloud Platform client id looks as follows: "123456789012.apps.googleusercontent.com". * `principal` (*type:* `String.t`, *default:* `nil`) - The authenticated principal. Reflects the issuer (`iss`) and subject (`sub`) claims within a JWT. The issuer and subject should be `/` delimited, with `/` percent-encoded within the subject fragment. For Google accounts, the principal format is: "https://accounts.google.com/{id}" """ @@ -35,7 +34,6 @@ defmodule GoogleApi.ServiceControl.V1.Model.Auth do :accessLevels => list(String.t()) | nil, :audiences => list(String.t()) | nil, :claims => map() | nil, - :credentialId => String.t() | nil, :presenter => String.t() | nil, :principal => String.t() | nil } @@ -43,7 +41,6 @@ defmodule GoogleApi.ServiceControl.V1.Model.Auth do field(:accessLevels, type: :list) field(:audiences, type: :list) field(:claims, type: :map) - field(:credentialId) field(:presenter) field(:principal) end diff --git a/clients/service_control/lib/google_api/service_control/v1/model/http_request.ex b/clients/service_control/lib/google_api/service_control/v1/model/http_request.ex index 89c85d2afa..28e6fa98a6 100644 --- a/clients/service_control/lib/google_api/service_control/v1/model/http_request.ex +++ b/clients/service_control/lib/google_api/service_control/v1/model/http_request.ex @@ -27,7 +27,7 @@ defmodule GoogleApi.ServiceControl.V1.Model.HttpRequest do * `cacheValidatedWithOriginServer` (*type:* `boolean()`, *default:* `nil`) - Whether or not the response was validated with the origin server before being served from cache. This field is only meaningful if `cache_hit` is True. * `latency` (*type:* `String.t`, *default:* `nil`) - The request processing latency on the server, from the time the request was received until the response was sent. * `protocol` (*type:* `String.t`, *default:* `nil`) - Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket" - * `referer` (*type:* `String.t`, *default:* `nil`) - The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). + * `referer` (*type:* `String.t`, *default:* `nil`) - The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). * `remoteIp` (*type:* `String.t`, *default:* `nil`) - The IP address (IPv4 or IPv6) of the client that issued the HTTP request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`. * `requestMethod` (*type:* `String.t`, *default:* `nil`) - The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`. * `requestSize` (*type:* `String.t`, *default:* `nil`) - The size of the HTTP request message in bytes, including the request headers and the request body. diff --git a/clients/service_control/lib/google_api/service_control/v1/model/v1_http_request.ex b/clients/service_control/lib/google_api/service_control/v1/model/v1_http_request.ex index b9f857cee7..2a219971e2 100644 --- a/clients/service_control/lib/google_api/service_control/v1/model/v1_http_request.ex +++ b/clients/service_control/lib/google_api/service_control/v1/model/v1_http_request.ex @@ -27,7 +27,7 @@ defmodule GoogleApi.ServiceControl.V1.Model.V1HttpRequest do * `cacheValidatedWithOriginServer` (*type:* `boolean()`, *default:* `nil`) - Whether or not the response was validated with the origin server before being served from cache. This field is only meaningful if `cache_hit` is True. * `latency` (*type:* `String.t`, *default:* `nil`) - The request processing latency on the server, from the time the request was received until the response was sent. * `protocol` (*type:* `String.t`, *default:* `nil`) - Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket" - * `referer` (*type:* `String.t`, *default:* `nil`) - The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). + * `referer` (*type:* `String.t`, *default:* `nil`) - The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). * `remoteIp` (*type:* `String.t`, *default:* `nil`) - The IP address (IPv4 or IPv6) of the client that issued the HTTP request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`. * `requestMethod` (*type:* `String.t`, *default:* `nil`) - The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`. * `requestSize` (*type:* `String.t`, *default:* `nil`) - The size of the HTTP request message in bytes, including the request headers and the request body. diff --git a/clients/service_control/lib/google_api/service_control/v2/metadata.ex b/clients/service_control/lib/google_api/service_control/v2/metadata.ex index d735e24e8c..12683075b8 100644 --- a/clients/service_control/lib/google_api/service_control/v2/metadata.ex +++ b/clients/service_control/lib/google_api/service_control/v2/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.ServiceControl.V2 do API client metadata for GoogleApi.ServiceControl.V2. """ - @discovery_revision "20241205" + @discovery_revision "20250103" def discovery_revision(), do: @discovery_revision end diff --git a/clients/service_control/lib/google_api/service_control/v2/model/auth.ex b/clients/service_control/lib/google_api/service_control/v2/model/auth.ex index 94b959e7fe..f1e0930ee4 100644 --- a/clients/service_control/lib/google_api/service_control/v2/model/auth.ex +++ b/clients/service_control/lib/google_api/service_control/v2/model/auth.ex @@ -24,7 +24,6 @@ defmodule GoogleApi.ServiceControl.V2.Model.Auth do * `accessLevels` (*type:* `list(String.t)`, *default:* `nil`) - A list of access level resource names that allow resources to be accessed by authenticated requester. It is part of Secure GCP processing for the incoming request. An access level string has the format: "//{api_service_name}/accessPolicies/{policy_id}/accessLevels/{short_name}" Example: "//accesscontextmanager.googleapis.com/accessPolicies/MY_POLICY_ID/accessLevels/MY_LEVEL" * `audiences` (*type:* `list(String.t)`, *default:* `nil`) - The intended audience(s) for this authentication information. Reflects the audience (`aud`) claim within a JWT. The audience value(s) depends on the `issuer`, but typically include one or more of the following pieces of information: * The services intended to receive the credential. For example, ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. * A set of service-based scopes. For example, ["https://www.googleapis.com/auth/cloud-platform"]. * The client id of an app, such as the Firebase project id for JWTs from Firebase Auth. Consult the documentation for the credential issuer to determine the information provided. * `claims` (*type:* `map()`, *default:* `nil`) - Structured claims presented with the credential. JWTs include `{key: value}` pairs for standard and private claims. The following is a subset of the standard required and optional claims that would typically be presented for a Google-based JWT: {'iss': 'accounts.google.com', 'sub': '113289723416554971153', 'aud': ['123456789012', 'pubsub.googleapis.com'], 'azp': '123456789012.apps.googleusercontent.com', 'email': 'jsmith@example.com', 'iat': 1353601026, 'exp': 1353604926} SAML assertions are similarly specified, but with an identity provider dependent structure. - * `credentialId` (*type:* `String.t`, *default:* `nil`) - Identifies the client credential id used for authentication. credential_id is in the format of AUTH_METHOD:IDENTIFIER, e.g. "serviceaccount:XXXXX, apikey:XXXXX" where the format of the IDENTIFIER can vary for different AUTH_METHODs. * `presenter` (*type:* `String.t`, *default:* `nil`) - The authorized presenter of the credential. Reflects the optional Authorized Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a Google Cloud Platform client id looks as follows: "123456789012.apps.googleusercontent.com". * `principal` (*type:* `String.t`, *default:* `nil`) - The authenticated principal. Reflects the issuer (`iss`) and subject (`sub`) claims within a JWT. The issuer and subject should be `/` delimited, with `/` percent-encoded within the subject fragment. For Google accounts, the principal format is: "https://accounts.google.com/{id}" """ @@ -35,7 +34,6 @@ defmodule GoogleApi.ServiceControl.V2.Model.Auth do :accessLevels => list(String.t()) | nil, :audiences => list(String.t()) | nil, :claims => map() | nil, - :credentialId => String.t() | nil, :presenter => String.t() | nil, :principal => String.t() | nil } @@ -43,7 +41,6 @@ defmodule GoogleApi.ServiceControl.V2.Model.Auth do field(:accessLevels, type: :list) field(:audiences, type: :list) field(:claims, type: :map) - field(:credentialId) field(:presenter) field(:principal) end diff --git a/clients/service_control/lib/google_api/service_control/v2/model/v2_http_request.ex b/clients/service_control/lib/google_api/service_control/v2/model/v2_http_request.ex index c588ea64a1..7342932794 100644 --- a/clients/service_control/lib/google_api/service_control/v2/model/v2_http_request.ex +++ b/clients/service_control/lib/google_api/service_control/v2/model/v2_http_request.ex @@ -27,7 +27,7 @@ defmodule GoogleApi.ServiceControl.V2.Model.V2HttpRequest do * `cacheValidatedWithOriginServer` (*type:* `boolean()`, *default:* `nil`) - Whether or not the response was validated with the origin server before being served from cache. This field is only meaningful if `cache_hit` is True. * `latency` (*type:* `String.t`, *default:* `nil`) - The request processing latency on the server, from the time the request was received until the response was sent. * `protocol` (*type:* `String.t`, *default:* `nil`) - Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket" - * `referer` (*type:* `String.t`, *default:* `nil`) - The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). + * `referer` (*type:* `String.t`, *default:* `nil`) - The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). * `remoteIp` (*type:* `String.t`, *default:* `nil`) - The IP address (IPv4 or IPv6) of the client that issued the HTTP request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`. * `requestMethod` (*type:* `String.t`, *default:* `nil`) - The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`. * `requestSize` (*type:* `String.t`, *default:* `nil`) - The size of the HTTP request message in bytes, including the request headers and the request body. diff --git a/clients/service_control/mix.exs b/clients/service_control/mix.exs index 12a852369f..eda36de2d6 100644 --- a/clients/service_control/mix.exs +++ b/clients/service_control/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.ServiceControl.Mixfile do use Mix.Project - @version "0.44.0" + @version "0.45.0" def project() do [