diff --git a/clients/app_engine/lib/google_api/app_engine/v1/api/apps.ex b/clients/app_engine/lib/google_api/app_engine/v1/api/apps.ex index 2d01c45216..fd79880523 100644 --- a/clients/app_engine/lib/google_api/app_engine/v1/api/apps.ex +++ b/clients/app_engine/lib/google_api/app_engine/v1/api/apps.ex @@ -103,6 +103,7 @@ defmodule GoogleApi.AppEngine.V1.Api.Apps do * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). + * `:includeExtraData` (*type:* `String.t`) - Options to include extra data * `opts` (*type:* `keyword()`) - Call options ## Returns @@ -127,7 +128,8 @@ defmodule GoogleApi.AppEngine.V1.Api.Apps do :prettyPrint => :query, :quotaUser => :query, :uploadType => :query, - :upload_protocol => :query + :upload_protocol => :query, + :includeExtraData => :query } request = @@ -144,6 +146,68 @@ defmodule GoogleApi.AppEngine.V1.Api.Apps do |> Response.decode(opts ++ [struct: %GoogleApi.AppEngine.V1.Model.Application{}]) end + @doc """ + Lists all the available runtimes for the application. + + ## Parameters + + * `connection` (*type:* `GoogleApi.AppEngine.V1.Connection.t`) - Connection to server + * `apps_id` (*type:* `String.t`) - Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. + * `optional_params` (*type:* `keyword()`) - Optional parameters + * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. + * `:access_token` (*type:* `String.t`) - OAuth access token. + * `:alt` (*type:* `String.t`) - Data format for response. + * `:callback` (*type:* `String.t`) - JSONP + * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. + * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. + * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. + * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. + * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). + * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). + * `:environment` (*type:* `String.t`) - Optional. The environment of the Application. + * `opts` (*type:* `keyword()`) - Call options + + ## Returns + + * `{:ok, %GoogleApi.AppEngine.V1.Model.ListRuntimesResponse{}}` on success + * `{:error, info}` on failure + """ + @spec appengine_apps_list_runtimes(Tesla.Env.client(), String.t(), keyword(), keyword()) :: + {:ok, GoogleApi.AppEngine.V1.Model.ListRuntimesResponse.t()} + | {:ok, Tesla.Env.t()} + | {:ok, list()} + | {:error, any()} + def appengine_apps_list_runtimes(connection, apps_id, optional_params \\ [], opts \\ []) do + optional_params_config = %{ + :"$.xgafv" => :query, + :access_token => :query, + :alt => :query, + :callback => :query, + :fields => :query, + :key => :query, + :oauth_token => :query, + :prettyPrint => :query, + :quotaUser => :query, + :uploadType => :query, + :upload_protocol => :query, + :environment => :query + } + + request = + Request.new() + |> Request.method(:get) + |> Request.url("/v1/apps/{appsId}:listRuntimes", %{ + "appsId" => URI.encode(apps_id, &URI.char_unreserved?/1) + }) + |> Request.add_optional_params(optional_params_config, optional_params) + |> Request.library_version(@library_version) + + connection + |> Connection.execute(request) + |> Response.decode(opts ++ [struct: %GoogleApi.AppEngine.V1.Model.ListRuntimesResponse{}]) + end + @doc """ Updates the specified Application resource. You can update the following fields: auth_domain - Google authentication domain for controlling user access to the application. default_cookie_expiration - Cookie expiration policy for the application. iap - Identity-Aware Proxy properties for the application. @@ -1759,7 +1823,7 @@ defmodule GoogleApi.AppEngine.V1.Api.Apps do end @doc """ - Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id. + Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. ## Parameters diff --git a/clients/app_engine/lib/google_api/app_engine/v1/api/projects.ex b/clients/app_engine/lib/google_api/app_engine/v1/api/projects.ex new file mode 100644 index 0000000000..289b5414ea --- /dev/null +++ b/clients/app_engine/lib/google_api/app_engine/v1/api/projects.ex @@ -0,0 +1,114 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.AppEngine.V1.Api.Projects do + @moduledoc """ + API calls for all endpoints tagged `Projects`. + """ + + alias GoogleApi.AppEngine.V1.Connection + alias GoogleApi.Gax.{Request, Response} + + @library_version Mix.Project.config() |> Keyword.get(:version, "") + + @doc """ + Lists all domains the user is authorized to administer. + + ## Parameters + + * `connection` (*type:* `GoogleApi.AppEngine.V1.Connection.t`) - Connection to server + * `projects_id` (*type:* `String.t`) - Part of `parent`. Name of the parent Application resource. Example: apps/myapp. + * `locations_id` (*type:* `String.t`) - Part of `parent`. See documentation of `projectsId`. + * `applications_id` (*type:* `String.t`) - Part of `parent`. See documentation of `projectsId`. + * `optional_params` (*type:* `keyword()`) - Optional parameters + * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. + * `:access_token` (*type:* `String.t`) - OAuth access token. + * `:alt` (*type:* `String.t`) - Data format for response. + * `:callback` (*type:* `String.t`) - JSONP + * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. + * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. + * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. + * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. + * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). + * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). + * `:pageSize` (*type:* `integer()`) - Maximum results to return per page. + * `:pageToken` (*type:* `String.t`) - Continuation token for fetching the next page of results. + * `opts` (*type:* `keyword()`) - Call options + + ## Returns + + * `{:ok, %GoogleApi.AppEngine.V1.Model.ListAuthorizedDomainsResponse{}}` on success + * `{:error, info}` on failure + """ + @spec appengine_projects_locations_applications_authorized_domains_list( + Tesla.Env.client(), + String.t(), + String.t(), + String.t(), + keyword(), + keyword() + ) :: + {:ok, GoogleApi.AppEngine.V1.Model.ListAuthorizedDomainsResponse.t()} + | {:ok, Tesla.Env.t()} + | {:ok, list()} + | {:error, any()} + def appengine_projects_locations_applications_authorized_domains_list( + connection, + projects_id, + locations_id, + applications_id, + optional_params \\ [], + opts \\ [] + ) do + optional_params_config = %{ + :"$.xgafv" => :query, + :access_token => :query, + :alt => :query, + :callback => :query, + :fields => :query, + :key => :query, + :oauth_token => :query, + :prettyPrint => :query, + :quotaUser => :query, + :uploadType => :query, + :upload_protocol => :query, + :pageSize => :query, + :pageToken => :query + } + + request = + Request.new() + |> Request.method(:get) + |> Request.url( + "/v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedDomains", + %{ + "projectsId" => URI.encode(projects_id, &URI.char_unreserved?/1), + "locationsId" => URI.encode(locations_id, &URI.char_unreserved?/1), + "applicationsId" => URI.encode(applications_id, &URI.char_unreserved?/1) + } + ) + |> Request.add_optional_params(optional_params_config, optional_params) + |> Request.library_version(@library_version) + + connection + |> Connection.execute(request) + |> Response.decode( + opts ++ [struct: %GoogleApi.AppEngine.V1.Model.ListAuthorizedDomainsResponse{}] + ) + end +end diff --git a/clients/app_engine/lib/google_api/app_engine/v1/metadata.ex b/clients/app_engine/lib/google_api/app_engine/v1/metadata.ex index 94ae9138e5..fa042cf476 100644 --- a/clients/app_engine/lib/google_api/app_engine/v1/metadata.ex +++ b/clients/app_engine/lib/google_api/app_engine/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.AppEngine.V1 do API client metadata for GoogleApi.AppEngine.V1. """ - @discovery_revision "20220818" + @discovery_revision "20240226" def discovery_revision(), do: @discovery_revision end diff --git a/clients/app_engine/lib/google_api/app_engine/v1/model/application.ex b/clients/app_engine/lib/google_api/app_engine/v1/model/application.ex index 90bdf9f2fb..5426cd46e7 100644 --- a/clients/app_engine/lib/google_api/app_engine/v1/model/application.ex +++ b/clients/app_engine/lib/google_api/app_engine/v1/model/application.ex @@ -22,18 +22,19 @@ defmodule GoogleApi.AppEngine.V1.Model.Application do ## Attributes * `authDomain` (*type:* `String.t`, *default:* `nil`) - Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account. - * `codeBucket` (*type:* `String.t`, *default:* `nil`) - Google Cloud Storage bucket that can be used for storing files associated with this application. This bucket is associated with the application and can be used by the gcloud deployment commands.@OutputOnly + * `codeBucket` (*type:* `String.t`, *default:* `nil`) - Output only. Google Cloud Storage bucket that can be used for storing files associated with this application. This bucket is associated with the application and can be used by the gcloud deployment commands.@OutputOnly * `databaseType` (*type:* `String.t`, *default:* `nil`) - The type of the Cloud Firestore or Cloud Datastore database associated with this application. - * `defaultBucket` (*type:* `String.t`, *default:* `nil`) - Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly + * `defaultBucket` (*type:* `String.t`, *default:* `nil`) - Output only. Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly * `defaultCookieExpiration` (*type:* `String.t`, *default:* `nil`) - Cookie expiration policy for this application. - * `defaultHostname` (*type:* `String.t`, *default:* `nil`) - Hostname used to reach this application, as resolved by App Engine.@OutputOnly + * `defaultHostname` (*type:* `String.t`, *default:* `nil`) - Output only. Hostname used to reach this application, as resolved by App Engine.@OutputOnly * `dispatchRules` (*type:* `list(GoogleApi.AppEngine.V1.Model.UrlDispatchRule.t)`, *default:* `nil`) - HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order-dependent. Up to 20 dispatch rules can be supported. * `featureSettings` (*type:* `GoogleApi.AppEngine.V1.Model.FeatureSettings.t`, *default:* `nil`) - The feature specific settings to be used in the application. - * `gcrDomain` (*type:* `String.t`, *default:* `nil`) - The Google Container Registry domain used for storing managed build docker images for this application. + * `gcrDomain` (*type:* `String.t`, *default:* `nil`) - Output only. The Google Container Registry domain used for storing managed build docker images for this application. + * `generatedCustomerMetadata` (*type:* `map()`, *default:* `nil`) - Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetApplicationRequest * `iap` (*type:* `GoogleApi.AppEngine.V1.Model.IdentityAwareProxy.t`, *default:* `nil`) - * `id` (*type:* `String.t`, *default:* `nil`) - Identifier of the Application resource. This identifier is equivalent to the project ID of the Google Cloud Platform project where you want to deploy your application. Example: myapp. * `locationId` (*type:* `String.t`, *default:* `nil`) - Location from which this application runs. Application instances run out of the data centers in the specified location, which is also where all of the application's end user content is stored.Defaults to us-central.View the list of supported locations (https://cloud.google.com/appengine/docs/locations). - * `name` (*type:* `String.t`, *default:* `nil`) - Full path to the Application resource in the API. Example: apps/myapp.@OutputOnly + * `name` (*type:* `String.t`, *default:* `nil`) - Output only. Full path to the Application resource in the API. Example: apps/myapp.@OutputOnly * `serviceAccount` (*type:* `String.t`, *default:* `nil`) - The service account associated with the application. This is the app-level default identity. If no identity provided during create version, Admin API will fallback to this one. * `servingStatus` (*type:* `String.t`, *default:* `nil`) - Serving status of this application. """ @@ -50,6 +51,7 @@ defmodule GoogleApi.AppEngine.V1.Model.Application do :dispatchRules => list(GoogleApi.AppEngine.V1.Model.UrlDispatchRule.t()) | nil, :featureSettings => GoogleApi.AppEngine.V1.Model.FeatureSettings.t() | nil, :gcrDomain => String.t() | nil, + :generatedCustomerMetadata => map() | nil, :iap => GoogleApi.AppEngine.V1.Model.IdentityAwareProxy.t() | nil, :id => String.t() | nil, :locationId => String.t() | nil, @@ -67,6 +69,7 @@ defmodule GoogleApi.AppEngine.V1.Model.Application do field(:dispatchRules, as: GoogleApi.AppEngine.V1.Model.UrlDispatchRule, type: :list) field(:featureSettings, as: GoogleApi.AppEngine.V1.Model.FeatureSettings) field(:gcrDomain) + field(:generatedCustomerMetadata, type: :map) field(:iap, as: GoogleApi.AppEngine.V1.Model.IdentityAwareProxy) field(:id) field(:locationId) diff --git a/clients/app_engine/lib/google_api/app_engine/v1/model/authorized_domain.ex b/clients/app_engine/lib/google_api/app_engine/v1/model/authorized_domain.ex index 0b3642e92e..72ef80de9b 100644 --- a/clients/app_engine/lib/google_api/app_engine/v1/model/authorized_domain.ex +++ b/clients/app_engine/lib/google_api/app_engine/v1/model/authorized_domain.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.AppEngine.V1.Model.AuthorizedDomain do @moduledoc """ - A domain that a user has been authorized to administer. To authorize use of a domain, verify ownership via Webmaster Central (https://www.google.com/webmasters/verification/home). + A domain that a user has been authorized to administer. To authorize use of a domain, verify ownership via Search Console (https://search.google.com/search-console/welcome). ## Attributes diff --git a/clients/app_engine/lib/google_api/app_engine/v1/model/container_state.ex b/clients/app_engine/lib/google_api/app_engine/v1/model/container_state.ex new file mode 100644 index 0000000000..aba1b4490e --- /dev/null +++ b/clients/app_engine/lib/google_api/app_engine/v1/model/container_state.ex @@ -0,0 +1,52 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.AppEngine.V1.Model.ContainerState do + @moduledoc """ + ContainerState contains the externally-visible container state that is used to communicate the state and reasoning for that state to the CLH. This data is not persisted by CCFE, but is instead derived from CCFE's internal representation of the container state. + + ## Attributes + + * `currentReasons` (*type:* `GoogleApi.AppEngine.V1.Model.Reasons.t`, *default:* `nil`) - + * `previousReasons` (*type:* `GoogleApi.AppEngine.V1.Model.Reasons.t`, *default:* `nil`) - The previous and current reasons for a container state will be sent for a container event. CLHs that need to know the signal that caused the container event to trigger (edges) as opposed to just knowing the state can act upon differences in the previous and current reasons.Reasons will be provided for every system: service management, data governance, abuse, and billing.If this is a CCFE-triggered event used for reconciliation then the current reasons will be set to their *_CONTROL_PLANE_SYNC state. The previous reasons will contain the last known set of non-unknown non-control_plane_sync reasons for the state. + * `state` (*type:* `String.t`, *default:* `nil`) - The current state of the container. This state is the culmination of all of the opinions from external systems that CCFE knows about of the container. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :currentReasons => GoogleApi.AppEngine.V1.Model.Reasons.t() | nil, + :previousReasons => GoogleApi.AppEngine.V1.Model.Reasons.t() | nil, + :state => String.t() | nil + } + + field(:currentReasons, as: GoogleApi.AppEngine.V1.Model.Reasons) + field(:previousReasons, as: GoogleApi.AppEngine.V1.Model.Reasons) + field(:state) +end + +defimpl Poison.Decoder, for: GoogleApi.AppEngine.V1.Model.ContainerState do + def decode(value, options) do + GoogleApi.AppEngine.V1.Model.ContainerState.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.AppEngine.V1.Model.ContainerState do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/app_engine/lib/google_api/app_engine/v1/model/date.ex b/clients/app_engine/lib/google_api/app_engine/v1/model/date.ex new file mode 100644 index 0000000000..2981239d6f --- /dev/null +++ b/clients/app_engine/lib/google_api/app_engine/v1/model/date.ex @@ -0,0 +1,52 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.AppEngine.V1.Model.Date do + @moduledoc """ + Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values. A month and day, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date).Related types: google.type.TimeOfDay google.type.DateTime google.protobuf.Timestamp + + ## Attributes + + * `day` (*type:* `integer()`, *default:* `nil`) - Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. + * `month` (*type:* `integer()`, *default:* `nil`) - Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + * `year` (*type:* `integer()`, *default:* `nil`) - Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :day => integer() | nil, + :month => integer() | nil, + :year => integer() | nil + } + + field(:day) + field(:month) + field(:year) +end + +defimpl Poison.Decoder, for: GoogleApi.AppEngine.V1.Model.Date do + def decode(value, options) do + GoogleApi.AppEngine.V1.Model.Date.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.AppEngine.V1.Model.Date do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/app_engine/lib/google_api/app_engine/v1/model/flexible_runtime_settings.ex b/clients/app_engine/lib/google_api/app_engine/v1/model/flexible_runtime_settings.ex new file mode 100644 index 0000000000..a13a735898 --- /dev/null +++ b/clients/app_engine/lib/google_api/app_engine/v1/model/flexible_runtime_settings.ex @@ -0,0 +1,49 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.AppEngine.V1.Model.FlexibleRuntimeSettings do + @moduledoc """ + Runtime settings for the App Engine flexible environment. + + ## Attributes + + * `operatingSystem` (*type:* `String.t`, *default:* `nil`) - The operating system of the application runtime. + * `runtimeVersion` (*type:* `String.t`, *default:* `nil`) - The runtime version of an App Engine flexible application. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :operatingSystem => String.t() | nil, + :runtimeVersion => String.t() | nil + } + + field(:operatingSystem) + field(:runtimeVersion) +end + +defimpl Poison.Decoder, for: GoogleApi.AppEngine.V1.Model.FlexibleRuntimeSettings do + def decode(value, options) do + GoogleApi.AppEngine.V1.Model.FlexibleRuntimeSettings.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.AppEngine.V1.Model.FlexibleRuntimeSettings do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/app_engine/lib/google_api/app_engine/v1/model/identity_aware_proxy.ex b/clients/app_engine/lib/google_api/app_engine/v1/model/identity_aware_proxy.ex index d152da3cb7..81489f7eb5 100644 --- a/clients/app_engine/lib/google_api/app_engine/v1/model/identity_aware_proxy.ex +++ b/clients/app_engine/lib/google_api/app_engine/v1/model/identity_aware_proxy.ex @@ -24,7 +24,7 @@ defmodule GoogleApi.AppEngine.V1.Model.IdentityAwareProxy do * `enabled` (*type:* `boolean()`, *default:* `nil`) - Whether the serving infrastructure will authenticate and authorize all incoming requests.If true, the oauth2_client_id and oauth2_client_secret fields must be non-empty. * `oauth2ClientId` (*type:* `String.t`, *default:* `nil`) - OAuth2 client ID to use for the authentication flow. * `oauth2ClientSecret` (*type:* `String.t`, *default:* `nil`) - OAuth2 client secret to use for the authentication flow.For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2_client_secret_sha256 field.@InputOnly - * `oauth2ClientSecretSha256` (*type:* `String.t`, *default:* `nil`) - Hex-encoded SHA-256 hash of the client secret.@OutputOnly + * `oauth2ClientSecretSha256` (*type:* `String.t`, *default:* `nil`) - Output only. Hex-encoded SHA-256 hash of the client secret.@OutputOnly """ use GoogleApi.Gax.ModelBase diff --git a/clients/app_engine/lib/google_api/app_engine/v1/model/list_runtimes_response.ex b/clients/app_engine/lib/google_api/app_engine/v1/model/list_runtimes_response.ex new file mode 100644 index 0000000000..b533ff27f7 --- /dev/null +++ b/clients/app_engine/lib/google_api/app_engine/v1/model/list_runtimes_response.ex @@ -0,0 +1,49 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.AppEngine.V1.Model.ListRuntimesResponse do + @moduledoc """ + Response message for Applications.ListRuntimes. + + ## Attributes + + * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - Continuation token for fetching the next page of results. + * `runtimes` (*type:* `list(GoogleApi.AppEngine.V1.Model.Runtime.t)`, *default:* `nil`) - The runtimes available to the requested application. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :nextPageToken => String.t() | nil, + :runtimes => list(GoogleApi.AppEngine.V1.Model.Runtime.t()) | nil + } + + field(:nextPageToken) + field(:runtimes, as: GoogleApi.AppEngine.V1.Model.Runtime, type: :list) +end + +defimpl Poison.Decoder, for: GoogleApi.AppEngine.V1.Model.ListRuntimesResponse do + def decode(value, options) do + GoogleApi.AppEngine.V1.Model.ListRuntimesResponse.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.AppEngine.V1.Model.ListRuntimesResponse do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/app_engine/lib/google_api/app_engine/v1/model/location.ex b/clients/app_engine/lib/google_api/app_engine/v1/model/location.ex index 5207c61b9d..c5d55934fe 100644 --- a/clients/app_engine/lib/google_api/app_engine/v1/model/location.ex +++ b/clients/app_engine/lib/google_api/app_engine/v1/model/location.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.AppEngine.V1.Model.Location do @moduledoc """ - A resource that represents Google Cloud Platform location. + A resource that represents a Google Cloud location. ## Attributes diff --git a/clients/app_engine/lib/google_api/app_engine/v1/model/operation.ex b/clients/app_engine/lib/google_api/app_engine/v1/model/operation.ex index bac27f5de2..1ce9b18ece 100644 --- a/clients/app_engine/lib/google_api/app_engine/v1/model/operation.ex +++ b/clients/app_engine/lib/google_api/app_engine/v1/model/operation.ex @@ -25,7 +25,7 @@ defmodule GoogleApi.AppEngine.V1.Model.Operation do * `error` (*type:* `GoogleApi.AppEngine.V1.Model.Status.t`, *default:* `nil`) - The error result of the operation in case of failure or cancellation. * `metadata` (*type:* `map()`, *default:* `nil`) - Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. * `name` (*type:* `String.t`, *default:* `nil`) - The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}. - * `response` (*type:* `map()`, *default:* `nil`) - The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse. + * `response` (*type:* `map()`, *default:* `nil`) - The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse. """ use GoogleApi.Gax.ModelBase diff --git a/clients/app_engine/lib/google_api/app_engine/v1/model/project_event.ex b/clients/app_engine/lib/google_api/app_engine/v1/model/project_event.ex new file mode 100644 index 0000000000..071bc1c56e --- /dev/null +++ b/clients/app_engine/lib/google_api/app_engine/v1/model/project_event.ex @@ -0,0 +1,55 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.AppEngine.V1.Model.ProjectEvent do + @moduledoc """ + The request sent to CLHs during project events. + + ## Attributes + + * `eventId` (*type:* `String.t`, *default:* `nil`) - The unique ID for this project event. CLHs can use this value to dedup repeated calls. required + * `phase` (*type:* `String.t`, *default:* `nil`) - + * `projectMetadata` (*type:* `GoogleApi.AppEngine.V1.Model.ProjectsMetadata.t`, *default:* `nil`) - The projects metadata for this project. required + * `state` (*type:* `GoogleApi.AppEngine.V1.Model.ContainerState.t`, *default:* `nil`) - The state of the project that led to this event. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :eventId => String.t() | nil, + :phase => String.t() | nil, + :projectMetadata => GoogleApi.AppEngine.V1.Model.ProjectsMetadata.t() | nil, + :state => GoogleApi.AppEngine.V1.Model.ContainerState.t() | nil + } + + field(:eventId) + field(:phase) + field(:projectMetadata, as: GoogleApi.AppEngine.V1.Model.ProjectsMetadata) + field(:state, as: GoogleApi.AppEngine.V1.Model.ContainerState) +end + +defimpl Poison.Decoder, for: GoogleApi.AppEngine.V1.Model.ProjectEvent do + def decode(value, options) do + GoogleApi.AppEngine.V1.Model.ProjectEvent.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.AppEngine.V1.Model.ProjectEvent do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/app_engine/lib/google_api/app_engine/v1/model/projects_metadata.ex b/clients/app_engine/lib/google_api/app_engine/v1/model/projects_metadata.ex new file mode 100644 index 0000000000..f34d453f4c --- /dev/null +++ b/clients/app_engine/lib/google_api/app_engine/v1/model/projects_metadata.ex @@ -0,0 +1,67 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.AppEngine.V1.Model.ProjectsMetadata do + @moduledoc """ + ProjectsMetadata is the metadata CCFE stores about the all the relevant projects (tenant, consumer, producer). + + ## Attributes + + * `consumerProjectId` (*type:* `String.t`, *default:* `nil`) - The consumer project id. + * `consumerProjectNumber` (*type:* `String.t`, *default:* `nil`) - The consumer project number. + * `consumerProjectState` (*type:* `String.t`, *default:* `nil`) - The CCFE state of the consumer project. It is the same state that is communicated to the CLH during project events. Notice that this field is not set in the DB, it is only set in this proto when communicated to CLH in the side channel. + * `p4ServiceAccount` (*type:* `String.t`, *default:* `nil`) - The service account authorized to operate on the consumer project. Note: CCFE only propagates P4SA with default tag to CLH. + * `producerProjectId` (*type:* `String.t`, *default:* `nil`) - The producer project id. + * `producerProjectNumber` (*type:* `String.t`, *default:* `nil`) - The producer project number. + * `tenantProjectId` (*type:* `String.t`, *default:* `nil`) - The tenant project id. + * `tenantProjectNumber` (*type:* `String.t`, *default:* `nil`) - The tenant project number. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :consumerProjectId => String.t() | nil, + :consumerProjectNumber => String.t() | nil, + :consumerProjectState => String.t() | nil, + :p4ServiceAccount => String.t() | nil, + :producerProjectId => String.t() | nil, + :producerProjectNumber => String.t() | nil, + :tenantProjectId => String.t() | nil, + :tenantProjectNumber => String.t() | nil + } + + field(:consumerProjectId) + field(:consumerProjectNumber) + field(:consumerProjectState) + field(:p4ServiceAccount) + field(:producerProjectId) + field(:producerProjectNumber) + field(:tenantProjectId) + field(:tenantProjectNumber) +end + +defimpl Poison.Decoder, for: GoogleApi.AppEngine.V1.Model.ProjectsMetadata do + def decode(value, options) do + GoogleApi.AppEngine.V1.Model.ProjectsMetadata.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.AppEngine.V1.Model.ProjectsMetadata do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/app_engine/lib/google_api/app_engine/v1/model/reasons.ex b/clients/app_engine/lib/google_api/app_engine/v1/model/reasons.ex new file mode 100644 index 0000000000..0d65ea229a --- /dev/null +++ b/clients/app_engine/lib/google_api/app_engine/v1/model/reasons.ex @@ -0,0 +1,58 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.AppEngine.V1.Model.Reasons do + @moduledoc """ + Containers transition between and within states based on reasons sent from various systems. CCFE will provide the CLH with reasons for the current state per system.The current systems that CCFE supports are: Service Management (Inception) Data Governance (Wipeout) Abuse (Ares) Billing (Internal Cloud Billing API) Service Activation (Service Controller) + + ## Attributes + + * `abuse` (*type:* `String.t`, *default:* `nil`) - + * `billing` (*type:* `String.t`, *default:* `nil`) - + * `dataGovernance` (*type:* `String.t`, *default:* `nil`) - + * `serviceActivation` (*type:* `String.t`, *default:* `nil`) - Consumer Container denotes if the service is active within a project or not. This information could be used to clean up resources in case service in DISABLED_FULL i.e. Service is inactive > 30 days. + * `serviceManagement` (*type:* `String.t`, *default:* `nil`) - + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :abuse => String.t() | nil, + :billing => String.t() | nil, + :dataGovernance => String.t() | nil, + :serviceActivation => String.t() | nil, + :serviceManagement => String.t() | nil + } + + field(:abuse) + field(:billing) + field(:dataGovernance) + field(:serviceActivation) + field(:serviceManagement) +end + +defimpl Poison.Decoder, for: GoogleApi.AppEngine.V1.Model.Reasons do + def decode(value, options) do + GoogleApi.AppEngine.V1.Model.Reasons.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.AppEngine.V1.Model.Reasons do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/app_engine/lib/google_api/app_engine/v1/model/runtime.ex b/clients/app_engine/lib/google_api/app_engine/v1/model/runtime.ex new file mode 100644 index 0000000000..32d7345525 --- /dev/null +++ b/clients/app_engine/lib/google_api/app_engine/v1/model/runtime.ex @@ -0,0 +1,70 @@ +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# NOTE: This file is auto generated by the elixir code generator program. +# Do not edit this file manually. + +defmodule GoogleApi.AppEngine.V1.Model.Runtime do + @moduledoc """ + Runtime versions for App Engine. + + ## Attributes + + * `decommissionedDate` (*type:* `GoogleApi.AppEngine.V1.Model.Date.t`, *default:* `nil`) - Date when Runtime is decommissioned. + * `deprecationDate` (*type:* `GoogleApi.AppEngine.V1.Model.Date.t`, *default:* `nil`) - Date when Runtime is deprecated. + * `displayName` (*type:* `String.t`, *default:* `nil`) - User-friendly display name, e.g. 'Node.js 12', etc. + * `endOfSupportDate` (*type:* `GoogleApi.AppEngine.V1.Model.Date.t`, *default:* `nil`) - Date when Runtime is end of support. + * `environment` (*type:* `String.t`, *default:* `nil`) - The environment of the runtime. + * `name` (*type:* `String.t`, *default:* `nil`) - The name of the runtime, e.g., 'go113', 'nodejs12', etc. + * `stage` (*type:* `String.t`, *default:* `nil`) - The stage of life this runtime is in, e.g., BETA, GA, etc. + * `supportedOperatingSystems` (*type:* `list(String.t)`, *default:* `nil`) - Supported operating systems for the runtime, e.g., 'ubuntu22', etc. + * `warnings` (*type:* `list(String.t)`, *default:* `nil`) - Warning messages, e.g., a deprecation warning. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :decommissionedDate => GoogleApi.AppEngine.V1.Model.Date.t() | nil, + :deprecationDate => GoogleApi.AppEngine.V1.Model.Date.t() | nil, + :displayName => String.t() | nil, + :endOfSupportDate => GoogleApi.AppEngine.V1.Model.Date.t() | nil, + :environment => String.t() | nil, + :name => String.t() | nil, + :stage => String.t() | nil, + :supportedOperatingSystems => list(String.t()) | nil, + :warnings => list(String.t()) | nil + } + + field(:decommissionedDate, as: GoogleApi.AppEngine.V1.Model.Date) + field(:deprecationDate, as: GoogleApi.AppEngine.V1.Model.Date) + field(:displayName) + field(:endOfSupportDate, as: GoogleApi.AppEngine.V1.Model.Date) + field(:environment) + field(:name) + field(:stage) + field(:supportedOperatingSystems, type: :list) + field(:warnings, type: :list) +end + +defimpl Poison.Decoder, for: GoogleApi.AppEngine.V1.Model.Runtime do + def decode(value, options) do + GoogleApi.AppEngine.V1.Model.Runtime.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.AppEngine.V1.Model.Runtime do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/app_engine/lib/google_api/app_engine/v1/model/service.ex b/clients/app_engine/lib/google_api/app_engine/v1/model/service.ex index 246c1c1418..5219c98928 100644 --- a/clients/app_engine/lib/google_api/app_engine/v1/model/service.ex +++ b/clients/app_engine/lib/google_api/app_engine/v1/model/service.ex @@ -21,6 +21,7 @@ defmodule GoogleApi.AppEngine.V1.Model.Service do ## Attributes + * `generatedCustomerMetadata` (*type:* `map()`, *default:* `nil`) - Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetServiceRequest * `id` (*type:* `String.t`, *default:* `nil`) - Relative name of the service within the application. Example: default.@OutputOnly * `labels` (*type:* `map()`, *default:* `nil`) - A set of labels to apply to this service. Labels are key/value pairs that describe the service and all resources that belong to it (e.g., versions). The labels can be used to search and group resources, and are propagated to the usage and billing reports, enabling fine-grain analysis of costs. An example of using labels is to tag resources belonging to different environments (e.g., "env=prod", "env=qa"). Label keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, dashes, and international characters. Label keys must start with a lowercase letter or an international character. Each service can have at most 32 labels. * `name` (*type:* `String.t`, *default:* `nil`) - Full path to the Service resource in the API. Example: apps/myapp/services/default.@OutputOnly @@ -31,6 +32,7 @@ defmodule GoogleApi.AppEngine.V1.Model.Service do use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ + :generatedCustomerMetadata => map() | nil, :id => String.t() | nil, :labels => map() | nil, :name => String.t() | nil, @@ -38,6 +40,7 @@ defmodule GoogleApi.AppEngine.V1.Model.Service do :split => GoogleApi.AppEngine.V1.Model.TrafficSplit.t() | nil } + field(:generatedCustomerMetadata, type: :map) field(:id) field(:labels, type: :map) field(:name) diff --git a/clients/app_engine/lib/google_api/app_engine/v1/model/version.ex b/clients/app_engine/lib/google_api/app_engine/v1/model/version.ex index 40a516afc8..2963ee21ba 100644 --- a/clients/app_engine/lib/google_api/app_engine/v1/model/version.ex +++ b/clients/app_engine/lib/google_api/app_engine/v1/model/version.ex @@ -25,12 +25,13 @@ defmodule GoogleApi.AppEngine.V1.Model.Version do * `errorHandlers` (*type:* `list(GoogleApi.AppEngine.V1.Model.ErrorHandler.t)`, *default:* `nil`) - Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set. * `basicScaling` (*type:* `GoogleApi.AppEngine.V1.Model.BasicScaling.t`, *default:* `nil`) - A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity. * `nobuildFilesRegex` (*type:* `String.t`, *default:* `nil`) - Files that match this pattern will not be built into this version. Only applicable for Go runtimes.Only returned in GET requests if view=FULL is set. - * `livenessCheck` (*type:* `GoogleApi.AppEngine.V1.Model.LivenessCheck.t`, *default:* `nil`) - Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instancesOnly returned in GET requests if view=FULL is set. + * `livenessCheck` (*type:* `GoogleApi.AppEngine.V1.Model.LivenessCheck.t`, *default:* `nil`) - Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instances * `apiConfig` (*type:* `GoogleApi.AppEngine.V1.Model.ApiConfigHandler.t`, *default:* `nil`) - Serving configuration for Google Cloud Endpoints (https://cloud.google.com/endpoints).Only returned in GET requests if view=FULL is set. * `buildEnvVariables` (*type:* `map()`, *default:* `nil`) - Environment variables available to the build environment.Only returned in GET requests if view=FULL is set. * `handlers` (*type:* `list(GoogleApi.AppEngine.V1.Model.UrlMap.t)`, *default:* `nil`) - An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.Only returned in GET requests if view=FULL is set. * `inboundServices` (*type:* `list(String.t)`, *default:* `nil`) - Before an application can receive email or XMPP messages, the application must be configured to enable the service. * `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Time that this version was created.@OutputOnly + * `flexibleRuntimeSettings` (*type:* `GoogleApi.AppEngine.V1.Model.FlexibleRuntimeSettings.t`, *default:* `nil`) - Settings for App Engine flexible runtimes. * `servingStatus` (*type:* `String.t`, *default:* `nil`) - Current serving status of this version. Only the versions with a SERVING status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an invalid value. Defaults to SERVING. * `zones` (*type:* `list(String.t)`, *default:* `nil`) - The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated. * `libraries` (*type:* `list(GoogleApi.AppEngine.V1.Model.Library.t)`, *default:* `nil`) - Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set. @@ -49,7 +50,7 @@ defmodule GoogleApi.AppEngine.V1.Model.Version do * `serviceAccount` (*type:* `String.t`, *default:* `nil`) - The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag. * `vpcAccessConnector` (*type:* `GoogleApi.AppEngine.V1.Model.VpcAccessConnector.t`, *default:* `nil`) - Enables VPC connectivity for standard apps. * `appEngineApis` (*type:* `boolean()`, *default:* `nil`) - Allows App Engine second generation runtimes to access the legacy bundled services. - * `readinessCheck` (*type:* `GoogleApi.AppEngine.V1.Model.ReadinessCheck.t`, *default:* `nil`) - Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation.Only returned in GET requests if view=FULL is set. + * `readinessCheck` (*type:* `GoogleApi.AppEngine.V1.Model.ReadinessCheck.t`, *default:* `nil`) - Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. * `env` (*type:* `String.t`, *default:* `nil`) - App Engine execution environment for this version.Defaults to standard. * `runtimeApiVersion` (*type:* `String.t`, *default:* `nil`) - The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref * `deployment` (*type:* `GoogleApi.AppEngine.V1.Model.Deployment.t`, *default:* `nil`) - Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set. @@ -60,7 +61,8 @@ defmodule GoogleApi.AppEngine.V1.Model.Version do * `threadsafe` (*type:* `boolean()`, *default:* `nil`) - Whether multiple requests can be dispatched to this version at once. * `runtime` (*type:* `String.t`, *default:* `nil`) - Desired runtime. Example: python27. * `automaticScaling` (*type:* `GoogleApi.AppEngine.V1.Model.AutomaticScaling.t`, *default:* `nil`) - Automatic scaling is based on request rate, response latencies, and other application metrics. Instances are dynamically created and destroyed as needed in order to handle traffic. - * `healthCheck` (*type:* `GoogleApi.AppEngine.V1.Model.HealthCheck.t`, *default:* `nil`) - Configures health checking for instances. Unhealthy instances are stopped and replaced with new instances. Only applicable in the App Engine flexible environment.Only returned in GET requests if view=FULL is set. + * `healthCheck` (*type:* `GoogleApi.AppEngine.V1.Model.HealthCheck.t`, *default:* `nil`) - Configures health checking for instances. Unhealthy instances are stopped and replaced with new instances. Only applicable in the App Engine flexible environment. + * `generatedCustomerMetadata` (*type:* `map()`, *default:* `nil`) - Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetVersionRequest """ use GoogleApi.Gax.ModelBase @@ -76,6 +78,8 @@ defmodule GoogleApi.AppEngine.V1.Model.Version do :handlers => list(GoogleApi.AppEngine.V1.Model.UrlMap.t()) | nil, :inboundServices => list(String.t()) | nil, :createTime => DateTime.t() | nil, + :flexibleRuntimeSettings => + GoogleApi.AppEngine.V1.Model.FlexibleRuntimeSettings.t() | nil, :servingStatus => String.t() | nil, :zones => list(String.t()) | nil, :libraries => list(GoogleApi.AppEngine.V1.Model.Library.t()) | nil, @@ -105,7 +109,8 @@ defmodule GoogleApi.AppEngine.V1.Model.Version do :threadsafe => boolean() | nil, :runtime => String.t() | nil, :automaticScaling => GoogleApi.AppEngine.V1.Model.AutomaticScaling.t() | nil, - :healthCheck => GoogleApi.AppEngine.V1.Model.HealthCheck.t() | nil + :healthCheck => GoogleApi.AppEngine.V1.Model.HealthCheck.t() | nil, + :generatedCustomerMetadata => map() | nil } field(:manualScaling, as: GoogleApi.AppEngine.V1.Model.ManualScaling) @@ -118,6 +123,7 @@ defmodule GoogleApi.AppEngine.V1.Model.Version do field(:handlers, as: GoogleApi.AppEngine.V1.Model.UrlMap, type: :list) field(:inboundServices, type: :list) field(:createTime, as: DateTime) + field(:flexibleRuntimeSettings, as: GoogleApi.AppEngine.V1.Model.FlexibleRuntimeSettings) field(:servingStatus) field(:zones, type: :list) field(:libraries, as: GoogleApi.AppEngine.V1.Model.Library, type: :list) @@ -148,6 +154,7 @@ defmodule GoogleApi.AppEngine.V1.Model.Version do field(:runtime) field(:automaticScaling, as: GoogleApi.AppEngine.V1.Model.AutomaticScaling) field(:healthCheck, as: GoogleApi.AppEngine.V1.Model.HealthCheck) + field(:generatedCustomerMetadata, type: :map) end defimpl Poison.Decoder, for: GoogleApi.AppEngine.V1.Model.Version do diff --git a/clients/app_engine/lib/google_api/app_engine/v1/model/vpc_access_connector.ex b/clients/app_engine/lib/google_api/app_engine/v1/model/vpc_access_connector.ex index 9fdf522926..fc9ceb8285 100644 --- a/clients/app_engine/lib/google_api/app_engine/v1/model/vpc_access_connector.ex +++ b/clients/app_engine/lib/google_api/app_engine/v1/model/vpc_access_connector.ex @@ -22,7 +22,7 @@ defmodule GoogleApi.AppEngine.V1.Model.VpcAccessConnector do ## Attributes * `egressSetting` (*type:* `String.t`, *default:* `nil`) - The egress setting for the connector, controlling what traffic is diverted through it. - * `name` (*type:* `String.t`, *default:* `nil`) - Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1. + * `name` (*type:* `String.t`, *default:* `nil`) - Full Serverless VPC Access Connector name e.g. projects/my-project/locations/us-central1/connectors/c1. """ use GoogleApi.Gax.ModelBase