google-apis-compute_v1 0.56.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: 350c67a3bf7d4c5e13faa3273d4a91f4ecb91bb66d7b38d9c0f6d4e273cb49d7
4
- data.tar.gz: 101f27b56c8ee497970f42b392c80dfec25ca95c842f37c969ddcd15b15396eb
3
+ metadata.gz: 0fa63cd3912c63ceff56a50826675ab0a69c66b1cd345fa51f871fb92f5e8224
4
+ data.tar.gz: '068e7a5249121fed8260b9845b27b69cce6960b6ab674b1f62b4f9295c14ae9b'
5
5
  SHA512:
6
- metadata.gz: b2901a2cb9c5635720458f059c4c1263bd76146281e0d716f0ac76a0989b209dc774c19dadf46358bd81bb81049198aab635c94d82899907ce91d0e373d3705e
7
- data.tar.gz: 95b1df5cef5673b71d4086b6d0635627b9c8c20c4617d16e682303626628b004563bb7866d6b33d6a65a4148b0064e1da4e09bbefe659fdde9a42d9a04d2f66a
6
+ metadata.gz: b60e10640358b71ddfcb99ddc9e15610b9c1fcf781cbc15f2b0fb4f09ad67898fbd8b5403d274d2a9e43861904f83d84ff3993750d62478b1916a3bca0238a28
7
+ data.tar.gz: 2cef21e23a667f1060c47260c3d7d27d128b2ea672080020a42439c7040b6a4b531a353d34930a2e4bf8a2832299a1534f796618e02628b0c6a045295ab11ab9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.57.0 (2022-12-22)
9
+
10
+ * Regenerated from discovery document revision 20221206
11
+
3
12
  ### v0.56.0 (2022-12-03)
4
13
 
5
14
  * Regenerated from discovery document revision 20221126
@@ -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
@@ -8916,12 +8964,13 @@ module Google
8916
8964
  # forwarding rules, this target must be in the same region as the forwarding
8917
8965
  # rule. For global forwarding rules, this target must be a global load balancing
8918
8966
  # resource. The forwarded traffic must be of a type appropriate to the target
8919
- # object. For more information, see the "Target" column in [Port specifications](
8967
+ # object. - For load balancers, see the "Target" column in [Port specifications](
8920
8968
  # https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#
8921
- # ip_address_specifications). For Private Service Connect forwarding rules that
8922
- # forward traffic to Google APIs, provide the name of a supported Google API
8923
- # bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All
8924
- # supported Google APIs.
8969
+ # ip_address_specifications). - For Private Service Connect forwarding rules
8970
+ # that forward traffic to Google APIs, provide the name of a supported Google
8971
+ # API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis -
8972
+ # All supported Google APIs. - For Private Service Connect forwarding rules that
8973
+ # forward traffic to managed services, the target must be a service attachment.
8925
8974
  # Corresponds to the JSON property `target`
8926
8975
  # @return [String]
8927
8976
  attr_accessor :target
@@ -16378,8 +16427,9 @@ module Google
16378
16427
 
16379
16428
  # Email address to contact the customer NOC for operations and maintenance
16380
16429
  # notifications regarding this Interconnect. If specified, this will be used for
16381
- # notifications in addition to all other forms described, such as Stackdriver
16382
- # logs alerting and Cloud Notifications.
16430
+ # notifications in addition to all other forms described, such as Cloud
16431
+ # Monitoring logs alerting and Cloud Notifications. This field is required for
16432
+ # users who sign up for Cloud Interconnect using workforce identity federation.
16383
16433
  # Corresponds to the JSON property `nocContactEmail`
16384
16434
  # @return [String]
16385
16435
  attr_accessor :noc_contact_email
@@ -21652,6 +21702,13 @@ module Google
21652
21702
  # @return [String]
21653
21703
  attr_accessor :network
21654
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
+
21655
21712
  # An IPv4 internal IP address to assign to the instance for this network
21656
21713
  # interface. If not specified by the user, an unused internal IP is assigned by
21657
21714
  # the system.
@@ -21706,6 +21763,7 @@ module Google
21706
21763
  @kind = args[:kind] if args.key?(:kind)
21707
21764
  @name = args[:name] if args.key?(:name)
21708
21765
  @network = args[:network] if args.key?(:network)
21766
+ @network_attachment = args[:network_attachment] if args.key?(:network_attachment)
21709
21767
  @network_ip = args[:network_ip] if args.key?(:network_ip)
21710
21768
  @nic_type = args[:nic_type] if args.key?(:nic_type)
21711
21769
  @queue_count = args[:queue_count] if args.key?(:queue_count)
@@ -28689,12 +28747,10 @@ module Google
28689
28747
  # @return [String]
28690
28748
  attr_accessor :name
28691
28749
 
28692
- # Resource policies to be added to this reservation. The key is defined by user,
28693
- # and the value is resource policy url. This is to define placement policy with
28694
- # reservation.
28695
- # Corresponds to the JSON property `resourcePolicies`
28696
- # @return [Hash<String,String>]
28697
- attr_accessor :resource_policies
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
28698
28754
 
28699
28755
  # [Output Only] Reserved for future use.
28700
28756
  # Corresponds to the JSON property `satisfiesPzs`
@@ -28749,7 +28805,7 @@ module Google
28749
28805
  @id = args[:id] if args.key?(:id)
28750
28806
  @kind = args[:kind] if args.key?(:kind)
28751
28807
  @name = args[:name] if args.key?(:name)
28752
- @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
28808
+ @resource_status = args[:resource_status] if args.key?(:resource_status)
28753
28809
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
28754
28810
  @self_link = args[:self_link] if args.key?(:self_link)
28755
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.56.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 = "20221126"
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,7 +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'
12684
- hash :resource_policies, as: 'resourcePolicies'
12713
+ property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeV1::AllocationResourceStatus, decorator: Google::Apis::ComputeV1::AllocationResourceStatus::Representation
12714
+
12685
12715
  property :satisfies_pzs, as: 'satisfiesPzs'
12686
12716
  property :self_link, as: 'selfLink'
12687
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.56.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: 2022-12-12 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.56.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