google-apis-compute_beta 0.77.0 → 0.79.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fae92527387482c75554189c8fcb971560c0ab4c00d3561d3ff5faac7465d1c0
4
- data.tar.gz: 2a4066bba83636fd7994b7c70ca0aec1ea5c630c9ee0115e48270082b85872c8
3
+ metadata.gz: 5910aea7e27f2859316524f10b3ee35a9cd03ce9624ce0081a9aec71f9dfe3ce
4
+ data.tar.gz: b8c03fcbf3f9bb944b4b57df2df1ed4a236a9edc4bf4aae1889b7e5144ca574f
5
5
  SHA512:
6
- metadata.gz: fadaaafec44d14ad9dc1e545375d0be71a6b19d98618b2968c81ea4bbd59dbb1398364b6d59ccbcf306c458a7535e3d6b5a03cff1f5a3da2cb475877b152c219
7
- data.tar.gz: d3fca2b0e9d1ed8f70dc1c88758d0c4022ebf432782cf85d5468144a6db01e2a42b9476da03781576e5aea244985baaccd81bb24e9ebc5fd856a7bf94651725f
6
+ metadata.gz: b49abec5e89703a70a067e5dc8342b4fc0a0b06a011097a026f2ee7bce09f3616c5e797d95af4ca242e933d1c2172617cb1c48c41fd4df2129bdd23ebad36932
7
+ data.tar.gz: 3c1c3cabd8d709c9be1ec55be09cf48063767327632b8f0954f5fabfb8bf0eb2c7516cb6aa94ef4c151bab42abb555563a06972f55aeb88aace09b01c96ca3b8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.79.0 (2023-09-10)
4
+
5
+ * Regenerated from discovery document revision 20230829
6
+
7
+ ### v0.78.0 (2023-08-27)
8
+
9
+ * Regenerated from discovery document revision 20230814
10
+
3
11
  ### v0.77.0 (2023-08-13)
4
12
 
5
13
  * Regenerated from discovery document revision 20230801
@@ -2729,7 +2729,7 @@ module Google
2729
2729
  attr_accessor :schedule
2730
2730
 
2731
2731
  # The time zone to use when interpreting the schedule. The value of this field
2732
- # must be a time zone name from the tz database: http://en.wikipedia.org/wiki/
2732
+ # must be a time zone name from the tz database: https://en.wikipedia.org/wiki/
2733
2733
  # Tz_database. This field is assigned a default value of “UTC” if left empty.
2734
2734
  # Corresponds to the JSON property `timeZone`
2735
2735
  # @return [String]
@@ -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 1 to 65536, inclusive.
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)
@@ -13537,8 +13548,8 @@ module Google
13537
13548
  # weightedBackendServices, service must not be set. Conversely if service is set,
13538
13549
  # routeAction cannot contain any weightedBackendServices. Only one of
13539
13550
  # urlRedirect, service or routeAction.weightedBackendService must be set. URL
13540
- # maps for Classic external HTTP(S) load balancers only support the urlRewrite
13541
- # action within a route rule's routeAction.
13551
+ # maps for classic Application Load Balancers only support the urlRewrite action
13552
+ # within a route rule's routeAction.
13542
13553
  # Corresponds to the JSON property `routeAction`
13543
13554
  # @return [Google::Apis::ComputeBeta::HttpRouteAction]
13544
13555
  attr_accessor :route_action
@@ -15428,6 +15439,13 @@ module Google
15428
15439
  # @return [Fixnum]
15429
15440
  attr_accessor :id
15430
15441
 
15442
+ # Instance flexibility allowing MIG to create VMs from multiple types of
15443
+ # machines. Instance flexibility configuration on MIG overrides instance
15444
+ # template configuration.
15445
+ # Corresponds to the JSON property `instanceFlexibilityPolicy`
15446
+ # @return [Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicy]
15447
+ attr_accessor :instance_flexibility_policy
15448
+
15431
15449
  # [Output Only] The URL of the Instance Group resource.
15432
15450
  # Corresponds to the JSON property `instanceGroup`
15433
15451
  # @return [String]
@@ -15553,6 +15571,7 @@ module Google
15553
15571
  @failover_action = args[:failover_action] if args.key?(:failover_action)
15554
15572
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
15555
15573
  @id = args[:id] if args.key?(:id)
15574
+ @instance_flexibility_policy = args[:instance_flexibility_policy] if args.key?(:instance_flexibility_policy)
15556
15575
  @instance_group = args[:instance_group] if args.key?(:instance_group)
15557
15576
  @instance_lifecycle_policy = args[:instance_lifecycle_policy] if args.key?(:instance_lifecycle_policy)
15558
15577
  @instance_template = args[:instance_template] if args.key?(:instance_template)
@@ -15862,6 +15881,54 @@ module Google
15862
15881
  end
15863
15882
  end
15864
15883
 
15884
+ #
15885
+ class InstanceGroupManagerInstanceFlexibilityPolicy
15886
+ include Google::Apis::Core::Hashable
15887
+
15888
+ # List of instance selection options that the group will use when creating new
15889
+ # VMs.
15890
+ # Corresponds to the JSON property `instanceSelectionLists`
15891
+ # @return [Hash<String,Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>]
15892
+ attr_accessor :instance_selection_lists
15893
+
15894
+ def initialize(**args)
15895
+ update!(**args)
15896
+ end
15897
+
15898
+ # Update properties of this object
15899
+ def update!(**args)
15900
+ @instance_selection_lists = args[:instance_selection_lists] if args.key?(:instance_selection_lists)
15901
+ end
15902
+ end
15903
+
15904
+ #
15905
+ class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection
15906
+ include Google::Apis::Core::Hashable
15907
+
15908
+ # Full machine-type names, e.g. "n1-standard-16".
15909
+ # Corresponds to the JSON property `machineTypes`
15910
+ # @return [Array<String>]
15911
+ attr_accessor :machine_types
15912
+
15913
+ # Preference of this instance selection. Lower number means higher preference.
15914
+ # MIG will first try to create a VM based on the machine-type with lowest rank
15915
+ # and fallback to next rank based on availability. Machine types and instance
15916
+ # selections with the same rank have the same preference.
15917
+ # Corresponds to the JSON property `rank`
15918
+ # @return [Fixnum]
15919
+ attr_accessor :rank
15920
+
15921
+ def initialize(**args)
15922
+ update!(**args)
15923
+ end
15924
+
15925
+ # Update properties of this object
15926
+ def update!(**args)
15927
+ @machine_types = args[:machine_types] if args.key?(:machine_types)
15928
+ @rank = args[:rank] if args.key?(:rank)
15929
+ end
15930
+ end
15931
+
15865
15932
  #
15866
15933
  class InstanceGroupManagerInstanceLifecyclePolicy
15867
15934
  include Google::Apis::Core::Hashable
@@ -16069,11 +16136,7 @@ module Google
16069
16136
  # @return [String]
16070
16137
  attr_accessor :state
16071
16138
 
16072
- # [Output only] Status of the request. The Status message is aligned with
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.
16139
+ # [Output only] Status of the request.
16077
16140
  # Corresponds to the JSON property `status`
16078
16141
  # @return [Google::Apis::ComputeBeta::InstanceGroupManagerResizeRequestStatus]
16079
16142
  attr_accessor :status
@@ -18125,6 +18188,82 @@ module Google
18125
18188
  end
18126
18189
  end
18127
18190
 
18191
+ # Represents a Instance Settings resource. You can use instance settings to
18192
+ # configure default settings for Compute Engine VM instances. For example, you
18193
+ # can use it to configure default machine type of Compute Engine VM instances.
18194
+ class InstanceSettings
18195
+ include Google::Apis::Core::Hashable
18196
+
18197
+ # Specifies a fingerprint for instance settings, which is essentially a hash of
18198
+ # the instance settings resource's contents and used for optimistic locking. The
18199
+ # fingerprint is initially generated by Compute Engine and changes after every
18200
+ # request to modify or update the instance settings resource. You must always
18201
+ # provide an up-to-date fingerprint hash in order to update or change the
18202
+ # resource, otherwise the request will fail with error 412 conditionNotMet. To
18203
+ # see the latest fingerprint, make a get() request to retrieve the resource.
18204
+ # Corresponds to the JSON property `fingerprint`
18205
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
18206
+ # @return [String]
18207
+ attr_accessor :fingerprint
18208
+
18209
+ # [Output Only] Type of the resource. Always compute#instance_settings for
18210
+ # instance settings.
18211
+ # Corresponds to the JSON property `kind`
18212
+ # @return [String]
18213
+ attr_accessor :kind
18214
+
18215
+ # The metadata key/value pairs assigned to all the instances in the
18216
+ # corresponding scope.
18217
+ # Corresponds to the JSON property `metadata`
18218
+ # @return [Google::Apis::ComputeBeta::InstanceSettingsMetadata]
18219
+ attr_accessor :metadata
18220
+
18221
+ # [Output Only] URL of the zone where the resource resides You must specify this
18222
+ # field as part of the HTTP request URL. It is not settable as a field in the
18223
+ # request body.
18224
+ # Corresponds to the JSON property `zone`
18225
+ # @return [String]
18226
+ attr_accessor :zone
18227
+
18228
+ def initialize(**args)
18229
+ update!(**args)
18230
+ end
18231
+
18232
+ # Update properties of this object
18233
+ def update!(**args)
18234
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
18235
+ @kind = args[:kind] if args.key?(:kind)
18236
+ @metadata = args[:metadata] if args.key?(:metadata)
18237
+ @zone = args[:zone] if args.key?(:zone)
18238
+ end
18239
+ end
18240
+
18241
+ #
18242
+ class InstanceSettingsMetadata
18243
+ include Google::Apis::Core::Hashable
18244
+
18245
+ # A metadata key/value items map. The total size of all keys and values must be
18246
+ # less than 512KB.
18247
+ # Corresponds to the JSON property `items`
18248
+ # @return [Hash<String,String>]
18249
+ attr_accessor :items
18250
+
18251
+ # [Output Only] Type of the resource. Always compute#metadata for metadata.
18252
+ # Corresponds to the JSON property `kind`
18253
+ # @return [String]
18254
+ attr_accessor :kind
18255
+
18256
+ def initialize(**args)
18257
+ update!(**args)
18258
+ end
18259
+
18260
+ # Update properties of this object
18261
+ def update!(**args)
18262
+ @items = args[:items] if args.key?(:items)
18263
+ @kind = args[:kind] if args.key?(:kind)
18264
+ end
18265
+ end
18266
+
18128
18267
  # Represents an Instance Template resource. You can use instance templates to
18129
18268
  # create VM instances and managed instance groups. For more information, read
18130
18269
  # Instance Templates.
@@ -20048,9 +20187,8 @@ module Google
20048
20187
  attr_accessor :operational_status
20049
20188
 
20050
20189
  # [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present
20051
- # for DEDICATED]. The opaque identifier of an PARTNER attachment used to
20052
- # initiate provisioning with a selected partner. Of the form "XXXXX/region/
20053
- # domain"
20190
+ # for DEDICATED]. The opaque identifier of a PARTNER attachment used to initiate
20191
+ # provisioning with a selected partner. Of the form "XXXXX/region/domain"
20054
20192
  # Corresponds to the JSON property `pairingKey`
20055
20193
  # @return [String]
20056
20194
  attr_accessor :pairing_key
@@ -24877,9 +25015,8 @@ module Google
24877
25015
 
24878
25016
  # Represents a collection of network endpoints. A network endpoint group (NEG)
24879
25017
  # defines how a set of endpoints should be reached, whether they are reachable,
24880
- # and where they are located. For more information about using NEGs, see Setting
24881
- # up external HTTP(S) Load Balancing with internet NEGs, Setting up zonal NEGs,
24882
- # or Setting up external HTTP(S) Load Balancing with serverless NEGs.
25018
+ # and where they are located. For more information about using NEGs for
25019
+ # different use cases, see Network endpoint groups overview.
24883
25020
  class NetworkEndpointGroup
24884
25021
  include Google::Apis::Core::Hashable
24885
25022
 
@@ -29984,8 +30121,8 @@ module Google
29984
30121
  # If defaultRouteAction specifies any weightedBackendServices, defaultService
29985
30122
  # must not be set. Conversely if defaultService is set, defaultRouteAction
29986
30123
  # cannot contain any weightedBackendServices. Only one of defaultRouteAction or
29987
- # defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load
29988
- # balancers only support the urlRewrite action within a path matcher's
30124
+ # defaultUrlRedirect must be set. URL maps for classic Application Load
30125
+ # Balancers only support the urlRewrite action within a path matcher's
29989
30126
  # defaultRouteAction.
29990
30127
  # Corresponds to the JSON property `defaultRouteAction`
29991
30128
  # @return [Google::Apis::ComputeBeta::HttpRouteAction]
@@ -30092,9 +30229,8 @@ module Google
30092
30229
  # the request to the selected backend. If routeAction specifies any
30093
30230
  # weightedBackendServices, service must not be set. Conversely if service is set,
30094
30231
  # routeAction cannot contain any weightedBackendServices. Only one of
30095
- # routeAction or urlRedirect must be set. URL maps for Classic external HTTP(S)
30096
- # load balancers only support the urlRewrite action within a path rule's
30097
- # routeAction.
30232
+ # routeAction or urlRedirect must be set. URL maps for classic Application Load
30233
+ # Balancers only support the urlRewrite action within a path rule's routeAction.
30098
30234
  # Corresponds to the JSON property `routeAction`
30099
30235
  # @return [Google::Apis::ComputeBeta::HttpRouteAction]
30100
30236
  attr_accessor :route_action
@@ -33260,17 +33396,19 @@ module Google
33260
33396
  # Global](/compute/docs/reference/rest/beta/urlMaps) * [Regional](/compute/docs/
33261
33397
  # reference/rest/beta/regionUrlMaps) A URL map resource is a component of
33262
33398
  # certain types of cloud load balancers and Traffic Director: * urlMaps are used
33263
- # by external HTTP(S) load balancers and Traffic Director. * regionUrlMaps are
33264
- # used by internal HTTP(S) load balancers. For a list of supported URL map
33265
- # features by the load balancer type, see the Load balancing features: Routing
33266
- # and traffic management table. For a list of supported URL map features for
33267
- # Traffic Director, see the Traffic Director features: Routing and traffic
33268
- # management table. This resource defines mappings from hostnames and URL paths
33269
- # to either a backend service or a backend bucket. To use the global urlMaps
33270
- # resource, the backend service must have a loadBalancingScheme of either
33271
- # EXTERNAL or INTERNAL_SELF_MANAGED. To use the regionUrlMaps resource, the
33272
- # backend service must have a loadBalancingScheme of INTERNAL_MANAGED. For more
33273
- # information, read URL Map Concepts.
33399
+ # by global external Application Load Balancers, classic Application Load
33400
+ # Balancers, and cross-region internal Application Load Balancers. *
33401
+ # regionUrlMaps are used by internal Application Load Balancers, regional
33402
+ # external Application Load Balancers and regional internal Application Load
33403
+ # Balancers. For a list of supported URL map features by the load balancer type,
33404
+ # see the Load balancing features: Routing and traffic management table. For a
33405
+ # list of supported URL map features for Traffic Director, see the Traffic
33406
+ # Director features: Routing and traffic management table. This resource defines
33407
+ # mappings from hostnames and URL paths to either a backend service or a backend
33408
+ # bucket. To use the global urlMaps resource, the backend service must have a
33409
+ # loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To use the
33410
+ # regionUrlMaps resource, the backend service must have a loadBalancingScheme of
33411
+ # INTERNAL_MANAGED. For more information, read URL Map Concepts.
33274
33412
  # Corresponds to the JSON property `resource`
33275
33413
  # @return [Google::Apis::ComputeBeta::UrlMap]
33276
33414
  attr_accessor :resource
@@ -34295,6 +34433,16 @@ module Google
34295
34433
  # @return [Fixnum]
34296
34434
  attr_accessor :max_distance
34297
34435
 
34436
+ # Specifies the number of slices in a multislice workload.
34437
+ # Corresponds to the JSON property `sliceCount`
34438
+ # @return [Fixnum]
34439
+ attr_accessor :slice_count
34440
+
34441
+ # Specifies the shape of the TPU slice
34442
+ # Corresponds to the JSON property `tpuTopology`
34443
+ # @return [String]
34444
+ attr_accessor :tpu_topology
34445
+
34298
34446
  # Number of VMs in this placement group. Google does not recommend that you use
34299
34447
  # this field unless you use a compact policy and you want your policy to work
34300
34448
  # only if it contains this exact number of VMs.
@@ -34311,6 +34459,8 @@ module Google
34311
34459
  @availability_domain_count = args[:availability_domain_count] if args.key?(:availability_domain_count)
34312
34460
  @collocation = args[:collocation] if args.key?(:collocation)
34313
34461
  @max_distance = args[:max_distance] if args.key?(:max_distance)
34462
+ @slice_count = args[:slice_count] if args.key?(:slice_count)
34463
+ @tpu_topology = args[:tpu_topology] if args.key?(:tpu_topology)
34314
34464
  @vm_count = args[:vm_count] if args.key?(:vm_count)
34315
34465
  end
34316
34466
  end
@@ -35290,9 +35440,11 @@ module Google
35290
35440
  # @return [Fixnum]
35291
35441
  attr_accessor :id
35292
35442
 
35293
- # Router interfaces. Each interface requires either one linked resource, (for
35294
- # example, linkedVpnTunnel), or IP address and IP address range (for example,
35295
- # ipRange), or both.
35443
+ # Router interfaces. To create a BGP peer that uses a router interface, the
35444
+ # interface must have one of the following fields specified: - linkedVpnTunnel -
35445
+ # linkedInterconnectAttachment - subnetwork You can create a router interface
35446
+ # without any of these fields specified. However, you cannot create a BGP peer
35447
+ # that uses that interface.
35296
35448
  # Corresponds to the JSON property `interfaces`
35297
35449
  # @return [Array<Google::Apis::ComputeBeta::RouterInterface>]
35298
35450
  attr_accessor :interfaces
@@ -35819,14 +35971,14 @@ module Google
35819
35971
 
35820
35972
  # URI of the linked Interconnect attachment. It must be in the same region as
35821
35973
  # the router. Each interface can have one linked resource, which can be a VPN
35822
- # tunnel, an Interconnect attachment, or a virtual machine instance.
35974
+ # tunnel, an Interconnect attachment, or a subnetwork.
35823
35975
  # Corresponds to the JSON property `linkedInterconnectAttachment`
35824
35976
  # @return [String]
35825
35977
  attr_accessor :linked_interconnect_attachment
35826
35978
 
35827
35979
  # URI of the linked VPN tunnel, which must be in the same region as the router.
35828
35980
  # Each interface can have one linked resource, which can be a VPN tunnel, an
35829
- # Interconnect attachment, or a virtual machine instance.
35981
+ # Interconnect attachment, or a subnetwork.
35830
35982
  # Corresponds to the JSON property `linkedVpnTunnel`
35831
35983
  # @return [String]
35832
35984
  attr_accessor :linked_vpn_tunnel
@@ -36027,7 +36179,7 @@ module Google
36027
36179
  attr_accessor :key
36028
36180
 
36029
36181
  # Name used to identify the key. Must be unique within a router. Must be
36030
- # referenced by at least one bgpPeer. Must comply with RFC1035.
36182
+ # referenced by exactly one bgpPeer. Must comply with RFC1035.
36031
36183
  # Corresponds to the JSON property `name`
36032
36184
  # @return [String]
36033
36185
  attr_accessor :name
@@ -36051,8 +36203,9 @@ module Google
36051
36203
  class RouterNat
36052
36204
  include Google::Apis::Core::Hashable
36053
36205
 
36054
- # The network tier to use when automatically reserving IP addresses. Must be one
36055
- # of: PREMIUM, STANDARD. If not specified, PREMIUM tier will be used.
36206
+ # The network tier to use when automatically reserving NAT IP addresses. Must be
36207
+ # one of: PREMIUM, STANDARD. If not specified, then the current project-level
36208
+ # default tier is used.
36056
36209
  # Corresponds to the JSON property `autoNetworkTier`
36057
36210
  # @return [String]
36058
36211
  attr_accessor :auto_network_tier
@@ -39300,6 +39453,14 @@ module Google
39300
39453
  # @return [String]
39301
39454
  attr_accessor :target_service
39302
39455
 
39456
+ # Use to configure this PSC connection in tunneling mode. In tunneling mode
39457
+ # traffic from consumer to producer will be encapsulated as it crosses the VPC
39458
+ # boundary and traffic from producer to consumer will be decapsulated in the
39459
+ # same manner.
39460
+ # Corresponds to the JSON property `tunnelingConfig`
39461
+ # @return [Google::Apis::ComputeBeta::ServiceAttachmentTunnelingConfig]
39462
+ attr_accessor :tunneling_config
39463
+
39303
39464
  def initialize(**args)
39304
39465
  update!(**args)
39305
39466
  end
@@ -39325,6 +39486,7 @@ module Google
39325
39486
  @region = args[:region] if args.key?(:region)
39326
39487
  @self_link = args[:self_link] if args.key?(:self_link)
39327
39488
  @target_service = args[:target_service] if args.key?(:target_service)
39489
+ @tunneling_config = args[:tunneling_config] if args.key?(:tunneling_config)
39328
39490
  end
39329
39491
  end
39330
39492
 
@@ -39637,6 +39799,36 @@ module Google
39637
39799
  end
39638
39800
  end
39639
39801
 
39802
+ # Use to configure this PSC connection in tunneling mode. In tunneling mode
39803
+ # traffic from consumer to producer will be encapsulated as it crosses the VPC
39804
+ # boundary and traffic from producer to consumer will be decapsulated in the
39805
+ # same manner.
39806
+ class ServiceAttachmentTunnelingConfig
39807
+ include Google::Apis::Core::Hashable
39808
+
39809
+ # Specify the encapsulation protocol and what metadata to include in incoming
39810
+ # encapsulated packet headers.
39811
+ # Corresponds to the JSON property `encapsulationProfile`
39812
+ # @return [String]
39813
+ attr_accessor :encapsulation_profile
39814
+
39815
+ # How this Service Attachment will treat traffic sent to the tunnel_ip, destined
39816
+ # for the consumer network.
39817
+ # Corresponds to the JSON property `routingMode`
39818
+ # @return [String]
39819
+ attr_accessor :routing_mode
39820
+
39821
+ def initialize(**args)
39822
+ update!(**args)
39823
+ end
39824
+
39825
+ # Update properties of this object
39826
+ def update!(**args)
39827
+ @encapsulation_profile = args[:encapsulation_profile] if args.key?(:encapsulation_profile)
39828
+ @routing_mode = args[:routing_mode] if args.key?(:routing_mode)
39829
+ end
39830
+ end
39831
+
39640
39832
  #
39641
39833
  class ServiceAttachmentsScopedList
39642
39834
  include Google::Apis::Core::Hashable
@@ -40745,17 +40937,20 @@ module Google
40745
40937
  end
40746
40938
  end
40747
40939
 
40748
- # Represents an SSL Certificate resource. Google Compute Engine has two SSL
40749
- # Certificate resources: * [Global](/compute/docs/reference/rest/beta/
40940
+ # Represents an SSL certificate resource. Google Compute Engine has two SSL
40941
+ # certificate resources: * [Global](/compute/docs/reference/rest/beta/
40750
40942
  # sslCertificates) * [Regional](/compute/docs/reference/rest/beta/
40751
- # regionSslCertificates) The sslCertificates are used by: - external HTTPS load
40752
- # balancers - SSL proxy load balancers The regionSslCertificates are used by
40753
- # internal HTTPS load balancers. Optionally, certificate file contents that you
40754
- # upload can contain a set of up to five PEM-encoded certificates. The API call
40755
- # creates an object (sslCertificate) that holds this data. You can use SSL keys
40756
- # and certificates to secure connections to a load balancer. For more
40757
- # information, read Creating and using SSL certificates, SSL certificates quotas
40758
- # and limits, and Troubleshooting SSL certificates.
40943
+ # regionSslCertificates) The global SSL certificates (sslCertificates) are used
40944
+ # by: - Global external Application Load Balancers - Classic Application Load
40945
+ # Balancers - Proxy Network Load Balancers (with target SSL proxies) The
40946
+ # regional SSL certificates (regionSslCertificates) are used by: - Regional
40947
+ # external Application Load Balancers - Regional internal Application Load
40948
+ # Balancers Optionally, certificate file contents that you upload can contain a
40949
+ # set of up to five PEM-encoded certificates. The API call creates an object (
40950
+ # sslCertificate) that holds this data. You can use SSL keys and certificates to
40951
+ # secure connections to a load balancer. For more information, read Creating and
40952
+ # using SSL certificates, SSL certificates quotas and limits, and
40953
+ # Troubleshooting SSL certificates.
40759
40954
  class SslCertificate
40760
40955
  include Google::Apis::Core::Hashable
40761
40956
 
@@ -43135,11 +43330,13 @@ module Google
43135
43330
  # HTTP Proxy resources: * [Global](/compute/docs/reference/rest/beta/
43136
43331
  # targetHttpProxies) * [Regional](/compute/docs/reference/rest/beta/
43137
43332
  # regionTargetHttpProxies) A target HTTP proxy is a component of GCP HTTP load
43138
- # balancers. * targetHttpProxies are used by external HTTP load balancers and
43139
- # Traffic Director. * regionTargetHttpProxies are used by internal HTTP load
43140
- # balancers. Forwarding rules reference a target HTTP proxy, and the target
43141
- # proxy then references a URL map. For more information, read Using Target
43142
- # Proxies and Forwarding rule concepts.
43333
+ # balancers. * targetHttpProxies are used by global external Application Load
43334
+ # Balancers, classic Application Load Balancers, cross-region internal
43335
+ # Application Load Balancers, and Traffic Director. * regionTargetHttpProxies
43336
+ # are used by regional internal Application Load Balancers and regional external
43337
+ # Application Load Balancers. Forwarding rules reference a target HTTP proxy,
43338
+ # and the target proxy then references a URL map. For more information, read
43339
+ # Using Target Proxies and Forwarding rule concepts.
43143
43340
  class TargetHttpProxy
43144
43341
  include Google::Apis::Core::Hashable
43145
43342
 
@@ -43182,10 +43379,10 @@ module Google
43182
43379
 
43183
43380
  # Specifies how long to keep a connection open, after completing a response,
43184
43381
  # while there is no matching traffic (in seconds). If an HTTP keep-alive is not
43185
- # specified, a default value (610 seconds) will be used. For Global external
43186
- # HTTP(S) load balancer, the minimum allowed value is 5 seconds and the maximum
43187
- # allowed value is 1200 seconds. For Global external HTTP(S) load balancer (
43188
- # classic), this option is not available publicly.
43382
+ # specified, a default value (610 seconds) will be used. For global external
43383
+ # Application Load Balancers, the minimum allowed value is 5 seconds and the
43384
+ # maximum allowed value is 1200 seconds. For classic Application Load Balancers,
43385
+ # this option is not supported.
43189
43386
  # Corresponds to the JSON property `httpKeepAliveTimeoutSec`
43190
43387
  # @return [Fixnum]
43191
43388
  attr_accessor :http_keep_alive_timeout_sec
@@ -43661,11 +43858,13 @@ module Google
43661
43858
  # HTTPS Proxy resources: * [Global](/compute/docs/reference/rest/beta/
43662
43859
  # targetHttpsProxies) * [Regional](/compute/docs/reference/rest/beta/
43663
43860
  # regionTargetHttpsProxies) A target HTTPS proxy is a component of GCP HTTPS
43664
- # load balancers. * targetHttpsProxies are used by external HTTPS load balancers.
43665
- # * regionTargetHttpsProxies are used by internal HTTPS load balancers.
43666
- # Forwarding rules reference a target HTTPS proxy, and the target proxy then
43667
- # references a URL map. For more information, read Using Target Proxies and
43668
- # Forwarding rule concepts.
43861
+ # load balancers. * targetHttpProxies are used by global external Application
43862
+ # Load Balancers, classic Application Load Balancers, cross-region internal
43863
+ # Application Load Balancers, and Traffic Director. * regionTargetHttpProxies
43864
+ # are used by regional internal Application Load Balancers and regional external
43865
+ # Application Load Balancers. Forwarding rules reference a target HTTPS proxy,
43866
+ # and the target proxy then references a URL map. For more information, read
43867
+ # Using Target Proxies and Forwarding rule concepts.
43669
43868
  class TargetHttpsProxy
43670
43869
  include Google::Apis::Core::Hashable
43671
43870
 
@@ -43738,10 +43937,10 @@ module Google
43738
43937
 
43739
43938
  # Specifies how long to keep a connection open, after completing a response,
43740
43939
  # while there is no matching traffic (in seconds). If an HTTP keep-alive is not
43741
- # specified, a default value (610 seconds) will be used. For Global external
43742
- # HTTP(S) load balancer, the minimum allowed value is 5 seconds and the maximum
43743
- # allowed value is 1200 seconds. For Global external HTTP(S) load balancer (
43744
- # classic), this option is not available publicly.
43940
+ # specified, a default value (610 seconds) will be used. For global external
43941
+ # Application Load Balancers, the minimum allowed value is 5 seconds and the
43942
+ # maximum allowed value is 1200 seconds. For classic Application Load Balancers,
43943
+ # this option is not supported.
43745
43944
  # Corresponds to the JSON property `httpKeepAliveTimeoutSec`
43746
43945
  # @return [Fixnum]
43747
43946
  attr_accessor :http_keep_alive_timeout_sec
@@ -46488,17 +46687,19 @@ module Google
46488
46687
  # Global](/compute/docs/reference/rest/beta/urlMaps) * [Regional](/compute/docs/
46489
46688
  # reference/rest/beta/regionUrlMaps) A URL map resource is a component of
46490
46689
  # certain types of cloud load balancers and Traffic Director: * urlMaps are used
46491
- # by external HTTP(S) load balancers and Traffic Director. * regionUrlMaps are
46492
- # used by internal HTTP(S) load balancers. For a list of supported URL map
46493
- # features by the load balancer type, see the Load balancing features: Routing
46494
- # and traffic management table. For a list of supported URL map features for
46495
- # Traffic Director, see the Traffic Director features: Routing and traffic
46496
- # management table. This resource defines mappings from hostnames and URL paths
46497
- # to either a backend service or a backend bucket. To use the global urlMaps
46498
- # resource, the backend service must have a loadBalancingScheme of either
46499
- # EXTERNAL or INTERNAL_SELF_MANAGED. To use the regionUrlMaps resource, the
46500
- # backend service must have a loadBalancingScheme of INTERNAL_MANAGED. For more
46501
- # information, read URL Map Concepts.
46690
+ # by global external Application Load Balancers, classic Application Load
46691
+ # Balancers, and cross-region internal Application Load Balancers. *
46692
+ # regionUrlMaps are used by internal Application Load Balancers, regional
46693
+ # external Application Load Balancers and regional internal Application Load
46694
+ # Balancers. For a list of supported URL map features by the load balancer type,
46695
+ # see the Load balancing features: Routing and traffic management table. For a
46696
+ # list of supported URL map features for Traffic Director, see the Traffic
46697
+ # Director features: Routing and traffic management table. This resource defines
46698
+ # mappings from hostnames and URL paths to either a backend service or a backend
46699
+ # bucket. To use the global urlMaps resource, the backend service must have a
46700
+ # loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To use the
46701
+ # regionUrlMaps resource, the backend service must have a loadBalancingScheme of
46702
+ # INTERNAL_MANAGED. For more information, read URL Map Concepts.
46502
46703
  class UrlMap
46503
46704
  include Google::Apis::Core::Hashable
46504
46705
 
@@ -46519,8 +46720,8 @@ module Google
46519
46720
  # defaultRouteAction specifies any weightedBackendServices, defaultService must
46520
46721
  # not be set. Conversely if defaultService is set, defaultRouteAction cannot
46521
46722
  # contain any weightedBackendServices. Only one of defaultRouteAction or
46522
- # defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load
46523
- # balancers only support the urlRewrite action within defaultRouteAction.
46723
+ # defaultUrlRedirect must be set. URL maps for classic Application Load
46724
+ # Balancers only support the urlRewrite action within defaultRouteAction.
46524
46725
  # defaultRouteAction has no effect when the URL map is bound to a target gRPC
46525
46726
  # proxy that has the validateForProxyless field set to true.
46526
46727
  # Corresponds to the JSON property `defaultRouteAction`
@@ -47138,16 +47339,16 @@ module Google
47138
47339
  include Google::Apis::Core::Hashable
47139
47340
 
47140
47341
  # Specifies the load balancer type(s) this validation request is for. Use
47141
- # EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced
47142
- # Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load
47143
- # Balancer. Other load balancer types are not supported. For more information,
47144
- # refer to Choosing a load balancer. If unspecified, the load balancing scheme
47145
- # will be inferred from the backend service resources this URL map references.
47146
- # If that can not be inferred (for example, this URL map only references backend
47147
- # buckets, or this Url map is for rewrites and redirects only and doesn't
47148
- # reference any backends), EXTERNAL will be used as the default type. If
47149
- # specified, the scheme(s) must not conflict with the load balancing scheme of
47150
- # the backend service resources this Url map references.
47342
+ # EXTERNAL_MANAGED for global external Application Load Balancers and regional
47343
+ # external Application Load Balancers. Use EXTERNAL for classic Application Load
47344
+ # Balancers. Use INTERNAL_MANAGED for internal Application Load Balancers. For
47345
+ # more information, refer to Choosing a load balancer. If unspecified, the load
47346
+ # balancing scheme will be inferred from the backend service resources this URL
47347
+ # map references. If that can not be inferred (for example, this URL map only
47348
+ # references backend buckets, or this Url map is for rewrites and redirects only
47349
+ # and doesn't reference any backends), EXTERNAL will be used as the default type.
47350
+ # If specified, the scheme(s) must not conflict with the load balancing scheme
47351
+ # of the backend service resources this Url map references.
47151
47352
  # Corresponds to the JSON property `loadBalancingSchemes`
47152
47353
  # @return [Array<String>]
47153
47354
  attr_accessor :load_balancing_schemes
@@ -47156,17 +47357,19 @@ module Google
47156
47357
  # Global](/compute/docs/reference/rest/beta/urlMaps) * [Regional](/compute/docs/
47157
47358
  # reference/rest/beta/regionUrlMaps) A URL map resource is a component of
47158
47359
  # certain types of cloud load balancers and Traffic Director: * urlMaps are used
47159
- # by external HTTP(S) load balancers and Traffic Director. * regionUrlMaps are
47160
- # used by internal HTTP(S) load balancers. For a list of supported URL map
47161
- # features by the load balancer type, see the Load balancing features: Routing
47162
- # and traffic management table. For a list of supported URL map features for
47163
- # Traffic Director, see the Traffic Director features: Routing and traffic
47164
- # management table. This resource defines mappings from hostnames and URL paths
47165
- # to either a backend service or a backend bucket. To use the global urlMaps
47166
- # resource, the backend service must have a loadBalancingScheme of either
47167
- # EXTERNAL or INTERNAL_SELF_MANAGED. To use the regionUrlMaps resource, the
47168
- # backend service must have a loadBalancingScheme of INTERNAL_MANAGED. For more
47169
- # information, read URL Map Concepts.
47360
+ # by global external Application Load Balancers, classic Application Load
47361
+ # Balancers, and cross-region internal Application Load Balancers. *
47362
+ # regionUrlMaps are used by internal Application Load Balancers, regional
47363
+ # external Application Load Balancers and regional internal Application Load
47364
+ # Balancers. For a list of supported URL map features by the load balancer type,
47365
+ # see the Load balancing features: Routing and traffic management table. For a
47366
+ # list of supported URL map features for Traffic Director, see the Traffic
47367
+ # Director features: Routing and traffic management table. This resource defines
47368
+ # mappings from hostnames and URL paths to either a backend service or a backend
47369
+ # bucket. To use the global urlMaps resource, the backend service must have a
47370
+ # loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To use the
47371
+ # regionUrlMaps resource, the backend service must have a loadBalancingScheme of
47372
+ # INTERNAL_MANAGED. For more information, read URL Map Concepts.
47170
47373
  # Corresponds to the JSON property `resource`
47171
47374
  # @return [Google::Apis::ComputeBeta::UrlMap]
47172
47375
  attr_accessor :resource
@@ -48511,12 +48714,12 @@ module Google
48511
48714
  # @return [Fixnum]
48512
48715
  attr_accessor :peer_external_gateway_interface
48513
48716
 
48514
- # URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected.
48717
+ # URL of the peer side HA VPN gateway to which this VPN tunnel is connected.
48515
48718
  # Provided by the client when the VPN tunnel is created. This field can be used
48516
48719
  # when creating highly available VPN from VPC network to VPC network, the field
48517
48720
  # is exclusive with the field peerExternalGateway. If provided, the VPN tunnel
48518
- # will automatically use the same vpnGatewayInterface ID in the peer GCP VPN
48519
- # gateway.
48721
+ # will automatically use the same vpnGatewayInterface ID in the peer Google
48722
+ # Cloud VPN gateway.
48520
48723
  # Corresponds to the JSON property `peerGcpGateway`
48521
48724
  # @return [String]
48522
48725
  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.77.0"
19
+ GEM_VERSION = "0.79.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 = "20230801"
25
+ REVISION = "20230829"
26
26
  end
27
27
  end
28
28
  end
@@ -1792,6 +1792,18 @@ module Google
1792
1792
  include Google::Apis::Core::JsonObjectSupport
1793
1793
  end
1794
1794
 
1795
+ class InstanceGroupManagerInstanceFlexibilityPolicy
1796
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1797
+
1798
+ include Google::Apis::Core::JsonObjectSupport
1799
+ end
1800
+
1801
+ class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection
1802
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1803
+
1804
+ include Google::Apis::Core::JsonObjectSupport
1805
+ end
1806
+
1795
1807
  class InstanceGroupManagerInstanceLifecyclePolicy
1796
1808
  class Representation < Google::Apis::Core::JsonRepresentation; end
1797
1809
 
@@ -2170,6 +2182,18 @@ module Google
2170
2182
  include Google::Apis::Core::JsonObjectSupport
2171
2183
  end
2172
2184
 
2185
+ class InstanceSettings
2186
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2187
+
2188
+ include Google::Apis::Core::JsonObjectSupport
2189
+ end
2190
+
2191
+ class InstanceSettingsMetadata
2192
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2193
+
2194
+ include Google::Apis::Core::JsonObjectSupport
2195
+ end
2196
+
2173
2197
  class InstanceTemplate
2174
2198
  class Representation < Google::Apis::Core::JsonRepresentation; end
2175
2199
 
@@ -5146,6 +5170,12 @@ module Google
5146
5170
  include Google::Apis::Core::JsonObjectSupport
5147
5171
  end
5148
5172
 
5173
+ class ServiceAttachmentTunnelingConfig
5174
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5175
+
5176
+ include Google::Apis::Core::JsonObjectSupport
5177
+ end
5178
+
5149
5179
  class ServiceAttachmentsScopedList
5150
5180
  class Representation < Google::Apis::Core::JsonRepresentation; end
5151
5181
 
@@ -8663,6 +8693,7 @@ module Google
8663
8693
  property :all_ports, as: 'allPorts'
8664
8694
  property :allow_global_access, as: 'allowGlobalAccess'
8665
8695
  property :allow_psc_global_access, as: 'allowPscGlobalAccess'
8696
+ property :allow_psc_packet_injection, as: 'allowPscPacketInjection'
8666
8697
  property :backend_service, as: 'backendService'
8667
8698
  property :base_forwarding_rule, as: 'baseForwardingRule'
8668
8699
  property :creation_timestamp, as: 'creationTimestamp'
@@ -10000,6 +10031,8 @@ module Google
10000
10031
  property :failover_action, as: 'failoverAction'
10001
10032
  property :fingerprint, :base64 => true, as: 'fingerprint'
10002
10033
  property :id, :numeric_string => true, as: 'id'
10034
+ property :instance_flexibility_policy, as: 'instanceFlexibilityPolicy', class: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicy, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicy::Representation
10035
+
10003
10036
  property :instance_group, as: 'instanceGroup'
10004
10037
  property :instance_lifecycle_policy, as: 'instanceLifecyclePolicy', class: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceLifecyclePolicy, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceLifecyclePolicy::Representation
10005
10038
 
@@ -10094,6 +10127,22 @@ module Google
10094
10127
  end
10095
10128
  end
10096
10129
 
10130
+ class InstanceGroupManagerInstanceFlexibilityPolicy
10131
+ # @private
10132
+ class Representation < Google::Apis::Core::JsonRepresentation
10133
+ hash :instance_selection_lists, as: 'instanceSelectionLists', class: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection::Representation
10134
+
10135
+ end
10136
+ end
10137
+
10138
+ class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection
10139
+ # @private
10140
+ class Representation < Google::Apis::Core::JsonRepresentation
10141
+ collection :machine_types, as: 'machineTypes'
10142
+ property :rank, as: 'rank'
10143
+ end
10144
+ end
10145
+
10097
10146
  class InstanceGroupManagerInstanceLifecyclePolicy
10098
10147
  # @private
10099
10148
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10725,6 +10774,25 @@ module Google
10725
10774
  end
10726
10775
  end
10727
10776
 
10777
+ class InstanceSettings
10778
+ # @private
10779
+ class Representation < Google::Apis::Core::JsonRepresentation
10780
+ property :fingerprint, :base64 => true, as: 'fingerprint'
10781
+ property :kind, as: 'kind'
10782
+ property :metadata, as: 'metadata', class: Google::Apis::ComputeBeta::InstanceSettingsMetadata, decorator: Google::Apis::ComputeBeta::InstanceSettingsMetadata::Representation
10783
+
10784
+ property :zone, as: 'zone'
10785
+ end
10786
+ end
10787
+
10788
+ class InstanceSettingsMetadata
10789
+ # @private
10790
+ class Representation < Google::Apis::Core::JsonRepresentation
10791
+ hash :items, as: 'items'
10792
+ property :kind, as: 'kind'
10793
+ end
10794
+ end
10795
+
10728
10796
  class InstanceTemplate
10729
10797
  # @private
10730
10798
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14889,6 +14957,8 @@ module Google
14889
14957
  property :availability_domain_count, as: 'availabilityDomainCount'
14890
14958
  property :collocation, as: 'collocation'
14891
14959
  property :max_distance, as: 'maxDistance'
14960
+ property :slice_count, as: 'sliceCount'
14961
+ property :tpu_topology, as: 'tpuTopology'
14892
14962
  property :vm_count, as: 'vmCount'
14893
14963
  end
14894
14964
  end
@@ -16107,6 +16177,8 @@ module Google
16107
16177
  property :region, as: 'region'
16108
16178
  property :self_link, as: 'selfLink'
16109
16179
  property :target_service, as: 'targetService'
16180
+ property :tunneling_config, as: 'tunnelingConfig', class: Google::Apis::ComputeBeta::ServiceAttachmentTunnelingConfig, decorator: Google::Apis::ComputeBeta::ServiceAttachmentTunnelingConfig::Representation
16181
+
16110
16182
  end
16111
16183
  end
16112
16184
 
@@ -16194,6 +16266,14 @@ module Google
16194
16266
  end
16195
16267
  end
16196
16268
 
16269
+ class ServiceAttachmentTunnelingConfig
16270
+ # @private
16271
+ class Representation < Google::Apis::Core::JsonRepresentation
16272
+ property :encapsulation_profile, as: 'encapsulationProfile'
16273
+ property :routing_mode, as: 'routingMode'
16274
+ end
16275
+ end
16276
+
16197
16277
  class ServiceAttachmentsScopedList
16198
16278
  # @private
16199
16279
  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.77.0
4
+ version: 0.79.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-13 00:00:00.000000000 Z
11
+ date: 2023-09-10 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.77.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.79.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.2
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