google-apis-compute_beta 0.141.0 → 0.143.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.
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ComputeBeta
|
|
18
18
|
# Version of the google-apis-compute_beta gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.143.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260709"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -5800,6 +5800,12 @@ module Google
|
|
|
5800
5800
|
include Google::Apis::Core::JsonObjectSupport
|
|
5801
5801
|
end
|
|
5802
5802
|
|
|
5803
|
+
class PersistentDiskResourceCommitment
|
|
5804
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5805
|
+
|
|
5806
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
5807
|
+
end
|
|
5808
|
+
|
|
5803
5809
|
class Policy
|
|
5804
5810
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5805
5811
|
|
|
@@ -6052,6 +6058,12 @@ module Google
|
|
|
6052
6058
|
include Google::Apis::Core::JsonObjectSupport
|
|
6053
6059
|
end
|
|
6054
6060
|
|
|
6061
|
+
class RegexRewrite
|
|
6062
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6063
|
+
|
|
6064
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
6065
|
+
end
|
|
6066
|
+
|
|
6055
6067
|
class Region
|
|
6056
6068
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6057
6069
|
|
|
@@ -6436,6 +6448,30 @@ module Google
|
|
|
6436
6448
|
include Google::Apis::Core::JsonObjectSupport
|
|
6437
6449
|
end
|
|
6438
6450
|
|
|
6451
|
+
class ReliabilityRisk
|
|
6452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6453
|
+
|
|
6454
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
6455
|
+
end
|
|
6456
|
+
|
|
6457
|
+
class ReliabilityRisksListResponse
|
|
6458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6459
|
+
|
|
6460
|
+
class Warning
|
|
6461
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6462
|
+
|
|
6463
|
+
class Datum
|
|
6464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6465
|
+
|
|
6466
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
6467
|
+
end
|
|
6468
|
+
|
|
6469
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
6470
|
+
end
|
|
6471
|
+
|
|
6472
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
6473
|
+
end
|
|
6474
|
+
|
|
6439
6475
|
class RequestMirrorPolicy
|
|
6440
6476
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6441
6477
|
|
|
@@ -6904,6 +6940,24 @@ module Google
|
|
|
6904
6940
|
include Google::Apis::Core::JsonObjectSupport
|
|
6905
6941
|
end
|
|
6906
6942
|
|
|
6943
|
+
class RiskDetails
|
|
6944
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6945
|
+
|
|
6946
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
6947
|
+
end
|
|
6948
|
+
|
|
6949
|
+
class RiskDetailsGlobalDnsInsight
|
|
6950
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6951
|
+
|
|
6952
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
6953
|
+
end
|
|
6954
|
+
|
|
6955
|
+
class RiskRecommendation
|
|
6956
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6957
|
+
|
|
6958
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
6959
|
+
end
|
|
6960
|
+
|
|
6907
6961
|
class Rollout
|
|
6908
6962
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6909
6963
|
|
|
@@ -11493,6 +11547,8 @@ module Google
|
|
|
11493
11547
|
property :name, as: 'name'
|
|
11494
11548
|
property :params, as: 'params', class: Google::Apis::ComputeBeta::CommitmentParams, decorator: Google::Apis::ComputeBeta::CommitmentParams::Representation
|
|
11495
11549
|
|
|
11550
|
+
collection :persistent_disk_resources, as: 'persistentDiskResources', class: Google::Apis::ComputeBeta::PersistentDiskResourceCommitment, decorator: Google::Apis::ComputeBeta::PersistentDiskResourceCommitment::Representation
|
|
11551
|
+
|
|
11496
11552
|
property :plan, as: 'plan'
|
|
11497
11553
|
property :region, as: 'region'
|
|
11498
11554
|
collection :reservations, as: 'reservations', class: Google::Apis::ComputeBeta::Reservation, decorator: Google::Apis::ComputeBeta::Reservation::Representation
|
|
@@ -14663,6 +14719,7 @@ module Google
|
|
|
14663
14719
|
property :last_start_timestamp, as: 'lastStartTimestamp'
|
|
14664
14720
|
property :last_stop_timestamp, as: 'lastStopTimestamp'
|
|
14665
14721
|
property :last_suspended_timestamp, as: 'lastSuspendedTimestamp'
|
|
14722
|
+
property :local_ssd_encryption_mode, as: 'localSsdEncryptionMode'
|
|
14666
14723
|
property :machine_type, as: 'machineType'
|
|
14667
14724
|
property :metadata, as: 'metadata', class: Google::Apis::ComputeBeta::Metadata, decorator: Google::Apis::ComputeBeta::Metadata::Representation
|
|
14668
14725
|
|
|
@@ -15945,6 +16002,7 @@ module Google
|
|
|
15945
16002
|
|
|
15946
16003
|
property :key_revocation_action_type, as: 'keyRevocationActionType'
|
|
15947
16004
|
hash :labels, as: 'labels'
|
|
16005
|
+
property :local_ssd_encryption_mode, as: 'localSsdEncryptionMode'
|
|
15948
16006
|
property :machine_type, as: 'machineType'
|
|
15949
16007
|
property :metadata, as: 'metadata', class: Google::Apis::ComputeBeta::Metadata, decorator: Google::Apis::ComputeBeta::Metadata::Representation
|
|
15950
16008
|
|
|
@@ -20496,6 +20554,15 @@ module Google
|
|
|
20496
20554
|
end
|
|
20497
20555
|
end
|
|
20498
20556
|
|
|
20557
|
+
class PersistentDiskResourceCommitment
|
|
20558
|
+
# @private
|
|
20559
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
20560
|
+
property :amount, :numeric_string => true, as: 'amount'
|
|
20561
|
+
property :dimension_type, as: 'dimensionType'
|
|
20562
|
+
property :product_type, as: 'productType'
|
|
20563
|
+
end
|
|
20564
|
+
end
|
|
20565
|
+
|
|
20499
20566
|
class Policy
|
|
20500
20567
|
# @private
|
|
20501
20568
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -20740,6 +20807,7 @@ module Google
|
|
|
20740
20807
|
property :ipv6_access_type, as: 'ipv6AccessType'
|
|
20741
20808
|
property :kind, as: 'kind'
|
|
20742
20809
|
property :name, as: 'name'
|
|
20810
|
+
property :network_tier, as: 'networkTier'
|
|
20743
20811
|
property :pdp_scope, as: 'pdpScope'
|
|
20744
20812
|
collection :public_delegated_prefixs, as: 'publicDelegatedPrefixs', class: Google::Apis::ComputeBeta::PublicAdvertisedPrefixPublicDelegatedPrefix, decorator: Google::Apis::ComputeBeta::PublicAdvertisedPrefixPublicDelegatedPrefix::Representation
|
|
20745
20813
|
|
|
@@ -20808,6 +20876,7 @@ module Google
|
|
|
20808
20876
|
property :kind, as: 'kind'
|
|
20809
20877
|
property :mode, as: 'mode'
|
|
20810
20878
|
property :name, as: 'name'
|
|
20879
|
+
property :network_tier, as: 'networkTier'
|
|
20811
20880
|
property :parent_prefix, as: 'parentPrefix'
|
|
20812
20881
|
collection :public_delegated_sub_prefixs, as: 'publicDelegatedSubPrefixs', class: Google::Apis::ComputeBeta::PublicDelegatedPrefixPublicDelegatedSubPrefix, decorator: Google::Apis::ComputeBeta::PublicDelegatedPrefixPublicDelegatedSubPrefix::Representation
|
|
20813
20882
|
|
|
@@ -20961,6 +21030,14 @@ module Google
|
|
|
20961
21030
|
end
|
|
20962
21031
|
end
|
|
20963
21032
|
|
|
21033
|
+
class RegexRewrite
|
|
21034
|
+
# @private
|
|
21035
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
21036
|
+
property :path_pattern, as: 'pathPattern'
|
|
21037
|
+
property :path_substitution, as: 'pathSubstitution'
|
|
21038
|
+
end
|
|
21039
|
+
end
|
|
21040
|
+
|
|
20964
21041
|
class Region
|
|
20965
21042
|
# @private
|
|
20966
21043
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -21555,6 +21632,56 @@ module Google
|
|
|
21555
21632
|
end
|
|
21556
21633
|
end
|
|
21557
21634
|
|
|
21635
|
+
class ReliabilityRisk
|
|
21636
|
+
# @private
|
|
21637
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
21638
|
+
property :creation_timestamp, as: 'creationTimestamp'
|
|
21639
|
+
property :description, as: 'description'
|
|
21640
|
+
property :details, as: 'details', class: Google::Apis::ComputeBeta::RiskDetails, decorator: Google::Apis::ComputeBeta::RiskDetails::Representation
|
|
21641
|
+
|
|
21642
|
+
property :id, :numeric_string => true, as: 'id'
|
|
21643
|
+
property :kind, as: 'kind'
|
|
21644
|
+
property :name, as: 'name'
|
|
21645
|
+
property :recommendation, as: 'recommendation', class: Google::Apis::ComputeBeta::RiskRecommendation, decorator: Google::Apis::ComputeBeta::RiskRecommendation::Representation
|
|
21646
|
+
|
|
21647
|
+
property :self_link, as: 'selfLink'
|
|
21648
|
+
property :self_link_with_id, as: 'selfLinkWithId'
|
|
21649
|
+
end
|
|
21650
|
+
end
|
|
21651
|
+
|
|
21652
|
+
class ReliabilityRisksListResponse
|
|
21653
|
+
# @private
|
|
21654
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
21655
|
+
property :etag, as: 'etag'
|
|
21656
|
+
property :id, as: 'id'
|
|
21657
|
+
collection :items, as: 'items', class: Google::Apis::ComputeBeta::ReliabilityRisk, decorator: Google::Apis::ComputeBeta::ReliabilityRisk::Representation
|
|
21658
|
+
|
|
21659
|
+
property :next_page_token, as: 'nextPageToken'
|
|
21660
|
+
property :self_link, as: 'selfLink'
|
|
21661
|
+
collection :unreachables, as: 'unreachables'
|
|
21662
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::ReliabilityRisksListResponse::Warning, decorator: Google::Apis::ComputeBeta::ReliabilityRisksListResponse::Warning::Representation
|
|
21663
|
+
|
|
21664
|
+
end
|
|
21665
|
+
|
|
21666
|
+
class Warning
|
|
21667
|
+
# @private
|
|
21668
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
21669
|
+
property :code, as: 'code'
|
|
21670
|
+
collection :data, as: 'data', class: Google::Apis::ComputeBeta::ReliabilityRisksListResponse::Warning::Datum, decorator: Google::Apis::ComputeBeta::ReliabilityRisksListResponse::Warning::Datum::Representation
|
|
21671
|
+
|
|
21672
|
+
property :message, as: 'message'
|
|
21673
|
+
end
|
|
21674
|
+
|
|
21675
|
+
class Datum
|
|
21676
|
+
# @private
|
|
21677
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
21678
|
+
property :key, as: 'key'
|
|
21679
|
+
property :value, as: 'value'
|
|
21680
|
+
end
|
|
21681
|
+
end
|
|
21682
|
+
end
|
|
21683
|
+
end
|
|
21684
|
+
|
|
21558
21685
|
class RequestMirrorPolicy
|
|
21559
21686
|
# @private
|
|
21560
21687
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -21658,10 +21785,10 @@ module Google
|
|
|
21658
21785
|
class ReservationBlock
|
|
21659
21786
|
# @private
|
|
21660
21787
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
21661
|
-
property :block_health_info, as: 'blockHealthInfo', class: Google::Apis::ComputeBeta::ReservationBlockHealthInfo, decorator: Google::Apis::ComputeBeta::ReservationBlockHealthInfo::Representation
|
|
21662
|
-
|
|
21663
21788
|
property :count, as: 'count'
|
|
21664
21789
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
21790
|
+
property :health_info, as: 'healthInfo', class: Google::Apis::ComputeBeta::ReservationBlockHealthInfo, decorator: Google::Apis::ComputeBeta::ReservationBlockHealthInfo::Representation
|
|
21791
|
+
|
|
21665
21792
|
property :id, :numeric_string => true, as: 'id'
|
|
21666
21793
|
property :in_use_count, as: 'inUseCount'
|
|
21667
21794
|
property :in_use_host_count, as: 'inUseHostCount'
|
|
@@ -21890,6 +22017,8 @@ module Google
|
|
|
21890
22017
|
|
|
21891
22018
|
property :count, as: 'count'
|
|
21892
22019
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
22020
|
+
property :health_info, as: 'healthInfo', class: Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo, decorator: Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo::Representation
|
|
22021
|
+
|
|
21893
22022
|
property :id, :numeric_string => true, as: 'id'
|
|
21894
22023
|
property :in_use_count, as: 'inUseCount'
|
|
21895
22024
|
property :in_use_host_count, as: 'inUseHostCount'
|
|
@@ -21902,8 +22031,6 @@ module Google
|
|
|
21902
22031
|
property :self_link, as: 'selfLink'
|
|
21903
22032
|
property :self_link_with_id, as: 'selfLinkWithId'
|
|
21904
22033
|
property :status, as: 'status'
|
|
21905
|
-
property :sub_block_health_info, as: 'subBlockHealthInfo', class: Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo, decorator: Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo::Representation
|
|
21906
|
-
|
|
21907
22034
|
property :zone, as: 'zone'
|
|
21908
22035
|
end
|
|
21909
22036
|
end
|
|
@@ -22404,6 +22531,36 @@ module Google
|
|
|
22404
22531
|
end
|
|
22405
22532
|
end
|
|
22406
22533
|
|
|
22534
|
+
class RiskDetails
|
|
22535
|
+
# @private
|
|
22536
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
22537
|
+
property :duration, as: 'duration'
|
|
22538
|
+
property :global_dns_insight, as: 'globalDnsInsight', class: Google::Apis::ComputeBeta::RiskDetailsGlobalDnsInsight, decorator: Google::Apis::ComputeBeta::RiskDetailsGlobalDnsInsight::Representation
|
|
22539
|
+
|
|
22540
|
+
property :last_update_timestamp, as: 'lastUpdateTimestamp'
|
|
22541
|
+
property :severity, as: 'severity'
|
|
22542
|
+
property :type, as: 'type'
|
|
22543
|
+
end
|
|
22544
|
+
end
|
|
22545
|
+
|
|
22546
|
+
class RiskDetailsGlobalDnsInsight
|
|
22547
|
+
# @private
|
|
22548
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
22549
|
+
property :project_default_is_global_dns, as: 'projectDefaultIsGlobalDns'
|
|
22550
|
+
property :query_observation_window, as: 'queryObservationWindow'
|
|
22551
|
+
property :risky_query_count, :numeric_string => true, as: 'riskyQueryCount'
|
|
22552
|
+
property :total_query_count, :numeric_string => true, as: 'totalQueryCount'
|
|
22553
|
+
end
|
|
22554
|
+
end
|
|
22555
|
+
|
|
22556
|
+
class RiskRecommendation
|
|
22557
|
+
# @private
|
|
22558
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
22559
|
+
property :content, as: 'content'
|
|
22560
|
+
property :reference_url, as: 'referenceUrl'
|
|
22561
|
+
end
|
|
22562
|
+
end
|
|
22563
|
+
|
|
22407
22564
|
class Rollout
|
|
22408
22565
|
# @private
|
|
22409
22566
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -25137,6 +25294,7 @@ module Google
|
|
|
25137
25294
|
property :ipv6_access_type, as: 'ipv6AccessType'
|
|
25138
25295
|
property :ipv6_cidr_range, as: 'ipv6CidrRange'
|
|
25139
25296
|
property :ipv6_gce_endpoint, as: 'ipv6GceEndpoint'
|
|
25297
|
+
property :ipv6_network_tier, as: 'ipv6NetworkTier'
|
|
25140
25298
|
property :kind, as: 'kind'
|
|
25141
25299
|
property :log_config, as: 'logConfig', class: Google::Apis::ComputeBeta::SubnetworkLogConfig, decorator: Google::Apis::ComputeBeta::SubnetworkLogConfig::Representation
|
|
25142
25300
|
|
|
@@ -26545,6 +26703,8 @@ module Google
|
|
|
26545
26703
|
property :host_rewrite, as: 'hostRewrite'
|
|
26546
26704
|
property :path_prefix_rewrite, as: 'pathPrefixRewrite'
|
|
26547
26705
|
property :path_template_rewrite, as: 'pathTemplateRewrite'
|
|
26706
|
+
property :regex_rewrite, as: 'regexRewrite', class: Google::Apis::ComputeBeta::RegexRewrite, decorator: Google::Apis::ComputeBeta::RegexRewrite::Representation
|
|
26707
|
+
|
|
26548
26708
|
end
|
|
26549
26709
|
end
|
|
26550
26710
|
|
|
@@ -3044,7 +3044,10 @@ module Google
|
|
|
3044
3044
|
execute_or_queue_command(command, &block)
|
|
3045
3045
|
end
|
|
3046
3046
|
|
|
3047
|
-
# Retrieves a list of all usable backend services
|
|
3047
|
+
# Retrieves a list of all usable backend services for Application Load
|
|
3048
|
+
# Balancers and Proxy Network Load Balancers in the specified project.
|
|
3049
|
+
# Backend services for external and internal passthrough Network Load
|
|
3050
|
+
# Balancers are not included in the response.
|
|
3048
3051
|
# @param [String] project
|
|
3049
3052
|
# Project ID for this request.
|
|
3050
3053
|
# @param [String] filter
|
|
@@ -35826,8 +35829,10 @@ module Google
|
|
|
35826
35829
|
execute_or_queue_command(command, &block)
|
|
35827
35830
|
end
|
|
35828
35831
|
|
|
35829
|
-
# Retrieves a list of all usable backend services
|
|
35830
|
-
# the
|
|
35832
|
+
# Retrieves a list of all usable backend services for Application Load
|
|
35833
|
+
# Balancers and Proxy Network Load Balancers in the specified project in the
|
|
35834
|
+
# given region. Backend services for external and internal passthrough
|
|
35835
|
+
# Network Load Balancers are not included in the response.
|
|
35831
35836
|
# @param [String] project
|
|
35832
35837
|
# Project ID for this request.
|
|
35833
35838
|
# @param [String] region
|
|
@@ -51571,6 +51576,156 @@ module Google
|
|
|
51571
51576
|
execute_or_queue_command(command, &block)
|
|
51572
51577
|
end
|
|
51573
51578
|
|
|
51579
|
+
# Returns the specified ReliabilityRisk resource.
|
|
51580
|
+
# @param [String] project
|
|
51581
|
+
# Project ID for this request.
|
|
51582
|
+
# @param [String] reliability_risk
|
|
51583
|
+
# Name of the ReliabilityRisk resource to return.
|
|
51584
|
+
# @param [String] fields
|
|
51585
|
+
# Selector specifying which fields to include in a partial response.
|
|
51586
|
+
# @param [String] quota_user
|
|
51587
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
51588
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
51589
|
+
# @param [String] user_ip
|
|
51590
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
51591
|
+
# @param [Google::Apis::RequestOptions] options
|
|
51592
|
+
# Request-specific options
|
|
51593
|
+
#
|
|
51594
|
+
# @yield [result, err] Result & error if block supplied
|
|
51595
|
+
# @yieldparam result [Google::Apis::ComputeBeta::ReliabilityRisk] parsed result object
|
|
51596
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
51597
|
+
#
|
|
51598
|
+
# @return [Google::Apis::ComputeBeta::ReliabilityRisk]
|
|
51599
|
+
#
|
|
51600
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
51601
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
51602
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
51603
|
+
def get_reliability_risk(project, reliability_risk, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
51604
|
+
command = make_simple_command(:get, 'projects/{project}/global/reliabilityRisks/{reliabilityRisk}', options)
|
|
51605
|
+
command.response_representation = Google::Apis::ComputeBeta::ReliabilityRisk::Representation
|
|
51606
|
+
command.response_class = Google::Apis::ComputeBeta::ReliabilityRisk
|
|
51607
|
+
command.params['project'] = project unless project.nil?
|
|
51608
|
+
command.params['reliabilityRisk'] = reliability_risk unless reliability_risk.nil?
|
|
51609
|
+
command.query['fields'] = fields unless fields.nil?
|
|
51610
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
51611
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
51612
|
+
execute_or_queue_command(command, &block)
|
|
51613
|
+
end
|
|
51614
|
+
|
|
51615
|
+
# Retrieves the list of reliabilityRisks available in the specified project.
|
|
51616
|
+
# @param [String] project
|
|
51617
|
+
# Project ID for this request.
|
|
51618
|
+
# @param [String] filter
|
|
51619
|
+
# A filter expression that filters resources listed in the response. Most
|
|
51620
|
+
# Compute resources support two types of filter expressions:
|
|
51621
|
+
# expressions that support regular expressions and expressions that follow
|
|
51622
|
+
# API improvement proposal AIP-160.
|
|
51623
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
51624
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
51625
|
+
# operator, and the value that you want to use for filtering. The value
|
|
51626
|
+
# must be a string, a number, or a boolean. The operator
|
|
51627
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
51628
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
51629
|
+
# exclude instances named `example-instance` by specifying
|
|
51630
|
+
# `name != example-instance`.
|
|
51631
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
51632
|
+
# For example, to find all objects with `owner` label use:
|
|
51633
|
+
# ```
|
|
51634
|
+
# labels.owner:*
|
|
51635
|
+
# ```
|
|
51636
|
+
# You can also filter nested fields. For example, you could specify
|
|
51637
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
51638
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
51639
|
+
# on nested fields to filter based onresource labels.
|
|
51640
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
51641
|
+
# parentheses. For example:
|
|
51642
|
+
# ```
|
|
51643
|
+
# (scheduling.automaticRestart = true)
|
|
51644
|
+
# (cpuPlatform = "Intel Skylake")
|
|
51645
|
+
# ```
|
|
51646
|
+
# By default, each expression is an `AND` expression. However, you
|
|
51647
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
51648
|
+
# For example:
|
|
51649
|
+
# ```
|
|
51650
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
51651
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
51652
|
+
# (scheduling.automaticRestart = true)
|
|
51653
|
+
# ```
|
|
51654
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
51655
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
51656
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
51657
|
+
# `fieldname eq unquoted literal`
|
|
51658
|
+
# `fieldname eq 'single quoted literal'`
|
|
51659
|
+
# `fieldname eq "double quoted literal"`
|
|
51660
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
51661
|
+
# The literal value is interpreted as a regular expression using GoogleRE2
|
|
51662
|
+
# library syntax.
|
|
51663
|
+
# The literal value must match the entire field.
|
|
51664
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
51665
|
+
# you would use `name ne .*instance`.
|
|
51666
|
+
# You cannot combine constraints on multiple fields using regular
|
|
51667
|
+
# expressions.
|
|
51668
|
+
# @param [Fixnum] max_results
|
|
51669
|
+
# The maximum number of results per page that should be returned.
|
|
51670
|
+
# If the number of available results is larger than `maxResults`,
|
|
51671
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
51672
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
51673
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
51674
|
+
# @param [String] order_by
|
|
51675
|
+
# Sorts list results by a certain order. By default, results
|
|
51676
|
+
# are returned in alphanumerical order based on the resource name.
|
|
51677
|
+
# You can also sort results in descending order based on the creation
|
|
51678
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
51679
|
+
# results based on the `creationTimestamp` field in
|
|
51680
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
51681
|
+
# resources like operations so that the newest operation is returned first.
|
|
51682
|
+
# Currently, only sorting by `name` or
|
|
51683
|
+
# `creationTimestamp desc` is supported.
|
|
51684
|
+
# @param [String] page_token
|
|
51685
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
51686
|
+
# `nextPageToken` returned by a previous list request to get
|
|
51687
|
+
# the next page of results.
|
|
51688
|
+
# @param [Boolean] return_partial_success
|
|
51689
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
51690
|
+
# of failure. The default value is false.
|
|
51691
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
51692
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
51693
|
+
# with an error code.
|
|
51694
|
+
# @param [String] fields
|
|
51695
|
+
# Selector specifying which fields to include in a partial response.
|
|
51696
|
+
# @param [String] quota_user
|
|
51697
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
51698
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
51699
|
+
# @param [String] user_ip
|
|
51700
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
51701
|
+
# @param [Google::Apis::RequestOptions] options
|
|
51702
|
+
# Request-specific options
|
|
51703
|
+
#
|
|
51704
|
+
# @yield [result, err] Result & error if block supplied
|
|
51705
|
+
# @yieldparam result [Google::Apis::ComputeBeta::ReliabilityRisksListResponse] parsed result object
|
|
51706
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
51707
|
+
#
|
|
51708
|
+
# @return [Google::Apis::ComputeBeta::ReliabilityRisksListResponse]
|
|
51709
|
+
#
|
|
51710
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
51711
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
51712
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
51713
|
+
def list_reliability_risks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
51714
|
+
command = make_simple_command(:get, 'projects/{project}/global/reliabilityRisks', options)
|
|
51715
|
+
command.response_representation = Google::Apis::ComputeBeta::ReliabilityRisksListResponse::Representation
|
|
51716
|
+
command.response_class = Google::Apis::ComputeBeta::ReliabilityRisksListResponse
|
|
51717
|
+
command.params['project'] = project unless project.nil?
|
|
51718
|
+
command.query['filter'] = filter unless filter.nil?
|
|
51719
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
51720
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
51721
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
51722
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
51723
|
+
command.query['fields'] = fields unless fields.nil?
|
|
51724
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
51725
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
51726
|
+
execute_or_queue_command(command, &block)
|
|
51727
|
+
end
|
|
51728
|
+
|
|
51574
51729
|
# Retrieves information about the specified reservation block.
|
|
51575
51730
|
# @param [String] project
|
|
51576
51731
|
# Project ID for this request.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-compute_beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.143.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.143.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|