google-apis-compute_beta 0.74.0 → 0.76.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: 34196505071e8f46fe0d70f2ed9cd665adbd8f032ad6f99b24017d41420307fa
4
- data.tar.gz: 4d68e1ab4cd3ddcaa8ee312522e1ee2cf141d7c0e90ed534af9a33a56a27d448
3
+ metadata.gz: a4c4df59d5d8879ef0ab0d2741119382e4de0dafbfb999f0bfa7110c630bfbc7
4
+ data.tar.gz: 4cb41b60f53a7077f05d22da8283c441cafcff738d270078c0f5d89155435bf0
5
5
  SHA512:
6
- metadata.gz: 3eb8d8ddeee36e294b882dfddb040833be75e149ab58f11b67d8aa8c2703db13ccae2988b012264c931c7a83627015de967bf847baa23ff5d2b735297af3f9b0
7
- data.tar.gz: c994a735b9eea1bc7f99e709723b08017df3d7872078e4581e2379ca596458d4f70269feb0fc31769a292b5a67727dd71716931424aa1610c866f76374bdd4f0
6
+ metadata.gz: 9617d624ef6a417a9bb072399f39c819142f91396190f0402718856ca5b6d9104e0c086bc16242d52a92d4c445daa467111bdf26f879f7076cdd5a8b956c9d6b
7
+ data.tar.gz: 92c8b4657df17dc93bf61e2a3aa944c180be23c30e9930c640938d2c5df9bb23ce172558e83be6ce3c55e9b809de0950f6504979711c0b6f136e85bcdb19fe91
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.76.0 (2023-08-06)
4
+
5
+ * Regenerated from discovery document revision 20230725
6
+
7
+ ### v0.75.0 (2023-07-16)
8
+
9
+ * Regenerated from discovery document revision 20230711
10
+
3
11
  ### v0.74.0 (2023-07-09)
4
12
 
5
13
  * Regenerated from discovery document revision 20230701
@@ -1673,8 +1673,7 @@ module Google
1673
1673
 
1674
1674
  # Required for each regional disk associated with the instance. Specify the URLs
1675
1675
  # of the zones where the disk should be replicated to. You must provide exactly
1676
- # two replica zones, and one zone must be the same as the instance zone. You can'
1677
- # t use this option with boot disks.
1676
+ # two replica zones, and one zone must be the same as the instance zone.
1678
1677
  # Corresponds to the JSON property `replicaZones`
1679
1678
  # @return [Array<String>]
1680
1679
  attr_accessor :replica_zones
@@ -2912,7 +2911,7 @@ module Google
2912
2911
  # @return [String]
2913
2912
  attr_accessor :creation_timestamp
2914
2913
 
2915
- # Headers that the HTTP/S load balancer should add to proxied responses.
2914
+ # Headers that the Application Load Balancer should add to proxied responses.
2916
2915
  # Corresponds to the JSON property `customResponseHeaders`
2917
2916
  # @return [Array<String>]
2918
2917
  attr_accessor :custom_response_headers
@@ -9739,7 +9738,7 @@ module Google
9739
9738
 
9740
9739
  # This is used in PSC consumer ForwardingRule to control whether it should try
9741
9740
  # to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use this
9742
- # field.
9741
+ # field. Once set, this field is not mutable.
9743
9742
  # Corresponds to the JSON property `noAutomateDnsZone`
9744
9743
  # @return [Boolean]
9745
9744
  attr_accessor :no_automate_dns_zone
@@ -9855,6 +9854,7 @@ module Google
9855
9854
  # API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis -
9856
9855
  # All supported Google APIs. - For Private Service Connect forwarding rules that
9857
9856
  # forward traffic to managed services, the target must be a service attachment.
9857
+ # The target is not mutable once set as a service attachment.
9858
9858
  # Corresponds to the JSON property `target`
9859
9859
  # @return [String]
9860
9860
  attr_accessor :target
@@ -15857,11 +15857,9 @@ module Google
15857
15857
  # @return [String]
15858
15858
  attr_accessor :replacement_method
15859
15859
 
15860
- # The type of update process. You can specify either PROACTIVE so that the
15861
- # instance group manager proactively executes actions in order to bring
15862
- # instances to their target versions or OPPORTUNISTIC so that no action is
15863
- # proactively executed but the update will be performed as part of other actions
15864
- # (for example, resizes or recreateInstances calls).
15860
+ # The type of update process. You can specify either PROACTIVE so that the MIG
15861
+ # automatically updates VMs to the latest configurations or OPPORTUNISTIC so
15862
+ # that you can select the VMs that you want to update.
15865
15863
  # Corresponds to the JSON property `type`
15866
15864
  # @return [String]
15867
15865
  attr_accessor :type
@@ -23065,6 +23063,81 @@ module Google
23065
23063
  end
23066
23064
  end
23067
23065
 
23066
+ # Contains NAT IP information of a NAT config (i.e. usage status, mode).
23067
+ class NatIpInfo
23068
+ include Google::Apis::Core::Hashable
23069
+
23070
+ # A list of all NAT IPs assigned to this NAT config.
23071
+ # Corresponds to the JSON property `natIpInfoMappings`
23072
+ # @return [Array<Google::Apis::ComputeBeta::NatIpInfoNatIpInfoMapping>]
23073
+ attr_accessor :nat_ip_info_mappings
23074
+
23075
+ # Name of the NAT config which the NAT IP belongs to.
23076
+ # Corresponds to the JSON property `natName`
23077
+ # @return [String]
23078
+ attr_accessor :nat_name
23079
+
23080
+ def initialize(**args)
23081
+ update!(**args)
23082
+ end
23083
+
23084
+ # Update properties of this object
23085
+ def update!(**args)
23086
+ @nat_ip_info_mappings = args[:nat_ip_info_mappings] if args.key?(:nat_ip_info_mappings)
23087
+ @nat_name = args[:nat_name] if args.key?(:nat_name)
23088
+ end
23089
+ end
23090
+
23091
+ # Contains information of a NAT IP.
23092
+ class NatIpInfoNatIpInfoMapping
23093
+ include Google::Apis::Core::Hashable
23094
+
23095
+ # Specifies whether NAT IP is auto or manual.
23096
+ # Corresponds to the JSON property `mode`
23097
+ # @return [String]
23098
+ attr_accessor :mode
23099
+
23100
+ # NAT IP address. For example: 203.0.113.11.
23101
+ # Corresponds to the JSON property `natIp`
23102
+ # @return [String]
23103
+ attr_accessor :nat_ip
23104
+
23105
+ # Specifies whether NAT IP is currently serving at least one endpoint or not.
23106
+ # Corresponds to the JSON property `usage`
23107
+ # @return [String]
23108
+ attr_accessor :usage
23109
+
23110
+ def initialize(**args)
23111
+ update!(**args)
23112
+ end
23113
+
23114
+ # Update properties of this object
23115
+ def update!(**args)
23116
+ @mode = args[:mode] if args.key?(:mode)
23117
+ @nat_ip = args[:nat_ip] if args.key?(:nat_ip)
23118
+ @usage = args[:usage] if args.key?(:usage)
23119
+ end
23120
+ end
23121
+
23122
+ #
23123
+ class NatIpInfoResponse
23124
+ include Google::Apis::Core::Hashable
23125
+
23126
+ # [Output Only] A list of NAT IP information.
23127
+ # Corresponds to the JSON property `result`
23128
+ # @return [Array<Google::Apis::ComputeBeta::NatIpInfo>]
23129
+ attr_accessor :result
23130
+
23131
+ def initialize(**args)
23132
+ update!(**args)
23133
+ end
23134
+
23135
+ # Update properties of this object
23136
+ def update!(**args)
23137
+ @result = args[:result] if args.key?(:result)
23138
+ end
23139
+ end
23140
+
23068
23141
  # Represents a VPC Network resource. Networks connect resources to each other
23069
23142
  # and to the internet. For more information, read Virtual Private Cloud (VPC)
23070
23143
  # Network.
@@ -27656,7 +27729,7 @@ module Google
27656
27729
  # Handling API responses. Operations can be global, regional or zonal. - For
27657
27730
  # global operations, use the `globalOperations` resource. - For regional
27658
27731
  # operations, use the `regionOperations` resource. - For zonal operations, use
27659
- # the `zonalOperations` resource. For more information, read Global, Regional,
27732
+ # the `zoneOperations` resource. For more information, read Global, Regional,
27660
27733
  # and Zonal Resources.
27661
27734
  class Operation
27662
27735
  include Google::Apis::Core::Hashable
@@ -27762,6 +27835,12 @@ module Google
27762
27835
  # @return [String]
27763
27836
  attr_accessor :self_link
27764
27837
 
27838
+ # [Output Only] If the operation is for projects.setCommonInstanceMetadata, this
27839
+ # field will contain information on all underlying zonal actions and their state.
27840
+ # Corresponds to the JSON property `setCommonInstanceMetadataOperationMetadata`
27841
+ # @return [Google::Apis::ComputeBeta::SetCommonInstanceMetadataOperationMetadata]
27842
+ attr_accessor :set_common_instance_metadata_operation_metadata
27843
+
27765
27844
  # [Output Only] The time that this operation was started by the server. This
27766
27845
  # value is in RFC3339 text format.
27767
27846
  # Corresponds to the JSON property `startTime`
@@ -27794,7 +27873,7 @@ module Google
27794
27873
  attr_accessor :target_link
27795
27874
 
27796
27875
  # [Output Only] User who requested the operation, for example: `user@example.com`
27797
- # .
27876
+ # or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
27798
27877
  # Corresponds to the JSON property `user`
27799
27878
  # @return [String]
27800
27879
  attr_accessor :user
@@ -27834,6 +27913,7 @@ module Google
27834
27913
  @progress = args[:progress] if args.key?(:progress)
27835
27914
  @region = args[:region] if args.key?(:region)
27836
27915
  @self_link = args[:self_link] if args.key?(:self_link)
27916
+ @set_common_instance_metadata_operation_metadata = args[:set_common_instance_metadata_operation_metadata] if args.key?(:set_common_instance_metadata_operation_metadata)
27837
27917
  @start_time = args[:start_time] if args.key?(:start_time)
27838
27918
  @status = args[:status] if args.key?(:status)
27839
27919
  @status_message = args[:status_message] if args.key?(:status_message)
@@ -29678,6 +29758,13 @@ module Google
29678
29758
  # @return [String]
29679
29759
  attr_accessor :kind
29680
29760
 
29761
+ # [Output Only] The Cloud Armor Managed Protection (CAMP) tier for this project.
29762
+ # It can be one of the following values: CA_STANDARD, CAMP_PLUS_MONTHLY. If this
29763
+ # field is not specified, it is assumed to be CA_STANDARD.
29764
+ # Corresponds to the JSON property `managedProtectionTier`
29765
+ # @return [String]
29766
+ attr_accessor :managed_protection_tier
29767
+
29681
29768
  # The project ID. For example: my-example-project. Use the project ID to make
29682
29769
  # requests to Compute Engine.
29683
29770
  # Corresponds to the JSON property `name`
@@ -29726,6 +29813,7 @@ module Google
29726
29813
  @enabled_features = args[:enabled_features] if args.key?(:enabled_features)
29727
29814
  @id = args[:id] if args.key?(:id)
29728
29815
  @kind = args[:kind] if args.key?(:kind)
29816
+ @managed_protection_tier = args[:managed_protection_tier] if args.key?(:managed_protection_tier)
29729
29817
  @name = args[:name] if args.key?(:name)
29730
29818
  @quotas = args[:quotas] if args.key?(:quotas)
29731
29819
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -29850,6 +29938,25 @@ module Google
29850
29938
  end
29851
29939
  end
29852
29940
 
29941
+ #
29942
+ class ProjectsSetManagedProtectionTierRequest
29943
+ include Google::Apis::Core::Hashable
29944
+
29945
+ # Managed protection tier to be set.
29946
+ # Corresponds to the JSON property `managedProtectionTier`
29947
+ # @return [String]
29948
+ attr_accessor :managed_protection_tier
29949
+
29950
+ def initialize(**args)
29951
+ update!(**args)
29952
+ end
29953
+
29954
+ # Update properties of this object
29955
+ def update!(**args)
29956
+ @managed_protection_tier = args[:managed_protection_tier] if args.key?(:managed_protection_tier)
29957
+ end
29958
+ end
29959
+
29853
29960
  # A public advertised prefix represents an aggregated IP prefix or netblock
29854
29961
  # which customers bring to cloud. The IP prefix is a single unit of route
29855
29962
  # advertisement and is announced globally to the internet.
@@ -30685,6 +30792,12 @@ module Google
30685
30792
  # @return [Hash<String,String>]
30686
30793
  attr_accessor :dimensions
30687
30794
 
30795
+ # Future quota limit being rolled out. The limit's unit depends on the quota
30796
+ # type or metric.
30797
+ # Corresponds to the JSON property `futureLimit`
30798
+ # @return [Float]
30799
+ attr_accessor :future_limit
30800
+
30688
30801
  # Current effective quota limit. The limit's unit depends on the quota type or
30689
30802
  # metric.
30690
30803
  # Corresponds to the JSON property `limit`
@@ -30701,6 +30814,11 @@ module Google
30701
30814
  # @return [String]
30702
30815
  attr_accessor :metric_name
30703
30816
 
30817
+ # Rollout status of the future quota limit.
30818
+ # Corresponds to the JSON property `rolloutStatus`
30819
+ # @return [String]
30820
+ attr_accessor :rollout_status
30821
+
30704
30822
  def initialize(**args)
30705
30823
  update!(**args)
30706
30824
  end
@@ -30708,9 +30826,11 @@ module Google
30708
30826
  # Update properties of this object
30709
30827
  def update!(**args)
30710
30828
  @dimensions = args[:dimensions] if args.key?(:dimensions)
30829
+ @future_limit = args[:future_limit] if args.key?(:future_limit)
30711
30830
  @limit = args[:limit] if args.key?(:limit)
30712
30831
  @limit_name = args[:limit_name] if args.key?(:limit_name)
30713
30832
  @metric_name = args[:metric_name] if args.key?(:metric_name)
30833
+ @rollout_status = args[:rollout_status] if args.key?(:rollout_status)
30714
30834
  end
30715
30835
  end
30716
30836
 
@@ -36294,6 +36414,14 @@ module Google
36294
36414
  # @return [String]
36295
36415
  attr_accessor :instance_termination_action
36296
36416
 
36417
+ # A Duration represents a fixed-length span of time represented as a count of
36418
+ # seconds and fractions of seconds at nanosecond resolution. It is independent
36419
+ # of any calendar and concepts like "day" or "month". Range is approximately 10,
36420
+ # 000 years.
36421
+ # Corresponds to the JSON property `localSsdRecoveryTimeout`
36422
+ # @return [Google::Apis::ComputeBeta::Duration]
36423
+ attr_accessor :local_ssd_recovery_timeout
36424
+
36297
36425
  # An opaque location hint used to place the instance close to other resources.
36298
36426
  # This field is for use by internal tools that use the public API.
36299
36427
  # Corresponds to the JSON property `locationHint`
@@ -36370,6 +36498,7 @@ module Google
36370
36498
  @automatic_restart = args[:automatic_restart] if args.key?(:automatic_restart)
36371
36499
  @host_error_timeout_seconds = args[:host_error_timeout_seconds] if args.key?(:host_error_timeout_seconds)
36372
36500
  @instance_termination_action = args[:instance_termination_action] if args.key?(:instance_termination_action)
36501
+ @local_ssd_recovery_timeout = args[:local_ssd_recovery_timeout] if args.key?(:local_ssd_recovery_timeout)
36373
36502
  @location_hint = args[:location_hint] if args.key?(:location_hint)
36374
36503
  @maintenance_freeze_duration_hours = args[:maintenance_freeze_duration_hours] if args.key?(:maintenance_freeze_duration_hours)
36375
36504
  @maintenance_interval = args[:maintenance_interval] if args.key?(:maintenance_interval)
@@ -38585,6 +38714,11 @@ module Google
38585
38714
  class ServiceAttachmentConnectedEndpoint
38586
38715
  include Google::Apis::Core::Hashable
38587
38716
 
38717
+ # The url of the consumer network.
38718
+ # Corresponds to the JSON property `consumerNetwork`
38719
+ # @return [String]
38720
+ attr_accessor :consumer_network
38721
+
38588
38722
  # The url of a connected endpoint.
38589
38723
  # Corresponds to the JSON property `endpoint`
38590
38724
  # @return [String]
@@ -38606,6 +38740,7 @@ module Google
38606
38740
 
38607
38741
  # Update properties of this object
38608
38742
  def update!(**args)
38743
+ @consumer_network = args[:consumer_network] if args.key?(:consumer_network)
38609
38744
  @endpoint = args[:endpoint] if args.key?(:endpoint)
38610
38745
  @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
38611
38746
  @status = args[:status] if args.key?(:status)
@@ -38852,6 +38987,63 @@ module Google
38852
38987
  end
38853
38988
  end
38854
38989
 
38990
+ #
38991
+ class SetCommonInstanceMetadataOperationMetadata
38992
+ include Google::Apis::Core::Hashable
38993
+
38994
+ # [Output Only] The client operation id.
38995
+ # Corresponds to the JSON property `clientOperationId`
38996
+ # @return [String]
38997
+ attr_accessor :client_operation_id
38998
+
38999
+ # [Output Only] Status information per location (location name is key). Example
39000
+ # key: zones/us-central1-a
39001
+ # Corresponds to the JSON property `perLocationOperations`
39002
+ # @return [Hash<String,Google::Apis::ComputeBeta::SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo>]
39003
+ attr_accessor :per_location_operations
39004
+
39005
+ def initialize(**args)
39006
+ update!(**args)
39007
+ end
39008
+
39009
+ # Update properties of this object
39010
+ def update!(**args)
39011
+ @client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id)
39012
+ @per_location_operations = args[:per_location_operations] if args.key?(:per_location_operations)
39013
+ end
39014
+ end
39015
+
39016
+ #
39017
+ class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
39018
+ include Google::Apis::Core::Hashable
39019
+
39020
+ # The `Status` type defines a logical error model that is suitable for different
39021
+ # programming environments, including REST APIs and RPC APIs. It is used by [
39022
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
39023
+ # data: error code, error message, and error details. You can find out more
39024
+ # about this error model and how to work with it in the [API Design Guide](https:
39025
+ # //cloud.google.com/apis/design/errors).
39026
+ # Corresponds to the JSON property `error`
39027
+ # @return [Google::Apis::ComputeBeta::Status]
39028
+ attr_accessor :error
39029
+
39030
+ # [Output Only] Status of the action, which can be one of the following: `
39031
+ # PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
39032
+ # Corresponds to the JSON property `state`
39033
+ # @return [String]
39034
+ attr_accessor :state
39035
+
39036
+ def initialize(**args)
39037
+ update!(**args)
39038
+ end
39039
+
39040
+ # Update properties of this object
39041
+ def update!(**args)
39042
+ @error = args[:error] if args.key?(:error)
39043
+ @state = args[:state] if args.key?(:state)
39044
+ end
39045
+ end
39046
+
38855
39047
  # The share setting for reservations and sole tenancy node groups.
38856
39048
  class ShareSettings
38857
39049
  include Google::Apis::Core::Hashable
@@ -39572,6 +39764,71 @@ module Google
39572
39764
  end
39573
39765
  end
39574
39766
 
39767
+ #
39768
+ class SnapshotSettings
39769
+ include Google::Apis::Core::Hashable
39770
+
39771
+ # Policy of which storage location is going to be resolved, and additional data
39772
+ # that particularizes how the policy is going to be carried out.
39773
+ # Corresponds to the JSON property `storageLocation`
39774
+ # @return [Google::Apis::ComputeBeta::SnapshotSettingsStorageLocationSettings]
39775
+ attr_accessor :storage_location
39776
+
39777
+ def initialize(**args)
39778
+ update!(**args)
39779
+ end
39780
+
39781
+ # Update properties of this object
39782
+ def update!(**args)
39783
+ @storage_location = args[:storage_location] if args.key?(:storage_location)
39784
+ end
39785
+ end
39786
+
39787
+ #
39788
+ class SnapshotSettingsStorageLocationSettings
39789
+ include Google::Apis::Core::Hashable
39790
+
39791
+ # When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the
39792
+ # locations listed in this field. Keys are GCS bucket locations.
39793
+ # Corresponds to the JSON property `locations`
39794
+ # @return [Hash<String,Google::Apis::ComputeBeta::SnapshotSettingsStorageLocationSettingsStorageLocationPreference>]
39795
+ attr_accessor :locations
39796
+
39797
+ # The chosen location policy.
39798
+ # Corresponds to the JSON property `policy`
39799
+ # @return [String]
39800
+ attr_accessor :policy
39801
+
39802
+ def initialize(**args)
39803
+ update!(**args)
39804
+ end
39805
+
39806
+ # Update properties of this object
39807
+ def update!(**args)
39808
+ @locations = args[:locations] if args.key?(:locations)
39809
+ @policy = args[:policy] if args.key?(:policy)
39810
+ end
39811
+ end
39812
+
39813
+ # A structure for specifying storage locations.
39814
+ class SnapshotSettingsStorageLocationSettingsStorageLocationPreference
39815
+ include Google::Apis::Core::Hashable
39816
+
39817
+ # Name of the location. It should be one of the GCS buckets.
39818
+ # Corresponds to the JSON property `name`
39819
+ # @return [String]
39820
+ attr_accessor :name
39821
+
39822
+ def initialize(**args)
39823
+ update!(**args)
39824
+ end
39825
+
39826
+ # Update properties of this object
39827
+ def update!(**args)
39828
+ @name = args[:name] if args.key?(:name)
39829
+ end
39830
+ end
39831
+
39575
39832
  #
39576
39833
  class SourceDiskEncryptionKey
39577
39834
  include Google::Apis::Core::Hashable
@@ -40921,6 +41178,45 @@ module Google
40921
41178
  end
40922
41179
  end
40923
41180
 
41181
+ # The `Status` type defines a logical error model that is suitable for different
41182
+ # programming environments, including REST APIs and RPC APIs. It is used by [
41183
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
41184
+ # data: error code, error message, and error details. You can find out more
41185
+ # about this error model and how to work with it in the [API Design Guide](https:
41186
+ # //cloud.google.com/apis/design/errors).
41187
+ class Status
41188
+ include Google::Apis::Core::Hashable
41189
+
41190
+ # The status code, which should be an enum value of google.rpc.Code.
41191
+ # Corresponds to the JSON property `code`
41192
+ # @return [Fixnum]
41193
+ attr_accessor :code
41194
+
41195
+ # A list of messages that carry the error details. There is a common set of
41196
+ # message types for APIs to use.
41197
+ # Corresponds to the JSON property `details`
41198
+ # @return [Array<Hash<String,Object>>]
41199
+ attr_accessor :details
41200
+
41201
+ # A developer-facing error message, which should be in English. Any user-facing
41202
+ # error message should be localized and sent in the google.rpc.Status.details
41203
+ # field, or localized by the client.
41204
+ # Corresponds to the JSON property `message`
41205
+ # @return [String]
41206
+ attr_accessor :message
41207
+
41208
+ def initialize(**args)
41209
+ update!(**args)
41210
+ end
41211
+
41212
+ # Update properties of this object
41213
+ def update!(**args)
41214
+ @code = args[:code] if args.key?(:code)
41215
+ @details = args[:details] if args.key?(:details)
41216
+ @message = args[:message] if args.key?(:message)
41217
+ end
41218
+ end
41219
+
40924
41220
  # Represents a Subnetwork resource. A subnetwork (also known as a subnet) is a
40925
41221
  # logical partition of a Virtual Private Cloud network with one primary IP range
40926
41222
  # and zero or more secondary IP ranges. For more information, read Virtual
@@ -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.74.0"
19
+ GEM_VERSION = "0.76.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 = "20230701"
25
+ REVISION = "20230725"
26
26
  end
27
27
  end
28
28
  end
@@ -2860,6 +2860,24 @@ module Google
2860
2860
  include Google::Apis::Core::JsonObjectSupport
2861
2861
  end
2862
2862
 
2863
+ class NatIpInfo
2864
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2865
+
2866
+ include Google::Apis::Core::JsonObjectSupport
2867
+ end
2868
+
2869
+ class NatIpInfoNatIpInfoMapping
2870
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2871
+
2872
+ include Google::Apis::Core::JsonObjectSupport
2873
+ end
2874
+
2875
+ class NatIpInfoResponse
2876
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2877
+
2878
+ include Google::Apis::Core::JsonObjectSupport
2879
+ end
2880
+
2863
2881
  class Network
2864
2882
  class Representation < Google::Apis::Core::JsonRepresentation; end
2865
2883
 
@@ -3772,6 +3790,12 @@ module Google
3772
3790
  include Google::Apis::Core::JsonObjectSupport
3773
3791
  end
3774
3792
 
3793
+ class ProjectsSetManagedProtectionTierRequest
3794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3795
+
3796
+ include Google::Apis::Core::JsonObjectSupport
3797
+ end
3798
+
3775
3799
  class PublicAdvertisedPrefix
3776
3800
  class Representation < Google::Apis::Core::JsonRepresentation; end
3777
3801
 
@@ -5044,6 +5068,18 @@ module Google
5044
5068
  include Google::Apis::Core::JsonObjectSupport
5045
5069
  end
5046
5070
 
5071
+ class SetCommonInstanceMetadataOperationMetadata
5072
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5073
+
5074
+ include Google::Apis::Core::JsonObjectSupport
5075
+ end
5076
+
5077
+ class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
5078
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5079
+
5080
+ include Google::Apis::Core::JsonObjectSupport
5081
+ end
5082
+
5047
5083
  class ShareSettings
5048
5084
  class Representation < Google::Apis::Core::JsonRepresentation; end
5049
5085
 
@@ -5134,6 +5170,24 @@ module Google
5134
5170
  include Google::Apis::Core::JsonObjectSupport
5135
5171
  end
5136
5172
 
5173
+ class SnapshotSettings
5174
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5175
+
5176
+ include Google::Apis::Core::JsonObjectSupport
5177
+ end
5178
+
5179
+ class SnapshotSettingsStorageLocationSettings
5180
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5181
+
5182
+ include Google::Apis::Core::JsonObjectSupport
5183
+ end
5184
+
5185
+ class SnapshotSettingsStorageLocationSettingsStorageLocationPreference
5186
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5187
+
5188
+ include Google::Apis::Core::JsonObjectSupport
5189
+ end
5190
+
5137
5191
  class SourceDiskEncryptionKey
5138
5192
  class Representation < Google::Apis::Core::JsonRepresentation; end
5139
5193
 
@@ -5332,6 +5386,12 @@ module Google
5332
5386
  include Google::Apis::Core::JsonObjectSupport
5333
5387
  end
5334
5388
 
5389
+ class Status
5390
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5391
+
5392
+ include Google::Apis::Core::JsonObjectSupport
5393
+ end
5394
+
5335
5395
  class Subnetwork
5336
5396
  class Representation < Google::Apis::Core::JsonRepresentation; end
5337
5397
 
@@ -11817,6 +11877,32 @@ module Google
11817
11877
  end
11818
11878
  end
11819
11879
 
11880
+ class NatIpInfo
11881
+ # @private
11882
+ class Representation < Google::Apis::Core::JsonRepresentation
11883
+ collection :nat_ip_info_mappings, as: 'natIpInfoMappings', class: Google::Apis::ComputeBeta::NatIpInfoNatIpInfoMapping, decorator: Google::Apis::ComputeBeta::NatIpInfoNatIpInfoMapping::Representation
11884
+
11885
+ property :nat_name, as: 'natName'
11886
+ end
11887
+ end
11888
+
11889
+ class NatIpInfoNatIpInfoMapping
11890
+ # @private
11891
+ class Representation < Google::Apis::Core::JsonRepresentation
11892
+ property :mode, as: 'mode'
11893
+ property :nat_ip, as: 'natIp'
11894
+ property :usage, as: 'usage'
11895
+ end
11896
+ end
11897
+
11898
+ class NatIpInfoResponse
11899
+ # @private
11900
+ class Representation < Google::Apis::Core::JsonRepresentation
11901
+ collection :result, as: 'result', class: Google::Apis::ComputeBeta::NatIpInfo, decorator: Google::Apis::ComputeBeta::NatIpInfo::Representation
11902
+
11903
+ end
11904
+ end
11905
+
11820
11906
  class Network
11821
11907
  # @private
11822
11908
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13003,6 +13089,8 @@ module Google
13003
13089
  property :progress, as: 'progress'
13004
13090
  property :region, as: 'region'
13005
13091
  property :self_link, as: 'selfLink'
13092
+ property :set_common_instance_metadata_operation_metadata, as: 'setCommonInstanceMetadataOperationMetadata', class: Google::Apis::ComputeBeta::SetCommonInstanceMetadataOperationMetadata, decorator: Google::Apis::ComputeBeta::SetCommonInstanceMetadataOperationMetadata::Representation
13093
+
13006
13094
  property :start_time, as: 'startTime'
13007
13095
  property :status, as: 'status'
13008
13096
  property :status_message, as: 'statusMessage'
@@ -13486,6 +13574,7 @@ module Google
13486
13574
  collection :enabled_features, as: 'enabledFeatures'
13487
13575
  property :id, :numeric_string => true, as: 'id'
13488
13576
  property :kind, as: 'kind'
13577
+ property :managed_protection_tier, as: 'managedProtectionTier'
13489
13578
  property :name, as: 'name'
13490
13579
  collection :quotas, as: 'quotas', class: Google::Apis::ComputeBeta::Quota, decorator: Google::Apis::ComputeBeta::Quota::Representation
13491
13580
 
@@ -13537,6 +13626,13 @@ module Google
13537
13626
  end
13538
13627
  end
13539
13628
 
13629
+ class ProjectsSetManagedProtectionTierRequest
13630
+ # @private
13631
+ class Representation < Google::Apis::Core::JsonRepresentation
13632
+ property :managed_protection_tier, as: 'managedProtectionTier'
13633
+ end
13634
+ end
13635
+
13540
13636
  class PublicAdvertisedPrefix
13541
13637
  # @private
13542
13638
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13739,9 +13835,11 @@ module Google
13739
13835
  # @private
13740
13836
  class Representation < Google::Apis::Core::JsonRepresentation
13741
13837
  hash :dimensions, as: 'dimensions'
13838
+ property :future_limit, as: 'futureLimit'
13742
13839
  property :limit, as: 'limit'
13743
13840
  property :limit_name, as: 'limitName'
13744
13841
  property :metric_name, as: 'metricName'
13842
+ property :rollout_status, as: 'rolloutStatus'
13745
13843
  end
13746
13844
  end
13747
13845
 
@@ -15189,6 +15287,8 @@ module Google
15189
15287
  property :automatic_restart, as: 'automaticRestart'
15190
15288
  property :host_error_timeout_seconds, as: 'hostErrorTimeoutSeconds'
15191
15289
  property :instance_termination_action, as: 'instanceTerminationAction'
15290
+ property :local_ssd_recovery_timeout, as: 'localSsdRecoveryTimeout', class: Google::Apis::ComputeBeta::Duration, decorator: Google::Apis::ComputeBeta::Duration::Representation
15291
+
15192
15292
  property :location_hint, as: 'locationHint'
15193
15293
  property :maintenance_freeze_duration_hours, as: 'maintenanceFreezeDurationHours'
15194
15294
  property :maintenance_interval, as: 'maintenanceInterval'
@@ -15757,6 +15857,7 @@ module Google
15757
15857
  class ServiceAttachmentConnectedEndpoint
15758
15858
  # @private
15759
15859
  class Representation < Google::Apis::Core::JsonRepresentation
15860
+ property :consumer_network, as: 'consumerNetwork'
15760
15861
  property :endpoint, as: 'endpoint'
15761
15862
  property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
15762
15863
  property :status, as: 'status'
@@ -15832,6 +15933,24 @@ module Google
15832
15933
  end
15833
15934
  end
15834
15935
 
15936
+ class SetCommonInstanceMetadataOperationMetadata
15937
+ # @private
15938
+ class Representation < Google::Apis::Core::JsonRepresentation
15939
+ property :client_operation_id, as: 'clientOperationId'
15940
+ hash :per_location_operations, as: 'perLocationOperations', class: Google::Apis::ComputeBeta::SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo, decorator: Google::Apis::ComputeBeta::SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo::Representation
15941
+
15942
+ end
15943
+ end
15944
+
15945
+ class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
15946
+ # @private
15947
+ class Representation < Google::Apis::Core::JsonRepresentation
15948
+ property :error, as: 'error', class: Google::Apis::ComputeBeta::Status, decorator: Google::Apis::ComputeBeta::Status::Representation
15949
+
15950
+ property :state, as: 'state'
15951
+ end
15952
+ end
15953
+
15835
15954
  class ShareSettings
15836
15955
  # @private
15837
15956
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -16005,6 +16124,30 @@ module Google
16005
16124
  end
16006
16125
  end
16007
16126
 
16127
+ class SnapshotSettings
16128
+ # @private
16129
+ class Representation < Google::Apis::Core::JsonRepresentation
16130
+ property :storage_location, as: 'storageLocation', class: Google::Apis::ComputeBeta::SnapshotSettingsStorageLocationSettings, decorator: Google::Apis::ComputeBeta::SnapshotSettingsStorageLocationSettings::Representation
16131
+
16132
+ end
16133
+ end
16134
+
16135
+ class SnapshotSettingsStorageLocationSettings
16136
+ # @private
16137
+ class Representation < Google::Apis::Core::JsonRepresentation
16138
+ hash :locations, as: 'locations', class: Google::Apis::ComputeBeta::SnapshotSettingsStorageLocationSettingsStorageLocationPreference, decorator: Google::Apis::ComputeBeta::SnapshotSettingsStorageLocationSettingsStorageLocationPreference::Representation
16139
+
16140
+ property :policy, as: 'policy'
16141
+ end
16142
+ end
16143
+
16144
+ class SnapshotSettingsStorageLocationSettingsStorageLocationPreference
16145
+ # @private
16146
+ class Representation < Google::Apis::Core::JsonRepresentation
16147
+ property :name, as: 'name'
16148
+ end
16149
+ end
16150
+
16008
16151
  class SourceDiskEncryptionKey
16009
16152
  # @private
16010
16153
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -16362,6 +16505,15 @@ module Google
16362
16505
  end
16363
16506
  end
16364
16507
 
16508
+ class Status
16509
+ # @private
16510
+ class Representation < Google::Apis::Core::JsonRepresentation
16511
+ property :code, as: 'code'
16512
+ collection :details, as: 'details'
16513
+ property :message, as: 'message'
16514
+ end
16515
+ end
16516
+
16365
16517
  class Subnetwork
16366
16518
  # @private
16367
16519
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -18170,6 +18170,62 @@ module Google
18170
18170
  execute_or_queue_command(command, &block)
18171
18171
  end
18172
18172
 
18173
+ # Patches the specified NetworkAttachment resource with the data included in the
18174
+ # request. This method supports PATCH semantics and uses JSON merge patch format
18175
+ # and processing rules.
18176
+ # @param [String] project
18177
+ # Project ID for this request.
18178
+ # @param [String] region
18179
+ # Name of the region for this request.
18180
+ # @param [String] network_attachment
18181
+ # Name of the NetworkAttachment resource to patch.
18182
+ # @param [Google::Apis::ComputeBeta::NetworkAttachment] network_attachment_object
18183
+ # @param [String] request_id
18184
+ # An optional request ID to identify requests. Specify a unique request ID so
18185
+ # that if you must retry your request, the server will know to ignore the
18186
+ # request if it has already been completed. For example, consider a situation
18187
+ # where you make an initial request and the request times out. If you make the
18188
+ # request again with the same request ID, the server can check if original
18189
+ # operation with the same request ID was received, and if so, will ignore the
18190
+ # second request. This prevents clients from accidentally creating duplicate
18191
+ # commitments. The request ID must be a valid UUID with the exception that zero
18192
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
18193
+ # MixerMutationRequestBuilder
18194
+ # @param [String] fields
18195
+ # Selector specifying which fields to include in a partial response.
18196
+ # @param [String] quota_user
18197
+ # Available to use for quota purposes for server-side applications. Can be any
18198
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
18199
+ # @param [String] user_ip
18200
+ # Legacy name for parameter that has been superseded by `quotaUser`.
18201
+ # @param [Google::Apis::RequestOptions] options
18202
+ # Request-specific options
18203
+ #
18204
+ # @yield [result, err] Result & error if block supplied
18205
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
18206
+ # @yieldparam err [StandardError] error object if request failed
18207
+ #
18208
+ # @return [Google::Apis::ComputeBeta::Operation]
18209
+ #
18210
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18211
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18212
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18213
+ def patch_network_attachment(project, region, network_attachment, network_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18214
+ command = make_simple_command(:patch, 'projects/{project}/regions/{region}/networkAttachments/{networkAttachment}', options)
18215
+ command.request_representation = Google::Apis::ComputeBeta::NetworkAttachment::Representation
18216
+ command.request_object = network_attachment_object
18217
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
18218
+ command.response_class = Google::Apis::ComputeBeta::Operation
18219
+ command.params['project'] = project unless project.nil?
18220
+ command.params['region'] = region unless region.nil?
18221
+ command.params['networkAttachment'] = network_attachment unless network_attachment.nil?
18222
+ command.query['requestId'] = request_id unless request_id.nil?
18223
+ command.query['fields'] = fields unless fields.nil?
18224
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18225
+ command.query['userIp'] = user_ip unless user_ip.nil?
18226
+ execute_or_queue_command(command, &block)
18227
+ end
18228
+
18173
18229
  # Sets the access control policy on the specified resource. Replaces any
18174
18230
  # existing policy.
18175
18231
  # @param [String] project
@@ -23833,6 +23889,56 @@ module Google
23833
23889
  execute_or_queue_command(command, &block)
23834
23890
  end
23835
23891
 
23892
+ # Sets the Cloud Armor Managed Protection (CAMP) tier of the project. To set
23893
+ # PLUS or above the billing account of the project must be subscribed to Managed
23894
+ # Protection Plus. See Subscribing to Managed Protection Plus for more
23895
+ # information.
23896
+ # @param [String] project
23897
+ # Project ID for this request.
23898
+ # @param [Google::Apis::ComputeBeta::ProjectsSetManagedProtectionTierRequest] projects_set_managed_protection_tier_request_object
23899
+ # @param [String] request_id
23900
+ # An optional request ID to identify requests. Specify a unique request ID so
23901
+ # that if you must retry your request, the server will know to ignore the
23902
+ # request if it has already been completed. For example, consider a situation
23903
+ # where you make an initial request and the request times out. If you make the
23904
+ # request again with the same request ID, the server can check if original
23905
+ # operation with the same request ID was received, and if so, will ignore the
23906
+ # second request. This prevents clients from accidentally creating duplicate
23907
+ # commitments. The request ID must be a valid UUID with the exception that zero
23908
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
23909
+ # @param [String] fields
23910
+ # Selector specifying which fields to include in a partial response.
23911
+ # @param [String] quota_user
23912
+ # Available to use for quota purposes for server-side applications. Can be any
23913
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
23914
+ # @param [String] user_ip
23915
+ # Legacy name for parameter that has been superseded by `quotaUser`.
23916
+ # @param [Google::Apis::RequestOptions] options
23917
+ # Request-specific options
23918
+ #
23919
+ # @yield [result, err] Result & error if block supplied
23920
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
23921
+ # @yieldparam err [StandardError] error object if request failed
23922
+ #
23923
+ # @return [Google::Apis::ComputeBeta::Operation]
23924
+ #
23925
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23926
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23927
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
23928
+ def set_project_managed_protection_tier(project, projects_set_managed_protection_tier_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
23929
+ command = make_simple_command(:post, 'projects/{project}/setManagedProtectionTier', options)
23930
+ command.request_representation = Google::Apis::ComputeBeta::ProjectsSetManagedProtectionTierRequest::Representation
23931
+ command.request_object = projects_set_managed_protection_tier_request_object
23932
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
23933
+ command.response_class = Google::Apis::ComputeBeta::Operation
23934
+ command.params['project'] = project unless project.nil?
23935
+ command.query['requestId'] = request_id unless request_id.nil?
23936
+ command.query['fields'] = fields unless fields.nil?
23937
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
23938
+ command.query['userIp'] = user_ip unless user_ip.nil?
23939
+ execute_or_queue_command(command, &block)
23940
+ end
23941
+
23836
23942
  # Enables the usage export feature and sets the usage export bucket where
23837
23943
  # reports are stored. If you provide an empty request body using this method,
23838
23944
  # the usage export feature will be disabled.
@@ -32238,9 +32344,9 @@ module Google
32238
32344
  end
32239
32345
 
32240
32346
  # Patches the specified policy with the data included in the request. To clear
32241
- # fields in the rule, leave the fields empty and specify them in the updateMask.
32242
- # This cannot be used to be update the rules in the policy. Please use the per
32243
- # rule methods like addRule, patchRule, and removeRule instead.
32347
+ # fields in the policy, leave the fields empty and specify them in the
32348
+ # updateMask. This cannot be used to be update the rules in the policy. Please
32349
+ # use the per rule methods like addRule, patchRule, and removeRule instead.
32244
32350
  # @param [String] project
32245
32351
  # Project ID for this request.
32246
32352
  # @param [String] region
@@ -34564,6 +34670,98 @@ module Google
34564
34670
  execute_or_queue_command(command, &block)
34565
34671
  end
34566
34672
 
34673
+ # Retrieves the list of Zone resources under the specific region available to
34674
+ # the specified project.
34675
+ # @param [String] project
34676
+ # Project ID for this request.
34677
+ # @param [String] region
34678
+ # Region for this request.
34679
+ # @param [String] filter
34680
+ # A filter expression that filters resources listed in the response. Most
34681
+ # Compute resources support two types of filter expressions: expressions that
34682
+ # support regular expressions and expressions that follow API improvement
34683
+ # proposal AIP-160. If you want to use AIP-160, your expression must specify the
34684
+ # field name, an operator, and the value that you want to use for filtering. The
34685
+ # value must be a string, a number, or a boolean. The operator must be either `=`
34686
+ # , `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
34687
+ # Engine instances, you can exclude instances named `example-instance` by
34688
+ # specifying `name != example-instance`. The `:` operator can be used with
34689
+ # string fields to match substrings. For non-string fields it is equivalent to
34690
+ # the `=` operator. The `:*` comparison can be used to test whether a key has
34691
+ # been defined. For example, to find all objects with `owner` label use: ```
34692
+ # labels.owner:* ``` You can also filter nested fields. For example, you could
34693
+ # specify `scheduling.automaticRestart = false` to include instances only if
34694
+ # they are not scheduled for automatic restarts. You can use filtering on nested
34695
+ # fields to filter based on resource labels. To filter on multiple expressions,
34696
+ # provide each separate expression within parentheses. For example: ``` (
34697
+ # scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
34698
+ # default, each expression is an `AND` expression. However, you can include `AND`
34699
+ # and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
34700
+ # Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
34701
+ # automaticRestart = true) ``` If you want to use a regular expression, use the `
34702
+ # eq` (equal) or `ne` (not equal) operator against a single un-parenthesized
34703
+ # expression with or without quotes or against multiple parenthesized
34704
+ # expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single
34705
+ # quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq
34706
+ # literal) (fieldname2 ne "literal")` The literal value is interpreted as a
34707
+ # regular expression using Google RE2 library syntax. The literal value must
34708
+ # match the entire field. For example, to filter for instances that do not end
34709
+ # with name "instance", you would use `name ne .*instance`.
34710
+ # @param [Fixnum] max_results
34711
+ # The maximum number of results per page that should be returned. If the number
34712
+ # of available results is larger than `maxResults`, Compute Engine returns a `
34713
+ # nextPageToken` that can be used to get the next page of results in subsequent
34714
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
34715
+ # @param [String] order_by
34716
+ # Sorts list results by a certain order. By default, results are returned in
34717
+ # alphanumerical order based on the resource name. You can also sort results in
34718
+ # descending order based on the creation timestamp using `orderBy="
34719
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
34720
+ # field in reverse chronological order (newest result first). Use this to sort
34721
+ # resources like operations so that the newest operation is returned first.
34722
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
34723
+ # @param [String] page_token
34724
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
34725
+ # by a previous list request to get the next page of results.
34726
+ # @param [Boolean] return_partial_success
34727
+ # Opt-in for partial success behavior which provides partial results in case of
34728
+ # failure. The default value is false.
34729
+ # @param [String] fields
34730
+ # Selector specifying which fields to include in a partial response.
34731
+ # @param [String] quota_user
34732
+ # Available to use for quota purposes for server-side applications. Can be any
34733
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
34734
+ # @param [String] user_ip
34735
+ # Legacy name for parameter that has been superseded by `quotaUser`.
34736
+ # @param [Google::Apis::RequestOptions] options
34737
+ # Request-specific options
34738
+ #
34739
+ # @yield [result, err] Result & error if block supplied
34740
+ # @yieldparam result [Google::Apis::ComputeBeta::ZoneList] parsed result object
34741
+ # @yieldparam err [StandardError] error object if request failed
34742
+ #
34743
+ # @return [Google::Apis::ComputeBeta::ZoneList]
34744
+ #
34745
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
34746
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
34747
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
34748
+ def list_region_zones(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
34749
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/zones', options)
34750
+ command.response_representation = Google::Apis::ComputeBeta::ZoneList::Representation
34751
+ command.response_class = Google::Apis::ComputeBeta::ZoneList
34752
+ command.params['project'] = project unless project.nil?
34753
+ command.params['region'] = region unless region.nil?
34754
+ command.query['filter'] = filter unless filter.nil?
34755
+ command.query['maxResults'] = max_results unless max_results.nil?
34756
+ command.query['orderBy'] = order_by unless order_by.nil?
34757
+ command.query['pageToken'] = page_token unless page_token.nil?
34758
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
34759
+ command.query['fields'] = fields unless fields.nil?
34760
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
34761
+ command.query['userIp'] = user_ip unless user_ip.nil?
34762
+ execute_or_queue_command(command, &block)
34763
+ end
34764
+
34567
34765
  # Returns the specified Region resource. To decrease latency for this method,
34568
34766
  # you can optionally omit any unneeded information from the response by using a
34569
34767
  # field mask. This practice is especially recommended for unused quota
@@ -35965,6 +36163,50 @@ module Google
35965
36163
  execute_or_queue_command(command, &block)
35966
36164
  end
35967
36165
 
36166
+ # Retrieves runtime NAT IP information.
36167
+ # @param [String] project
36168
+ # Project ID for this request.
36169
+ # @param [String] region
36170
+ # Name of the region for this request.
36171
+ # @param [String] router
36172
+ # Name of the Router resource to query for Nat IP information. The name should
36173
+ # conform to RFC1035.
36174
+ # @param [String] nat_name
36175
+ # Name of the nat service to filter the NAT IP information. If it is omitted,
36176
+ # all nats for this router will be returned. Name should conform to RFC1035.
36177
+ # @param [String] fields
36178
+ # Selector specifying which fields to include in a partial response.
36179
+ # @param [String] quota_user
36180
+ # Available to use for quota purposes for server-side applications. Can be any
36181
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
36182
+ # @param [String] user_ip
36183
+ # Legacy name for parameter that has been superseded by `quotaUser`.
36184
+ # @param [Google::Apis::RequestOptions] options
36185
+ # Request-specific options
36186
+ #
36187
+ # @yield [result, err] Result & error if block supplied
36188
+ # @yieldparam result [Google::Apis::ComputeBeta::NatIpInfoResponse] parsed result object
36189
+ # @yieldparam err [StandardError] error object if request failed
36190
+ #
36191
+ # @return [Google::Apis::ComputeBeta::NatIpInfoResponse]
36192
+ #
36193
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
36194
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
36195
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
36196
+ def get_router_nat_ip_info(project, region, router, nat_name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
36197
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}/getNatIpInfo', options)
36198
+ command.response_representation = Google::Apis::ComputeBeta::NatIpInfoResponse::Representation
36199
+ command.response_class = Google::Apis::ComputeBeta::NatIpInfoResponse
36200
+ command.params['project'] = project unless project.nil?
36201
+ command.params['region'] = region unless region.nil?
36202
+ command.params['router'] = router unless router.nil?
36203
+ command.query['natName'] = nat_name unless nat_name.nil?
36204
+ command.query['fields'] = fields unless fields.nil?
36205
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
36206
+ command.query['userIp'] = user_ip unless user_ip.nil?
36207
+ execute_or_queue_command(command, &block)
36208
+ end
36209
+
35968
36210
  # Retrieves runtime Nat mapping information of VM endpoints.
35969
36211
  # @param [String] project
35970
36212
  # Project ID for this request.
@@ -37190,9 +37432,9 @@ module Google
37190
37432
  end
37191
37433
 
37192
37434
  # Patches the specified policy with the data included in the request. To clear
37193
- # fields in the rule, leave the fields empty and specify them in the updateMask.
37194
- # This cannot be used to be update the rules in the policy. Please use the per
37195
- # rule methods like addRule, patchRule, and removeRule instead.
37435
+ # fields in the policy, leave the fields empty and specify them in the
37436
+ # updateMask. This cannot be used to be update the rules in the policy. Please
37437
+ # use the per rule methods like addRule, patchRule, and removeRule instead.
37196
37438
  # @param [String] project
37197
37439
  # Project ID for this request.
37198
37440
  # @param [String] security_policy
@@ -37245,7 +37487,8 @@ module Google
37245
37487
  execute_or_queue_command(command, &block)
37246
37488
  end
37247
37489
 
37248
- # Patches a rule at the specified priority.
37490
+ # Patches a rule at the specified priority. To clear fields in the rule, leave
37491
+ # the fields empty and specify them in the updateMask.
37249
37492
  # @param [String] project
37250
37493
  # Project ID for this request.
37251
37494
  # @param [String] security_policy
@@ -37923,6 +38166,89 @@ module Google
37923
38166
  execute_or_queue_command(command, &block)
37924
38167
  end
37925
38168
 
38169
+ # Get snapshot settings.
38170
+ # @param [String] project
38171
+ # Project ID for this request.
38172
+ # @param [String] fields
38173
+ # Selector specifying which fields to include in a partial response.
38174
+ # @param [String] quota_user
38175
+ # Available to use for quota purposes for server-side applications. Can be any
38176
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
38177
+ # @param [String] user_ip
38178
+ # Legacy name for parameter that has been superseded by `quotaUser`.
38179
+ # @param [Google::Apis::RequestOptions] options
38180
+ # Request-specific options
38181
+ #
38182
+ # @yield [result, err] Result & error if block supplied
38183
+ # @yieldparam result [Google::Apis::ComputeBeta::SnapshotSettings] parsed result object
38184
+ # @yieldparam err [StandardError] error object if request failed
38185
+ #
38186
+ # @return [Google::Apis::ComputeBeta::SnapshotSettings]
38187
+ #
38188
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
38189
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
38190
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
38191
+ def get_snapshot_setting(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
38192
+ command = make_simple_command(:get, 'projects/{project}/global/snapshotSettings', options)
38193
+ command.response_representation = Google::Apis::ComputeBeta::SnapshotSettings::Representation
38194
+ command.response_class = Google::Apis::ComputeBeta::SnapshotSettings
38195
+ command.params['project'] = project unless project.nil?
38196
+ command.query['fields'] = fields unless fields.nil?
38197
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
38198
+ command.query['userIp'] = user_ip unless user_ip.nil?
38199
+ execute_or_queue_command(command, &block)
38200
+ end
38201
+
38202
+ # Patch snapshot settings.
38203
+ # @param [String] project
38204
+ # Project ID for this request.
38205
+ # @param [Google::Apis::ComputeBeta::SnapshotSettings] snapshot_settings_object
38206
+ # @param [String] request_id
38207
+ # An optional request ID to identify requests. Specify a unique request ID so
38208
+ # that if you must retry your request, the server will know to ignore the
38209
+ # request if it has already been completed. For example, consider a situation
38210
+ # where you make an initial request and the request times out. If you make the
38211
+ # request again with the same request ID, the server can check if original
38212
+ # operation with the same request ID was received, and if so, will ignore the
38213
+ # second request. This prevents clients from accidentally creating duplicate
38214
+ # commitments. The request ID must be a valid UUID with the exception that zero
38215
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
38216
+ # @param [String] update_mask
38217
+ # update_mask indicates fields to be updated as part of this request.
38218
+ # @param [String] fields
38219
+ # Selector specifying which fields to include in a partial response.
38220
+ # @param [String] quota_user
38221
+ # Available to use for quota purposes for server-side applications. Can be any
38222
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
38223
+ # @param [String] user_ip
38224
+ # Legacy name for parameter that has been superseded by `quotaUser`.
38225
+ # @param [Google::Apis::RequestOptions] options
38226
+ # Request-specific options
38227
+ #
38228
+ # @yield [result, err] Result & error if block supplied
38229
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
38230
+ # @yieldparam err [StandardError] error object if request failed
38231
+ #
38232
+ # @return [Google::Apis::ComputeBeta::Operation]
38233
+ #
38234
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
38235
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
38236
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
38237
+ def patch_snapshot_setting(project, snapshot_settings_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
38238
+ command = make_simple_command(:patch, 'projects/{project}/global/snapshotSettings', options)
38239
+ command.request_representation = Google::Apis::ComputeBeta::SnapshotSettings::Representation
38240
+ command.request_object = snapshot_settings_object
38241
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
38242
+ command.response_class = Google::Apis::ComputeBeta::Operation
38243
+ command.params['project'] = project unless project.nil?
38244
+ command.query['requestId'] = request_id unless request_id.nil?
38245
+ command.query['updateMask'] = update_mask unless update_mask.nil?
38246
+ command.query['fields'] = fields unless fields.nil?
38247
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
38248
+ command.query['userIp'] = user_ip unless user_ip.nil?
38249
+ execute_or_queue_command(command, &block)
38250
+ end
38251
+
37926
38252
  # Deletes the specified Snapshot resource. Keep in mind that deleting a single
37927
38253
  # snapshot might not necessarily delete all the data on that snapshot. If any
37928
38254
  # data on the snapshot that is marked for deletion is needed for subsequent
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.74.0
4
+ version: 0.76.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-07-09 00:00:00.000000000 Z
11
+ date: 2023-08-06 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.74.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.76.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: []