google-apis-compute_beta 0.77.0 → 0.78.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39266d2007383fdc317e6023df9d255f26fddf9b2f08e436de65fcef2695b9dd
|
4
|
+
data.tar.gz: 61850b589429c89611b910af8452f7ddbc688691fc2a28205ddc364b21c50cec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1be578bfebc94d24f71f3fd4b47c2cce536643ae2feb5282ae9fdfe2267f68f4a67035233b9dfe98ae367da3d8f38e8e691bdcee7d026e2beec683798d7da18
|
7
|
+
data.tar.gz: 4a16e30a03f1c77c92f3d1cab784a705f33cd002998693eabae8a7f77d60ea7aadfdbd7a7116d7459af43e1972ed19cf0d6250bd29c897ffa89fa306d3ed5c0a
|
data/CHANGELOG.md
CHANGED
@@ -6499,7 +6499,7 @@ module Google
|
|
6499
6499
|
# a persistent disk using the sourceImage, sourceSnapshot, or sourceDisk
|
6500
6500
|
# parameter, or specify it alone to create an empty persistent disk. If you
|
6501
6501
|
# specify this field along with a source, the value of sizeGb must not be less
|
6502
|
-
# than the size of the source. Acceptable values are
|
6502
|
+
# than the size of the source. Acceptable values are greater than 0.
|
6503
6503
|
# Corresponds to the JSON property `sizeGb`
|
6504
6504
|
# @return [Fixnum]
|
6505
6505
|
attr_accessor :size_gb
|
@@ -9592,6 +9592,16 @@ module Google
|
|
9592
9592
|
attr_accessor :allow_psc_global_access
|
9593
9593
|
alias_method :allow_psc_global_access?, :allow_psc_global_access
|
9594
9594
|
|
9595
|
+
# This is used in PSC consumer ForwardingRule to control whether the producer is
|
9596
|
+
# allowed to inject packets into the consumer's network. If set to true, the
|
9597
|
+
# target service attachment must have tunneling enabled and TunnelingConfig.
|
9598
|
+
# RoutingMode set to PACKET_INJECTION Non-PSC forwarding rules should not use
|
9599
|
+
# this field.
|
9600
|
+
# Corresponds to the JSON property `allowPscPacketInjection`
|
9601
|
+
# @return [Boolean]
|
9602
|
+
attr_accessor :allow_psc_packet_injection
|
9603
|
+
alias_method :allow_psc_packet_injection?, :allow_psc_packet_injection
|
9604
|
+
|
9595
9605
|
# Identifies the backend service to which the forwarding rule sends traffic.
|
9596
9606
|
# Required for Internal TCP/UDP Load Balancing and Network Load Balancing; must
|
9597
9607
|
# be omitted for all other load balancer types.
|
@@ -9870,6 +9880,7 @@ module Google
|
|
9870
9880
|
@all_ports = args[:all_ports] if args.key?(:all_ports)
|
9871
9881
|
@allow_global_access = args[:allow_global_access] if args.key?(:allow_global_access)
|
9872
9882
|
@allow_psc_global_access = args[:allow_psc_global_access] if args.key?(:allow_psc_global_access)
|
9883
|
+
@allow_psc_packet_injection = args[:allow_psc_packet_injection] if args.key?(:allow_psc_packet_injection)
|
9873
9884
|
@backend_service = args[:backend_service] if args.key?(:backend_service)
|
9874
9885
|
@base_forwarding_rule = args[:base_forwarding_rule] if args.key?(:base_forwarding_rule)
|
9875
9886
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
@@ -16069,11 +16080,7 @@ module Google
|
|
16069
16080
|
# @return [String]
|
16070
16081
|
attr_accessor :state
|
16071
16082
|
|
16072
|
-
# [Output only] Status of the request.
|
16073
|
-
# QueuedResource.status. ResizeRequest.queuing_policy contains the queuing
|
16074
|
-
# policy as provided by the user; it could have either valid_until_time or
|
16075
|
-
# valid_until_duration. ResizeRequest.status.queuing_policy always contains
|
16076
|
-
# absolute time as calculated by the server when the request is queued.
|
16083
|
+
# [Output only] Status of the request.
|
16077
16084
|
# Corresponds to the JSON property `status`
|
16078
16085
|
# @return [Google::Apis::ComputeBeta::InstanceGroupManagerResizeRequestStatus]
|
16079
16086
|
attr_accessor :status
|
@@ -18125,6 +18132,82 @@ module Google
|
|
18125
18132
|
end
|
18126
18133
|
end
|
18127
18134
|
|
18135
|
+
# Represents a Instance Settings resource. You can use instance settings to
|
18136
|
+
# configure default settings for Compute Engine VM instances. For example, you
|
18137
|
+
# can use it to configure default machine type of Compute Engine VM instances.
|
18138
|
+
class InstanceSettings
|
18139
|
+
include Google::Apis::Core::Hashable
|
18140
|
+
|
18141
|
+
# Specifies a fingerprint for instance settings, which is essentially a hash of
|
18142
|
+
# the instance settings resource's contents and used for optimistic locking. The
|
18143
|
+
# fingerprint is initially generated by Compute Engine and changes after every
|
18144
|
+
# request to modify or update the instance settings resource. You must always
|
18145
|
+
# provide an up-to-date fingerprint hash in order to update or change the
|
18146
|
+
# resource, otherwise the request will fail with error 412 conditionNotMet. To
|
18147
|
+
# see the latest fingerprint, make a get() request to retrieve the resource.
|
18148
|
+
# Corresponds to the JSON property `fingerprint`
|
18149
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
18150
|
+
# @return [String]
|
18151
|
+
attr_accessor :fingerprint
|
18152
|
+
|
18153
|
+
# [Output Only] Type of the resource. Always compute#instance_settings for
|
18154
|
+
# instance settings.
|
18155
|
+
# Corresponds to the JSON property `kind`
|
18156
|
+
# @return [String]
|
18157
|
+
attr_accessor :kind
|
18158
|
+
|
18159
|
+
# The metadata key/value pairs assigned to all the instances in the
|
18160
|
+
# corresponding scope.
|
18161
|
+
# Corresponds to the JSON property `metadata`
|
18162
|
+
# @return [Google::Apis::ComputeBeta::InstanceSettingsMetadata]
|
18163
|
+
attr_accessor :metadata
|
18164
|
+
|
18165
|
+
# [Output Only] URL of the zone where the resource resides You must specify this
|
18166
|
+
# field as part of the HTTP request URL. It is not settable as a field in the
|
18167
|
+
# request body.
|
18168
|
+
# Corresponds to the JSON property `zone`
|
18169
|
+
# @return [String]
|
18170
|
+
attr_accessor :zone
|
18171
|
+
|
18172
|
+
def initialize(**args)
|
18173
|
+
update!(**args)
|
18174
|
+
end
|
18175
|
+
|
18176
|
+
# Update properties of this object
|
18177
|
+
def update!(**args)
|
18178
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
18179
|
+
@kind = args[:kind] if args.key?(:kind)
|
18180
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
18181
|
+
@zone = args[:zone] if args.key?(:zone)
|
18182
|
+
end
|
18183
|
+
end
|
18184
|
+
|
18185
|
+
#
|
18186
|
+
class InstanceSettingsMetadata
|
18187
|
+
include Google::Apis::Core::Hashable
|
18188
|
+
|
18189
|
+
# A metadata key/value items map. The total size of all keys and values must be
|
18190
|
+
# less than 512KB.
|
18191
|
+
# Corresponds to the JSON property `items`
|
18192
|
+
# @return [Hash<String,String>]
|
18193
|
+
attr_accessor :items
|
18194
|
+
|
18195
|
+
# [Output Only] Type of the resource. Always compute#metadata for metadata.
|
18196
|
+
# Corresponds to the JSON property `kind`
|
18197
|
+
# @return [String]
|
18198
|
+
attr_accessor :kind
|
18199
|
+
|
18200
|
+
def initialize(**args)
|
18201
|
+
update!(**args)
|
18202
|
+
end
|
18203
|
+
|
18204
|
+
# Update properties of this object
|
18205
|
+
def update!(**args)
|
18206
|
+
@items = args[:items] if args.key?(:items)
|
18207
|
+
@kind = args[:kind] if args.key?(:kind)
|
18208
|
+
end
|
18209
|
+
end
|
18210
|
+
|
18128
18211
|
# Represents an Instance Template resource. You can use instance templates to
|
18129
18212
|
# create VM instances and managed instance groups. For more information, read
|
18130
18213
|
# Instance Templates.
|
@@ -20048,9 +20131,8 @@ module Google
|
|
20048
20131
|
attr_accessor :operational_status
|
20049
20132
|
|
20050
20133
|
# [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present
|
20051
|
-
# for DEDICATED]. The opaque identifier of
|
20052
|
-
#
|
20053
|
-
# domain"
|
20134
|
+
# for DEDICATED]. The opaque identifier of a PARTNER attachment used to initiate
|
20135
|
+
# provisioning with a selected partner. Of the form "XXXXX/region/domain"
|
20054
20136
|
# Corresponds to the JSON property `pairingKey`
|
20055
20137
|
# @return [String]
|
20056
20138
|
attr_accessor :pairing_key
|
@@ -36051,8 +36133,9 @@ module Google
|
|
36051
36133
|
class RouterNat
|
36052
36134
|
include Google::Apis::Core::Hashable
|
36053
36135
|
|
36054
|
-
# The network tier to use when automatically reserving IP addresses. Must be
|
36055
|
-
# of: PREMIUM, STANDARD. If not specified,
|
36136
|
+
# The network tier to use when automatically reserving NAT IP addresses. Must be
|
36137
|
+
# one of: PREMIUM, STANDARD. If not specified, then the current project-level
|
36138
|
+
# default tier is used.
|
36056
36139
|
# Corresponds to the JSON property `autoNetworkTier`
|
36057
36140
|
# @return [String]
|
36058
36141
|
attr_accessor :auto_network_tier
|
@@ -39300,6 +39383,14 @@ module Google
|
|
39300
39383
|
# @return [String]
|
39301
39384
|
attr_accessor :target_service
|
39302
39385
|
|
39386
|
+
# Use to configure this PSC connection in tunneling mode. In tunneling mode
|
39387
|
+
# traffic from consumer to producer will be encapsulated as it crosses the VPC
|
39388
|
+
# boundary and traffic from producer to consumer will be decapsulated in the
|
39389
|
+
# same manner.
|
39390
|
+
# Corresponds to the JSON property `tunnelingConfig`
|
39391
|
+
# @return [Google::Apis::ComputeBeta::ServiceAttachmentTunnelingConfig]
|
39392
|
+
attr_accessor :tunneling_config
|
39393
|
+
|
39303
39394
|
def initialize(**args)
|
39304
39395
|
update!(**args)
|
39305
39396
|
end
|
@@ -39325,6 +39416,7 @@ module Google
|
|
39325
39416
|
@region = args[:region] if args.key?(:region)
|
39326
39417
|
@self_link = args[:self_link] if args.key?(:self_link)
|
39327
39418
|
@target_service = args[:target_service] if args.key?(:target_service)
|
39419
|
+
@tunneling_config = args[:tunneling_config] if args.key?(:tunneling_config)
|
39328
39420
|
end
|
39329
39421
|
end
|
39330
39422
|
|
@@ -39637,6 +39729,36 @@ module Google
|
|
39637
39729
|
end
|
39638
39730
|
end
|
39639
39731
|
|
39732
|
+
# Use to configure this PSC connection in tunneling mode. In tunneling mode
|
39733
|
+
# traffic from consumer to producer will be encapsulated as it crosses the VPC
|
39734
|
+
# boundary and traffic from producer to consumer will be decapsulated in the
|
39735
|
+
# same manner.
|
39736
|
+
class ServiceAttachmentTunnelingConfig
|
39737
|
+
include Google::Apis::Core::Hashable
|
39738
|
+
|
39739
|
+
# Specify the encapsulation protocol and what metadata to include in incoming
|
39740
|
+
# encapsulated packet headers.
|
39741
|
+
# Corresponds to the JSON property `encapsulationProfile`
|
39742
|
+
# @return [String]
|
39743
|
+
attr_accessor :encapsulation_profile
|
39744
|
+
|
39745
|
+
# How this Service Attachment will treat traffic sent to the tunnel_ip, destined
|
39746
|
+
# for the consumer network.
|
39747
|
+
# Corresponds to the JSON property `routingMode`
|
39748
|
+
# @return [String]
|
39749
|
+
attr_accessor :routing_mode
|
39750
|
+
|
39751
|
+
def initialize(**args)
|
39752
|
+
update!(**args)
|
39753
|
+
end
|
39754
|
+
|
39755
|
+
# Update properties of this object
|
39756
|
+
def update!(**args)
|
39757
|
+
@encapsulation_profile = args[:encapsulation_profile] if args.key?(:encapsulation_profile)
|
39758
|
+
@routing_mode = args[:routing_mode] if args.key?(:routing_mode)
|
39759
|
+
end
|
39760
|
+
end
|
39761
|
+
|
39640
39762
|
#
|
39641
39763
|
class ServiceAttachmentsScopedList
|
39642
39764
|
include Google::Apis::Core::Hashable
|
@@ -48511,12 +48633,12 @@ module Google
|
|
48511
48633
|
# @return [Fixnum]
|
48512
48634
|
attr_accessor :peer_external_gateway_interface
|
48513
48635
|
|
48514
|
-
# URL of the peer side HA
|
48636
|
+
# URL of the peer side HA VPN gateway to which this VPN tunnel is connected.
|
48515
48637
|
# Provided by the client when the VPN tunnel is created. This field can be used
|
48516
48638
|
# when creating highly available VPN from VPC network to VPC network, the field
|
48517
48639
|
# is exclusive with the field peerExternalGateway. If provided, the VPN tunnel
|
48518
|
-
# will automatically use the same vpnGatewayInterface ID in the peer
|
48519
|
-
# gateway.
|
48640
|
+
# will automatically use the same vpnGatewayInterface ID in the peer Google
|
48641
|
+
# Cloud VPN gateway.
|
48520
48642
|
# Corresponds to the JSON property `peerGcpGateway`
|
48521
48643
|
# @return [String]
|
48522
48644
|
attr_accessor :peer_gcp_gateway
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComputeBeta
|
18
18
|
# Version of the google-apis-compute_beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.78.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230814"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2170,6 +2170,18 @@ module Google
|
|
2170
2170
|
include Google::Apis::Core::JsonObjectSupport
|
2171
2171
|
end
|
2172
2172
|
|
2173
|
+
class InstanceSettings
|
2174
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2175
|
+
|
2176
|
+
include Google::Apis::Core::JsonObjectSupport
|
2177
|
+
end
|
2178
|
+
|
2179
|
+
class InstanceSettingsMetadata
|
2180
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2181
|
+
|
2182
|
+
include Google::Apis::Core::JsonObjectSupport
|
2183
|
+
end
|
2184
|
+
|
2173
2185
|
class InstanceTemplate
|
2174
2186
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2175
2187
|
|
@@ -5146,6 +5158,12 @@ module Google
|
|
5146
5158
|
include Google::Apis::Core::JsonObjectSupport
|
5147
5159
|
end
|
5148
5160
|
|
5161
|
+
class ServiceAttachmentTunnelingConfig
|
5162
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5163
|
+
|
5164
|
+
include Google::Apis::Core::JsonObjectSupport
|
5165
|
+
end
|
5166
|
+
|
5149
5167
|
class ServiceAttachmentsScopedList
|
5150
5168
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5151
5169
|
|
@@ -8663,6 +8681,7 @@ module Google
|
|
8663
8681
|
property :all_ports, as: 'allPorts'
|
8664
8682
|
property :allow_global_access, as: 'allowGlobalAccess'
|
8665
8683
|
property :allow_psc_global_access, as: 'allowPscGlobalAccess'
|
8684
|
+
property :allow_psc_packet_injection, as: 'allowPscPacketInjection'
|
8666
8685
|
property :backend_service, as: 'backendService'
|
8667
8686
|
property :base_forwarding_rule, as: 'baseForwardingRule'
|
8668
8687
|
property :creation_timestamp, as: 'creationTimestamp'
|
@@ -10725,6 +10744,25 @@ module Google
|
|
10725
10744
|
end
|
10726
10745
|
end
|
10727
10746
|
|
10747
|
+
class InstanceSettings
|
10748
|
+
# @private
|
10749
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10750
|
+
property :fingerprint, :base64 => true, as: 'fingerprint'
|
10751
|
+
property :kind, as: 'kind'
|
10752
|
+
property :metadata, as: 'metadata', class: Google::Apis::ComputeBeta::InstanceSettingsMetadata, decorator: Google::Apis::ComputeBeta::InstanceSettingsMetadata::Representation
|
10753
|
+
|
10754
|
+
property :zone, as: 'zone'
|
10755
|
+
end
|
10756
|
+
end
|
10757
|
+
|
10758
|
+
class InstanceSettingsMetadata
|
10759
|
+
# @private
|
10760
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10761
|
+
hash :items, as: 'items'
|
10762
|
+
property :kind, as: 'kind'
|
10763
|
+
end
|
10764
|
+
end
|
10765
|
+
|
10728
10766
|
class InstanceTemplate
|
10729
10767
|
# @private
|
10730
10768
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -16107,6 +16145,8 @@ module Google
|
|
16107
16145
|
property :region, as: 'region'
|
16108
16146
|
property :self_link, as: 'selfLink'
|
16109
16147
|
property :target_service, as: 'targetService'
|
16148
|
+
property :tunneling_config, as: 'tunnelingConfig', class: Google::Apis::ComputeBeta::ServiceAttachmentTunnelingConfig, decorator: Google::Apis::ComputeBeta::ServiceAttachmentTunnelingConfig::Representation
|
16149
|
+
|
16110
16150
|
end
|
16111
16151
|
end
|
16112
16152
|
|
@@ -16194,6 +16234,14 @@ module Google
|
|
16194
16234
|
end
|
16195
16235
|
end
|
16196
16236
|
|
16237
|
+
class ServiceAttachmentTunnelingConfig
|
16238
|
+
# @private
|
16239
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16240
|
+
property :encapsulation_profile, as: 'encapsulationProfile'
|
16241
|
+
property :routing_mode, as: 'routingMode'
|
16242
|
+
end
|
16243
|
+
end
|
16244
|
+
|
16197
16245
|
class ServiceAttachmentsScopedList
|
16198
16246
|
# @private
|
16199
16247
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6243,6 +6243,7 @@ module Google
|
|
6243
6243
|
# @param [String] future_reservation
|
6244
6244
|
# Name of the reservation to update. Name should conform to RFC1035.
|
6245
6245
|
# @param [Google::Apis::ComputeBeta::FutureReservation] future_reservation_object
|
6246
|
+
# @param [Array<String>, String] paths
|
6246
6247
|
# @param [String] request_id
|
6247
6248
|
# An optional request ID to identify requests. Specify a unique request ID so
|
6248
6249
|
# that if you must retry your request, the server will know to ignore the
|
@@ -6274,7 +6275,7 @@ module Google
|
|
6274
6275
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6275
6276
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6276
6277
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6277
|
-
def update_future_reservation(project, zone, future_reservation, future_reservation_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
6278
|
+
def update_future_reservation(project, zone, future_reservation, future_reservation_object = nil, paths: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
6278
6279
|
command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/futureReservations/{futureReservation}', options)
|
6279
6280
|
command.request_representation = Google::Apis::ComputeBeta::FutureReservation::Representation
|
6280
6281
|
command.request_object = future_reservation_object
|
@@ -6283,6 +6284,7 @@ module Google
|
|
6283
6284
|
command.params['project'] = project unless project.nil?
|
6284
6285
|
command.params['zone'] = zone unless zone.nil?
|
6285
6286
|
command.params['futureReservation'] = future_reservation unless future_reservation.nil?
|
6287
|
+
command.query['paths'] = paths unless paths.nil?
|
6286
6288
|
command.query['requestId'] = request_id unless request_id.nil?
|
6287
6289
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
6288
6290
|
command.query['fields'] = fields unless fields.nil?
|
@@ -12374,6 +12376,95 @@ module Google
|
|
12374
12376
|
execute_or_queue_command(command, &block)
|
12375
12377
|
end
|
12376
12378
|
|
12379
|
+
# Get Instance settings.
|
12380
|
+
# @param [String] project
|
12381
|
+
# Project ID for this request.
|
12382
|
+
# @param [String] zone
|
12383
|
+
# Name of the zone for this request.
|
12384
|
+
# @param [String] fields
|
12385
|
+
# Selector specifying which fields to include in a partial response.
|
12386
|
+
# @param [String] quota_user
|
12387
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
12388
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
12389
|
+
# @param [String] user_ip
|
12390
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
12391
|
+
# @param [Google::Apis::RequestOptions] options
|
12392
|
+
# Request-specific options
|
12393
|
+
#
|
12394
|
+
# @yield [result, err] Result & error if block supplied
|
12395
|
+
# @yieldparam result [Google::Apis::ComputeBeta::InstanceSettings] parsed result object
|
12396
|
+
# @yieldparam err [StandardError] error object if request failed
|
12397
|
+
#
|
12398
|
+
# @return [Google::Apis::ComputeBeta::InstanceSettings]
|
12399
|
+
#
|
12400
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
12401
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
12402
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
12403
|
+
def get_instance_setting(project, zone, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
12404
|
+
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceSettings', options)
|
12405
|
+
command.response_representation = Google::Apis::ComputeBeta::InstanceSettings::Representation
|
12406
|
+
command.response_class = Google::Apis::ComputeBeta::InstanceSettings
|
12407
|
+
command.params['project'] = project unless project.nil?
|
12408
|
+
command.params['zone'] = zone unless zone.nil?
|
12409
|
+
command.query['fields'] = fields unless fields.nil?
|
12410
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
12411
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
12412
|
+
execute_or_queue_command(command, &block)
|
12413
|
+
end
|
12414
|
+
|
12415
|
+
# Patch Instance settings
|
12416
|
+
# @param [String] project
|
12417
|
+
# Project ID for this request.
|
12418
|
+
# @param [String] zone
|
12419
|
+
# The zone scoping this request. It should conform to RFC1035.
|
12420
|
+
# @param [Google::Apis::ComputeBeta::InstanceSettings] instance_settings_object
|
12421
|
+
# @param [String] request_id
|
12422
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
12423
|
+
# that if you must retry your request, the server will know to ignore the
|
12424
|
+
# request if it has already been completed. For example, consider a situation
|
12425
|
+
# where you make an initial request and the request times out. If you make the
|
12426
|
+
# request again with the same request ID, the server can check if original
|
12427
|
+
# operation with the same request ID was received, and if so, will ignore the
|
12428
|
+
# second request. This prevents clients from accidentally creating duplicate
|
12429
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
12430
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
12431
|
+
# @param [String] update_mask
|
12432
|
+
# update_mask indicates fields to be updated as part of this request.
|
12433
|
+
# @param [String] fields
|
12434
|
+
# Selector specifying which fields to include in a partial response.
|
12435
|
+
# @param [String] quota_user
|
12436
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
12437
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
12438
|
+
# @param [String] user_ip
|
12439
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
12440
|
+
# @param [Google::Apis::RequestOptions] options
|
12441
|
+
# Request-specific options
|
12442
|
+
#
|
12443
|
+
# @yield [result, err] Result & error if block supplied
|
12444
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
12445
|
+
# @yieldparam err [StandardError] error object if request failed
|
12446
|
+
#
|
12447
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
12448
|
+
#
|
12449
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
12450
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
12451
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
12452
|
+
def patch_instance_setting(project, zone, instance_settings_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
12453
|
+
command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instanceSettings', options)
|
12454
|
+
command.request_representation = Google::Apis::ComputeBeta::InstanceSettings::Representation
|
12455
|
+
command.request_object = instance_settings_object
|
12456
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
12457
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
12458
|
+
command.params['project'] = project unless project.nil?
|
12459
|
+
command.params['zone'] = zone unless zone.nil?
|
12460
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
12461
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
12462
|
+
command.query['fields'] = fields unless fields.nil?
|
12463
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
12464
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
12465
|
+
execute_or_queue_command(command, &block)
|
12466
|
+
end
|
12467
|
+
|
12377
12468
|
# Retrieves the list of all InstanceTemplates resources, regional and global,
|
12378
12469
|
# available to the specified project.
|
12379
12470
|
# @param [String] project
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-compute_beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.78.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.78.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Compute Engine API Beta
|