google-apis-compute_beta 0.71.0 → 0.73.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/compute_beta/classes.rb +157 -118
- data/lib/google/apis/compute_beta/gem_version.rb +2 -2
- data/lib/google/apis/compute_beta/representations.rb +39 -46
- data/lib/google/apis/compute_beta/service.rb +12 -111
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fced050eac918b6fd7bf55b26d3066777768ff6effe2b02162652d1559009e71
|
4
|
+
data.tar.gz: 2795abb3d972ada8f7f43004b6a12329945500502c4a58c64a7717d551d73c8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af87771cbc19e752d206f17b18e044f2a6359fdca4d81243bd675e1658e527fd08f35f0049f08fbef3ed5c58251c6702fd1edfbdb2c7f21912a491a12c3db5c6
|
7
|
+
data.tar.gz: 833ed053124e3a030fad5e5d557bcbe15408bbc6b5b0b1631a3c4854dd673c2a7f08a038d014cacc396fadf0953f6650ea0db8ff116a1925ccf2efe44fc61e14
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-compute_beta
|
2
2
|
|
3
|
+
### v0.73.0 (2023-07-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230620
|
6
|
+
|
7
|
+
### v0.72.0 (2023-06-25)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230610
|
10
|
+
|
3
11
|
### v0.71.0 (2023-06-18)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230606
|
@@ -645,7 +645,7 @@ module Google
|
|
645
645
|
attr_accessor :id
|
646
646
|
|
647
647
|
# The IP version that will be used by this address. Valid options are IPV4 or
|
648
|
-
# IPV6.
|
648
|
+
# IPV6.
|
649
649
|
# Corresponds to the JSON property `ipVersion`
|
650
650
|
# @return [String]
|
651
651
|
attr_accessor :ip_version
|
@@ -1714,6 +1714,17 @@ module Google
|
|
1714
1714
|
# @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
|
1715
1715
|
attr_accessor :source_image_encryption_key
|
1716
1716
|
|
1717
|
+
# The source instant-snapshot to create this disk. When creating a new instance,
|
1718
|
+
# one of initializeParams.sourceSnapshot or initializeParams.
|
1719
|
+
# sourceInstantSnapshot initializeParams.sourceImage or disks.source is required
|
1720
|
+
# except for local SSD. To create a disk with a snapshot that you created,
|
1721
|
+
# specify the snapshot name in the following format: us-central1-a/
|
1722
|
+
# instantSnapshots/my-backup If the source instant-snapshot is deleted later,
|
1723
|
+
# this field will not be set.
|
1724
|
+
# Corresponds to the JSON property `sourceInstantSnapshot`
|
1725
|
+
# @return [String]
|
1726
|
+
attr_accessor :source_instant_snapshot
|
1727
|
+
|
1717
1728
|
# The source snapshot to create this disk. When creating a new instance, one of
|
1718
1729
|
# initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.
|
1719
1730
|
# source is required except for local SSD. To create a disk with a snapshot that
|
@@ -1752,6 +1763,7 @@ module Google
|
|
1752
1763
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
1753
1764
|
@source_image = args[:source_image] if args.key?(:source_image)
|
1754
1765
|
@source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
|
1766
|
+
@source_instant_snapshot = args[:source_instant_snapshot] if args.key?(:source_instant_snapshot)
|
1755
1767
|
@source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
|
1756
1768
|
@source_snapshot_encryption_key = args[:source_snapshot_encryption_key] if args.key?(:source_snapshot_encryption_key)
|
1757
1769
|
end
|
@@ -2834,6 +2846,16 @@ module Google
|
|
2834
2846
|
# @return [Float]
|
2835
2847
|
attr_accessor :max_utilization
|
2836
2848
|
|
2849
|
+
# This field indicates whether this backend should be fully utilized before
|
2850
|
+
# sending traffic to backends with default preference. The possible values are: -
|
2851
|
+
# PREFERRED: Backends with this preference level will be filled up to their
|
2852
|
+
# capacity limits first, based on RTT. - DEFAULT: If preferred backends don't
|
2853
|
+
# have enough capacity, backends in this layer would be used and traffic would
|
2854
|
+
# be assigned based on the load balancing algorithm you use. This is the default
|
2855
|
+
# Corresponds to the JSON property `preference`
|
2856
|
+
# @return [String]
|
2857
|
+
attr_accessor :preference
|
2858
|
+
|
2837
2859
|
def initialize(**args)
|
2838
2860
|
update!(**args)
|
2839
2861
|
end
|
@@ -2852,6 +2874,7 @@ module Google
|
|
2852
2874
|
@max_rate_per_endpoint = args[:max_rate_per_endpoint] if args.key?(:max_rate_per_endpoint)
|
2853
2875
|
@max_rate_per_instance = args[:max_rate_per_instance] if args.key?(:max_rate_per_instance)
|
2854
2876
|
@max_utilization = args[:max_utilization] if args.key?(:max_utilization)
|
2877
|
+
@preference = args[:preference] if args.key?(:preference)
|
2855
2878
|
end
|
2856
2879
|
end
|
2857
2880
|
|
@@ -3599,6 +3622,13 @@ module Google
|
|
3599
3622
|
# @return [Array<String>]
|
3600
3623
|
attr_accessor :service_bindings
|
3601
3624
|
|
3625
|
+
# URL to networkservices.ServiceLbPolicy resource. Can only be set if load
|
3626
|
+
# balancing scheme is EXTERNAL, EXTERNAL_MANAGED, INTERNAL_MANAGED or
|
3627
|
+
# INTERNAL_SELF_MANAGED and the scope is global.
|
3628
|
+
# Corresponds to the JSON property `serviceLbPolicy`
|
3629
|
+
# @return [String]
|
3630
|
+
attr_accessor :service_lb_policy
|
3631
|
+
|
3602
3632
|
# Type of session affinity to use. The default is NONE. Only NONE and
|
3603
3633
|
# HEADER_FIELD are supported when the backend service is referenced by a URL map
|
3604
3634
|
# that is bound to target gRPC proxy that has validateForProxyless field set to
|
@@ -3670,6 +3700,7 @@ module Google
|
|
3670
3700
|
@security_settings = args[:security_settings] if args.key?(:security_settings)
|
3671
3701
|
@self_link = args[:self_link] if args.key?(:self_link)
|
3672
3702
|
@service_bindings = args[:service_bindings] if args.key?(:service_bindings)
|
3703
|
+
@service_lb_policy = args[:service_lb_policy] if args.key?(:service_lb_policy)
|
3673
3704
|
@session_affinity = args[:session_affinity] if args.key?(:session_affinity)
|
3674
3705
|
@subsetting = args[:subsetting] if args.key?(:subsetting)
|
3675
3706
|
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
@@ -5025,6 +5056,50 @@ module Google
|
|
5025
5056
|
end
|
5026
5057
|
end
|
5027
5058
|
|
5059
|
+
#
|
5060
|
+
class BulkInsertOperationStatus
|
5061
|
+
include Google::Apis::Core::Hashable
|
5062
|
+
|
5063
|
+
# [Output Only] Count of VMs successfully created so far.
|
5064
|
+
# Corresponds to the JSON property `createdVmCount`
|
5065
|
+
# @return [Fixnum]
|
5066
|
+
attr_accessor :created_vm_count
|
5067
|
+
|
5068
|
+
# [Output Only] Count of VMs that got deleted during rollback.
|
5069
|
+
# Corresponds to the JSON property `deletedVmCount`
|
5070
|
+
# @return [Fixnum]
|
5071
|
+
attr_accessor :deleted_vm_count
|
5072
|
+
|
5073
|
+
# [Output Only] Count of VMs that started creating but encountered an error.
|
5074
|
+
# Corresponds to the JSON property `failedToCreateVmCount`
|
5075
|
+
# @return [Fixnum]
|
5076
|
+
attr_accessor :failed_to_create_vm_count
|
5077
|
+
|
5078
|
+
# [Output Only] Creation status of BulkInsert operation - information if the
|
5079
|
+
# flow is rolling forward or rolling back.
|
5080
|
+
# Corresponds to the JSON property `status`
|
5081
|
+
# @return [String]
|
5082
|
+
attr_accessor :status
|
5083
|
+
|
5084
|
+
# [Output Only] Count of VMs originally planned to be created.
|
5085
|
+
# Corresponds to the JSON property `targetVmCount`
|
5086
|
+
# @return [Fixnum]
|
5087
|
+
attr_accessor :target_vm_count
|
5088
|
+
|
5089
|
+
def initialize(**args)
|
5090
|
+
update!(**args)
|
5091
|
+
end
|
5092
|
+
|
5093
|
+
# Update properties of this object
|
5094
|
+
def update!(**args)
|
5095
|
+
@created_vm_count = args[:created_vm_count] if args.key?(:created_vm_count)
|
5096
|
+
@deleted_vm_count = args[:deleted_vm_count] if args.key?(:deleted_vm_count)
|
5097
|
+
@failed_to_create_vm_count = args[:failed_to_create_vm_count] if args.key?(:failed_to_create_vm_count)
|
5098
|
+
@status = args[:status] if args.key?(:status)
|
5099
|
+
@target_vm_count = args[:target_vm_count] if args.key?(:target_vm_count)
|
5100
|
+
end
|
5101
|
+
end
|
5102
|
+
|
5028
5103
|
#
|
5029
5104
|
class BundledLocalSsds
|
5030
5105
|
include Google::Apis::Core::Hashable
|
@@ -9486,9 +9561,12 @@ module Google
|
|
9486
9561
|
alias_method :all_ports?, :all_ports
|
9487
9562
|
|
9488
9563
|
# This field is used along with the backend_service field for internal load
|
9489
|
-
# balancing or with the target field for internal TargetInstance. If
|
9490
|
-
#
|
9491
|
-
#
|
9564
|
+
# balancing or with the target field for internal TargetInstance. If set to true,
|
9565
|
+
# clients can access the Internal TCP/UDP Load Balancer, Internal HTTP(S) and
|
9566
|
+
# TCP Proxy Load Balancer from all regions. If false, only allows access from
|
9567
|
+
# the local region the load balancer is located at. Note that for
|
9568
|
+
# INTERNAL_MANAGED forwarding rules, this field cannot be changed after the
|
9569
|
+
# forwarding rule is created.
|
9492
9570
|
# Corresponds to the JSON property `allowGlobalAccess`
|
9493
9571
|
# @return [Boolean]
|
9494
9572
|
attr_accessor :allow_global_access
|
@@ -15047,6 +15125,15 @@ module Google
|
|
15047
15125
|
class InstanceGroupManagerInstanceLifecyclePolicy
|
15048
15126
|
include Google::Apis::Core::Hashable
|
15049
15127
|
|
15128
|
+
# The action that a MIG performs on a failed or an unhealthy VM. A VM is marked
|
15129
|
+
# as unhealthy when the application running on that VM fails a health check.
|
15130
|
+
# Valid values are - REPAIR (default): MIG automatically repairs a failed or an
|
15131
|
+
# unhealthy VM by recreating it. For more information, see About repairing VMs
|
15132
|
+
# in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
|
15133
|
+
# Corresponds to the JSON property `defaultActionOnFailure`
|
15134
|
+
# @return [String]
|
15135
|
+
attr_accessor :default_action_on_failure
|
15136
|
+
|
15050
15137
|
# A bit indicating whether to forcefully apply the group's latest configuration
|
15051
15138
|
# when repairing a VM. Valid options are: - NO (default): If configuration
|
15052
15139
|
# updates are available, they are not forcefully applied during repair. Instead,
|
@@ -15062,6 +15149,7 @@ module Google
|
|
15062
15149
|
|
15063
15150
|
# Update properties of this object
|
15064
15151
|
def update!(**args)
|
15152
|
+
@default_action_on_failure = args[:default_action_on_failure] if args.key?(:default_action_on_failure)
|
15065
15153
|
@force_update_on_repair = args[:force_update_on_repair] if args.key?(:force_update_on_repair)
|
15066
15154
|
end
|
15067
15155
|
end
|
@@ -15394,12 +15482,12 @@ module Google
|
|
15394
15482
|
attr_accessor :minimal_action
|
15395
15483
|
|
15396
15484
|
# Most disruptive action that is allowed to be taken on an instance. You can
|
15397
|
-
# specify either NONE to forbid any actions, REFRESH to
|
15398
|
-
#
|
15399
|
-
# without instance replacing or REPLACE to allow all possible actions.
|
15400
|
-
# Updater determines that the minimal update action needed is more
|
15401
|
-
# than most disruptive allowed action you specify it will not perform
|
15402
|
-
# at all.
|
15485
|
+
# specify either NONE to forbid any actions, REFRESH to avoid restarting the VM
|
15486
|
+
# and to limit disruption as much as possible. RESTART to allow actions that can
|
15487
|
+
# be applied without instance replacing or REPLACE to allow all possible actions.
|
15488
|
+
# If the Updater determines that the minimal update action needed is more
|
15489
|
+
# disruptive than most disruptive allowed action you specify it will not perform
|
15490
|
+
# the update at all.
|
15403
15491
|
# Corresponds to the JSON property `mostDisruptiveAllowedAction`
|
15404
15492
|
# @return [String]
|
15405
15493
|
attr_accessor :most_disruptive_allowed_action
|
@@ -15513,20 +15601,22 @@ module Google
|
|
15513
15601
|
|
15514
15602
|
# The minimal action that you want to perform on each instance during the update:
|
15515
15603
|
# - REPLACE: At minimum, delete the instance and create it again. - RESTART:
|
15516
|
-
# Stop the instance and start it again. - REFRESH: Do not stop the instance
|
15517
|
-
# NONE: Do not disrupt the instance at
|
15518
|
-
# NONE. If your update requires a more
|
15519
|
-
# flag, the necessary action is
|
15604
|
+
# Stop the instance and start it again. - REFRESH: Do not stop the instance and
|
15605
|
+
# limit disruption as much as possible. - NONE: Do not disrupt the instance at
|
15606
|
+
# all. By default, the minimum action is NONE. If your update requires a more
|
15607
|
+
# disruptive action than you set with this flag, the necessary action is
|
15608
|
+
# performed to execute the update.
|
15520
15609
|
# Corresponds to the JSON property `minimalAction`
|
15521
15610
|
# @return [String]
|
15522
15611
|
attr_accessor :minimal_action
|
15523
15612
|
|
15524
15613
|
# The most disruptive action that you want to perform on each instance during
|
15525
15614
|
# the update: - REPLACE: Delete the instance and create it again. - RESTART:
|
15526
|
-
# Stop the instance and start it again. - REFRESH: Do not stop the instance
|
15527
|
-
# NONE: Do not disrupt the instance at
|
15528
|
-
# allowed action is REPLACE. If your update
|
15529
|
-
# than you set with this flag, the update
|
15615
|
+
# Stop the instance and start it again. - REFRESH: Do not stop the instance and
|
15616
|
+
# limit disruption as much as possible. - NONE: Do not disrupt the instance at
|
15617
|
+
# all. By default, the most disruptive allowed action is REPLACE. If your update
|
15618
|
+
# requires a more disruptive action than you set with this flag, the update
|
15619
|
+
# request will fail.
|
15530
15620
|
# Corresponds to the JSON property `mostDisruptiveAllowedAction`
|
15531
15621
|
# @return [String]
|
15532
15622
|
attr_accessor :most_disruptive_allowed_action
|
@@ -17424,6 +17514,26 @@ module Google
|
|
17424
17514
|
end
|
17425
17515
|
end
|
17426
17516
|
|
17517
|
+
#
|
17518
|
+
class InstancesBulkInsertOperationMetadata
|
17519
|
+
include Google::Apis::Core::Hashable
|
17520
|
+
|
17521
|
+
# Status information per location (location name is key). Example key: zones/us-
|
17522
|
+
# central1-a
|
17523
|
+
# Corresponds to the JSON property `perLocationStatus`
|
17524
|
+
# @return [Hash<String,Google::Apis::ComputeBeta::BulkInsertOperationStatus>]
|
17525
|
+
attr_accessor :per_location_status
|
17526
|
+
|
17527
|
+
def initialize(**args)
|
17528
|
+
update!(**args)
|
17529
|
+
end
|
17530
|
+
|
17531
|
+
# Update properties of this object
|
17532
|
+
def update!(**args)
|
17533
|
+
@per_location_status = args[:per_location_status] if args.key?(:per_location_status)
|
17534
|
+
end
|
17535
|
+
end
|
17536
|
+
|
17427
17537
|
#
|
17428
17538
|
class InstancesGetEffectiveFirewallsResponse
|
17429
17539
|
include Google::Apis::Core::Hashable
|
@@ -18133,55 +18243,6 @@ module Google
|
|
18133
18243
|
end
|
18134
18244
|
end
|
18135
18245
|
|
18136
|
-
#
|
18137
|
-
class InstantSnapshotExportParams
|
18138
|
-
include Google::Apis::Core::Hashable
|
18139
|
-
|
18140
|
-
# An optional base instant snapshot that this resource is compared against. If
|
18141
|
-
# not specified, all blocks of this resource are exported. The base instant
|
18142
|
-
# snapshot and this resource must be created from the same disk. The base
|
18143
|
-
# instant snapshot must be created earlier in time than this resource.
|
18144
|
-
# Corresponds to the JSON property `baseInstantSnapshot`
|
18145
|
-
# @return [String]
|
18146
|
-
attr_accessor :base_instant_snapshot
|
18147
|
-
|
18148
|
-
# The name of an existing bucket in Cloud Storage where the changed blocks will
|
18149
|
-
# be stored. The Google Service Account must have read and write access to this
|
18150
|
-
# bucket. The bucket has to be in the same region as this resource.
|
18151
|
-
# Corresponds to the JSON property `bucketName`
|
18152
|
-
# @return [String]
|
18153
|
-
attr_accessor :bucket_name
|
18154
|
-
|
18155
|
-
# Encryption key used to encrypt the instant snapshot.
|
18156
|
-
# Corresponds to the JSON property `encryptionKey`
|
18157
|
-
# @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
|
18158
|
-
attr_accessor :encryption_key
|
18159
|
-
|
18160
|
-
# Name of the output Bigstore object storing the changed blocks. Object name
|
18161
|
-
# must be less than 1024 bytes in length.
|
18162
|
-
# Corresponds to the JSON property `objectName`
|
18163
|
-
# @return [String]
|
18164
|
-
attr_accessor :object_name
|
18165
|
-
|
18166
|
-
# The format of the output file.
|
18167
|
-
# Corresponds to the JSON property `outputType`
|
18168
|
-
# @return [String]
|
18169
|
-
attr_accessor :output_type
|
18170
|
-
|
18171
|
-
def initialize(**args)
|
18172
|
-
update!(**args)
|
18173
|
-
end
|
18174
|
-
|
18175
|
-
# Update properties of this object
|
18176
|
-
def update!(**args)
|
18177
|
-
@base_instant_snapshot = args[:base_instant_snapshot] if args.key?(:base_instant_snapshot)
|
18178
|
-
@bucket_name = args[:bucket_name] if args.key?(:bucket_name)
|
18179
|
-
@encryption_key = args[:encryption_key] if args.key?(:encryption_key)
|
18180
|
-
@object_name = args[:object_name] if args.key?(:object_name)
|
18181
|
-
@output_type = args[:output_type] if args.key?(:output_type)
|
18182
|
-
end
|
18183
|
-
end
|
18184
|
-
|
18185
18246
|
# Contains a list of InstantSnapshot resources.
|
18186
18247
|
class InstantSnapshotList
|
18187
18248
|
include Google::Apis::Core::Hashable
|
@@ -18318,25 +18379,6 @@ module Google
|
|
18318
18379
|
end
|
18319
18380
|
end
|
18320
18381
|
|
18321
|
-
#
|
18322
|
-
class InstantSnapshotsExportRequest
|
18323
|
-
include Google::Apis::Core::Hashable
|
18324
|
-
|
18325
|
-
# Parameters to export the changed blocks.
|
18326
|
-
# Corresponds to the JSON property `exportParams`
|
18327
|
-
# @return [Google::Apis::ComputeBeta::InstantSnapshotExportParams]
|
18328
|
-
attr_accessor :export_params
|
18329
|
-
|
18330
|
-
def initialize(**args)
|
18331
|
-
update!(**args)
|
18332
|
-
end
|
18333
|
-
|
18334
|
-
# Update properties of this object
|
18335
|
-
def update!(**args)
|
18336
|
-
@export_params = args[:export_params] if args.key?(:export_params)
|
18337
|
-
end
|
18338
|
-
end
|
18339
|
-
|
18340
18382
|
#
|
18341
18383
|
class InstantSnapshotsScopedList
|
18342
18384
|
include Google::Apis::Core::Hashable
|
@@ -27062,6 +27104,11 @@ module Google
|
|
27062
27104
|
# @return [String]
|
27063
27105
|
attr_accessor :insert_time
|
27064
27106
|
|
27107
|
+
#
|
27108
|
+
# Corresponds to the JSON property `instancesBulkInsertOperationMetadata`
|
27109
|
+
# @return [Google::Apis::ComputeBeta::InstancesBulkInsertOperationMetadata]
|
27110
|
+
attr_accessor :instances_bulk_insert_operation_metadata
|
27111
|
+
|
27065
27112
|
# [Output Only] Type of the resource. Always `compute#operation` for Operation
|
27066
27113
|
# resources.
|
27067
27114
|
# Corresponds to the JSON property `kind`
|
@@ -27168,6 +27215,7 @@ module Google
|
|
27168
27215
|
@http_error_status_code = args[:http_error_status_code] if args.key?(:http_error_status_code)
|
27169
27216
|
@id = args[:id] if args.key?(:id)
|
27170
27217
|
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
27218
|
+
@instances_bulk_insert_operation_metadata = args[:instances_bulk_insert_operation_metadata] if args.key?(:instances_bulk_insert_operation_metadata)
|
27171
27219
|
@kind = args[:kind] if args.key?(:kind)
|
27172
27220
|
@name = args[:name] if args.key?(:name)
|
27173
27221
|
@operation_group_id = args[:operation_group_id] if args.key?(:operation_group_id)
|
@@ -29210,7 +29258,7 @@ module Google
|
|
29210
29258
|
# @return [String]
|
29211
29259
|
attr_accessor :description
|
29212
29260
|
|
29213
|
-
# The
|
29261
|
+
# The address to be used for reverse DNS verification.
|
29214
29262
|
# Corresponds to the JSON property `dnsVerificationIp`
|
29215
29263
|
# @return [String]
|
29216
29264
|
attr_accessor :dns_verification_ip
|
@@ -29232,7 +29280,7 @@ module Google
|
|
29232
29280
|
# @return [Fixnum]
|
29233
29281
|
attr_accessor :id
|
29234
29282
|
|
29235
|
-
# The
|
29283
|
+
# The address range, in CIDR format, represented by this public advertised
|
29236
29284
|
# prefix.
|
29237
29285
|
# Corresponds to the JSON property `ipCidrRange`
|
29238
29286
|
# @return [String]
|
@@ -29502,7 +29550,7 @@ module Google
|
|
29502
29550
|
# @return [Fixnum]
|
29503
29551
|
attr_accessor :id
|
29504
29552
|
|
29505
|
-
# The
|
29553
|
+
# The IP address range, in CIDR format, represented by this public delegated
|
29506
29554
|
# prefix.
|
29507
29555
|
# Corresponds to the JSON property `ipCidrRange`
|
29508
29556
|
# @return [String]
|
@@ -29845,8 +29893,8 @@ module Google
|
|
29845
29893
|
# @return [String]
|
29846
29894
|
attr_accessor :description
|
29847
29895
|
|
29848
|
-
# The
|
29849
|
-
#
|
29896
|
+
# The IP address range, in CIDR format, represented by this sub public delegated
|
29897
|
+
# prefix.
|
29850
29898
|
# Corresponds to the JSON property `ipCidrRange`
|
29851
29899
|
# @return [String]
|
29852
29900
|
attr_accessor :ip_cidr_range
|
@@ -30880,20 +30928,22 @@ module Google
|
|
30880
30928
|
|
30881
30929
|
# The minimal action that you want to perform on each instance during the update:
|
30882
30930
|
# - REPLACE: At minimum, delete the instance and create it again. - RESTART:
|
30883
|
-
# Stop the instance and start it again. - REFRESH: Do not stop the instance
|
30884
|
-
# NONE: Do not disrupt the instance at
|
30885
|
-
# NONE. If your update requires a more
|
30886
|
-
# flag, the necessary action is
|
30931
|
+
# Stop the instance and start it again. - REFRESH: Do not stop the instance and
|
30932
|
+
# limit disruption as much as possible. - NONE: Do not disrupt the instance at
|
30933
|
+
# all. By default, the minimum action is NONE. If your update requires a more
|
30934
|
+
# disruptive action than you set with this flag, the necessary action is
|
30935
|
+
# performed to execute the update.
|
30887
30936
|
# Corresponds to the JSON property `minimalAction`
|
30888
30937
|
# @return [String]
|
30889
30938
|
attr_accessor :minimal_action
|
30890
30939
|
|
30891
30940
|
# The most disruptive action that you want to perform on each instance during
|
30892
30941
|
# the update: - REPLACE: Delete the instance and create it again. - RESTART:
|
30893
|
-
# Stop the instance and start it again. - REFRESH: Do not stop the instance
|
30894
|
-
# NONE: Do not disrupt the instance at
|
30895
|
-
# allowed action is REPLACE. If your update
|
30896
|
-
# than you set with this flag, the update
|
30942
|
+
# Stop the instance and start it again. - REFRESH: Do not stop the instance and
|
30943
|
+
# limit disruption as much as possible. - NONE: Do not disrupt the instance at
|
30944
|
+
# all. By default, the most disruptive allowed action is REPLACE. If your update
|
30945
|
+
# requires a more disruptive action than you set with this flag, the update
|
30946
|
+
# request will fail.
|
30897
30947
|
# Corresponds to the JSON property `mostDisruptiveAllowedAction`
|
30898
30948
|
# @return [String]
|
30899
30949
|
attr_accessor :most_disruptive_allowed_action
|
@@ -31426,25 +31476,6 @@ module Google
|
|
31426
31476
|
end
|
31427
31477
|
end
|
31428
31478
|
|
31429
|
-
#
|
31430
|
-
class RegionInstantSnapshotsExportRequest
|
31431
|
-
include Google::Apis::Core::Hashable
|
31432
|
-
|
31433
|
-
# Parameters to export the changed blocks.
|
31434
|
-
# Corresponds to the JSON property `exportParams`
|
31435
|
-
# @return [Google::Apis::ComputeBeta::InstantSnapshotExportParams]
|
31436
|
-
attr_accessor :export_params
|
31437
|
-
|
31438
|
-
def initialize(**args)
|
31439
|
-
update!(**args)
|
31440
|
-
end
|
31441
|
-
|
31442
|
-
# Update properties of this object
|
31443
|
-
def update!(**args)
|
31444
|
-
@export_params = args[:export_params] if args.key?(:export_params)
|
31445
|
-
end
|
31446
|
-
end
|
31447
|
-
|
31448
31479
|
# Contains a list of region resources.
|
31449
31480
|
class RegionList
|
31450
31481
|
include Google::Apis::Core::Hashable
|
@@ -38472,6 +38503,13 @@ module Google
|
|
38472
38503
|
attr_accessor :guest_flush
|
38473
38504
|
alias_method :guest_flush?, :guest_flush
|
38474
38505
|
|
38506
|
+
# [Output Only] A list of features to enable on the guest operating system.
|
38507
|
+
# Applicable only for bootable images. Read Enabling guest operating system
|
38508
|
+
# features to see a list of available options.
|
38509
|
+
# Corresponds to the JSON property `guestOsFeatures`
|
38510
|
+
# @return [Array<Google::Apis::ComputeBeta::GuestOsFeature>]
|
38511
|
+
attr_accessor :guest_os_features
|
38512
|
+
|
38475
38513
|
# [Output Only] The unique identifier for the resource. This identifier is
|
38476
38514
|
# defined by the server.
|
38477
38515
|
# Corresponds to the JSON property `id`
|
@@ -38658,6 +38696,7 @@ module Google
|
|
38658
38696
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
38659
38697
|
@download_bytes = args[:download_bytes] if args.key?(:download_bytes)
|
38660
38698
|
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
38699
|
+
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
|
38661
38700
|
@id = args[:id] if args.key?(:id)
|
38662
38701
|
@kind = args[:kind] if args.key?(:kind)
|
38663
38702
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComputeBeta
|
18
18
|
# Version of the google-apis-compute_beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.73.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230620"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -568,6 +568,12 @@ module Google
|
|
568
568
|
include Google::Apis::Core::JsonObjectSupport
|
569
569
|
end
|
570
570
|
|
571
|
+
class BulkInsertOperationStatus
|
572
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
|
+
|
574
|
+
include Google::Apis::Core::JsonObjectSupport
|
575
|
+
end
|
576
|
+
|
571
577
|
class BundledLocalSsds
|
572
578
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
579
|
|
@@ -2092,6 +2098,12 @@ module Google
|
|
2092
2098
|
include Google::Apis::Core::JsonObjectSupport
|
2093
2099
|
end
|
2094
2100
|
|
2101
|
+
class InstancesBulkInsertOperationMetadata
|
2102
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2103
|
+
|
2104
|
+
include Google::Apis::Core::JsonObjectSupport
|
2105
|
+
end
|
2106
|
+
|
2095
2107
|
class InstancesGetEffectiveFirewallsResponse
|
2096
2108
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2097
2109
|
|
@@ -2212,12 +2224,6 @@ module Google
|
|
2212
2224
|
include Google::Apis::Core::JsonObjectSupport
|
2213
2225
|
end
|
2214
2226
|
|
2215
|
-
class InstantSnapshotExportParams
|
2216
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2217
|
-
|
2218
|
-
include Google::Apis::Core::JsonObjectSupport
|
2219
|
-
end
|
2220
|
-
|
2221
2227
|
class InstantSnapshotList
|
2222
2228
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2223
2229
|
|
@@ -2242,12 +2248,6 @@ module Google
|
|
2242
2248
|
include Google::Apis::Core::JsonObjectSupport
|
2243
2249
|
end
|
2244
2250
|
|
2245
|
-
class InstantSnapshotsExportRequest
|
2246
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2247
|
-
|
2248
|
-
include Google::Apis::Core::JsonObjectSupport
|
2249
|
-
end
|
2250
|
-
|
2251
2251
|
class InstantSnapshotsScopedList
|
2252
2252
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2253
2253
|
|
@@ -4048,12 +4048,6 @@ module Google
|
|
4048
4048
|
include Google::Apis::Core::JsonObjectSupport
|
4049
4049
|
end
|
4050
4050
|
|
4051
|
-
class RegionInstantSnapshotsExportRequest
|
4052
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4053
|
-
|
4054
|
-
include Google::Apis::Core::JsonObjectSupport
|
4055
|
-
end
|
4056
|
-
|
4057
4051
|
class RegionList
|
4058
4052
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4059
4053
|
|
@@ -6650,6 +6644,7 @@ module Google
|
|
6650
6644
|
property :source_image, as: 'sourceImage'
|
6651
6645
|
property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
|
6652
6646
|
|
6647
|
+
property :source_instant_snapshot, as: 'sourceInstantSnapshot'
|
6653
6648
|
property :source_snapshot, as: 'sourceSnapshot'
|
6654
6649
|
property :source_snapshot_encryption_key, as: 'sourceSnapshotEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
|
6655
6650
|
|
@@ -6899,6 +6894,7 @@ module Google
|
|
6899
6894
|
property :max_rate_per_endpoint, as: 'maxRatePerEndpoint'
|
6900
6895
|
property :max_rate_per_instance, as: 'maxRatePerInstance'
|
6901
6896
|
property :max_utilization, as: 'maxUtilization'
|
6897
|
+
property :preference, as: 'preference'
|
6902
6898
|
end
|
6903
6899
|
end
|
6904
6900
|
|
@@ -7050,6 +7046,7 @@ module Google
|
|
7050
7046
|
|
7051
7047
|
property :self_link, as: 'selfLink'
|
7052
7048
|
collection :service_bindings, as: 'serviceBindings'
|
7049
|
+
property :service_lb_policy, as: 'serviceLbPolicy'
|
7053
7050
|
property :session_affinity, as: 'sessionAffinity'
|
7054
7051
|
property :subsetting, as: 'subsetting', class: Google::Apis::ComputeBeta::Subsetting, decorator: Google::Apis::ComputeBeta::Subsetting::Representation
|
7055
7052
|
|
@@ -7361,6 +7358,17 @@ module Google
|
|
7361
7358
|
end
|
7362
7359
|
end
|
7363
7360
|
|
7361
|
+
class BulkInsertOperationStatus
|
7362
|
+
# @private
|
7363
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7364
|
+
property :created_vm_count, as: 'createdVmCount'
|
7365
|
+
property :deleted_vm_count, as: 'deletedVmCount'
|
7366
|
+
property :failed_to_create_vm_count, as: 'failedToCreateVmCount'
|
7367
|
+
property :status, as: 'status'
|
7368
|
+
property :target_vm_count, as: 'targetVmCount'
|
7369
|
+
end
|
7370
|
+
end
|
7371
|
+
|
7364
7372
|
class BundledLocalSsds
|
7365
7373
|
# @private
|
7366
7374
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9638,6 +9646,7 @@ module Google
|
|
9638
9646
|
class InstanceGroupManagerInstanceLifecyclePolicy
|
9639
9647
|
# @private
|
9640
9648
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9649
|
+
property :default_action_on_failure, as: 'defaultActionOnFailure'
|
9641
9650
|
property :force_update_on_repair, as: 'forceUpdateOnRepair'
|
9642
9651
|
end
|
9643
9652
|
end
|
@@ -10301,6 +10310,14 @@ module Google
|
|
10301
10310
|
end
|
10302
10311
|
end
|
10303
10312
|
|
10313
|
+
class InstancesBulkInsertOperationMetadata
|
10314
|
+
# @private
|
10315
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10316
|
+
hash :per_location_status, as: 'perLocationStatus', class: Google::Apis::ComputeBeta::BulkInsertOperationStatus, decorator: Google::Apis::ComputeBeta::BulkInsertOperationStatus::Representation
|
10317
|
+
|
10318
|
+
end
|
10319
|
+
end
|
10320
|
+
|
10304
10321
|
class InstancesGetEffectiveFirewallsResponse
|
10305
10322
|
# @private
|
10306
10323
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10499,18 +10516,6 @@ module Google
|
|
10499
10516
|
end
|
10500
10517
|
end
|
10501
10518
|
|
10502
|
-
class InstantSnapshotExportParams
|
10503
|
-
# @private
|
10504
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
10505
|
-
property :base_instant_snapshot, as: 'baseInstantSnapshot'
|
10506
|
-
property :bucket_name, as: 'bucketName'
|
10507
|
-
property :encryption_key, as: 'encryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
|
10508
|
-
|
10509
|
-
property :object_name, as: 'objectName'
|
10510
|
-
property :output_type, as: 'outputType'
|
10511
|
-
end
|
10512
|
-
end
|
10513
|
-
|
10514
10519
|
class InstantSnapshotList
|
10515
10520
|
# @private
|
10516
10521
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10550,14 +10555,6 @@ module Google
|
|
10550
10555
|
end
|
10551
10556
|
end
|
10552
10557
|
|
10553
|
-
class InstantSnapshotsExportRequest
|
10554
|
-
# @private
|
10555
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
10556
|
-
property :export_params, as: 'exportParams', class: Google::Apis::ComputeBeta::InstantSnapshotExportParams, decorator: Google::Apis::ComputeBeta::InstantSnapshotExportParams::Representation
|
10557
|
-
|
10558
|
-
end
|
10559
|
-
end
|
10560
|
-
|
10561
10558
|
class InstantSnapshotsScopedList
|
10562
10559
|
# @private
|
10563
10560
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12739,6 +12736,8 @@ module Google
|
|
12739
12736
|
property :http_error_status_code, as: 'httpErrorStatusCode'
|
12740
12737
|
property :id, :numeric_string => true, as: 'id'
|
12741
12738
|
property :insert_time, as: 'insertTime'
|
12739
|
+
property :instances_bulk_insert_operation_metadata, as: 'instancesBulkInsertOperationMetadata', class: Google::Apis::ComputeBeta::InstancesBulkInsertOperationMetadata, decorator: Google::Apis::ComputeBeta::InstancesBulkInsertOperationMetadata::Representation
|
12740
|
+
|
12742
12741
|
property :kind, as: 'kind'
|
12743
12742
|
property :name, as: 'name'
|
12744
12743
|
property :operation_group_id, as: 'operationGroupId'
|
@@ -13879,14 +13878,6 @@ module Google
|
|
13879
13878
|
end
|
13880
13879
|
end
|
13881
13880
|
|
13882
|
-
class RegionInstantSnapshotsExportRequest
|
13883
|
-
# @private
|
13884
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
13885
|
-
property :export_params, as: 'exportParams', class: Google::Apis::ComputeBeta::InstantSnapshotExportParams, decorator: Google::Apis::ComputeBeta::InstantSnapshotExportParams::Representation
|
13886
|
-
|
13887
|
-
end
|
13888
|
-
end
|
13889
|
-
|
13890
13881
|
class RegionList
|
13891
13882
|
# @private
|
13892
13883
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -15658,6 +15649,8 @@ module Google
|
|
15658
15649
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
15659
15650
|
property :download_bytes, :numeric_string => true, as: 'downloadBytes'
|
15660
15651
|
property :guest_flush, as: 'guestFlush'
|
15652
|
+
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeBeta::GuestOsFeature, decorator: Google::Apis::ComputeBeta::GuestOsFeature::Representation
|
15653
|
+
|
15661
15654
|
property :id, :numeric_string => true, as: 'id'
|
15662
15655
|
property :kind, as: 'kind'
|
15663
15656
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
@@ -15019,60 +15019,6 @@ module Google
|
|
15019
15019
|
execute_or_queue_command(command, &block)
|
15020
15020
|
end
|
15021
15021
|
|
15022
|
-
# Export the changed blocks between two instant snapshots to a customer's bucket
|
15023
|
-
# in the user specified format.
|
15024
|
-
# @param [String] project
|
15025
|
-
# Project ID for this request.
|
15026
|
-
# @param [String] zone
|
15027
|
-
# The name of the zone for this request.
|
15028
|
-
# @param [String] instant_snapshot
|
15029
|
-
# Name of the instant snapshot to export.
|
15030
|
-
# @param [Google::Apis::ComputeBeta::InstantSnapshotsExportRequest] instant_snapshots_export_request_object
|
15031
|
-
# @param [String] request_id
|
15032
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
15033
|
-
# that if you must retry your request, the server will know to ignore the
|
15034
|
-
# request if it has already been completed. For example, consider a situation
|
15035
|
-
# where you make an initial request and the request times out. If you make the
|
15036
|
-
# request again with the same request ID, the server can check if original
|
15037
|
-
# operation with the same request ID was received, and if so, will ignore the
|
15038
|
-
# second request. This prevents clients from accidentally creating duplicate
|
15039
|
-
# commitments. The request ID must be a valid UUID with the exception that zero
|
15040
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
15041
|
-
# @param [String] fields
|
15042
|
-
# Selector specifying which fields to include in a partial response.
|
15043
|
-
# @param [String] quota_user
|
15044
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
15045
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
15046
|
-
# @param [String] user_ip
|
15047
|
-
# Legacy name for parameter that has been superseded by `quotaUser`.
|
15048
|
-
# @param [Google::Apis::RequestOptions] options
|
15049
|
-
# Request-specific options
|
15050
|
-
#
|
15051
|
-
# @yield [result, err] Result & error if block supplied
|
15052
|
-
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
15053
|
-
# @yieldparam err [StandardError] error object if request failed
|
15054
|
-
#
|
15055
|
-
# @return [Google::Apis::ComputeBeta::Operation]
|
15056
|
-
#
|
15057
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15058
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15059
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15060
|
-
def export_instant_snapshot(project, zone, instant_snapshot, instant_snapshots_export_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
15061
|
-
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instantSnapshots/{instantSnapshot}/export', options)
|
15062
|
-
command.request_representation = Google::Apis::ComputeBeta::InstantSnapshotsExportRequest::Representation
|
15063
|
-
command.request_object = instant_snapshots_export_request_object
|
15064
|
-
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
15065
|
-
command.response_class = Google::Apis::ComputeBeta::Operation
|
15066
|
-
command.params['project'] = project unless project.nil?
|
15067
|
-
command.params['zone'] = zone unless zone.nil?
|
15068
|
-
command.params['instantSnapshot'] = instant_snapshot unless instant_snapshot.nil?
|
15069
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
15070
|
-
command.query['fields'] = fields unless fields.nil?
|
15071
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15072
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
15073
|
-
execute_or_queue_command(command, &block)
|
15074
|
-
end
|
15075
|
-
|
15076
15022
|
# Returns the specified InstantSnapshot resource in the specified zone.
|
15077
15023
|
# @param [String] project
|
15078
15024
|
# Project ID for this request.
|
@@ -29512,60 +29458,6 @@ module Google
|
|
29512
29458
|
execute_or_queue_command(command, &block)
|
29513
29459
|
end
|
29514
29460
|
|
29515
|
-
# Export the changed blocks between two instant snapshots to a customer's bucket
|
29516
|
-
# in the user specified format.
|
29517
|
-
# @param [String] project
|
29518
|
-
# Project ID for this request.
|
29519
|
-
# @param [String] region
|
29520
|
-
# The name of the zone for this request.
|
29521
|
-
# @param [String] instant_snapshot
|
29522
|
-
# Name of the instant snapshot to export.
|
29523
|
-
# @param [Google::Apis::ComputeBeta::RegionInstantSnapshotsExportRequest] region_instant_snapshots_export_request_object
|
29524
|
-
# @param [String] request_id
|
29525
|
-
# An optional request ID to identify requests. Specify a unique request ID so
|
29526
|
-
# that if you must retry your request, the server will know to ignore the
|
29527
|
-
# request if it has already been completed. For example, consider a situation
|
29528
|
-
# where you make an initial request and the request times out. If you make the
|
29529
|
-
# request again with the same request ID, the server can check if original
|
29530
|
-
# operation with the same request ID was received, and if so, will ignore the
|
29531
|
-
# second request. This prevents clients from accidentally creating duplicate
|
29532
|
-
# commitments. The request ID must be a valid UUID with the exception that zero
|
29533
|
-
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
29534
|
-
# @param [String] fields
|
29535
|
-
# Selector specifying which fields to include in a partial response.
|
29536
|
-
# @param [String] quota_user
|
29537
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
29538
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
29539
|
-
# @param [String] user_ip
|
29540
|
-
# Legacy name for parameter that has been superseded by `quotaUser`.
|
29541
|
-
# @param [Google::Apis::RequestOptions] options
|
29542
|
-
# Request-specific options
|
29543
|
-
#
|
29544
|
-
# @yield [result, err] Result & error if block supplied
|
29545
|
-
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
29546
|
-
# @yieldparam err [StandardError] error object if request failed
|
29547
|
-
#
|
29548
|
-
# @return [Google::Apis::ComputeBeta::Operation]
|
29549
|
-
#
|
29550
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
29551
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
29552
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
29553
|
-
def export_region_instant_snapshot(project, region, instant_snapshot, region_instant_snapshots_export_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
29554
|
-
command = make_simple_command(:post, 'projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}/export', options)
|
29555
|
-
command.request_representation = Google::Apis::ComputeBeta::RegionInstantSnapshotsExportRequest::Representation
|
29556
|
-
command.request_object = region_instant_snapshots_export_request_object
|
29557
|
-
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
29558
|
-
command.response_class = Google::Apis::ComputeBeta::Operation
|
29559
|
-
command.params['project'] = project unless project.nil?
|
29560
|
-
command.params['region'] = region unless region.nil?
|
29561
|
-
command.params['instantSnapshot'] = instant_snapshot unless instant_snapshot.nil?
|
29562
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
29563
|
-
command.query['fields'] = fields unless fields.nil?
|
29564
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
29565
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
29566
|
-
execute_or_queue_command(command, &block)
|
29567
|
-
end
|
29568
|
-
|
29569
29461
|
# Returns the specified InstantSnapshot resource in the specified region.
|
29570
29462
|
# @param [String] project
|
29571
29463
|
# Project ID for this request.
|
@@ -31867,6 +31759,8 @@ module Google
|
|
31867
31759
|
# second request. This prevents clients from accidentally creating duplicate
|
31868
31760
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
31869
31761
|
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
31762
|
+
# @param [String] update_mask
|
31763
|
+
# Indicates fields to be cleared as part of this request.
|
31870
31764
|
# @param [String] fields
|
31871
31765
|
# Selector specifying which fields to include in a partial response.
|
31872
31766
|
# @param [String] quota_user
|
@@ -31886,7 +31780,7 @@ module Google
|
|
31886
31780
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31887
31781
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31888
31782
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31889
|
-
def patch_region_security_policy(project, region, security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31783
|
+
def patch_region_security_policy(project, region, security_policy, security_policy_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31890
31784
|
command = make_simple_command(:patch, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}', options)
|
31891
31785
|
command.request_representation = Google::Apis::ComputeBeta::SecurityPolicy::Representation
|
31892
31786
|
command.request_object = security_policy_object
|
@@ -31896,6 +31790,7 @@ module Google
|
|
31896
31790
|
command.params['region'] = region unless region.nil?
|
31897
31791
|
command.params['securityPolicy'] = security_policy unless security_policy.nil?
|
31898
31792
|
command.query['requestId'] = request_id unless request_id.nil?
|
31793
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
31899
31794
|
command.query['fields'] = fields unless fields.nil?
|
31900
31795
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
31901
31796
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -31913,6 +31808,8 @@ module Google
|
|
31913
31808
|
# @param [Google::Apis::ComputeBeta::SecurityPolicyRule] security_policy_rule_object
|
31914
31809
|
# @param [Fixnum] priority
|
31915
31810
|
# The priority of the rule to patch.
|
31811
|
+
# @param [String] update_mask
|
31812
|
+
# Indicates fields to be cleared as part of this request.
|
31916
31813
|
# @param [Boolean] validate_only
|
31917
31814
|
# If true, the request will not be committed.
|
31918
31815
|
# @param [String] fields
|
@@ -31934,7 +31831,7 @@ module Google
|
|
31934
31831
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31935
31832
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31936
31833
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31937
|
-
def patch_region_security_policy_rule(project, region, security_policy, security_policy_rule_object = nil, priority: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31834
|
+
def patch_region_security_policy_rule(project, region, security_policy, security_policy_rule_object = nil, priority: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31938
31835
|
command = make_simple_command(:post, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/patchRule', options)
|
31939
31836
|
command.request_representation = Google::Apis::ComputeBeta::SecurityPolicyRule::Representation
|
31940
31837
|
command.request_object = security_policy_rule_object
|
@@ -31944,6 +31841,7 @@ module Google
|
|
31944
31841
|
command.params['region'] = region unless region.nil?
|
31945
31842
|
command.params['securityPolicy'] = security_policy unless security_policy.nil?
|
31946
31843
|
command.query['priority'] = priority unless priority.nil?
|
31844
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
31947
31845
|
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
31948
31846
|
command.query['fields'] = fields unless fields.nil?
|
31949
31847
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -36811,6 +36709,8 @@ module Google
|
|
36811
36709
|
# second request. This prevents clients from accidentally creating duplicate
|
36812
36710
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
36813
36711
|
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
36712
|
+
# @param [String] update_mask
|
36713
|
+
# Indicates fields to be cleared as part of this request.
|
36814
36714
|
# @param [String] fields
|
36815
36715
|
# Selector specifying which fields to include in a partial response.
|
36816
36716
|
# @param [String] quota_user
|
@@ -36830,7 +36730,7 @@ module Google
|
|
36830
36730
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
36831
36731
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
36832
36732
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
36833
|
-
def patch_security_policy(project, security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
36733
|
+
def patch_security_policy(project, security_policy, security_policy_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
36834
36734
|
command = make_simple_command(:patch, 'projects/{project}/global/securityPolicies/{securityPolicy}', options)
|
36835
36735
|
command.request_representation = Google::Apis::ComputeBeta::SecurityPolicy::Representation
|
36836
36736
|
command.request_object = security_policy_object
|
@@ -36839,6 +36739,7 @@ module Google
|
|
36839
36739
|
command.params['project'] = project unless project.nil?
|
36840
36740
|
command.params['securityPolicy'] = security_policy unless security_policy.nil?
|
36841
36741
|
command.query['requestId'] = request_id unless request_id.nil?
|
36742
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
36842
36743
|
command.query['fields'] = fields unless fields.nil?
|
36843
36744
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
36844
36745
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-compute_beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.73.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-
|
11
|
+
date: 2023-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.73.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: []
|