google-apis-compute_alpha 0.39.0 → 0.42.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeAlpha
18
18
  # Version of the google-apis-compute_alpha gem
19
- GEM_VERSION = "0.39.0"
19
+ GEM_VERSION = "0.42.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.7.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220614"
25
+ REVISION = "20220705"
26
26
  end
27
27
  end
28
28
  end
@@ -694,6 +694,18 @@ module Google
694
694
  include Google::Apis::Core::JsonObjectSupport
695
695
  end
696
696
 
697
+ class CustomErrorResponsePolicy
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
703
+ class CustomErrorResponsePolicyCustomErrorResponseRule
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
697
709
  class CustomerEncryptionKey
698
710
  class Representation < Google::Apis::Core::JsonRepresentation; end
699
711
 
@@ -778,6 +790,12 @@ module Google
778
790
  include Google::Apis::Core::JsonObjectSupport
779
791
  end
780
792
 
793
+ class DiskParams
794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
795
+
796
+ include Google::Apis::Core::JsonObjectSupport
797
+ end
798
+
781
799
  class DiskResourceStatus
782
800
  class Representation < Google::Apis::Core::JsonRepresentation; end
783
801
 
@@ -2620,6 +2638,36 @@ module Google
2620
2638
  include Google::Apis::Core::JsonObjectSupport
2621
2639
  end
2622
2640
 
2641
+ class InterconnectRemoteLocation
2642
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2643
+
2644
+ include Google::Apis::Core::JsonObjectSupport
2645
+ end
2646
+
2647
+ class InterconnectRemoteLocationList
2648
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2649
+
2650
+ class Warning
2651
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2652
+
2653
+ class Datum
2654
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2655
+
2656
+ include Google::Apis::Core::JsonObjectSupport
2657
+ end
2658
+
2659
+ include Google::Apis::Core::JsonObjectSupport
2660
+ end
2661
+
2662
+ include Google::Apis::Core::JsonObjectSupport
2663
+ end
2664
+
2665
+ class InterconnectRemoteLocationPermittedConnections
2666
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2667
+
2668
+ include Google::Apis::Core::JsonObjectSupport
2669
+ end
2670
+
2623
2671
  class InterconnectsGetDiagnosticsResponse
2624
2672
  class Representation < Google::Apis::Core::JsonRepresentation; end
2625
2673
 
@@ -3988,6 +4036,60 @@ module Google
3988
4036
  include Google::Apis::Core::JsonObjectSupport
3989
4037
  end
3990
4038
 
4039
+ class QueuedResource
4040
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4041
+
4042
+ include Google::Apis::Core::JsonObjectSupport
4043
+ end
4044
+
4045
+ class QueuedResourceList
4046
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4047
+
4048
+ class Warning
4049
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4050
+
4051
+ class Datum
4052
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4053
+
4054
+ include Google::Apis::Core::JsonObjectSupport
4055
+ end
4056
+
4057
+ include Google::Apis::Core::JsonObjectSupport
4058
+ end
4059
+
4060
+ include Google::Apis::Core::JsonObjectSupport
4061
+ end
4062
+
4063
+ class QueuedResourceStatus
4064
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4065
+
4066
+ include Google::Apis::Core::JsonObjectSupport
4067
+ end
4068
+
4069
+ class QueuedResourceStatusFailedData
4070
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4071
+
4072
+ class Error
4073
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4074
+
4075
+ class Error
4076
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4077
+
4078
+ class ErrorDetail
4079
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4080
+
4081
+ include Google::Apis::Core::JsonObjectSupport
4082
+ end
4083
+
4084
+ include Google::Apis::Core::JsonObjectSupport
4085
+ end
4086
+
4087
+ include Google::Apis::Core::JsonObjectSupport
4088
+ end
4089
+
4090
+ include Google::Apis::Core::JsonObjectSupport
4091
+ end
4092
+
3991
4093
  class QueuingPolicy
3992
4094
  class Representation < Google::Apis::Core::JsonRepresentation; end
3993
4095
 
@@ -6876,6 +6978,7 @@ module Google
6876
6978
  property :on_update_action, as: 'onUpdateAction'
6877
6979
  property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
6878
6980
  collection :replica_zones, as: 'replicaZones'
6981
+ hash :resource_manager_tags, as: 'resourceManagerTags'
6879
6982
  collection :resource_policies, as: 'resourcePolicies'
6880
6983
  property :source_image, as: 'sourceImage'
6881
6984
  property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
@@ -7872,6 +7975,24 @@ module Google
7872
7975
  end
7873
7976
  end
7874
7977
 
7978
+ class CustomErrorResponsePolicy
7979
+ # @private
7980
+ class Representation < Google::Apis::Core::JsonRepresentation
7981
+ collection :error_response_rules, as: 'errorResponseRules', class: Google::Apis::ComputeAlpha::CustomErrorResponsePolicyCustomErrorResponseRule, decorator: Google::Apis::ComputeAlpha::CustomErrorResponsePolicyCustomErrorResponseRule::Representation
7982
+
7983
+ property :error_service, as: 'errorService'
7984
+ end
7985
+ end
7986
+
7987
+ class CustomErrorResponsePolicyCustomErrorResponseRule
7988
+ # @private
7989
+ class Representation < Google::Apis::Core::JsonRepresentation
7990
+ collection :match_response_codes, as: 'matchResponseCodes'
7991
+ property :override_response_code, as: 'overrideResponseCode'
7992
+ property :path, as: 'path'
7993
+ end
7994
+ end
7995
+
7875
7996
  class CustomerEncryptionKey
7876
7997
  # @private
7877
7998
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7934,6 +8055,8 @@ module Google
7934
8055
  property :multi_writer, as: 'multiWriter'
7935
8056
  property :name, as: 'name'
7936
8057
  property :options, as: 'options'
8058
+ property :params, as: 'params', class: Google::Apis::ComputeAlpha::DiskParams, decorator: Google::Apis::ComputeAlpha::DiskParams::Representation
8059
+
7937
8060
  property :physical_block_size_bytes, :numeric_string => true, as: 'physicalBlockSizeBytes'
7938
8061
  property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
7939
8062
  property :region, as: 'region'
@@ -8068,6 +8191,13 @@ module Google
8068
8191
  end
8069
8192
  end
8070
8193
 
8194
+ class DiskParams
8195
+ # @private
8196
+ class Representation < Google::Apis::Core::JsonRepresentation
8197
+ hash :resource_manager_tags, as: 'resourceManagerTags'
8198
+ end
8199
+ end
8200
+
8071
8201
  class DiskResourceStatus
8072
8202
  # @private
8073
8203
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9612,6 +9742,8 @@ module Google
9612
9742
  class HttpRouteRule
9613
9743
  # @private
9614
9744
  class Representation < Google::Apis::Core::JsonRepresentation
9745
+ property :custom_error_response_policy, as: 'customErrorResponsePolicy', class: Google::Apis::ComputeAlpha::CustomErrorResponsePolicy, decorator: Google::Apis::ComputeAlpha::CustomErrorResponsePolicy::Representation
9746
+
9615
9747
  property :description, as: 'description'
9616
9748
  property :header_action, as: 'headerAction', class: Google::Apis::ComputeAlpha::HttpHeaderAction, decorator: Google::Apis::ComputeAlpha::HttpHeaderAction::Representation
9617
9749
 
@@ -11575,6 +11707,68 @@ module Google
11575
11707
  end
11576
11708
  end
11577
11709
 
11710
+ class InterconnectRemoteLocation
11711
+ # @private
11712
+ class Representation < Google::Apis::Core::JsonRepresentation
11713
+ property :address, as: 'address'
11714
+ property :city, as: 'city'
11715
+ property :continent, as: 'continent'
11716
+ property :creation_timestamp, as: 'creationTimestamp'
11717
+ property :description, as: 'description'
11718
+ property :facility_provider, as: 'facilityProvider'
11719
+ property :facility_provider_facility_id, as: 'facilityProviderFacilityId'
11720
+ property :id, :numeric_string => true, as: 'id'
11721
+ property :kind, as: 'kind'
11722
+ property :name, as: 'name'
11723
+ property :peeringdb_facility_id, as: 'peeringdbFacilityId'
11724
+ property :permitted_connections, as: 'permittedConnections', class: Google::Apis::ComputeAlpha::InterconnectRemoteLocationPermittedConnections, decorator: Google::Apis::ComputeAlpha::InterconnectRemoteLocationPermittedConnections::Representation
11725
+
11726
+ property :remote_service, as: 'remoteService'
11727
+ property :self_link, as: 'selfLink'
11728
+ property :self_link_with_id, as: 'selfLinkWithId'
11729
+ property :status, as: 'status'
11730
+ end
11731
+ end
11732
+
11733
+ class InterconnectRemoteLocationList
11734
+ # @private
11735
+ class Representation < Google::Apis::Core::JsonRepresentation
11736
+ property :id, as: 'id'
11737
+ collection :items, as: 'items', class: Google::Apis::ComputeAlpha::InterconnectRemoteLocation, decorator: Google::Apis::ComputeAlpha::InterconnectRemoteLocation::Representation
11738
+
11739
+ property :kind, as: 'kind'
11740
+ property :next_page_token, as: 'nextPageToken'
11741
+ property :self_link, as: 'selfLink'
11742
+ property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::InterconnectRemoteLocationList::Warning, decorator: Google::Apis::ComputeAlpha::InterconnectRemoteLocationList::Warning::Representation
11743
+
11744
+ end
11745
+
11746
+ class Warning
11747
+ # @private
11748
+ class Representation < Google::Apis::Core::JsonRepresentation
11749
+ property :code, as: 'code'
11750
+ collection :data, as: 'data', class: Google::Apis::ComputeAlpha::InterconnectRemoteLocationList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::InterconnectRemoteLocationList::Warning::Datum::Representation
11751
+
11752
+ property :message, as: 'message'
11753
+ end
11754
+
11755
+ class Datum
11756
+ # @private
11757
+ class Representation < Google::Apis::Core::JsonRepresentation
11758
+ property :key, as: 'key'
11759
+ property :value, as: 'value'
11760
+ end
11761
+ end
11762
+ end
11763
+ end
11764
+
11765
+ class InterconnectRemoteLocationPermittedConnections
11766
+ # @private
11767
+ class Representation < Google::Apis::Core::JsonRepresentation
11768
+ property :interconnect_location, as: 'interconnectLocation'
11769
+ end
11770
+ end
11771
+
11578
11772
  class InterconnectsGetDiagnosticsResponse
11579
11773
  # @private
11580
11774
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13709,6 +13903,8 @@ module Google
13709
13903
  class PathMatcher
13710
13904
  # @private
13711
13905
  class Representation < Google::Apis::Core::JsonRepresentation
13906
+ property :default_custom_error_response_policy, as: 'defaultCustomErrorResponsePolicy', class: Google::Apis::ComputeAlpha::CustomErrorResponsePolicy, decorator: Google::Apis::ComputeAlpha::CustomErrorResponsePolicy::Representation
13907
+
13712
13908
  property :default_route_action, as: 'defaultRouteAction', class: Google::Apis::ComputeAlpha::HttpRouteAction, decorator: Google::Apis::ComputeAlpha::HttpRouteAction::Representation
13713
13909
 
13714
13910
  property :default_service, as: 'defaultService'
@@ -13728,6 +13924,8 @@ module Google
13728
13924
  class PathRule
13729
13925
  # @private
13730
13926
  class Representation < Google::Apis::Core::JsonRepresentation
13927
+ property :custom_error_response_policy, as: 'customErrorResponsePolicy', class: Google::Apis::ComputeAlpha::CustomErrorResponsePolicy, decorator: Google::Apis::ComputeAlpha::CustomErrorResponsePolicy::Representation
13928
+
13731
13929
  collection :paths, as: 'paths'
13732
13930
  property :route_action, as: 'routeAction', class: Google::Apis::ComputeAlpha::HttpRouteAction, decorator: Google::Apis::ComputeAlpha::HttpRouteAction::Representation
13733
13931
 
@@ -14118,6 +14316,114 @@ module Google
14118
14316
  end
14119
14317
  end
14120
14318
 
14319
+ class QueuedResource
14320
+ # @private
14321
+ class Representation < Google::Apis::Core::JsonRepresentation
14322
+ property :bulk_insert_instance_resource, as: 'bulkInsertInstanceResource', class: Google::Apis::ComputeAlpha::BulkInsertInstanceResource, decorator: Google::Apis::ComputeAlpha::BulkInsertInstanceResource::Representation
14323
+
14324
+ property :creation_timestamp, as: 'creationTimestamp'
14325
+ property :description, as: 'description'
14326
+ property :id, :numeric_string => true, as: 'id'
14327
+ property :kind, as: 'kind'
14328
+ property :name, as: 'name'
14329
+ property :queuing_policy, as: 'queuingPolicy', class: Google::Apis::ComputeAlpha::QueuingPolicy, decorator: Google::Apis::ComputeAlpha::QueuingPolicy::Representation
14330
+
14331
+ property :region, as: 'region'
14332
+ property :self_link, as: 'selfLink'
14333
+ property :self_link_with_id, as: 'selfLinkWithId'
14334
+ property :state, as: 'state'
14335
+ property :status, as: 'status', class: Google::Apis::ComputeAlpha::QueuedResourceStatus, decorator: Google::Apis::ComputeAlpha::QueuedResourceStatus::Representation
14336
+
14337
+ property :zone, as: 'zone'
14338
+ end
14339
+ end
14340
+
14341
+ class QueuedResourceList
14342
+ # @private
14343
+ class Representation < Google::Apis::Core::JsonRepresentation
14344
+ property :etag, as: 'etag'
14345
+ property :id, as: 'id'
14346
+ collection :items, as: 'items', class: Google::Apis::ComputeAlpha::QueuedResource, decorator: Google::Apis::ComputeAlpha::QueuedResource::Representation
14347
+
14348
+ property :kind, as: 'kind'
14349
+ property :next_page_token, as: 'nextPageToken'
14350
+ property :self_link, as: 'selfLink'
14351
+ collection :unreachables, as: 'unreachables'
14352
+ property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::QueuedResourceList::Warning, decorator: Google::Apis::ComputeAlpha::QueuedResourceList::Warning::Representation
14353
+
14354
+ end
14355
+
14356
+ class Warning
14357
+ # @private
14358
+ class Representation < Google::Apis::Core::JsonRepresentation
14359
+ property :code, as: 'code'
14360
+ collection :data, as: 'data', class: Google::Apis::ComputeAlpha::QueuedResourceList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::QueuedResourceList::Warning::Datum::Representation
14361
+
14362
+ property :message, as: 'message'
14363
+ end
14364
+
14365
+ class Datum
14366
+ # @private
14367
+ class Representation < Google::Apis::Core::JsonRepresentation
14368
+ property :key, as: 'key'
14369
+ property :value, as: 'value'
14370
+ end
14371
+ end
14372
+ end
14373
+ end
14374
+
14375
+ class QueuedResourceStatus
14376
+ # @private
14377
+ class Representation < Google::Apis::Core::JsonRepresentation
14378
+ property :failed_data, as: 'failedData', class: Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData, decorator: Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData::Representation
14379
+
14380
+ collection :provisioning_operations, as: 'provisioningOperations'
14381
+ property :queuing_policy, as: 'queuingPolicy', class: Google::Apis::ComputeAlpha::QueuingPolicy, decorator: Google::Apis::ComputeAlpha::QueuingPolicy::Representation
14382
+
14383
+ end
14384
+ end
14385
+
14386
+ class QueuedResourceStatusFailedData
14387
+ # @private
14388
+ class Representation < Google::Apis::Core::JsonRepresentation
14389
+ property :error, as: 'error', class: Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData::Error, decorator: Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData::Error::Representation
14390
+
14391
+ end
14392
+
14393
+ class Error
14394
+ # @private
14395
+ class Representation < Google::Apis::Core::JsonRepresentation
14396
+ collection :errors, as: 'errors', class: Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData::Error::Error, decorator: Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData::Error::Error::Representation
14397
+
14398
+ end
14399
+
14400
+ class Error
14401
+ # @private
14402
+ class Representation < Google::Apis::Core::JsonRepresentation
14403
+ property :code, as: 'code'
14404
+ collection :error_details, as: 'errorDetails', class: Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData::Error::Error::ErrorDetail, decorator: Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData::Error::Error::ErrorDetail::Representation
14405
+
14406
+ property :location, as: 'location'
14407
+ property :message, as: 'message'
14408
+ end
14409
+
14410
+ class ErrorDetail
14411
+ # @private
14412
+ class Representation < Google::Apis::Core::JsonRepresentation
14413
+ property :error_info, as: 'errorInfo', class: Google::Apis::ComputeAlpha::ErrorInfo, decorator: Google::Apis::ComputeAlpha::ErrorInfo::Representation
14414
+
14415
+ property :help, as: 'help', class: Google::Apis::ComputeAlpha::Help, decorator: Google::Apis::ComputeAlpha::Help::Representation
14416
+
14417
+ property :localized_message, as: 'localizedMessage', class: Google::Apis::ComputeAlpha::LocalizedMessage, decorator: Google::Apis::ComputeAlpha::LocalizedMessage::Representation
14418
+
14419
+ property :quota_info, as: 'quotaInfo', class: Google::Apis::ComputeAlpha::QuotaExceededInfo, decorator: Google::Apis::ComputeAlpha::QuotaExceededInfo::Representation
14420
+
14421
+ end
14422
+ end
14423
+ end
14424
+ end
14425
+ end
14426
+
14121
14427
  class QueuingPolicy
14122
14428
  # @private
14123
14429
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -15652,6 +15958,7 @@ module Google
15652
15958
  class SavedDisk
15653
15959
  # @private
15654
15960
  class Representation < Google::Apis::Core::JsonRepresentation
15961
+ property :architecture, as: 'architecture'
15655
15962
  property :kind, as: 'kind'
15656
15963
  property :source_disk, as: 'sourceDisk'
15657
15964
  property :storage_bytes, :numeric_string => true, as: 'storageBytes'
@@ -17924,6 +18231,8 @@ module Google
17924
18231
  # @private
17925
18232
  class Representation < Google::Apis::Core::JsonRepresentation
17926
18233
  property :creation_timestamp, as: 'creationTimestamp'
18234
+ property :default_custom_error_response_policy, as: 'defaultCustomErrorResponsePolicy', class: Google::Apis::ComputeAlpha::CustomErrorResponsePolicy, decorator: Google::Apis::ComputeAlpha::CustomErrorResponsePolicy::Representation
18235
+
17927
18236
  property :default_route_action, as: 'defaultRouteAction', class: Google::Apis::ComputeAlpha::HttpRouteAction, decorator: Google::Apis::ComputeAlpha::HttpRouteAction::Representation
17928
18237
 
17929
18238
  property :default_service, as: 'defaultService'