google-apis-compute_beta 0.56.0 → 0.57.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: 85a62ca1575b82d9a9108181999e5102ba4405a1b8cbf7e85048e9996fb1db9f
4
- data.tar.gz: f8e83130e3860e3a345412cb09d8f66dadbb414ef6b37b3b8beb3c601746e689
3
+ metadata.gz: 415859b7d091d4d976f1f052aae7b6c268a6102679fa23cdecd91e415fab9697
4
+ data.tar.gz: 58164b5dc97907bbce1512b7b01401534717e81ef65e5d3e21bfe7628c31d93e
5
5
  SHA512:
6
- metadata.gz: 384f5d877c908d5c3f05cb2f51b263bbf26dc818283cdcaf708c0c61574f9173f85245d8d7f613d2a35c0354de99b1d056bf36a227f7c3a261ec7a0ff6d9efac
7
- data.tar.gz: 391c7e2bd81f646bc95038daa09b91cf99fbb7af45e6e56d86c2ff3bb695f3c1d831b11c25a61f042e861c64fb478168271cda5bee4792b0b3cc1f2927bb0534
6
+ metadata.gz: 72f53d8ef02836b2a4b05700f3317a31d9f2ba8061fe43d640497279431b5abbb17b95db6eeef055b877ad8d0b1cec2d7dcc019703554b9e68bfd7485fdf3589
7
+ data.tar.gz: 39b57522fe101f2c80bc56f3b6659245f1dab6baf1128bfbc362c29a188c56c9673142a97e38ba303ffa357a1448d8a919df80d4cc999c7597455edb241f0758
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.57.0 (2023-01-15)
4
+
5
+ * Regenerated from discovery document revision 20221224
6
+ * Regenerated using generator version 0.11.1
7
+
3
8
  ### v0.56.0 (2023-01-04)
4
9
 
5
10
  * Regenerated from discovery document revision 20221206
@@ -1190,6 +1190,44 @@ module Google
1190
1190
  end
1191
1191
  end
1192
1192
 
1193
+ # [Output Only] Contains output only fields.
1194
+ class AllocationResourceStatus
1195
+ include Google::Apis::Core::Hashable
1196
+
1197
+ # Contains Properties set for the reservation.
1198
+ # Corresponds to the JSON property `specificSkuAllocation`
1199
+ # @return [Google::Apis::ComputeBeta::AllocationResourceStatusSpecificSkuAllocation]
1200
+ attr_accessor :specific_sku_allocation
1201
+
1202
+ def initialize(**args)
1203
+ update!(**args)
1204
+ end
1205
+
1206
+ # Update properties of this object
1207
+ def update!(**args)
1208
+ @specific_sku_allocation = args[:specific_sku_allocation] if args.key?(:specific_sku_allocation)
1209
+ end
1210
+ end
1211
+
1212
+ # Contains Properties set for the reservation.
1213
+ class AllocationResourceStatusSpecificSkuAllocation
1214
+ include Google::Apis::Core::Hashable
1215
+
1216
+ # ID of the instance template used to populate reservation properties.
1217
+ # Corresponds to the JSON property `sourceInstanceTemplateId`
1218
+ # @return [String]
1219
+ attr_accessor :source_instance_template_id
1220
+
1221
+ def initialize(**args)
1222
+ update!(**args)
1223
+ end
1224
+
1225
+ # Update properties of this object
1226
+ def update!(**args)
1227
+ @source_instance_template_id = args[:source_instance_template_id] if args.key?(:source_instance_template_id)
1228
+ end
1229
+ end
1230
+
1193
1231
  #
1194
1232
  class AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk
1195
1233
  include Google::Apis::Core::Hashable
@@ -1303,6 +1341,16 @@ module Google
1303
1341
  # @return [Google::Apis::ComputeBeta::AllocationSpecificSkuAllocationReservedInstanceProperties]
1304
1342
  attr_accessor :instance_properties
1305
1343
 
1344
+ # Specifies the instance template to create the reservation. If you use this
1345
+ # field, you must exclude the instanceProperties field. This field is optional,
1346
+ # and it can be a full or partial URL. For example, the following are all valid
1347
+ # URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/
1348
+ # project /global/instanceTemplates/instanceTemplate - projects/project/global/
1349
+ # instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
1350
+ # Corresponds to the JSON property `sourceInstanceTemplate`
1351
+ # @return [String]
1352
+ attr_accessor :source_instance_template
1353
+
1306
1354
  def initialize(**args)
1307
1355
  update!(**args)
1308
1356
  end
@@ -1313,6 +1361,7 @@ module Google
1313
1361
  @count = args[:count] if args.key?(:count)
1314
1362
  @in_use_count = args[:in_use_count] if args.key?(:in_use_count)
1315
1363
  @instance_properties = args[:instance_properties] if args.key?(:instance_properties)
1364
+ @source_instance_template = args[:source_instance_template] if args.key?(:source_instance_template)
1316
1365
  end
1317
1366
  end
1318
1367
 
@@ -8626,9 +8675,8 @@ module Google
8626
8675
  class FirewallPolicyRule
8627
8676
  include Google::Apis::Core::Hashable
8628
8677
 
8629
- # The Action to perform when the client connection triggers the rule. Can
8630
- # currently be either "allow" or "deny()" where valid values for status are 403,
8631
- # 404, and 502.
8678
+ # The Action to perform when the client connection triggers the rule. Valid
8679
+ # actions are "allow", "deny" and "goto_next".
8632
8680
  # Corresponds to the JSON property `action`
8633
8681
  # @return [String]
8634
8682
  attr_accessor :action
@@ -9000,6 +9048,13 @@ module Google
9000
9048
  attr_accessor :allow_global_access
9001
9049
  alias_method :allow_global_access?, :allow_global_access
9002
9050
 
9051
+ # This is used in PSC consumer ForwardingRule to control whether the PSC
9052
+ # endpoint can be accessed from another region.
9053
+ # Corresponds to the JSON property `allowPscGlobalAccess`
9054
+ # @return [Boolean]
9055
+ attr_accessor :allow_psc_global_access
9056
+ alias_method :allow_psc_global_access?, :allow_psc_global_access
9057
+
9003
9058
  # Identifies the backend service to which the forwarding rule sends traffic.
9004
9059
  # Required for Internal TCP/UDP Load Balancing and Network Load Balancing; must
9005
9060
  # be omitted for all other load balancer types.
@@ -9274,6 +9329,7 @@ module Google
9274
9329
  @ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol)
9275
9330
  @all_ports = args[:all_ports] if args.key?(:all_ports)
9276
9331
  @allow_global_access = args[:allow_global_access] if args.key?(:allow_global_access)
9332
+ @allow_psc_global_access = args[:allow_psc_global_access] if args.key?(:allow_psc_global_access)
9277
9333
  @backend_service = args[:backend_service] if args.key?(:backend_service)
9278
9334
  @base_forwarding_rule = args[:base_forwarding_rule] if args.key?(:base_forwarding_rule)
9279
9335
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@@ -22640,6 +22696,13 @@ module Google
22640
22696
  # @return [String]
22641
22697
  attr_accessor :network
22642
22698
 
22699
+ # The URL of the network attachment that this interface should connect to in the
22700
+ # following format: projects/`project_number`/regions/`region_name`/
22701
+ # networkAttachments/`network_attachment_name`.
22702
+ # Corresponds to the JSON property `networkAttachment`
22703
+ # @return [String]
22704
+ attr_accessor :network_attachment
22705
+
22643
22706
  # An IPv4 internal IP address to assign to the instance for this network
22644
22707
  # interface. If not specified by the user, an unused internal IP is assigned by
22645
22708
  # the system.
@@ -22694,6 +22757,7 @@ module Google
22694
22757
  @kind = args[:kind] if args.key?(:kind)
22695
22758
  @name = args[:name] if args.key?(:name)
22696
22759
  @network = args[:network] if args.key?(:network)
22760
+ @network_attachment = args[:network_attachment] if args.key?(:network_attachment)
22697
22761
  @network_ip = args[:network_ip] if args.key?(:network_ip)
22698
22762
  @nic_type = args[:nic_type] if args.key?(:nic_type)
22699
22763
  @queue_count = args[:queue_count] if args.key?(:queue_count)
@@ -29909,6 +29973,11 @@ module Google
29909
29973
  # @return [Hash<String,String>]
29910
29974
  attr_accessor :resource_policies
29911
29975
 
29976
+ # [Output Only] Contains output only fields.
29977
+ # Corresponds to the JSON property `resourceStatus`
29978
+ # @return [Google::Apis::ComputeBeta::AllocationResourceStatus]
29979
+ attr_accessor :resource_status
29980
+
29912
29981
  # [Output Only] Reserved for future use.
29913
29982
  # Corresponds to the JSON property `satisfiesPzs`
29914
29983
  # @return [Boolean]
@@ -29963,6 +30032,7 @@ module Google
29963
30032
  @kind = args[:kind] if args.key?(:kind)
29964
30033
  @name = args[:name] if args.key?(:name)
29965
30034
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
30035
+ @resource_status = args[:resource_status] if args.key?(:resource_status)
29966
30036
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
29967
30037
  @self_link = args[:self_link] if args.key?(:self_link)
29968
30038
  @share_settings = args[:share_settings] if args.key?(:share_settings)
@@ -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.56.0"
19
+ GEM_VERSION = "0.57.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
@@ -172,6 +172,18 @@ module Google
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
+ class AllocationResourceStatus
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class AllocationResourceStatusSpecificSkuAllocation
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
175
187
  class AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk
176
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
189
 
@@ -6241,6 +6253,21 @@ module Google
6241
6253
  end
6242
6254
  end
6243
6255
 
6256
+ class AllocationResourceStatus
6257
+ # @private
6258
+ class Representation < Google::Apis::Core::JsonRepresentation
6259
+ property :specific_sku_allocation, as: 'specificSkuAllocation', class: Google::Apis::ComputeBeta::AllocationResourceStatusSpecificSkuAllocation, decorator: Google::Apis::ComputeBeta::AllocationResourceStatusSpecificSkuAllocation::Representation
6260
+
6261
+ end
6262
+ end
6263
+
6264
+ class AllocationResourceStatusSpecificSkuAllocation
6265
+ # @private
6266
+ class Representation < Google::Apis::Core::JsonRepresentation
6267
+ property :source_instance_template_id, as: 'sourceInstanceTemplateId'
6268
+ end
6269
+ end
6270
+
6244
6271
  class AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk
6245
6272
  # @private
6246
6273
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6272,6 +6299,7 @@ module Google
6272
6299
  property :in_use_count, :numeric_string => true, as: 'inUseCount'
6273
6300
  property :instance_properties, as: 'instanceProperties', class: Google::Apis::ComputeBeta::AllocationSpecificSkuAllocationReservedInstanceProperties, decorator: Google::Apis::ComputeBeta::AllocationSpecificSkuAllocationReservedInstanceProperties::Representation
6274
6301
 
6302
+ property :source_instance_template, as: 'sourceInstanceTemplate'
6275
6303
  end
6276
6304
  end
6277
6305
 
@@ -7976,6 +8004,7 @@ module Google
7976
8004
  property :ip_protocol, as: 'IPProtocol'
7977
8005
  property :all_ports, as: 'allPorts'
7978
8006
  property :allow_global_access, as: 'allowGlobalAccess'
8007
+ property :allow_psc_global_access, as: 'allowPscGlobalAccess'
7979
8008
  property :backend_service, as: 'backendService'
7980
8009
  property :base_forwarding_rule, as: 'baseForwardingRule'
7981
8010
  property :creation_timestamp, as: 'creationTimestamp'
@@ -11321,6 +11350,7 @@ module Google
11321
11350
  property :kind, as: 'kind'
11322
11351
  property :name, as: 'name'
11323
11352
  property :network, as: 'network'
11353
+ property :network_attachment, as: 'networkAttachment'
11324
11354
  property :network_ip, as: 'networkIP'
11325
11355
  property :nic_type, as: 'nicType'
11326
11356
  property :queue_count, as: 'queueCount'
@@ -13210,6 +13240,8 @@ module Google
13210
13240
  property :kind, as: 'kind'
13211
13241
  property :name, as: 'name'
13212
13242
  hash :resource_policies, as: 'resourcePolicies'
13243
+ property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeBeta::AllocationResourceStatus, decorator: Google::Apis::ComputeBeta::AllocationResourceStatus::Representation
13244
+
13213
13245
  property :satisfies_pzs, as: 'satisfiesPzs'
13214
13246
  property :self_link, as: 'selfLink'
13215
13247
  property :share_settings, as: 'shareSettings', class: Google::Apis::ComputeBeta::ShareSettings, decorator: Google::Apis::ComputeBeta::ShareSettings::Representation
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.56.0
4
+ version: 0.57.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_beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.56.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.57.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: []
@@ -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 Beta