google-apis-compute_v1 0.81.0 → 0.82.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be1eaebd730ec1d09a50cd198bd3f90d7b92b4cbf1c7bb9e26072d7c735387ec
4
- data.tar.gz: 414bdf42d2af95c69b012028e890e8b9a5ca6b32655164dfe3c198bfd9b2eca7
3
+ metadata.gz: 6270432f434cba8ef603d1b2ecc5a1b393a189132ed6a941c87fda8ee8b71341
4
+ data.tar.gz: 4e9b8f411a0fb6fc14f8c7ba4f23b88ab68888cc90b55cbc2c27bd999256f525
5
5
  SHA512:
6
- metadata.gz: 05f48b822b0e802a43269e9b74d93fa99b022ec4fea58a8cd58e7aed25f1a470f253792d7294a550d4bed5735c5ddbb5f84394dfe0c5550d600c8118941a6f23
7
- data.tar.gz: 47c366ae55487d2dd91acdc150bfcc3bdf6e2bbb1c1025f36ade20ccac178d818611342c2c0084526f892257fbdd9fcc4a5fd355c2dcc305430dd1e27be0ff56
6
+ metadata.gz: 50958362bb808ab5d2690a9b2e8d19249319a935d5164f6b3840fdfad8fa0e4abbb9383c3a142e92e2f5864780b194bc319d6234c4e41b0fe4a737dd7bf1d458
7
+ data.tar.gz: 5a7e01c468f28a387acb2613f126bb1597e95df16dc907a255167196d0dfd1c7caca57b29b2a2d18ba3bfa2ce1173ea4d96ebaca83dfb1f68c561b27ba54bbb4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.82.0 (2023-10-22)
4
+
5
+ * Regenerated from discovery document revision 20231011
6
+
3
7
  ### v0.81.0 (2023-10-08)
4
8
 
5
9
  * Regenerated from discovery document revision 20230923
@@ -21182,6 +21182,12 @@ module Google
21182
21182
  # @return [Google::Apis::ComputeV1::ManagedInstanceLastAttempt]
21183
21183
  attr_accessor :last_attempt
21184
21184
 
21185
+ # [Output Only] The name of the instance. The name always exists even if the
21186
+ # instance has not yet been created.
21187
+ # Corresponds to the JSON property `name`
21188
+ # @return [String]
21189
+ attr_accessor :name
21190
+
21185
21191
  # Preserved state for a given instance.
21186
21192
  # Corresponds to the JSON property `preservedStateFromConfig`
21187
21193
  # @return [Google::Apis::ComputeV1::PreservedState]
@@ -21209,6 +21215,7 @@ module Google
21209
21215
  @instance_health = args[:instance_health] if args.key?(:instance_health)
21210
21216
  @instance_status = args[:instance_status] if args.key?(:instance_status)
21211
21217
  @last_attempt = args[:last_attempt] if args.key?(:last_attempt)
21218
+ @name = args[:name] if args.key?(:name)
21212
21219
  @preserved_state_from_config = args[:preserved_state_from_config] if args.key?(:preserved_state_from_config)
21213
21220
  @preserved_state_from_policy = args[:preserved_state_from_policy] if args.key?(:preserved_state_from_policy)
21214
21221
  @version = args[:version] if args.key?(:version)
@@ -22042,6 +22049,13 @@ module Google
22042
22049
  # @return [String]
22043
22050
  attr_accessor :ip_address
22044
22051
 
22052
+ # The IPv6 address assigned to the producer instance network interface. This is
22053
+ # only assigned when the stack types of both the instance network interface and
22054
+ # the consumer subnet are IPv4_IPv6.
22055
+ # Corresponds to the JSON property `ipv6Address`
22056
+ # @return [String]
22057
+ attr_accessor :ipv6_address
22058
+
22045
22059
  # The project id or number of the interface to which the IP was assigned.
22046
22060
  # Corresponds to the JSON property `projectIdOrNum`
22047
22061
  # @return [String]
@@ -22063,6 +22077,12 @@ module Google
22063
22077
  # @return [String]
22064
22078
  attr_accessor :subnetwork
22065
22079
 
22080
+ # [Output Only] The CIDR range of the subnet from which the IPv4 internal IP was
22081
+ # allocated from.
22082
+ # Corresponds to the JSON property `subnetworkCidrRange`
22083
+ # @return [String]
22084
+ attr_accessor :subnetwork_cidr_range
22085
+
22066
22086
  def initialize(**args)
22067
22087
  update!(**args)
22068
22088
  end
@@ -22070,10 +22090,12 @@ module Google
22070
22090
  # Update properties of this object
22071
22091
  def update!(**args)
22072
22092
  @ip_address = args[:ip_address] if args.key?(:ip_address)
22093
+ @ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
22073
22094
  @project_id_or_num = args[:project_id_or_num] if args.key?(:project_id_or_num)
22074
22095
  @secondary_ip_cidr_ranges = args[:secondary_ip_cidr_ranges] if args.key?(:secondary_ip_cidr_ranges)
22075
22096
  @status = args[:status] if args.key?(:status)
22076
22097
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
22098
+ @subnetwork_cidr_range = args[:subnetwork_cidr_range] if args.key?(:subnetwork_cidr_range)
22077
22099
  end
22078
22100
  end
22079
22101
 
@@ -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.81.0"
19
+ GEM_VERSION = "0.82.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 = "20230923"
25
+ REVISION = "20231011"
26
26
  end
27
27
  end
28
28
  end
@@ -11111,6 +11111,7 @@ module Google
11111
11111
  property :instance_status, as: 'instanceStatus'
11112
11112
  property :last_attempt, as: 'lastAttempt', class: Google::Apis::ComputeV1::ManagedInstanceLastAttempt, decorator: Google::Apis::ComputeV1::ManagedInstanceLastAttempt::Representation
11113
11113
 
11114
+ property :name, as: 'name'
11114
11115
  property :preserved_state_from_config, as: 'preservedStateFromConfig', class: Google::Apis::ComputeV1::PreservedState, decorator: Google::Apis::ComputeV1::PreservedState::Representation
11115
11116
 
11116
11117
  property :preserved_state_from_policy, as: 'preservedStateFromPolicy', class: Google::Apis::ComputeV1::PreservedState, decorator: Google::Apis::ComputeV1::PreservedState::Representation
@@ -11330,10 +11331,12 @@ module Google
11330
11331
  # @private
11331
11332
  class Representation < Google::Apis::Core::JsonRepresentation
11332
11333
  property :ip_address, as: 'ipAddress'
11334
+ property :ipv6_address, as: 'ipv6Address'
11333
11335
  property :project_id_or_num, as: 'projectIdOrNum'
11334
11336
  collection :secondary_ip_cidr_ranges, as: 'secondaryIpCidrRanges'
11335
11337
  property :status, as: 'status'
11336
11338
  property :subnetwork, as: 'subnetwork'
11339
+ property :subnetwork_cidr_range, as: 'subnetworkCidrRange'
11337
11340
  end
11338
11341
  end
11339
11342
 
@@ -1347,6 +1347,46 @@ module Google
1347
1347
  execute_or_queue_command(command, &block)
1348
1348
  end
1349
1349
 
1350
+ # Gets the access control policy for a resource. May be empty if no such policy
1351
+ # or resource exists.
1352
+ # @param [String] project
1353
+ # Project ID for this request.
1354
+ # @param [String] resource
1355
+ # Name or id of the resource for this request.
1356
+ # @param [Fixnum] options_requested_policy_version
1357
+ # Requested IAM Policy version.
1358
+ # @param [String] fields
1359
+ # Selector specifying which fields to include in a partial response.
1360
+ # @param [String] quota_user
1361
+ # Available to use for quota purposes for server-side applications. Can be any
1362
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1363
+ # @param [String] user_ip
1364
+ # Legacy name for parameter that has been superseded by `quotaUser`.
1365
+ # @param [Google::Apis::RequestOptions] options
1366
+ # Request-specific options
1367
+ #
1368
+ # @yield [result, err] Result & error if block supplied
1369
+ # @yieldparam result [Google::Apis::ComputeV1::Policy] parsed result object
1370
+ # @yieldparam err [StandardError] error object if request failed
1371
+ #
1372
+ # @return [Google::Apis::ComputeV1::Policy]
1373
+ #
1374
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1375
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1376
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1377
+ def get_backend_bucket_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1378
+ command = make_simple_command(:get, 'projects/{project}/global/backendBuckets/{resource}/getIamPolicy', options)
1379
+ command.response_representation = Google::Apis::ComputeV1::Policy::Representation
1380
+ command.response_class = Google::Apis::ComputeV1::Policy
1381
+ command.params['project'] = project unless project.nil?
1382
+ command.params['resource'] = resource unless resource.nil?
1383
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
1384
+ command.query['fields'] = fields unless fields.nil?
1385
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1386
+ command.query['userIp'] = user_ip unless user_ip.nil?
1387
+ execute_or_queue_command(command, &block)
1388
+ end
1389
+
1350
1390
  # Creates a BackendBucket resource in the specified project using the data
1351
1391
  # included in the request.
1352
1392
  # @param [String] project
@@ -1588,6 +1628,85 @@ module Google
1588
1628
  execute_or_queue_command(command, &block)
1589
1629
  end
1590
1630
 
1631
+ # Sets the access control policy on the specified resource. Replaces any
1632
+ # existing policy.
1633
+ # @param [String] project
1634
+ # Project ID for this request.
1635
+ # @param [String] resource
1636
+ # Name or id of the resource for this request.
1637
+ # @param [Google::Apis::ComputeV1::GlobalSetPolicyRequest] global_set_policy_request_object
1638
+ # @param [String] fields
1639
+ # Selector specifying which fields to include in a partial response.
1640
+ # @param [String] quota_user
1641
+ # Available to use for quota purposes for server-side applications. Can be any
1642
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1643
+ # @param [String] user_ip
1644
+ # Legacy name for parameter that has been superseded by `quotaUser`.
1645
+ # @param [Google::Apis::RequestOptions] options
1646
+ # Request-specific options
1647
+ #
1648
+ # @yield [result, err] Result & error if block supplied
1649
+ # @yieldparam result [Google::Apis::ComputeV1::Policy] parsed result object
1650
+ # @yieldparam err [StandardError] error object if request failed
1651
+ #
1652
+ # @return [Google::Apis::ComputeV1::Policy]
1653
+ #
1654
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1655
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1656
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1657
+ def set_backend_bucket_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1658
+ command = make_simple_command(:post, 'projects/{project}/global/backendBuckets/{resource}/setIamPolicy', options)
1659
+ command.request_representation = Google::Apis::ComputeV1::GlobalSetPolicyRequest::Representation
1660
+ command.request_object = global_set_policy_request_object
1661
+ command.response_representation = Google::Apis::ComputeV1::Policy::Representation
1662
+ command.response_class = Google::Apis::ComputeV1::Policy
1663
+ command.params['project'] = project unless project.nil?
1664
+ command.params['resource'] = resource unless resource.nil?
1665
+ command.query['fields'] = fields unless fields.nil?
1666
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1667
+ command.query['userIp'] = user_ip unless user_ip.nil?
1668
+ execute_or_queue_command(command, &block)
1669
+ end
1670
+
1671
+ # Returns permissions that a caller has on the specified resource.
1672
+ # @param [String] project
1673
+ # Project ID for this request.
1674
+ # @param [String] resource
1675
+ # Name or id of the resource for this request.
1676
+ # @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
1677
+ # @param [String] fields
1678
+ # Selector specifying which fields to include in a partial response.
1679
+ # @param [String] quota_user
1680
+ # Available to use for quota purposes for server-side applications. Can be any
1681
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1682
+ # @param [String] user_ip
1683
+ # Legacy name for parameter that has been superseded by `quotaUser`.
1684
+ # @param [Google::Apis::RequestOptions] options
1685
+ # Request-specific options
1686
+ #
1687
+ # @yield [result, err] Result & error if block supplied
1688
+ # @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
1689
+ # @yieldparam err [StandardError] error object if request failed
1690
+ #
1691
+ # @return [Google::Apis::ComputeV1::TestPermissionsResponse]
1692
+ #
1693
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1694
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1695
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1696
+ def test_backend_bucket_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1697
+ command = make_simple_command(:post, 'projects/{project}/global/backendBuckets/{resource}/testIamPermissions', options)
1698
+ command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
1699
+ command.request_object = test_permissions_request_object
1700
+ command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
1701
+ command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
1702
+ command.params['project'] = project unless project.nil?
1703
+ command.params['resource'] = resource unless resource.nil?
1704
+ command.query['fields'] = fields unless fields.nil?
1705
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1706
+ command.query['userIp'] = user_ip unless user_ip.nil?
1707
+ execute_or_queue_command(command, &block)
1708
+ end
1709
+
1591
1710
  # Updates the specified BackendBucket resource with the data included in the
1592
1711
  # request.
1593
1712
  # @param [String] project
@@ -2429,6 +2548,45 @@ module Google
2429
2548
  execute_or_queue_command(command, &block)
2430
2549
  end
2431
2550
 
2551
+ # Returns permissions that a caller has on the specified resource.
2552
+ # @param [String] project
2553
+ # Project ID for this request.
2554
+ # @param [String] resource
2555
+ # Name or id of the resource for this request.
2556
+ # @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
2557
+ # @param [String] fields
2558
+ # Selector specifying which fields to include in a partial response.
2559
+ # @param [String] quota_user
2560
+ # Available to use for quota purposes for server-side applications. Can be any
2561
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2562
+ # @param [String] user_ip
2563
+ # Legacy name for parameter that has been superseded by `quotaUser`.
2564
+ # @param [Google::Apis::RequestOptions] options
2565
+ # Request-specific options
2566
+ #
2567
+ # @yield [result, err] Result & error if block supplied
2568
+ # @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
2569
+ # @yieldparam err [StandardError] error object if request failed
2570
+ #
2571
+ # @return [Google::Apis::ComputeV1::TestPermissionsResponse]
2572
+ #
2573
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2574
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2575
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2576
+ def test_backend_service_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2577
+ command = make_simple_command(:post, 'projects/{project}/global/backendServices/{resource}/testIamPermissions', options)
2578
+ command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
2579
+ command.request_object = test_permissions_request_object
2580
+ command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
2581
+ command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
2582
+ command.params['project'] = project unless project.nil?
2583
+ command.params['resource'] = resource unless resource.nil?
2584
+ command.query['fields'] = fields unless fields.nil?
2585
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2586
+ command.query['userIp'] = user_ip unless user_ip.nil?
2587
+ execute_or_queue_command(command, &block)
2588
+ end
2589
+
2432
2590
  # Updates the specified BackendService resource with the data included in the
2433
2591
  # request. For more information, see Backend services overview.
2434
2592
  # @param [String] project
@@ -14876,7 +15034,11 @@ module Google
14876
15034
  execute_or_queue_command(command, &block)
14877
15035
  end
14878
15036
 
14879
- # Returns the interconnectDiagnostics for the specified Interconnect.
15037
+ # Returns the interconnectDiagnostics for the specified Interconnect. In the
15038
+ # event of a global outage, do not use this API to make decisions about where to
15039
+ # redirect your network traffic. Unlike a VLAN attachment, which is regional, a
15040
+ # Cloud Interconnect connection is a global resource. A global outage can
15041
+ # prevent this API from functioning properly.
14880
15042
  # @param [String] project
14881
15043
  # Project ID for this request.
14882
15044
  # @param [String] interconnect
@@ -16563,6 +16725,62 @@ module Google
16563
16725
  execute_or_queue_command(command, &block)
16564
16726
  end
16565
16727
 
16728
+ # Patches the specified NetworkAttachment resource with the data included in the
16729
+ # request. This method supports PATCH semantics and uses JSON merge patch format
16730
+ # and processing rules.
16731
+ # @param [String] project
16732
+ # Project ID for this request.
16733
+ # @param [String] region
16734
+ # Name of the region for this request.
16735
+ # @param [String] network_attachment
16736
+ # Name of the NetworkAttachment resource to patch.
16737
+ # @param [Google::Apis::ComputeV1::NetworkAttachment] network_attachment_object
16738
+ # @param [String] request_id
16739
+ # An optional request ID to identify requests. Specify a unique request ID so
16740
+ # that if you must retry your request, the server will know to ignore the
16741
+ # request if it has already been completed. For example, consider a situation
16742
+ # where you make an initial request and the request times out. If you make the
16743
+ # request again with the same request ID, the server can check if original
16744
+ # operation with the same request ID was received, and if so, will ignore the
16745
+ # second request. This prevents clients from accidentally creating duplicate
16746
+ # commitments. The request ID must be a valid UUID with the exception that zero
16747
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface:
16748
+ # MixerMutationRequestBuilder
16749
+ # @param [String] fields
16750
+ # Selector specifying which fields to include in a partial response.
16751
+ # @param [String] quota_user
16752
+ # Available to use for quota purposes for server-side applications. Can be any
16753
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
16754
+ # @param [String] user_ip
16755
+ # Legacy name for parameter that has been superseded by `quotaUser`.
16756
+ # @param [Google::Apis::RequestOptions] options
16757
+ # Request-specific options
16758
+ #
16759
+ # @yield [result, err] Result & error if block supplied
16760
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
16761
+ # @yieldparam err [StandardError] error object if request failed
16762
+ #
16763
+ # @return [Google::Apis::ComputeV1::Operation]
16764
+ #
16765
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16766
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16767
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
16768
+ def patch_network_attachment(project, region, network_attachment, network_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16769
+ command = make_simple_command(:patch, 'projects/{project}/regions/{region}/networkAttachments/{networkAttachment}', options)
16770
+ command.request_representation = Google::Apis::ComputeV1::NetworkAttachment::Representation
16771
+ command.request_object = network_attachment_object
16772
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
16773
+ command.response_class = Google::Apis::ComputeV1::Operation
16774
+ command.params['project'] = project unless project.nil?
16775
+ command.params['region'] = region unless region.nil?
16776
+ command.params['networkAttachment'] = network_attachment unless network_attachment.nil?
16777
+ command.query['requestId'] = request_id unless request_id.nil?
16778
+ command.query['fields'] = fields unless fields.nil?
16779
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
16780
+ command.query['userIp'] = user_ip unless user_ip.nil?
16781
+ execute_or_queue_command(command, &block)
16782
+ end
16783
+
16566
16784
  # Sets the access control policy on the specified resource. Replaces any
16567
16785
  # existing policy.
16568
16786
  # @param [String] project
@@ -23128,6 +23346,48 @@ module Google
23128
23346
  execute_or_queue_command(command, &block)
23129
23347
  end
23130
23348
 
23349
+ # Returns permissions that a caller has on the specified resource.
23350
+ # @param [String] project
23351
+ # Project ID for this request.
23352
+ # @param [String] region
23353
+ # The name of the region for this request.
23354
+ # @param [String] resource
23355
+ # Name or id of the resource for this request.
23356
+ # @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
23357
+ # @param [String] fields
23358
+ # Selector specifying which fields to include in a partial response.
23359
+ # @param [String] quota_user
23360
+ # Available to use for quota purposes for server-side applications. Can be any
23361
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
23362
+ # @param [String] user_ip
23363
+ # Legacy name for parameter that has been superseded by `quotaUser`.
23364
+ # @param [Google::Apis::RequestOptions] options
23365
+ # Request-specific options
23366
+ #
23367
+ # @yield [result, err] Result & error if block supplied
23368
+ # @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
23369
+ # @yieldparam err [StandardError] error object if request failed
23370
+ #
23371
+ # @return [Google::Apis::ComputeV1::TestPermissionsResponse]
23372
+ #
23373
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23374
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23375
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
23376
+ def test_region_backend_service_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
23377
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/backendServices/{resource}/testIamPermissions', options)
23378
+ command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
23379
+ command.request_object = test_permissions_request_object
23380
+ command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
23381
+ command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
23382
+ command.params['project'] = project unless project.nil?
23383
+ command.params['region'] = region unless region.nil?
23384
+ command.params['resource'] = resource unless resource.nil?
23385
+ command.query['fields'] = fields unless fields.nil?
23386
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
23387
+ command.query['userIp'] = user_ip unless user_ip.nil?
23388
+ execute_or_queue_command(command, &block)
23389
+ end
23390
+
23131
23391
  # Updates the specified regional BackendService resource with the data included
23132
23392
  # in the request. For more information, see Backend services overview .
23133
23393
  # @param [String] project
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.81.0
4
+ version: 0.82.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-10-08 00:00:00.000000000 Z
11
+ date: 2023-10-22 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.81.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.82.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: []