google-apis-compute_alpha 0.72.0 → 0.73.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: 5ea4a640e2acef560b7ebb62c848cc373ed488c29620c31112d7de5b421d48d7
4
- data.tar.gz: c14b872c2c34d4696f78eaf2c7ebf2dc46baefce24a6baf05f560e695f639bd8
3
+ metadata.gz: 5f1412286fdfcfce67d28aaf91f70eb601a1c9c1c24a2c0659dc12906b919a66
4
+ data.tar.gz: 4f885aa621dfe379396e3cd226857443543fe9c71d486e6fdd46e678dc16541b
5
5
  SHA512:
6
- metadata.gz: 9d0700f909e18cf64e2417f9c3de94ea3dfb900e8f533826048272bb5cff76818fbb0e7d0a70a4298fb4726079438451dc5038891bcd88628bc63860d061a444
7
- data.tar.gz: 668ff46d77c9ce0c5defc98aa1e3dcc8c2c0e48c692e9da8d4e21f11889bbe03fd25fd78baf4891ebace7eacfad989e672ef1e83e14e9def499525c38542b40c
6
+ metadata.gz: 5d365e883438e8442b6d6fb4f42e498d36e85871ed827b3a925955ba5930b35cd30e2b6fe61e481b809a98c0eb81a1028bb7c605faf936ef5063fd6e8a810d23
7
+ data.tar.gz: 7061c7ec25362ec9b4e5a792dbc553e647fa1df1e951e30de10526949e5a6db28b9635921b972df148901f973fccece9c05a6686b230ee9821214af3367535cf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.73.0 (2023-07-16)
4
+
5
+ * Regenerated from discovery document revision 20230711
6
+
3
7
  ### v0.72.0 (2023-07-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20230701
@@ -3137,7 +3137,7 @@ module Google
3137
3137
  # @return [String]
3138
3138
  attr_accessor :creation_timestamp
3139
3139
 
3140
- # Headers that the HTTP/S load balancer should add to proxied responses.
3140
+ # Headers that the Application Load Balancer should add to proxied responses.
3141
3141
  # Corresponds to the JSON property `customResponseHeaders`
3142
3142
  # @return [Array<String>]
3143
3143
  attr_accessor :custom_response_headers
@@ -17824,11 +17824,9 @@ module Google
17824
17824
  # @return [String]
17825
17825
  attr_accessor :replacement_method
17826
17826
 
17827
- # The type of update process. You can specify either PROACTIVE so that the
17828
- # instance group manager proactively executes actions in order to bring
17829
- # instances to their target versions or OPPORTUNISTIC so that no action is
17830
- # proactively executed but the update will be performed as part of other actions
17831
- # (for example, resizes or recreateInstances calls).
17827
+ # The type of update process. You can specify either PROACTIVE so that the MIG
17828
+ # automatically updates VMs to the latest configurations or OPPORTUNISTIC so
17829
+ # that you can select the VMs that you want to update.
17832
17830
  # Corresponds to the JSON property `type`
17833
17831
  # @return [String]
17834
17832
  attr_accessor :type
@@ -33232,6 +33230,13 @@ module Google
33232
33230
  # @return [String]
33233
33231
  attr_accessor :kind
33234
33232
 
33233
+ # [Output Only] The Cloud Armor Managed Protection (CAMP) tier for this project.
33234
+ # It can be one of the following values: CA_STANDARD, CAMP_PLUS_MONTHLY. If this
33235
+ # field is not specified, it is assumed to be CA_STANDARD.
33236
+ # Corresponds to the JSON property `managedProtectionTier`
33237
+ # @return [String]
33238
+ attr_accessor :managed_protection_tier
33239
+
33235
33240
  # The project ID. For example: my-example-project. Use the project ID to make
33236
33241
  # requests to Compute Engine.
33237
33242
  # Corresponds to the JSON property `name`
@@ -33280,6 +33285,7 @@ module Google
33280
33285
  @enabled_features = args[:enabled_features] if args.key?(:enabled_features)
33281
33286
  @id = args[:id] if args.key?(:id)
33282
33287
  @kind = args[:kind] if args.key?(:kind)
33288
+ @managed_protection_tier = args[:managed_protection_tier] if args.key?(:managed_protection_tier)
33283
33289
  @name = args[:name] if args.key?(:name)
33284
33290
  @quotas = args[:quotas] if args.key?(:quotas)
33285
33291
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -33434,6 +33440,25 @@ module Google
33434
33440
  end
33435
33441
  end
33436
33442
 
33443
+ #
33444
+ class ProjectsSetManagedProtectionTierRequest
33445
+ include Google::Apis::Core::Hashable
33446
+
33447
+ # Managed protection tier to be set.
33448
+ # Corresponds to the JSON property `managedProtectionTier`
33449
+ # @return [String]
33450
+ attr_accessor :managed_protection_tier
33451
+
33452
+ def initialize(**args)
33453
+ update!(**args)
33454
+ end
33455
+
33456
+ # Update properties of this object
33457
+ def update!(**args)
33458
+ @managed_protection_tier = args[:managed_protection_tier] if args.key?(:managed_protection_tier)
33459
+ end
33460
+ end
33461
+
33437
33462
  # A public advertised prefix represents an aggregated IP prefix or netblock
33438
33463
  # which customers bring to cloud. The IP prefix is a single unit of route
33439
33464
  # advertisement and is announced globally to the internet.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeAlpha
18
18
  # Version of the google-apis-compute_alpha gem
19
- GEM_VERSION = "0.72.0"
19
+ GEM_VERSION = "0.73.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230701"
25
+ REVISION = "20230711"
26
26
  end
27
27
  end
28
28
  end
@@ -4252,6 +4252,12 @@ module Google
4252
4252
  include Google::Apis::Core::JsonObjectSupport
4253
4253
  end
4254
4254
 
4255
+ class ProjectsSetManagedProtectionTierRequest
4256
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4257
+
4258
+ include Google::Apis::Core::JsonObjectSupport
4259
+ end
4260
+
4255
4261
  class PublicAdvertisedPrefix
4256
4262
  class Representation < Google::Apis::Core::JsonRepresentation; end
4257
4263
 
@@ -15264,6 +15270,7 @@ module Google
15264
15270
  collection :enabled_features, as: 'enabledFeatures'
15265
15271
  property :id, :numeric_string => true, as: 'id'
15266
15272
  property :kind, as: 'kind'
15273
+ property :managed_protection_tier, as: 'managedProtectionTier'
15267
15274
  property :name, as: 'name'
15268
15275
  collection :quotas, as: 'quotas', class: Google::Apis::ComputeAlpha::Quota, decorator: Google::Apis::ComputeAlpha::Quota::Representation
15269
15276
 
@@ -15323,6 +15330,13 @@ module Google
15323
15330
  end
15324
15331
  end
15325
15332
 
15333
+ class ProjectsSetManagedProtectionTierRequest
15334
+ # @private
15335
+ class Representation < Google::Apis::Core::JsonRepresentation
15336
+ property :managed_protection_tier, as: 'managedProtectionTier'
15337
+ end
15338
+ end
15339
+
15326
15340
  class PublicAdvertisedPrefix
15327
15341
  # @private
15328
15342
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25715,6 +25715,56 @@ module Google
25715
25715
  execute_or_queue_command(command, &block)
25716
25716
  end
25717
25717
 
25718
+ # Sets the Cloud Armor Managed Protection (CAMP) tier of the project. To set
25719
+ # PLUS or above the billing account of the project must be subscribed to Managed
25720
+ # Protection Plus. See Subscribing to Managed Protection Plus for more
25721
+ # information.
25722
+ # @param [String] project
25723
+ # Project ID for this request.
25724
+ # @param [Google::Apis::ComputeAlpha::ProjectsSetManagedProtectionTierRequest] projects_set_managed_protection_tier_request_object
25725
+ # @param [String] request_id
25726
+ # An optional request ID to identify requests. Specify a unique request ID so
25727
+ # that if you must retry your request, the server will know to ignore the
25728
+ # request if it has already been completed. For example, consider a situation
25729
+ # where you make an initial request and the request times out. If you make the
25730
+ # request again with the same request ID, the server can check if original
25731
+ # operation with the same request ID was received, and if so, will ignore the
25732
+ # second request. This prevents clients from accidentally creating duplicate
25733
+ # commitments. The request ID must be a valid UUID with the exception that zero
25734
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
25735
+ # @param [String] fields
25736
+ # Selector specifying which fields to include in a partial response.
25737
+ # @param [String] quota_user
25738
+ # Available to use for quota purposes for server-side applications. Can be any
25739
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
25740
+ # @param [String] user_ip
25741
+ # Legacy name for parameter that has been superseded by `quotaUser`.
25742
+ # @param [Google::Apis::RequestOptions] options
25743
+ # Request-specific options
25744
+ #
25745
+ # @yield [result, err] Result & error if block supplied
25746
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
25747
+ # @yieldparam err [StandardError] error object if request failed
25748
+ #
25749
+ # @return [Google::Apis::ComputeAlpha::Operation]
25750
+ #
25751
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
25752
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
25753
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
25754
+ def set_project_managed_protection_tier(project, projects_set_managed_protection_tier_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
25755
+ command = make_simple_command(:post, 'projects/{project}/setManagedProtectionTier', options)
25756
+ command.request_representation = Google::Apis::ComputeAlpha::ProjectsSetManagedProtectionTierRequest::Representation
25757
+ command.request_object = projects_set_managed_protection_tier_request_object
25758
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
25759
+ command.response_class = Google::Apis::ComputeAlpha::Operation
25760
+ command.params['project'] = project unless project.nil?
25761
+ command.query['requestId'] = request_id unless request_id.nil?
25762
+ command.query['fields'] = fields unless fields.nil?
25763
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
25764
+ command.query['userIp'] = user_ip unless user_ip.nil?
25765
+ execute_or_queue_command(command, &block)
25766
+ end
25767
+
25718
25768
  # Enables the usage export feature and sets the usage export bucket where
25719
25769
  # reports are stored. If you provide an empty request body using this method,
25720
25770
  # the usage export feature will be disabled.
@@ -35084,9 +35134,9 @@ module Google
35084
35134
  end
35085
35135
 
35086
35136
  # Patches the specified policy with the data included in the request. To clear
35087
- # fields in the rule, leave the fields empty and specify them in the updateMask.
35088
- # This cannot be used to be update the rules in the policy. Please use the per
35089
- # rule methods like addRule, patchRule, and removeRule instead.
35137
+ # fields in the policy, leave the fields empty and specify them in the
35138
+ # updateMask. This cannot be used to be update the rules in the policy. Please
35139
+ # use the per rule methods like addRule, patchRule, and removeRule instead.
35090
35140
  # @param [String] project
35091
35141
  # Project ID for this request.
35092
35142
  # @param [String] region
@@ -40176,9 +40226,9 @@ module Google
40176
40226
  end
40177
40227
 
40178
40228
  # Patches the specified policy with the data included in the request. To clear
40179
- # fields in the rule, leave the fields empty and specify them in the updateMask.
40180
- # This cannot be used to be update the rules in the policy. Please use the per
40181
- # rule methods like addRule, patchRule, and removeRule instead.
40229
+ # fields in the policy, leave the fields empty and specify them in the
40230
+ # updateMask. This cannot be used to be update the rules in the policy. Please
40231
+ # use the per rule methods like addRule, patchRule, and removeRule instead.
40182
40232
  # @param [String] project
40183
40233
  # Project ID for this request.
40184
40234
  # @param [String] security_policy
@@ -40233,7 +40283,8 @@ module Google
40233
40283
  execute_or_queue_command(command, &block)
40234
40284
  end
40235
40285
 
40236
- # Patches a rule at the specified priority.
40286
+ # Patches a rule at the specified priority. To clear fields in the rule, leave
40287
+ # the fields empty and specify them in the updateMask.
40237
40288
  # @param [String] project
40238
40289
  # Project ID for this request.
40239
40290
  # @param [String] security_policy
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.72.0
4
+ version: 0.73.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-07-09 00:00:00.000000000 Z
11
+ date: 2023-07-16 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_alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.72.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.73.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
63
63
  post_install_message:
64
64
  rdoc_options: []