google-apis-compute_v1 0.74.0 → 0.76.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9eb561d6b53944c5078b9950c271802a8f0bd7ad38afabff50f04fc401fbf38
4
- data.tar.gz: 9cd13a7d7f0a9d24692b83523fd8243750e3f7aa70b90c546d33765ab25bec8f
3
+ metadata.gz: 2b6658e38a18dda884d4123b28b848085efd4cc650d753d114b1ebc30a4c7d3a
4
+ data.tar.gz: 811578d9a6ceba6fe86a88201d94d16d1d9a4974e4d64d0936d709b8063bc372
5
5
  SHA512:
6
- metadata.gz: d684d9b4949f4de774547afcb36485c033584b3dc347672d44d9ecf94f38acf17adf3eec454800195840b37f75bcaa17bf5bc5f3e4f3f0bf755e7a4bb82c3c20
7
- data.tar.gz: b00003e8c0ba6f0198b31a06be418a5489209e2d021b89443d1bbf586f29dd5d1bfc4cccf9a2290a87fb89f954567185bbb85ce54db4c9d96aedcbda2b365cd0
6
+ metadata.gz: 8545b9f67e975ad5e8cec26d9d588666935b32b486719301c3ac35f4a94f7d66b36aa8d73b883d3f7c194b3201fb8836ece0e02d580ba385d116f346d9801020
7
+ data.tar.gz: 75a15e2d2995614e1058d2022ca72c03ebb67d11c2f0936da317ff7c5938938bbc2a830ebad4c8a62ab1cd7d7f4847a2b3fda830d6391fe213b7fc87205522f1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.76.0 (2023-08-13)
4
+
5
+ * Regenerated from discovery document revision 20230801
6
+
7
+ ### v0.75.0 (2023-08-06)
8
+
9
+ * Regenerated from discovery document revision 20230725
10
+
3
11
  ### v0.74.0 (2023-07-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20230711
@@ -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. You can'
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
@@ -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
@@ -9965,22 +10018,22 @@ module Google
9965
10018
  # evaluates to `true`. A condition can add constraints based on attributes of
9966
10019
  # the request, the resource, or both. To learn which resources support
9967
10020
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
9968
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
10021
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
9969
10022
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
9970
10023
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
9971
10024
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
9972
10025
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
9973
10026
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
9974
10027
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
9975
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
9976
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
9977
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
9978
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
9979
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
9980
- # access description: Does not grant access after Sep 2020 expression: request.
9981
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
9982
- # a description of IAM and its features, see the [IAM documentation](https://
9983
- # cloud.google.com/iam/docs/).
10028
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
10029
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
10030
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
10031
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
10032
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
10033
+ # title: expirable access description: Does not grant access after Sep 2020
10034
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
10035
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
10036
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
9984
10037
  # Corresponds to the JSON property `policy`
9985
10038
  # @return [Google::Apis::ComputeV1::Policy]
9986
10039
  attr_accessor :policy
@@ -10058,22 +10111,22 @@ module Google
10058
10111
  # evaluates to `true`. A condition can add constraints based on attributes of
10059
10112
  # the request, the resource, or both. To learn which resources support
10060
10113
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
10061
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
10114
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
10062
10115
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
10063
10116
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
10064
10117
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
10065
10118
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
10066
10119
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
10067
10120
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
10068
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
10069
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
10070
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
10071
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
10072
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
10073
- # access description: Does not grant access after Sep 2020 expression: request.
10074
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
10075
- # a description of IAM and its features, see the [IAM documentation](https://
10076
- # cloud.google.com/iam/docs/).
10121
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
10122
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
10123
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
10124
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
10125
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
10126
+ # title: expirable access description: Does not grant access after Sep 2020
10127
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
10128
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
10129
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
10077
10130
  # Corresponds to the JSON property `policy`
10078
10131
  # @return [Google::Apis::ComputeV1::Policy]
10079
10132
  attr_accessor :policy
@@ -21016,6 +21069,81 @@ module Google
21016
21069
  end
21017
21070
  end
21018
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
+
21019
21147
  # Represents a VPC Network resource. Networks connect resources to each other
21020
21148
  # and to the internet. For more information, read Virtual Private Cloud (VPC)
21021
21149
  # Network.
@@ -25436,7 +25564,7 @@ module Google
25436
25564
  # responses. Operations can be global, regional or zonal. - For global
25437
25565
  # operations, use the `globalOperations` resource. - For regional operations,
25438
25566
  # use the `regionOperations` resource. - For zonal operations, use the `
25439
- # zonalOperations` resource. For more information, read Global, Regional, and
25567
+ # zoneOperations` resource. For more information, read Global, Regional, and
25440
25568
  # Zonal Resources.
25441
25569
  class Operation
25442
25570
  include Google::Apis::Core::Hashable
@@ -25537,6 +25665,12 @@ module Google
25537
25665
  # @return [String]
25538
25666
  attr_accessor :self_link
25539
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
+
25540
25674
  # [Output Only] The time that this operation was started by the server. This
25541
25675
  # value is in RFC3339 text format.
25542
25676
  # Corresponds to the JSON property `startTime`
@@ -25569,7 +25703,7 @@ module Google
25569
25703
  attr_accessor :target_link
25570
25704
 
25571
25705
  # [Output Only] User who requested the operation, for example: `user@example.com`
25572
- # .
25706
+ # or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
25573
25707
  # Corresponds to the JSON property `user`
25574
25708
  # @return [String]
25575
25709
  attr_accessor :user
@@ -25608,6 +25742,7 @@ module Google
25608
25742
  @progress = args[:progress] if args.key?(:progress)
25609
25743
  @region = args[:region] if args.key?(:region)
25610
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)
25611
25746
  @start_time = args[:start_time] if args.key?(:start_time)
25612
25747
  @status = args[:status] if args.key?(:status)
25613
25748
  @status_message = args[:status_message] if args.key?(:status_message)
@@ -27121,22 +27256,22 @@ module Google
27121
27256
  # evaluates to `true`. A condition can add constraints based on attributes of
27122
27257
  # the request, the resource, or both. To learn which resources support
27123
27258
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
27124
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
27259
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
27125
27260
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
27126
27261
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
27127
27262
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
27128
27263
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
27129
27264
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
27130
27265
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
27131
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
27132
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
27133
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
27134
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
27135
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
27136
- # access description: Does not grant access after Sep 2020 expression: request.
27137
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
27138
- # a description of IAM and its features, see the [IAM documentation](https://
27139
- # cloud.google.com/iam/docs/).
27266
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
27267
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
27268
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
27269
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
27270
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
27271
+ # title: expirable access description: Does not grant access after Sep 2020
27272
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
27273
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
27274
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
27140
27275
  class Policy
27141
27276
  include Google::Apis::Core::Hashable
27142
27277
 
@@ -29922,22 +30057,22 @@ module Google
29922
30057
  # evaluates to `true`. A condition can add constraints based on attributes of
29923
30058
  # the request, the resource, or both. To learn which resources support
29924
30059
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
29925
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
30060
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
29926
30061
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
29927
30062
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
29928
30063
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
29929
30064
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
29930
30065
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
29931
30066
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
29932
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
29933
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
29934
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
29935
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
29936
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
29937
- # access description: Does not grant access after Sep 2020 expression: request.
29938
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
29939
- # a description of IAM and its features, see the [IAM documentation](https://
29940
- # cloud.google.com/iam/docs/).
30067
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
30068
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
30069
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
30070
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
30071
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
30072
+ # title: expirable access description: Does not grant access after Sep 2020
30073
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
30074
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
30075
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
29941
30076
  # Corresponds to the JSON property `policy`
29942
30077
  # @return [Google::Apis::ComputeV1::Policy]
29943
30078
  attr_accessor :policy
@@ -31517,7 +31652,9 @@ module Google
31517
31652
  attr_accessor :description
31518
31653
 
31519
31654
  # The destination range of outgoing packets that this route applies to. Both
31520
- # IPv4 and IPv6 are supported.
31655
+ # IPv4 and IPv6 are supported. Must specify an IPv4 range (e.g. 192.0.2.0/24) or
31656
+ # an IPv6 range in RFC 4291 format (e.g. 2001:db8::/32). IPv6 range will be
31657
+ # displayed using RFC 5952 compressed format.
31521
31658
  # Corresponds to the JSON property `destRange`
31522
31659
  # @return [String]
31523
31660
  attr_accessor :dest_range
@@ -31578,7 +31715,11 @@ module Google
31578
31715
  attr_accessor :next_hop_instance
31579
31716
 
31580
31717
  # The network IP address of an instance that should handle matching packets.
31581
- # Only IPv4 is supported.
31718
+ # Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4
31719
+ # address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC
31720
+ # 4291 format (e.g. 2001:db8::2d9:51:0:0 or 2001:db8:0:0:2d9:51:0:0). IPv6
31721
+ # addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::
31722
+ # 2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.
31582
31723
  # Corresponds to the JSON property `nextHopIp`
31583
31724
  # @return [String]
31584
31725
  attr_accessor :next_hop_ip
@@ -34333,6 +34474,12 @@ module Google
34333
34474
  # @return [String]
34334
34475
  attr_accessor :rule_visibility
34335
34476
 
34477
+ # Configuration options for layer7 adaptive protection for various customizable
34478
+ # thresholds.
34479
+ # Corresponds to the JSON property `thresholdConfigs`
34480
+ # @return [Array<Google::Apis::ComputeV1::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig>]
34481
+ attr_accessor :threshold_configs
34482
+
34336
34483
  def initialize(**args)
34337
34484
  update!(**args)
34338
34485
  end
@@ -34341,6 +34488,51 @@ module Google
34341
34488
  def update!(**args)
34342
34489
  @enable = args[:enable] if args.key?(:enable)
34343
34490
  @rule_visibility = args[:rule_visibility] if args.key?(:rule_visibility)
34491
+ @threshold_configs = args[:threshold_configs] if args.key?(:threshold_configs)
34492
+ end
34493
+ end
34494
+
34495
+ #
34496
+ class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig
34497
+ include Google::Apis::Core::Hashable
34498
+
34499
+ #
34500
+ # Corresponds to the JSON property `autoDeployConfidenceThreshold`
34501
+ # @return [Float]
34502
+ attr_accessor :auto_deploy_confidence_threshold
34503
+
34504
+ #
34505
+ # Corresponds to the JSON property `autoDeployExpirationSec`
34506
+ # @return [Fixnum]
34507
+ attr_accessor :auto_deploy_expiration_sec
34508
+
34509
+ #
34510
+ # Corresponds to the JSON property `autoDeployImpactedBaselineThreshold`
34511
+ # @return [Float]
34512
+ attr_accessor :auto_deploy_impacted_baseline_threshold
34513
+
34514
+ #
34515
+ # Corresponds to the JSON property `autoDeployLoadThreshold`
34516
+ # @return [Float]
34517
+ attr_accessor :auto_deploy_load_threshold
34518
+
34519
+ # The name must be 1-63 characters long, and comply with RFC1035. The name must
34520
+ # be unique within the security policy.
34521
+ # Corresponds to the JSON property `name`
34522
+ # @return [String]
34523
+ attr_accessor :name
34524
+
34525
+ def initialize(**args)
34526
+ update!(**args)
34527
+ end
34528
+
34529
+ # Update properties of this object
34530
+ def update!(**args)
34531
+ @auto_deploy_confidence_threshold = args[:auto_deploy_confidence_threshold] if args.key?(:auto_deploy_confidence_threshold)
34532
+ @auto_deploy_expiration_sec = args[:auto_deploy_expiration_sec] if args.key?(:auto_deploy_expiration_sec)
34533
+ @auto_deploy_impacted_baseline_threshold = args[:auto_deploy_impacted_baseline_threshold] if args.key?(:auto_deploy_impacted_baseline_threshold)
34534
+ @auto_deploy_load_threshold = args[:auto_deploy_load_threshold] if args.key?(:auto_deploy_load_threshold)
34535
+ @name = args[:name] if args.key?(:name)
34344
34536
  end
34345
34537
  end
34346
34538
 
@@ -35090,6 +35282,14 @@ module Google
35090
35282
  class SecuritySettings
35091
35283
  include Google::Apis::Core::Hashable
35092
35284
 
35285
+ # Contains the configurations necessary to generate a signature for access to
35286
+ # private storage buckets that support Signature Version 4 for authentication.
35287
+ # The service name for generating the authentication header will always default
35288
+ # to 's3'.
35289
+ # Corresponds to the JSON property `awsV4Authentication`
35290
+ # @return [Google::Apis::ComputeV1::Awsv4Signature]
35291
+ attr_accessor :aws_v4_authentication
35292
+
35093
35293
  # Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that
35094
35294
  # describes how clients should authenticate with this service's backends.
35095
35295
  # clientTlsPolicy only applies to a global BackendService with the
@@ -35121,6 +35321,7 @@ module Google
35121
35321
 
35122
35322
  # Update properties of this object
35123
35323
  def update!(**args)
35324
+ @aws_v4_authentication = args[:aws_v4_authentication] if args.key?(:aws_v4_authentication)
35124
35325
  @client_tls_policy = args[:client_tls_policy] if args.key?(:client_tls_policy)
35125
35326
  @subject_alt_names = args[:subject_alt_names] if args.key?(:subject_alt_names)
35126
35327
  end
@@ -35788,6 +35989,63 @@ module Google
35788
35989
  end
35789
35990
  end
35790
35991
 
35992
+ #
35993
+ class SetCommonInstanceMetadataOperationMetadata
35994
+ include Google::Apis::Core::Hashable
35995
+
35996
+ # [Output Only] The client operation id.
35997
+ # Corresponds to the JSON property `clientOperationId`
35998
+ # @return [String]
35999
+ attr_accessor :client_operation_id
36000
+
36001
+ # [Output Only] Status information per location (location name is key). Example
36002
+ # key: zones/us-central1-a
36003
+ # Corresponds to the JSON property `perLocationOperations`
36004
+ # @return [Hash<String,Google::Apis::ComputeV1::SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo>]
36005
+ attr_accessor :per_location_operations
36006
+
36007
+ def initialize(**args)
36008
+ update!(**args)
36009
+ end
36010
+
36011
+ # Update properties of this object
36012
+ def update!(**args)
36013
+ @client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id)
36014
+ @per_location_operations = args[:per_location_operations] if args.key?(:per_location_operations)
36015
+ end
36016
+ end
36017
+
36018
+ #
36019
+ class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
36020
+ include Google::Apis::Core::Hashable
36021
+
36022
+ # The `Status` type defines a logical error model that is suitable for different
36023
+ # programming environments, including REST APIs and RPC APIs. It is used by [
36024
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
36025
+ # data: error code, error message, and error details. You can find out more
36026
+ # about this error model and how to work with it in the [API Design Guide](https:
36027
+ # //cloud.google.com/apis/design/errors).
36028
+ # Corresponds to the JSON property `error`
36029
+ # @return [Google::Apis::ComputeV1::Status]
36030
+ attr_accessor :error
36031
+
36032
+ # [Output Only] Status of the action, which can be one of the following: `
36033
+ # PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
36034
+ # Corresponds to the JSON property `state`
36035
+ # @return [String]
36036
+ attr_accessor :state
36037
+
36038
+ def initialize(**args)
36039
+ update!(**args)
36040
+ end
36041
+
36042
+ # Update properties of this object
36043
+ def update!(**args)
36044
+ @error = args[:error] if args.key?(:error)
36045
+ @state = args[:state] if args.key?(:state)
36046
+ end
36047
+ end
36048
+
35791
36049
  # The share setting for reservations and sole tenancy node groups.
35792
36050
  class ShareSettings
35793
36051
  include Google::Apis::Core::Hashable
@@ -37635,6 +37893,45 @@ module Google
37635
37893
  end
37636
37894
  end
37637
37895
 
37896
+ # The `Status` type defines a logical error model that is suitable for different
37897
+ # programming environments, including REST APIs and RPC APIs. It is used by [
37898
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
37899
+ # data: error code, error message, and error details. You can find out more
37900
+ # about this error model and how to work with it in the [API Design Guide](https:
37901
+ # //cloud.google.com/apis/design/errors).
37902
+ class Status
37903
+ include Google::Apis::Core::Hashable
37904
+
37905
+ # The status code, which should be an enum value of google.rpc.Code.
37906
+ # Corresponds to the JSON property `code`
37907
+ # @return [Fixnum]
37908
+ attr_accessor :code
37909
+
37910
+ # A list of messages that carry the error details. There is a common set of
37911
+ # message types for APIs to use.
37912
+ # Corresponds to the JSON property `details`
37913
+ # @return [Array<Hash<String,Object>>]
37914
+ attr_accessor :details
37915
+
37916
+ # A developer-facing error message, which should be in English. Any user-facing
37917
+ # error message should be localized and sent in the google.rpc.Status.details
37918
+ # field, or localized by the client.
37919
+ # Corresponds to the JSON property `message`
37920
+ # @return [String]
37921
+ attr_accessor :message
37922
+
37923
+ def initialize(**args)
37924
+ update!(**args)
37925
+ end
37926
+
37927
+ # Update properties of this object
37928
+ def update!(**args)
37929
+ @code = args[:code] if args.key?(:code)
37930
+ @details = args[:details] if args.key?(:details)
37931
+ @message = args[:message] if args.key?(:message)
37932
+ end
37933
+ end
37934
+
37638
37935
  # Represents a Subnetwork resource. A subnetwork (also known as a subnet) is a
37639
37936
  # logical partition of a Virtual Private Cloud network with one primary IP range
37640
37937
  # and zero or more secondary IP ranges. For more information, read Virtual
@@ -44957,22 +45254,22 @@ module Google
44957
45254
  # evaluates to `true`. A condition can add constraints based on attributes of
44958
45255
  # the request, the resource, or both. To learn which resources support
44959
45256
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
44960
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
45257
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
44961
45258
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
44962
45259
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
44963
45260
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
44964
45261
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
44965
45262
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
44966
45263
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
44967
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
44968
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
44969
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
44970
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
44971
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
44972
- # access description: Does not grant access after Sep 2020 expression: request.
44973
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
44974
- # a description of IAM and its features, see the [IAM documentation](https://
44975
- # cloud.google.com/iam/docs/).
45264
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
45265
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
45266
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
45267
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
45268
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
45269
+ # title: expirable access description: Does not grant access after Sep 2020
45270
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
45271
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
45272
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
44976
45273
  # Corresponds to the JSON property `policy`
44977
45274
  # @return [Google::Apis::ComputeV1::Policy]
44978
45275
  attr_accessor :policy
@@ -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.74.0"
19
+ GEM_VERSION = "0.76.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230711"
25
+ REVISION = "20230801"
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'
@@ -14281,6 +14368,19 @@ module Google
14281
14368
  class Representation < Google::Apis::Core::JsonRepresentation
14282
14369
  property :enable, as: 'enable'
14283
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'
14284
14384
  end
14285
14385
  end
14286
14386
 
@@ -14486,6 +14586,8 @@ module Google
14486
14586
  class SecuritySettings
14487
14587
  # @private
14488
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
+
14489
14591
  property :client_tls_policy, as: 'clientTlsPolicy'
14490
14592
  collection :subject_alt_names, as: 'subjectAltNames'
14491
14593
  end
@@ -14657,6 +14759,24 @@ module Google
14657
14759
  end
14658
14760
  end
14659
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
+
14660
14780
  class ShareSettings
14661
14781
  # @private
14662
14782
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -15130,6 +15250,15 @@ module Google
15130
15250
  end
15131
15251
  end
15132
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
+
15133
15262
  class Subnetwork
15134
15263
  # @private
15135
15264
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -31614,6 +31614,50 @@ module Google
31614
31614
  execute_or_queue_command(command, &block)
31615
31615
  end
31616
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
+
31617
31661
  # Retrieves runtime Nat mapping information of VM endpoints.
31618
31662
  # @param [String] project
31619
31663
  # Project ID for this request.
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.74.0
4
+ version: 0.76.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-16 00:00:00.000000000 Z
11
+ date: 2023-08-20 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.74.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.76.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: []