google-apis-compute_v1 0.60.0 → 0.61.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: e89ab66d19be500a44392d9c33371a8e94e51abde0773b814c733a2528d68713
4
- data.tar.gz: 7d553bec3703f265011255a59b11c2f434a3d0b3051605a55f857e1aecd5735b
3
+ metadata.gz: 7ec3a1ed034df6e2bb12672dcf62f0b99b015dbe23b47c6e437415d84c624648
4
+ data.tar.gz: fd0eedaffee5e1a68b700ef6462338e4361e82575675fe48f8b795c6f1ffe010
5
5
  SHA512:
6
- metadata.gz: abd427a0d8cb5ce61d63639df0d7187ac1882e66465180e1ae533a586a591d1350a25a487821b526d4eed0bfb41789fb4b86152dfec08f30f571676ea8799d48
7
- data.tar.gz: bf3b7a165e78ba460175a611ab9dcb44212b80adbd42698c2bebb3967fccf52678fedbf7ce5151349bdf2ce7ca45355212da824382f2585905dc4d798e735740
6
+ metadata.gz: eea843e55a394c570c91987e5f94185262143e71a71de6380e648a721d7efaacc30ba389fc05999cc1884d212fb26e9c9c5fb8c4753b70e4b40a7fb4f3631ea3
7
+ data.tar.gz: 2bc76d764123a6f07ca4cbe98ab909f46d50e868d994d696986063c35fabb69cd85ed45d34885fe3c51b6683b369302f701e072c866dbf16999ddcefbcdc74b8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.61.0 (2023-02-12)
4
+
5
+ * Regenerated from discovery document revision 20230201
6
+
3
7
  ### v0.60.0 (2023-01-29)
4
8
 
5
9
  * Regenerated from discovery document revision 20230119
@@ -466,8 +466,9 @@ module Google
466
466
 
467
467
  # The first IPv6 address of the external IPv6 range associated with this
468
468
  # instance, prefix length is stored in externalIpv6PrefixLength in
469
- # ipv6AccessConfig. The field is output only, an IPv6 address from a subnetwork
470
- # associated with the instance will be allocated dynamically.
469
+ # ipv6AccessConfig. To use a static external IP address, it must be unused and
470
+ # in the same region as the instance's zone. If not specified, GCP will
471
+ # automatically assign an external IPv6 address from the instance's subnetwork.
471
472
  # Corresponds to the JSON property `externalIpv6`
472
473
  # @return [String]
473
474
  attr_accessor :external_ipv6
@@ -1123,11 +1124,11 @@ module Google
1123
1124
  end
1124
1125
  end
1125
1126
 
1126
- #
1127
+ # [Output Only] Contains output only fields.
1127
1128
  class AllocationResourceStatus
1128
1129
  include Google::Apis::Core::Hashable
1129
1130
 
1130
- #
1131
+ # Contains Properties set for the reservation.
1131
1132
  # Corresponds to the JSON property `specificSkuAllocation`
1132
1133
  # @return [Google::Apis::ComputeV1::AllocationResourceStatusSpecificSkuAllocation]
1133
1134
  attr_accessor :specific_sku_allocation
@@ -1142,11 +1143,11 @@ module Google
1142
1143
  end
1143
1144
  end
1144
1145
 
1145
- #
1146
+ # Contains Properties set for the reservation.
1146
1147
  class AllocationResourceStatusSpecificSkuAllocation
1147
1148
  include Google::Apis::Core::Hashable
1148
1149
 
1149
- #
1150
+ # ID of the instance template used to populate reservation properties.
1150
1151
  # Corresponds to the JSON property `sourceInstanceTemplateId`
1151
1152
  # @return [String]
1152
1153
  attr_accessor :source_instance_template_id
@@ -4649,22 +4650,22 @@ module Google
4649
4650
  # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
4650
4651
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
4651
4652
  # email address that represents a Google group. For example, `admins@example.com`
4652
- # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
4653
- # identifier) representing a user that has been recently deleted. For example, `
4654
- # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
4655
- # value reverts to `user:`emailid`` and the recovered user retains the role in
4656
- # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
4657
- # address (plus unique identifier) representing a service account that has been
4658
- # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
4653
+ # . * `domain:`domain``: The G Suite domain (primary) that represents all the
4654
+ # users of that domain. For example, `google.com` or `example.com`. * `deleted:
4655
+ # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
4656
+ # representing a user that has been recently deleted. For example, `alice@
4657
+ # example.com?uid=123456789012345678901`. If the user is recovered, this value
4658
+ # reverts to `user:`emailid`` and the recovered user retains the role in the
4659
+ # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
4660
+ # (plus unique identifier) representing a service account that has been recently
4661
+ # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
4659
4662
  # 123456789012345678901`. If the service account is undeleted, this value
4660
4663
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
4661
4664
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
4662
4665
  # An email address (plus unique identifier) representing a Google group that has
4663
4666
  # been recently deleted. For example, `admins@example.com?uid=
4664
4667
  # 123456789012345678901`. If the group is recovered, this value reverts to `
4665
- # group:`emailid`` and the recovered group retains the role in the binding. * `
4666
- # domain:`domain``: The G Suite domain (primary) that represents all the users
4667
- # of that domain. For example, `google.com` or `example.com`.
4668
+ # group:`emailid`` and the recovered group retains the role in the binding.
4668
4669
  # Corresponds to the JSON property `members`
4669
4670
  # @return [Array<String>]
4670
4671
  attr_accessor :members
@@ -21692,7 +21693,10 @@ module Google
21692
21693
  # @return [String]
21693
21694
  attr_accessor :ipv6_access_type
21694
21695
 
21695
- # An IPv6 internal network address for this network interface.
21696
+ # An IPv6 internal network address for this network interface. To use a static
21697
+ # internal IP address, it must be unused and in the same region as the instance'
21698
+ # s zone. If not specified, GCP will automatically assign an internal IPv6
21699
+ # address from the instance's subnetwork.
21696
21700
  # Corresponds to the JSON property `ipv6Address`
21697
21701
  # @return [String]
21698
21702
  attr_accessor :ipv6_address
@@ -28768,7 +28772,14 @@ module Google
28768
28772
  # @return [String]
28769
28773
  attr_accessor :name
28770
28774
 
28771
- # [Output Only] Status information for Reservation resource.
28775
+ # Resource policies to be added to this reservation. The key is defined by user,
28776
+ # and the value is resource policy url. This is to define placement policy with
28777
+ # reservation.
28778
+ # Corresponds to the JSON property `resourcePolicies`
28779
+ # @return [Hash<String,String>]
28780
+ attr_accessor :resource_policies
28781
+
28782
+ # [Output Only] Contains output only fields.
28772
28783
  # Corresponds to the JSON property `resourceStatus`
28773
28784
  # @return [Google::Apis::ComputeV1::AllocationResourceStatus]
28774
28785
  attr_accessor :resource_status
@@ -28826,6 +28837,7 @@ module Google
28826
28837
  @id = args[:id] if args.key?(:id)
28827
28838
  @kind = args[:kind] if args.key?(:kind)
28828
28839
  @name = args[:name] if args.key?(:name)
28840
+ @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
28829
28841
  @resource_status = args[:resource_status] if args.key?(:resource_status)
28830
28842
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
28831
28843
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -32845,7 +32857,11 @@ module Google
32845
32857
  # CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be
32846
32858
  # configured to filter HTTP requests targeting services managed by Traffic
32847
32859
  # Director in a service mesh. They filter requests before the request is served
32848
- # from the application. This field can be set only at resource creation time.
32860
+ # from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can
32861
+ # be configured to filter packets targeting network load balancing resources
32862
+ # such as backend services, target pools, target instances, and instances with
32863
+ # external IPs. They filter requests before the request is served from the
32864
+ # application. This field can be set only at resource creation time.
32849
32865
  # Corresponds to the JSON property `type`
32850
32866
  # @return [String]
32851
32867
  attr_accessor :type
@@ -41615,7 +41631,7 @@ module Google
41615
41631
  # request to modify or update labels. You must always provide an up-to-date
41616
41632
  # fingerprint hash in order to update or change labels, otherwise the request
41617
41633
  # will fail with error 412 conditionNotMet. To see the latest fingerprint, make
41618
- # a get() request to retrieve an VpnGateway.
41634
+ # a get() request to retrieve a VpnGateway.
41619
41635
  # Corresponds to the JSON property `labelFingerprint`
41620
41636
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
41621
41637
  # @return [String]
@@ -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.60.0"
19
+ GEM_VERSION = "0.61.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230119"
25
+ REVISION = "20230201"
26
26
  end
27
27
  end
28
28
  end
@@ -12712,6 +12712,7 @@ module Google
12712
12712
  property :id, :numeric_string => true, as: 'id'
12713
12713
  property :kind, as: 'kind'
12714
12714
  property :name, as: 'name'
12715
+ hash :resource_policies, as: 'resourcePolicies'
12715
12716
  property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeV1::AllocationResourceStatus, decorator: Google::Apis::ComputeV1::AllocationResourceStatus::Representation
12716
12717
 
12717
12718
  property :satisfies_pzs, as: 'satisfiesPzs'
@@ -3289,6 +3289,66 @@ module Google
3289
3289
  execute_or_queue_command(command, &block)
3290
3290
  end
3291
3291
 
3292
+ # Updates the specified disk with the data included in the request. The update
3293
+ # is performed only on selected fields included as part of update-mask. Only the
3294
+ # following fields can be modified: user_license.
3295
+ # @param [String] project
3296
+ # Project ID for this request.
3297
+ # @param [String] zone
3298
+ # The name of the zone for this request.
3299
+ # @param [String] disk
3300
+ # The disk name for this request.
3301
+ # @param [Google::Apis::ComputeV1::Disk] disk_object
3302
+ # @param [Array<String>, String] paths
3303
+ # @param [String] request_id
3304
+ # An optional request ID to identify requests. Specify a unique request ID so
3305
+ # that if you must retry your request, the server will know to ignore the
3306
+ # request if it has already been completed. For example, consider a situation
3307
+ # where you make an initial request and the request times out. If you make the
3308
+ # request again with the same request ID, the server can check if original
3309
+ # operation with the same request ID was received, and if so, will ignore the
3310
+ # second request. This prevents clients from accidentally creating duplicate
3311
+ # commitments. The request ID must be a valid UUID with the exception that zero
3312
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
3313
+ # @param [String] update_mask
3314
+ # update_mask indicates fields to be updated as part of this request.
3315
+ # @param [String] fields
3316
+ # Selector specifying which fields to include in a partial response.
3317
+ # @param [String] quota_user
3318
+ # Available to use for quota purposes for server-side applications. Can be any
3319
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3320
+ # @param [String] user_ip
3321
+ # Legacy name for parameter that has been superseded by `quotaUser`.
3322
+ # @param [Google::Apis::RequestOptions] options
3323
+ # Request-specific options
3324
+ #
3325
+ # @yield [result, err] Result & error if block supplied
3326
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
3327
+ # @yieldparam err [StandardError] error object if request failed
3328
+ #
3329
+ # @return [Google::Apis::ComputeV1::Operation]
3330
+ #
3331
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3332
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3333
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3334
+ def update_disk(project, zone, disk, disk_object = nil, paths: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3335
+ command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/disks/{disk}', options)
3336
+ command.request_representation = Google::Apis::ComputeV1::Disk::Representation
3337
+ command.request_object = disk_object
3338
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
3339
+ command.response_class = Google::Apis::ComputeV1::Operation
3340
+ command.params['project'] = project unless project.nil?
3341
+ command.params['zone'] = zone unless zone.nil?
3342
+ command.params['disk'] = disk unless disk.nil?
3343
+ command.query['paths'] = paths unless paths.nil?
3344
+ command.query['requestId'] = request_id unless request_id.nil?
3345
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3346
+ command.query['fields'] = fields unless fields.nil?
3347
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3348
+ command.query['userIp'] = user_ip unless user_ip.nil?
3349
+ execute_or_queue_command(command, &block)
3350
+ end
3351
+
3292
3352
  # Deletes the specified externalVpnGateway.
3293
3353
  # @param [String] project
3294
3354
  # Project ID for this request.
@@ -23133,6 +23193,66 @@ module Google
23133
23193
  execute_or_queue_command(command, &block)
23134
23194
  end
23135
23195
 
23196
+ # Update the specified disk with the data included in the request. Update is
23197
+ # performed only on selected fields included as part of update-mask. Only the
23198
+ # following fields can be modified: user_license.
23199
+ # @param [String] project
23200
+ # Project ID for this request.
23201
+ # @param [String] region
23202
+ # The name of the region for this request.
23203
+ # @param [String] disk
23204
+ # The disk name for this request.
23205
+ # @param [Google::Apis::ComputeV1::Disk] disk_object
23206
+ # @param [Array<String>, String] paths
23207
+ # @param [String] request_id
23208
+ # An optional request ID to identify requests. Specify a unique request ID so
23209
+ # that if you must retry your request, the server will know to ignore the
23210
+ # request if it has already been completed. For example, consider a situation
23211
+ # where you make an initial request and the request times out. If you make the
23212
+ # request again with the same request ID, the server can check if original
23213
+ # operation with the same request ID was received, and if so, will ignore the
23214
+ # second request. This prevents clients from accidentally creating duplicate
23215
+ # commitments. The request ID must be a valid UUID with the exception that zero
23216
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
23217
+ # @param [String] update_mask
23218
+ # update_mask indicates fields to be updated as part of this request.
23219
+ # @param [String] fields
23220
+ # Selector specifying which fields to include in a partial response.
23221
+ # @param [String] quota_user
23222
+ # Available to use for quota purposes for server-side applications. Can be any
23223
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
23224
+ # @param [String] user_ip
23225
+ # Legacy name for parameter that has been superseded by `quotaUser`.
23226
+ # @param [Google::Apis::RequestOptions] options
23227
+ # Request-specific options
23228
+ #
23229
+ # @yield [result, err] Result & error if block supplied
23230
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
23231
+ # @yieldparam err [StandardError] error object if request failed
23232
+ #
23233
+ # @return [Google::Apis::ComputeV1::Operation]
23234
+ #
23235
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23236
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23237
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
23238
+ def update_region_disk(project, region, disk, disk_object = nil, paths: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
23239
+ command = make_simple_command(:patch, 'projects/{project}/regions/{region}/disks/{disk}', options)
23240
+ command.request_representation = Google::Apis::ComputeV1::Disk::Representation
23241
+ command.request_object = disk_object
23242
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
23243
+ command.response_class = Google::Apis::ComputeV1::Operation
23244
+ command.params['project'] = project unless project.nil?
23245
+ command.params['region'] = region unless region.nil?
23246
+ command.params['disk'] = disk unless disk.nil?
23247
+ command.query['paths'] = paths unless paths.nil?
23248
+ command.query['requestId'] = request_id unless request_id.nil?
23249
+ command.query['updateMask'] = update_mask unless update_mask.nil?
23250
+ command.query['fields'] = fields unless fields.nil?
23251
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
23252
+ command.query['userIp'] = user_ip unless user_ip.nil?
23253
+ execute_or_queue_command(command, &block)
23254
+ end
23255
+
23136
23256
  # Deletes the specified regional HealthCheckService.
23137
23257
  # @param [String] project
23138
23258
  # Project ID for this request.
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.60.0
4
+ version: 0.61.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-29 00:00:00.000000000 Z
11
+ date: 2023-02-12 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.60.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.61.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: []