google-cloud-compute-v1 2.15.0 → 2.16.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/README.md +1 -1
  3. data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +7 -0
  4. data/lib/google/cloud/compute/v1/addresses/rest/client.rb +7 -0
  5. data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +7 -0
  6. data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +7 -0
  7. data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +7 -0
  8. data/lib/google/cloud/compute/v1/compute_pb.rb +6 -2
  9. data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +7 -0
  10. data/lib/google/cloud/compute/v1/disks/rest/client.rb +7 -0
  11. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +7 -0
  12. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +7 -0
  13. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +7 -0
  14. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +7 -0
  15. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +7 -0
  16. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +7 -0
  17. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +7 -0
  18. data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +7 -0
  19. data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +7 -0
  20. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +7 -0
  21. data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +7 -0
  22. data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +7 -0
  23. data/lib/google/cloud/compute/v1/images/rest/client.rb +7 -0
  24. data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/client.rb +7 -0
  25. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +7 -0
  26. data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +7 -0
  27. data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +7 -0
  28. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +7 -0
  29. data/lib/google/cloud/compute/v1/instances/rest/client.rb +7 -0
  30. data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +7 -0
  31. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +7 -0
  32. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +7 -0
  33. data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +7 -0
  34. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +7 -0
  35. data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +7 -0
  36. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +7 -0
  37. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +7 -0
  38. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +7 -0
  39. data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +7 -0
  40. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +7 -0
  41. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +7 -0
  42. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +113 -0
  43. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/service_stub.rb +61 -0
  44. data/lib/google/cloud/compute/v1/network_profiles/rest/client.rb +7 -0
  45. data/lib/google/cloud/compute/v1/networks/rest/client.rb +7 -0
  46. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +7 -0
  47. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +7 -0
  48. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +7 -0
  49. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +7 -0
  50. data/lib/google/cloud/compute/v1/projects/rest/client.rb +7 -0
  51. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +7 -0
  52. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +7 -0
  53. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +7 -0
  54. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +7 -0
  55. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +7 -0
  56. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +7 -0
  57. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +7 -0
  58. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +7 -0
  59. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +7 -0
  60. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +7 -0
  61. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +7 -0
  62. data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +7 -0
  63. data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +7 -0
  64. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +7 -0
  65. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +7 -0
  66. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +7 -0
  67. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +7 -0
  68. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +7 -0
  69. data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +7 -0
  70. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +7 -0
  71. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +7 -0
  72. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +7 -0
  73. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +7 -0
  74. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +7 -0
  75. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +7 -0
  76. data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +7 -0
  77. data/lib/google/cloud/compute/v1/regions/rest/client.rb +7 -0
  78. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +7 -0
  79. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +7 -0
  80. data/lib/google/cloud/compute/v1/routers/rest/client.rb +7 -0
  81. data/lib/google/cloud/compute/v1/routes/rest/client.rb +7 -0
  82. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +7 -0
  83. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +7 -0
  84. data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/client.rb +7 -0
  85. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +7 -0
  86. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +7 -0
  87. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +7 -0
  88. data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +7 -0
  89. data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +7 -0
  90. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +7 -0
  91. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +7 -0
  92. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +7 -0
  93. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +7 -0
  94. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +7 -0
  95. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +7 -0
  96. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +7 -0
  97. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +7 -0
  98. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +7 -0
  99. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +7 -0
  100. data/lib/google/cloud/compute/v1/version.rb +1 -1
  101. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +7 -0
  102. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +7 -0
  103. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +7 -0
  104. data/lib/google/cloud/compute/v1/zones/rest/client.rb +7 -0
  105. data/proto_docs/google/cloud/compute/v1/compute.rb +121 -22
  106. metadata +6 -9
@@ -75,6 +75,11 @@ module Google
75
75
 
76
76
  default_config.rpcs.add_rule.timeout = 600.0
77
77
 
78
+ default_config.rpcs.aggregated_list.timeout = 600.0
79
+ default_config.rpcs.aggregated_list.retry_policy = {
80
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
81
+ }
82
+
78
83
  default_config.rpcs.clone_rules.timeout = 600.0
79
84
 
80
85
  default_config.rpcs.delete.timeout = 600.0
@@ -428,6 +433,100 @@ module Google
428
433
  raise ::Google::Cloud::Error.from_error(e)
429
434
  end
430
435
 
436
+ ##
437
+ # Retrieves an aggregated list of network firewall policies, listing network firewall policies from all applicable scopes (global and regional) and grouping the results per scope. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
438
+ #
439
+ # @overload aggregated_list(request, options = nil)
440
+ # Pass arguments to `aggregated_list` via a request object, either of type
441
+ # {::Google::Cloud::Compute::V1::AggregatedListNetworkFirewallPoliciesRequest} or an equivalent Hash.
442
+ #
443
+ # @param request [::Google::Cloud::Compute::V1::AggregatedListNetworkFirewallPoliciesRequest, ::Hash]
444
+ # A request object representing the call parameters. Required. To specify no
445
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
446
+ # @param options [::Gapic::CallOptions, ::Hash]
447
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
448
+ #
449
+ # @overload aggregated_list(filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, project: nil, return_partial_success: nil, service_project_number: nil)
450
+ # Pass arguments to `aggregated_list` via keyword arguments. Note that at
451
+ # least one keyword argument is required. To specify no parameters, or to keep all
452
+ # the default parameter values, pass an empty Hash as a request object (see above).
453
+ #
454
+ # @param filter [::String]
455
+ # A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
456
+ # @param include_all_scopes [::Boolean]
457
+ # Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
458
+ # @param max_results [::Integer]
459
+ # The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
460
+ # @param order_by [::String]
461
+ # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
462
+ # @param page_token [::String]
463
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
464
+ # @param project [::String]
465
+ # Project ID for this request.
466
+ # @param return_partial_success [::Boolean]
467
+ # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
468
+ # @param service_project_number [::Integer]
469
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
470
+ # @yield [result, operation] Access the result along with the TransportOperation object
471
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::FirewallPoliciesScopedList>]
472
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
473
+ #
474
+ # @return [::Gapic::Rest::PagedEnumerable<::String, ::Google::Cloud::Compute::V1::FirewallPoliciesScopedList>]
475
+ #
476
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
477
+ #
478
+ # @example Basic example
479
+ # require "google/cloud/compute/v1"
480
+ #
481
+ # # Create a client object. The client can be reused for multiple calls.
482
+ # client = Google::Cloud::Compute::V1::NetworkFirewallPolicies::Rest::Client.new
483
+ #
484
+ # # Create a request. To set request fields, pass in keyword arguments.
485
+ # request = Google::Cloud::Compute::V1::AggregatedListNetworkFirewallPoliciesRequest.new
486
+ #
487
+ # # Call the aggregated_list method.
488
+ # result = client.aggregated_list request
489
+ #
490
+ # # The returned object is of type Google::Cloud::Compute::V1::NetworkFirewallPolicyAggregatedList.
491
+ # p result
492
+ #
493
+ def aggregated_list request, options = nil
494
+ raise ::ArgumentError, "request must be provided" if request.nil?
495
+
496
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Compute::V1::AggregatedListNetworkFirewallPoliciesRequest
497
+
498
+ # Converts hash and nil to an options object
499
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
500
+
501
+ # Customize the options with defaults
502
+ call_metadata = @config.rpcs.aggregated_list.metadata.to_h
503
+
504
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
505
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
506
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
507
+ gapic_version: ::Google::Cloud::Compute::V1::VERSION,
508
+ transports_version_send: [:rest]
509
+
510
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
511
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
512
+
513
+ options.apply_defaults timeout: @config.rpcs.aggregated_list.timeout,
514
+ metadata: call_metadata,
515
+ retry_policy: @config.rpcs.aggregated_list.retry_policy
516
+
517
+ options.apply_defaults timeout: @config.timeout,
518
+ metadata: @config.metadata,
519
+ retry_policy: @config.retry_policy
520
+
521
+ @network_firewall_policies_stub.aggregated_list request, options do |result, operation|
522
+ result = ::Gapic::Rest::PagedEnumerable.new @network_firewall_policies_stub, :aggregated_list, "items", request, result, options
523
+ yield result, operation if block_given?
524
+ throw :response, result
525
+ end
526
+ rescue ::Gapic::Rest::Error => e
527
+ raise ::Google::Cloud::Error.from_error(e)
528
+ end
529
+
431
530
  ##
432
531
  # Copies rules to the specified firewall policy.
433
532
  #
@@ -1699,6 +1798,13 @@ module Google
1699
1798
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1700
1799
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1701
1800
  # * (`nil`) indicating no credentials
1801
+ #
1802
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1803
+ # external source for authentication to Google Cloud, you must validate it before
1804
+ # providing it to a Google API client library. Providing an unvalidated credential
1805
+ # configuration to Google APIs can compromise the security of your systems and data.
1806
+ # For more information, refer to [Validate credential configurations from external
1807
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1702
1808
  # @return [::Object]
1703
1809
  # @!attribute [rw] scope
1704
1810
  # The OAuth scopes
@@ -1807,6 +1913,11 @@ module Google
1807
1913
  #
1808
1914
  attr_reader :add_rule
1809
1915
  ##
1916
+ # RPC-specific configuration for `aggregated_list`
1917
+ # @return [::Gapic::Config::Method]
1918
+ #
1919
+ attr_reader :aggregated_list
1920
+ ##
1810
1921
  # RPC-specific configuration for `clone_rules`
1811
1922
  # @return [::Gapic::Config::Method]
1812
1923
  #
@@ -1883,6 +1994,8 @@ module Google
1883
1994
  @add_association = ::Gapic::Config::Method.new add_association_config
1884
1995
  add_rule_config = parent_rpcs.add_rule if parent_rpcs.respond_to? :add_rule
1885
1996
  @add_rule = ::Gapic::Config::Method.new add_rule_config
1997
+ aggregated_list_config = parent_rpcs.aggregated_list if parent_rpcs.respond_to? :aggregated_list
1998
+ @aggregated_list = ::Gapic::Config::Method.new aggregated_list_config
1886
1999
  clone_rules_config = parent_rpcs.clone_rules if parent_rpcs.respond_to? :clone_rules
1887
2000
  @clone_rules = ::Gapic::Config::Method.new clone_rules_config
1888
2001
  delete_config = parent_rpcs.delete if parent_rpcs.respond_to? :delete
@@ -153,6 +153,46 @@ module Google
153
153
  end
154
154
  end
155
155
 
156
+ ##
157
+ # Baseline implementation for the aggregated_list REST call
158
+ #
159
+ # @param request_pb [::Google::Cloud::Compute::V1::AggregatedListNetworkFirewallPoliciesRequest]
160
+ # A request object representing the call parameters. Required.
161
+ # @param options [::Gapic::CallOptions]
162
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
163
+ #
164
+ # @yield [result, operation] Access the result along with the TransportOperation object
165
+ # @yieldparam result [::Google::Cloud::Compute::V1::NetworkFirewallPolicyAggregatedList]
166
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
167
+ #
168
+ # @return [::Google::Cloud::Compute::V1::NetworkFirewallPolicyAggregatedList]
169
+ # A result object deserialized from the server's reply
170
+ def aggregated_list request_pb, options = nil
171
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
172
+
173
+ verb, uri, query_string_params, body = ServiceStub.transcode_aggregated_list_request request_pb
174
+ query_string_params = if query_string_params.any?
175
+ query_string_params.to_h { |p| p.split "=", 2 }
176
+ else
177
+ {}
178
+ end
179
+
180
+ response = @client_stub.make_http_request(
181
+ verb,
182
+ uri: uri,
183
+ body: body || "",
184
+ params: query_string_params,
185
+ method_name: "aggregated_list",
186
+ options: options
187
+ )
188
+ operation = ::Gapic::Rest::TransportOperation.new response
189
+ result = ::Google::Cloud::Compute::V1::NetworkFirewallPolicyAggregatedList.decode_json response.body, ignore_unknown_fields: true
190
+ catch :response do
191
+ yield result, operation if block_given?
192
+ result
193
+ end
194
+ end
195
+
156
196
  ##
157
197
  # Baseline implementation for the clone_rules REST call
158
198
  #
@@ -759,6 +799,27 @@ module Google
759
799
  transcoder.transcode request_pb
760
800
  end
761
801
 
802
+ ##
803
+ # @private
804
+ #
805
+ # GRPC transcoding helper method for the aggregated_list REST call
806
+ #
807
+ # @param request_pb [::Google::Cloud::Compute::V1::AggregatedListNetworkFirewallPoliciesRequest]
808
+ # A request object representing the call parameters. Required.
809
+ # @return [Array(String, [String, nil], Hash{String => String})]
810
+ # Uri, Body, Query string parameters
811
+ def self.transcode_aggregated_list_request request_pb
812
+ transcoder = Gapic::Rest::GrpcTranscoder.new
813
+ .with_bindings(
814
+ uri_method: :get,
815
+ uri_template: "/compute/v1/projects/{project}/aggregated/firewallPolicies",
816
+ matches: [
817
+ ["project", %r{^[^/]+/?$}, false]
818
+ ]
819
+ )
820
+ transcoder.transcode request_pb
821
+ end
822
+
762
823
  ##
763
824
  # @private
764
825
  #
@@ -394,6 +394,13 @@ module Google
394
394
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
395
395
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
396
396
  # * (`nil`) indicating no credentials
397
+ #
398
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
399
+ # external source for authentication to Google Cloud, you must validate it before
400
+ # providing it to a Google API client library. Providing an unvalidated credential
401
+ # configuration to Google APIs can compromise the security of your systems and data.
402
+ # For more information, refer to [Validate credential configurations from external
403
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
397
404
  # @return [::Object]
398
405
  # @!attribute [rw] scope
399
406
  # The OAuth scopes
@@ -1259,6 +1259,13 @@ module Google
1259
1259
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1260
1260
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1261
1261
  # * (`nil`) indicating no credentials
1262
+ #
1263
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1264
+ # external source for authentication to Google Cloud, you must validate it before
1265
+ # providing it to a Google API client library. Providing an unvalidated credential
1266
+ # configuration to Google APIs can compromise the security of your systems and data.
1267
+ # For more information, refer to [Validate credential configurations from external
1268
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1262
1269
  # @return [::Object]
1263
1270
  # @!attribute [rw] scope
1264
1271
  # The OAuth scopes
@@ -1653,6 +1653,13 @@ module Google
1653
1653
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1654
1654
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1655
1655
  # * (`nil`) indicating no credentials
1656
+ #
1657
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1658
+ # external source for authentication to Google Cloud, you must validate it before
1659
+ # providing it to a Google API client library. Providing an unvalidated credential
1660
+ # configuration to Google APIs can compromise the security of your systems and data.
1661
+ # For more information, refer to [Validate credential configurations from external
1662
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1656
1663
  # @return [::Object]
1657
1664
  # @!attribute [rw] scope
1658
1665
  # The OAuth scopes
@@ -967,6 +967,13 @@ module Google
967
967
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
968
968
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
969
969
  # * (`nil`) indicating no credentials
970
+ #
971
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
972
+ # external source for authentication to Google Cloud, you must validate it before
973
+ # providing it to a Google API client library. Providing an unvalidated credential
974
+ # configuration to Google APIs can compromise the security of your systems and data.
975
+ # For more information, refer to [Validate credential configurations from external
976
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
970
977
  # @return [::Object]
971
978
  # @!attribute [rw] scope
972
979
  # The OAuth scopes
@@ -499,6 +499,13 @@ module Google
499
499
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
500
500
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
501
501
  # * (`nil`) indicating no credentials
502
+ #
503
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
504
+ # external source for authentication to Google Cloud, you must validate it before
505
+ # providing it to a Google API client library. Providing an unvalidated credential
506
+ # configuration to Google APIs can compromise the security of your systems and data.
507
+ # For more information, refer to [Validate credential configurations from external
508
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
502
509
  # @return [::Object]
503
510
  # @!attribute [rw] scope
504
511
  # The OAuth scopes
@@ -890,6 +890,13 @@ module Google
890
890
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
891
891
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
892
892
  # * (`nil`) indicating no credentials
893
+ #
894
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
895
+ # external source for authentication to Google Cloud, you must validate it before
896
+ # providing it to a Google API client library. Providing an unvalidated credential
897
+ # configuration to Google APIs can compromise the security of your systems and data.
898
+ # For more information, refer to [Validate credential configurations from external
899
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
893
900
  # @return [::Object]
894
901
  # @!attribute [rw] scope
895
902
  # The OAuth scopes
@@ -1512,6 +1512,13 @@ module Google
1512
1512
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1513
1513
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1514
1514
  # * (`nil`) indicating no credentials
1515
+ #
1516
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1517
+ # external source for authentication to Google Cloud, you must validate it before
1518
+ # providing it to a Google API client library. Providing an unvalidated credential
1519
+ # configuration to Google APIs can compromise the security of your systems and data.
1520
+ # For more information, refer to [Validate credential configurations from external
1521
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1515
1522
  # @return [::Object]
1516
1523
  # @!attribute [rw] scope
1517
1524
  # The OAuth scopes
@@ -878,6 +878,13 @@ module Google
878
878
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
879
879
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
880
880
  # * (`nil`) indicating no credentials
881
+ #
882
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
883
+ # external source for authentication to Google Cloud, you must validate it before
884
+ # providing it to a Google API client library. Providing an unvalidated credential
885
+ # configuration to Google APIs can compromise the security of your systems and data.
886
+ # For more information, refer to [Validate credential configurations from external
887
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
881
888
  # @return [::Object]
882
889
  # @!attribute [rw] scope
883
890
  # The OAuth scopes
@@ -996,6 +996,13 @@ module Google
996
996
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
997
997
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
998
998
  # * (`nil`) indicating no credentials
999
+ #
1000
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1001
+ # external source for authentication to Google Cloud, you must validate it before
1002
+ # providing it to a Google API client library. Providing an unvalidated credential
1003
+ # configuration to Google APIs can compromise the security of your systems and data.
1004
+ # For more information, refer to [Validate credential configurations from external
1005
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
999
1006
  # @return [::Object]
1000
1007
  # @!attribute [rw] scope
1001
1008
  # The OAuth scopes
@@ -803,6 +803,13 @@ module Google
803
803
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
804
804
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
805
805
  # * (`nil`) indicating no credentials
806
+ #
807
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
808
+ # external source for authentication to Google Cloud, you must validate it before
809
+ # providing it to a Google API client library. Providing an unvalidated credential
810
+ # configuration to Google APIs can compromise the security of your systems and data.
811
+ # For more information, refer to [Validate credential configurations from external
812
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
806
813
  # @return [::Object]
807
814
  # @!attribute [rw] scope
808
815
  # The OAuth scopes
@@ -1344,6 +1344,13 @@ module Google
1344
1344
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1345
1345
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1346
1346
  # * (`nil`) indicating no credentials
1347
+ #
1348
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1349
+ # external source for authentication to Google Cloud, you must validate it before
1350
+ # providing it to a Google API client library. Providing an unvalidated credential
1351
+ # configuration to Google APIs can compromise the security of your systems and data.
1352
+ # For more information, refer to [Validate credential configurations from external
1353
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1347
1354
  # @return [::Object]
1348
1355
  # @!attribute [rw] scope
1349
1356
  # The OAuth scopes
@@ -711,6 +711,13 @@ module Google
711
711
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
712
712
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
713
713
  # * (`nil`) indicating no credentials
714
+ #
715
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
716
+ # external source for authentication to Google Cloud, you must validate it before
717
+ # providing it to a Google API client library. Providing an unvalidated credential
718
+ # configuration to Google APIs can compromise the security of your systems and data.
719
+ # For more information, refer to [Validate credential configurations from external
720
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
714
721
  # @return [::Object]
715
722
  # @!attribute [rw] scope
716
723
  # The OAuth scopes
@@ -400,6 +400,13 @@ module Google
400
400
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
401
401
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
402
402
  # * (`nil`) indicating no credentials
403
+ #
404
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
405
+ # external source for authentication to Google Cloud, you must validate it before
406
+ # providing it to a Google API client library. Providing an unvalidated credential
407
+ # configuration to Google APIs can compromise the security of your systems and data.
408
+ # For more information, refer to [Validate credential configurations from external
409
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
403
410
  # @return [::Object]
404
411
  # @!attribute [rw] scope
405
412
  # The OAuth scopes
@@ -1847,6 +1847,13 @@ module Google
1847
1847
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1848
1848
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1849
1849
  # * (`nil`) indicating no credentials
1850
+ #
1851
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1852
+ # external source for authentication to Google Cloud, you must validate it before
1853
+ # providing it to a Google API client library. Providing an unvalidated credential
1854
+ # configuration to Google APIs can compromise the security of your systems and data.
1855
+ # For more information, refer to [Validate credential configurations from external
1856
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1850
1857
  # @return [::Object]
1851
1858
  # @!attribute [rw] scope
1852
1859
  # The OAuth scopes
@@ -705,6 +705,13 @@ module Google
705
705
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
706
706
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
707
707
  # * (`nil`) indicating no credentials
708
+ #
709
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
710
+ # external source for authentication to Google Cloud, you must validate it before
711
+ # providing it to a Google API client library. Providing an unvalidated credential
712
+ # configuration to Google APIs can compromise the security of your systems and data.
713
+ # For more information, refer to [Validate credential configurations from external
714
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
708
715
  # @return [::Object]
709
716
  # @!attribute [rw] scope
710
717
  # The OAuth scopes
@@ -803,6 +803,13 @@ module Google
803
803
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
804
804
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
805
805
  # * (`nil`) indicating no credentials
806
+ #
807
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
808
+ # external source for authentication to Google Cloud, you must validate it before
809
+ # providing it to a Google API client library. Providing an unvalidated credential
810
+ # configuration to Google APIs can compromise the security of your systems and data.
811
+ # For more information, refer to [Validate credential configurations from external
812
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
806
813
  # @return [::Object]
807
814
  # @!attribute [rw] scope
808
815
  # The OAuth scopes
@@ -2462,6 +2462,13 @@ module Google
2462
2462
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
2463
2463
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
2464
2464
  # * (`nil`) indicating no credentials
2465
+ #
2466
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2467
+ # external source for authentication to Google Cloud, you must validate it before
2468
+ # providing it to a Google API client library. Providing an unvalidated credential
2469
+ # configuration to Google APIs can compromise the security of your systems and data.
2470
+ # For more information, refer to [Validate credential configurations from external
2471
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2465
2472
  # @return [::Object]
2466
2473
  # @!attribute [rw] scope
2467
2474
  # The OAuth scopes
@@ -611,6 +611,13 @@ module Google
611
611
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
612
612
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
613
613
  # * (`nil`) indicating no credentials
614
+ #
615
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
616
+ # external source for authentication to Google Cloud, you must validate it before
617
+ # providing it to a Google API client library. Providing an unvalidated credential
618
+ # configuration to Google APIs can compromise the security of your systems and data.
619
+ # For more information, refer to [Validate credential configurations from external
620
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
614
621
  # @return [::Object]
615
622
  # @!attribute [rw] scope
616
623
  # The OAuth scopes
@@ -607,6 +607,13 @@ module Google
607
607
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
608
608
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
609
609
  # * (`nil`) indicating no credentials
610
+ #
611
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
612
+ # external source for authentication to Google Cloud, you must validate it before
613
+ # providing it to a Google API client library. Providing an unvalidated credential
614
+ # configuration to Google APIs can compromise the security of your systems and data.
615
+ # For more information, refer to [Validate credential configurations from external
616
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
610
617
  # @return [::Object]
611
618
  # @!attribute [rw] scope
612
619
  # The OAuth scopes
@@ -327,6 +327,13 @@ module Google
327
327
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
328
328
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
329
329
  # * (`nil`) indicating no credentials
330
+ #
331
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
332
+ # external source for authentication to Google Cloud, you must validate it before
333
+ # providing it to a Google API client library. Providing an unvalidated credential
334
+ # configuration to Google APIs can compromise the security of your systems and data.
335
+ # For more information, refer to [Validate credential configurations from external
336
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
330
337
  # @return [::Object]
331
338
  # @!attribute [rw] scope
332
339
  # The OAuth scopes
@@ -966,6 +966,13 @@ module Google
966
966
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
967
967
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
968
968
  # * (`nil`) indicating no credentials
969
+ #
970
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
971
+ # external source for authentication to Google Cloud, you must validate it before
972
+ # providing it to a Google API client library. Providing an unvalidated credential
973
+ # configuration to Google APIs can compromise the security of your systems and data.
974
+ # For more information, refer to [Validate credential configurations from external
975
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
969
976
  # @return [::Object]
970
977
  # @!attribute [rw] scope
971
978
  # The OAuth scopes
@@ -899,6 +899,13 @@ module Google
899
899
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
900
900
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
901
901
  # * (`nil`) indicating no credentials
902
+ #
903
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
904
+ # external source for authentication to Google Cloud, you must validate it before
905
+ # providing it to a Google API client library. Providing an unvalidated credential
906
+ # configuration to Google APIs can compromise the security of your systems and data.
907
+ # For more information, refer to [Validate credential configurations from external
908
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
902
909
  # @return [::Object]
903
910
  # @!attribute [rw] scope
904
911
  # The OAuth scopes
@@ -1827,6 +1827,13 @@ module Google
1827
1827
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1828
1828
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1829
1829
  # * (`nil`) indicating no credentials
1830
+ #
1831
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1832
+ # external source for authentication to Google Cloud, you must validate it before
1833
+ # providing it to a Google API client library. Providing an unvalidated credential
1834
+ # configuration to Google APIs can compromise the security of your systems and data.
1835
+ # For more information, refer to [Validate credential configurations from external
1836
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1830
1837
  # @return [::Object]
1831
1838
  # @!attribute [rw] scope
1832
1839
  # The OAuth scopes
@@ -607,6 +607,13 @@ module Google
607
607
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
608
608
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
609
609
  # * (`nil`) indicating no credentials
610
+ #
611
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
612
+ # external source for authentication to Google Cloud, you must validate it before
613
+ # providing it to a Google API client library. Providing an unvalidated credential
614
+ # configuration to Google APIs can compromise the security of your systems and data.
615
+ # For more information, refer to [Validate credential configurations from external
616
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
610
617
  # @return [::Object]
611
618
  # @!attribute [rw] scope
612
619
  # The OAuth scopes
@@ -568,6 +568,13 @@ module Google
568
568
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
569
569
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
570
570
  # * (`nil`) indicating no credentials
571
+ #
572
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
573
+ # external source for authentication to Google Cloud, you must validate it before
574
+ # providing it to a Google API client library. Providing an unvalidated credential
575
+ # configuration to Google APIs can compromise the security of your systems and data.
576
+ # For more information, refer to [Validate credential configurations from external
577
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
571
578
  # @return [::Object]
572
579
  # @!attribute [rw] scope
573
580
  # The OAuth scopes
@@ -1192,6 +1192,13 @@ module Google
1192
1192
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1193
1193
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1194
1194
  # * (`nil`) indicating no credentials
1195
+ #
1196
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1197
+ # external source for authentication to Google Cloud, you must validate it before
1198
+ # providing it to a Google API client library. Providing an unvalidated credential
1199
+ # configuration to Google APIs can compromise the security of your systems and data.
1200
+ # For more information, refer to [Validate credential configurations from external
1201
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1195
1202
  # @return [::Object]
1196
1203
  # @!attribute [rw] scope
1197
1204
  # The OAuth scopes