google-apis-compute_beta 0.7.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/apis/compute_beta/classes.rb +584 -138
- data/lib/google/apis/compute_beta/gem_version.rb +3 -3
- data/lib/google/apis/compute_beta/representations.rb +126 -3
- data/lib/google/apis/compute_beta/service.rb +383 -15
- metadata +4 -4
@@ -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.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210525"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -346,6 +346,12 @@ module Google
|
|
346
346
|
include Google::Apis::Core::JsonObjectSupport
|
347
347
|
end
|
348
348
|
|
349
|
+
class BackendBucketCdnPolicyCacheKeyPolicy
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
349
355
|
class BackendBucketCdnPolicyNegativeCachingPolicy
|
350
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
357
|
|
@@ -1402,6 +1408,12 @@ module Google
|
|
1402
1408
|
include Google::Apis::Core::JsonObjectSupport
|
1403
1409
|
end
|
1404
1410
|
|
1411
|
+
class ImageFamilyView
|
1412
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1413
|
+
|
1414
|
+
include Google::Apis::Core::JsonObjectSupport
|
1415
|
+
end
|
1416
|
+
|
1405
1417
|
class ImageList
|
1406
1418
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1407
1419
|
|
@@ -4012,6 +4024,12 @@ module Google
|
|
4012
4024
|
include Google::Apis::Core::JsonObjectSupport
|
4013
4025
|
end
|
4014
4026
|
|
4027
|
+
class SecurityPolicyAdvancedOptionsConfig
|
4028
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4029
|
+
|
4030
|
+
include Google::Apis::Core::JsonObjectSupport
|
4031
|
+
end
|
4032
|
+
|
4015
4033
|
class SecurityPolicyAssociation
|
4016
4034
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4017
4035
|
|
@@ -4114,12 +4132,24 @@ module Google
|
|
4114
4132
|
include Google::Apis::Core::JsonObjectSupport
|
4115
4133
|
end
|
4116
4134
|
|
4135
|
+
class ServiceAttachmentConnectedEndpoint
|
4136
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4137
|
+
|
4138
|
+
include Google::Apis::Core::JsonObjectSupport
|
4139
|
+
end
|
4140
|
+
|
4117
4141
|
class ServiceAttachmentConsumerForwardingRule
|
4118
4142
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4119
4143
|
|
4120
4144
|
include Google::Apis::Core::JsonObjectSupport
|
4121
4145
|
end
|
4122
4146
|
|
4147
|
+
class ServiceAttachmentConsumerProjectLimit
|
4148
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4149
|
+
|
4150
|
+
include Google::Apis::Core::JsonObjectSupport
|
4151
|
+
end
|
4152
|
+
|
4123
4153
|
class ServiceAttachmentList
|
4124
4154
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4125
4155
|
|
@@ -4960,6 +4990,12 @@ module Google
|
|
4960
4990
|
include Google::Apis::Core::JsonObjectSupport
|
4961
4991
|
end
|
4962
4992
|
|
4993
|
+
class Uint128
|
4994
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4995
|
+
|
4996
|
+
include Google::Apis::Core::JsonObjectSupport
|
4997
|
+
end
|
4998
|
+
|
4963
4999
|
class UrlMap
|
4964
5000
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4965
5001
|
|
@@ -5482,6 +5518,8 @@ module Google
|
|
5482
5518
|
class AccessConfig
|
5483
5519
|
# @private
|
5484
5520
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5521
|
+
property :external_ipv6, as: 'externalIpv6'
|
5522
|
+
property :external_ipv6_prefix_length, as: 'externalIpv6PrefixLength'
|
5485
5523
|
property :kind, as: 'kind'
|
5486
5524
|
property :name, as: 'name'
|
5487
5525
|
property :nat_ip, as: 'natIP'
|
@@ -5614,6 +5652,7 @@ module Google
|
|
5614
5652
|
# @private
|
5615
5653
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5616
5654
|
property :enable_nested_virtualization, as: 'enableNestedVirtualization'
|
5655
|
+
property :threads_per_core, as: 'threadsPerCore'
|
5617
5656
|
end
|
5618
5657
|
end
|
5619
5658
|
|
@@ -5642,6 +5681,8 @@ module Google
|
|
5642
5681
|
|
5643
5682
|
property :location_hint, as: 'locationHint'
|
5644
5683
|
property :machine_type, as: 'machineType'
|
5684
|
+
property :maintenance_freeze_duration_hours, as: 'maintenanceFreezeDurationHours'
|
5685
|
+
property :maintenance_interval, as: 'maintenanceInterval'
|
5645
5686
|
property :min_cpu_platform, as: 'minCpuPlatform'
|
5646
5687
|
end
|
5647
5688
|
end
|
@@ -5956,9 +5997,11 @@ module Google
|
|
5956
5997
|
property :bucket_name, as: 'bucketName'
|
5957
5998
|
property :cdn_policy, as: 'cdnPolicy', class: Google::Apis::ComputeBeta::BackendBucketCdnPolicy, decorator: Google::Apis::ComputeBeta::BackendBucketCdnPolicy::Representation
|
5958
5999
|
|
6000
|
+
property :compression_mode, as: 'compressionMode'
|
5959
6001
|
property :creation_timestamp, as: 'creationTimestamp'
|
5960
6002
|
collection :custom_response_headers, as: 'customResponseHeaders'
|
5961
6003
|
property :description, as: 'description'
|
6004
|
+
property :edge_security_policy, as: 'edgeSecurityPolicy'
|
5962
6005
|
property :enable_cdn, as: 'enableCdn'
|
5963
6006
|
property :id, :numeric_string => true, as: 'id'
|
5964
6007
|
property :kind, as: 'kind'
|
@@ -5972,6 +6015,8 @@ module Google
|
|
5972
6015
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5973
6016
|
collection :bypass_cache_on_request_headers, as: 'bypassCacheOnRequestHeaders', class: Google::Apis::ComputeBeta::BackendBucketCdnPolicyBypassCacheOnRequestHeader, decorator: Google::Apis::ComputeBeta::BackendBucketCdnPolicyBypassCacheOnRequestHeader::Representation
|
5974
6017
|
|
6018
|
+
property :cache_key_policy, as: 'cacheKeyPolicy', class: Google::Apis::ComputeBeta::BackendBucketCdnPolicyCacheKeyPolicy, decorator: Google::Apis::ComputeBeta::BackendBucketCdnPolicyCacheKeyPolicy::Representation
|
6019
|
+
|
5975
6020
|
property :cache_mode, as: 'cacheMode'
|
5976
6021
|
property :client_ttl, as: 'clientTtl'
|
5977
6022
|
property :default_ttl, as: 'defaultTtl'
|
@@ -5993,6 +6038,14 @@ module Google
|
|
5993
6038
|
end
|
5994
6039
|
end
|
5995
6040
|
|
6041
|
+
class BackendBucketCdnPolicyCacheKeyPolicy
|
6042
|
+
# @private
|
6043
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6044
|
+
collection :include_http_headers, as: 'includeHttpHeaders'
|
6045
|
+
collection :query_string_whitelist, as: 'queryStringWhitelist'
|
6046
|
+
end
|
6047
|
+
end
|
6048
|
+
|
5996
6049
|
class BackendBucketCdnPolicyNegativeCachingPolicy
|
5997
6050
|
# @private
|
5998
6051
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6043,6 +6096,7 @@ module Google
|
|
6043
6096
|
|
6044
6097
|
property :circuit_breakers, as: 'circuitBreakers', class: Google::Apis::ComputeBeta::CircuitBreakers, decorator: Google::Apis::ComputeBeta::CircuitBreakers::Representation
|
6045
6098
|
|
6099
|
+
property :compression_mode, as: 'compressionMode'
|
6046
6100
|
property :connection_draining, as: 'connectionDraining', class: Google::Apis::ComputeBeta::ConnectionDraining, decorator: Google::Apis::ComputeBeta::ConnectionDraining::Representation
|
6047
6101
|
|
6048
6102
|
property :connection_tracking_policy, as: 'connectionTrackingPolicy', class: Google::Apis::ComputeBeta::BackendServiceConnectionTrackingPolicy, decorator: Google::Apis::ComputeBeta::BackendServiceConnectionTrackingPolicy::Representation
|
@@ -6053,6 +6107,7 @@ module Google
|
|
6053
6107
|
collection :custom_request_headers, as: 'customRequestHeaders'
|
6054
6108
|
collection :custom_response_headers, as: 'customResponseHeaders'
|
6055
6109
|
property :description, as: 'description'
|
6110
|
+
property :edge_security_policy, as: 'edgeSecurityPolicy'
|
6056
6111
|
property :enable_cdn, as: 'enableCDN'
|
6057
6112
|
property :failover_policy, as: 'failoverPolicy', class: Google::Apis::ComputeBeta::BackendServiceFailoverPolicy, decorator: Google::Apis::ComputeBeta::BackendServiceFailoverPolicy::Representation
|
6058
6113
|
|
@@ -6367,6 +6422,8 @@ module Google
|
|
6367
6422
|
# @private
|
6368
6423
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6369
6424
|
property :include_host, as: 'includeHost'
|
6425
|
+
collection :include_http_headers, as: 'includeHttpHeaders'
|
6426
|
+
collection :include_named_cookies, as: 'includeNamedCookies'
|
6370
6427
|
property :include_protocol, as: 'includeProtocol'
|
6371
6428
|
property :include_query_string, as: 'includeQueryString'
|
6372
6429
|
collection :query_string_blacklist, as: 'queryStringBlacklist'
|
@@ -7211,7 +7268,6 @@ module Google
|
|
7211
7268
|
property :priority, as: 'priority'
|
7212
7269
|
property :rule_tuple_count, as: 'ruleTupleCount'
|
7213
7270
|
collection :target_resources, as: 'targetResources'
|
7214
|
-
collection :target_secure_labels, as: 'targetSecureLabels'
|
7215
7271
|
collection :target_service_accounts, as: 'targetServiceAccounts'
|
7216
7272
|
end
|
7217
7273
|
end
|
@@ -7223,7 +7279,6 @@ module Google
|
|
7223
7279
|
collection :layer4_configs, as: 'layer4Configs', class: Google::Apis::ComputeBeta::FirewallPolicyRuleMatcherLayer4Config, decorator: Google::Apis::ComputeBeta::FirewallPolicyRuleMatcherLayer4Config::Representation
|
7224
7280
|
|
7225
7281
|
collection :src_ip_ranges, as: 'srcIpRanges'
|
7226
|
-
collection :src_secure_labels, as: 'srcSecureLabels'
|
7227
7282
|
end
|
7228
7283
|
end
|
7229
7284
|
|
@@ -7270,6 +7325,7 @@ module Google
|
|
7270
7325
|
property :port_range, as: 'portRange'
|
7271
7326
|
collection :ports, as: 'ports'
|
7272
7327
|
property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
|
7328
|
+
property :psc_connection_status, as: 'pscConnectionStatus'
|
7273
7329
|
property :region, as: 'region'
|
7274
7330
|
property :self_link, as: 'selfLink'
|
7275
7331
|
collection :service_directory_registrations, as: 'serviceDirectoryRegistrations', class: Google::Apis::ComputeBeta::ForwardingRuleServiceDirectoryRegistration, decorator: Google::Apis::ComputeBeta::ForwardingRuleServiceDirectoryRegistration::Representation
|
@@ -7723,6 +7779,8 @@ module Google
|
|
7723
7779
|
# @private
|
7724
7780
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7725
7781
|
hash :annotations, as: 'annotations'
|
7782
|
+
property :forwarding_rule, as: 'forwardingRule'
|
7783
|
+
property :forwarding_rule_ip, as: 'forwardingRuleIp'
|
7726
7784
|
property :health_state, as: 'healthState'
|
7727
7785
|
property :instance, as: 'instance'
|
7728
7786
|
property :ip_address, as: 'ipAddress'
|
@@ -8075,6 +8133,14 @@ module Google
|
|
8075
8133
|
end
|
8076
8134
|
end
|
8077
8135
|
|
8136
|
+
class ImageFamilyView
|
8137
|
+
# @private
|
8138
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8139
|
+
property :image, as: 'image', class: Google::Apis::ComputeBeta::Image, decorator: Google::Apis::ComputeBeta::Image::Representation
|
8140
|
+
|
8141
|
+
end
|
8142
|
+
end
|
8143
|
+
|
8078
8144
|
class ImageList
|
8079
8145
|
# @private
|
8080
8146
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8479,6 +8545,7 @@ module Google
|
|
8479
8545
|
|
8480
8546
|
property :min_ready_sec, as: 'minReadySec'
|
8481
8547
|
property :minimal_action, as: 'minimalAction'
|
8548
|
+
property :most_disruptive_allowed_action, as: 'mostDisruptiveAllowedAction'
|
8482
8549
|
property :replacement_method, as: 'replacementMethod'
|
8483
8550
|
property :type, as: 'type'
|
8484
8551
|
end
|
@@ -10180,12 +10247,16 @@ module Google
|
|
10180
10247
|
collection :alias_ip_ranges, as: 'aliasIpRanges', class: Google::Apis::ComputeBeta::AliasIpRange, decorator: Google::Apis::ComputeBeta::AliasIpRange::Representation
|
10181
10248
|
|
10182
10249
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
10250
|
+
collection :ipv6_access_configs, as: 'ipv6AccessConfigs', class: Google::Apis::ComputeBeta::AccessConfig, decorator: Google::Apis::ComputeBeta::AccessConfig::Representation
|
10251
|
+
|
10252
|
+
property :ipv6_access_type, as: 'ipv6AccessType'
|
10183
10253
|
property :ipv6_address, as: 'ipv6Address'
|
10184
10254
|
property :kind, as: 'kind'
|
10185
10255
|
property :name, as: 'name'
|
10186
10256
|
property :network, as: 'network'
|
10187
10257
|
property :network_ip, as: 'networkIP'
|
10188
10258
|
property :nic_type, as: 'nicType'
|
10259
|
+
property :stack_type, as: 'stackType'
|
10189
10260
|
property :subnetwork, as: 'subnetwork'
|
10190
10261
|
end
|
10191
10262
|
end
|
@@ -12776,7 +12847,10 @@ module Google
|
|
12776
12847
|
# @private
|
12777
12848
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12778
12849
|
property :automatic_restart, as: 'automaticRestart'
|
12850
|
+
property :host_error_timeout_seconds, as: 'hostErrorTimeoutSeconds'
|
12779
12851
|
property :location_hint, as: 'locationHint'
|
12852
|
+
property :maintenance_freeze_duration_hours, as: 'maintenanceFreezeDurationHours'
|
12853
|
+
property :maintenance_interval, as: 'maintenanceInterval'
|
12780
12854
|
property :min_node_cpus, as: 'minNodeCpus'
|
12781
12855
|
collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::ComputeBeta::SchedulingNodeAffinity, decorator: Google::Apis::ComputeBeta::SchedulingNodeAffinity::Representation
|
12782
12856
|
|
@@ -12823,6 +12897,8 @@ module Google
|
|
12823
12897
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12824
12898
|
property :adaptive_protection_config, as: 'adaptiveProtectionConfig', class: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfig, decorator: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfig::Representation
|
12825
12899
|
|
12900
|
+
property :advanced_options_config, as: 'advancedOptionsConfig', class: Google::Apis::ComputeBeta::SecurityPolicyAdvancedOptionsConfig, decorator: Google::Apis::ComputeBeta::SecurityPolicyAdvancedOptionsConfig::Representation
|
12901
|
+
|
12826
12902
|
collection :associations, as: 'associations', class: Google::Apis::ComputeBeta::SecurityPolicyAssociation, decorator: Google::Apis::ComputeBeta::SecurityPolicyAssociation::Representation
|
12827
12903
|
|
12828
12904
|
property :creation_timestamp, as: 'creationTimestamp'
|
@@ -12860,6 +12936,14 @@ module Google
|
|
12860
12936
|
end
|
12861
12937
|
end
|
12862
12938
|
|
12939
|
+
class SecurityPolicyAdvancedOptionsConfig
|
12940
|
+
# @private
|
12941
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12942
|
+
property :json_parsing, as: 'jsonParsing'
|
12943
|
+
property :log_level, as: 'logLevel'
|
12944
|
+
end
|
12945
|
+
end
|
12946
|
+
|
12863
12947
|
class SecurityPolicyAssociation
|
12864
12948
|
# @private
|
12865
12949
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12994,19 +13078,28 @@ module Google
|
|
12994
13078
|
class ServiceAttachment
|
12995
13079
|
# @private
|
12996
13080
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13081
|
+
collection :connected_endpoints, as: 'connectedEndpoints', class: Google::Apis::ComputeBeta::ServiceAttachmentConnectedEndpoint, decorator: Google::Apis::ComputeBeta::ServiceAttachmentConnectedEndpoint::Representation
|
13082
|
+
|
12997
13083
|
property :connection_preference, as: 'connectionPreference'
|
13084
|
+
collection :consumer_accept_lists, as: 'consumerAcceptLists', class: Google::Apis::ComputeBeta::ServiceAttachmentConsumerProjectLimit, decorator: Google::Apis::ComputeBeta::ServiceAttachmentConsumerProjectLimit::Representation
|
13085
|
+
|
12998
13086
|
collection :consumer_forwarding_rules, as: 'consumerForwardingRules', class: Google::Apis::ComputeBeta::ServiceAttachmentConsumerForwardingRule, decorator: Google::Apis::ComputeBeta::ServiceAttachmentConsumerForwardingRule::Representation
|
12999
13087
|
|
13088
|
+
collection :consumer_reject_lists, as: 'consumerRejectLists'
|
13000
13089
|
property :creation_timestamp, as: 'creationTimestamp'
|
13001
13090
|
property :description, as: 'description'
|
13002
13091
|
property :enable_proxy_protocol, as: 'enableProxyProtocol'
|
13092
|
+
property :fingerprint, :base64 => true, as: 'fingerprint'
|
13003
13093
|
property :id, :numeric_string => true, as: 'id'
|
13004
13094
|
property :kind, as: 'kind'
|
13005
13095
|
property :name, as: 'name'
|
13006
13096
|
collection :nat_subnets, as: 'natSubnets'
|
13007
13097
|
property :producer_forwarding_rule, as: 'producerForwardingRule'
|
13098
|
+
property :psc_service_attachment_id, as: 'pscServiceAttachmentId', class: Google::Apis::ComputeBeta::Uint128, decorator: Google::Apis::ComputeBeta::Uint128::Representation
|
13099
|
+
|
13008
13100
|
property :region, as: 'region'
|
13009
13101
|
property :self_link, as: 'selfLink'
|
13102
|
+
property :target_service, as: 'targetService'
|
13010
13103
|
end
|
13011
13104
|
end
|
13012
13105
|
|
@@ -13043,14 +13136,33 @@ module Google
|
|
13043
13136
|
end
|
13044
13137
|
end
|
13045
13138
|
|
13139
|
+
class ServiceAttachmentConnectedEndpoint
|
13140
|
+
# @private
|
13141
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13142
|
+
property :endpoint, as: 'endpoint'
|
13143
|
+
property :forwarding_rule, as: 'forwardingRule'
|
13144
|
+
property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
|
13145
|
+
property :status, as: 'status'
|
13146
|
+
end
|
13147
|
+
end
|
13148
|
+
|
13046
13149
|
class ServiceAttachmentConsumerForwardingRule
|
13047
13150
|
# @private
|
13048
13151
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13049
13152
|
property :forwarding_rule, as: 'forwardingRule'
|
13153
|
+
property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
|
13050
13154
|
property :status, as: 'status'
|
13051
13155
|
end
|
13052
13156
|
end
|
13053
13157
|
|
13158
|
+
class ServiceAttachmentConsumerProjectLimit
|
13159
|
+
# @private
|
13160
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13161
|
+
property :connection_limit, as: 'connectionLimit'
|
13162
|
+
property :project_id_or_num, as: 'projectIdOrNum'
|
13163
|
+
end
|
13164
|
+
end
|
13165
|
+
|
13054
13166
|
class ServiceAttachmentList
|
13055
13167
|
# @private
|
13056
13168
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13086,7 +13198,7 @@ module Google
|
|
13086
13198
|
class ServiceAttachmentsScopedList
|
13087
13199
|
# @private
|
13088
13200
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13089
|
-
collection :
|
13201
|
+
collection :service_attachments, as: 'serviceAttachments', class: Google::Apis::ComputeBeta::ServiceAttachment, decorator: Google::Apis::ComputeBeta::ServiceAttachment::Representation
|
13090
13202
|
|
13091
13203
|
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::ServiceAttachmentsScopedList::Warning, decorator: Google::Apis::ComputeBeta::ServiceAttachmentsScopedList::Warning::Representation
|
13092
13204
|
|
@@ -13543,10 +13655,12 @@ module Google
|
|
13543
13655
|
property :creation_timestamp, as: 'creationTimestamp'
|
13544
13656
|
property :description, as: 'description'
|
13545
13657
|
property :enable_flow_logs, as: 'enableFlowLogs'
|
13658
|
+
property :external_ipv6_prefix, as: 'externalIpv6Prefix'
|
13546
13659
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
13547
13660
|
property :gateway_address, as: 'gatewayAddress'
|
13548
13661
|
property :id, :numeric_string => true, as: 'id'
|
13549
13662
|
property :ip_cidr_range, as: 'ipCidrRange'
|
13663
|
+
property :ipv6_access_type, as: 'ipv6AccessType'
|
13550
13664
|
property :ipv6_cidr_range, as: 'ipv6CidrRange'
|
13551
13665
|
property :kind, as: 'kind'
|
13552
13666
|
property :log_config, as: 'logConfig', class: Google::Apis::ComputeBeta::SubnetworkLogConfig, decorator: Google::Apis::ComputeBeta::SubnetworkLogConfig::Representation
|
@@ -13561,6 +13675,7 @@ module Google
|
|
13561
13675
|
collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ComputeBeta::SubnetworkSecondaryRange, decorator: Google::Apis::ComputeBeta::SubnetworkSecondaryRange::Representation
|
13562
13676
|
|
13563
13677
|
property :self_link, as: 'selfLink'
|
13678
|
+
property :stack_type, as: 'stackType'
|
13564
13679
|
property :state, as: 'state'
|
13565
13680
|
end
|
13566
13681
|
end
|
@@ -14548,6 +14663,14 @@ module Google
|
|
14548
14663
|
end
|
14549
14664
|
end
|
14550
14665
|
|
14666
|
+
class Uint128
|
14667
|
+
# @private
|
14668
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14669
|
+
property :high, :numeric_string => true, as: 'high'
|
14670
|
+
property :low, :numeric_string => true, as: 'low'
|
14671
|
+
end
|
14672
|
+
end
|
14673
|
+
|
14551
14674
|
class UrlMap
|
14552
14675
|
# @private
|
14553
14676
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1518,6 +1518,58 @@ module Google
|
|
1518
1518
|
execute_or_queue_command(command, &block)
|
1519
1519
|
end
|
1520
1520
|
|
1521
|
+
# Sets the edge security policy for the specified backend bucket.
|
1522
|
+
# @param [String] project
|
1523
|
+
# Project ID for this request.
|
1524
|
+
# @param [String] backend_bucket
|
1525
|
+
# Name of the BackendService resource to which the security policy should be set.
|
1526
|
+
# The name should conform to RFC1035.
|
1527
|
+
# @param [Google::Apis::ComputeBeta::SecurityPolicyReference] security_policy_reference_object
|
1528
|
+
# @param [String] request_id
|
1529
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
1530
|
+
# that if you must retry your request, the server will know to ignore the
|
1531
|
+
# request if it has already been completed.
|
1532
|
+
# For example, consider a situation where you make an initial request and the
|
1533
|
+
# request times out. If you make the request again with the same request ID, the
|
1534
|
+
# server can check if original operation with the same request ID was received,
|
1535
|
+
# and if so, will ignore the second request. This prevents clients from
|
1536
|
+
# accidentally creating duplicate commitments.
|
1537
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
1538
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
1539
|
+
# @param [String] fields
|
1540
|
+
# Selector specifying which fields to include in a partial response.
|
1541
|
+
# @param [String] quota_user
|
1542
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1543
|
+
# characters.
|
1544
|
+
# @param [String] user_ip
|
1545
|
+
# Deprecated. Please use quotaUser instead.
|
1546
|
+
# @param [Google::Apis::RequestOptions] options
|
1547
|
+
# Request-specific options
|
1548
|
+
#
|
1549
|
+
# @yield [result, err] Result & error if block supplied
|
1550
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
1551
|
+
# @yieldparam err [StandardError] error object if request failed
|
1552
|
+
#
|
1553
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
1554
|
+
#
|
1555
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1556
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1557
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1558
|
+
def set_backend_bucket_edge_security_policy(project, backend_bucket, security_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1559
|
+
command = make_simple_command(:post, 'projects/{project}/global/backendBuckets/{backendBucket}/setEdgeSecurityPolicy', options)
|
1560
|
+
command.request_representation = Google::Apis::ComputeBeta::SecurityPolicyReference::Representation
|
1561
|
+
command.request_object = security_policy_reference_object
|
1562
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
1563
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
1564
|
+
command.params['project'] = project unless project.nil?
|
1565
|
+
command.params['backendBucket'] = backend_bucket unless backend_bucket.nil?
|
1566
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1567
|
+
command.query['fields'] = fields unless fields.nil?
|
1568
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1569
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
1570
|
+
execute_or_queue_command(command, &block)
|
1571
|
+
end
|
1572
|
+
|
1521
1573
|
# Sets the access control policy on the specified resource. Replaces any
|
1522
1574
|
# existing policy.
|
1523
1575
|
# @param [String] project
|
@@ -1963,6 +2015,46 @@ module Google
|
|
1963
2015
|
execute_or_queue_command(command, &block)
|
1964
2016
|
end
|
1965
2017
|
|
2018
|
+
# Gets the access control policy for a resource. May be empty if no such policy
|
2019
|
+
# or resource exists.
|
2020
|
+
# @param [String] project
|
2021
|
+
# Project ID for this request.
|
2022
|
+
# @param [String] resource
|
2023
|
+
# Name or id of the resource for this request.
|
2024
|
+
# @param [Fixnum] options_requested_policy_version
|
2025
|
+
# Requested IAM Policy version.
|
2026
|
+
# @param [String] fields
|
2027
|
+
# Selector specifying which fields to include in a partial response.
|
2028
|
+
# @param [String] quota_user
|
2029
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
2030
|
+
# characters.
|
2031
|
+
# @param [String] user_ip
|
2032
|
+
# Deprecated. Please use quotaUser instead.
|
2033
|
+
# @param [Google::Apis::RequestOptions] options
|
2034
|
+
# Request-specific options
|
2035
|
+
#
|
2036
|
+
# @yield [result, err] Result & error if block supplied
|
2037
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
|
2038
|
+
# @yieldparam err [StandardError] error object if request failed
|
2039
|
+
#
|
2040
|
+
# @return [Google::Apis::ComputeBeta::Policy]
|
2041
|
+
#
|
2042
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2043
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2044
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2045
|
+
def get_backend_service_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2046
|
+
command = make_simple_command(:get, 'projects/{project}/global/backendServices/{resource}/getIamPolicy', options)
|
2047
|
+
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
2048
|
+
command.response_class = Google::Apis::ComputeBeta::Policy
|
2049
|
+
command.params['project'] = project unless project.nil?
|
2050
|
+
command.params['resource'] = resource unless resource.nil?
|
2051
|
+
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
2052
|
+
command.query['fields'] = fields unless fields.nil?
|
2053
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2054
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2055
|
+
execute_or_queue_command(command, &block)
|
2056
|
+
end
|
2057
|
+
|
1966
2058
|
# Creates a BackendService resource in the specified project using the data
|
1967
2059
|
# included in the request. For more information, see Backend services overview.
|
1968
2060
|
# @param [String] project
|
@@ -2142,6 +2234,98 @@ module Google
|
|
2142
2234
|
execute_or_queue_command(command, &block)
|
2143
2235
|
end
|
2144
2236
|
|
2237
|
+
# Sets the edge security policy for the specified backend service.
|
2238
|
+
# @param [String] project
|
2239
|
+
# Project ID for this request.
|
2240
|
+
# @param [String] backend_service
|
2241
|
+
# Name of the BackendService resource to which the edge security policy should
|
2242
|
+
# be set. The name should conform to RFC1035.
|
2243
|
+
# @param [Google::Apis::ComputeBeta::SecurityPolicyReference] security_policy_reference_object
|
2244
|
+
# @param [String] request_id
|
2245
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
2246
|
+
# that if you must retry your request, the server will know to ignore the
|
2247
|
+
# request if it has already been completed.
|
2248
|
+
# For example, consider a situation where you make an initial request and the
|
2249
|
+
# request times out. If you make the request again with the same request ID, the
|
2250
|
+
# server can check if original operation with the same request ID was received,
|
2251
|
+
# and if so, will ignore the second request. This prevents clients from
|
2252
|
+
# accidentally creating duplicate commitments.
|
2253
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
2254
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
2255
|
+
# @param [String] fields
|
2256
|
+
# Selector specifying which fields to include in a partial response.
|
2257
|
+
# @param [String] quota_user
|
2258
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
2259
|
+
# characters.
|
2260
|
+
# @param [String] user_ip
|
2261
|
+
# Deprecated. Please use quotaUser instead.
|
2262
|
+
# @param [Google::Apis::RequestOptions] options
|
2263
|
+
# Request-specific options
|
2264
|
+
#
|
2265
|
+
# @yield [result, err] Result & error if block supplied
|
2266
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
2267
|
+
# @yieldparam err [StandardError] error object if request failed
|
2268
|
+
#
|
2269
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
2270
|
+
#
|
2271
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2272
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2273
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2274
|
+
def set_backend_service_edge_security_policy(project, backend_service, security_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2275
|
+
command = make_simple_command(:post, 'projects/{project}/global/backendServices/{backendService}/setEdgeSecurityPolicy', options)
|
2276
|
+
command.request_representation = Google::Apis::ComputeBeta::SecurityPolicyReference::Representation
|
2277
|
+
command.request_object = security_policy_reference_object
|
2278
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
2279
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
2280
|
+
command.params['project'] = project unless project.nil?
|
2281
|
+
command.params['backendService'] = backend_service unless backend_service.nil?
|
2282
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
2283
|
+
command.query['fields'] = fields unless fields.nil?
|
2284
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2285
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2286
|
+
execute_or_queue_command(command, &block)
|
2287
|
+
end
|
2288
|
+
|
2289
|
+
# Sets the access control policy on the specified resource. Replaces any
|
2290
|
+
# existing policy.
|
2291
|
+
# @param [String] project
|
2292
|
+
# Project ID for this request.
|
2293
|
+
# @param [String] resource
|
2294
|
+
# Name or id of the resource for this request.
|
2295
|
+
# @param [Google::Apis::ComputeBeta::GlobalSetPolicyRequest] global_set_policy_request_object
|
2296
|
+
# @param [String] fields
|
2297
|
+
# Selector specifying which fields to include in a partial response.
|
2298
|
+
# @param [String] quota_user
|
2299
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
2300
|
+
# characters.
|
2301
|
+
# @param [String] user_ip
|
2302
|
+
# Deprecated. Please use quotaUser instead.
|
2303
|
+
# @param [Google::Apis::RequestOptions] options
|
2304
|
+
# Request-specific options
|
2305
|
+
#
|
2306
|
+
# @yield [result, err] Result & error if block supplied
|
2307
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
|
2308
|
+
# @yieldparam err [StandardError] error object if request failed
|
2309
|
+
#
|
2310
|
+
# @return [Google::Apis::ComputeBeta::Policy]
|
2311
|
+
#
|
2312
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2313
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2314
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2315
|
+
def set_backend_service_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2316
|
+
command = make_simple_command(:post, 'projects/{project}/global/backendServices/{resource}/setIamPolicy', options)
|
2317
|
+
command.request_representation = Google::Apis::ComputeBeta::GlobalSetPolicyRequest::Representation
|
2318
|
+
command.request_object = global_set_policy_request_object
|
2319
|
+
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
2320
|
+
command.response_class = Google::Apis::ComputeBeta::Policy
|
2321
|
+
command.params['project'] = project unless project.nil?
|
2322
|
+
command.params['resource'] = resource unless resource.nil?
|
2323
|
+
command.query['fields'] = fields unless fields.nil?
|
2324
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2325
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
2326
|
+
execute_or_queue_command(command, &block)
|
2327
|
+
end
|
2328
|
+
|
2145
2329
|
# Sets the Google Cloud Armor security policy for the specified backend service.
|
2146
2330
|
# For more information, see Google Cloud Armor Overview
|
2147
2331
|
# @param [String] project
|
@@ -3880,7 +4064,8 @@ module Google
|
|
3880
4064
|
execute_or_queue_command(command, &block)
|
3881
4065
|
end
|
3882
4066
|
|
3883
|
-
# Lists all the policies that have been configured for the specified
|
4067
|
+
# Lists all the policies that have been configured for the specified folder or
|
4068
|
+
# organization.
|
3884
4069
|
# @param [String] filter
|
3885
4070
|
# A filter expression that filters resources listed in the response. The
|
3886
4071
|
# expression must specify the field name, a comparison operator, and the value
|
@@ -8074,6 +8259,46 @@ module Google
|
|
8074
8259
|
execute_or_queue_command(command, &block)
|
8075
8260
|
end
|
8076
8261
|
|
8262
|
+
# Returns the latest image that is part of an image family, is not deprecated
|
8263
|
+
# and is rolled out in the specified zone.
|
8264
|
+
# @param [String] project
|
8265
|
+
# Project ID for this request.
|
8266
|
+
# @param [String] zone
|
8267
|
+
# The name of the zone for this request.
|
8268
|
+
# @param [String] family
|
8269
|
+
# Name of the image family to search for.
|
8270
|
+
# @param [String] fields
|
8271
|
+
# Selector specifying which fields to include in a partial response.
|
8272
|
+
# @param [String] quota_user
|
8273
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
8274
|
+
# characters.
|
8275
|
+
# @param [String] user_ip
|
8276
|
+
# Deprecated. Please use quotaUser instead.
|
8277
|
+
# @param [Google::Apis::RequestOptions] options
|
8278
|
+
# Request-specific options
|
8279
|
+
#
|
8280
|
+
# @yield [result, err] Result & error if block supplied
|
8281
|
+
# @yieldparam result [Google::Apis::ComputeBeta::ImageFamilyView] parsed result object
|
8282
|
+
# @yieldparam err [StandardError] error object if request failed
|
8283
|
+
#
|
8284
|
+
# @return [Google::Apis::ComputeBeta::ImageFamilyView]
|
8285
|
+
#
|
8286
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8287
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8288
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8289
|
+
def get_image_family_view(project, zone, family, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
8290
|
+
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/imageFamilyViews/{family}', options)
|
8291
|
+
command.response_representation = Google::Apis::ComputeBeta::ImageFamilyView::Representation
|
8292
|
+
command.response_class = Google::Apis::ComputeBeta::ImageFamilyView
|
8293
|
+
command.params['project'] = project unless project.nil?
|
8294
|
+
command.params['zone'] = zone unless zone.nil?
|
8295
|
+
command.params['family'] = family unless family.nil?
|
8296
|
+
command.query['fields'] = fields unless fields.nil?
|
8297
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
8298
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
8299
|
+
execute_or_queue_command(command, &block)
|
8300
|
+
end
|
8301
|
+
|
8077
8302
|
# Deletes the specified image.
|
8078
8303
|
# @param [String] project
|
8079
8304
|
# Project ID for this request.
|
@@ -9548,12 +9773,12 @@ module Google
|
|
9548
9773
|
execute_or_queue_command(command, &block)
|
9549
9774
|
end
|
9550
9775
|
|
9551
|
-
# Flags the specified instances in the managed instance group to be
|
9552
|
-
# recreated.
|
9553
|
-
#
|
9554
|
-
# the
|
9555
|
-
#
|
9556
|
-
#
|
9776
|
+
# Flags the specified VM instances in the managed instance group to be
|
9777
|
+
# immediately recreated. Each instance is recreated using the group's current
|
9778
|
+
# configuration. This operation is marked as DONE when the flag is set even if
|
9779
|
+
# the instances have not yet been recreated. You must separately verify the
|
9780
|
+
# status of each instance by checking its currentAction field; for more
|
9781
|
+
# information, see Checking the status of managed instances.
|
9557
9782
|
# If the group is part of a backend service that has enabled connection draining,
|
9558
9783
|
# it can take up to 60 seconds after the connection draining duration has
|
9559
9784
|
# elapsed before the VM instance is removed or deleted.
|
@@ -11326,8 +11551,8 @@ module Google
|
|
11326
11551
|
execute_or_queue_command(command, &block)
|
11327
11552
|
end
|
11328
11553
|
|
11329
|
-
# Deletes the specified Instance resource. For more information, see
|
11330
|
-
#
|
11554
|
+
# Deletes the specified Instance resource. For more information, see Deleting an
|
11555
|
+
# instance.
|
11331
11556
|
# @param [String] project
|
11332
11557
|
# Project ID for this request.
|
11333
11558
|
# @param [String] zone
|
@@ -20982,6 +21207,49 @@ module Google
|
|
20982
21207
|
execute_or_queue_command(command, &block)
|
20983
21208
|
end
|
20984
21209
|
|
21210
|
+
# Gets the access control policy for a resource. May be empty if no such policy
|
21211
|
+
# or resource exists.
|
21212
|
+
# @param [String] project
|
21213
|
+
# Project ID for this request.
|
21214
|
+
# @param [String] region
|
21215
|
+
# The name of the region for this request.
|
21216
|
+
# @param [String] resource
|
21217
|
+
# Name or id of the resource for this request.
|
21218
|
+
# @param [Fixnum] options_requested_policy_version
|
21219
|
+
# Requested IAM Policy version.
|
21220
|
+
# @param [String] fields
|
21221
|
+
# Selector specifying which fields to include in a partial response.
|
21222
|
+
# @param [String] quota_user
|
21223
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
21224
|
+
# characters.
|
21225
|
+
# @param [String] user_ip
|
21226
|
+
# Deprecated. Please use quotaUser instead.
|
21227
|
+
# @param [Google::Apis::RequestOptions] options
|
21228
|
+
# Request-specific options
|
21229
|
+
#
|
21230
|
+
# @yield [result, err] Result & error if block supplied
|
21231
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
|
21232
|
+
# @yieldparam err [StandardError] error object if request failed
|
21233
|
+
#
|
21234
|
+
# @return [Google::Apis::ComputeBeta::Policy]
|
21235
|
+
#
|
21236
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
21237
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
21238
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
21239
|
+
def get_region_backend_service_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
21240
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/backendServices/{resource}/getIamPolicy', options)
|
21241
|
+
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
21242
|
+
command.response_class = Google::Apis::ComputeBeta::Policy
|
21243
|
+
command.params['project'] = project unless project.nil?
|
21244
|
+
command.params['region'] = region unless region.nil?
|
21245
|
+
command.params['resource'] = resource unless resource.nil?
|
21246
|
+
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
21247
|
+
command.query['fields'] = fields unless fields.nil?
|
21248
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
21249
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
21250
|
+
execute_or_queue_command(command, &block)
|
21251
|
+
end
|
21252
|
+
|
20985
21253
|
# Creates a regional BackendService resource in the specified project using the
|
20986
21254
|
# data included in the request. For more information, see Backend services
|
20987
21255
|
# overview.
|
@@ -21171,6 +21439,49 @@ module Google
|
|
21171
21439
|
execute_or_queue_command(command, &block)
|
21172
21440
|
end
|
21173
21441
|
|
21442
|
+
# Sets the access control policy on the specified resource. Replaces any
|
21443
|
+
# existing policy.
|
21444
|
+
# @param [String] project
|
21445
|
+
# Project ID for this request.
|
21446
|
+
# @param [String] region
|
21447
|
+
# The name of the region for this request.
|
21448
|
+
# @param [String] resource
|
21449
|
+
# Name or id of the resource for this request.
|
21450
|
+
# @param [Google::Apis::ComputeBeta::RegionSetPolicyRequest] region_set_policy_request_object
|
21451
|
+
# @param [String] fields
|
21452
|
+
# Selector specifying which fields to include in a partial response.
|
21453
|
+
# @param [String] quota_user
|
21454
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
21455
|
+
# characters.
|
21456
|
+
# @param [String] user_ip
|
21457
|
+
# Deprecated. Please use quotaUser instead.
|
21458
|
+
# @param [Google::Apis::RequestOptions] options
|
21459
|
+
# Request-specific options
|
21460
|
+
#
|
21461
|
+
# @yield [result, err] Result & error if block supplied
|
21462
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
|
21463
|
+
# @yieldparam err [StandardError] error object if request failed
|
21464
|
+
#
|
21465
|
+
# @return [Google::Apis::ComputeBeta::Policy]
|
21466
|
+
#
|
21467
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
21468
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
21469
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
21470
|
+
def set_region_backend_service_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
21471
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/backendServices/{resource}/setIamPolicy', options)
|
21472
|
+
command.request_representation = Google::Apis::ComputeBeta::RegionSetPolicyRequest::Representation
|
21473
|
+
command.request_object = region_set_policy_request_object
|
21474
|
+
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
21475
|
+
command.response_class = Google::Apis::ComputeBeta::Policy
|
21476
|
+
command.params['project'] = project unless project.nil?
|
21477
|
+
command.params['region'] = region unless region.nil?
|
21478
|
+
command.params['resource'] = resource unless resource.nil?
|
21479
|
+
command.query['fields'] = fields unless fields.nil?
|
21480
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
21481
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
21482
|
+
execute_or_queue_command(command, &block)
|
21483
|
+
end
|
21484
|
+
|
21174
21485
|
# Returns permissions that a caller has on the specified resource.
|
21175
21486
|
# @param [String] project
|
21176
21487
|
# Project ID for this request.
|
@@ -23919,12 +24230,12 @@ module Google
|
|
23919
24230
|
execute_or_queue_command(command, &block)
|
23920
24231
|
end
|
23921
24232
|
|
23922
|
-
# Flags the specified instances in the managed instance group to be
|
23923
|
-
# recreated.
|
23924
|
-
#
|
23925
|
-
# the
|
23926
|
-
#
|
23927
|
-
#
|
24233
|
+
# Flags the specified VM instances in the managed instance group to be
|
24234
|
+
# immediately recreated. Each instance is recreated using the group's current
|
24235
|
+
# configuration. This operation is marked as DONE when the flag is set even if
|
24236
|
+
# the instances have not yet been recreated. You must separately verify the
|
24237
|
+
# status of each instance by checking its currentAction field; for more
|
24238
|
+
# information, see Checking the status of managed instances.
|
23928
24239
|
# If the group is part of a backend service that has enabled connection draining,
|
23929
24240
|
# it can take up to 60 seconds after the connection draining duration has
|
23930
24241
|
# elapsed before the VM instance is removed or deleted.
|
@@ -29632,6 +29943,63 @@ module Google
|
|
29632
29943
|
execute_or_queue_command(command, &block)
|
29633
29944
|
end
|
29634
29945
|
|
29946
|
+
# Patches the specified ServiceAttachment resource with the data included in the
|
29947
|
+
# request. This method supports PATCH semantics and uses JSON merge patch format
|
29948
|
+
# and processing rules.
|
29949
|
+
# @param [String] project
|
29950
|
+
# Project ID for this request.
|
29951
|
+
# @param [String] region
|
29952
|
+
# The region scoping this request and should conform to RFC1035.
|
29953
|
+
# @param [String] service_attachment
|
29954
|
+
# The resource id of the ServiceAttachment to patch. It should conform to
|
29955
|
+
# RFC1035 resource name or be a string form on an unsigned long number.
|
29956
|
+
# @param [Google::Apis::ComputeBeta::ServiceAttachment] service_attachment_object
|
29957
|
+
# @param [String] request_id
|
29958
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
29959
|
+
# that if you must retry your request, the server will know to ignore the
|
29960
|
+
# request if it has already been completed.
|
29961
|
+
# For example, consider a situation where you make an initial request and the
|
29962
|
+
# request times out. If you make the request again with the same request ID, the
|
29963
|
+
# server can check if original operation with the same request ID was received,
|
29964
|
+
# and if so, will ignore the second request. This prevents clients from
|
29965
|
+
# accidentally creating duplicate commitments.
|
29966
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
29967
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
29968
|
+
# @param [String] fields
|
29969
|
+
# Selector specifying which fields to include in a partial response.
|
29970
|
+
# @param [String] quota_user
|
29971
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
29972
|
+
# characters.
|
29973
|
+
# @param [String] user_ip
|
29974
|
+
# Deprecated. Please use quotaUser instead.
|
29975
|
+
# @param [Google::Apis::RequestOptions] options
|
29976
|
+
# Request-specific options
|
29977
|
+
#
|
29978
|
+
# @yield [result, err] Result & error if block supplied
|
29979
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
29980
|
+
# @yieldparam err [StandardError] error object if request failed
|
29981
|
+
#
|
29982
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
29983
|
+
#
|
29984
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
29985
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
29986
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
29987
|
+
def patch_service_attachment(project, region, service_attachment, service_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
29988
|
+
command = make_simple_command(:patch, 'projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}', options)
|
29989
|
+
command.request_representation = Google::Apis::ComputeBeta::ServiceAttachment::Representation
|
29990
|
+
command.request_object = service_attachment_object
|
29991
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
29992
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
29993
|
+
command.params['project'] = project unless project.nil?
|
29994
|
+
command.params['region'] = region unless region.nil?
|
29995
|
+
command.params['serviceAttachment'] = service_attachment unless service_attachment.nil?
|
29996
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
29997
|
+
command.query['fields'] = fields unless fields.nil?
|
29998
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
29999
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
30000
|
+
execute_or_queue_command(command, &block)
|
30001
|
+
end
|
30002
|
+
|
29635
30003
|
# Sets the access control policy on the specified resource. Replaces any
|
29636
30004
|
# existing policy.
|
29637
30005
|
# @param [String] project
|