google-cloud-compute-v1 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +2 -2
  3. data/lib/google/cloud/compute/v1/addresses/rest/client.rb +2 -2
  4. data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +3 -3
  5. data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +3 -3
  6. data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +3 -3
  7. data/lib/google/cloud/compute/v1/compute_pb.rb +145 -0
  8. data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +3 -3
  9. data/lib/google/cloud/compute/v1/disks/rest/client.rb +94 -3
  10. data/lib/google/cloud/compute/v1/disks/rest/service_stub.rb +62 -0
  11. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +2 -2
  12. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +4 -4
  13. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +2 -2
  14. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +2 -2
  15. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +3 -3
  16. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +2 -2
  17. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +3 -3
  18. data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +2 -2
  19. data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +2 -2
  20. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +2 -2
  21. data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +3 -3
  22. data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +2 -2
  23. data/lib/google/cloud/compute/v1/images/rest/client.rb +5 -5
  24. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +3 -3
  25. data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +2 -2
  26. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +93 -6
  27. data/lib/google/cloud/compute/v1/instance_templates/rest/service_stub.rb +59 -0
  28. data/lib/google/cloud/compute/v1/instances/rest/client.rb +91 -3
  29. data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +62 -0
  30. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +2 -2
  31. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +2 -2
  32. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +2 -2
  33. data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +2 -2
  34. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +2 -2
  35. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +3 -3
  36. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +3 -3
  37. data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +2 -2
  38. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +2 -2
  39. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +3 -3
  40. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +2 -2
  41. data/lib/google/cloud/compute/v1/networks/rest/client.rb +3 -3
  42. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +90 -2
  43. data/lib/google/cloud/compute/v1/node_groups/rest/service_stub.rb +62 -0
  44. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +3 -3
  45. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +3 -3
  46. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +2 -2
  47. data/lib/google/cloud/compute/v1/projects/rest/client.rb +2 -2
  48. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +2 -2
  49. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +2 -2
  50. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +2 -2
  51. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +2 -2
  52. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +3 -3
  53. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +3 -3
  54. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +93 -2
  55. data/lib/google/cloud/compute/v1/region_disks/rest/service_stub.rb +62 -0
  56. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +2 -2
  57. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +3 -3
  58. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +2 -2
  59. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +2 -2
  60. data/lib/google/cloud/compute/v1/region_instance_templates/credentials.rb +52 -0
  61. data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +624 -0
  62. data/lib/google/cloud/compute/v1/region_instance_templates/rest/service_stub.rb +291 -0
  63. data/lib/google/cloud/compute/v1/region_instance_templates/rest.rb +51 -0
  64. data/lib/google/cloud/compute/v1/region_instance_templates.rb +47 -0
  65. data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +2 -2
  66. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +3 -3
  67. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +2 -2
  68. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +2 -2
  69. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +2 -2
  70. data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +2 -2
  71. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +2 -2
  72. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +2 -2
  73. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +3 -3
  74. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +3 -3
  75. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +2 -2
  76. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +3 -3
  77. data/lib/google/cloud/compute/v1/regions/rest/client.rb +3 -3
  78. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +2 -2
  79. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +2 -2
  80. data/lib/google/cloud/compute/v1/rest.rb +1 -0
  81. data/lib/google/cloud/compute/v1/routers/rest/client.rb +3 -3
  82. data/lib/google/cloud/compute/v1/routes/rest/client.rb +3 -3
  83. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +2 -2
  84. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +2 -2
  85. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +3 -3
  86. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +3 -3
  87. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +3 -3
  88. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +3 -3
  89. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +2 -2
  90. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +3 -3
  91. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +3 -3
  92. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +3 -3
  93. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +3 -3
  94. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +3 -3
  95. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +3 -3
  96. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +3 -3
  97. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +3 -3
  98. data/lib/google/cloud/compute/v1/version.rb +1 -1
  99. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +3 -3
  100. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +3 -3
  101. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +2 -2
  102. data/lib/google/cloud/compute/v1/zones/rest/client.rb +3 -3
  103. data/lib/google/cloud/compute/v1.rb +1 -0
  104. data/proto_docs/google/api/client.rb +9 -3
  105. data/proto_docs/google/cloud/compute/v1/compute.rb +414 -29
  106. metadata +9 -4
@@ -103,6 +103,8 @@ module Google
103
103
 
104
104
  default_config.rpcs.test_iam_permissions.timeout = 600.0
105
105
 
106
+ default_config.rpcs.update.timeout = 600.0
107
+
106
108
  default_config
107
109
  end
108
110
  yield @configure if block_given?
@@ -498,7 +500,7 @@ module Google
498
500
  end
499
501
 
500
502
  ##
501
- # Returns a specified persistent disk. Gets a list of available persistent disks by making a list() request.
503
+ # Returns the specified persistent disk.
502
504
  #
503
505
  # @overload get(request, options = nil)
504
506
  # Pass arguments to `get` via a request object, either of type
@@ -1158,6 +1160,88 @@ module Google
1158
1160
  raise ::Google::Cloud::Error.from_error(e)
1159
1161
  end
1160
1162
 
1163
+ ##
1164
+ # Updates the specified disk with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: user_license.
1165
+ #
1166
+ # @overload update(request, options = nil)
1167
+ # Pass arguments to `update` via a request object, either of type
1168
+ # {::Google::Cloud::Compute::V1::UpdateDiskRequest} or an equivalent Hash.
1169
+ #
1170
+ # @param request [::Google::Cloud::Compute::V1::UpdateDiskRequest, ::Hash]
1171
+ # A request object representing the call parameters. Required. To specify no
1172
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1173
+ # @param options [::Gapic::CallOptions, ::Hash]
1174
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1175
+ #
1176
+ # @overload update(disk: nil, disk_resource: nil, paths: nil, project: nil, request_id: nil, update_mask: nil, zone: nil)
1177
+ # Pass arguments to `update` via keyword arguments. Note that at
1178
+ # least one keyword argument is required. To specify no parameters, or to keep all
1179
+ # the default parameter values, pass an empty Hash as a request object (see above).
1180
+ #
1181
+ # @param disk [::String]
1182
+ # The disk name for this request.
1183
+ # @param disk_resource [::Google::Cloud::Compute::V1::Disk, ::Hash]
1184
+ # The body resource for this request
1185
+ # @param paths [::String]
1186
+ # @param project [::String]
1187
+ # Project ID for this request.
1188
+ # @param request_id [::String]
1189
+ # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
1190
+ # @param update_mask [::String]
1191
+ # update_mask indicates fields to be updated as part of this request.
1192
+ # @param zone [::String]
1193
+ # The name of the zone for this request.
1194
+ # @yield [result, operation] Access the result along with the TransportOperation object
1195
+ # @yieldparam result [::Gapic::GenericLRO::Operation]
1196
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1197
+ #
1198
+ # @return [::Gapic::GenericLRO::Operation]
1199
+ #
1200
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
1201
+ def update request, options = nil
1202
+ raise ::ArgumentError, "request must be provided" if request.nil?
1203
+
1204
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Compute::V1::UpdateDiskRequest
1205
+
1206
+ # Converts hash and nil to an options object
1207
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1208
+
1209
+ # Customize the options with defaults
1210
+ call_metadata = @config.rpcs.update.metadata.to_h
1211
+
1212
+ # Set x-goog-api-client and x-goog-user-project headers
1213
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1214
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1215
+ gapic_version: ::Google::Cloud::Compute::V1::VERSION,
1216
+ transports_version_send: [:rest]
1217
+
1218
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1219
+
1220
+ options.apply_defaults timeout: @config.rpcs.update.timeout,
1221
+ metadata: call_metadata,
1222
+ retry_policy: @config.rpcs.update.retry_policy
1223
+
1224
+ options.apply_defaults timeout: @config.timeout,
1225
+ metadata: @config.metadata,
1226
+ retry_policy: @config.retry_policy
1227
+
1228
+ @disks_stub.update request, options do |result, response|
1229
+ result = ::Google::Cloud::Compute::V1::ZoneOperations::Rest::NonstandardLro.create_operation(
1230
+ operation: result,
1231
+ client: zone_operations,
1232
+ request_values: {
1233
+ "project" => request.project,
1234
+ "zone" => request.zone
1235
+ },
1236
+ options: options
1237
+ )
1238
+ yield result, response if block_given?
1239
+ return result
1240
+ end
1241
+ rescue ::Gapic::Rest::Error => e
1242
+ raise ::Google::Cloud::Error.from_error(e)
1243
+ end
1244
+
1161
1245
  ##
1162
1246
  # Configuration class for the Disks REST API.
1163
1247
  #
@@ -1196,9 +1280,9 @@ module Google
1196
1280
  # * (`String`) The path to a service account key file in JSON format
1197
1281
  # * (`Hash`) A service account key as a Hash
1198
1282
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1199
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1283
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1200
1284
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1201
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1285
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1202
1286
  # * (`nil`) indicating no credentials
1203
1287
  # @return [::Object]
1204
1288
  # @!attribute [rw] scope
@@ -1346,6 +1430,11 @@ module Google
1346
1430
  # @return [::Gapic::Config::Method]
1347
1431
  #
1348
1432
  attr_reader :test_iam_permissions
1433
+ ##
1434
+ # RPC-specific configuration for `update`
1435
+ # @return [::Gapic::Config::Method]
1436
+ #
1437
+ attr_reader :update
1349
1438
 
1350
1439
  # @private
1351
1440
  def initialize parent_rpcs = nil
@@ -1375,6 +1464,8 @@ module Google
1375
1464
  @set_labels = ::Gapic::Config::Method.new set_labels_config
1376
1465
  test_iam_permissions_config = parent_rpcs.test_iam_permissions if parent_rpcs.respond_to? :test_iam_permissions
1377
1466
  @test_iam_permissions = ::Gapic::Config::Method.new test_iam_permissions_config
1467
+ update_config = parent_rpcs.update if parent_rpcs.respond_to? :update
1468
+ @update = ::Gapic::Config::Method.new update_config
1378
1469
 
1379
1470
  yield self if block_given?
1380
1471
  end
@@ -534,6 +534,44 @@ module Google
534
534
  result
535
535
  end
536
536
 
537
+ ##
538
+ # Baseline implementation for the update REST call
539
+ #
540
+ # @param request_pb [::Google::Cloud::Compute::V1::UpdateDiskRequest]
541
+ # A request object representing the call parameters. Required.
542
+ # @param options [::Gapic::CallOptions]
543
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
544
+ #
545
+ # @yield [result, operation] Access the result along with the TransportOperation object
546
+ # @yieldparam result [::Google::Cloud::Compute::V1::Operation]
547
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
548
+ #
549
+ # @return [::Google::Cloud::Compute::V1::Operation]
550
+ # A result object deserialized from the server's reply
551
+ def update request_pb, options = nil
552
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
553
+
554
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_request request_pb
555
+ query_string_params = if query_string_params.any?
556
+ query_string_params.to_h { |p| p.split("=", 2) }
557
+ else
558
+ {}
559
+ end
560
+
561
+ response = @client_stub.make_http_request(
562
+ verb,
563
+ uri: uri,
564
+ body: body || "",
565
+ params: query_string_params,
566
+ options: options
567
+ )
568
+ operation = ::Gapic::Rest::TransportOperation.new response
569
+ result = ::Google::Cloud::Compute::V1::Operation.decode_json response.body, ignore_unknown_fields: true
570
+
571
+ yield result, operation if block_given?
572
+ result
573
+ end
574
+
537
575
  ##
538
576
  # @private
539
577
  #
@@ -836,6 +874,30 @@ module Google
836
874
  )
837
875
  transcoder.transcode request_pb
838
876
  end
877
+
878
+ ##
879
+ # @private
880
+ #
881
+ # GRPC transcoding helper method for the update REST call
882
+ #
883
+ # @param request_pb [::Google::Cloud::Compute::V1::UpdateDiskRequest]
884
+ # A request object representing the call parameters. Required.
885
+ # @return [Array(String, [String, nil], Hash{String => String})]
886
+ # Uri, Body, Query string parameters
887
+ def self.transcode_update_request request_pb
888
+ transcoder = Gapic::Rest::GrpcTranscoder.new
889
+ .with_bindings(
890
+ uri_method: :patch,
891
+ uri_template: "/compute/v1/projects/{project}/zones/{zone}/disks/{disk}",
892
+ body: "disk_resource",
893
+ matches: [
894
+ ["project", %r{^[^/]+/?$}, false],
895
+ ["zone", %r{^[^/]+/?$}, false],
896
+ ["disk", %r{^[^/]+/?$}, false]
897
+ ]
898
+ )
899
+ transcoder.transcode request_pb
900
+ end
839
901
  end
840
902
  end
841
903
  end
@@ -628,9 +628,9 @@ module Google
628
628
  # * (`String`) The path to a service account key file in JSON format
629
629
  # * (`Hash`) A service account key as a Hash
630
630
  # * (`Google::Auth::Credentials`) A googleauth credentials object
631
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
631
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
632
632
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
633
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
633
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
634
634
  # * (`nil`) indicating no credentials
635
635
  # @return [::Object]
636
636
  # @!attribute [rw] scope
@@ -844,7 +844,7 @@ module Google
844
844
  # @param page_token [::String]
845
845
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
846
846
  # @param parent_id [::String]
847
- # Parent ID for this request.
847
+ # Parent ID for this request. The ID can be either be "folders/[FOLDER_ID]" if the parent is a folder or "organizations/[ORGANIZATION_ID]" if the parent is an organization.
848
848
  # @param return_partial_success [::Boolean]
849
849
  # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
850
850
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -973,7 +973,7 @@ module Google
973
973
  # @param firewall_policy [::String]
974
974
  # Name of the firewall policy to update.
975
975
  # @param parent_id [::String]
976
- # The new parent of the firewall policy.
976
+ # The new parent of the firewall policy. The ID can be either be "folders/[FOLDER_ID]" if the parent is a folder or "organizations/[ORGANIZATION_ID]" if the parent is an organization.
977
977
  # @param request_id [::String]
978
978
  # An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
979
979
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -1482,9 +1482,9 @@ module Google
1482
1482
  # * (`String`) The path to a service account key file in JSON format
1483
1483
  # * (`Hash`) A service account key as a Hash
1484
1484
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1485
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1485
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1486
1486
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1487
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1487
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1488
1488
  # * (`nil`) indicating no credentials
1489
1489
  # @return [::Object]
1490
1490
  # @!attribute [rw] scope
@@ -640,9 +640,9 @@ module Google
640
640
  # * (`String`) The path to a service account key file in JSON format
641
641
  # * (`Hash`) A service account key as a Hash
642
642
  # * (`Google::Auth::Credentials`) A googleauth credentials object
643
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
643
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
644
644
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
645
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
645
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
646
646
  # * (`nil`) indicating no credentials
647
647
  # @return [::Object]
648
648
  # @!attribute [rw] scope
@@ -817,9 +817,9 @@ module Google
817
817
  # * (`String`) The path to a service account key file in JSON format
818
818
  # * (`Hash`) A service account key as a Hash
819
819
  # * (`Google::Auth::Credentials`) A googleauth credentials object
820
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
820
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
821
821
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
822
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
822
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
823
823
  # * (`nil`) indicating no credentials
824
824
  # @return [::Object]
825
825
  # @!attribute [rw] scope
@@ -238,7 +238,7 @@ module Google
238
238
  end
239
239
 
240
240
  ##
241
- # Returns the specified address resource. Gets a list of available addresses by making a list() request.
241
+ # Returns the specified address resource.
242
242
  #
243
243
  # @overload get(request, options = nil)
244
244
  # Pass arguments to `get` via a request object, either of type
@@ -560,9 +560,9 @@ module Google
560
560
  # * (`String`) The path to a service account key file in JSON format
561
561
  # * (`Hash`) A service account key as a Hash
562
562
  # * (`Google::Auth::Credentials`) A googleauth credentials object
563
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
563
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
564
564
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
565
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
565
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
566
566
  # * (`nil`) indicating no credentials
567
567
  # @return [::Object]
568
568
  # @!attribute [rw] scope
@@ -716,9 +716,9 @@ module Google
716
716
  # * (`String`) The path to a service account key file in JSON format
717
717
  # * (`Hash`) A service account key as a Hash
718
718
  # * (`Google::Auth::Credentials`) A googleauth credentials object
719
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
719
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
720
720
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
721
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
721
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
722
722
  # * (`nil`) indicating no credentials
723
723
  # @return [::Object]
724
724
  # @!attribute [rw] scope
@@ -394,7 +394,7 @@ module Google
394
394
  end
395
395
 
396
396
  ##
397
- # Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request.
397
+ # Returns the specified network endpoint group.
398
398
  #
399
399
  # @overload get(request, options = nil)
400
400
  # Pass arguments to `get` via a request object, either of type
@@ -717,9 +717,9 @@ module Google
717
717
  # * (`String`) The path to a service account key file in JSON format
718
718
  # * (`Hash`) A service account key as a Hash
719
719
  # * (`Google::Auth::Credentials`) A googleauth credentials object
720
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
720
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
721
721
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
722
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
722
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
723
723
  # * (`nil`) indicating no credentials
724
724
  # @return [::Object]
725
725
  # @!attribute [rw] scope
@@ -530,9 +530,9 @@ module Google
530
530
  # * (`String`) The path to a service account key file in JSON format
531
531
  # * (`Hash`) A service account key as a Hash
532
532
  # * (`Google::Auth::Credentials`) A googleauth credentials object
533
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
533
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
534
534
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
535
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
535
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
536
536
  # * (`nil`) indicating no credentials
537
537
  # @return [::Object]
538
538
  # @!attribute [rw] scope
@@ -384,9 +384,9 @@ module Google
384
384
  # * (`String`) The path to a service account key file in JSON format
385
385
  # * (`Hash`) A service account key as a Hash
386
386
  # * (`Google::Auth::Credentials`) A googleauth credentials object
387
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
387
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
388
388
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
389
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
389
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
390
390
  # * (`nil`) indicating no credentials
391
391
  # @return [::Object]
392
392
  # @!attribute [rw] scope
@@ -562,9 +562,9 @@ module Google
562
562
  # * (`String`) The path to a service account key file in JSON format
563
563
  # * (`Hash`) A service account key as a Hash
564
564
  # * (`Google::Auth::Credentials`) A googleauth credentials object
565
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
565
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
566
566
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
567
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
567
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
568
568
  # * (`nil`) indicating no credentials
569
569
  # @return [::Object]
570
570
  # @!attribute [rw] scope
@@ -320,7 +320,7 @@ module Google
320
320
  end
321
321
 
322
322
  ##
323
- # Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request.
323
+ # Returns the specified HealthCheck resource.
324
324
  #
325
325
  # @overload get(request, options = nil)
326
326
  # Pass arguments to `get` via a request object, either of type
@@ -720,9 +720,9 @@ module Google
720
720
  # * (`String`) The path to a service account key file in JSON format
721
721
  # * (`Hash`) A service account key as a Hash
722
722
  # * (`Google::Auth::Credentials`) A googleauth credentials object
723
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
723
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
724
724
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
725
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
725
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
726
726
  # * (`nil`) indicating no credentials
727
727
  # @return [::Object]
728
728
  # @!attribute [rw] scope
@@ -242,9 +242,9 @@ module Google
242
242
  # * (`String`) The path to a service account key file in JSON format
243
243
  # * (`Hash`) A service account key as a Hash
244
244
  # * (`Google::Auth::Credentials`) A googleauth credentials object
245
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
245
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
246
246
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
247
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
247
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
248
248
  # * (`nil`) indicating no credentials
249
249
  # @return [::Object]
250
250
  # @!attribute [rw] scope
@@ -332,7 +332,7 @@ module Google
332
332
  end
333
333
 
334
334
  ##
335
- # Returns the specified image. Gets a list of available images by making a list() request.
335
+ # Returns the specified image.
336
336
  #
337
337
  # @overload get(request, options = nil)
338
338
  # Pass arguments to `get` via a request object, either of type
@@ -396,7 +396,7 @@ module Google
396
396
  end
397
397
 
398
398
  ##
399
- # Returns the latest image that is part of an image family and is not deprecated.
399
+ # Returns the latest image that is part of an image family and is not deprecated. For more information on image families, see Public image families documentation.
400
400
  #
401
401
  # @overload get_from_family(request, options = nil)
402
402
  # Pass arguments to `get_from_family` via a request object, either of type
@@ -416,7 +416,7 @@ module Google
416
416
  # @param family [::String]
417
417
  # Name of the image family to search for.
418
418
  # @param project [::String]
419
- # Project ID for this request.
419
+ # The image project that the image belongs to. For example, to get a CentOS image, specify centos-cloud as the image project.
420
420
  # @yield [result, operation] Access the result along with the TransportOperation object
421
421
  # @yieldparam result [::Google::Cloud::Compute::V1::Image]
422
422
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -994,9 +994,9 @@ module Google
994
994
  # * (`String`) The path to a service account key file in JSON format
995
995
  # * (`Hash`) A service account key as a Hash
996
996
  # * (`Google::Auth::Credentials`) A googleauth credentials object
997
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
997
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
998
998
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
999
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
999
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1000
1000
  # * (`nil`) indicating no credentials
1001
1001
  # @return [::Object]
1002
1002
  # @!attribute [rw] scope
@@ -743,7 +743,7 @@ module Google
743
743
  end
744
744
 
745
745
  ##
746
- # Returns all of the details about the specified managed instance group. Gets a list of available managed instance groups by making a list() request.
746
+ # Returns all of the details about the specified managed instance group.
747
747
  #
748
748
  # @overload get(request, options = nil)
749
749
  # Pass arguments to `get` via a request object, either of type
@@ -1782,9 +1782,9 @@ module Google
1782
1782
  # * (`String`) The path to a service account key file in JSON format
1783
1783
  # * (`Hash`) A service account key as a Hash
1784
1784
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1785
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1785
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1786
1786
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1787
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1787
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1788
1788
  # * (`nil`) indicating no credentials
1789
1789
  # @return [::Object]
1790
1790
  # @!attribute [rw] scope
@@ -898,9 +898,9 @@ module Google
898
898
  # * (`String`) The path to a service account key file in JSON format
899
899
  # * (`Hash`) A service account key as a Hash
900
900
  # * (`Google::Auth::Credentials`) A googleauth credentials object
901
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
901
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
902
902
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
903
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
903
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
904
904
  # * (`nil`) indicating no credentials
905
905
  # @return [::Object]
906
906
  # @!attribute [rw] scope