google-apis-compute_v1 0.88.0 → 0.89.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 +4 -0
- data/lib/google/apis/compute_v1/classes.rb +118 -28
- data/lib/google/apis/compute_v1/gem_version.rb +2 -2
- data/lib/google/apis/compute_v1/representations.rb +46 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45e9d07457db0490217955e6b5a67557336722fbd179e629f585cd24444adea4
|
4
|
+
data.tar.gz: 2167449b029e63e318c4eb0b7b13e4f84b90db041713c61798568ccc52a7ff55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 561ebd5fd558b102f4ce6a48931ed8c3091a02d151161141d2551de601ba115231789091cc234d287ce4e951d470e0a668c53498e3a4557a69424e3b855313ec
|
7
|
+
data.tar.gz: 0cbc22b8b46ebfe464fb9318143d11a1068cd7a31597a707b5c7bdbeb1fd5304ad8ea06355c4c4853b19668fb72780ee8008f57cec68ea0a7734ce1be252082f
|
data/CHANGELOG.md
CHANGED
@@ -14443,6 +14443,12 @@ module Google
|
|
14443
14443
|
class InstanceGroupManager
|
14444
14444
|
include Google::Apis::Core::Hashable
|
14445
14445
|
|
14446
|
+
# Specifies configuration that overrides the instance template configuration for
|
14447
|
+
# the group.
|
14448
|
+
# Corresponds to the JSON property `allInstancesConfig`
|
14449
|
+
# @return [Google::Apis::ComputeV1::InstanceGroupManagerAllInstancesConfig]
|
14450
|
+
attr_accessor :all_instances_config
|
14451
|
+
|
14446
14452
|
# The autohealing policy for this managed instance group. You can specify only
|
14447
14453
|
# one value.
|
14448
14454
|
# Corresponds to the JSON property `autoHealingPolicies`
|
@@ -14603,6 +14609,7 @@ module Google
|
|
14603
14609
|
|
14604
14610
|
# Update properties of this object
|
14605
14611
|
def update!(**args)
|
14612
|
+
@all_instances_config = args[:all_instances_config] if args.key?(:all_instances_config)
|
14606
14613
|
@auto_healing_policies = args[:auto_healing_policies] if args.key?(:auto_healing_policies)
|
14607
14614
|
@base_instance_name = args[:base_instance_name] if args.key?(:base_instance_name)
|
14608
14615
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
@@ -14869,6 +14876,25 @@ module Google
|
|
14869
14876
|
end
|
14870
14877
|
end
|
14871
14878
|
|
14879
|
+
#
|
14880
|
+
class InstanceGroupManagerAllInstancesConfig
|
14881
|
+
include Google::Apis::Core::Hashable
|
14882
|
+
|
14883
|
+
# Represents the change that you want to make to the instance properties.
|
14884
|
+
# Corresponds to the JSON property `properties`
|
14885
|
+
# @return [Google::Apis::ComputeV1::InstancePropertiesPatch]
|
14886
|
+
attr_accessor :properties
|
14887
|
+
|
14888
|
+
def initialize(**args)
|
14889
|
+
update!(**args)
|
14890
|
+
end
|
14891
|
+
|
14892
|
+
# Update properties of this object
|
14893
|
+
def update!(**args)
|
14894
|
+
@properties = args[:properties] if args.key?(:properties)
|
14895
|
+
end
|
14896
|
+
end
|
14897
|
+
|
14872
14898
|
#
|
14873
14899
|
class InstanceGroupManagerAutoHealingPolicy
|
14874
14900
|
include Google::Apis::Core::Hashable
|
@@ -15045,6 +15071,11 @@ module Google
|
|
15045
15071
|
class InstanceGroupManagerStatus
|
15046
15072
|
include Google::Apis::Core::Hashable
|
15047
15073
|
|
15074
|
+
# [Output only] Status of all-instances configuration on the group.
|
15075
|
+
# Corresponds to the JSON property `allInstancesConfig`
|
15076
|
+
# @return [Google::Apis::ComputeV1::InstanceGroupManagerStatusAllInstancesConfig]
|
15077
|
+
attr_accessor :all_instances_config
|
15078
|
+
|
15048
15079
|
# [Output Only] The URL of the Autoscaler that targets this instance group
|
15049
15080
|
# manager.
|
15050
15081
|
# Corresponds to the JSON property `autoscaler`
|
@@ -15079,6 +15110,7 @@ module Google
|
|
15079
15110
|
|
15080
15111
|
# Update properties of this object
|
15081
15112
|
def update!(**args)
|
15113
|
+
@all_instances_config = args[:all_instances_config] if args.key?(:all_instances_config)
|
15082
15114
|
@autoscaler = args[:autoscaler] if args.key?(:autoscaler)
|
15083
15115
|
@is_stable = args[:is_stable] if args.key?(:is_stable)
|
15084
15116
|
@stateful = args[:stateful] if args.key?(:stateful)
|
@@ -15086,6 +15118,34 @@ module Google
|
|
15086
15118
|
end
|
15087
15119
|
end
|
15088
15120
|
|
15121
|
+
#
|
15122
|
+
class InstanceGroupManagerStatusAllInstancesConfig
|
15123
|
+
include Google::Apis::Core::Hashable
|
15124
|
+
|
15125
|
+
# [Output Only] Current all-instances configuration revision. This value is in
|
15126
|
+
# RFC3339 text format.
|
15127
|
+
# Corresponds to the JSON property `currentRevision`
|
15128
|
+
# @return [String]
|
15129
|
+
attr_accessor :current_revision
|
15130
|
+
|
15131
|
+
# [Output Only] A bit indicating whether this configuration has been applied to
|
15132
|
+
# all managed instances in the group.
|
15133
|
+
# Corresponds to the JSON property `effective`
|
15134
|
+
# @return [Boolean]
|
15135
|
+
attr_accessor :effective
|
15136
|
+
alias_method :effective?, :effective
|
15137
|
+
|
15138
|
+
def initialize(**args)
|
15139
|
+
update!(**args)
|
15140
|
+
end
|
15141
|
+
|
15142
|
+
# Update properties of this object
|
15143
|
+
def update!(**args)
|
15144
|
+
@current_revision = args[:current_revision] if args.key?(:current_revision)
|
15145
|
+
@effective = args[:effective] if args.key?(:effective)
|
15146
|
+
end
|
15147
|
+
end
|
15148
|
+
|
15089
15149
|
#
|
15090
15150
|
class InstanceGroupManagerStatusStateful
|
15091
15151
|
include Google::Apis::Core::Hashable
|
@@ -16638,6 +16698,32 @@ module Google
|
|
16638
16698
|
end
|
16639
16699
|
end
|
16640
16700
|
|
16701
|
+
# Represents the change that you want to make to the instance properties.
|
16702
|
+
class InstancePropertiesPatch
|
16703
|
+
include Google::Apis::Core::Hashable
|
16704
|
+
|
16705
|
+
# The label key-value pairs that you want to patch onto the instance.
|
16706
|
+
# Corresponds to the JSON property `labels`
|
16707
|
+
# @return [Hash<String,String>]
|
16708
|
+
attr_accessor :labels
|
16709
|
+
|
16710
|
+
# The metadata key-value pairs that you want to patch onto the instance. For
|
16711
|
+
# more information, see Project and instance metadata.
|
16712
|
+
# Corresponds to the JSON property `metadata`
|
16713
|
+
# @return [Hash<String,String>]
|
16714
|
+
attr_accessor :metadata
|
16715
|
+
|
16716
|
+
def initialize(**args)
|
16717
|
+
update!(**args)
|
16718
|
+
end
|
16719
|
+
|
16720
|
+
# Update properties of this object
|
16721
|
+
def update!(**args)
|
16722
|
+
@labels = args[:labels] if args.key?(:labels)
|
16723
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
16724
|
+
end
|
16725
|
+
end
|
16726
|
+
|
16641
16727
|
#
|
16642
16728
|
class InstanceReference
|
16643
16729
|
include Google::Apis::Core::Hashable
|
@@ -22912,7 +22998,8 @@ module Google
|
|
22912
22998
|
attr_accessor :creation_timestamp
|
22913
22999
|
|
22914
23000
|
# The default port used if the port number is not specified in the network
|
22915
|
-
# endpoint.
|
23001
|
+
# endpoint. If the network endpoint type is either GCE_VM_IP, SERVERLESS or
|
23002
|
+
# PRIVATE_SERVICE_CONNECT, this field must not be specified.
|
22916
23003
|
# Corresponds to the JSON property `defaultPort`
|
22917
23004
|
# @return [Fixnum]
|
22918
23005
|
attr_accessor :default_port
|
@@ -22945,8 +23032,8 @@ module Google
|
|
22945
23032
|
# @return [String]
|
22946
23033
|
attr_accessor :name
|
22947
23034
|
|
22948
|
-
# The URL of the network to which all network endpoints in the NEG belong. Uses
|
22949
|
-
# default
|
23035
|
+
# The URL of the network to which all network endpoints in the NEG belong. Uses
|
23036
|
+
# default project network if unspecified.
|
22950
23037
|
# Corresponds to the JSON property `network`
|
22951
23038
|
# @return [String]
|
22952
23039
|
attr_accessor :network
|
@@ -22965,8 +23052,8 @@ module Google
|
|
22965
23052
|
attr_accessor :psc_data
|
22966
23053
|
|
22967
23054
|
# The target service url used to set up private service connection to a Google
|
22968
|
-
# API or a PSC Producer Service Attachment. An example value is:
|
22969
|
-
#
|
23055
|
+
# API or a PSC Producer Service Attachment. An example value is: asia-northeast3-
|
23056
|
+
# cloudkms.googleapis.com
|
22970
23057
|
# Corresponds to the JSON property `pscTargetService`
|
22971
23058
|
# @return [String]
|
22972
23059
|
attr_accessor :psc_target_service
|
@@ -23160,24 +23247,25 @@ module Google
|
|
23160
23247
|
include Google::Apis::Core::Hashable
|
23161
23248
|
|
23162
23249
|
# Optional serving service. The service name is case-sensitive and must be 1-63
|
23163
|
-
# characters long. Example value:
|
23250
|
+
# characters long. Example value: default, my-service.
|
23164
23251
|
# Corresponds to the JSON property `service`
|
23165
23252
|
# @return [String]
|
23166
23253
|
attr_accessor :service
|
23167
23254
|
|
23168
|
-
#
|
23169
|
-
#
|
23170
|
-
# multiple
|
23171
|
-
#
|
23172
|
-
# com/v2
|
23173
|
-
#
|
23174
|
-
#
|
23255
|
+
# An URL mask is one of the main components of the Cloud Function. A template to
|
23256
|
+
# parse service and version fields from a request URL. URL mask allows for
|
23257
|
+
# routing to multiple App Engine services without having to create multiple
|
23258
|
+
# Network Endpoint Groups and backend services. For example, the request URLs
|
23259
|
+
# foo1-dot-appname.appspot.com/v1 and foo1-dot-appname.appspot.com/v2 can be
|
23260
|
+
# backed by the same Serverless NEG with URL mask <service>-dot-appname.appspot.
|
23261
|
+
# com/<version>. The URL mask will parse them to ` service = "foo1", version = "
|
23262
|
+
# v1" ` and ` service = "foo1", version = "v2" ` respectively.
|
23175
23263
|
# Corresponds to the JSON property `urlMask`
|
23176
23264
|
# @return [String]
|
23177
23265
|
attr_accessor :url_mask
|
23178
23266
|
|
23179
23267
|
# Optional serving version. The version name is case-sensitive and must be 1-100
|
23180
|
-
# characters long. Example value:
|
23268
|
+
# characters long. Example value: v1, v2.
|
23181
23269
|
# Corresponds to the JSON property `version`
|
23182
23270
|
# @return [String]
|
23183
23271
|
attr_accessor :version
|
@@ -23201,17 +23289,18 @@ module Google
|
|
23201
23289
|
include Google::Apis::Core::Hashable
|
23202
23290
|
|
23203
23291
|
# A user-defined name of the Cloud Function. The function name is case-sensitive
|
23204
|
-
# and must be 1-63 characters long. Example value:
|
23292
|
+
# and must be 1-63 characters long. Example value: func1.
|
23205
23293
|
# Corresponds to the JSON property `function`
|
23206
23294
|
# @return [String]
|
23207
23295
|
attr_accessor :function
|
23208
23296
|
|
23209
|
-
#
|
23210
|
-
#
|
23211
|
-
#
|
23212
|
-
#
|
23213
|
-
#
|
23214
|
-
#
|
23297
|
+
# An URL mask is one of the main components of the Cloud Function. A template to
|
23298
|
+
# parse function field from a request URL. URL mask allows for routing to
|
23299
|
+
# multiple Cloud Functions without having to create multiple Network Endpoint
|
23300
|
+
# Groups and backend services. For example, request URLs mydomain.com/function1
|
23301
|
+
# and mydomain.com/function2 can be backed by the same Serverless NEG with URL
|
23302
|
+
# mask /<function>. The URL mask will parse them to ` function = "function1" `
|
23303
|
+
# and ` function = "function2" ` respectively.
|
23215
23304
|
# Corresponds to the JSON property `urlMask`
|
23216
23305
|
# @return [String]
|
23217
23306
|
attr_accessor :url_mask
|
@@ -23247,13 +23336,14 @@ module Google
|
|
23247
23336
|
# @return [String]
|
23248
23337
|
attr_accessor :tag
|
23249
23338
|
|
23250
|
-
#
|
23251
|
-
#
|
23252
|
-
#
|
23253
|
-
#
|
23254
|
-
#
|
23255
|
-
#
|
23256
|
-
# service="
|
23339
|
+
# An URL mask is one of the main components of the Cloud Function. A template to
|
23340
|
+
# parse <service> and <tag> fields from a request URL. URL mask allows for
|
23341
|
+
# routing to multiple Run services without having to create multiple network
|
23342
|
+
# endpoint groups and backend services. For example, request URLs foo1.domain.
|
23343
|
+
# com/bar1 and foo1.domain.com/bar2 can be backed by the same Serverless Network
|
23344
|
+
# Endpoint Group (NEG) with URL mask <tag>.domain.com/<service>. The URL mask
|
23345
|
+
# will parse them to ` service="bar1", tag="foo1" ` and ` service="bar2", tag="
|
23346
|
+
# foo2" ` respectively.
|
23257
23347
|
# Corresponds to the JSON property `urlMask`
|
23258
23348
|
# @return [String]
|
23259
23349
|
attr_accessor :url_mask
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComputeV1
|
18
18
|
# Version of the google-apis-compute_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.89.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.13.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240130"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1696,6 +1696,12 @@ module Google
|
|
1696
1696
|
include Google::Apis::Core::JsonObjectSupport
|
1697
1697
|
end
|
1698
1698
|
|
1699
|
+
class InstanceGroupManagerAllInstancesConfig
|
1700
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1701
|
+
|
1702
|
+
include Google::Apis::Core::JsonObjectSupport
|
1703
|
+
end
|
1704
|
+
|
1699
1705
|
class InstanceGroupManagerAutoHealingPolicy
|
1700
1706
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1701
1707
|
|
@@ -1732,6 +1738,12 @@ module Google
|
|
1732
1738
|
include Google::Apis::Core::JsonObjectSupport
|
1733
1739
|
end
|
1734
1740
|
|
1741
|
+
class InstanceGroupManagerStatusAllInstancesConfig
|
1742
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1743
|
+
|
1744
|
+
include Google::Apis::Core::JsonObjectSupport
|
1745
|
+
end
|
1746
|
+
|
1735
1747
|
class InstanceGroupManagerStatusStateful
|
1736
1748
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1737
1749
|
|
@@ -2002,6 +2014,12 @@ module Google
|
|
2002
2014
|
include Google::Apis::Core::JsonObjectSupport
|
2003
2015
|
end
|
2004
2016
|
|
2017
|
+
class InstancePropertiesPatch
|
2018
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2019
|
+
|
2020
|
+
include Google::Apis::Core::JsonObjectSupport
|
2021
|
+
end
|
2022
|
+
|
2005
2023
|
class InstanceReference
|
2006
2024
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2007
2025
|
|
@@ -9427,6 +9445,8 @@ module Google
|
|
9427
9445
|
class InstanceGroupManager
|
9428
9446
|
# @private
|
9429
9447
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9448
|
+
property :all_instances_config, as: 'allInstancesConfig', class: Google::Apis::ComputeV1::InstanceGroupManagerAllInstancesConfig, decorator: Google::Apis::ComputeV1::InstanceGroupManagerAllInstancesConfig::Representation
|
9449
|
+
|
9430
9450
|
collection :auto_healing_policies, as: 'autoHealingPolicies', class: Google::Apis::ComputeV1::InstanceGroupManagerAutoHealingPolicy, decorator: Google::Apis::ComputeV1::InstanceGroupManagerAutoHealingPolicy::Representation
|
9431
9451
|
|
9432
9452
|
property :base_instance_name, as: 'baseInstanceName'
|
@@ -9515,6 +9535,14 @@ module Google
|
|
9515
9535
|
end
|
9516
9536
|
end
|
9517
9537
|
|
9538
|
+
class InstanceGroupManagerAllInstancesConfig
|
9539
|
+
# @private
|
9540
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9541
|
+
property :properties, as: 'properties', class: Google::Apis::ComputeV1::InstancePropertiesPatch, decorator: Google::Apis::ComputeV1::InstancePropertiesPatch::Representation
|
9542
|
+
|
9543
|
+
end
|
9544
|
+
end
|
9545
|
+
|
9518
9546
|
class InstanceGroupManagerAutoHealingPolicy
|
9519
9547
|
# @private
|
9520
9548
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9565,6 +9593,8 @@ module Google
|
|
9565
9593
|
class InstanceGroupManagerStatus
|
9566
9594
|
# @private
|
9567
9595
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9596
|
+
property :all_instances_config, as: 'allInstancesConfig', class: Google::Apis::ComputeV1::InstanceGroupManagerStatusAllInstancesConfig, decorator: Google::Apis::ComputeV1::InstanceGroupManagerStatusAllInstancesConfig::Representation
|
9597
|
+
|
9568
9598
|
property :autoscaler, as: 'autoscaler'
|
9569
9599
|
property :is_stable, as: 'isStable'
|
9570
9600
|
property :stateful, as: 'stateful', class: Google::Apis::ComputeV1::InstanceGroupManagerStatusStateful, decorator: Google::Apis::ComputeV1::InstanceGroupManagerStatusStateful::Representation
|
@@ -9574,6 +9604,14 @@ module Google
|
|
9574
9604
|
end
|
9575
9605
|
end
|
9576
9606
|
|
9607
|
+
class InstanceGroupManagerStatusAllInstancesConfig
|
9608
|
+
# @private
|
9609
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9610
|
+
property :current_revision, as: 'currentRevision'
|
9611
|
+
property :effective, as: 'effective'
|
9612
|
+
end
|
9613
|
+
end
|
9614
|
+
|
9577
9615
|
class InstanceGroupManagerStatusStateful
|
9578
9616
|
# @private
|
9579
9617
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10014,6 +10052,14 @@ module Google
|
|
10014
10052
|
end
|
10015
10053
|
end
|
10016
10054
|
|
10055
|
+
class InstancePropertiesPatch
|
10056
|
+
# @private
|
10057
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10058
|
+
hash :labels, as: 'labels'
|
10059
|
+
hash :metadata, as: 'metadata'
|
10060
|
+
end
|
10061
|
+
end
|
10062
|
+
|
10017
10063
|
class InstanceReference
|
10018
10064
|
# @private
|
10019
10065
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-compute_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.89.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: 2024-02-
|
11
|
+
date: 2024-02-11 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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.89.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|