Autogenerated update (2020-06-08)

Update:
- memcache_v1beta2
This commit is contained in:
Google APIs 2020-06-08 00:38:16 +00:00
parent 7d025814af
commit 8de7a440b1
3 changed files with 52 additions and 6 deletions

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/memorystore/
module MemcacheV1beta2
VERSION = 'V1beta2'
REVISION = '20200512'
REVISION = '20200603'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -464,6 +464,12 @@ module Google
# @return [Hash<String,Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
attr_accessor :maintenance_schedules
# Maintenance settings associated with instance. Allows service producers and
# end users to assign settings that controls maintenance on this instance.
# Corresponds to the JSON property `maintenanceSettings`
# @return [Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
attr_accessor :maintenance_settings
# Unique name of the resource. It uses the form:
# `projects/`project_id`/locations/`location_id`/instances/`instance_id``
# Corresponds to the JSON property `name`
@ -531,6 +537,7 @@ module Google
@labels = args[:labels] if args.key?(:labels)
@maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
@maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
@maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
@name = args[:name] if args.key?(:name)
@producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
@provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
@ -586,6 +593,30 @@ module Google
end
end
# Maintenance settings associated with instance. Allows service producers and
# end users to assign settings that controls maintenance on this instance.
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
include Google::Apis::Core::Hashable
# Optional. Exclude instance from maintenance. When true, rollout service will
# not
# attempt maintenance on the instance. Rollout service will include the
# instance in reported rollout progress as not attempted.
# Corresponds to the JSON property `exclude`
# @return [Boolean]
attr_accessor :exclude
alias_method :exclude?, :exclude
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@exclude = args[:exclude] if args.key?(:exclude)
end
end
# Node information for custom per-node SLO implementations.
# SSA does not support per-node SLO, but producers can populate per-node
# information in SloMetadata for custom precomputations.
@ -794,7 +825,7 @@ module Google
class Instance
include Google::Apis::Core::Hashable
# Optional. The full name of the Google Compute Engine
# The full name of the Google Compute Engine
# [network](/compute/docs/networks-and-firewalls#networks) to which the
# instance is connected. If left unspecified, the `default` network
# will be used.
@ -812,7 +843,7 @@ module Google
# @return [String]
attr_accessor :discovery_endpoint
# Optional. User provided name for the instance only used for display
# User provided name for the instance only used for display
# purposes. Cannot be more than 80 characters.
# Corresponds to the JSON property `displayName`
# @return [String]
@ -823,7 +854,7 @@ module Google
# @return [Array<Google::Apis::MemcacheV1beta2::InstanceMessage>]
attr_accessor :instance_messages
# Optional. Resource labels to represent user-provided metadata.
# Resource labels to represent user-provided metadata.
# Refer to cloud documentation on labels for more details.
# https://cloud.google.com/compute/docs/labeling-resources
# Corresponds to the JSON property `labels`
@ -844,7 +875,7 @@ module Google
# @return [Array<Google::Apis::MemcacheV1beta2::Node>]
attr_accessor :memcache_nodes
# Optional. The major version of Memcached software.
# The major version of Memcached software.
# If not provided, latest supported version will be used. Currently the
# latest supported major version is MEMCACHE_1_5.
# The minor version will be automatically determined by our system based on
@ -890,7 +921,7 @@ module Google
# @return [String]
attr_accessor :update_time
# Optional. Zones where Memcached nodes should be provisioned in.
# Zones where Memcached nodes should be provisioned in.
# Memcached nodes will be equally distributed across these zones. If not
# provided, the service will by default create nodes in all zones in the
# region for the instance.

View File

@ -88,6 +88,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -307,6 +313,8 @@ module Google
hash :maintenance_policy_names, as: 'maintenancePolicyNames'
hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
property :name, as: 'name'
hash :producer_metadata, as: 'producerMetadata'
collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::MemcacheV1beta2::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
@ -331,6 +339,13 @@ module Google
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :exclude, as: 'exclude'
end
end
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation