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:
1 parent
42f94aee71
commit
2be58afd60
29 files changed
+9554
-297
No files matched your search
@@ -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.
|
||||
|
||||
@@ -502,6 +502,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class BackendServiceLogConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class BackendServiceReference
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -784,6 +790,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DisplayDevice
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DistributionPolicy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -862,6 +874,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class FirewallLogConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class FixedOrPercent
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -1312,6 +1330,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class InstanceGroupManagersCreateInstancesRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class InstanceGroupManagersDeleteInstancesRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -2260,6 +2284,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NodeGroupAutoscalingPolicy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NodeGroupList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -2578,6 +2608,18 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PreservedState
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PreservedStatePreservedDisk
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Project
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -3502,6 +3544,18 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class StatefulPolicyPreservedState
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class StatefulPolicyPreservedStateDiskDevice
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Subnetwork
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -3544,6 +3598,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SubnetworkLogConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SubnetworkSecondaryRange
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -5159,6 +5219,8 @@ module Google
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :load_balancing_scheme, as: 'loadBalancingScheme'
|
||||
property :log_config, as: 'logConfig', class: Google::Apis::ComputeAlpha::BackendServiceLogConfig, decorator: Google::Apis::ComputeAlpha::BackendServiceLogConfig::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
property :port, as: 'port'
|
||||
property :port_name, as: 'portName'
|
||||
@@ -5302,6 +5364,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class BackendServiceLogConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :enable, as: 'enable'
|
||||
property :sample_rate, as: 'sampleRate'
|
||||
end
|
||||
end
|
||||
|
||||
class BackendServiceReference
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -5812,6 +5882,13 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class DisplayDevice
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :enable_display, as: 'enableDisplay'
|
||||
end
|
||||
end
|
||||
|
||||
class DistributionPolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -5895,6 +5972,8 @@ module Google
|
||||
property :enable_logging, as: 'enableLogging'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :log_config, as: 'logConfig', class: Google::Apis::ComputeAlpha::FirewallLogConfig, decorator: Google::Apis::ComputeAlpha::FirewallLogConfig::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
property :network, as: 'network'
|
||||
property :priority, as: 'priority'
|
||||
@@ -5955,6 +6034,13 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class FirewallLogConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :enable, as: 'enable'
|
||||
end
|
||||
end
|
||||
|
||||
class FixedOrPercent
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -6547,6 +6633,8 @@ module Google
|
||||
property :description, as: 'description'
|
||||
collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::AttachedDisk, decorator: Google::Apis::ComputeAlpha::AttachedDisk::Representation
|
||||
|
||||
property :display_device, as: 'displayDevice', class: Google::Apis::ComputeAlpha::DisplayDevice, decorator: Google::Apis::ComputeAlpha::DisplayDevice::Representation
|
||||
|
||||
collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeAlpha::AcceleratorConfig, decorator: Google::Apis::ComputeAlpha::AcceleratorConfig::Representation
|
||||
|
||||
property :hostname, as: 'hostname'
|
||||
@@ -6896,6 +6984,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class InstanceGroupManagersCreateInstancesRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :instances, as: 'instances', class: Google::Apis::ComputeAlpha::PerInstanceConfig, decorator: Google::Apis::ComputeAlpha::PerInstanceConfig::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class InstanceGroupManagersDeleteInstancesRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -6907,6 +7003,7 @@ module Google
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :instances, as: 'instances'
|
||||
collection :names, as: 'names'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -8109,6 +8206,10 @@ module Google
|
||||
|
||||
property :override, as: 'override', class: Google::Apis::ComputeAlpha::ManagedInstanceOverride, decorator: Google::Apis::ComputeAlpha::ManagedInstanceOverride::Representation
|
||||
|
||||
property :preserved_state_from_config, as: 'preservedStateFromConfig', class: Google::Apis::ComputeAlpha::PreservedState, decorator: Google::Apis::ComputeAlpha::PreservedState::Representation
|
||||
|
||||
property :preserved_state_from_policy, as: 'preservedStateFromPolicy', class: Google::Apis::ComputeAlpha::PreservedState, decorator: Google::Apis::ComputeAlpha::PreservedState::Representation
|
||||
|
||||
property :tag, as: 'tag'
|
||||
property :version, as: 'version', class: Google::Apis::ComputeAlpha::ManagedInstanceVersion, decorator: Google::Apis::ComputeAlpha::ManagedInstanceVersion::Representation
|
||||
|
||||
@@ -8481,6 +8582,7 @@ module Google
|
||||
class NetworkPeering
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :advertise_peer_subnets_via_routers, as: 'advertisePeerSubnetsViaRouters'
|
||||
property :auto_create_routes, as: 'autoCreateRoutes'
|
||||
property :exchange_subnet_routes, as: 'exchangeSubnetRoutes'
|
||||
property :export_custom_routes, as: 'exportCustomRoutes'
|
||||
@@ -8530,6 +8632,8 @@ module Google
|
||||
class NodeGroup
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :autoscaling_policy, as: 'autoscalingPolicy', class: Google::Apis::ComputeAlpha::NodeGroupAutoscalingPolicy, decorator: Google::Apis::ComputeAlpha::NodeGroupAutoscalingPolicy::Representation
|
||||
|
||||
property :creation_timestamp, as: 'creationTimestamp'
|
||||
property :description, as: 'description'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
@@ -8575,6 +8679,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class NodeGroupAutoscalingPolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :max_size, as: 'maxSize'
|
||||
property :min_size, as: 'minSize'
|
||||
end
|
||||
end
|
||||
|
||||
class NodeGroupList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -9115,8 +9227,11 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :fingerprint, :base64 => true, as: 'fingerprint'
|
||||
property :instance, as: 'instance'
|
||||
property :name, as: 'name'
|
||||
property :override, as: 'override', class: Google::Apis::ComputeAlpha::ManagedInstanceOverride, decorator: Google::Apis::ComputeAlpha::ManagedInstanceOverride::Representation
|
||||
|
||||
property :preserved_state, as: 'preservedState', class: Google::Apis::ComputeAlpha::PreservedState, decorator: Google::Apis::ComputeAlpha::PreservedState::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
@@ -9143,6 +9258,24 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class PreservedState
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
hash :disks, as: 'disks', class: Google::Apis::ComputeAlpha::PreservedStatePreservedDisk, decorator: Google::Apis::ComputeAlpha::PreservedStatePreservedDisk::Representation
|
||||
|
||||
hash :metadata, as: 'metadata'
|
||||
end
|
||||
end
|
||||
|
||||
class PreservedStatePreservedDisk
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :auto_delete, as: 'autoDelete'
|
||||
property :mode, as: 'mode'
|
||||
property :source, as: 'source'
|
||||
end
|
||||
end
|
||||
|
||||
class Project
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -9370,6 +9503,7 @@ module Google
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :instances, as: 'instances'
|
||||
collection :names, as: 'names'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -10757,6 +10891,8 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :preserved_resources, as: 'preservedResources', class: Google::Apis::ComputeAlpha::StatefulPolicyPreservedResources, decorator: Google::Apis::ComputeAlpha::StatefulPolicyPreservedResources::Representation
|
||||
|
||||
property :preserved_state, as: 'preservedState', class: Google::Apis::ComputeAlpha::StatefulPolicyPreservedState, decorator: Google::Apis::ComputeAlpha::StatefulPolicyPreservedState::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
@@ -10775,6 +10911,21 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class StatefulPolicyPreservedState
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
hash :disks, as: 'disks', class: Google::Apis::ComputeAlpha::StatefulPolicyPreservedStateDiskDevice, decorator: Google::Apis::ComputeAlpha::StatefulPolicyPreservedStateDiskDevice::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class StatefulPolicyPreservedStateDiskDevice
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :auto_delete, as: 'autoDelete'
|
||||
end
|
||||
end
|
||||
|
||||
class Subnetwork
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -10791,6 +10942,8 @@ module Google
|
||||
property :ip_cidr_range, as: 'ipCidrRange'
|
||||
property :ipv6_cidr_range, as: 'ipv6CidrRange'
|
||||
property :kind, as: 'kind'
|
||||
property :log_config, as: 'logConfig', class: Google::Apis::ComputeAlpha::SubnetworkLogConfig, decorator: Google::Apis::ComputeAlpha::SubnetworkLogConfig::Representation
|
||||
|
||||
property :metadata, as: 'metadata'
|
||||
property :name, as: 'name'
|
||||
property :network, as: 'network'
|
||||
@@ -10869,6 +11022,16 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class SubnetworkLogConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :aggregation_interval, as: 'aggregationInterval'
|
||||
property :enable, as: 'enable'
|
||||
property :flow_sampling, as: 'flowSampling'
|
||||
property :metadata, as: 'metadata'
|
||||
end
|
||||
end
|
||||
|
||||
class SubnetworkSecondaryRange
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
@@ -529,7 +529,7 @@ module Google
|
||||
# @param [String] region
|
||||
# The region for this request.
|
||||
# @param [String] resource
|
||||
# Name of the resource for this request.
|
||||
# Name or id of the resource for this request.
|
||||
# @param [Google::Apis::ComputeAlpha::RegionSetLabelsRequest] region_set_labels_request_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
@@ -2283,7 +2283,7 @@ module Google
|
||||
end
|
||||
|
||||
# Returns the specified BackendService resource. Gets a list of available
|
||||
# backend services by making a list() request.
|
||||
# backend services.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] backend_service
|
||||
@@ -3470,7 +3470,7 @@ module Google
|
||||
# @param [String] zone
|
||||
# The name of the zone for this request.
|
||||
# @param [String] resource
|
||||
# Name of the resource for this request.
|
||||
# Name or id of the resource for this request.
|
||||
# @param [Google::Apis::ComputeAlpha::ZoneSetLabelsRequest] zone_set_labels_request_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
@@ -4260,7 +4260,7 @@ module Google
|
||||
# @param [String] region
|
||||
# The region for this request.
|
||||
# @param [String] resource
|
||||
# Name of the resource for this request.
|
||||
# Name or id of the resource for this request.
|
||||
# @param [Google::Apis::ComputeAlpha::RegionSetLabelsRequest] region_set_labels_request_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
@@ -4615,7 +4615,7 @@ module Google
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] resource
|
||||
# Name of the resource for this request.
|
||||
# Name or id of the resource for this request.
|
||||
# @param [Google::Apis::ComputeAlpha::GlobalSetLabelsRequest] global_set_labels_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
@@ -4953,7 +4953,7 @@ module Google
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] resource
|
||||
# Name of the resource for this request.
|
||||
# Name or id of the resource for this request.
|
||||
# @param [Google::Apis::ComputeAlpha::GlobalSetLabelsRequest] global_set_labels_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
@@ -7025,7 +7025,7 @@ module Google
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] resource
|
||||
# Name of the resource for this request.
|
||||
# Name or id of the resource for this request.
|
||||
# @param [Google::Apis::ComputeAlpha::GlobalSetLabelsRequest] global_set_labels_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
@@ -7279,6 +7279,65 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates instances with per-instance configs in this managed instance group.
|
||||
# Instances are created using the current instance template. The create
|
||||
# instances operation is marked DONE if the createInstances request is
|
||||
# successful. The underlying actions take additional time. You must separately
|
||||
# verify the status of the creating or actions with the listmanagedinstances
|
||||
# method.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
# The name of the zone where the managed instance group is located. It should
|
||||
# conform to RFC1035.
|
||||
# @param [String] instance_group_manager
|
||||
# The name of the managed instance group. It should conform to RFC1035.
|
||||
# @param [Google::Apis::ComputeAlpha::InstanceGroupManagersCreateInstancesRequest] instance_group_managers_create_instances_request_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
# that if you must retry your request, the server will know to ignore the
|
||||
# request if it has already been completed.
|
||||
# For example, consider a situation where you make an initial request and the
|
||||
# request times out. If you make the request again with the same request ID, the
|
||||
# server can check if original operation with the same request ID was received,
|
||||
# and if so, will ignore the second request.
|
||||
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||
# supported (00000000-0000-0000-0000-000000000000).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def create_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_create_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances', options)
|
||||
command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersCreateInstancesRequest::Representation
|
||||
command.request_object = instance_group_managers_create_instances_request_object
|
||||
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::Operation
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['zone'] = zone unless zone.nil?
|
||||
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
||||
command.query['requestId'] = request_id unless request_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes the specified managed instance group and all of the instances in that
|
||||
# group. Note that the instance group must not belong to a backend service. Read
|
||||
# Deleting an instance group for more information.
|
||||
@@ -8029,7 +8088,8 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Modifies the autohealing policies.
|
||||
# Modifies the autohealing policies. [Deprecated] This method is deprecated.
|
||||
# Please use Patch instead.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
@@ -9624,9 +9684,10 @@ module Google
|
||||
# @param [String] zone
|
||||
# The name of the zone for this request.
|
||||
# @param [String] instance
|
||||
# Instance name.
|
||||
# Instance name for this request.
|
||||
# @param [String] device_name
|
||||
# Disk device name to detach.
|
||||
# The device name of the disk to detach. Make a get() request on the instance to
|
||||
# view currently attached disks and device names.
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
# that if you must retry your request, the server will know to ignore the
|
||||
@@ -10273,7 +10334,7 @@ module Google
|
||||
# @param [String] zone
|
||||
# The name of the zone for this request.
|
||||
# @param [String] resource
|
||||
# Name of the resource for this request.
|
||||
# Name or id of the resource for this request.
|
||||
# @param [Boolean] deletion_protection
|
||||
# Whether the resource should be protected against deletion.
|
||||
# @param [String] request_id
|
||||
@@ -10327,11 +10388,12 @@ module Google
|
||||
# @param [String] zone
|
||||
# The name of the zone for this request.
|
||||
# @param [String] instance
|
||||
# The instance name.
|
||||
# The instance name for this request.
|
||||
# @param [Boolean] auto_delete
|
||||
# Whether to auto-delete the disk when the instance is deleted.
|
||||
# @param [String] device_name
|
||||
# The device name of the disk to modify.
|
||||
# The device name of the disk to modify. Make a get() request on the instance to
|
||||
# view currently attached disks and device names.
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
# that if you must retry your request, the server will know to ignore the
|
||||
@@ -10702,7 +10764,7 @@ module Google
|
||||
# @param [String] zone
|
||||
# The name of the zone for this request.
|
||||
# @param [String] instance
|
||||
# Instance name.
|
||||
# Instance name for this request.
|
||||
# @param [Google::Apis::ComputeAlpha::Scheduling] scheduling_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
@@ -11282,6 +11344,62 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates the Display config for a VM instance. You can only use this method on
|
||||
# a stopped VM instance. This method supports PATCH semantics and uses the JSON
|
||||
# merge patch format and processing rules.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
# The name of the zone for this request.
|
||||
# @param [String] instance
|
||||
# Name of the instance scoping this request.
|
||||
# @param [Google::Apis::ComputeAlpha::DisplayDevice] display_device_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
# that if you must retry your request, the server will know to ignore the
|
||||
# request if it has already been completed.
|
||||
# For example, consider a situation where you make an initial request and the
|
||||
# request times out. If you make the request again with the same request ID, the
|
||||
# server can check if original operation with the same request ID was received,
|
||||
# and if so, will ignore the second request. This prevents clients from
|
||||
# accidentally creating duplicate commitments.
|
||||
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||
# supported (00000000-0000-0000-0000-000000000000).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def update_instance_display_device(project, zone, instance, display_device_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/updateDisplayDevice', options)
|
||||
command.request_representation = Google::Apis::ComputeAlpha::DisplayDevice::Representation
|
||||
command.request_object = display_device_object
|
||||
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::Operation
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['zone'] = zone unless zone.nil?
|
||||
command.params['instance'] = instance unless instance.nil?
|
||||
command.query['requestId'] = request_id unless request_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates an instance's network interface. This method follows PATCH semantics.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
@@ -11829,7 +11947,7 @@ module Google
|
||||
# @param [String] region
|
||||
# The region for this request.
|
||||
# @param [String] resource
|
||||
# Name of the resource for this request.
|
||||
# Name or id of the resource for this request.
|
||||
# @param [Google::Apis::ComputeAlpha::RegionSetLabelsRequest] region_set_labels_request_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
@@ -12443,7 +12561,7 @@ module Google
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] resource
|
||||
# Name of the resource for this request.
|
||||
# Name or id of the resource for this request.
|
||||
# @param [Google::Apis::ComputeAlpha::GlobalSetLabelsRequest] global_set_labels_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
@@ -14795,7 +14913,7 @@ module Google
|
||||
# @param [String] zone
|
||||
# The name of the zone for this request.
|
||||
# @param [String] node_group
|
||||
# Name of the NodeGroup resource to delete.
|
||||
# Name of the NodeGroup resource.
|
||||
# @param [Google::Apis::ComputeAlpha::NodeGroupsAddNodesRequest] node_groups_add_nodes_request_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
@@ -16045,6 +16163,519 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Inserts an association for the specified security policy.
|
||||
# @param [String] security_policy
|
||||
# Name of the security policy to update.
|
||||
# @param [Google::Apis::ComputeAlpha::SecurityPolicyAssociation] security_policy_association_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
# that if you must retry your request, the server will know to ignore the
|
||||
# request if it has already been completed.
|
||||
# For example, consider a situation where you make an initial request and the
|
||||
# request times out. If you make the request again with the same request ID, the
|
||||
# server can check if original operation with the same request ID was received,
|
||||
# and if so, will ignore the second request. This prevents clients from
|
||||
# accidentally creating duplicate commitments.
|
||||
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||
# supported (00000000-0000-0000-0000-000000000000).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def add_organization_security_policy_association(security_policy, security_policy_association_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'locations/global/securityPolicies/{securityPolicy}/addAssociation', options)
|
||||
command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyAssociation::Representation
|
||||
command.request_object = security_policy_association_object
|
||||
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::Operation
|
||||
command.params['securityPolicy'] = security_policy unless security_policy.nil?
|
||||
command.query['requestId'] = request_id unless request_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Inserts a rule into a security policy.
|
||||
# @param [String] security_policy
|
||||
# Name of the security policy to update.
|
||||
# @param [Google::Apis::ComputeAlpha::SecurityPolicyRule] security_policy_rule_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
# that if you must retry your request, the server will know to ignore the
|
||||
# request if it has already been completed.
|
||||
# For example, consider a situation where you make an initial request and the
|
||||
# request times out. If you make the request again with the same request ID, the
|
||||
# server can check if original operation with the same request ID was received,
|
||||
# and if so, will ignore the second request. This prevents clients from
|
||||
# accidentally creating duplicate commitments.
|
||||
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||
# supported (00000000-0000-0000-0000-000000000000).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def add_organization_security_policy_rule(security_policy, security_policy_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'locations/global/securityPolicies/{securityPolicy}/addRule', options)
|
||||
command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation
|
||||
command.request_object = security_policy_rule_object
|
||||
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::Operation
|
||||
command.params['securityPolicy'] = security_policy unless security_policy.nil?
|
||||
command.query['requestId'] = request_id unless request_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes the specified policy.
|
||||
# @param [String] security_policy
|
||||
# Name of the security policy to delete.
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
# that if you must retry your request, the server will know to ignore the
|
||||
# request if it has already been completed.
|
||||
# For example, consider a situation where you make an initial request and the
|
||||
# request times out. If you make the request again with the same request ID, the
|
||||
# server can check if original operation with the same request ID was received,
|
||||
# and if so, will ignore the second request. This prevents clients from
|
||||
# accidentally creating duplicate commitments.
|
||||
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||
# supported (00000000-0000-0000-0000-000000000000).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def delete_organization_security_policy(security_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'locations/global/securityPolicies/{securityPolicy}', options)
|
||||
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::Operation
|
||||
command.params['securityPolicy'] = security_policy unless security_policy.nil?
|
||||
command.query['requestId'] = request_id unless request_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# List all of the ordered rules present in a single specified policy.
|
||||
# @param [String] security_policy
|
||||
# Name of the security policy to get.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::SecurityPolicy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::SecurityPolicy]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_organization_security_policy(security_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'locations/global/securityPolicies/{securityPolicy}', options)
|
||||
command.response_representation = Google::Apis::ComputeAlpha::SecurityPolicy::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::SecurityPolicy
|
||||
command.params['securityPolicy'] = security_policy unless security_policy.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets an association with the specified name.
|
||||
# @param [String] security_policy
|
||||
# Name of the security policy to which the queried rule belongs.
|
||||
# @param [String] name
|
||||
# The name of the association to get from the security policy.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::SecurityPolicyAssociation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::SecurityPolicyAssociation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_organization_security_policy_association(security_policy, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'locations/global/securityPolicies/{securityPolicy}/getAssociation', options)
|
||||
command.response_representation = Google::Apis::ComputeAlpha::SecurityPolicyAssociation::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::SecurityPolicyAssociation
|
||||
command.params['securityPolicy'] = security_policy unless security_policy.nil?
|
||||
command.query['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets a rule at the specified priority.
|
||||
# @param [String] security_policy
|
||||
# Name of the security policy to which the queried rule belongs.
|
||||
# @param [Fixnum] priority
|
||||
# The priority of the rule to get from the security policy.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::SecurityPolicyRule] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::SecurityPolicyRule]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_organization_security_policy_rule(security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'locations/global/securityPolicies/{securityPolicy}/getRule', options)
|
||||
command.response_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::SecurityPolicyRule
|
||||
command.params['securityPolicy'] = security_policy unless security_policy.nil?
|
||||
command.query['priority'] = priority unless priority.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a new policy in the specified project using the data included in the
|
||||
# request.
|
||||
# @param [Google::Apis::ComputeAlpha::SecurityPolicy] security_policy_object
|
||||
# @param [String] parent_id
|
||||
# Parent ID for this request.
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
# that if you must retry your request, the server will know to ignore the
|
||||
# request if it has already been completed.
|
||||
# For example, consider a situation where you make an initial request and the
|
||||
# request times out. If you make the request again with the same request ID, the
|
||||
# server can check if original operation with the same request ID was received,
|
||||
# and if so, will ignore the second request. This prevents clients from
|
||||
# accidentally creating duplicate commitments.
|
||||
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||
# supported (00000000-0000-0000-0000-000000000000).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def insert_organization_security_policy(security_policy_object = nil, parent_id: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'locations/global/securityPolicies', options)
|
||||
command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicy::Representation
|
||||
command.request_object = security_policy_object
|
||||
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::Operation
|
||||
command.query['parentId'] = parent_id unless parent_id.nil?
|
||||
command.query['requestId'] = request_id unless request_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# List all the policies that have been configured for the specified project.
|
||||
# @param [String] filter
|
||||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
# nextPageToken that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||
# @param [String] order_by
|
||||
# Sorts list results by a certain order. By default, results are returned in
|
||||
# alphanumerical order based on the resource name.
|
||||
# You can also sort results in descending order based on the creation timestamp
|
||||
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||
# creationTimestamp field in reverse chronological order (newest result first).
|
||||
# Use this to sort resources like operations so that the newest operation is
|
||||
# returned first.
|
||||
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||
# @param [String] page_token
|
||||
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||
# a previous list request to get the next page of results.
|
||||
# @param [String] parent_id
|
||||
# Parent ID for this request.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::SecurityPolicyList] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::SecurityPolicyList]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_organization_security_policies(filter: nil, max_results: nil, order_by: nil, page_token: nil, parent_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'locations/global/securityPolicies', options)
|
||||
command.response_representation = Google::Apis::ComputeAlpha::SecurityPolicyList::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::SecurityPolicyList
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['maxResults'] = max_results unless max_results.nil?
|
||||
command.query['orderBy'] = order_by unless order_by.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['parentId'] = parent_id unless parent_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Patches a rule at the specified priority.
|
||||
# @param [String] security_policy
|
||||
# Name of the security policy to update.
|
||||
# @param [Google::Apis::ComputeAlpha::SecurityPolicyRule] security_policy_rule_object
|
||||
# @param [Fixnum] priority
|
||||
# The priority of the rule to patch.
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
# that if you must retry your request, the server will know to ignore the
|
||||
# request if it has already been completed.
|
||||
# For example, consider a situation where you make an initial request and the
|
||||
# request times out. If you make the request again with the same request ID, the
|
||||
# server can check if original operation with the same request ID was received,
|
||||
# and if so, will ignore the second request. This prevents clients from
|
||||
# accidentally creating duplicate commitments.
|
||||
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||
# supported (00000000-0000-0000-0000-000000000000).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_organization_security_policy_rule(security_policy, security_policy_rule_object = nil, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'locations/global/securityPolicies/{securityPolicy}/patchRule', options)
|
||||
command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation
|
||||
command.request_object = security_policy_rule_object
|
||||
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::Operation
|
||||
command.params['securityPolicy'] = security_policy unless security_policy.nil?
|
||||
command.query['priority'] = priority unless priority.nil?
|
||||
command.query['requestId'] = request_id unless request_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Removes an association for the specified security policy.
|
||||
# @param [String] security_policy
|
||||
# Name of the security policy to update.
|
||||
# @param [String] name
|
||||
# Name for the attachment that will be removed.
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
# that if you must retry your request, the server will know to ignore the
|
||||
# request if it has already been completed.
|
||||
# For example, consider a situation where you make an initial request and the
|
||||
# request times out. If you make the request again with the same request ID, the
|
||||
# server can check if original operation with the same request ID was received,
|
||||
# and if so, will ignore the second request. This prevents clients from
|
||||
# accidentally creating duplicate commitments.
|
||||
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||
# supported (00000000-0000-0000-0000-000000000000).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def remove_organization_security_policy_association(security_policy, name: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'locations/global/securityPolicies/{securityPolicy}/removeAssociation', options)
|
||||
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::Operation
|
||||
command.params['securityPolicy'] = security_policy unless security_policy.nil?
|
||||
command.query['name'] = name unless name.nil?
|
||||
command.query['requestId'] = request_id unless request_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes a rule at the specified priority.
|
||||
# @param [String] security_policy
|
||||
# Name of the security policy to update.
|
||||
# @param [Fixnum] priority
|
||||
# The priority of the rule to remove from the security policy.
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
# that if you must retry your request, the server will know to ignore the
|
||||
# request if it has already been completed.
|
||||
# For example, consider a situation where you make an initial request and the
|
||||
# request times out. If you make the request again with the same request ID, the
|
||||
# server can check if original operation with the same request ID was received,
|
||||
# and if so, will ignore the second request. This prevents clients from
|
||||
# accidentally creating duplicate commitments.
|
||||
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||
# supported (00000000-0000-0000-0000-000000000000).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def remove_organization_security_policy_rule(security_policy, priority: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'locations/global/securityPolicies/{securityPolicy}/removeRule', options)
|
||||
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::Operation
|
||||
command.params['securityPolicy'] = security_policy unless security_policy.nil?
|
||||
command.query['priority'] = priority unless priority.nil?
|
||||
command.query['requestId'] = request_id unless request_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Disable this project as a shared VPC host project.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
@@ -18367,7 +18998,7 @@ module Google
|
||||
# @param [String] region
|
||||
# The region for this request.
|
||||
# @param [String] resource
|
||||
# Name of the resource for this request.
|
||||
# Name or id of the resource for this request.
|
||||
# @param [Google::Apis::ComputeAlpha::RegionSetLabelsRequest] region_set_labels_request_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
@@ -19604,7 +20235,7 @@ module Google
|
||||
end
|
||||
|
||||
# Modifies the autohealing policy for the instances in this managed instance
|
||||
# group.
|
||||
# group. [Deprecated] This method is deprecated. Please use Patch instead.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
@@ -23642,7 +24273,7 @@ module Google
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] resource
|
||||
# Name of the resource for this request.
|
||||
# Name or id of the resource for this request.
|
||||
# @param [Google::Apis::ComputeAlpha::GlobalSetLabelsRequest] global_set_labels_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
@@ -23720,7 +24351,7 @@ module Google
|
||||
# snapshot might not necessarily delete all the data on that snapshot. If any
|
||||
# data on the snapshot that is marked for deletion is needed for subsequent
|
||||
# snapshots, the data will be moved to the next corresponding snapshot.
|
||||
# For more information, see Deleting snaphots.
|
||||
# For more information, see Deleting snapshots.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] snapshot
|
||||
@@ -23959,7 +24590,7 @@ module Google
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] resource
|
||||
# Name of the resource for this request.
|
||||
# Name or id of the resource for this request.
|
||||
# @param [Google::Apis::ComputeAlpha::GlobalSetLabelsRequest] global_set_labels_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
@@ -25174,10 +25805,9 @@ module Google
|
||||
end
|
||||
|
||||
# Patches the specified subnetwork with the data included in the request. Only
|
||||
# the following fields within the subnetwork resource can be specified in the
|
||||
# request: secondary_ip_range, allow_subnet_cidr_routes_overlap and role. It is
|
||||
# also mandatory to specify the current fingeprint of the subnetwork resource
|
||||
# being patched.
|
||||
# certain fields can up updated with a patch request as indicated in the field
|
||||
# descriptions. You must specify the current fingeprint of the subnetwork
|
||||
# resource being patched.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
@@ -28347,7 +28977,7 @@ module Google
|
||||
# @param [String] region
|
||||
# The region for this request.
|
||||
# @param [String] resource
|
||||
# Name of the resource for this request.
|
||||
# Name or id of the resource for this request.
|
||||
# @param [Google::Apis::ComputeAlpha::RegionSetLabelsRequest] region_set_labels_request_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
@@ -29244,7 +29874,7 @@ module Google
|
||||
# @param [String] region
|
||||
# The region for this request.
|
||||
# @param [String] resource
|
||||
# Name of the resource for this request.
|
||||
# Name or id of the resource for this request.
|
||||
# @param [Google::Apis::ComputeAlpha::RegionSetLabelsRequest] region_set_labels_request_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
@@ -29630,7 +30260,7 @@ module Google
|
||||
# @param [String] region
|
||||
# The region for this request.
|
||||
# @param [String] resource
|
||||
# Name of the resource for this request.
|
||||
# Name or id of the resource for this request.
|
||||
# @param [Google::Apis::ComputeAlpha::RegionSetLabelsRequest] region_set_labels_request_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
|
||||
Reference in new issue
Block a user