google-apis-compute_alpha 0.107.0 → 0.108.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.
@@ -780,6 +780,47 @@ module Google
|
|
780
780
|
execute_or_queue_command(command, &block)
|
781
781
|
end
|
782
782
|
|
783
|
+
# Advise how, where and when to create the requested amount of instances with
|
784
|
+
# specified accelerators, within the specified time and location limits. The
|
785
|
+
# method recommends creating future reservations for the requested resources.
|
786
|
+
# @param [String] project
|
787
|
+
# Project ID for this request.
|
788
|
+
# @param [String] region
|
789
|
+
# Name of the region for this request.
|
790
|
+
# @param [Google::Apis::ComputeAlpha::CalendarModeAdviceRequest] calendar_mode_advice_request_object
|
791
|
+
# @param [String] fields
|
792
|
+
# Selector specifying which fields to include in a partial response.
|
793
|
+
# @param [String] quota_user
|
794
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
795
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
796
|
+
# @param [String] user_ip
|
797
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
798
|
+
# @param [Google::Apis::RequestOptions] options
|
799
|
+
# Request-specific options
|
800
|
+
#
|
801
|
+
# @yield [result, err] Result & error if block supplied
|
802
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::CalendarModeAdviceResponse] parsed result object
|
803
|
+
# @yieldparam err [StandardError] error object if request failed
|
804
|
+
#
|
805
|
+
# @return [Google::Apis::ComputeAlpha::CalendarModeAdviceResponse]
|
806
|
+
#
|
807
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
808
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
809
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
810
|
+
def calendar_mode_advice(project, region, calendar_mode_advice_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
811
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/advice/calendarMode', options)
|
812
|
+
command.request_representation = Google::Apis::ComputeAlpha::CalendarModeAdviceRequest::Representation
|
813
|
+
command.request_object = calendar_mode_advice_request_object
|
814
|
+
command.response_representation = Google::Apis::ComputeAlpha::CalendarModeAdviceResponse::Representation
|
815
|
+
command.response_class = Google::Apis::ComputeAlpha::CalendarModeAdviceResponse
|
816
|
+
command.params['project'] = project unless project.nil?
|
817
|
+
command.params['region'] = region unless region.nil?
|
818
|
+
command.query['fields'] = fields unless fields.nil?
|
819
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
820
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
821
|
+
execute_or_queue_command(command, &block)
|
822
|
+
end
|
823
|
+
|
783
824
|
# Retrieves an aggregated list of autoscalers. To prevent failure, Google
|
784
825
|
# recommends that you set the `returnPartialSuccess` parameter to `true`.
|
785
826
|
# @param [String] project
|
@@ -18447,6 +18488,43 @@ module Google
|
|
18447
18488
|
execute_or_queue_command(command, &block)
|
18448
18489
|
end
|
18449
18490
|
|
18491
|
+
# Returns the InterconnectAttachmentStatuses for the specified
|
18492
|
+
# InterconnectAttachmentGroup resource.
|
18493
|
+
# @param [String] project
|
18494
|
+
# Project ID for this request.
|
18495
|
+
# @param [String] interconnect_attachment_group
|
18496
|
+
# Name of the interconnectAttachmentGroup resource to query.
|
18497
|
+
# @param [String] fields
|
18498
|
+
# Selector specifying which fields to include in a partial response.
|
18499
|
+
# @param [String] quota_user
|
18500
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
18501
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
18502
|
+
# @param [String] user_ip
|
18503
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
18504
|
+
# @param [Google::Apis::RequestOptions] options
|
18505
|
+
# Request-specific options
|
18506
|
+
#
|
18507
|
+
# @yield [result, err] Result & error if block supplied
|
18508
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::InterconnectAttachmentGroupsGetOperationalStatusResponse] parsed result object
|
18509
|
+
# @yieldparam err [StandardError] error object if request failed
|
18510
|
+
#
|
18511
|
+
# @return [Google::Apis::ComputeAlpha::InterconnectAttachmentGroupsGetOperationalStatusResponse]
|
18512
|
+
#
|
18513
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18514
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18515
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18516
|
+
def get_interconnect_attachment_group_operational_status(project, interconnect_attachment_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
18517
|
+
command = make_simple_command(:get, 'projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}/getOperationalStatus', options)
|
18518
|
+
command.response_representation = Google::Apis::ComputeAlpha::InterconnectAttachmentGroupsGetOperationalStatusResponse::Representation
|
18519
|
+
command.response_class = Google::Apis::ComputeAlpha::InterconnectAttachmentGroupsGetOperationalStatusResponse
|
18520
|
+
command.params['project'] = project unless project.nil?
|
18521
|
+
command.params['interconnectAttachmentGroup'] = interconnect_attachment_group unless interconnect_attachment_group.nil?
|
18522
|
+
command.query['fields'] = fields unless fields.nil?
|
18523
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18524
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
18525
|
+
execute_or_queue_command(command, &block)
|
18526
|
+
end
|
18527
|
+
|
18450
18528
|
# Creates a InterconnectAttachmentGroup in the specified project in the given
|
18451
18529
|
# scope using the parameters that are included in the request.
|
18452
18530
|
# @param [String] project
|
@@ -19425,6 +19503,42 @@ module Google
|
|
19425
19503
|
execute_or_queue_command(command, &block)
|
19426
19504
|
end
|
19427
19505
|
|
19506
|
+
# Returns the interconnectStatuses for the specified InterconnectGroup.
|
19507
|
+
# @param [String] project
|
19508
|
+
# Project ID for this request.
|
19509
|
+
# @param [String] interconnect_group
|
19510
|
+
# Name of the interconnectGroup resource to query.
|
19511
|
+
# @param [String] fields
|
19512
|
+
# Selector specifying which fields to include in a partial response.
|
19513
|
+
# @param [String] quota_user
|
19514
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
19515
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
19516
|
+
# @param [String] user_ip
|
19517
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
19518
|
+
# @param [Google::Apis::RequestOptions] options
|
19519
|
+
# Request-specific options
|
19520
|
+
#
|
19521
|
+
# @yield [result, err] Result & error if block supplied
|
19522
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::InterconnectGroupsGetOperationalStatusResponse] parsed result object
|
19523
|
+
# @yieldparam err [StandardError] error object if request failed
|
19524
|
+
#
|
19525
|
+
# @return [Google::Apis::ComputeAlpha::InterconnectGroupsGetOperationalStatusResponse]
|
19526
|
+
#
|
19527
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
19528
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
19529
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
19530
|
+
def get_interconnect_group_operational_status(project, interconnect_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
19531
|
+
command = make_simple_command(:get, 'projects/{project}/global/interconnectGroups/{interconnectGroup}/getOperationalStatus', options)
|
19532
|
+
command.response_representation = Google::Apis::ComputeAlpha::InterconnectGroupsGetOperationalStatusResponse::Representation
|
19533
|
+
command.response_class = Google::Apis::ComputeAlpha::InterconnectGroupsGetOperationalStatusResponse
|
19534
|
+
command.params['project'] = project unless project.nil?
|
19535
|
+
command.params['interconnectGroup'] = interconnect_group unless interconnect_group.nil?
|
19536
|
+
command.query['fields'] = fields unless fields.nil?
|
19537
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
19538
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
19539
|
+
execute_or_queue_command(command, &block)
|
19540
|
+
end
|
19541
|
+
|
19428
19542
|
# Creates a InterconnectGroup in the specified project in the given scope using
|
19429
19543
|
# the parameters that are included in the request.
|
19430
19544
|
# @param [String] project
|
@@ -23312,6 +23426,112 @@ module Google
|
|
23312
23426
|
execute_or_queue_command(command, &block)
|
23313
23427
|
end
|
23314
23428
|
|
23429
|
+
# Retrieves an aggregated list of network firewall policies, listing network
|
23430
|
+
# firewall policies from all applicable scopes (global and regional) and
|
23431
|
+
# grouping the results per scope. To prevent failure, Google recommends that you
|
23432
|
+
# set the `returnPartialSuccess` parameter to `true`.
|
23433
|
+
# @param [String] project
|
23434
|
+
# Project ID for this request.
|
23435
|
+
# @param [String] filter
|
23436
|
+
# A filter expression that filters resources listed in the response. Most
|
23437
|
+
# Compute resources support two types of filter expressions: expressions that
|
23438
|
+
# support regular expressions and expressions that follow API improvement
|
23439
|
+
# proposal AIP-160. These two types of filter expressions cannot be mixed in one
|
23440
|
+
# request. If you want to use AIP-160, your expression must specify the field
|
23441
|
+
# name, an operator, and the value that you want to use for filtering. The value
|
23442
|
+
# must be a string, a number, or a boolean. The operator must be either `=`, `!=`
|
23443
|
+
# , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
|
23444
|
+
# Engine instances, you can exclude instances named `example-instance` by
|
23445
|
+
# specifying `name != example-instance`. The `:*` comparison can be used to test
|
23446
|
+
# whether a key has been defined. For example, to find all objects with `owner`
|
23447
|
+
# label use: ``` labels.owner:* ``` You can also filter nested fields. For
|
23448
|
+
# example, you could specify `scheduling.automaticRestart = false` to include
|
23449
|
+
# instances only if they are not scheduled for automatic restarts. You can use
|
23450
|
+
# filtering on nested fields to filter based on resource labels. To filter on
|
23451
|
+
# multiple expressions, provide each separate expression within parentheses. For
|
23452
|
+
# example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
|
23453
|
+
# Skylake") ``` By default, each expression is an `AND` expression. However, you
|
23454
|
+
# can include `AND` and `OR` expressions explicitly. For example: ``` (
|
23455
|
+
# cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
|
23456
|
+
# scheduling.automaticRestart = true) ``` If you want to use a regular
|
23457
|
+
# expression, use the `eq` (equal) or `ne` (not equal) operator against a single
|
23458
|
+
# un-parenthesized expression with or without quotes or against multiple
|
23459
|
+
# parenthesized expressions. Examples: `fieldname eq unquoted literal` `
|
23460
|
+
# fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
|
23461
|
+
# fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
|
23462
|
+
# interpreted as a regular expression using Google RE2 library syntax. The
|
23463
|
+
# literal value must match the entire field. For example, to filter for
|
23464
|
+
# instances that do not end with name "instance", you would use `name ne .*
|
23465
|
+
# instance`. You cannot combine constraints on multiple fields using regular
|
23466
|
+
# expressions.
|
23467
|
+
# @param [Boolean] include_all_scopes
|
23468
|
+
# Indicates whether every visible scope for each scope type (zone, region,
|
23469
|
+
# global) should be included in the response. For new resource types added after
|
23470
|
+
# this field, the flag has no effect as new resource types will always include
|
23471
|
+
# every visible scope for each scope type in response. For resource types which
|
23472
|
+
# predate this field, if this flag is omitted or false, only scopes of the scope
|
23473
|
+
# types where the resource type is expected to be found will be included.
|
23474
|
+
# @param [Fixnum] max_results
|
23475
|
+
# The maximum number of results per page that should be returned. If the number
|
23476
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
23477
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
23478
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
23479
|
+
# @param [String] order_by
|
23480
|
+
# Sorts list results by a certain order. By default, results are returned in
|
23481
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
23482
|
+
# descending order based on the creation timestamp using `orderBy="
|
23483
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
23484
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
23485
|
+
# resources like operations so that the newest operation is returned first.
|
23486
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
23487
|
+
# @param [String] page_token
|
23488
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
23489
|
+
# by a previous list request to get the next page of results.
|
23490
|
+
# @param [Boolean] return_partial_success
|
23491
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
23492
|
+
# failure. The default value is false. For example, when partial success
|
23493
|
+
# behavior is enabled, aggregatedList for a single zone scope either returns all
|
23494
|
+
# resources in the zone or no resources, with an error code.
|
23495
|
+
# @param [Fixnum] service_project_number
|
23496
|
+
# The Shared VPC service project id or service project number for which
|
23497
|
+
# aggregated list request is invoked for subnetworks list-usable api.
|
23498
|
+
# @param [String] fields
|
23499
|
+
# Selector specifying which fields to include in a partial response.
|
23500
|
+
# @param [String] quota_user
|
23501
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23502
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23503
|
+
# @param [String] user_ip
|
23504
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
23505
|
+
# @param [Google::Apis::RequestOptions] options
|
23506
|
+
# Request-specific options
|
23507
|
+
#
|
23508
|
+
# @yield [result, err] Result & error if block supplied
|
23509
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::NetworkFirewallPolicyAggregatedList] parsed result object
|
23510
|
+
# @yieldparam err [StandardError] error object if request failed
|
23511
|
+
#
|
23512
|
+
# @return [Google::Apis::ComputeAlpha::NetworkFirewallPolicyAggregatedList]
|
23513
|
+
#
|
23514
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23515
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23516
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23517
|
+
def aggregated_network_firewall_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
23518
|
+
command = make_simple_command(:get, 'projects/{project}/aggregated/firewallPolicies', options)
|
23519
|
+
command.response_representation = Google::Apis::ComputeAlpha::NetworkFirewallPolicyAggregatedList::Representation
|
23520
|
+
command.response_class = Google::Apis::ComputeAlpha::NetworkFirewallPolicyAggregatedList
|
23521
|
+
command.params['project'] = project unless project.nil?
|
23522
|
+
command.query['filter'] = filter unless filter.nil?
|
23523
|
+
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
|
23524
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
23525
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
23526
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
23527
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
23528
|
+
command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
|
23529
|
+
command.query['fields'] = fields unless fields.nil?
|
23530
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23531
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
23532
|
+
execute_or_queue_command(command, &block)
|
23533
|
+
end
|
23534
|
+
|
23315
23535
|
# Copies rules to the specified firewall policy.
|
23316
23536
|
# @param [String] project
|
23317
23537
|
# Project ID for this request.
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-compute_alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.108.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-12 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.108.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.2
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Compute Engine API Alpha
|
82
79
|
test_files: []
|