google-apis-compute_beta 0.25.0 → 0.28.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cba9a839bda80d1ccd02058c4abecf24e44a73b77498602be2e21ac4d246f52c
|
4
|
+
data.tar.gz: 79ba0e9868c51998169f259e4339591b6459105120be08959a35e27b02c7c775
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e89bad8c93963f1aa5e112a15d862abcce63dbd4b75ae29e0615ce687707d1d86ad771782300bd27a626da353051c7f5c18a23b162c924621ced4fcb10be35a0
|
7
|
+
data.tar.gz: debb8c36514b75d0462cf05c8a4e339dfa9e229e5dcf3898abcf5ab6a1fa6a29dd190b1f3f379e91cd31015b9d2481e4755be7c229330a08a9fa5125728a66b5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-compute_beta
|
2
2
|
|
3
|
+
### v0.28.0 (2022-03-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220301
|
6
|
+
|
7
|
+
### v0.27.0 (2022-02-25)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220224
|
10
|
+
|
11
|
+
### v0.26.0 (2022-02-18)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220215
|
14
|
+
|
3
15
|
### v0.25.0 (2022-02-13)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220206
|
@@ -1595,6 +1595,11 @@ module Google
|
|
1595
1595
|
# @return [Array<Google::Apis::ComputeBeta::AuditLogConfig>]
|
1596
1596
|
attr_accessor :audit_log_configs
|
1597
1597
|
|
1598
|
+
# This is deprecated and has no effect. Do not use.
|
1599
|
+
# Corresponds to the JSON property `exemptedMembers`
|
1600
|
+
# @return [Array<String>]
|
1601
|
+
attr_accessor :exempted_members
|
1602
|
+
|
1598
1603
|
# Specifies a service that will be enabled for audit logging. For example, `
|
1599
1604
|
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
1600
1605
|
# value that covers all services.
|
@@ -1609,6 +1614,7 @@ module Google
|
|
1609
1614
|
# Update properties of this object
|
1610
1615
|
def update!(**args)
|
1611
1616
|
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
1617
|
+
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
1612
1618
|
@service = args[:service] if args.key?(:service)
|
1613
1619
|
end
|
1614
1620
|
end
|
@@ -12982,6 +12988,68 @@ module Google
|
|
12982
12988
|
end
|
12983
12989
|
end
|
12984
12990
|
|
12991
|
+
#
|
12992
|
+
class InstanceConsumptionData
|
12993
|
+
include Google::Apis::Core::Hashable
|
12994
|
+
|
12995
|
+
# Resources consumed by the instance.
|
12996
|
+
# Corresponds to the JSON property `consumptionInfo`
|
12997
|
+
# @return [Google::Apis::ComputeBeta::InstanceConsumptionInfo]
|
12998
|
+
attr_accessor :consumption_info
|
12999
|
+
|
13000
|
+
# Server-defined URL for the instance.
|
13001
|
+
# Corresponds to the JSON property `instance`
|
13002
|
+
# @return [String]
|
13003
|
+
attr_accessor :instance
|
13004
|
+
|
13005
|
+
def initialize(**args)
|
13006
|
+
update!(**args)
|
13007
|
+
end
|
13008
|
+
|
13009
|
+
# Update properties of this object
|
13010
|
+
def update!(**args)
|
13011
|
+
@consumption_info = args[:consumption_info] if args.key?(:consumption_info)
|
13012
|
+
@instance = args[:instance] if args.key?(:instance)
|
13013
|
+
end
|
13014
|
+
end
|
13015
|
+
|
13016
|
+
#
|
13017
|
+
class InstanceConsumptionInfo
|
13018
|
+
include Google::Apis::Core::Hashable
|
13019
|
+
|
13020
|
+
# The number of virtual CPUs that are available to the instance.
|
13021
|
+
# Corresponds to the JSON property `guestCpus`
|
13022
|
+
# @return [Fixnum]
|
13023
|
+
attr_accessor :guest_cpus
|
13024
|
+
|
13025
|
+
# The amount of local SSD storage available to the instance, defined in GiB.
|
13026
|
+
# Corresponds to the JSON property `localSsdGb`
|
13027
|
+
# @return [Fixnum]
|
13028
|
+
attr_accessor :local_ssd_gb
|
13029
|
+
|
13030
|
+
# The amount of physical memory available to the instance, defined in MiB.
|
13031
|
+
# Corresponds to the JSON property `memoryMb`
|
13032
|
+
# @return [Fixnum]
|
13033
|
+
attr_accessor :memory_mb
|
13034
|
+
|
13035
|
+
# The minimal guaranteed number of virtual CPUs that are reserved.
|
13036
|
+
# Corresponds to the JSON property `minNodeCpus`
|
13037
|
+
# @return [Fixnum]
|
13038
|
+
attr_accessor :min_node_cpus
|
13039
|
+
|
13040
|
+
def initialize(**args)
|
13041
|
+
update!(**args)
|
13042
|
+
end
|
13043
|
+
|
13044
|
+
# Update properties of this object
|
13045
|
+
def update!(**args)
|
13046
|
+
@guest_cpus = args[:guest_cpus] if args.key?(:guest_cpus)
|
13047
|
+
@local_ssd_gb = args[:local_ssd_gb] if args.key?(:local_ssd_gb)
|
13048
|
+
@memory_mb = args[:memory_mb] if args.key?(:memory_mb)
|
13049
|
+
@min_node_cpus = args[:min_node_cpus] if args.key?(:min_node_cpus)
|
13050
|
+
end
|
13051
|
+
end
|
13052
|
+
|
12985
13053
|
# Represents an Instance Group resource. Instance Groups can be used to
|
12986
13054
|
# configure a target for load balancing. Instance groups can either be managed
|
12987
13055
|
# or unmanaged. To create managed instance groups, use the instanceGroupManager
|
@@ -16552,13 +16620,7 @@ module Google
|
|
16552
16620
|
# @return [String]
|
16553
16621
|
attr_accessor :bandwidth
|
16554
16622
|
|
16555
|
-
#
|
16556
|
-
# cloudRouterIpv6Address and customerRouterIpv6Address for this attachment. Each
|
16557
|
-
# prefix must be in the Global Unique Address (GUA) space. It is highly
|
16558
|
-
# recommended that it be in a range owned by the requestor. A GUA in a range
|
16559
|
-
# owned by Google will cause the request to fail. Google will select an
|
16560
|
-
# available prefix from the supplied candidates or fail the request. If not
|
16561
|
-
# supplied, a /125 from a Google-owned GUA block will be selected.
|
16623
|
+
# This field is not available.
|
16562
16624
|
# Corresponds to the JSON property `candidateIpv6Subnets`
|
16563
16625
|
# @return [Array<String>]
|
16564
16626
|
attr_accessor :candidate_ipv6_subnets
|
@@ -16586,10 +16648,7 @@ module Google
|
|
16586
16648
|
# @return [String]
|
16587
16649
|
attr_accessor :cloud_router_ipv6_address
|
16588
16650
|
|
16589
|
-
#
|
16590
|
-
# cloud router address. The id must be in the range of 1 to 6. If a subnet mask
|
16591
|
-
# is supplied, it must be /125, and the subnet should either be 0 or match the
|
16592
|
-
# selected subnet.
|
16651
|
+
# This field is not available.
|
16593
16652
|
# Corresponds to the JSON property `cloudRouterIpv6InterfaceId`
|
16594
16653
|
# @return [String]
|
16595
16654
|
attr_accessor :cloud_router_ipv6_interface_id
|
@@ -16611,10 +16670,7 @@ module Google
|
|
16611
16670
|
# @return [String]
|
16612
16671
|
attr_accessor :customer_router_ipv6_address
|
16613
16672
|
|
16614
|
-
#
|
16615
|
-
# customer router address. The id must be in the range of 1 to 6. If a subnet
|
16616
|
-
# mask is supplied, it must be /125, and the subnet should either be 0 or match
|
16617
|
-
# the selected subnet.
|
16673
|
+
# This field is not available.
|
16618
16674
|
# Corresponds to the JSON property `customerRouterIpv6InterfaceId`
|
16619
16675
|
# @return [String]
|
16620
16676
|
attr_accessor :customer_router_ipv6_interface_id
|
@@ -18568,8 +18624,7 @@ module Google
|
|
18568
18624
|
attr_accessor :description
|
18569
18625
|
|
18570
18626
|
# [Input Only] Whether to attempt an application consistent machine image by
|
18571
|
-
# informing the OS to prepare for the snapshot process.
|
18572
|
-
# on Windows instances using the Volume Shadow Copy Service (VSS).
|
18627
|
+
# informing the OS to prepare for the snapshot process.
|
18573
18628
|
# Corresponds to the JSON property `guestFlush`
|
18574
18629
|
# @return [Boolean]
|
18575
18630
|
attr_accessor :guest_flush
|
@@ -21469,6 +21524,11 @@ module Google
|
|
21469
21524
|
# @return [String]
|
21470
21525
|
attr_accessor :self_link
|
21471
21526
|
|
21527
|
+
# The share setting for reservations and sole tenancy node groups.
|
21528
|
+
# Corresponds to the JSON property `shareSettings`
|
21529
|
+
# @return [Google::Apis::ComputeBeta::ShareSettings]
|
21530
|
+
attr_accessor :share_settings
|
21531
|
+
|
21472
21532
|
# [Output Only] The total number of nodes in the node group.
|
21473
21533
|
# Corresponds to the JSON property `size`
|
21474
21534
|
# @return [Fixnum]
|
@@ -21503,6 +21563,7 @@ module Google
|
|
21503
21563
|
@name = args[:name] if args.key?(:name)
|
21504
21564
|
@node_template = args[:node_template] if args.key?(:node_template)
|
21505
21565
|
@self_link = args[:self_link] if args.key?(:self_link)
|
21566
|
+
@share_settings = args[:share_settings] if args.key?(:share_settings)
|
21506
21567
|
@size = args[:size] if args.key?(:size)
|
21507
21568
|
@status = args[:status] if args.key?(:status)
|
21508
21569
|
@zone = args[:zone] if args.key?(:zone)
|
@@ -21824,6 +21885,11 @@ module Google
|
|
21824
21885
|
# @return [Array<Google::Apis::ComputeBeta::AcceleratorConfig>]
|
21825
21886
|
attr_accessor :accelerators
|
21826
21887
|
|
21888
|
+
# Node resources that are reserved by all instances.
|
21889
|
+
# Corresponds to the JSON property `consumedResources`
|
21890
|
+
# @return [Google::Apis::ComputeBeta::InstanceConsumptionInfo]
|
21891
|
+
attr_accessor :consumed_resources
|
21892
|
+
|
21827
21893
|
# CPU overcommit.
|
21828
21894
|
# Corresponds to the JSON property `cpuOvercommitType`
|
21829
21895
|
# @return [String]
|
@@ -21834,6 +21900,11 @@ module Google
|
|
21834
21900
|
# @return [Array<Google::Apis::ComputeBeta::LocalDisk>]
|
21835
21901
|
attr_accessor :disks
|
21836
21902
|
|
21903
|
+
# Instance data that shows consumed resources on the node.
|
21904
|
+
# Corresponds to the JSON property `instanceConsumptionData`
|
21905
|
+
# @return [Array<Google::Apis::ComputeBeta::InstanceConsumptionData>]
|
21906
|
+
attr_accessor :instance_consumption_data
|
21907
|
+
|
21837
21908
|
# Instances scheduled on this node.
|
21838
21909
|
# Corresponds to the JSON property `instances`
|
21839
21910
|
# @return [Array<String>]
|
@@ -21870,6 +21941,11 @@ module Google
|
|
21870
21941
|
# @return [String]
|
21871
21942
|
attr_accessor :status
|
21872
21943
|
|
21944
|
+
# Total amount of available resources on the node.
|
21945
|
+
# Corresponds to the JSON property `totalResources`
|
21946
|
+
# @return [Google::Apis::ComputeBeta::InstanceConsumptionInfo]
|
21947
|
+
attr_accessor :total_resources
|
21948
|
+
|
21873
21949
|
def initialize(**args)
|
21874
21950
|
update!(**args)
|
21875
21951
|
end
|
@@ -21877,8 +21953,10 @@ module Google
|
|
21877
21953
|
# Update properties of this object
|
21878
21954
|
def update!(**args)
|
21879
21955
|
@accelerators = args[:accelerators] if args.key?(:accelerators)
|
21956
|
+
@consumed_resources = args[:consumed_resources] if args.key?(:consumed_resources)
|
21880
21957
|
@cpu_overcommit_type = args[:cpu_overcommit_type] if args.key?(:cpu_overcommit_type)
|
21881
21958
|
@disks = args[:disks] if args.key?(:disks)
|
21959
|
+
@instance_consumption_data = args[:instance_consumption_data] if args.key?(:instance_consumption_data)
|
21882
21960
|
@instances = args[:instances] if args.key?(:instances)
|
21883
21961
|
@name = args[:name] if args.key?(:name)
|
21884
21962
|
@node_type = args[:node_type] if args.key?(:node_type)
|
@@ -21886,6 +21964,7 @@ module Google
|
|
21886
21964
|
@server_binding = args[:server_binding] if args.key?(:server_binding)
|
21887
21965
|
@server_id = args[:server_id] if args.key?(:server_id)
|
21888
21966
|
@status = args[:status] if args.key?(:status)
|
21967
|
+
@total_resources = args[:total_resources] if args.key?(:total_resources)
|
21889
21968
|
end
|
21890
21969
|
end
|
21891
21970
|
|
@@ -30219,7 +30298,7 @@ module Google
|
|
30219
30298
|
# Cloud Router will initiate the BFD session for this BGP peer. If set to
|
30220
30299
|
# PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD
|
30221
30300
|
# session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP
|
30222
|
-
# peer. The default is
|
30301
|
+
# peer. The default is DISABLED.
|
30223
30302
|
# Corresponds to the JSON property `sessionInitializationMode`
|
30224
30303
|
# @return [String]
|
30225
30304
|
attr_accessor :session_initialization_mode
|
@@ -31778,7 +31857,11 @@ module Google
|
|
31778
31857
|
# the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can
|
31779
31858
|
# be configured to filter incoming HTTP requests targeting backend services (
|
31780
31859
|
# including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They
|
31781
|
-
# filter requests before the request is served from Google's cache.
|
31860
|
+
# filter requests before the request is served from Google's cache. -
|
31861
|
+
# CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be
|
31862
|
+
# configured to filter HTTP requests targeting services managed by Traffic
|
31863
|
+
# Director in a service mesh. They filter requests before the request is served
|
31864
|
+
# from the application. This field can be set only at resource creation time.
|
31782
31865
|
# Corresponds to the JSON property `type`
|
31783
31866
|
# @return [String]
|
31784
31867
|
attr_accessor :type
|
@@ -33545,8 +33628,7 @@ module Google
|
|
33545
33628
|
attr_accessor :download_bytes
|
33546
33629
|
|
33547
33630
|
# [Input Only] Whether to attempt an application consistent snapshot by
|
33548
|
-
# informing the OS to prepare for the snapshot process.
|
33549
|
-
# on Windows instances using the Volume Shadow Copy Service (VSS).
|
33631
|
+
# informing the OS to prepare for the snapshot process.
|
33550
33632
|
# Corresponds to the JSON property `guestFlush`
|
33551
33633
|
# @return [Boolean]
|
33552
33634
|
attr_accessor :guest_flush
|
@@ -35139,9 +35221,10 @@ module Google
|
|
35139
35221
|
# @return [String]
|
35140
35222
|
attr_accessor :self_link
|
35141
35223
|
|
35142
|
-
# The stack type for
|
35143
|
-
#
|
35144
|
-
#
|
35224
|
+
# The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are
|
35225
|
+
# assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can
|
35226
|
+
# be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used.
|
35227
|
+
# This field can be both set at resource creation time and updated using patch.
|
35145
35228
|
# Corresponds to the JSON property `stackType`
|
35146
35229
|
# @return [String]
|
35147
35230
|
attr_accessor :stack_type
|
@@ -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.28.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220301"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1468,6 +1468,18 @@ module Google
|
|
1468
1468
|
include Google::Apis::Core::JsonObjectSupport
|
1469
1469
|
end
|
1470
1470
|
|
1471
|
+
class InstanceConsumptionData
|
1472
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1473
|
+
|
1474
|
+
include Google::Apis::Core::JsonObjectSupport
|
1475
|
+
end
|
1476
|
+
|
1477
|
+
class InstanceConsumptionInfo
|
1478
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1479
|
+
|
1480
|
+
include Google::Apis::Core::JsonObjectSupport
|
1481
|
+
end
|
1482
|
+
|
1471
1483
|
class InstanceGroup
|
1472
1484
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1473
1485
|
|
@@ -5899,6 +5911,7 @@ module Google
|
|
5899
5911
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5900
5912
|
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::ComputeBeta::AuditLogConfig, decorator: Google::Apis::ComputeBeta::AuditLogConfig::Representation
|
5901
5913
|
|
5914
|
+
collection :exempted_members, as: 'exemptedMembers'
|
5902
5915
|
property :service, as: 'service'
|
5903
5916
|
end
|
5904
5917
|
end
|
@@ -8463,6 +8476,25 @@ module Google
|
|
8463
8476
|
end
|
8464
8477
|
end
|
8465
8478
|
|
8479
|
+
class InstanceConsumptionData
|
8480
|
+
# @private
|
8481
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8482
|
+
property :consumption_info, as: 'consumptionInfo', class: Google::Apis::ComputeBeta::InstanceConsumptionInfo, decorator: Google::Apis::ComputeBeta::InstanceConsumptionInfo::Representation
|
8483
|
+
|
8484
|
+
property :instance, as: 'instance'
|
8485
|
+
end
|
8486
|
+
end
|
8487
|
+
|
8488
|
+
class InstanceConsumptionInfo
|
8489
|
+
# @private
|
8490
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8491
|
+
property :guest_cpus, as: 'guestCpus'
|
8492
|
+
property :local_ssd_gb, as: 'localSsdGb'
|
8493
|
+
property :memory_mb, as: 'memoryMb'
|
8494
|
+
property :min_node_cpus, as: 'minNodeCpus'
|
8495
|
+
end
|
8496
|
+
end
|
8497
|
+
|
8466
8498
|
class InstanceGroup
|
8467
8499
|
# @private
|
8468
8500
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10621,6 +10653,8 @@ module Google
|
|
10621
10653
|
property :name, as: 'name'
|
10622
10654
|
property :node_template, as: 'nodeTemplate'
|
10623
10655
|
property :self_link, as: 'selfLink'
|
10656
|
+
property :share_settings, as: 'shareSettings', class: Google::Apis::ComputeBeta::ShareSettings, decorator: Google::Apis::ComputeBeta::ShareSettings::Representation
|
10657
|
+
|
10624
10658
|
property :size, as: 'size'
|
10625
10659
|
property :status, as: 'status'
|
10626
10660
|
property :zone, as: 'zone'
|
@@ -10715,9 +10749,13 @@ module Google
|
|
10715
10749
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10716
10750
|
collection :accelerators, as: 'accelerators', class: Google::Apis::ComputeBeta::AcceleratorConfig, decorator: Google::Apis::ComputeBeta::AcceleratorConfig::Representation
|
10717
10751
|
|
10752
|
+
property :consumed_resources, as: 'consumedResources', class: Google::Apis::ComputeBeta::InstanceConsumptionInfo, decorator: Google::Apis::ComputeBeta::InstanceConsumptionInfo::Representation
|
10753
|
+
|
10718
10754
|
property :cpu_overcommit_type, as: 'cpuOvercommitType'
|
10719
10755
|
collection :disks, as: 'disks', class: Google::Apis::ComputeBeta::LocalDisk, decorator: Google::Apis::ComputeBeta::LocalDisk::Representation
|
10720
10756
|
|
10757
|
+
collection :instance_consumption_data, as: 'instanceConsumptionData', class: Google::Apis::ComputeBeta::InstanceConsumptionData, decorator: Google::Apis::ComputeBeta::InstanceConsumptionData::Representation
|
10758
|
+
|
10721
10759
|
collection :instances, as: 'instances'
|
10722
10760
|
property :name, as: 'name'
|
10723
10761
|
property :node_type, as: 'nodeType'
|
@@ -10726,6 +10764,8 @@ module Google
|
|
10726
10764
|
|
10727
10765
|
property :server_id, as: 'serverId'
|
10728
10766
|
property :status, as: 'status'
|
10767
|
+
property :total_resources, as: 'totalResources', class: Google::Apis::ComputeBeta::InstanceConsumptionInfo, decorator: Google::Apis::ComputeBeta::InstanceConsumptionInfo::Representation
|
10768
|
+
|
10729
10769
|
end
|
10730
10770
|
end
|
10731
10771
|
|
@@ -2823,8 +2823,7 @@ module Google
|
|
2823
2823
|
# @param [Google::Apis::ComputeBeta::Snapshot] snapshot_object
|
2824
2824
|
# @param [Boolean] guest_flush
|
2825
2825
|
# [Input Only] Whether to attempt an application consistent snapshot by
|
2826
|
-
# informing the OS to prepare for the snapshot process.
|
2827
|
-
# on Windows instances using the Volume Shadow Copy Service (VSS).
|
2826
|
+
# informing the OS to prepare for the snapshot process.
|
2828
2827
|
# @param [String] request_id
|
2829
2828
|
# An optional request ID to identify requests. Specify a unique request ID so
|
2830
2829
|
# that if you must retry your request, the server will know to ignore the
|
@@ -12381,7 +12380,7 @@ module Google
|
|
12381
12380
|
execute_or_queue_command(command, &block)
|
12382
12381
|
end
|
12383
12382
|
|
12384
|
-
# Performs a reset on the instance. This is a hard reset
|
12383
|
+
# Performs a reset on the instance. This is a hard reset. The VM does not do a
|
12385
12384
|
# graceful shutdown. For more information, see Resetting an instance.
|
12386
12385
|
# @param [String] project
|
12387
12386
|
# Project ID for this request.
|
@@ -28402,6 +28401,61 @@ module Google
|
|
28402
28401
|
execute_or_queue_command(command, &block)
|
28403
28402
|
end
|
28404
28403
|
|
28404
|
+
# Patches the specified regional TargetHttpsProxy resource with the data
|
28405
|
+
# included in the request. This method supports PATCH semantics and uses JSON
|
28406
|
+
# merge patch format and processing rules.
|
28407
|
+
# @param [String] project
|
28408
|
+
# Project ID for this request.
|
28409
|
+
# @param [String] region
|
28410
|
+
# Name of the region for this request.
|
28411
|
+
# @param [String] target_https_proxy
|
28412
|
+
# Name of the TargetHttpsProxy resource to patch.
|
28413
|
+
# @param [Google::Apis::ComputeBeta::TargetHttpsProxy] target_https_proxy_object
|
28414
|
+
# @param [String] request_id
|
28415
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
28416
|
+
# that if you must retry your request, the server will know to ignore the
|
28417
|
+
# request if it has already been completed. For example, consider a situation
|
28418
|
+
# where you make an initial request and the request times out. If you make the
|
28419
|
+
# request again with the same request ID, the server can check if original
|
28420
|
+
# operation with the same request ID was received, and if so, will ignore the
|
28421
|
+
# second request. This prevents clients from accidentally creating duplicate
|
28422
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
28423
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
28424
|
+
# @param [String] fields
|
28425
|
+
# Selector specifying which fields to include in a partial response.
|
28426
|
+
# @param [String] quota_user
|
28427
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
28428
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
28429
|
+
# @param [String] user_ip
|
28430
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
28431
|
+
# @param [Google::Apis::RequestOptions] options
|
28432
|
+
# Request-specific options
|
28433
|
+
#
|
28434
|
+
# @yield [result, err] Result & error if block supplied
|
28435
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
28436
|
+
# @yieldparam err [StandardError] error object if request failed
|
28437
|
+
#
|
28438
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
28439
|
+
#
|
28440
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
28441
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
28442
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
28443
|
+
def patch_region_target_https_proxy(project, region, target_https_proxy, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
28444
|
+
command = make_simple_command(:patch, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options)
|
28445
|
+
command.request_representation = Google::Apis::ComputeBeta::TargetHttpsProxy::Representation
|
28446
|
+
command.request_object = target_https_proxy_object
|
28447
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
28448
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
28449
|
+
command.params['project'] = project unless project.nil?
|
28450
|
+
command.params['region'] = region unless region.nil?
|
28451
|
+
command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
|
28452
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
28453
|
+
command.query['fields'] = fields unless fields.nil?
|
28454
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
28455
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
28456
|
+
execute_or_queue_command(command, &block)
|
28457
|
+
end
|
28458
|
+
|
28405
28459
|
# Replaces SslCertificates for TargetHttpsProxy.
|
28406
28460
|
# @param [String] project
|
28407
28461
|
# Project ID for this request.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-compute_beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.28.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.28.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|