google-apis-compute_alpha 0.8.0 → 0.9.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 ComputeAlpha
|
18
18
|
# Version of the google-apis-compute_alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210415"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -190,12 +190,6 @@ module Google
|
|
190
190
|
include Google::Apis::Core::JsonObjectSupport
|
191
191
|
end
|
192
192
|
|
193
|
-
class Any
|
194
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
-
|
196
|
-
include Google::Apis::Core::JsonObjectSupport
|
197
|
-
end
|
198
|
-
|
199
193
|
class AttachedDisk
|
200
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
195
|
|
@@ -370,6 +364,12 @@ module Google
|
|
370
364
|
include Google::Apis::Core::JsonObjectSupport
|
371
365
|
end
|
372
366
|
|
367
|
+
class BackendBucketCdnPolicyCacheKeyPolicy
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
373
373
|
class BackendBucketCdnPolicyNegativeCachingPolicy
|
374
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
375
|
|
@@ -4624,12 +4624,24 @@ module Google
|
|
4624
4624
|
include Google::Apis::Core::JsonObjectSupport
|
4625
4625
|
end
|
4626
4626
|
|
4627
|
+
class ServiceAttachmentConnectedEndpoint
|
4628
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4629
|
+
|
4630
|
+
include Google::Apis::Core::JsonObjectSupport
|
4631
|
+
end
|
4632
|
+
|
4627
4633
|
class ServiceAttachmentConsumerForwardingRule
|
4628
4634
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4629
4635
|
|
4630
4636
|
include Google::Apis::Core::JsonObjectSupport
|
4631
4637
|
end
|
4632
4638
|
|
4639
|
+
class ServiceAttachmentConsumerProjectLimit
|
4640
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4641
|
+
|
4642
|
+
include Google::Apis::Core::JsonObjectSupport
|
4643
|
+
end
|
4644
|
+
|
4633
4645
|
class ServiceAttachmentList
|
4634
4646
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4635
4647
|
|
@@ -5518,6 +5530,12 @@ module Google
|
|
5518
5530
|
include Google::Apis::Core::JsonObjectSupport
|
5519
5531
|
end
|
5520
5532
|
|
5533
|
+
class Uint128
|
5534
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5535
|
+
|
5536
|
+
include Google::Apis::Core::JsonObjectSupport
|
5537
|
+
end
|
5538
|
+
|
5521
5539
|
class UpcomingMaintenance
|
5522
5540
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5523
5541
|
|
@@ -6256,14 +6274,6 @@ module Google
|
|
6256
6274
|
end
|
6257
6275
|
end
|
6258
6276
|
|
6259
|
-
class Any
|
6260
|
-
# @private
|
6261
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
6262
|
-
property :type_url, as: 'typeUrl'
|
6263
|
-
property :value, :base64 => true, as: 'value'
|
6264
|
-
end
|
6265
|
-
end
|
6266
|
-
|
6267
6277
|
class AttachedDisk
|
6268
6278
|
# @private
|
6269
6279
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6608,6 +6618,8 @@ module Google
|
|
6608
6618
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6609
6619
|
collection :bypass_cache_on_request_headers, as: 'bypassCacheOnRequestHeaders', class: Google::Apis::ComputeAlpha::BackendBucketCdnPolicyBypassCacheOnRequestHeader, decorator: Google::Apis::ComputeAlpha::BackendBucketCdnPolicyBypassCacheOnRequestHeader::Representation
|
6610
6620
|
|
6621
|
+
property :cache_key_policy, as: 'cacheKeyPolicy', class: Google::Apis::ComputeAlpha::BackendBucketCdnPolicyCacheKeyPolicy, decorator: Google::Apis::ComputeAlpha::BackendBucketCdnPolicyCacheKeyPolicy::Representation
|
6622
|
+
|
6611
6623
|
property :cache_mode, as: 'cacheMode'
|
6612
6624
|
property :client_ttl, as: 'clientTtl'
|
6613
6625
|
property :default_ttl, as: 'defaultTtl'
|
@@ -6629,6 +6641,14 @@ module Google
|
|
6629
6641
|
end
|
6630
6642
|
end
|
6631
6643
|
|
6644
|
+
class BackendBucketCdnPolicyCacheKeyPolicy
|
6645
|
+
# @private
|
6646
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6647
|
+
collection :include_http_headers, as: 'includeHttpHeaders'
|
6648
|
+
collection :query_string_whitelist, as: 'queryStringWhitelist'
|
6649
|
+
end
|
6650
|
+
end
|
6651
|
+
|
6632
6652
|
class BackendBucketCdnPolicyNegativeCachingPolicy
|
6633
6653
|
# @private
|
6634
6654
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7002,6 +7022,7 @@ module Google
|
|
7002
7022
|
hash :per_instance_properties, as: 'perInstanceProperties', class: Google::Apis::ComputeAlpha::BulkInsertInstanceResourcePerInstanceProperties, decorator: Google::Apis::ComputeAlpha::BulkInsertInstanceResourcePerInstanceProperties::Representation
|
7003
7023
|
|
7004
7024
|
collection :predefined_names, as: 'predefinedNames'
|
7025
|
+
collection :secure_tags, as: 'secureTags'
|
7005
7026
|
property :source_instance_template, as: 'sourceInstanceTemplate'
|
7006
7027
|
end
|
7007
7028
|
end
|
@@ -7025,6 +7046,8 @@ module Google
|
|
7025
7046
|
# @private
|
7026
7047
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7027
7048
|
property :include_host, as: 'includeHost'
|
7049
|
+
collection :include_http_headers, as: 'includeHttpHeaders'
|
7050
|
+
collection :include_named_cookies, as: 'includeNamedCookies'
|
7028
7051
|
property :include_protocol, as: 'includeProtocol'
|
7029
7052
|
property :include_query_string, as: 'includeQueryString'
|
7030
7053
|
collection :query_string_blacklist, as: 'queryStringBlacklist'
|
@@ -7910,7 +7933,6 @@ module Google
|
|
7910
7933
|
property :priority, as: 'priority'
|
7911
7934
|
property :rule_tuple_count, as: 'ruleTupleCount'
|
7912
7935
|
collection :target_resources, as: 'targetResources'
|
7913
|
-
collection :target_secure_labels, as: 'targetSecureLabels'
|
7914
7936
|
collection :target_secure_tags, as: 'targetSecureTags', class: Google::Apis::ComputeAlpha::FirewallPolicyRuleSecureTag, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRuleSecureTag::Representation
|
7915
7937
|
|
7916
7938
|
collection :target_service_accounts, as: 'targetServiceAccounts'
|
@@ -7924,7 +7946,6 @@ module Google
|
|
7924
7946
|
collection :layer4_configs, as: 'layer4Configs', class: Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcherLayer4Config, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcherLayer4Config::Representation
|
7925
7947
|
|
7926
7948
|
collection :src_ip_ranges, as: 'srcIpRanges'
|
7927
|
-
collection :src_secure_labels, as: 'srcSecureLabels'
|
7928
7949
|
collection :src_secure_tags, as: 'srcSecureTags', class: Google::Apis::ComputeAlpha::FirewallPolicyRuleSecureTag, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRuleSecureTag::Representation
|
7929
7950
|
|
7930
7951
|
end
|
@@ -7981,6 +8002,7 @@ module Google
|
|
7981
8002
|
property :port_range, as: 'portRange'
|
7982
8003
|
collection :ports, as: 'ports'
|
7983
8004
|
property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
|
8005
|
+
property :psc_connection_status, as: 'pscConnectionStatus'
|
7984
8006
|
property :region, as: 'region'
|
7985
8007
|
property :self_link, as: 'selfLink'
|
7986
8008
|
property :self_link_with_id, as: 'selfLinkWithId'
|
@@ -9038,7 +9060,6 @@ module Google
|
|
9038
9060
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
9039
9061
|
property :scheduling, as: 'scheduling', class: Google::Apis::ComputeAlpha::Scheduling, decorator: Google::Apis::ComputeAlpha::Scheduling::Representation
|
9040
9062
|
|
9041
|
-
collection :secure_labels, as: 'secureLabels'
|
9042
9063
|
collection :secure_tags, as: 'secureTags'
|
9043
9064
|
property :self_link, as: 'selfLink'
|
9044
9065
|
property :self_link_with_id, as: 'selfLinkWithId'
|
@@ -10155,10 +10176,15 @@ module Google
|
|
10155
10176
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10156
10177
|
property :admin_enabled, as: 'adminEnabled'
|
10157
10178
|
property :bandwidth, as: 'bandwidth'
|
10179
|
+
collection :candidate_ipv6_subnets, as: 'candidateIpv6Subnets'
|
10158
10180
|
collection :candidate_subnets, as: 'candidateSubnets'
|
10159
10181
|
property :cloud_router_ip_address, as: 'cloudRouterIpAddress'
|
10182
|
+
property :cloud_router_ipv6_address, as: 'cloudRouterIpv6Address'
|
10183
|
+
property :cloud_router_ipv6_interface_id, as: 'cloudRouterIpv6InterfaceId'
|
10160
10184
|
property :creation_timestamp, as: 'creationTimestamp'
|
10161
10185
|
property :customer_router_ip_address, as: 'customerRouterIpAddress'
|
10186
|
+
property :customer_router_ipv6_address, as: 'customerRouterIpv6Address'
|
10187
|
+
property :customer_router_ipv6_interface_id, as: 'customerRouterIpv6InterfaceId'
|
10162
10188
|
property :dataplane_version, as: 'dataplaneVersion'
|
10163
10189
|
property :description, as: 'description'
|
10164
10190
|
property :edge_availability_domain, as: 'edgeAvailabilityDomain'
|
@@ -10183,6 +10209,7 @@ module Google
|
|
10183
10209
|
property :router, as: 'router'
|
10184
10210
|
property :self_link, as: 'selfLink'
|
10185
10211
|
property :self_link_with_id, as: 'selfLinkWithId'
|
10212
|
+
property :stack_type, as: 'stackType'
|
10186
10213
|
property :state, as: 'state'
|
10187
10214
|
property :type, as: 'type'
|
10188
10215
|
property :vlan_tag8021q, as: 'vlanTag8021q'
|
@@ -10939,6 +10966,7 @@ module Google
|
|
10939
10966
|
property :preserved_state_from_policy, as: 'preservedStateFromPolicy', class: Google::Apis::ComputeAlpha::PreservedState, decorator: Google::Apis::ComputeAlpha::PreservedState::Representation
|
10940
10967
|
|
10941
10968
|
property :tag, as: 'tag'
|
10969
|
+
property :target_status, as: 'targetStatus'
|
10942
10970
|
property :version, as: 'version', class: Google::Apis::ComputeAlpha::ManagedInstanceVersion, decorator: Google::Apis::ComputeAlpha::ManagedInstanceVersion::Representation
|
10943
10971
|
|
10944
10972
|
end
|
@@ -12069,8 +12097,6 @@ module Google
|
|
12069
12097
|
property :id, :numeric_string => true, as: 'id'
|
12070
12098
|
property :insert_time, as: 'insertTime'
|
12071
12099
|
property :kind, as: 'kind'
|
12072
|
-
property :metadata, as: 'metadata', class: Google::Apis::ComputeAlpha::Any, decorator: Google::Apis::ComputeAlpha::Any::Representation
|
12073
|
-
|
12074
12100
|
property :name, as: 'name'
|
12075
12101
|
property :operation_group_id, as: 'operationGroupId'
|
12076
12102
|
property :operation_type, as: 'operationType'
|
@@ -13805,6 +13831,7 @@ module Google
|
|
13805
13831
|
property :description, as: 'description'
|
13806
13832
|
property :dest_range, as: 'destRange'
|
13807
13833
|
property :id, :numeric_string => true, as: 'id'
|
13834
|
+
property :ilb_route_behavior_on_unhealthy, as: 'ilbRouteBehaviorOnUnhealthy'
|
13808
13835
|
property :kind, as: 'kind'
|
13809
13836
|
property :name, as: 'name'
|
13810
13837
|
property :network, as: 'network'
|
@@ -13963,12 +13990,15 @@ module Google
|
|
13963
13990
|
property :bfd, as: 'bfd', class: Google::Apis::ComputeAlpha::RouterBgpPeerBfd, decorator: Google::Apis::ComputeAlpha::RouterBgpPeerBfd::Representation
|
13964
13991
|
|
13965
13992
|
property :enable, as: 'enable'
|
13993
|
+
property :enable_ipv6, as: 'enableIpv6'
|
13966
13994
|
property :interface_name, as: 'interfaceName'
|
13967
13995
|
property :ip_address, as: 'ipAddress'
|
13996
|
+
property :ipv6_nexthop_address, as: 'ipv6NexthopAddress'
|
13968
13997
|
property :management_type, as: 'managementType'
|
13969
13998
|
property :name, as: 'name'
|
13970
13999
|
property :peer_asn, as: 'peerAsn'
|
13971
14000
|
property :peer_ip_address, as: 'peerIpAddress'
|
14001
|
+
property :peer_ipv6_nexthop_address, as: 'peerIpv6NexthopAddress'
|
13972
14002
|
property :router_appliance_instance, as: 'routerApplianceInstance'
|
13973
14003
|
end
|
13974
14004
|
end
|
@@ -14036,10 +14066,12 @@ module Google
|
|
14036
14066
|
# @private
|
14037
14067
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14038
14068
|
collection :drain_nat_ips, as: 'drainNatIps'
|
14069
|
+
property :enable_dynamic_port_allocation, as: 'enableDynamicPortAllocation'
|
14039
14070
|
property :enable_endpoint_independent_mapping, as: 'enableEndpointIndependentMapping'
|
14040
14071
|
property :icmp_idle_timeout_sec, as: 'icmpIdleTimeoutSec'
|
14041
14072
|
property :log_config, as: 'logConfig', class: Google::Apis::ComputeAlpha::RouterNatLogConfig, decorator: Google::Apis::ComputeAlpha::RouterNatLogConfig::Representation
|
14042
14073
|
|
14074
|
+
property :max_ports_per_vm, as: 'maxPortsPerVm'
|
14043
14075
|
property :min_ports_per_vm, as: 'minPortsPerVm'
|
14044
14076
|
property :name, as: 'name'
|
14045
14077
|
property :nat_ip_allocate_option, as: 'natIpAllocateOption'
|
@@ -14114,11 +14146,14 @@ module Google
|
|
14114
14146
|
|
14115
14147
|
property :bfd_status, as: 'bfdStatus', class: Google::Apis::ComputeAlpha::BfdStatus, decorator: Google::Apis::ComputeAlpha::BfdStatus::Representation
|
14116
14148
|
|
14149
|
+
property :enable_ipv6, as: 'enableIpv6'
|
14117
14150
|
property :ip_address, as: 'ipAddress'
|
14151
|
+
property :ipv6_nexthop_address, as: 'ipv6NexthopAddress'
|
14118
14152
|
property :linked_vpn_tunnel, as: 'linkedVpnTunnel'
|
14119
14153
|
property :name, as: 'name'
|
14120
14154
|
property :num_learned_routes, as: 'numLearnedRoutes'
|
14121
14155
|
property :peer_ip_address, as: 'peerIpAddress'
|
14156
|
+
property :peer_ipv6_nexthop_address, as: 'peerIpv6NexthopAddress'
|
14122
14157
|
property :router_appliance_instance, as: 'routerApplianceInstance'
|
14123
14158
|
property :state, as: 'state'
|
14124
14159
|
property :status, as: 'status'
|
@@ -14571,19 +14606,28 @@ module Google
|
|
14571
14606
|
class ServiceAttachment
|
14572
14607
|
# @private
|
14573
14608
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14609
|
+
collection :connected_endpoints, as: 'connectedEndpoints', class: Google::Apis::ComputeAlpha::ServiceAttachmentConnectedEndpoint, decorator: Google::Apis::ComputeAlpha::ServiceAttachmentConnectedEndpoint::Representation
|
14610
|
+
|
14574
14611
|
property :connection_preference, as: 'connectionPreference'
|
14612
|
+
collection :consumer_accept_lists, as: 'consumerAcceptLists', class: Google::Apis::ComputeAlpha::ServiceAttachmentConsumerProjectLimit, decorator: Google::Apis::ComputeAlpha::ServiceAttachmentConsumerProjectLimit::Representation
|
14613
|
+
|
14575
14614
|
collection :consumer_forwarding_rules, as: 'consumerForwardingRules', class: Google::Apis::ComputeAlpha::ServiceAttachmentConsumerForwardingRule, decorator: Google::Apis::ComputeAlpha::ServiceAttachmentConsumerForwardingRule::Representation
|
14576
14615
|
|
14616
|
+
collection :consumer_reject_lists, as: 'consumerRejectLists'
|
14577
14617
|
property :creation_timestamp, as: 'creationTimestamp'
|
14578
14618
|
property :description, as: 'description'
|
14579
14619
|
property :enable_proxy_protocol, as: 'enableProxyProtocol'
|
14620
|
+
property :fingerprint, :base64 => true, as: 'fingerprint'
|
14580
14621
|
property :id, :numeric_string => true, as: 'id'
|
14581
14622
|
property :kind, as: 'kind'
|
14582
14623
|
property :name, as: 'name'
|
14583
14624
|
collection :nat_subnets, as: 'natSubnets'
|
14584
14625
|
property :producer_forwarding_rule, as: 'producerForwardingRule'
|
14626
|
+
property :psc_service_attachment_id, as: 'pscServiceAttachmentId', class: Google::Apis::ComputeAlpha::Uint128, decorator: Google::Apis::ComputeAlpha::Uint128::Representation
|
14627
|
+
|
14585
14628
|
property :region, as: 'region'
|
14586
14629
|
property :self_link, as: 'selfLink'
|
14630
|
+
property :target_service, as: 'targetService'
|
14587
14631
|
end
|
14588
14632
|
end
|
14589
14633
|
|
@@ -14620,14 +14664,33 @@ module Google
|
|
14620
14664
|
end
|
14621
14665
|
end
|
14622
14666
|
|
14667
|
+
class ServiceAttachmentConnectedEndpoint
|
14668
|
+
# @private
|
14669
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14670
|
+
property :endpoint, as: 'endpoint'
|
14671
|
+
property :forwarding_rule, as: 'forwardingRule'
|
14672
|
+
property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
|
14673
|
+
property :status, as: 'status'
|
14674
|
+
end
|
14675
|
+
end
|
14676
|
+
|
14623
14677
|
class ServiceAttachmentConsumerForwardingRule
|
14624
14678
|
# @private
|
14625
14679
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14626
14680
|
property :forwarding_rule, as: 'forwardingRule'
|
14681
|
+
property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
|
14627
14682
|
property :status, as: 'status'
|
14628
14683
|
end
|
14629
14684
|
end
|
14630
14685
|
|
14686
|
+
class ServiceAttachmentConsumerProjectLimit
|
14687
|
+
# @private
|
14688
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14689
|
+
property :connection_limit, as: 'connectionLimit'
|
14690
|
+
property :project_id_or_num, as: 'projectIdOrNum'
|
14691
|
+
end
|
14692
|
+
end
|
14693
|
+
|
14631
14694
|
class ServiceAttachmentList
|
14632
14695
|
# @private
|
14633
14696
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -16223,6 +16286,14 @@ module Google
|
|
16223
16286
|
end
|
16224
16287
|
end
|
16225
16288
|
|
16289
|
+
class Uint128
|
16290
|
+
# @private
|
16291
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16292
|
+
property :high, :numeric_string => true, as: 'high'
|
16293
|
+
property :low, :numeric_string => true, as: 'low'
|
16294
|
+
end
|
16295
|
+
end
|
16296
|
+
|
16226
16297
|
class UpcomingMaintenance
|
16227
16298
|
# @private
|
16228
16299
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12375,6 +12375,9 @@ module Google
|
|
12375
12375
|
# accidentally creating duplicate commitments.
|
12376
12376
|
# The request ID must be a valid UUID with the exception that zero UUID is not
|
12377
12377
|
# supported (00000000-0000-0000-0000-000000000000).
|
12378
|
+
# @param [Array<String>, String] secure_tags
|
12379
|
+
# Secure tags to apply to this instance. These can be later modified by the
|
12380
|
+
# update method. Maximum number of secure tags allowed is 300.
|
12378
12381
|
# @param [String] source_instance_template
|
12379
12382
|
# Specifies instance template to create the instance.
|
12380
12383
|
# This field is optional. It can be a full or partial URL. For example, the
|
@@ -12410,7 +12413,7 @@ module Google
|
|
12410
12413
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
12411
12414
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
12412
12415
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
12413
|
-
def insert_instance(project, zone, instance_object = nil, request_id: nil, source_instance_template: nil, source_machine_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
12416
|
+
def insert_instance(project, zone, instance_object = nil, request_id: nil, secure_tags: nil, source_instance_template: nil, source_machine_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
12414
12417
|
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances', options)
|
12415
12418
|
command.request_representation = Google::Apis::ComputeAlpha::Instance::Representation
|
12416
12419
|
command.request_object = instance_object
|
@@ -12419,6 +12422,7 @@ module Google
|
|
12419
12422
|
command.params['project'] = project unless project.nil?
|
12420
12423
|
command.params['zone'] = zone unless zone.nil?
|
12421
12424
|
command.query['requestId'] = request_id unless request_id.nil?
|
12425
|
+
command.query['secureTags'] = secure_tags unless secure_tags.nil?
|
12422
12426
|
command.query['sourceInstanceTemplate'] = source_instance_template unless source_instance_template.nil?
|
12423
12427
|
command.query['sourceMachineImage'] = source_machine_image unless source_machine_image.nil?
|
12424
12428
|
command.query['fields'] = fields unless fields.nil?
|
@@ -13867,6 +13871,10 @@ module Google
|
|
13867
13871
|
# @param [String] instance
|
13868
13872
|
# Name of the instance resource to update.
|
13869
13873
|
# @param [Google::Apis::ComputeAlpha::Instance] instance_object
|
13874
|
+
# @param [Boolean] clear_secure_tag
|
13875
|
+
# Whether to clear secure tags from the instance.
|
13876
|
+
# This property is mutually exclusive with the secure_tag property; you can only
|
13877
|
+
# specify one or the other, but not both.
|
13870
13878
|
# @param [String] minimal_action
|
13871
13879
|
# Specifies the action to take when updating an instance even if the updated
|
13872
13880
|
# properties do not require it. If not specified, then Compute Engine acts based
|
@@ -13887,6 +13895,9 @@ module Google
|
|
13887
13895
|
# accidentally creating duplicate commitments.
|
13888
13896
|
# The request ID must be a valid UUID with the exception that zero UUID is not
|
13889
13897
|
# supported (00000000-0000-0000-0000-000000000000).
|
13898
|
+
# @param [Array<String>, String] secure_tags
|
13899
|
+
# Secure tags to apply to this instance. Maximum number of secure tags allowed
|
13900
|
+
# is 300.
|
13890
13901
|
# @param [String] fields
|
13891
13902
|
# Selector specifying which fields to include in a partial response.
|
13892
13903
|
# @param [String] quota_user
|
@@ -13906,7 +13917,7 @@ module Google
|
|
13906
13917
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
13907
13918
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
13908
13919
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
13909
|
-
def update_instance(project, zone, instance, instance_object = nil, minimal_action: nil, most_disruptive_allowed_action: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
13920
|
+
def update_instance(project, zone, instance, instance_object = nil, clear_secure_tag: nil, minimal_action: nil, most_disruptive_allowed_action: nil, request_id: nil, secure_tags: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
13910
13921
|
command = make_simple_command(:put, 'projects/{project}/zones/{zone}/instances/{instance}', options)
|
13911
13922
|
command.request_representation = Google::Apis::ComputeAlpha::Instance::Representation
|
13912
13923
|
command.request_object = instance_object
|
@@ -13915,9 +13926,11 @@ module Google
|
|
13915
13926
|
command.params['project'] = project unless project.nil?
|
13916
13927
|
command.params['zone'] = zone unless zone.nil?
|
13917
13928
|
command.params['instance'] = instance unless instance.nil?
|
13929
|
+
command.query['clearSecureTag'] = clear_secure_tag unless clear_secure_tag.nil?
|
13918
13930
|
command.query['minimalAction'] = minimal_action unless minimal_action.nil?
|
13919
13931
|
command.query['mostDisruptiveAllowedAction'] = most_disruptive_allowed_action unless most_disruptive_allowed_action.nil?
|
13920
13932
|
command.query['requestId'] = request_id unless request_id.nil?
|
13933
|
+
command.query['secureTags'] = secure_tags unless secure_tags.nil?
|
13921
13934
|
command.query['fields'] = fields unless fields.nil?
|
13922
13935
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
13923
13936
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -27469,7 +27482,7 @@ module Google
|
|
27469
27482
|
execute_or_queue_command(command, &block)
|
27470
27483
|
end
|
27471
27484
|
|
27472
|
-
# Export the changed blocks between two instant snapshots to a customer
|
27485
|
+
# Export the changed blocks between two instant snapshots to a customer's bucket
|
27473
27486
|
# in the user specified format.
|
27474
27487
|
# @param [String] project
|
27475
27488
|
# Project ID for this request.
|
@@ -33691,6 +33704,63 @@ module Google
|
|
33691
33704
|
execute_or_queue_command(command, &block)
|
33692
33705
|
end
|
33693
33706
|
|
33707
|
+
# Patches the specified ServiceAttachment resource with the data included in the
|
33708
|
+
# request. This method supports PATCH semantics and uses JSON merge patch format
|
33709
|
+
# and processing rules.
|
33710
|
+
# @param [String] project
|
33711
|
+
# Project ID for this request.
|
33712
|
+
# @param [String] region
|
33713
|
+
# The region scoping this request and should conform to RFC1035.
|
33714
|
+
# @param [String] service_attachment
|
33715
|
+
# The resource id of the ServiceAttachment to patch. It should conform to
|
33716
|
+
# RFC1035 resource name or be a string form on an unsigned long number.
|
33717
|
+
# @param [Google::Apis::ComputeAlpha::ServiceAttachment] service_attachment_object
|
33718
|
+
# @param [String] request_id
|
33719
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
33720
|
+
# that if you must retry your request, the server will know to ignore the
|
33721
|
+
# request if it has already been completed.
|
33722
|
+
# For example, consider a situation where you make an initial request and the
|
33723
|
+
# request times out. If you make the request again with the same request ID, the
|
33724
|
+
# server can check if original operation with the same request ID was received,
|
33725
|
+
# and if so, will ignore the second request. This prevents clients from
|
33726
|
+
# accidentally creating duplicate commitments.
|
33727
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
33728
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
33729
|
+
# @param [String] fields
|
33730
|
+
# Selector specifying which fields to include in a partial response.
|
33731
|
+
# @param [String] quota_user
|
33732
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
33733
|
+
# characters.
|
33734
|
+
# @param [String] user_ip
|
33735
|
+
# Deprecated. Please use quotaUser instead.
|
33736
|
+
# @param [Google::Apis::RequestOptions] options
|
33737
|
+
# Request-specific options
|
33738
|
+
#
|
33739
|
+
# @yield [result, err] Result & error if block supplied
|
33740
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
33741
|
+
# @yieldparam err [StandardError] error object if request failed
|
33742
|
+
#
|
33743
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
33744
|
+
#
|
33745
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
33746
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
33747
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
33748
|
+
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)
|
33749
|
+
command = make_simple_command(:patch, 'projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}', options)
|
33750
|
+
command.request_representation = Google::Apis::ComputeAlpha::ServiceAttachment::Representation
|
33751
|
+
command.request_object = service_attachment_object
|
33752
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
33753
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
33754
|
+
command.params['project'] = project unless project.nil?
|
33755
|
+
command.params['region'] = region unless region.nil?
|
33756
|
+
command.params['serviceAttachment'] = service_attachment unless service_attachment.nil?
|
33757
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
33758
|
+
command.query['fields'] = fields unless fields.nil?
|
33759
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
33760
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
33761
|
+
execute_or_queue_command(command, &block)
|
33762
|
+
end
|
33763
|
+
|
33694
33764
|
# Sets the access control policy on the specified resource. Replaces any
|
33695
33765
|
# existing policy.
|
33696
33766
|
# @param [String] project
|
@@ -41033,7 +41103,7 @@ module Google
|
|
41033
41103
|
execute_or_queue_command(command, &block)
|
41034
41104
|
end
|
41035
41105
|
|
41036
|
-
# Export the changed blocks between two instant snapshots to a customer
|
41106
|
+
# Export the changed blocks between two instant snapshots to a customer's bucket
|
41037
41107
|
# in the user specified format.
|
41038
41108
|
# @param [String] project
|
41039
41109
|
# Project ID for this request.
|