Autogenerated update (2019-02-20)

Update:
- adexchangebuyer2_v2beta1
- admin_directory_v1
- alertcenter_v1beta1
- androidmanagement_v1
- appengine_v1
- appengine_v1beta
- bigquery_v2
- bigquerydatatransfer_v1
- binaryauthorization_v1beta1
- cloudsearch_v1
- cloudtasks_v2beta2
- cloudtasks_v2beta3
- composer_v1
- composer_v1beta1
- compute_alpha
- compute_beta
- container_v1beta1
- content_v2
- content_v2_1
- dataflow_v1b3
- dfareporting_v3_3
- dialogflow_v2
- dialogflow_v2beta1
- dlp_v2
- docs_v1
- firebasedynamiclinks_v1
- fitness_v1
- genomics_v1
- genomics_v1alpha2
- genomics_v2alpha1
- jobs_v3p1beta1
- monitoring_v3
- remotebuildexecution_v1
- remotebuildexecution_v1alpha
- remotebuildexecution_v2
- serviceconsumermanagement_v1
- servicecontrol_v1
- servicemanagement_v1
- servicenetworking_v1beta
- serviceusage_v1
- serviceusage_v1beta1
- speech_v1
- speech_v1p1beta1
- sqladmin_v1beta4
- storage_v1
- testing_v1
- toolresults_v1beta3
- tpu_v1
- tpu_v1alpha1
- vision_v1
- vision_v1p1beta1
- vision_v1p2beta1
- youtube_partner_v1
This commit is contained in:
Google APIs committed 2019-02-20 02:14:27 +00:00
1 parent 6e90789b27
commit e6ea6069c9
130 files changed
+16824 -538

No files matched your search

+328 -25
View File
@@ -1052,7 +1052,8 @@ module Google
# @return [String]
attr_accessor :creation_timestamp
#
# An optional description of this resource. Provide this property when you
# create the resource.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
@@ -1097,7 +1098,8 @@ module Google
attr_accessor :specific_allocation_required
alias_method :specific_allocation_required?, :specific_allocation_required
#
# Zone in which the allocation resides, must be provided if allocation is
# created with commitment creation.
# Corresponds to the JSON property `zone`
# @return [String]
attr_accessor :zone
@@ -1486,6 +1488,26 @@ module Google
end
end
#
class AllocationsResizeRequest
include Google::Apis::Core::Hashable
# Number of allocated resources can be resized with minimum = 1 and maximum =
# 1000.
# Corresponds to the JSON property `specificSkuCount`
# @return [Fixnum]
attr_accessor :specific_sku_count
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@specific_sku_count = args[:specific_sku_count] if args.key?(:specific_sku_count)
end
end
#
class AllocationsScopedList
include Google::Apis::Core::Hashable
@@ -1740,6 +1762,15 @@ module Google
# @return [String]
attr_accessor :disk_type
# A list of features to enable on the guest operating system. Applicable only
# for bootable images. Read Enabling guest operating system features to see a
# list of available options.
# Guest OS features are applied by merging initializeParams.guestOsFeatures and
# disks.guestOsFeatures
# Corresponds to the JSON property `guestOsFeatures`
# @return [Array<Google::Apis::ComputeBeta::GuestOsFeature>]
attr_accessor :guest_os_features
# Labels to apply to this disk. These can be later modified by the disks.
# setLabels method. This field is only applicable for persistent disks.
# Corresponds to the JSON property `labels`
@@ -1781,6 +1812,7 @@ module Google
@disk_name = args[:disk_name] if args.key?(:disk_name)
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
@disk_type = args[:disk_type] if args.key?(:disk_type)
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
@labels = args[:labels] if args.key?(:labels)
@source_image = args[:source_image] if args.key?(:source_image)
@source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
@@ -2979,6 +3011,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::ComputeBeta::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-
@@ -3067,6 +3105,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)
@@ -3417,6 +3456,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
@@ -4126,12 +4197,7 @@ module Google
# @return [String]
attr_accessor :sys
# DEPRECATED. Use 'values' instead.
# Corresponds to the JSON property `value`
# @return [String]
attr_accessor :value
# The objects of the condition. This is mutually exclusive with 'value'.
# The objects of the condition.
# Corresponds to the JSON property `values`
# @return [Array<String>]
attr_accessor :values
@@ -4146,7 +4212,6 @@ module Google
@op = args[:op] if args.key?(:op)
@svc = args[:svc] if args.key?(:svc)
@sys = args[:sys] if args.key?(:sys)
@value = args[:value] if args.key?(:value)
@values = args[:values] if args.key?(:values)
end
end
@@ -6199,6 +6264,15 @@ module Google
attr_accessor :all_ports
alias_method :all_ports?, :all_ports
# This field is used along with the backend_service field for internal load
# balancing or with the target field for internal TargetInstance. If the field
# is set to TRUE, clients can access ILB from all regions. Otherwise only allows
# access from clients in the same region as the internal load balancer.
# Corresponds to the JSON property `allowGlobalAccess`
# @return [Boolean]
attr_accessor :allow_global_access
alias_method :allow_global_access?, :allow_global_access
# This field is only used for INTERNAL load balancing.
# For internal load balancing, this field identifies the BackendService resource
# to receive the matched traffic.
@@ -6368,7 +6442,7 @@ module Google
# forwarding rules, this target must live in the same region as the forwarding
# rule. For global forwarding rules, this target must be a global load balancing
# resource. The forwarded traffic must be of a type appropriate to the target
# object. For INTERNAL_SELF_MANAGED" load balancing, only HTTP and HTTPS targets
# object. For INTERNAL_SELF_MANAGED load balancing, only HTTP and HTTPS targets
# are valid.
# Corresponds to the JSON property `target`
# @return [String]
@@ -6383,6 +6457,7 @@ module Google
@ip_address = args[:ip_address] if args.key?(:ip_address)
@ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol)
@all_ports = args[:all_ports] if args.key?(:all_ports)
@allow_global_access = args[:allow_global_access] if args.key?(:allow_global_access)
@backend_service = args[:backend_service] if args.key?(:backend_service)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@description = args[:description] if args.key?(:description)
@@ -8554,6 +8629,17 @@ module Google
# @return [Array<Google::Apis::ComputeBeta::ServiceAccount>]
attr_accessor :service_accounts
# A set of Shielded Instance options.
# Corresponds to the JSON property `shieldedInstanceConfig`
# @return [Google::Apis::ComputeBeta::ShieldedInstanceConfig]
attr_accessor :shielded_instance_config
# The policy describes the baseline against which Instance boot integrity is
# measured.
# Corresponds to the JSON property `shieldedInstanceIntegrityPolicy`
# @return [Google::Apis::ComputeBeta::ShieldedInstanceIntegrityPolicy]
attr_accessor :shielded_instance_integrity_policy
# A set of Shielded VM options.
# Corresponds to the JSON property `shieldedVmConfig`
# @return [Google::Apis::ComputeBeta::ShieldedVmConfig]
@@ -8624,6 +8710,8 @@ module Google
@scheduling = args[:scheduling] if args.key?(:scheduling)
@self_link = args[:self_link] if args.key?(:self_link)
@service_accounts = args[:service_accounts] if args.key?(:service_accounts)
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
@shielded_instance_integrity_policy = args[:shielded_instance_integrity_policy] if args.key?(:shielded_instance_integrity_policy)
@shielded_vm_config = args[:shielded_vm_config] if args.key?(:shielded_vm_config)
@shielded_vm_integrity_policy = args[:shielded_vm_integrity_policy] if args.key?(:shielded_vm_integrity_policy)
@start_restricted = args[:start_restricted] if args.key?(:start_restricted)
@@ -10749,6 +10837,11 @@ module Google
# @return [Array<Google::Apis::ComputeBeta::ServiceAccount>]
attr_accessor :service_accounts
# A set of Shielded Instance options.
# Corresponds to the JSON property `shieldedInstanceConfig`
# @return [Google::Apis::ComputeBeta::ShieldedInstanceConfig]
attr_accessor :shielded_instance_config
# A set of Shielded VM options.
# Corresponds to the JSON property `shieldedVmConfig`
# @return [Google::Apis::ComputeBeta::ShieldedVmConfig]
@@ -10778,6 +10871,7 @@ module Google
@network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
@scheduling = args[:scheduling] if args.key?(:scheduling)
@service_accounts = args[:service_accounts] if args.key?(:service_accounts)
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
@shielded_vm_config = args[:shielded_vm_config] if args.key?(:shielded_vm_config)
@tags = args[:tags] if args.key?(:tags)
end
@@ -12227,15 +12321,21 @@ module Google
class InterconnectDiagnosticsLinkOpticalPower
include Google::Apis::Core::Hashable
#
# The status of the current value when compared to the warning and alarm levels
# for the receiving or transmitting transceiver. Possible states include:
# - OK: The value has not crossed a warning threshold.
# - LOW_WARNING: The value has crossed below the low warning threshold.
# - HIGH_WARNING: The value has crossed above the high warning threshold.
# - LOW_ALARM: The value has crossed below the low alarm threshold.
# - HIGH_ALARM: The value has crossed above the high alarm threshold.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
# 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.
# Value of the current receiving or transmitting 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
@@ -12276,12 +12376,14 @@ module Google
# @return [Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkLacpStatus]
attr_accessor :lacp_status
#
# An InterconnectDiagnostics.LinkOpticalPower object, describing the current
# value and status of the received light level.
# Corresponds to the JSON property `receivingOpticalPower`
# @return [Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkOpticalPower]
attr_accessor :receiving_optical_power
#
# An InterconnectDiagnostics.LinkOpticalPower object, describing the current
# value and status of the transmitted light level.
# Corresponds to the JSON property `transmittingOpticalPower`
# @return [Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkOpticalPower]
attr_accessor :transmitting_optical_power
@@ -13920,9 +14022,9 @@ module Google
class Network
include Google::Apis::Core::Hashable
# The range of internal addresses that are legal on this network. This range is
# a CIDR specification, for example: 192.168.0.0/16. Provided by the client when
# the network is created.
# Deprecated in favor of subnet mode networks. The range of internal addresses
# that are legal on this network. This range is a CIDR specification, for
# example: 192.168.0.0/16. Provided by the client when the network is created.
# Corresponds to the JSON property `IPv4Range`
# @return [String]
attr_accessor :i_pv4_range
@@ -14942,10 +15044,12 @@ module Google
class NetworkPeering
include Google::Apis::Core::Hashable
# 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.
# This field will be deprecated soon. Prefer using exchange_subnet_routes
# instead. 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
@@ -15045,7 +15149,9 @@ module Google
class NetworksAddPeeringRequest
include Google::Apis::Core::Hashable
# Whether Google Compute Engine manages the routes automatically.
# This field will be deprecated soon. Prefer using exchange_subnet_routes in
# network_peering instead. Whether Google Compute Engine manages the routes
# automatically.
# Corresponds to the JSON property `autoCreateRoutes`
# @return [Boolean]
attr_accessor :auto_create_routes
@@ -15462,6 +15568,11 @@ module Google
# @return [String]
attr_accessor :node_type
# Binding properties for the physical server.
# Corresponds to the JSON property `serverBinding`
# @return [Google::Apis::ComputeBeta::ServerBinding]
attr_accessor :server_binding
#
# Corresponds to the JSON property `status`
# @return [String]
@@ -15476,6 +15587,7 @@ module Google
@instances = args[:instances] if args.key?(:instances)
@name = args[:name] if args.key?(:name)
@node_type = args[:node_type] if args.key?(:node_type)
@server_binding = args[:server_binding] if args.key?(:server_binding)
@status = args[:status] if args.key?(:status)
end
end
@@ -15814,6 +15926,11 @@ module Google
# @return [String]
attr_accessor :self_link
# Binding properties for the physical server.
# Corresponds to the JSON property `serverBinding`
# @return [Google::Apis::ComputeBeta::ServerBinding]
attr_accessor :server_binding
# [Output Only] The status of the node template. One of the following values:
# CREATING, READY, and DELETING.
# Corresponds to the JSON property `status`
@@ -15841,6 +15958,7 @@ module Google
@node_type_flexibility = args[:node_type_flexibility] if args.key?(:node_type_flexibility)
@region = args[:region] if args.key?(:region)
@self_link = args[:self_link] if args.key?(:self_link)
@server_binding = args[:server_binding] if args.key?(:server_binding)
@status = args[:status] if args.key?(:status)
@status_message = args[:status_message] if args.key?(:status_message)
end
@@ -17929,6 +18047,26 @@ module Google
end
end
#
class RegionCommitmentsUpdateAllocationsRequest
include Google::Apis::Core::Hashable
# List of allocations for the capacity move of VMs with accelerators and local
# ssds.
# Corresponds to the JSON property `allocations`
# @return [Array<Google::Apis::ComputeBeta::Allocation>]
attr_accessor :allocations
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@allocations = args[:allocations] if args.key?(:allocations)
end
end
#
class RegionDiskTypeList
include Google::Apis::Core::Hashable
@@ -18876,6 +19014,12 @@ module Google
class ResourceCommitment
include Google::Apis::Core::Hashable
# Name of the accelerator type resource. Applicable only when the type is
# ACCELERATOR.
# Corresponds to the JSON property `acceleratorType`
# @return [String]
attr_accessor :accelerator_type
# The amount of the resource purchased (in a type-dependent unit, such as bytes).
# For vCPUs, this can just be an integer. For memory, this must be provided in
# MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every
@@ -18896,6 +19040,7 @@ module Google
# Update properties of this object
def update!(**args)
@accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
@amount = args[:amount] if args.key?(:amount)
@type = args[:type] if args.key?(:type)
end
@@ -21571,6 +21716,25 @@ module Google
end
end
#
class ServerBinding
include Google::Apis::Core::Hashable
#
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@type = args[:type] if args.key?(:type)
end
end
# A service account.
class ServiceAccount
include Google::Apis::Core::Hashable
@@ -21596,6 +21760,119 @@ module Google
end
end
# A set of Shielded Instance options.
class ShieldedInstanceConfig
include Google::Apis::Core::Hashable
# Defines whether the instance has integrity monitoring enabled.
# Corresponds to the JSON property `enableIntegrityMonitoring`
# @return [Boolean]
attr_accessor :enable_integrity_monitoring
alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
# Defines whether the instance has Secure Boot enabled.
# Corresponds to the JSON property `enableSecureBoot`
# @return [Boolean]
attr_accessor :enable_secure_boot
alias_method :enable_secure_boot?, :enable_secure_boot
# Defines whether the instance has the vTPM enabled.
# Corresponds to the JSON property `enableVtpm`
# @return [Boolean]
attr_accessor :enable_vtpm
alias_method :enable_vtpm?, :enable_vtpm
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enable_integrity_monitoring = args[:enable_integrity_monitoring] if args.key?(:enable_integrity_monitoring)
@enable_secure_boot = args[:enable_secure_boot] if args.key?(:enable_secure_boot)
@enable_vtpm = args[:enable_vtpm] if args.key?(:enable_vtpm)
end
end
# A shielded Instance identity entry.
class ShieldedInstanceIdentity
include Google::Apis::Core::Hashable
# A Shielded Instance Identity Entry.
# Corresponds to the JSON property `encryptionKey`
# @return [Google::Apis::ComputeBeta::ShieldedInstanceIdentityEntry]
attr_accessor :encryption_key
# [Output Only] Type of the resource. Always compute#shieldedInstanceIdentity
# for shielded Instance identity entry.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# A Shielded Instance Identity Entry.
# Corresponds to the JSON property `signingKey`
# @return [Google::Apis::ComputeBeta::ShieldedInstanceIdentityEntry]
attr_accessor :signing_key
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@encryption_key = args[:encryption_key] if args.key?(:encryption_key)
@kind = args[:kind] if args.key?(:kind)
@signing_key = args[:signing_key] if args.key?(:signing_key)
end
end
# A Shielded Instance Identity Entry.
class ShieldedInstanceIdentityEntry
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
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@ek_cert = args[:ek_cert] if args.key?(:ek_cert)
@ek_pub = args[:ek_pub] if args.key?(:ek_pub)
end
end
# The policy describes the baseline against which Instance boot integrity is
# measured.
class ShieldedInstanceIntegrityPolicy
include Google::Apis::Core::Hashable
# Updates the integrity policy baseline using the measurements from the VM
# instance's most recent boot.
# Corresponds to the JSON property `updateAutoLearnPolicy`
# @return [Boolean]
attr_accessor :update_auto_learn_policy
alias_method :update_auto_learn_policy?, :update_auto_learn_policy
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@update_auto_learn_policy = args[:update_auto_learn_policy] if args.key?(:update_auto_learn_policy)
end
end
# A set of Shielded VM options.
class ShieldedVmConfig
include Google::Apis::Core::Hashable
@@ -26581,6 +26858,29 @@ module Google
# @return [String]
attr_accessor :name
# URL of the peer side external VPN gateway to which this VPN tunnel is
# connected. Provided by the client when the VPN tunnel is created. This field
# is exclusive with the field peerGcpGateway.
# Corresponds to the JSON property `peerExternalGateway`
# @return [String]
attr_accessor :peer_external_gateway
# The interface ID of the external VPN gateway to which this VPN tunnel is
# connected. Provided by the client when the VPN tunnel is created.
# Corresponds to the JSON property `peerExternalGatewayInterface`
# @return [Fixnum]
attr_accessor :peer_external_gateway_interface
# URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected.
# Provided by the client when the VPN tunnel is created. This field can be used
# when creating highly available VPN from VPC network to VPC network, the field
# is exclusive with the field peerExternalGateway. If provided, the VPN tunnel
# will automatically use the same vpnGatewayInterface ID in the peer GCP VPN
# gateway.
# Corresponds to the JSON property `peerGcpGateway`
# @return [String]
attr_accessor :peer_gcp_gateway
# IP address of the peer VPN gateway. Only IPv4 is supported.
# Corresponds to the JSON property `peerIp`
# @return [String]
@@ -26648,6 +26948,9 @@ module Google
@labels = args[:labels] if args.key?(:labels)
@local_traffic_selector = args[:local_traffic_selector] if args.key?(:local_traffic_selector)
@name = args[:name] if args.key?(:name)
@peer_external_gateway = args[:peer_external_gateway] if args.key?(:peer_external_gateway)
@peer_external_gateway_interface = args[:peer_external_gateway_interface] if args.key?(:peer_external_gateway_interface)
@peer_gcp_gateway = args[:peer_gcp_gateway] if args.key?(:peer_gcp_gateway)
@peer_ip = args[:peer_ip] if args.key?(:peer_ip)
@region = args[:region] if args.key?(:region)
@remote_traffic_selector = args[:remote_traffic_selector] if args.key?(:remote_traffic_selector)
@@ -226,6 +226,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class AllocationsResizeRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AllocationsScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -460,6 +466,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
@@ -2428,6 +2440,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class RegionCommitmentsUpdateAllocationsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RegionDiskTypeList
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -2980,12 +2998,42 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ServerBinding
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ServiceAccount
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ShieldedInstanceConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ShieldedInstanceIdentity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ShieldedInstanceIdentityEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ShieldedInstanceIntegrityPolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ShieldedVmConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -4217,6 +4265,13 @@ module Google
end
end
class AllocationsResizeRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :specific_sku_count, :numeric_string => true, as: 'specificSkuCount'
end
end
class AllocationsScopedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -4274,6 +4329,8 @@ module Google
property :disk_name, as: 'diskName'
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
property :disk_type, as: 'diskType'
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeBeta::GuestOsFeature, decorator: Google::Apis::ComputeBeta::GuestOsFeature::Representation
hash :labels, as: 'labels'
property :source_image, as: 'sourceImage'
property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
@@ -4560,6 +4617,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::ComputeBeta::BackendServiceLogConfig, decorator: Google::Apis::ComputeBeta::BackendServiceLogConfig::Representation
property :name, as: 'name'
property :port, as: 'port'
property :port_name, as: 'portName'
@@ -4665,6 +4724,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
@@ -4850,7 +4917,6 @@ module Google
property :op, as: 'op'
property :svc, as: 'svc'
property :sys, as: 'sys'
property :value, as: 'value'
collection :values, as: 'values'
end
end
@@ -5348,6 +5414,7 @@ module Google
property :ip_address, as: 'IPAddress'
property :ip_protocol, as: 'IPProtocol'
property :all_ports, as: 'allPorts'
property :allow_global_access, as: 'allowGlobalAccess'
property :backend_service, as: 'backendService'
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
@@ -5880,6 +5947,10 @@ module Google
property :self_link, as: 'selfLink'
collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ComputeBeta::ServiceAccount, decorator: Google::Apis::ComputeBeta::ServiceAccount::Representation
property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::ComputeBeta::ShieldedInstanceConfig, decorator: Google::Apis::ComputeBeta::ShieldedInstanceConfig::Representation
property :shielded_instance_integrity_policy, as: 'shieldedInstanceIntegrityPolicy', class: Google::Apis::ComputeBeta::ShieldedInstanceIntegrityPolicy, decorator: Google::Apis::ComputeBeta::ShieldedInstanceIntegrityPolicy::Representation
property :shielded_vm_config, as: 'shieldedVmConfig', class: Google::Apis::ComputeBeta::ShieldedVmConfig, decorator: Google::Apis::ComputeBeta::ShieldedVmConfig::Representation
property :shielded_vm_integrity_policy, as: 'shieldedVmIntegrityPolicy', class: Google::Apis::ComputeBeta::ShieldedVmIntegrityPolicy, decorator: Google::Apis::ComputeBeta::ShieldedVmIntegrityPolicy::Representation
@@ -6451,6 +6522,8 @@ module Google
collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ComputeBeta::ServiceAccount, decorator: Google::Apis::ComputeBeta::ServiceAccount::Representation
property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::ComputeBeta::ShieldedInstanceConfig, decorator: Google::Apis::ComputeBeta::ShieldedInstanceConfig::Representation
property :shielded_vm_config, as: 'shieldedVmConfig', class: Google::Apis::ComputeBeta::ShieldedVmConfig, decorator: Google::Apis::ComputeBeta::ShieldedVmConfig::Representation
property :tags, as: 'tags', class: Google::Apis::ComputeBeta::Tags, decorator: Google::Apis::ComputeBeta::Tags::Representation
@@ -7657,6 +7730,8 @@ module Google
collection :instances, as: 'instances'
property :name, as: 'name'
property :node_type, as: 'nodeType'
property :server_binding, as: 'serverBinding', class: Google::Apis::ComputeBeta::ServerBinding, decorator: Google::Apis::ComputeBeta::ServerBinding::Representation
property :status, as: 'status'
end
end
@@ -7756,6 +7831,8 @@ module Google
property :region, as: 'region'
property :self_link, as: 'selfLink'
property :server_binding, as: 'serverBinding', class: Google::Apis::ComputeBeta::ServerBinding, decorator: Google::Apis::ComputeBeta::ServerBinding::Representation
property :status, as: 'status'
property :status_message, as: 'statusMessage'
end
@@ -8305,6 +8382,14 @@ module Google
end
end
class RegionCommitmentsUpdateAllocationsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :allocations, as: 'allocations', class: Google::Apis::ComputeBeta::Allocation, decorator: Google::Apis::ComputeBeta::Allocation::Representation
end
end
class RegionDiskTypeList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -8578,6 +8663,7 @@ module Google
class ResourceCommitment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :accelerator_type, as: 'acceleratorType'
property :amount, :numeric_string => true, as: 'amount'
property :type, as: 'type'
end
@@ -9268,6 +9354,13 @@ module Google
end
end
class ServerBinding
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :type, as: 'type'
end
end
class ServiceAccount
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -9276,6 +9369,41 @@ module Google
end
end
class ShieldedInstanceConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
property :enable_secure_boot, as: 'enableSecureBoot'
property :enable_vtpm, as: 'enableVtpm'
end
end
class ShieldedInstanceIdentity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :encryption_key, as: 'encryptionKey', class: Google::Apis::ComputeBeta::ShieldedInstanceIdentityEntry, decorator: Google::Apis::ComputeBeta::ShieldedInstanceIdentityEntry::Representation
property :kind, as: 'kind'
property :signing_key, as: 'signingKey', class: Google::Apis::ComputeBeta::ShieldedInstanceIdentityEntry, decorator: Google::Apis::ComputeBeta::ShieldedInstanceIdentityEntry::Representation
end
end
class ShieldedInstanceIdentityEntry
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ek_cert, as: 'ekCert'
property :ek_pub, as: 'ekPub'
end
end
class ShieldedInstanceIntegrityPolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :update_auto_learn_policy, as: 'updateAutoLearnPolicy'
end
end
class ShieldedVmConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -10551,6 +10679,9 @@ module Google
hash :labels, as: 'labels'
collection :local_traffic_selector, as: 'localTrafficSelector'
property :name, as: 'name'
property :peer_external_gateway, as: 'peerExternalGateway'
property :peer_external_gateway_interface, as: 'peerExternalGatewayInterface'
property :peer_gcp_gateway, as: 'peerGcpGateway'
property :peer_ip, as: 'peerIp'
property :region, as: 'region'
collection :remote_traffic_selector, as: 'remoteTrafficSelector'
+261 -1
View File
@@ -946,6 +946,60 @@ module Google
execute_or_queue_command(command, &block)
end
# Resizes the allocation (applicable to standalone allocations only)
# @param [String] project
# Project ID for this request.
# @param [String] zone
# Name of the zone for this request.
# @param [String] allocation
# Name of the allocation to update.
# @param [Google::Apis::ComputeBeta::AllocationsResizeRequest] allocations_resize_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. 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::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::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 resize_allocation(project, zone, allocation, allocations_resize_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}/allocations/{allocation}/resize', options)
command.request_representation = Google::Apis::ComputeBeta::AllocationsResizeRequest::Representation
command.request_object = allocations_resize_request_object
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['allocation'] = allocation unless allocation.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
# Sets the access control policy on the specified resource. Replaces any
# existing policy.
# @param [String] project
@@ -8604,7 +8658,7 @@ module Google
# @param [Google::Apis::ComputeBeta::AttachedDisk] attached_disk_object
# @param [Boolean] force_attach
# Whether to force attach the disk even if it's currently attached to another
# instance. This is only available for regional disks.
# instance.
# @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
@@ -8989,6 +9043,45 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns the Shielded Instance Identity of an instance
# @param [String] project
# Project ID for this request.
# @param [String] zone
# The name of the zone for this request.
# @param [String] instance
# Name or id of the instance scoping 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::ComputeBeta::ShieldedInstanceIdentity] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::ShieldedInstanceIdentity]
#
# @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_instance_shielded_instance_identity(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity', options)
command.response_representation = Google::Apis::ComputeBeta::ShieldedInstanceIdentity::Representation
command.response_class = Google::Apis::ComputeBeta::ShieldedInstanceIdentity
command.params['project'] = project unless project.nil?
command.params['zone'] = zone unless zone.nil?
command.params['instance'] = instance unless instance.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
# Returns the Shielded VM Identity of an instance
# @param [String] project
# Project ID for this request.
@@ -9887,6 +9980,62 @@ module Google
execute_or_queue_command(command, &block)
end
# Sets the Shielded Instance integrity policy for an instance. You can only use
# this method on a running 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 or id of the instance scoping this request.
# @param [Google::Apis::ComputeBeta::ShieldedInstanceIntegrityPolicy] shielded_instance_integrity_policy_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::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::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 set_instance_shielded_instance_integrity_policy(project, zone, instance, shielded_instance_integrity_policy_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}/setShieldedInstanceIntegrityPolicy', options)
command.request_representation = Google::Apis::ComputeBeta::ShieldedInstanceIntegrityPolicy::Representation
command.request_object = shielded_instance_integrity_policy_object
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::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
# Sets the Shielded VM integrity policy for a VM instance. You can only use this
# method on a running VM instance. This method supports PATCH semantics and uses
# the JSON merge patch format and processing rules.
@@ -10473,6 +10622,62 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates the Shielded Instance config for an instance. You can only use this
# method on a stopped 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 or id of the instance scoping this request.
# @param [Google::Apis::ComputeBeta::ShieldedInstanceConfig] shielded_instance_config_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::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::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_shielded_instance_config(project, zone, instance, shielded_instance_config_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}/updateShieldedInstanceConfig', options)
command.request_representation = Google::Apis::ComputeBeta::ShieldedInstanceConfig::Representation
command.request_object = shielded_instance_config_object
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::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 the Shielded VM 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.
@@ -15999,6 +16204,61 @@ module Google
execute_or_queue_command(command, &block)
end
# Update the shape of allocations for GPUS/Local SSDs of allocations within the
# commitments.
# @param [String] project
# Project ID for this request.
# @param [String] region
# Name of the region for this request.
# @param [String] commitment
# Name of the commitment of which the allocation's capacities are being updated.
# @param [Google::Apis::ComputeBeta::RegionCommitmentsUpdateAllocationsRequest] region_commitments_update_allocations_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. 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::ComputeBeta::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ComputeBeta::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_region_commitment_allocations(project, region, commitment, region_commitments_update_allocations_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{project}/regions/{region}/commitments/{commitment}/updateAllocations', options)
command.request_representation = Google::Apis::ComputeBeta::RegionCommitmentsUpdateAllocationsRequest::Representation
command.request_object = region_commitments_update_allocations_request_object
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
command.response_class = Google::Apis::ComputeBeta::Operation
command.params['project'] = project unless project.nil?
command.params['region'] = region unless region.nil?
command.params['commitment'] = commitment unless commitment.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
# Returns the specified regional disk type. Gets a list of available disk types
# by making a list() request.
# @param [String] project