Autogenerated update (2018-12-08)

Update:
- alertcenter_v1beta1
- bigquery_v2
- compute_alpha
- compute_beta
- compute_v1
- container_v1beta1
- firestore_v1
This commit is contained in:
Google APIs committed 2018-12-08 00:36:43 +00:00
1 parent 42f94aee71
commit 2be58afd60
29 files changed
+9554 -297

No files matched your search

+459 -70
View File
@@ -584,7 +584,8 @@ module Google
# essentially a hash of the labels set used for optimistic locking. The
# fingerprint is initially generated by Compute Engine and changes after every
# request to modify or update labels. You must always provide an up-to-date
# fingerprint hash in order to update or change labels.
# fingerprint hash in order to update or change labels, otherwise the request
# will fail with error 412 conditionNotMet.
# To see the latest fingerprint, make a get() request to retrieve an Address.
# Corresponds to the JSON property `labelFingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -615,7 +616,11 @@ module Google
attr_accessor :network
# This signifies the networking tier used for configuring this Address and can
# only take the following values: PREMIUM , STANDARD.
# only take the following values: PREMIUM, STANDARD. Global forwarding rules can
# only be Premium Tier. Regional forwarding rules can be either Premium or
# Standard Tier. Standard Tier addresses applied to regional forwarding rules
# can be used with any external load balancer. Regional forwarding rules in
# Premium Tier can only be used with a Network load balancer.
# If this field is not specified, it is assumed to be PREMIUM.
# Corresponds to the JSON property `networkTier`
# @return [String]
@@ -1102,7 +1107,7 @@ module Google
# @return [Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocation]
attr_accessor :specific_allocation
# Indicates whether the allocation can be consumed by VMs with ?any allocation?
# Indicates whether the allocation can be consumed by VMs with "any allocation"
# defined. If the field is set, then only VMs that target the allocation by name
# using --allocation-affinity can consume this allocation.
# Corresponds to the JSON property `specificAllocationRequired`
@@ -2597,8 +2602,7 @@ module Google
attr_accessor :utilization_target
# Defines how target utilization value is expressed for a Stackdriver Monitoring
# metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. If not specified,
# the default is GAUGE.
# metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE.
# Corresponds to the JSON property `utilizationTargetType`
# @return [String]
attr_accessor :utilization_target_type
@@ -2922,7 +2926,7 @@ module Google
# considered fresh. After this time period, the response will be revalidated
# before being served. Defaults to 1hr (3600s). When serving responses to signed
# URL requests, Cloud CDN will internally behave as though all responses from
# this backend had a ?Cache-Control: public, max-age=[TTL]? header, regardless
# this backend had a "Cache-Control: public, max-age=[TTL]" header, regardless
# of any existing Cache-Control header. The actual headers served in responses
# will not be altered.
# Corresponds to the JSON property `signedUrlCacheMaxAgeSec`
@@ -3132,7 +3136,8 @@ module Google
# Fingerprint of this resource. A hash of the contents stored in this object.
# This field is used in optimistic locking. This field will be ignored when
# inserting a BackendService. An up-to-date fingerprint must be provided in
# order to update the BackendService.
# order to update the BackendService, otherwise the request will fail with error
# 412 conditionNotMet.
# To see the latest fingerprint, make a get() request to retrieve a
# BackendService.
# Corresponds to the JSON property `fingerprint`
@@ -3175,6 +3180,12 @@ module Google
# @return [String]
attr_accessor :load_balancing_scheme
# The available logging options for the load balancer traffic served by this
# backend service.
# Corresponds to the JSON property `logConfig`
# @return [Google::Apis::ComputeAlpha::BackendServiceLogConfig]
attr_accessor :log_config
# Name of the resource. Provided by the client when the resource is created. The
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
@@ -3266,6 +3277,7 @@ module Google
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
@log_config = args[:log_config] if args.key?(:log_config)
@name = args[:name] if args.key?(:name)
@port = args[:port] if args.key?(:port)
@port_name = args[:port_name] if args.key?(:port_name)
@@ -3442,7 +3454,7 @@ module Google
# considered fresh. After this time period, the response will be revalidated
# before being served. Defaults to 1hr (3600s). When serving responses to signed
# URL requests, Cloud CDN will internally behave as though all responses from
# this backend had a ?Cache-Control: public, max-age=[TTL]? header, regardless
# this backend had a "Cache-Control: public, max-age=[TTL]" header, regardless
# of any existing Cache-Control header. The actual headers served in responses
# will not be altered.
# Corresponds to the JSON property `signedUrlCacheMaxAgeSec`
@@ -3769,6 +3781,38 @@ module Google
end
end
# The available logging options for the load balancer traffic served by this
# backend service.
class BackendServiceLogConfig
include Google::Apis::Core::Hashable
# This field denotes whether to enable logging for the load balancer traffic
# served by this backend service.
# Corresponds to the JSON property `enable`
# @return [Boolean]
attr_accessor :enable
alias_method :enable?, :enable
# This field can only be specified if logging is enabled for this backend
# service. The value of the field must be in [0, 1]. This configures the
# sampling rate of requests to the load balancer where 1.0 means all logged
# requests are reported and 0.0 means no logged requests are reported. The
# default value is 1.0.
# Corresponds to the JSON property `sampleRate`
# @return [Float]
attr_accessor :sample_rate
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enable = args[:enable] if args.key?(:enable)
@sample_rate = args[:sample_rate] if args.key?(:sample_rate)
end
end
#
class BackendServiceReference
include Google::Apis::Core::Hashable
@@ -4700,7 +4744,8 @@ module Google
# a hash of the labels set used for optimistic locking. The fingerprint is
# initially generated by Compute Engine and changes after every request to
# modify or update labels. You must always provide an up-to-date fingerprint
# hash in order to update or change labels.
# hash in order to update or change labels, otherwise the request will fail with
# error 412 conditionNotMet.
# To see the latest fingerprint, make a get() request to retrieve a disk.
# Corresponds to the JSON property `labelFingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -4749,10 +4794,9 @@ module Google
attr_accessor :options
# Physical block size of the persistent disk, in bytes. If not present in a
# request, a default value is used. Initially only 4096 is supported, but other
# powers of two may be added. If an unsupported value is requested, the error
# message will list the supported values, but even a supported value may be
# allowed for only some projects.
# request, a default value is used. Currently supported sizes are 4096 and 16384,
# other sizes may be added in the future. If an unsupported value is requested,
# the error message will list the supported values for the caller's project.
# Corresponds to the JSON property `physicalBlockSizeBytes`
# @return [Fixnum]
attr_accessor :physical_block_size_bytes
@@ -5798,6 +5842,26 @@ module Google
end
end
# A set of Display Device options
class DisplayDevice
include Google::Apis::Core::Hashable
# Defines whether the instance has Display enabled.
# Corresponds to the JSON property `enableDisplay`
# @return [Boolean]
attr_accessor :enable_display
alias_method :enable_display?, :enable_display
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enable_display = args[:enable_display] if args.key?(:enable_display)
end
end
#
class DistributionPolicy
include Google::Apis::Core::Hashable
@@ -6094,8 +6158,9 @@ module Google
attr_accessor :disabled
alias_method :disabled?, :disabled
# This field denotes whether to enable logging for a particular firewall rule.
# If logging is enabled, logs will be exported to Stackdriver.
# Deprecated in favor of enable in LogConfig. This field denotes whether to
# enable logging for a particular firewall rule. If logging is enabled, logs
# will be exported to Stackdriver.
# Corresponds to the JSON property `enableLogging`
# @return [Boolean]
attr_accessor :enable_logging
@@ -6112,6 +6177,11 @@ module Google
# @return [String]
attr_accessor :kind
# The available logging options for a firewall rule.
# Corresponds to the JSON property `logConfig`
# @return [Google::Apis::ComputeAlpha::FirewallLogConfig]
attr_accessor :log_config
# Name of the resource; provided by the client when the resource is created. The
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
@@ -6222,6 +6292,7 @@ module Google
@enable_logging = args[:enable_logging] if args.key?(:enable_logging)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@log_config = args[:log_config] if args.key?(:log_config)
@name = args[:name] if args.key?(:name)
@network = args[:network] if args.key?(:network)
@priority = args[:priority] if args.key?(:priority)
@@ -6414,6 +6485,26 @@ module Google
end
end
# The available logging options for a firewall rule.
class FirewallLogConfig
include Google::Apis::Core::Hashable
# This field denotes whether to enable logging for a particular firewall rule.
# Corresponds to the JSON property `enable`
# @return [Boolean]
attr_accessor :enable
alias_method :enable?, :enable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enable = args[:enable] if args.key?(:enable)
end
end
# Encapsulates numeric value that can be either absolute or relative.
class FixedOrPercent
include Google::Apis::Core::Hashable
@@ -6574,7 +6665,8 @@ module Google
# essentially a hash of the labels set used for optimistic locking. The
# fingerprint is initially generated by Compute Engine and changes after every
# request to modify or update labels. You must always provide an up-to-date
# fingerprint hash in order to update or change labels.
# fingerprint hash in order to update or change labels, otherwise the request
# will fail with error 412 conditionNotMet.
# To see the latest fingerprint, make a get() request to retrieve a
# ForwardingRule.
# Corresponds to the JSON property `labelFingerprint`
@@ -6647,9 +6739,9 @@ module Google
# This field is used along with the backend_service field for internal load
# balancing.
# When the load balancing scheme is INTERNAL, a single port or a comma separated
# list of ports can be configured. Only packets addressed to these ports will be
# forwarded to the backends configured with this forwarding rule.
# When the load balancing scheme is INTERNAL, a list of ports can be configured,
# for example, ['80'], ['8000','9000'] etc. Only packets addressed to these
# ports will be forwarded to the backends configured with this forwarding rule.
# You may specify a maximum of up to 5 ports.
# Corresponds to the JSON property `ports`
# @return [Array<String>]
@@ -7093,8 +7185,9 @@ module Google
# The fingerprint of the previous set of labels for this resource, used to
# detect conflicts. The fingerprint is initially generated by Compute Engine and
# changes after every request to modify or update labels. You must always
# provide an up-to-date fingerprint hash when updating or changing labels. Make
# a get() request to the resource to get the latest fingerprint.
# provide an up-to-date fingerprint hash when updating or changing labels,
# otherwise the request will fail with error 412 conditionNotMet. Make a get()
# request to the resource to get the latest fingerprint.
# Corresponds to the JSON property `labelFingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
@@ -7126,7 +7219,7 @@ module Google
class GlobalSetPolicyRequest
include Google::Apis::Core::Hashable
# Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use '
# Flatten Policy to create a backward compatible wire-format. Deprecated. Use '
# policy' to specify bindings.
# Corresponds to the JSON property `bindings`
# @return [Array<Google::Apis::ComputeAlpha::Binding>]
@@ -8646,7 +8739,8 @@ module Google
# a hash of the labels used for optimistic locking. The fingerprint is initially
# generated by Compute Engine and changes after every request to modify or
# update labels. You must always provide an up-to-date fingerprint hash in order
# to update or change labels.
# to update or change labels, otherwise the request will fail with error 412
# conditionNotMet.
# To see the latest fingerprint, make a get() request to retrieve an image.
# Corresponds to the JSON property `labelFingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -9005,6 +9099,11 @@ module Google
# @return [Array<Google::Apis::ComputeAlpha::AttachedDisk>]
attr_accessor :disks
# A set of Display Device options
# Corresponds to the JSON property `displayDevice`
# @return [Google::Apis::ComputeAlpha::DisplayDevice]
attr_accessor :display_device
# A list of the type and count of accelerator cards attached to the instance.
# Corresponds to the JSON property `guestAccelerators`
# @return [Array<Google::Apis::ComputeAlpha::AcceleratorConfig>]
@@ -9184,6 +9283,7 @@ module Google
@deletion_protection = args[:deletion_protection] if args.key?(:deletion_protection)
@description = args[:description] if args.key?(:description)
@disks = args[:disks] if args.key?(:disks)
@display_device = args[:display_device] if args.key?(:display_device)
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
@hostname = args[:hostname] if args.key?(:hostname)
@id = args[:id] if args.key?(:id)
@@ -9727,7 +9827,8 @@ module Google
# Fingerprint of this resource. This field may be used in optimistic locking. It
# will be ignored when inserting an InstanceGroupManager. An up-to-date
# fingerprint must be provided in order to update the InstanceGroupManager.
# fingerprint must be provided in order to update the InstanceGroupManager,
# otherwise the request will fail with error 412 conditionNotMet.
# To see the latest fingerprint, make a get() request to retrieve an
# InstanceGroupManager.
# Corresponds to the JSON property `fingerprint`
@@ -10482,6 +10583,25 @@ module Google
end
end
# InstanceGroupManagers.createInstances
class InstanceGroupManagersCreateInstancesRequest
include Google::Apis::Core::Hashable
# [Required] List of specifications of per-instance configs.
# Corresponds to the JSON property `instances`
# @return [Array<Google::Apis::ComputeAlpha::PerInstanceConfig>]
attr_accessor :instances
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@instances = args[:instances] if args.key?(:instances)
end
end
#
class InstanceGroupManagersDeleteInstancesRequest
include Google::Apis::Core::Hashable
@@ -10512,6 +10632,12 @@ module Google
# @return [Array<String>]
attr_accessor :instances
# The list of instance names for which we want to delete per-instance configs on
# this managed instance group.
# Corresponds to the JSON property `names`
# @return [Array<String>]
attr_accessor :names
def initialize(**args)
update!(**args)
end
@@ -10519,6 +10645,7 @@ module Google
# Update properties of this object
def update!(**args)
@instances = args[:instances] if args.key?(:instances)
@names = args[:names] if args.key?(:names)
end
end
@@ -11176,7 +11303,8 @@ module Google
# named ports settings concurrently. Obtain the fingerprint with the
# instanceGroups.get method. Then, include the fingerprint in your request to
# ensure that you do not overwrite changes that were applied from another
# concurrent request.
# concurrent request. A request with an incorrect fingerprint will fail with
# error 412 conditionNotMet.
# Corresponds to the JSON property `fingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
@@ -12217,7 +12345,8 @@ module Google
# essentially a hash of the labels set used for optimistic locking. The
# fingerprint is initially generated by Compute Engine and changes after every
# request to modify or update labels. You must always provide an up-to-date
# fingerprint hash in order to update or change labels.
# fingerprint hash in order to update or change labels, otherwise the request
# will fail with error 412 conditionNotMet.
# To see the latest fingerprint, make a get() request to retrieve an
# Interconnect.
# Corresponds to the JSON property `labelFingerprint`
@@ -12346,7 +12475,7 @@ module Google
# Provisioned bandwidth capacity for the interconnectAttachment. Can be set by
# the partner to update the customer's provisioned bandwidth. Output only for
# for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED.
# PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED.
# Corresponds to the JSON property `bandwidth`
# @return [String]
attr_accessor :bandwidth
@@ -12422,7 +12551,8 @@ module Google
# which is essentially a hash of the labels set used for optimistic locking. The
# fingerprint is initially generated by Compute Engine and changes after every
# request to modify or update labels. You must always provide an up-to-date
# fingerprint hash in order to update or change labels.
# fingerprint hash in order to update or change labels, otherwise the request
# will fail with error 412 conditionNotMet.
# To see the latest fingerprint, make a get() request to retrieve an
# InterconnectAttachment.
# Corresponds to the JSON property `labelFingerprint`
@@ -12488,7 +12618,7 @@ module Google
# @return [String]
attr_accessor :region
# URL of the cloud router to be used for dynamic routing. This router must be in
# URL of the Cloud Router to be used for dynamic routing. This router must be in
# the same region as this InterconnectAttachment. The InterconnectAttachment
# will automatically connect the Interconnect to the network & region within
# which the Cloud Router is configured.
@@ -12511,9 +12641,8 @@ module Google
# @return [String]
attr_accessor :type
# Available only for DEDICATED and PARTNER_PROVIDER. Desired VLAN tag for this
# attachment, in the range 2-4094. This field refers to 802.1q VLAN tag, also
# known as IEEE 802.1Q Only specified at creation time.
# The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094. Only
# specified at creation time.
# Corresponds to the JSON property `vlanTag8021q`
# @return [Fixnum]
attr_accessor :vlan_tag8021q
@@ -12797,7 +12926,7 @@ module Google
include Google::Apis::Core::Hashable
# Plain text name of the Interconnect this attachment is connected to, as
# displayed in the Partner?s portal. For instance ?Chicago 1?. This value may be
# displayed in the Partner?s portal. For instance "Chicago 1". This value may be
# validated to match approved Partner values.
# Corresponds to the JSON property `interconnectName`
# @return [String]
@@ -13074,7 +13203,10 @@ module Google
# @return [String]
attr_accessor :state
# Value of the current optical power, read in dBm.
# Value of the current optical power, read in dBm. Take a known good optical
# value, give it a 10% margin and trigger warnings relative to that value. In
# general, a -7dBm warning and a -11dBm alarm are good optical value estimates
# for most links.
# Corresponds to the JSON property `value`
# @return [Float]
attr_accessor :value
@@ -15077,6 +15209,16 @@ module Google
# @return [Google::Apis::ComputeAlpha::ManagedInstanceOverride]
attr_accessor :override
# Preserved state for a given instance.
# Corresponds to the JSON property `preservedStateFromConfig`
# @return [Google::Apis::ComputeAlpha::PreservedState]
attr_accessor :preserved_state_from_config
# Preserved state for a given instance.
# Corresponds to the JSON property `preservedStateFromPolicy`
# @return [Google::Apis::ComputeAlpha::PreservedState]
attr_accessor :preserved_state_from_policy
# [Output Only] Tag describing the version.
# Corresponds to the JSON property `tag`
# @return [String]
@@ -15101,6 +15243,8 @@ module Google
@instance_template = args[:instance_template] if args.key?(:instance_template)
@last_attempt = args[:last_attempt] if args.key?(:last_attempt)
@override = args[:override] if args.key?(:override)
@preserved_state_from_config = args[:preserved_state_from_config] if args.key?(:preserved_state_from_config)
@preserved_state_from_policy = args[:preserved_state_from_policy] if args.key?(:preserved_state_from_policy)
@tag = args[:tag] if args.key?(:tag)
@version = args[:version] if args.key?(:version)
end
@@ -15336,7 +15480,8 @@ module Google
# metadata's contents and used for optimistic locking. The fingerprint is
# initially generated by Compute Engine and changes after every request to
# modify or update metadata. You must always provide an up-to-date fingerprint
# hash in order to update or change metadata.
# hash in order to update or change metadata, otherwise the request will fail
# with error 412 conditionNotMet.
# To see the latest fingerprint, make a get() request to retrieve the resource.
# Corresponds to the JSON property `fingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -16286,7 +16431,8 @@ module Google
# Fingerprint hash of contents stored in this network interface. This field will
# be ignored when inserting an Instance or adding a NetworkInterface. An up-to-
# date fingerprint must be provided in order to update the NetworkInterface.
# date fingerprint must be provided in order to update the NetworkInterface,
# otherwise the request will fail with error 412 conditionNotMet.
# Corresponds to the JSON property `fingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
@@ -16481,10 +16627,17 @@ module Google
class NetworkPeering
include Google::Apis::Core::Hashable
# Whether full mesh connectivity is created and managed automatically. When it
# is set to true, Google Compute Engine will automatically create and manage the
# routes between two networks when the state is ACTIVE. Otherwise, user needs to
# create routes manually to route packets to peer network.
# Whether Cloud Routers in this network can automatically advertise subnets from
# the peer network.
# Corresponds to the JSON property `advertisePeerSubnetsViaRouters`
# @return [Boolean]
attr_accessor :advertise_peer_subnets_via_routers
alias_method :advertise_peer_subnets_via_routers?, :advertise_peer_subnets_via_routers
# Indicates whether full mesh connectivity is created and managed automatically.
# When it is set to true, Google Compute Engine will automatically create and
# manage the routes between two networks when the state is ACTIVE. Otherwise,
# user needs to create routes manually to route packets to peer network.
# Corresponds to the JSON property `autoCreateRoutes`
# @return [Boolean]
attr_accessor :auto_create_routes
@@ -16545,6 +16698,7 @@ module Google
# Update properties of this object
def update!(**args)
@advertise_peer_subnets_via_routers = args[:advertise_peer_subnets_via_routers] if args.key?(:advertise_peer_subnets_via_routers)
@auto_create_routes = args[:auto_create_routes] if args.key?(:auto_create_routes)
@exchange_subnet_routes = args[:exchange_subnet_routes] if args.key?(:exchange_subnet_routes)
@export_custom_routes = args[:export_custom_routes] if args.key?(:export_custom_routes)
@@ -16590,13 +16744,15 @@ module Google
attr_accessor :auto_create_routes
alias_method :auto_create_routes?, :auto_create_routes
# Whether to export the custom routes to peer network.
# This field will be deprecated soon. Prefer using export_custom_routes in
# network_peering instead. Whether to export the custom routes to peer network.
# Corresponds to the JSON property `exportCustomRoutes`
# @return [Boolean]
attr_accessor :export_custom_routes
alias_method :export_custom_routes?, :export_custom_routes
# Whether to import the custom routes from peer network.
# This field will be deprecated soon. Prefer using import_custom_routes in
# network_peering instead. Whether to import the custom routes from peer network.
# Corresponds to the JSON property `importCustomRoutes`
# @return [Boolean]
attr_accessor :import_custom_routes
@@ -16681,6 +16837,11 @@ module Google
class NodeGroup
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `autoscalingPolicy`
# @return [Google::Apis::ComputeAlpha::NodeGroupAutoscalingPolicy]
attr_accessor :autoscaling_policy
# [Output Only] Creation timestamp in RFC3339 text format.
# Corresponds to the JSON property `creationTimestamp`
# @return [String]
@@ -16747,6 +16908,7 @@ module Google
# Update properties of this object
def update!(**args)
@autoscaling_policy = args[:autoscaling_policy] if args.key?(:autoscaling_policy)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description)
@id = args[:id] if args.key?(:id)
@@ -16878,6 +17040,31 @@ module Google
end
end
#
class NodeGroupAutoscalingPolicy
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `maxSize`
# @return [Fixnum]
attr_accessor :max_size
#
# Corresponds to the JSON property `minSize`
# @return [Fixnum]
attr_accessor :min_size
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@max_size = args[:max_size] if args.key?(:max_size)
@min_size = args[:min_size] if args.key?(:min_size)
end
end
# Contains a list of nodeGroups.
class NodeGroupList
include Google::Apis::Core::Hashable
@@ -18924,11 +19111,26 @@ module Google
# @return [String]
attr_accessor :instance
# The name of the per-instance config and the corresponding instance. Serves as
# a merge key during UpdatePerInstanceConfigs operation, i.e. if per-instance
# config with the same name exists then it will be updated, otherwise a new one
# will be created for the VM instance with the same name. An attempt to create a
# per-instance config for a VM instance that either doesn't exist or is not part
# of the group will result in a failure.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Overrides of stateful properties for a given instance
# Corresponds to the JSON property `override`
# @return [Google::Apis::ComputeAlpha::ManagedInstanceOverride]
attr_accessor :override
# Preserved state for a given instance.
# Corresponds to the JSON property `preservedState`
# @return [Google::Apis::ComputeAlpha::PreservedState]
attr_accessor :preserved_state
def initialize(**args)
update!(**args)
end
@@ -18937,7 +19139,9 @@ module Google
def update!(**args)
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@instance = args[:instance] if args.key?(:instance)
@name = args[:name] if args.key?(:name)
@override = args[:override] if args.key?(:override)
@preserved_state = args[:preserved_state] if args.key?(:preserved_state)
end
end
@@ -19042,6 +19246,69 @@ module Google
end
end
# Preserved state for a given instance.
class PreservedState
include Google::Apis::Core::Hashable
# Preserved disks defined for this instance. This map is keyed with the device
# names of the disks.
# Corresponds to the JSON property `disks`
# @return [Hash<String,Google::Apis::ComputeAlpha::PreservedStatePreservedDisk>]
attr_accessor :disks
# Preserved metadata defined for this instance.
# Corresponds to the JSON property `metadata`
# @return [Hash<String,String>]
attr_accessor :metadata
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@disks = args[:disks] if args.key?(:disks)
@metadata = args[:metadata] if args.key?(:metadata)
end
end
#
class PreservedStatePreservedDisk
include Google::Apis::Core::Hashable
# These stateful disks will never be deleted during autohealing, update,
# instance recreate operations. This flag is used to configure if the disk
# should be deleted after it is no longer used by the group, e.g. when the given
# instance or the whole MIG is deleted. Note: disks attached in READ_ONLY mode
# cannot be auto-deleted.
# Corresponds to the JSON property `autoDelete`
# @return [String]
attr_accessor :auto_delete
# The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not
# specified, the default is to attach the disk in READ_WRITE mode.
# Corresponds to the JSON property `mode`
# @return [String]
attr_accessor :mode
# The URL of the disk resource that is stateful and should be attached to the VM
# instance.
# Corresponds to the JSON property `source`
# @return [String]
attr_accessor :source
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@auto_delete = args[:auto_delete] if args.key?(:auto_delete)
@mode = args[:mode] if args.key?(:mode)
@source = args[:source] if args.key?(:source)
end
end
# A Project resource. For an overview of projects, see Cloud Platform Resource
# Hierarchy. (== resource_for v1.projects ==) (== resource_for beta.projects ==)
class Project
@@ -19840,6 +20107,12 @@ module Google
# @return [Array<String>]
attr_accessor :instances
# The list of instance names for which we want to delete per-instance configs on
# this managed instance group.
# Corresponds to the JSON property `names`
# @return [Array<String>]
attr_accessor :names
def initialize(**args)
update!(**args)
end
@@ -19847,6 +20120,7 @@ module Google
# Update properties of this object
def update!(**args)
@instances = args[:instances] if args.key?(:instances)
@names = args[:names] if args.key?(:names)
end
end
@@ -21186,7 +21460,7 @@ module Google
# @return [String]
attr_accessor :duration
# Time within the window to start the operations. It must be in format "HH:MM?,
# Time within the window to start the operations. It must be in format "HH:MM",
# where HH : [00-23] and MM : [00-00] GMT.
# Corresponds to the JSON property `startTime`
# @return [String]
@@ -21219,7 +21493,7 @@ module Google
# @return [Fixnum]
attr_accessor :hours_in_cycle
# Time within the window to start the operations. It must be in format "HH:MM?,
# Time within the window to start the operations. It must be in format "HH:MM",
# where HH : [00-23] and MM : [00-00] GMT.
# Corresponds to the JSON property `startTime`
# @return [String]
@@ -21436,7 +21710,7 @@ module Google
# @return [String]
attr_accessor :duration
# Time within the window to start the operations. It must be in format "HH:MM?,
# Time within the window to start the operations. It must be in format "HH:MM",
# where HH : [00-23] and MM : [00-00] GMT.
# Corresponds to the JSON property `startTime`
# @return [String]
@@ -22122,11 +22396,12 @@ module Google
# @return [String]
attr_accessor :ip_address
# [Output Only] Type of how the resource/configuration of the BGP peer is
# managed. MANAGED_BY_USER is the default value; MANAGED_BY_ATTACHMENT
# represents an BGP peer that is automatically created for PARTNER
# interconnectAttachment, Google will automatically create/delete this type of
# BGP peer when the PARTNER interconnectAttachment is created/deleted.
# [Output Only] The resource that configures and manages this BGP peer.
# MANAGED_BY_USER is the default value and can be managed by you or other users;
# MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed by Cloud
# Interconnect, specifically by an InterconnectAttachment of type PARTNER.
# Google will automatically create, update, and delete this type of BGP peer
# when the PARTNER InterconnectAttachment is created, updated, or deleted.
# Corresponds to the JSON property `managementType`
# @return [String]
attr_accessor :management_type
@@ -22193,12 +22468,12 @@ module Google
# @return [String]
attr_accessor :linked_vpn_tunnel
# [Output Only] Type of how the resource/configuration of the interface is
# managed. MANAGED_BY_USER is the default value; MANAGED_BY_ATTACHMENT
# represents an interface that is automatically created for PARTNER type
# interconnectAttachment, Google will automatically create/update/delete this
# type of interface when the PARTNER interconnectAttachment is created/
# provisioned/deleted.
# [Output Only] The resource that configures and manages this interface.
# MANAGED_BY_USER is the default value and can be managed by you or other users;
# MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud
# Interconnect, specifically by an InterconnectAttachment of type PARTNER.
# Google will automatically create, update, and delete this type of interface
# when the PARTNER InterconnectAttachment is created, updated, or deleted.
# Corresponds to the JSON property `managementType`
# @return [String]
attr_accessor :management_type
@@ -23241,7 +23516,8 @@ module Google
# metadata's contents and used for optimistic locking. The fingerprint is
# initially generated by Compute Engine and changes after every request to
# modify or update metadata. You must always provide an up-to-date fingerprint
# hash in order to update or change metadata.
# hash in order to update or change metadata, otherwise the request will fail
# with error 412 conditionNotMet.
# To see the latest fingerprint, make get() request to the security policy.
# Corresponds to the JSON property `fingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -23537,8 +23813,9 @@ module Google
alias_method :preview?, :preview
# An integer indicating the priority of a rule in the list. The priority must be
# a positive value between 0 and 2147483647. Rules are evaluated in the
# increasing order of priority.
# a positive value between 0 and 2147483647. Rules are evaluated from highest to
# lowest priority where 0 is the highest priority and 2147483647 is the lowest
# prority.
# Corresponds to the JSON property `priority`
# @return [Fixnum]
attr_accessor :priority
@@ -23835,12 +24112,12 @@ module Google
class ShieldedVmIdentityEntry
include Google::Apis::Core::Hashable
#
# A PEM-encoded X.509 certificate. This field can be empty.
# Corresponds to the JSON property `ekCert`
# @return [String]
attr_accessor :ek_cert
#
# A PEM-encoded public key.
# Corresponds to the JSON property `ekPub`
# @return [String]
attr_accessor :ek_pub
@@ -23960,7 +24237,8 @@ module Google
# essentially a hash of the labels set used for optimistic locking. The
# fingerprint is initially generated by Compute Engine and changes after every
# request to modify or update labels. You must always provide an up-to-date
# fingerprint hash in order to update or change labels.
# fingerprint hash in order to update or change labels, otherwise the request
# will fail with error 412 conditionNotMet.
# To see the latest fingerprint, make a get() request to retrieve a snapshot.
# Corresponds to the JSON property `labelFingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -24999,7 +25277,8 @@ module Google
# Fingerprint of this resource. A hash of the contents stored in this object.
# This field is used in optimistic locking. This field will be ignored when
# inserting a SslPolicy. An up-to-date fingerprint must be provided in order to
# update the SslPolicy.
# update the SslPolicy, otherwise the request will fail with error 412
# conditionNotMet.
# To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
# Corresponds to the JSON property `fingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -25167,6 +25446,11 @@ module Google
# @return [Google::Apis::ComputeAlpha::StatefulPolicyPreservedResources]
attr_accessor :preserved_resources
# Configuration of preserved resources.
# Corresponds to the JSON property `preservedState`
# @return [Google::Apis::ComputeAlpha::StatefulPolicyPreservedState]
attr_accessor :preserved_state
def initialize(**args)
update!(**args)
end
@@ -25174,6 +25458,7 @@ module Google
# Update properties of this object
def update!(**args)
@preserved_resources = args[:preserved_resources] if args.key?(:preserved_resources)
@preserved_state = args[:preserved_state] if args.key?(:preserved_state)
end
end
@@ -25216,6 +25501,49 @@ module Google
end
end
# Configuration of preserved resources.
class StatefulPolicyPreservedState
include Google::Apis::Core::Hashable
# Disks created on the instances that will be preserved on instance delete,
# resize down, etc. This map is keyed with the device names of the disks.
# Corresponds to the JSON property `disks`
# @return [Hash<String,Google::Apis::ComputeAlpha::StatefulPolicyPreservedStateDiskDevice>]
attr_accessor :disks
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@disks = args[:disks] if args.key?(:disks)
end
end
#
class StatefulPolicyPreservedStateDiskDevice
include Google::Apis::Core::Hashable
# These stateful disks will never be deleted during autohealing, update or VM
# instance recreate operations. This flag is used to configure if the disk
# should be deleted after it is no longer used by the group, e.g. when the given
# instance or the whole group is deleted. Note: disks attached in READ_ONLY mode
# cannot be auto-deleted.
# Corresponds to the JSON property `autoDelete`
# @return [String]
attr_accessor :auto_delete
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@auto_delete = args[:auto_delete] if args.key?(:auto_delete)
end
end
# A Subnetwork resource. (== resource_for beta.subnetworks ==) (== resource_for
# v1.subnetworks ==)
class Subnetwork
@@ -25275,7 +25603,8 @@ module Google
# Fingerprint of this resource. A hash of the contents stored in this object.
# This field is used in optimistic locking. This field will be ignored when
# inserting a Subnetwork. An up-to-date fingerprint must be provided in order to
# update the Subnetwork.
# update the Subnetwork, otherwise the request will fail with error 412
# conditionNotMet.
# To see the latest fingerprint, make a get() request to retrieve a Subnetwork.
# Corresponds to the JSON property `fingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -25323,6 +25652,11 @@ module Google
# @return [String]
attr_accessor :kind
# The available logging options for this subnetwork.
# Corresponds to the JSON property `logConfig`
# @return [Google::Apis::ComputeAlpha::SubnetworkLogConfig]
attr_accessor :log_config
# Can only be specified if VPC flow logging for this subnetwork is enabled.
# Configures whether metadata fields should be added to the reported VPC flow
# logs. Default is INCLUDE_ALL_METADATA.
@@ -25375,7 +25709,8 @@ module Google
# INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An
# ACTIVE subnetwork is one that is currently being used for Internal HTTP(S)
# Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to
# ACTIVE or is currently draining.
# ACTIVE or is currently draining. This field can be updated with a patch
# request.
# Corresponds to the JSON property `role`
# @return [String]
attr_accessor :role
@@ -25383,7 +25718,7 @@ module Google
# An array of configurations for secondary IP ranges for VM instances contained
# in this subnetwork. The primary IP of such VM must belong to the primary
# ipCidrRange of the subnetwork. The alias IPs may belong to either primary or
# secondary ranges.
# secondary ranges. This field can be updated with a patch request.
# Corresponds to the JSON property `secondaryIpRanges`
# @return [Array<Google::Apis::ComputeAlpha::SubnetworkSecondaryRange>]
attr_accessor :secondary_ip_ranges
@@ -25422,6 +25757,7 @@ module Google
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
@ipv6_cidr_range = args[:ipv6_cidr_range] if args.key?(:ipv6_cidr_range)
@kind = args[:kind] if args.key?(:kind)
@log_config = args[:log_config] if args.key?(:log_config)
@metadata = args[:metadata] if args.key?(:metadata)
@name = args[:name] if args.key?(:name)
@network = args[:network] if args.key?(:network)
@@ -25671,6 +26007,55 @@ module Google
end
end
# The available logging options for this subnetwork.
class SubnetworkLogConfig
include Google::Apis::Core::Hashable
# Can only be specified if VPC flow logging for this subnetwork is enabled.
# Toggles the aggregation interval for collecting flow logs. Increasing the
# interval time will reduce the amount of generated flow logs for long lasting
# connections. Default is an interval of 5 seconds per connection.
# Corresponds to the JSON property `aggregationInterval`
# @return [String]
attr_accessor :aggregation_interval
# Whether to enable flow logging for this subnetwork. If this field is not
# explicitly set, it will not appear in get listings. If not set the default
# behavior is to disable flow logging.
# Corresponds to the JSON property `enable`
# @return [Boolean]
attr_accessor :enable
alias_method :enable?, :enable
# Can only be specified if VPC flow logging for this subnetwork is enabled. The
# value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs
# within the subnetwork where 1.0 means all collected logs are reported and 0.0
# means no logs are reported. Default is 0.5 which means half of all collected
# logs are reported.
# Corresponds to the JSON property `flowSampling`
# @return [Float]
attr_accessor :flow_sampling
# Can only be specified if VPC flow logging for this subnetwork is enabled.
# Configures whether metadata fields should be added to the reported VPC flow
# logs. Default is INCLUDE_ALL_METADATA.
# Corresponds to the JSON property `metadata`
# @return [String]
attr_accessor :metadata
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@aggregation_interval = args[:aggregation_interval] if args.key?(:aggregation_interval)
@enable = args[:enable] if args.key?(:enable)
@flow_sampling = args[:flow_sampling] if args.key?(:flow_sampling)
@metadata = args[:metadata] if args.key?(:metadata)
end
end
# Represents a secondary IP range of a subnetwork.
class SubnetworkSecondaryRange
include Google::Apis::Core::Hashable
@@ -28330,7 +28715,8 @@ module Google
# essentially a hash of the labels set used for optimistic locking. The
# fingerprint is initially generated by Compute Engine and changes after every
# request to modify or update labels. You must always provide an up-to-date
# fingerprint hash in order to update or change labels.
# fingerprint hash in order to update or change labels, otherwise the request
# will fail with error 412 conditionNotMet.
# To see the latest fingerprint, make a get() request to retrieve a
# TargetVpnGateway.
# Corresponds to the JSON property `labelFingerprint`
@@ -28880,7 +29266,8 @@ module Google
# Fingerprint of this resource. A hash of the contents stored in this object.
# This field is used in optimistic locking. This field will be ignored when
# inserting a UrlMap. An up-to-date fingerprint must be provided in order to
# update the UrlMap.
# update the UrlMap, otherwise the request will fail with error 412
# conditionNotMet.
# To see the latest fingerprint, make a get() request to retrieve a UrlMap.
# Corresponds to the JSON property `fingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -29852,7 +30239,8 @@ module Google
# essentially a hash of the labels set used for optimistic locking. The
# fingerprint is initially generated by Compute Engine and changes after every
# request to modify or update labels. You must always provide an up-to-date
# fingerprint hash in order to update or change labels.
# fingerprint hash in order to update or change labels, otherwise the request
# will fail with error 412 conditionNotMet.
# To see the latest fingerprint, make a get() request to retrieve an VpnGateway.
# Corresponds to the JSON property `labelFingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -30309,7 +30697,8 @@ module Google
# essentially a hash of the labels set used for optimistic locking. The
# fingerprint is initially generated by Compute Engine and changes after every
# request to modify or update labels. You must always provide an up-to-date
# fingerprint hash in order to update or change labels.
# fingerprint hash in order to update or change labels, otherwise the request
# will fail with error 412 conditionNotMet.
# To see the latest fingerprint, make a get() request to retrieve a VpnTunnel.
# Corresponds to the JSON property `labelFingerprint`
# NOTE: Values are automatically base64 encoded/decoded in the client library.