From 46e4ad7622431cab1e42637f8048aa3a11216290 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sat, 19 Feb 2022 05:10:53 -0800 Subject: [PATCH] feat: Automated regeneration of Memcache client (#9202) Auto-created at 2022-02-19 13:08:48 +0000 using the toys pull request generator. --- clients/memcache/README.md | 2 +- clients/memcache/lib/google_api/memcache/v1/metadata.ex | 2 +- clients/memcache/lib/google_api/memcache/v1/model/date.ex | 2 +- ...loud_saasaccelerator_management_providers_v1_instance.ex | 6 ++++++ .../memcache/lib/google_api/memcache/v1beta2/metadata.ex | 2 +- .../memcache/lib/google_api/memcache/v1beta2/model/date.ex | 2 +- ...loud_saasaccelerator_management_providers_v1_instance.ex | 6 ++++++ clients/memcache/mix.exs | 2 +- 8 files changed, 18 insertions(+), 6 deletions(-) diff --git a/clients/memcache/README.md b/clients/memcache/README.md index 283bf8fc13..ac1712ef7a 100644 --- a/clients/memcache/README.md +++ b/clients/memcache/README.md @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding ```elixir def deps do - [{:google_api_memcache, "~> 0.19"}] + [{:google_api_memcache, "~> 0.20"}] end ``` diff --git a/clients/memcache/lib/google_api/memcache/v1/metadata.ex b/clients/memcache/lib/google_api/memcache/v1/metadata.ex index 29be5efbad..9446624cda 100644 --- a/clients/memcache/lib/google_api/memcache/v1/metadata.ex +++ b/clients/memcache/lib/google_api/memcache/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.Memcache.V1 do API client metadata for GoogleApi.Memcache.V1. """ - @discovery_revision "20211028" + @discovery_revision "20220208" def discovery_revision(), do: @discovery_revision end diff --git a/clients/memcache/lib/google_api/memcache/v1/model/date.ex b/clients/memcache/lib/google_api/memcache/v1/model/date.ex index 71c8bbef33..f985d8ecc5 100644 --- a/clients/memcache/lib/google_api/memcache/v1/model/date.ex +++ b/clients/memcache/lib/google_api/memcache/v1/model/date.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Memcache.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 value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`. + 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 (e.g., an anniversary) * A year on its own, with a zero month and a zero day * A year and month, with a zero day (e.g., a credit card expiration date) Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp ## Attributes diff --git a/clients/memcache/lib/google_api/memcache/v1/model/google_cloud_saasaccelerator_management_providers_v1_instance.ex b/clients/memcache/lib/google_api/memcache/v1/model/google_cloud_saasaccelerator_management_providers_v1_instance.ex index e91c6e5e4f..f0606c9941 100644 --- a/clients/memcache/lib/google_api/memcache/v1/model/google_cloud_saasaccelerator_management_providers_v1_instance.ex +++ b/clients/memcache/lib/google_api/memcache/v1/model/google_cloud_saasaccelerator_management_providers_v1_instance.ex @@ -23,11 +23,13 @@ defmodule GoogleApi.Memcache.V1.Model.GoogleCloudSaasacceleratorManagementProvid * `consumerDefinedName` (*type:* `String.t`, *default:* `nil`) - consumer_defined_name is the name that is set by the consumer. On the other hand Name field represents system-assigned id of an instance so consumers are not necessarily aware of it. consumer_defined_name is used for notification/UI purposes for consumer to recognize their instances. * `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. Timestamp when the resource was created. + * `instanceType` (*type:* `String.t`, *default:* `nil`) - Optional. The instance_type of this instance of format: projects/{project_id}/locations/{location_id}/instanceTypes/{instance_type_id}. Instance Type represents a high-level tier or SKU of the service that this instance belong to. When enabled(eg: Maintenance Rollout), Rollout uses 'instance_type' along with 'software_versions' to determine whether instance needs an update or not. * `labels` (*type:* `map()`, *default:* `nil`) - Optional. Resource labels to represent user provided metadata. Each label is a key-value pair, where both the key and the value are arbitrary strings provided by the user. * `maintenancePolicyNames` (*type:* `map()`, *default:* `nil`) - Deprecated. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the referenced policy must define the same policy type. For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug. * `maintenanceSchedules` (*type:* `%{optional(String.t) => GoogleApi.Memcache.V1.Model.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule.t}`, *default:* `nil`) - The MaintenanceSchedule contains the scheduling information of published maintenance schedule with same key as software_versions. * `maintenanceSettings` (*type:* `GoogleApi.Memcache.V1.Model.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings.t`, *default:* `nil`) - Optional. The MaintenanceSettings associated with instance. * `name` (*type:* `String.t`, *default:* `nil`) - Unique name of the resource. It uses the form: `projects/{project_id|project_number}/locations/{location_id}/instances/{instance_id}` Note: Either project_id or project_number can be used, but keep it consistent with other APIs (e.g. RescheduleUpdate) + * `notificationParameters` (*type:* `map()`, *default:* `nil`) - Optional. notification_parameters are information that service producers may like to include that is not relevant to Rollout. This parameter will only be passed to Gamma and Cloud Logging for notification/logging purpose. * `producerMetadata` (*type:* `map()`, *default:* `nil`) - Output only. Custom string attributes used primarily to expose producer-specific information in monitoring dashboards. See go/get-instance-metadata. * `provisionedResources` (*type:* `list(GoogleApi.Memcache.V1.Model.GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource.t)`, *default:* `nil`) - Output only. The list of data plane resources provisioned for this instance, e.g. compute VMs. See go/get-instance-metadata. * `slmInstanceTemplate` (*type:* `String.t`, *default:* `nil`) - Link to the SLM instance template. Only populated when updating SLM instances via SSA's Actuation service adaptor. Service producers with custom control plane (e.g. Cloud SQL) doesn't need to populate this field. Instead they should use software_versions. @@ -43,6 +45,7 @@ defmodule GoogleApi.Memcache.V1.Model.GoogleCloudSaasacceleratorManagementProvid @type t :: %__MODULE__{ :consumerDefinedName => String.t() | nil, :createTime => DateTime.t() | nil, + :instanceType => String.t() | nil, :labels => map() | nil, :maintenancePolicyNames => map() | nil, :maintenanceSchedules => @@ -55,6 +58,7 @@ defmodule GoogleApi.Memcache.V1.Model.GoogleCloudSaasacceleratorManagementProvid GoogleApi.Memcache.V1.Model.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings.t() | nil, :name => String.t() | nil, + :notificationParameters => map() | nil, :producerMetadata => map() | nil, :provisionedResources => list( @@ -73,6 +77,7 @@ defmodule GoogleApi.Memcache.V1.Model.GoogleCloudSaasacceleratorManagementProvid field(:consumerDefinedName) field(:createTime, as: DateTime) + field(:instanceType) field(:labels, type: :map) field(:maintenancePolicyNames, type: :map) @@ -88,6 +93,7 @@ defmodule GoogleApi.Memcache.V1.Model.GoogleCloudSaasacceleratorManagementProvid ) field(:name) + field(:notificationParameters, type: :map) field(:producerMetadata, type: :map) field(:provisionedResources, diff --git a/clients/memcache/lib/google_api/memcache/v1beta2/metadata.ex b/clients/memcache/lib/google_api/memcache/v1beta2/metadata.ex index e4a8f0c8ab..ed5a484ba8 100644 --- a/clients/memcache/lib/google_api/memcache/v1beta2/metadata.ex +++ b/clients/memcache/lib/google_api/memcache/v1beta2/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.Memcache.V1beta2 do API client metadata for GoogleApi.Memcache.V1beta2. """ - @discovery_revision "20211028" + @discovery_revision "20220208" def discovery_revision(), do: @discovery_revision end diff --git a/clients/memcache/lib/google_api/memcache/v1beta2/model/date.ex b/clients/memcache/lib/google_api/memcache/v1beta2/model/date.ex index 058e89cf5b..a631612c55 100644 --- a/clients/memcache/lib/google_api/memcache/v1beta2/model/date.ex +++ b/clients/memcache/lib/google_api/memcache/v1beta2/model/date.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.Memcache.V1beta2.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 value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`. + 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 (e.g., an anniversary) * A year on its own, with a zero month and a zero day * A year and month, with a zero day (e.g., a credit card expiration date) Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp ## Attributes diff --git a/clients/memcache/lib/google_api/memcache/v1beta2/model/google_cloud_saasaccelerator_management_providers_v1_instance.ex b/clients/memcache/lib/google_api/memcache/v1beta2/model/google_cloud_saasaccelerator_management_providers_v1_instance.ex index 44f416ae92..72560c5e12 100644 --- a/clients/memcache/lib/google_api/memcache/v1beta2/model/google_cloud_saasaccelerator_management_providers_v1_instance.ex +++ b/clients/memcache/lib/google_api/memcache/v1beta2/model/google_cloud_saasaccelerator_management_providers_v1_instance.ex @@ -23,11 +23,13 @@ defmodule GoogleApi.Memcache.V1beta2.Model.GoogleCloudSaasacceleratorManagementP * `consumerDefinedName` (*type:* `String.t`, *default:* `nil`) - consumer_defined_name is the name that is set by the consumer. On the other hand Name field represents system-assigned id of an instance so consumers are not necessarily aware of it. consumer_defined_name is used for notification/UI purposes for consumer to recognize their instances. * `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. Timestamp when the resource was created. + * `instanceType` (*type:* `String.t`, *default:* `nil`) - Optional. The instance_type of this instance of format: projects/{project_id}/locations/{location_id}/instanceTypes/{instance_type_id}. Instance Type represents a high-level tier or SKU of the service that this instance belong to. When enabled(eg: Maintenance Rollout), Rollout uses 'instance_type' along with 'software_versions' to determine whether instance needs an update or not. * `labels` (*type:* `map()`, *default:* `nil`) - Optional. Resource labels to represent user provided metadata. Each label is a key-value pair, where both the key and the value are arbitrary strings provided by the user. * `maintenancePolicyNames` (*type:* `map()`, *default:* `nil`) - Deprecated. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the referenced policy must define the same policy type. For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug. * `maintenanceSchedules` (*type:* `%{optional(String.t) => GoogleApi.Memcache.V1beta2.Model.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule.t}`, *default:* `nil`) - The MaintenanceSchedule contains the scheduling information of published maintenance schedule with same key as software_versions. * `maintenanceSettings` (*type:* `GoogleApi.Memcache.V1beta2.Model.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings.t`, *default:* `nil`) - Optional. The MaintenanceSettings associated with instance. * `name` (*type:* `String.t`, *default:* `nil`) - Unique name of the resource. It uses the form: `projects/{project_id|project_number}/locations/{location_id}/instances/{instance_id}` Note: Either project_id or project_number can be used, but keep it consistent with other APIs (e.g. RescheduleUpdate) + * `notificationParameters` (*type:* `map()`, *default:* `nil`) - Optional. notification_parameters are information that service producers may like to include that is not relevant to Rollout. This parameter will only be passed to Gamma and Cloud Logging for notification/logging purpose. * `producerMetadata` (*type:* `map()`, *default:* `nil`) - Output only. Custom string attributes used primarily to expose producer-specific information in monitoring dashboards. See go/get-instance-metadata. * `provisionedResources` (*type:* `list(GoogleApi.Memcache.V1beta2.Model.GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource.t)`, *default:* `nil`) - Output only. The list of data plane resources provisioned for this instance, e.g. compute VMs. See go/get-instance-metadata. * `slmInstanceTemplate` (*type:* `String.t`, *default:* `nil`) - Link to the SLM instance template. Only populated when updating SLM instances via SSA's Actuation service adaptor. Service producers with custom control plane (e.g. Cloud SQL) doesn't need to populate this field. Instead they should use software_versions. @@ -43,6 +45,7 @@ defmodule GoogleApi.Memcache.V1beta2.Model.GoogleCloudSaasacceleratorManagementP @type t :: %__MODULE__{ :consumerDefinedName => String.t() | nil, :createTime => DateTime.t() | nil, + :instanceType => String.t() | nil, :labels => map() | nil, :maintenancePolicyNames => map() | nil, :maintenanceSchedules => @@ -55,6 +58,7 @@ defmodule GoogleApi.Memcache.V1beta2.Model.GoogleCloudSaasacceleratorManagementP GoogleApi.Memcache.V1beta2.Model.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings.t() | nil, :name => String.t() | nil, + :notificationParameters => map() | nil, :producerMetadata => map() | nil, :provisionedResources => list( @@ -73,6 +77,7 @@ defmodule GoogleApi.Memcache.V1beta2.Model.GoogleCloudSaasacceleratorManagementP field(:consumerDefinedName) field(:createTime, as: DateTime) + field(:instanceType) field(:labels, type: :map) field(:maintenancePolicyNames, type: :map) @@ -88,6 +93,7 @@ defmodule GoogleApi.Memcache.V1beta2.Model.GoogleCloudSaasacceleratorManagementP ) field(:name) + field(:notificationParameters, type: :map) field(:producerMetadata, type: :map) field(:provisionedResources, diff --git a/clients/memcache/mix.exs b/clients/memcache/mix.exs index fbad0e5219..0cebd0ce60 100644 --- a/clients/memcache/mix.exs +++ b/clients/memcache/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.Memcache.Mixfile do use Mix.Project - @version "0.19.1" + @version "0.20.0" def project() do [