google-apis-compute_v1 0.73.0 → 0.75.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_v1/classes.rb +328 -11
- data/lib/google/apis/compute_v1/gem_version.rb +2 -2
- data/lib/google/apis/compute_v1/representations.rb +134 -0
- data/lib/google/apis/compute_v1/service.rb +108 -7
- 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: 8acb983b82edfe8f8db5863698e1007eb25c941239b61d616c37351746953a69
|
4
|
+
data.tar.gz: ea30e477c71210d459107bdaba61f0e65552fbb8939342d2d86a12af3d35be7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fff47d24d3ecca2b340c710fc13f4edaa63c2a1e7089f50de4d9ec67f7accb17516025ddf7d2a397b9433b75d079de43ef1616468e74939150c08da0ea3fc03
|
7
|
+
data.tar.gz: 54a0e4389a54012cd6738bdf6ccda1fea397d8204d4f3b86d4361235ad3761ff4f06aec3998fce29a7a4104410e8da5e51c71bc3d71e4ccda85a0cccacf09361
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-compute_v1
|
2
2
|
|
3
|
+
### v0.75.0 (2023-08-06)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230725
|
6
|
+
|
7
|
+
### v0.74.0 (2023-07-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230711
|
10
|
+
|
3
11
|
### v0.73.0 (2023-07-09)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230701
|
@@ -22,6 +22,52 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ComputeV1
|
24
24
|
|
25
|
+
# Contains the configurations necessary to generate a signature for access to
|
26
|
+
# private storage buckets that support Signature Version 4 for authentication.
|
27
|
+
# The service name for generating the authentication header will always default
|
28
|
+
# to 's3'.
|
29
|
+
class Awsv4Signature
|
30
|
+
include Google::Apis::Core::Hashable
|
31
|
+
|
32
|
+
# The access key used for s3 bucket authentication. Required for updating or
|
33
|
+
# creating a backend that uses AWS v4 signature authentication, but will not be
|
34
|
+
# returned as part of the configuration when queried with a REST API GET request.
|
35
|
+
# @InputOnly
|
36
|
+
# Corresponds to the JSON property `accessKey`
|
37
|
+
# @return [String]
|
38
|
+
attr_accessor :access_key
|
39
|
+
|
40
|
+
# The identifier of an access key used for s3 bucket authentication.
|
41
|
+
# Corresponds to the JSON property `accessKeyId`
|
42
|
+
# @return [String]
|
43
|
+
attr_accessor :access_key_id
|
44
|
+
|
45
|
+
# The optional version identifier for the access key. You can use this to keep
|
46
|
+
# track of different iterations of your access key.
|
47
|
+
# Corresponds to the JSON property `accessKeyVersion`
|
48
|
+
# @return [String]
|
49
|
+
attr_accessor :access_key_version
|
50
|
+
|
51
|
+
# The name of the cloud region of your origin. This is a free-form field with
|
52
|
+
# the name of the region your cloud uses to host your origin. For example, "us-
|
53
|
+
# east-1" for AWS or "us-ashburn-1" for OCI.
|
54
|
+
# Corresponds to the JSON property `originRegion`
|
55
|
+
# @return [String]
|
56
|
+
attr_accessor :origin_region
|
57
|
+
|
58
|
+
def initialize(**args)
|
59
|
+
update!(**args)
|
60
|
+
end
|
61
|
+
|
62
|
+
# Update properties of this object
|
63
|
+
def update!(**args)
|
64
|
+
@access_key = args[:access_key] if args.key?(:access_key)
|
65
|
+
@access_key_id = args[:access_key_id] if args.key?(:access_key_id)
|
66
|
+
@access_key_version = args[:access_key_version] if args.key?(:access_key_version)
|
67
|
+
@origin_region = args[:origin_region] if args.key?(:origin_region)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
25
71
|
# A specification of the type and number of accelerator cards attached to the
|
26
72
|
# instance.
|
27
73
|
class AcceleratorConfig
|
@@ -1565,8 +1611,7 @@ module Google
|
|
1565
1611
|
|
1566
1612
|
# Required for each regional disk associated with the instance. Specify the URLs
|
1567
1613
|
# of the zones where the disk should be replicated to. You must provide exactly
|
1568
|
-
# two replica zones, and one zone must be the same as the instance zone.
|
1569
|
-
# t use this option with boot disks.
|
1614
|
+
# two replica zones, and one zone must be the same as the instance zone.
|
1570
1615
|
# Corresponds to the JSON property `replicaZones`
|
1571
1616
|
# @return [Array<String>]
|
1572
1617
|
attr_accessor :replica_zones
|
@@ -2742,7 +2787,7 @@ module Google
|
|
2742
2787
|
# @return [String]
|
2743
2788
|
attr_accessor :creation_timestamp
|
2744
2789
|
|
2745
|
-
# Headers that the
|
2790
|
+
# Headers that the Application Load Balancer should add to proxied responses.
|
2746
2791
|
# Corresponds to the JSON property `customResponseHeaders`
|
2747
2792
|
# @return [Array<String>]
|
2748
2793
|
attr_accessor :custom_response_headers
|
@@ -4863,6 +4908,12 @@ module Google
|
|
4863
4908
|
class BulkInsertInstanceResourcePerInstanceProperties
|
4864
4909
|
include Google::Apis::Core::Hashable
|
4865
4910
|
|
4911
|
+
# Specifies the hostname of the instance. More details in: https://cloud.google.
|
4912
|
+
# com/compute/docs/instances/custom-hostname-vm#naming_convention
|
4913
|
+
# Corresponds to the JSON property `hostname`
|
4914
|
+
# @return [String]
|
4915
|
+
attr_accessor :hostname
|
4916
|
+
|
4866
4917
|
# This field is only temporary. It will be removed. Do not use it.
|
4867
4918
|
# Corresponds to the JSON property `name`
|
4868
4919
|
# @return [String]
|
@@ -4874,6 +4925,7 @@ module Google
|
|
4874
4925
|
|
4875
4926
|
# Update properties of this object
|
4876
4927
|
def update!(**args)
|
4928
|
+
@hostname = args[:hostname] if args.key?(:hostname)
|
4877
4929
|
@name = args[:name] if args.key?(:name)
|
4878
4930
|
end
|
4879
4931
|
end
|
@@ -9259,7 +9311,7 @@ module Google
|
|
9259
9311
|
|
9260
9312
|
# This is used in PSC consumer ForwardingRule to control whether it should try
|
9261
9313
|
# to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use this
|
9262
|
-
# field.
|
9314
|
+
# field. Once set, this field is not mutable.
|
9263
9315
|
# Corresponds to the JSON property `noAutomateDnsZone`
|
9264
9316
|
# @return [Boolean]
|
9265
9317
|
attr_accessor :no_automate_dns_zone
|
@@ -9375,6 +9427,7 @@ module Google
|
|
9375
9427
|
# API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis -
|
9376
9428
|
# All supported Google APIs. - For Private Service Connect forwarding rules that
|
9377
9429
|
# forward traffic to managed services, the target must be a service attachment.
|
9430
|
+
# The target is not mutable once set as a service attachment.
|
9378
9431
|
# Corresponds to the JSON property `target`
|
9379
9432
|
# @return [String]
|
9380
9433
|
attr_accessor :target
|
@@ -14781,11 +14834,9 @@ module Google
|
|
14781
14834
|
# @return [String]
|
14782
14835
|
attr_accessor :replacement_method
|
14783
14836
|
|
14784
|
-
# The type of update process. You can specify either PROACTIVE so that the
|
14785
|
-
#
|
14786
|
-
#
|
14787
|
-
# proactively executed but the update will be performed as part of other actions
|
14788
|
-
# (for example, resizes or recreateInstances calls).
|
14837
|
+
# The type of update process. You can specify either PROACTIVE so that the MIG
|
14838
|
+
# automatically updates VMs to the latest configurations or OPPORTUNISTIC so
|
14839
|
+
# that you can select the VMs that you want to update.
|
14789
14840
|
# Corresponds to the JSON property `type`
|
14790
14841
|
# @return [String]
|
14791
14842
|
attr_accessor :type
|
@@ -21018,6 +21069,81 @@ module Google
|
|
21018
21069
|
end
|
21019
21070
|
end
|
21020
21071
|
|
21072
|
+
# Contains NAT IP information of a NAT config (i.e. usage status, mode).
|
21073
|
+
class NatIpInfo
|
21074
|
+
include Google::Apis::Core::Hashable
|
21075
|
+
|
21076
|
+
# A list of all NAT IPs assigned to this NAT config.
|
21077
|
+
# Corresponds to the JSON property `natIpInfoMappings`
|
21078
|
+
# @return [Array<Google::Apis::ComputeV1::NatIpInfoNatIpInfoMapping>]
|
21079
|
+
attr_accessor :nat_ip_info_mappings
|
21080
|
+
|
21081
|
+
# Name of the NAT config which the NAT IP belongs to.
|
21082
|
+
# Corresponds to the JSON property `natName`
|
21083
|
+
# @return [String]
|
21084
|
+
attr_accessor :nat_name
|
21085
|
+
|
21086
|
+
def initialize(**args)
|
21087
|
+
update!(**args)
|
21088
|
+
end
|
21089
|
+
|
21090
|
+
# Update properties of this object
|
21091
|
+
def update!(**args)
|
21092
|
+
@nat_ip_info_mappings = args[:nat_ip_info_mappings] if args.key?(:nat_ip_info_mappings)
|
21093
|
+
@nat_name = args[:nat_name] if args.key?(:nat_name)
|
21094
|
+
end
|
21095
|
+
end
|
21096
|
+
|
21097
|
+
# Contains information of a NAT IP.
|
21098
|
+
class NatIpInfoNatIpInfoMapping
|
21099
|
+
include Google::Apis::Core::Hashable
|
21100
|
+
|
21101
|
+
# Specifies whether NAT IP is auto or manual.
|
21102
|
+
# Corresponds to the JSON property `mode`
|
21103
|
+
# @return [String]
|
21104
|
+
attr_accessor :mode
|
21105
|
+
|
21106
|
+
# NAT IP address. For example: 203.0.113.11.
|
21107
|
+
# Corresponds to the JSON property `natIp`
|
21108
|
+
# @return [String]
|
21109
|
+
attr_accessor :nat_ip
|
21110
|
+
|
21111
|
+
# Specifies whether NAT IP is currently serving at least one endpoint or not.
|
21112
|
+
# Corresponds to the JSON property `usage`
|
21113
|
+
# @return [String]
|
21114
|
+
attr_accessor :usage
|
21115
|
+
|
21116
|
+
def initialize(**args)
|
21117
|
+
update!(**args)
|
21118
|
+
end
|
21119
|
+
|
21120
|
+
# Update properties of this object
|
21121
|
+
def update!(**args)
|
21122
|
+
@mode = args[:mode] if args.key?(:mode)
|
21123
|
+
@nat_ip = args[:nat_ip] if args.key?(:nat_ip)
|
21124
|
+
@usage = args[:usage] if args.key?(:usage)
|
21125
|
+
end
|
21126
|
+
end
|
21127
|
+
|
21128
|
+
#
|
21129
|
+
class NatIpInfoResponse
|
21130
|
+
include Google::Apis::Core::Hashable
|
21131
|
+
|
21132
|
+
# [Output Only] A list of NAT IP information.
|
21133
|
+
# Corresponds to the JSON property `result`
|
21134
|
+
# @return [Array<Google::Apis::ComputeV1::NatIpInfo>]
|
21135
|
+
attr_accessor :result
|
21136
|
+
|
21137
|
+
def initialize(**args)
|
21138
|
+
update!(**args)
|
21139
|
+
end
|
21140
|
+
|
21141
|
+
# Update properties of this object
|
21142
|
+
def update!(**args)
|
21143
|
+
@result = args[:result] if args.key?(:result)
|
21144
|
+
end
|
21145
|
+
end
|
21146
|
+
|
21021
21147
|
# Represents a VPC Network resource. Networks connect resources to each other
|
21022
21148
|
# and to the internet. For more information, read Virtual Private Cloud (VPC)
|
21023
21149
|
# Network.
|
@@ -25438,7 +25564,7 @@ module Google
|
|
25438
25564
|
# responses. Operations can be global, regional or zonal. - For global
|
25439
25565
|
# operations, use the `globalOperations` resource. - For regional operations,
|
25440
25566
|
# use the `regionOperations` resource. - For zonal operations, use the `
|
25441
|
-
#
|
25567
|
+
# zoneOperations` resource. For more information, read Global, Regional, and
|
25442
25568
|
# Zonal Resources.
|
25443
25569
|
class Operation
|
25444
25570
|
include Google::Apis::Core::Hashable
|
@@ -25539,6 +25665,12 @@ module Google
|
|
25539
25665
|
# @return [String]
|
25540
25666
|
attr_accessor :self_link
|
25541
25667
|
|
25668
|
+
# [Output Only] If the operation is for projects.setCommonInstanceMetadata, this
|
25669
|
+
# field will contain information on all underlying zonal actions and their state.
|
25670
|
+
# Corresponds to the JSON property `setCommonInstanceMetadataOperationMetadata`
|
25671
|
+
# @return [Google::Apis::ComputeV1::SetCommonInstanceMetadataOperationMetadata]
|
25672
|
+
attr_accessor :set_common_instance_metadata_operation_metadata
|
25673
|
+
|
25542
25674
|
# [Output Only] The time that this operation was started by the server. This
|
25543
25675
|
# value is in RFC3339 text format.
|
25544
25676
|
# Corresponds to the JSON property `startTime`
|
@@ -25571,7 +25703,7 @@ module Google
|
|
25571
25703
|
attr_accessor :target_link
|
25572
25704
|
|
25573
25705
|
# [Output Only] User who requested the operation, for example: `user@example.com`
|
25574
|
-
#
|
25706
|
+
# or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
|
25575
25707
|
# Corresponds to the JSON property `user`
|
25576
25708
|
# @return [String]
|
25577
25709
|
attr_accessor :user
|
@@ -25610,6 +25742,7 @@ module Google
|
|
25610
25742
|
@progress = args[:progress] if args.key?(:progress)
|
25611
25743
|
@region = args[:region] if args.key?(:region)
|
25612
25744
|
@self_link = args[:self_link] if args.key?(:self_link)
|
25745
|
+
@set_common_instance_metadata_operation_metadata = args[:set_common_instance_metadata_operation_metadata] if args.key?(:set_common_instance_metadata_operation_metadata)
|
25613
25746
|
@start_time = args[:start_time] if args.key?(:start_time)
|
25614
25747
|
@status = args[:status] if args.key?(:status)
|
25615
25748
|
@status_message = args[:status_message] if args.key?(:status_message)
|
@@ -28352,6 +28485,12 @@ module Google
|
|
28352
28485
|
# @return [Hash<String,String>]
|
28353
28486
|
attr_accessor :dimensions
|
28354
28487
|
|
28488
|
+
# Future quota limit being rolled out. The limit's unit depends on the quota
|
28489
|
+
# type or metric.
|
28490
|
+
# Corresponds to the JSON property `futureLimit`
|
28491
|
+
# @return [Float]
|
28492
|
+
attr_accessor :future_limit
|
28493
|
+
|
28355
28494
|
# Current effective quota limit. The limit's unit depends on the quota type or
|
28356
28495
|
# metric.
|
28357
28496
|
# Corresponds to the JSON property `limit`
|
@@ -28368,6 +28507,11 @@ module Google
|
|
28368
28507
|
# @return [String]
|
28369
28508
|
attr_accessor :metric_name
|
28370
28509
|
|
28510
|
+
# Rollout status of the future quota limit.
|
28511
|
+
# Corresponds to the JSON property `rolloutStatus`
|
28512
|
+
# @return [String]
|
28513
|
+
attr_accessor :rollout_status
|
28514
|
+
|
28371
28515
|
def initialize(**args)
|
28372
28516
|
update!(**args)
|
28373
28517
|
end
|
@@ -28375,9 +28519,11 @@ module Google
|
|
28375
28519
|
# Update properties of this object
|
28376
28520
|
def update!(**args)
|
28377
28521
|
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
28522
|
+
@future_limit = args[:future_limit] if args.key?(:future_limit)
|
28378
28523
|
@limit = args[:limit] if args.key?(:limit)
|
28379
28524
|
@limit_name = args[:limit_name] if args.key?(:limit_name)
|
28380
28525
|
@metric_name = args[:metric_name] if args.key?(:metric_name)
|
28526
|
+
@rollout_status = args[:rollout_status] if args.key?(:rollout_status)
|
28381
28527
|
end
|
28382
28528
|
end
|
28383
28529
|
|
@@ -33745,6 +33891,14 @@ module Google
|
|
33745
33891
|
# @return [String]
|
33746
33892
|
attr_accessor :instance_termination_action
|
33747
33893
|
|
33894
|
+
# A Duration represents a fixed-length span of time represented as a count of
|
33895
|
+
# seconds and fractions of seconds at nanosecond resolution. It is independent
|
33896
|
+
# of any calendar and concepts like "day" or "month". Range is approximately 10,
|
33897
|
+
# 000 years.
|
33898
|
+
# Corresponds to the JSON property `localSsdRecoveryTimeout`
|
33899
|
+
# @return [Google::Apis::ComputeV1::Duration]
|
33900
|
+
attr_accessor :local_ssd_recovery_timeout
|
33901
|
+
|
33748
33902
|
# An opaque location hint used to place the instance close to other resources.
|
33749
33903
|
# This field is for use by internal tools that use the public API.
|
33750
33904
|
# Corresponds to the JSON property `locationHint`
|
@@ -33793,6 +33947,7 @@ module Google
|
|
33793
33947
|
def update!(**args)
|
33794
33948
|
@automatic_restart = args[:automatic_restart] if args.key?(:automatic_restart)
|
33795
33949
|
@instance_termination_action = args[:instance_termination_action] if args.key?(:instance_termination_action)
|
33950
|
+
@local_ssd_recovery_timeout = args[:local_ssd_recovery_timeout] if args.key?(:local_ssd_recovery_timeout)
|
33796
33951
|
@location_hint = args[:location_hint] if args.key?(:location_hint)
|
33797
33952
|
@min_node_cpus = args[:min_node_cpus] if args.key?(:min_node_cpus)
|
33798
33953
|
@node_affinities = args[:node_affinities] if args.key?(:node_affinities)
|
@@ -34313,6 +34468,12 @@ module Google
|
|
34313
34468
|
# @return [String]
|
34314
34469
|
attr_accessor :rule_visibility
|
34315
34470
|
|
34471
|
+
# Configuration options for layer7 adaptive protection for various customizable
|
34472
|
+
# thresholds.
|
34473
|
+
# Corresponds to the JSON property `thresholdConfigs`
|
34474
|
+
# @return [Array<Google::Apis::ComputeV1::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig>]
|
34475
|
+
attr_accessor :threshold_configs
|
34476
|
+
|
34316
34477
|
def initialize(**args)
|
34317
34478
|
update!(**args)
|
34318
34479
|
end
|
@@ -34321,6 +34482,51 @@ module Google
|
|
34321
34482
|
def update!(**args)
|
34322
34483
|
@enable = args[:enable] if args.key?(:enable)
|
34323
34484
|
@rule_visibility = args[:rule_visibility] if args.key?(:rule_visibility)
|
34485
|
+
@threshold_configs = args[:threshold_configs] if args.key?(:threshold_configs)
|
34486
|
+
end
|
34487
|
+
end
|
34488
|
+
|
34489
|
+
#
|
34490
|
+
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
|
34491
|
+
include Google::Apis::Core::Hashable
|
34492
|
+
|
34493
|
+
#
|
34494
|
+
# Corresponds to the JSON property `autoDeployConfidenceThreshold`
|
34495
|
+
# @return [Float]
|
34496
|
+
attr_accessor :auto_deploy_confidence_threshold
|
34497
|
+
|
34498
|
+
#
|
34499
|
+
# Corresponds to the JSON property `autoDeployExpirationSec`
|
34500
|
+
# @return [Fixnum]
|
34501
|
+
attr_accessor :auto_deploy_expiration_sec
|
34502
|
+
|
34503
|
+
#
|
34504
|
+
# Corresponds to the JSON property `autoDeployImpactedBaselineThreshold`
|
34505
|
+
# @return [Float]
|
34506
|
+
attr_accessor :auto_deploy_impacted_baseline_threshold
|
34507
|
+
|
34508
|
+
#
|
34509
|
+
# Corresponds to the JSON property `autoDeployLoadThreshold`
|
34510
|
+
# @return [Float]
|
34511
|
+
attr_accessor :auto_deploy_load_threshold
|
34512
|
+
|
34513
|
+
# The name must be 1-63 characters long, and comply with RFC1035. The name must
|
34514
|
+
# be unique within the security policy.
|
34515
|
+
# Corresponds to the JSON property `name`
|
34516
|
+
# @return [String]
|
34517
|
+
attr_accessor :name
|
34518
|
+
|
34519
|
+
def initialize(**args)
|
34520
|
+
update!(**args)
|
34521
|
+
end
|
34522
|
+
|
34523
|
+
# Update properties of this object
|
34524
|
+
def update!(**args)
|
34525
|
+
@auto_deploy_confidence_threshold = args[:auto_deploy_confidence_threshold] if args.key?(:auto_deploy_confidence_threshold)
|
34526
|
+
@auto_deploy_expiration_sec = args[:auto_deploy_expiration_sec] if args.key?(:auto_deploy_expiration_sec)
|
34527
|
+
@auto_deploy_impacted_baseline_threshold = args[:auto_deploy_impacted_baseline_threshold] if args.key?(:auto_deploy_impacted_baseline_threshold)
|
34528
|
+
@auto_deploy_load_threshold = args[:auto_deploy_load_threshold] if args.key?(:auto_deploy_load_threshold)
|
34529
|
+
@name = args[:name] if args.key?(:name)
|
34324
34530
|
end
|
34325
34531
|
end
|
34326
34532
|
|
@@ -35070,6 +35276,14 @@ module Google
|
|
35070
35276
|
class SecuritySettings
|
35071
35277
|
include Google::Apis::Core::Hashable
|
35072
35278
|
|
35279
|
+
# Contains the configurations necessary to generate a signature for access to
|
35280
|
+
# private storage buckets that support Signature Version 4 for authentication.
|
35281
|
+
# The service name for generating the authentication header will always default
|
35282
|
+
# to 's3'.
|
35283
|
+
# Corresponds to the JSON property `awsV4Authentication`
|
35284
|
+
# @return [Google::Apis::ComputeV1::Awsv4Signature]
|
35285
|
+
attr_accessor :aws_v4_authentication
|
35286
|
+
|
35073
35287
|
# Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that
|
35074
35288
|
# describes how clients should authenticate with this service's backends.
|
35075
35289
|
# clientTlsPolicy only applies to a global BackendService with the
|
@@ -35101,6 +35315,7 @@ module Google
|
|
35101
35315
|
|
35102
35316
|
# Update properties of this object
|
35103
35317
|
def update!(**args)
|
35318
|
+
@aws_v4_authentication = args[:aws_v4_authentication] if args.key?(:aws_v4_authentication)
|
35104
35319
|
@client_tls_policy = args[:client_tls_policy] if args.key?(:client_tls_policy)
|
35105
35320
|
@subject_alt_names = args[:subject_alt_names] if args.key?(:subject_alt_names)
|
35106
35321
|
end
|
@@ -35495,6 +35710,11 @@ module Google
|
|
35495
35710
|
class ServiceAttachmentConnectedEndpoint
|
35496
35711
|
include Google::Apis::Core::Hashable
|
35497
35712
|
|
35713
|
+
# The url of the consumer network.
|
35714
|
+
# Corresponds to the JSON property `consumerNetwork`
|
35715
|
+
# @return [String]
|
35716
|
+
attr_accessor :consumer_network
|
35717
|
+
|
35498
35718
|
# The url of a connected endpoint.
|
35499
35719
|
# Corresponds to the JSON property `endpoint`
|
35500
35720
|
# @return [String]
|
@@ -35516,6 +35736,7 @@ module Google
|
|
35516
35736
|
|
35517
35737
|
# Update properties of this object
|
35518
35738
|
def update!(**args)
|
35739
|
+
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
35519
35740
|
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
35520
35741
|
@psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
|
35521
35742
|
@status = args[:status] if args.key?(:status)
|
@@ -35762,6 +35983,63 @@ module Google
|
|
35762
35983
|
end
|
35763
35984
|
end
|
35764
35985
|
|
35986
|
+
#
|
35987
|
+
class SetCommonInstanceMetadataOperationMetadata
|
35988
|
+
include Google::Apis::Core::Hashable
|
35989
|
+
|
35990
|
+
# [Output Only] The client operation id.
|
35991
|
+
# Corresponds to the JSON property `clientOperationId`
|
35992
|
+
# @return [String]
|
35993
|
+
attr_accessor :client_operation_id
|
35994
|
+
|
35995
|
+
# [Output Only] Status information per location (location name is key). Example
|
35996
|
+
# key: zones/us-central1-a
|
35997
|
+
# Corresponds to the JSON property `perLocationOperations`
|
35998
|
+
# @return [Hash<String,Google::Apis::ComputeV1::SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo>]
|
35999
|
+
attr_accessor :per_location_operations
|
36000
|
+
|
36001
|
+
def initialize(**args)
|
36002
|
+
update!(**args)
|
36003
|
+
end
|
36004
|
+
|
36005
|
+
# Update properties of this object
|
36006
|
+
def update!(**args)
|
36007
|
+
@client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id)
|
36008
|
+
@per_location_operations = args[:per_location_operations] if args.key?(:per_location_operations)
|
36009
|
+
end
|
36010
|
+
end
|
36011
|
+
|
36012
|
+
#
|
36013
|
+
class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
|
36014
|
+
include Google::Apis::Core::Hashable
|
36015
|
+
|
36016
|
+
# The `Status` type defines a logical error model that is suitable for different
|
36017
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
36018
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
36019
|
+
# data: error code, error message, and error details. You can find out more
|
36020
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
36021
|
+
# //cloud.google.com/apis/design/errors).
|
36022
|
+
# Corresponds to the JSON property `error`
|
36023
|
+
# @return [Google::Apis::ComputeV1::Status]
|
36024
|
+
attr_accessor :error
|
36025
|
+
|
36026
|
+
# [Output Only] Status of the action, which can be one of the following: `
|
36027
|
+
# PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
|
36028
|
+
# Corresponds to the JSON property `state`
|
36029
|
+
# @return [String]
|
36030
|
+
attr_accessor :state
|
36031
|
+
|
36032
|
+
def initialize(**args)
|
36033
|
+
update!(**args)
|
36034
|
+
end
|
36035
|
+
|
36036
|
+
# Update properties of this object
|
36037
|
+
def update!(**args)
|
36038
|
+
@error = args[:error] if args.key?(:error)
|
36039
|
+
@state = args[:state] if args.key?(:state)
|
36040
|
+
end
|
36041
|
+
end
|
36042
|
+
|
35765
36043
|
# The share setting for reservations and sole tenancy node groups.
|
35766
36044
|
class ShareSettings
|
35767
36045
|
include Google::Apis::Core::Hashable
|
@@ -37609,6 +37887,45 @@ module Google
|
|
37609
37887
|
end
|
37610
37888
|
end
|
37611
37889
|
|
37890
|
+
# The `Status` type defines a logical error model that is suitable for different
|
37891
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
37892
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
37893
|
+
# data: error code, error message, and error details. You can find out more
|
37894
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
37895
|
+
# //cloud.google.com/apis/design/errors).
|
37896
|
+
class Status
|
37897
|
+
include Google::Apis::Core::Hashable
|
37898
|
+
|
37899
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
37900
|
+
# Corresponds to the JSON property `code`
|
37901
|
+
# @return [Fixnum]
|
37902
|
+
attr_accessor :code
|
37903
|
+
|
37904
|
+
# A list of messages that carry the error details. There is a common set of
|
37905
|
+
# message types for APIs to use.
|
37906
|
+
# Corresponds to the JSON property `details`
|
37907
|
+
# @return [Array<Hash<String,Object>>]
|
37908
|
+
attr_accessor :details
|
37909
|
+
|
37910
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
37911
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
37912
|
+
# field, or localized by the client.
|
37913
|
+
# Corresponds to the JSON property `message`
|
37914
|
+
# @return [String]
|
37915
|
+
attr_accessor :message
|
37916
|
+
|
37917
|
+
def initialize(**args)
|
37918
|
+
update!(**args)
|
37919
|
+
end
|
37920
|
+
|
37921
|
+
# Update properties of this object
|
37922
|
+
def update!(**args)
|
37923
|
+
@code = args[:code] if args.key?(:code)
|
37924
|
+
@details = args[:details] if args.key?(:details)
|
37925
|
+
@message = args[:message] if args.key?(:message)
|
37926
|
+
end
|
37927
|
+
end
|
37928
|
+
|
37612
37929
|
# Represents a Subnetwork resource. A subnetwork (also known as a subnet) is a
|
37613
37930
|
# logical partition of a Virtual Private Cloud network with one primary IP range
|
37614
37931
|
# 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 ComputeV1
|
18
18
|
# Version of the google-apis-compute_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.75.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 = "20230725"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ComputeV1
|
24
24
|
|
25
|
+
class Awsv4Signature
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class AcceleratorConfig
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -2614,6 +2620,24 @@ module Google
|
|
2614
2620
|
include Google::Apis::Core::JsonObjectSupport
|
2615
2621
|
end
|
2616
2622
|
|
2623
|
+
class NatIpInfo
|
2624
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2625
|
+
|
2626
|
+
include Google::Apis::Core::JsonObjectSupport
|
2627
|
+
end
|
2628
|
+
|
2629
|
+
class NatIpInfoNatIpInfoMapping
|
2630
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2631
|
+
|
2632
|
+
include Google::Apis::Core::JsonObjectSupport
|
2633
|
+
end
|
2634
|
+
|
2635
|
+
class NatIpInfoResponse
|
2636
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2637
|
+
|
2638
|
+
include Google::Apis::Core::JsonObjectSupport
|
2639
|
+
end
|
2640
|
+
|
2617
2641
|
class Network
|
2618
2642
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2619
2643
|
|
@@ -4444,6 +4468,12 @@ module Google
|
|
4444
4468
|
include Google::Apis::Core::JsonObjectSupport
|
4445
4469
|
end
|
4446
4470
|
|
4471
|
+
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
|
4472
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4473
|
+
|
4474
|
+
include Google::Apis::Core::JsonObjectSupport
|
4475
|
+
end
|
4476
|
+
|
4447
4477
|
class SecurityPolicyAdvancedOptionsConfig
|
4448
4478
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4449
4479
|
|
@@ -4660,6 +4690,18 @@ module Google
|
|
4660
4690
|
include Google::Apis::Core::JsonObjectSupport
|
4661
4691
|
end
|
4662
4692
|
|
4693
|
+
class SetCommonInstanceMetadataOperationMetadata
|
4694
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4695
|
+
|
4696
|
+
include Google::Apis::Core::JsonObjectSupport
|
4697
|
+
end
|
4698
|
+
|
4699
|
+
class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
|
4700
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4701
|
+
|
4702
|
+
include Google::Apis::Core::JsonObjectSupport
|
4703
|
+
end
|
4704
|
+
|
4663
4705
|
class ShareSettings
|
4664
4706
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4665
4707
|
|
@@ -4918,6 +4960,12 @@ module Google
|
|
4918
4960
|
include Google::Apis::Core::JsonObjectSupport
|
4919
4961
|
end
|
4920
4962
|
|
4963
|
+
class Status
|
4964
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4965
|
+
|
4966
|
+
include Google::Apis::Core::JsonObjectSupport
|
4967
|
+
end
|
4968
|
+
|
4921
4969
|
class Subnetwork
|
4922
4970
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4923
4971
|
|
@@ -5938,6 +5986,16 @@ module Google
|
|
5938
5986
|
include Google::Apis::Core::JsonObjectSupport
|
5939
5987
|
end
|
5940
5988
|
|
5989
|
+
class Awsv4Signature
|
5990
|
+
# @private
|
5991
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5992
|
+
property :access_key, as: 'accessKey'
|
5993
|
+
property :access_key_id, as: 'accessKeyId'
|
5994
|
+
property :access_key_version, as: 'accessKeyVersion'
|
5995
|
+
property :origin_region, as: 'originRegion'
|
5996
|
+
end
|
5997
|
+
end
|
5998
|
+
|
5941
5999
|
class AcceleratorConfig
|
5942
6000
|
# @private
|
5943
6001
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6997,6 +7055,7 @@ module Google
|
|
6997
7055
|
class BulkInsertInstanceResourcePerInstanceProperties
|
6998
7056
|
# @private
|
6999
7057
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7058
|
+
property :hostname, as: 'hostname'
|
7000
7059
|
property :name, as: 'name'
|
7001
7060
|
end
|
7002
7061
|
end
|
@@ -10905,6 +10964,32 @@ module Google
|
|
10905
10964
|
end
|
10906
10965
|
end
|
10907
10966
|
|
10967
|
+
class NatIpInfo
|
10968
|
+
# @private
|
10969
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10970
|
+
collection :nat_ip_info_mappings, as: 'natIpInfoMappings', class: Google::Apis::ComputeV1::NatIpInfoNatIpInfoMapping, decorator: Google::Apis::ComputeV1::NatIpInfoNatIpInfoMapping::Representation
|
10971
|
+
|
10972
|
+
property :nat_name, as: 'natName'
|
10973
|
+
end
|
10974
|
+
end
|
10975
|
+
|
10976
|
+
class NatIpInfoNatIpInfoMapping
|
10977
|
+
# @private
|
10978
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10979
|
+
property :mode, as: 'mode'
|
10980
|
+
property :nat_ip, as: 'natIp'
|
10981
|
+
property :usage, as: 'usage'
|
10982
|
+
end
|
10983
|
+
end
|
10984
|
+
|
10985
|
+
class NatIpInfoResponse
|
10986
|
+
# @private
|
10987
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10988
|
+
collection :result, as: 'result', class: Google::Apis::ComputeV1::NatIpInfo, decorator: Google::Apis::ComputeV1::NatIpInfo::Representation
|
10989
|
+
|
10990
|
+
end
|
10991
|
+
end
|
10992
|
+
|
10908
10993
|
class Network
|
10909
10994
|
# @private
|
10910
10995
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12043,6 +12128,8 @@ module Google
|
|
12043
12128
|
property :progress, as: 'progress'
|
12044
12129
|
property :region, as: 'region'
|
12045
12130
|
property :self_link, as: 'selfLink'
|
12131
|
+
property :set_common_instance_metadata_operation_metadata, as: 'setCommonInstanceMetadataOperationMetadata', class: Google::Apis::ComputeV1::SetCommonInstanceMetadataOperationMetadata, decorator: Google::Apis::ComputeV1::SetCommonInstanceMetadataOperationMetadata::Representation
|
12132
|
+
|
12046
12133
|
property :start_time, as: 'startTime'
|
12047
12134
|
property :status, as: 'status'
|
12048
12135
|
property :status_message, as: 'statusMessage'
|
@@ -12745,9 +12832,11 @@ module Google
|
|
12745
12832
|
# @private
|
12746
12833
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12747
12834
|
hash :dimensions, as: 'dimensions'
|
12835
|
+
property :future_limit, as: 'futureLimit'
|
12748
12836
|
property :limit, as: 'limit'
|
12749
12837
|
property :limit_name, as: 'limitName'
|
12750
12838
|
property :metric_name, as: 'metricName'
|
12839
|
+
property :rollout_status, as: 'rolloutStatus'
|
12751
12840
|
end
|
12752
12841
|
end
|
12753
12842
|
|
@@ -14132,6 +14221,8 @@ module Google
|
|
14132
14221
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14133
14222
|
property :automatic_restart, as: 'automaticRestart'
|
14134
14223
|
property :instance_termination_action, as: 'instanceTerminationAction'
|
14224
|
+
property :local_ssd_recovery_timeout, as: 'localSsdRecoveryTimeout', class: Google::Apis::ComputeV1::Duration, decorator: Google::Apis::ComputeV1::Duration::Representation
|
14225
|
+
|
14135
14226
|
property :location_hint, as: 'locationHint'
|
14136
14227
|
property :min_node_cpus, as: 'minNodeCpus'
|
14137
14228
|
collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::ComputeV1::SchedulingNodeAffinity, decorator: Google::Apis::ComputeV1::SchedulingNodeAffinity::Representation
|
@@ -14277,6 +14368,19 @@ module Google
|
|
14277
14368
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14278
14369
|
property :enable, as: 'enable'
|
14279
14370
|
property :rule_visibility, as: 'ruleVisibility'
|
14371
|
+
collection :threshold_configs, as: 'thresholdConfigs', class: Google::Apis::ComputeV1::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig, decorator: Google::Apis::ComputeV1::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig::Representation
|
14372
|
+
|
14373
|
+
end
|
14374
|
+
end
|
14375
|
+
|
14376
|
+
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
|
14377
|
+
# @private
|
14378
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14379
|
+
property :auto_deploy_confidence_threshold, as: 'autoDeployConfidenceThreshold'
|
14380
|
+
property :auto_deploy_expiration_sec, as: 'autoDeployExpirationSec'
|
14381
|
+
property :auto_deploy_impacted_baseline_threshold, as: 'autoDeployImpactedBaselineThreshold'
|
14382
|
+
property :auto_deploy_load_threshold, as: 'autoDeployLoadThreshold'
|
14383
|
+
property :name, as: 'name'
|
14280
14384
|
end
|
14281
14385
|
end
|
14282
14386
|
|
@@ -14482,6 +14586,8 @@ module Google
|
|
14482
14586
|
class SecuritySettings
|
14483
14587
|
# @private
|
14484
14588
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14589
|
+
property :aws_v4_authentication, as: 'awsV4Authentication', class: Google::Apis::ComputeV1::Awsv4Signature, decorator: Google::Apis::ComputeV1::Awsv4Signature::Representation
|
14590
|
+
|
14485
14591
|
property :client_tls_policy, as: 'clientTlsPolicy'
|
14486
14592
|
collection :subject_alt_names, as: 'subjectAltNames'
|
14487
14593
|
end
|
@@ -14577,6 +14683,7 @@ module Google
|
|
14577
14683
|
class ServiceAttachmentConnectedEndpoint
|
14578
14684
|
# @private
|
14579
14685
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14686
|
+
property :consumer_network, as: 'consumerNetwork'
|
14580
14687
|
property :endpoint, as: 'endpoint'
|
14581
14688
|
property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
|
14582
14689
|
property :status, as: 'status'
|
@@ -14652,6 +14759,24 @@ module Google
|
|
14652
14759
|
end
|
14653
14760
|
end
|
14654
14761
|
|
14762
|
+
class SetCommonInstanceMetadataOperationMetadata
|
14763
|
+
# @private
|
14764
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14765
|
+
property :client_operation_id, as: 'clientOperationId'
|
14766
|
+
hash :per_location_operations, as: 'perLocationOperations', class: Google::Apis::ComputeV1::SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo, decorator: Google::Apis::ComputeV1::SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo::Representation
|
14767
|
+
|
14768
|
+
end
|
14769
|
+
end
|
14770
|
+
|
14771
|
+
class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
|
14772
|
+
# @private
|
14773
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14774
|
+
property :error, as: 'error', class: Google::Apis::ComputeV1::Status, decorator: Google::Apis::ComputeV1::Status::Representation
|
14775
|
+
|
14776
|
+
property :state, as: 'state'
|
14777
|
+
end
|
14778
|
+
end
|
14779
|
+
|
14655
14780
|
class ShareSettings
|
14656
14781
|
# @private
|
14657
14782
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -15125,6 +15250,15 @@ module Google
|
|
15125
15250
|
end
|
15126
15251
|
end
|
15127
15252
|
|
15253
|
+
class Status
|
15254
|
+
# @private
|
15255
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
15256
|
+
property :code, as: 'code'
|
15257
|
+
collection :details, as: 'details'
|
15258
|
+
property :message, as: 'message'
|
15259
|
+
end
|
15260
|
+
end
|
15261
|
+
|
15128
15262
|
class Subnetwork
|
15129
15263
|
# @private
|
15130
15264
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -28283,9 +28283,9 @@ module Google
|
|
28283
28283
|
end
|
28284
28284
|
|
28285
28285
|
# Patches the specified policy with the data included in the request. To clear
|
28286
|
-
# fields in the
|
28287
|
-
# This cannot be used to be update the rules in the policy. Please
|
28288
|
-
# rule methods like addRule, patchRule, and removeRule instead.
|
28286
|
+
# fields in the policy, leave the fields empty and specify them in the
|
28287
|
+
# updateMask. This cannot be used to be update the rules in the policy. Please
|
28288
|
+
# use the per rule methods like addRule, patchRule, and removeRule instead.
|
28289
28289
|
# @param [String] project
|
28290
28290
|
# Project ID for this request.
|
28291
28291
|
# @param [String] region
|
@@ -31288,6 +31288,62 @@ module Google
|
|
31288
31288
|
execute_or_queue_command(command, &block)
|
31289
31289
|
end
|
31290
31290
|
|
31291
|
+
# Modify the specified resource policy.
|
31292
|
+
# @param [String] project
|
31293
|
+
# Project ID for this request.
|
31294
|
+
# @param [String] region
|
31295
|
+
# Name of the region for this request.
|
31296
|
+
# @param [String] resource_policy
|
31297
|
+
# Id of the resource policy to patch.
|
31298
|
+
# @param [Google::Apis::ComputeV1::ResourcePolicy] resource_policy_object
|
31299
|
+
# @param [String] request_id
|
31300
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
31301
|
+
# that if you must retry your request, the server will know to ignore the
|
31302
|
+
# request if it has already been completed. For example, consider a situation
|
31303
|
+
# where you make an initial request and the request times out. If you make the
|
31304
|
+
# request again with the same request ID, the server can check if original
|
31305
|
+
# operation with the same request ID was received, and if so, will ignore the
|
31306
|
+
# second request. This prevents clients from accidentally creating duplicate
|
31307
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
31308
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
31309
|
+
# @param [String] update_mask
|
31310
|
+
# update_mask indicates fields to be updated as part of this request.
|
31311
|
+
# @param [String] fields
|
31312
|
+
# Selector specifying which fields to include in a partial response.
|
31313
|
+
# @param [String] quota_user
|
31314
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
31315
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
31316
|
+
# @param [String] user_ip
|
31317
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
31318
|
+
# @param [Google::Apis::RequestOptions] options
|
31319
|
+
# Request-specific options
|
31320
|
+
#
|
31321
|
+
# @yield [result, err] Result & error if block supplied
|
31322
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
31323
|
+
# @yieldparam err [StandardError] error object if request failed
|
31324
|
+
#
|
31325
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
31326
|
+
#
|
31327
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31328
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31329
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31330
|
+
def patch_resource_policy(project, region, resource_policy, resource_policy_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31331
|
+
command = make_simple_command(:patch, 'projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}', options)
|
31332
|
+
command.request_representation = Google::Apis::ComputeV1::ResourcePolicy::Representation
|
31333
|
+
command.request_object = resource_policy_object
|
31334
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
31335
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
31336
|
+
command.params['project'] = project unless project.nil?
|
31337
|
+
command.params['region'] = region unless region.nil?
|
31338
|
+
command.params['resourcePolicy'] = resource_policy unless resource_policy.nil?
|
31339
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
31340
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
31341
|
+
command.query['fields'] = fields unless fields.nil?
|
31342
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
31343
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
31344
|
+
execute_or_queue_command(command, &block)
|
31345
|
+
end
|
31346
|
+
|
31291
31347
|
# Sets the access control policy on the specified resource. Replaces any
|
31292
31348
|
# existing policy.
|
31293
31349
|
# @param [String] project
|
@@ -31558,6 +31614,50 @@ module Google
|
|
31558
31614
|
execute_or_queue_command(command, &block)
|
31559
31615
|
end
|
31560
31616
|
|
31617
|
+
# Retrieves runtime NAT IP information.
|
31618
|
+
# @param [String] project
|
31619
|
+
# Project ID for this request.
|
31620
|
+
# @param [String] region
|
31621
|
+
# Name of the region for this request.
|
31622
|
+
# @param [String] router
|
31623
|
+
# Name of the Router resource to query for Nat IP information. The name should
|
31624
|
+
# conform to RFC1035.
|
31625
|
+
# @param [String] nat_name
|
31626
|
+
# Name of the nat service to filter the NAT IP information. If it is omitted,
|
31627
|
+
# all nats for this router will be returned. Name should conform to RFC1035.
|
31628
|
+
# @param [String] fields
|
31629
|
+
# Selector specifying which fields to include in a partial response.
|
31630
|
+
# @param [String] quota_user
|
31631
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
31632
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
31633
|
+
# @param [String] user_ip
|
31634
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
31635
|
+
# @param [Google::Apis::RequestOptions] options
|
31636
|
+
# Request-specific options
|
31637
|
+
#
|
31638
|
+
# @yield [result, err] Result & error if block supplied
|
31639
|
+
# @yieldparam result [Google::Apis::ComputeV1::NatIpInfoResponse] parsed result object
|
31640
|
+
# @yieldparam err [StandardError] error object if request failed
|
31641
|
+
#
|
31642
|
+
# @return [Google::Apis::ComputeV1::NatIpInfoResponse]
|
31643
|
+
#
|
31644
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31645
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31646
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31647
|
+
def get_router_nat_ip_info(project, region, router, nat_name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31648
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}/getNatIpInfo', options)
|
31649
|
+
command.response_representation = Google::Apis::ComputeV1::NatIpInfoResponse::Representation
|
31650
|
+
command.response_class = Google::Apis::ComputeV1::NatIpInfoResponse
|
31651
|
+
command.params['project'] = project unless project.nil?
|
31652
|
+
command.params['region'] = region unless region.nil?
|
31653
|
+
command.params['router'] = router unless router.nil?
|
31654
|
+
command.query['natName'] = nat_name unless nat_name.nil?
|
31655
|
+
command.query['fields'] = fields unless fields.nil?
|
31656
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
31657
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
31658
|
+
execute_or_queue_command(command, &block)
|
31659
|
+
end
|
31660
|
+
|
31561
31661
|
# Retrieves runtime Nat mapping information of VM endpoints.
|
31562
31662
|
# @param [String] project
|
31563
31663
|
# Project ID for this request.
|
@@ -32702,9 +32802,9 @@ module Google
|
|
32702
32802
|
end
|
32703
32803
|
|
32704
32804
|
# Patches the specified policy with the data included in the request. To clear
|
32705
|
-
# fields in the
|
32706
|
-
# This cannot be used to be update the rules in the policy. Please
|
32707
|
-
# rule methods like addRule, patchRule, and removeRule instead.
|
32805
|
+
# fields in the policy, leave the fields empty and specify them in the
|
32806
|
+
# updateMask. This cannot be used to be update the rules in the policy. Please
|
32807
|
+
# use the per rule methods like addRule, patchRule, and removeRule instead.
|
32708
32808
|
# @param [String] project
|
32709
32809
|
# Project ID for this request.
|
32710
32810
|
# @param [String] security_policy
|
@@ -32754,7 +32854,8 @@ module Google
|
|
32754
32854
|
execute_or_queue_command(command, &block)
|
32755
32855
|
end
|
32756
32856
|
|
32757
|
-
# Patches a rule at the specified priority.
|
32857
|
+
# Patches a rule at the specified priority. To clear fields in the rule, leave
|
32858
|
+
# the fields empty and specify them in the updateMask.
|
32758
32859
|
# @param [String] project
|
32759
32860
|
# Project ID for this request.
|
32760
32861
|
# @param [String] security_policy
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-compute_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.75.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-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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.75.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|