google-apis-compute_v1 0.57.0 → 0.58.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: e52dd904f4738381453f888fc93f8d3ceec0d9a3b74a1ffe25876537b0315fbd
4
- data.tar.gz: 2189f0d2154db8a7de1c195251b88153a96d70eb916ec197516fca7e0b495020
3
+ metadata.gz: 0fa63cd3912c63ceff56a50826675ab0a69c66b1cd345fa51f871fb92f5e8224
4
+ data.tar.gz: '068e7a5249121fed8260b9845b27b69cce6960b6ab674b1f62b4f9295c14ae9b'
5
5
  SHA512:
6
- metadata.gz: b15404aba22ee9a361d29921a27cf875174c10abd4dc7672173798e2c7cab7f2c8930ae5745ec7a69fc9e2eb6da1ef29bc53d0abb7c9a1fcc58bc746172afb15
7
- data.tar.gz: 51b9cb86456da66ecc945bd6d106d90dd601195d674deb18aafd6074f5a407ff02e7c9341e8919ef7afdffded81a1933a349a0884ef2515f44264dafdfff647f
6
+ metadata.gz: b60e10640358b71ddfcb99ddc9e15610b9c1fcf781cbc15f2b0fb4f09ad67898fbd8b5403d274d2a9e43861904f83d84ff3993750d62478b1916a3bca0238a28
7
+ data.tar.gz: 2cef21e23a667f1060c47260c3d7d27d128b2ea672080020a42439c7040b6a4b531a353d34930a2e4bf8a2832299a1534f796618e02628b0c6a045295ab11ab9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.58.0 (2023-01-15)
4
+
5
+ * Regenerated from discovery document revision 20221224
6
+ * Regenerated using generator version 0.11.1
7
+
3
8
  ### v0.57.0 (2022-12-22)
4
9
 
5
10
  * Regenerated from discovery document revision 20221206
@@ -1123,6 +1123,44 @@ module Google
1123
1123
  end
1124
1124
  end
1125
1125
 
1126
+ #
1127
+ class AllocationResourceStatus
1128
+ include Google::Apis::Core::Hashable
1129
+
1130
+ #
1131
+ # Corresponds to the JSON property `specificSkuAllocation`
1132
+ # @return [Google::Apis::ComputeV1::AllocationResourceStatusSpecificSkuAllocation]
1133
+ attr_accessor :specific_sku_allocation
1134
+
1135
+ def initialize(**args)
1136
+ update!(**args)
1137
+ end
1138
+
1139
+ # Update properties of this object
1140
+ def update!(**args)
1141
+ @specific_sku_allocation = args[:specific_sku_allocation] if args.key?(:specific_sku_allocation)
1142
+ end
1143
+ end
1144
+
1145
+ #
1146
+ class AllocationResourceStatusSpecificSkuAllocation
1147
+ include Google::Apis::Core::Hashable
1148
+
1149
+ #
1150
+ # Corresponds to the JSON property `sourceInstanceTemplateId`
1151
+ # @return [String]
1152
+ attr_accessor :source_instance_template_id
1153
+
1154
+ def initialize(**args)
1155
+ update!(**args)
1156
+ end
1157
+
1158
+ # Update properties of this object
1159
+ def update!(**args)
1160
+ @source_instance_template_id = args[:source_instance_template_id] if args.key?(:source_instance_template_id)
1161
+ end
1162
+ end
1163
+
1126
1164
  #
1127
1165
  class AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk
1128
1166
  include Google::Apis::Core::Hashable
@@ -1222,6 +1260,16 @@ module Google
1222
1260
  # @return [Google::Apis::ComputeV1::AllocationSpecificSkuAllocationReservedInstanceProperties]
1223
1261
  attr_accessor :instance_properties
1224
1262
 
1263
+ # Specifies the instance template to create the reservation. If you use this
1264
+ # field, you must exclude the instanceProperties field. This field is optional,
1265
+ # and it can be a full or partial URL. For example, the following are all valid
1266
+ # URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/
1267
+ # project /global/instanceTemplates/instanceTemplate - projects/project/global/
1268
+ # instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
1269
+ # Corresponds to the JSON property `sourceInstanceTemplate`
1270
+ # @return [String]
1271
+ attr_accessor :source_instance_template
1272
+
1225
1273
  def initialize(**args)
1226
1274
  update!(**args)
1227
1275
  end
@@ -1232,6 +1280,7 @@ module Google
1232
1280
  @count = args[:count] if args.key?(:count)
1233
1281
  @in_use_count = args[:in_use_count] if args.key?(:in_use_count)
1234
1282
  @instance_properties = args[:instance_properties] if args.key?(:instance_properties)
1283
+ @source_instance_template = args[:source_instance_template] if args.key?(:source_instance_template)
1235
1284
  end
1236
1285
  end
1237
1286
 
@@ -8367,9 +8416,8 @@ module Google
8367
8416
  class FirewallPolicyRule
8368
8417
  include Google::Apis::Core::Hashable
8369
8418
 
8370
- # The Action to perform when the client connection triggers the rule. Can
8371
- # currently be either "allow" or "deny()" where valid values for status are 403,
8372
- # 404, and 502.
8419
+ # The Action to perform when the client connection triggers the rule. Valid
8420
+ # actions are "allow", "deny" and "goto_next".
8373
8421
  # Corresponds to the JSON property `action`
8374
8422
  # @return [String]
8375
8423
  attr_accessor :action
@@ -21654,6 +21702,13 @@ module Google
21654
21702
  # @return [String]
21655
21703
  attr_accessor :network
21656
21704
 
21705
+ # The URL of the network attachment that this interface should connect to in the
21706
+ # following format: projects/`project_number`/regions/`region_name`/
21707
+ # networkAttachments/`network_attachment_name`.
21708
+ # Corresponds to the JSON property `networkAttachment`
21709
+ # @return [String]
21710
+ attr_accessor :network_attachment
21711
+
21657
21712
  # An IPv4 internal IP address to assign to the instance for this network
21658
21713
  # interface. If not specified by the user, an unused internal IP is assigned by
21659
21714
  # the system.
@@ -21708,6 +21763,7 @@ module Google
21708
21763
  @kind = args[:kind] if args.key?(:kind)
21709
21764
  @name = args[:name] if args.key?(:name)
21710
21765
  @network = args[:network] if args.key?(:network)
21766
+ @network_attachment = args[:network_attachment] if args.key?(:network_attachment)
21711
21767
  @network_ip = args[:network_ip] if args.key?(:network_ip)
21712
21768
  @nic_type = args[:nic_type] if args.key?(:nic_type)
21713
21769
  @queue_count = args[:queue_count] if args.key?(:queue_count)
@@ -28691,6 +28747,11 @@ module Google
28691
28747
  # @return [String]
28692
28748
  attr_accessor :name
28693
28749
 
28750
+ # [Output Only] Status information for Reservation resource.
28751
+ # Corresponds to the JSON property `resourceStatus`
28752
+ # @return [Google::Apis::ComputeV1::AllocationResourceStatus]
28753
+ attr_accessor :resource_status
28754
+
28694
28755
  # [Output Only] Reserved for future use.
28695
28756
  # Corresponds to the JSON property `satisfiesPzs`
28696
28757
  # @return [Boolean]
@@ -28744,6 +28805,7 @@ module Google
28744
28805
  @id = args[:id] if args.key?(:id)
28745
28806
  @kind = args[:kind] if args.key?(:kind)
28746
28807
  @name = args[:name] if args.key?(:name)
28808
+ @resource_status = args[:resource_status] if args.key?(:resource_status)
28747
28809
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
28748
28810
  @self_link = args[:self_link] if args.key?(:self_link)
28749
28811
  @share_settings = args[:share_settings] if args.key?(:share_settings)
@@ -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.57.0"
19
+ GEM_VERSION = "0.58.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221206"
25
+ REVISION = "20221224"
26
26
  end
27
27
  end
28
28
  end
@@ -166,6 +166,18 @@ module Google
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
+ class AllocationResourceStatus
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class AllocationResourceStatusSpecificSkuAllocation
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
169
181
  class AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk
170
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
183
 
@@ -5989,6 +6001,21 @@ module Google
5989
6001
  end
5990
6002
  end
5991
6003
 
6004
+ class AllocationResourceStatus
6005
+ # @private
6006
+ class Representation < Google::Apis::Core::JsonRepresentation
6007
+ property :specific_sku_allocation, as: 'specificSkuAllocation', class: Google::Apis::ComputeV1::AllocationResourceStatusSpecificSkuAllocation, decorator: Google::Apis::ComputeV1::AllocationResourceStatusSpecificSkuAllocation::Representation
6008
+
6009
+ end
6010
+ end
6011
+
6012
+ class AllocationResourceStatusSpecificSkuAllocation
6013
+ # @private
6014
+ class Representation < Google::Apis::Core::JsonRepresentation
6015
+ property :source_instance_template_id, as: 'sourceInstanceTemplateId'
6016
+ end
6017
+ end
6018
+
5992
6019
  class AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk
5993
6020
  # @private
5994
6021
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6018,6 +6045,7 @@ module Google
6018
6045
  property :in_use_count, :numeric_string => true, as: 'inUseCount'
6019
6046
  property :instance_properties, as: 'instanceProperties', class: Google::Apis::ComputeV1::AllocationSpecificSkuAllocationReservedInstanceProperties, decorator: Google::Apis::ComputeV1::AllocationSpecificSkuAllocationReservedInstanceProperties::Representation
6020
6047
 
6048
+ property :source_instance_template, as: 'sourceInstanceTemplate'
6021
6049
  end
6022
6050
  end
6023
6051
 
@@ -10865,6 +10893,7 @@ module Google
10865
10893
  property :kind, as: 'kind'
10866
10894
  property :name, as: 'name'
10867
10895
  property :network, as: 'network'
10896
+ property :network_attachment, as: 'networkAttachment'
10868
10897
  property :network_ip, as: 'networkIP'
10869
10898
  property :nic_type, as: 'nicType'
10870
10899
  property :queue_count, as: 'queueCount'
@@ -12681,6 +12710,8 @@ module Google
12681
12710
  property :id, :numeric_string => true, as: 'id'
12682
12711
  property :kind, as: 'kind'
12683
12712
  property :name, as: 'name'
12713
+ property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeV1::AllocationResourceStatus, decorator: Google::Apis::ComputeV1::AllocationResourceStatus::Representation
12714
+
12684
12715
  property :satisfies_pzs, as: 'satisfiesPzs'
12685
12716
  property :self_link, as: 'selfLink'
12686
12717
  property :share_settings, as: 'shareSettings', class: Google::Apis::ComputeV1::ShareSettings, decorator: Google::Apis::ComputeV1::ShareSettings::Representation
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.57.0
4
+ version: 0.58.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: 2023-01-04 00:00:00.000000000 Z
11
+ date: 2023-01-15 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.57.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.58.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Compute Engine API V1