google-apis-compute_alpha 0.61.0 → 0.63.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e2de2062094bf99713a3ca44d42f83eef0cc0a1145d0b70ac8de7700282617a3
4
- data.tar.gz: 79fa60a559f3a5a7b18e8b109951eac9a760d88213ec3af74831aacc627f4c22
3
+ metadata.gz: cddc2aaad19e0d24453250bd6c8846e15dc3761f234d2bf6dd4d5d552857c0b1
4
+ data.tar.gz: f7987cd27dd570cd2827cb9564aab9a84888cbb044bebeb8176d1c81ef052434
5
5
  SHA512:
6
- metadata.gz: a71e2a7d673e515a33ab2c3eeb7828fc03b856f1edf2788e0c2168f1d1109833baec9b925a2482e6ff5d7086bff902ff9cc83736824fc10a63db1ca6d2803531
7
- data.tar.gz: a7022c99aa85286082340758597bdbb599bb76ac37769bc045ba1e6b1f923daf4a6a203f9c1d240a80f88d4d7a75d40e55d9de25e43216ab2a58e384fb897ece
6
+ metadata.gz: cdf1ae9687e26fa4568d79387dcc40cdd4a528edf1e92bbd06b6c3f86ee1c3248038dcf3d43444bcbd568eb5f8532bc01e74ddab2f3789fce16552a57fc88e72
7
+ data.tar.gz: 80c608febe3d48a09ed68b9d21aab5ed61faae92daa7115865cf83c19f7cab1f29f4fa51cd65bf94b950937acfaed6d7ce9ea69670f4e2f60d4d45e2dd0c0496
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.63.0 (2023-03-12)
4
+
5
+ * Regenerated from discovery document revision 20230307
6
+
7
+ ### v0.62.0 (2023-03-05)
8
+
9
+ * Regenerated from discovery document revision 20230221
10
+
3
11
  ### v0.61.0 (2023-02-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20230210
@@ -519,7 +519,7 @@ module Google
519
519
  # The first IPv6 address of the external IPv6 range associated with this
520
520
  # instance, prefix length is stored in externalIpv6PrefixLength in
521
521
  # ipv6AccessConfig. To use a static external IP address, it must be unused and
522
- # in the same region as the instance's zone. If not specified, GCP will
522
+ # in the same region as the instance's zone. If not specified, Google Cloud will
523
523
  # automatically assign an external IPv6 address from the instance's subnetwork.
524
524
  # Corresponds to the JSON property `externalIpv6`
525
525
  # @return [String]
@@ -11726,8 +11726,8 @@ module Google
11726
11726
  # The ID of a supported feature. To add multiple values, use commas to separate
11727
11727
  # values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE -
11728
11728
  # WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE -
11729
- # SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling
11730
- # guest operating system features.
11729
+ # SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE - TDX_CAPABLE For more information,
11730
+ # see Enabling guest operating system features.
11731
11731
  # Corresponds to the JSON property `type`
11732
11732
  # @return [String]
11733
11733
  attr_accessor :type
@@ -13631,7 +13631,7 @@ module Google
13631
13631
  attr_accessor :port
13632
13632
 
13633
13633
  # The request path of the HTTP health check request. The default value is /.
13634
- # This field does not support query parameters.
13634
+ # This field does not support query parameters. Must comply with RFC3986.
13635
13635
  # Corresponds to the JSON property `requestPath`
13636
13636
  # @return [String]
13637
13637
  attr_accessor :request_path
@@ -14336,6 +14336,7 @@ module Google
14336
14336
  attr_accessor :port
14337
14337
 
14338
14338
  # The request path of the HTTPS health check request. The default value is "/".
14339
+ # Must comply with RFC3986.
14339
14340
  # Corresponds to the JSON property `requestPath`
14340
14341
  # @return [String]
14341
14342
  attr_accessor :request_path
@@ -15363,9 +15364,7 @@ module Google
15363
15364
  # @return [Google::Apis::ComputeAlpha::Tags]
15364
15365
  attr_accessor :tags
15365
15366
 
15366
- # Upcoming Maintenance notification information. TODO(b/242069500) Deprecate
15367
- # this proto once it's fully migrated to be under proto ResourceStatus.
15368
- # UpcomingMaintenance.
15367
+ # Upcoming Maintenance notification information.
15369
15368
  # Corresponds to the JSON property `upcomingMaintenance`
15370
15369
  # @return [Google::Apis::ComputeAlpha::UpcomingMaintenance]
15371
15370
  attr_accessor :upcoming_maintenance
@@ -19026,6 +19025,51 @@ module Google
19026
19025
  end
19027
19026
  end
19028
19027
 
19028
+ # Represents a Instance Settings resource. You can use instance settings to
19029
+ # configure default settings for Compute Engine VM instances. For example, you
19030
+ # can use it to configure default machine type of Compute Engine VM instances.
19031
+ class InstanceSettings
19032
+ include Google::Apis::Core::Hashable
19033
+
19034
+ # Email address of the service account.
19035
+ # Corresponds to the JSON property `email`
19036
+ # @return [String]
19037
+ attr_accessor :email
19038
+
19039
+ # [Output Only] Type of the resource. Always compute#instance_settings for
19040
+ # instance settings.
19041
+ # Corresponds to the JSON property `kind`
19042
+ # @return [String]
19043
+ attr_accessor :kind
19044
+
19045
+ # Partial URL of the machine type resource to use for this instance, in the
19046
+ # format: machineTypes/machine-type. This is either provided by the client or
19047
+ # chosen by the system. For example, the following is a valid partial url to a
19048
+ # predefined machine type: machineTypes/n2-standard-1
19049
+ # Corresponds to the JSON property `machineType`
19050
+ # @return [String]
19051
+ attr_accessor :machine_type
19052
+
19053
+ # [Output Only] URL of the zone where the resource resides You must specify this
19054
+ # field as part of the HTTP request URL. It is not settable as a field in the
19055
+ # request body.
19056
+ # Corresponds to the JSON property `zone`
19057
+ # @return [String]
19058
+ attr_accessor :zone
19059
+
19060
+ def initialize(**args)
19061
+ update!(**args)
19062
+ end
19063
+
19064
+ # Update properties of this object
19065
+ def update!(**args)
19066
+ @email = args[:email] if args.key?(:email)
19067
+ @kind = args[:kind] if args.key?(:kind)
19068
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
19069
+ @zone = args[:zone] if args.key?(:zone)
19070
+ end
19071
+ end
19072
+
19029
19073
  # Represents an Instance Template resource. You can use instance templates to
19030
19074
  # create VM instances and managed instance groups. For more information, read
19031
19075
  # Instance Templates.
@@ -20699,9 +20743,7 @@ module Google
20699
20743
  # @return [Fixnum]
20700
20744
  attr_accessor :requested_link_count
20701
20745
 
20702
- # [Output Only] Set to true if the resource satisfies the zone separation
20703
- # organization policy constraints and false otherwise. Defaults to false if the
20704
- # field is not present.
20746
+ # [Output Only] Reserved for future use.
20705
20747
  # Corresponds to the JSON property `satisfiesPzs`
20706
20748
  # @return [Boolean]
20707
20749
  attr_accessor :satisfies_pzs
@@ -21030,9 +21072,7 @@ module Google
21030
21072
  # @return [String]
21031
21073
  attr_accessor :router
21032
21074
 
21033
- # [Output Only] Set to true if the resource satisfies the zone separation
21034
- # organization policy constraints and false otherwise. Defaults to false if the
21035
- # field is not present.
21075
+ # [Output Only] Reserved for future use.
21036
21076
  # Corresponds to the JSON property `satisfiesPzs`
21037
21077
  # @return [Boolean]
21038
21078
  attr_accessor :satisfies_pzs
@@ -22089,8 +22129,7 @@ module Google
22089
22129
  # @return [String]
22090
22130
  attr_accessor :status
22091
22131
 
22092
- # [Output Only] Set to true for locations that support physical zone separation.
22093
- # Defaults to false if the field is not present.
22132
+ # [Output Only] Reserved for future use.
22094
22133
  # Corresponds to the JSON property `supportsPzs`
22095
22134
  # @return [Boolean]
22096
22135
  attr_accessor :supports_pzs
@@ -27274,8 +27313,8 @@ module Google
27274
27313
 
27275
27314
  # An IPv6 internal network address for this network interface. To use a static
27276
27315
  # internal IP address, it must be unused and in the same region as the instance'
27277
- # s zone. If not specified, GCP will automatically assign an internal IPv6
27278
- # address from the instance's subnetwork.
27316
+ # s zone. If not specified, Google Cloud will automatically assign an internal
27317
+ # IPv6 address from the instance's subnetwork.
27279
27318
  # Corresponds to the JSON property `ipv6Address`
27280
27319
  # @return [String]
27281
27320
  attr_accessor :ipv6_address
@@ -28831,10 +28870,7 @@ module Google
28831
28870
  # @return [String]
28832
28871
  attr_accessor :node_type
28833
28872
 
28834
- # The flexible properties of the desired node type. Node groups that use this
28835
- # node template will create nodes of a type that matches these properties. This
28836
- # field is mutually exclusive with the node_type property; you can only define
28837
- # one or the other, but not both.
28873
+ # Do not use. Instead, use the node_type property.
28838
28874
  # Corresponds to the JSON property `nodeTypeFlexibility`
28839
28875
  # @return [Google::Apis::ComputeAlpha::NodeTemplateNodeTypeFlexibility]
28840
28876
  attr_accessor :node_type_flexibility
@@ -30270,6 +30306,13 @@ module Google
30270
30306
  # @return [String]
30271
30307
  attr_accessor :self_link_with_id
30272
30308
 
30309
+ # Encapsulates partial completion metadata for SetCommonInstanceMetadata. Will
30310
+ # be propagated on Operation.metadata as per go/partial-completion-api-clean.
30311
+ # See go/gce-aips/2822 for API council results.
30312
+ # Corresponds to the JSON property `setCommonInstanceMetadataOperationMetadata`
30313
+ # @return [Google::Apis::ComputeAlpha::SetCommonInstanceMetadataOperationMetadata]
30314
+ attr_accessor :set_common_instance_metadata_operation_metadata
30315
+
30273
30316
  # [Output Only] The time that this operation was started by the server. This
30274
30317
  # value is in RFC3339 text format.
30275
30318
  # Corresponds to the JSON property `startTime`
@@ -30342,6 +30385,7 @@ module Google
30342
30385
  @region = args[:region] if args.key?(:region)
30343
30386
  @self_link = args[:self_link] if args.key?(:self_link)
30344
30387
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
30388
+ @set_common_instance_metadata_operation_metadata = args[:set_common_instance_metadata_operation_metadata] if args.key?(:set_common_instance_metadata_operation_metadata)
30345
30389
  @start_time = args[:start_time] if args.key?(:start_time)
30346
30390
  @status = args[:status] if args.key?(:status)
30347
30391
  @status_message = args[:status_message] if args.key?(:status_message)
@@ -37154,7 +37198,7 @@ module Google
37154
37198
  attr_accessor :start_time
37155
37199
 
37156
37200
  # Specifies the time zone to be used in interpreting Schedule.schedule. The
37157
- # value of this field must be a time zone name from the tz database: http://en.
37201
+ # value of this field must be a time zone name from the tz database: https://
37158
37202
  # wikipedia.org/wiki/Tz_database.
37159
37203
  # Corresponds to the JSON property `timeZone`
37160
37204
  # @return [String]
@@ -38555,10 +38599,10 @@ module Google
38555
38599
  # @return [String]
38556
38600
  attr_accessor :advertise_mode
38557
38601
 
38558
- # User-specified list of prefix groups to advertise in custom mode, which can
38559
- # take one of the following options: - ALL_SUBNETS: Advertises all available
38560
- # subnets, including peer VPC subnets. - ALL_VPC_SUBNETS: Advertises the router'
38561
- # s own VPC subnets. Note that this field can only be populated if
38602
+ # User-specified list of prefix groups to advertise in custom mode, which
38603
+ # currently supports the following option: - ALL_SUBNETS: Advertises all of the
38604
+ # router's own VPC subnets. This excludes any routes learned for subnets that
38605
+ # use VPC Network Peering. Note that this field can only be populated if
38562
38606
  # advertise_mode is CUSTOM and overrides the list defined for the router (in the
38563
38607
  # "bgp" message). These groups are advertised in addition to any specified
38564
38608
  # prefixes. Leave this field blank to advertise no custom groups.
@@ -40195,6 +40239,14 @@ module Google
40195
40239
  attr_accessor :latency_tolerant
40196
40240
  alias_method :latency_tolerant?, :latency_tolerant
40197
40241
 
40242
+ # A Duration represents a fixed-length span of time represented as a count of
40243
+ # seconds and fractions of seconds at nanosecond resolution. It is independent
40244
+ # of any calendar and concepts like "day" or "month". Range is approximately 10,
40245
+ # 000 years.
40246
+ # Corresponds to the JSON property `localSsdRecoveryTimeout`
40247
+ # @return [Google::Apis::ComputeAlpha::Duration]
40248
+ attr_accessor :local_ssd_recovery_timeout
40249
+
40198
40250
  # An opaque location hint used to place the instance close to other resources.
40199
40251
  # This field is for use by internal tools that use the public API.
40200
40252
  # Corresponds to the JSON property `locationHint`
@@ -40275,6 +40327,7 @@ module Google
40275
40327
  @host_error_timeout_seconds = args[:host_error_timeout_seconds] if args.key?(:host_error_timeout_seconds)
40276
40328
  @instance_termination_action = args[:instance_termination_action] if args.key?(:instance_termination_action)
40277
40329
  @latency_tolerant = args[:latency_tolerant] if args.key?(:latency_tolerant)
40330
+ @local_ssd_recovery_timeout = args[:local_ssd_recovery_timeout] if args.key?(:local_ssd_recovery_timeout)
40278
40331
  @location_hint = args[:location_hint] if args.key?(:location_hint)
40279
40332
  @maintenance_freeze_duration_hours = args[:maintenance_freeze_duration_hours] if args.key?(:maintenance_freeze_duration_hours)
40280
40333
  @maintenance_interval = args[:maintenance_interval] if args.key?(:maintenance_interval)
@@ -42861,6 +42914,69 @@ module Google
42861
42914
  end
42862
42915
  end
42863
42916
 
42917
+ # Encapsulates partial completion metadata for SetCommonInstanceMetadata. Will
42918
+ # be propagated on Operation.metadata as per go/partial-completion-api-clean.
42919
+ # See go/gce-aips/2822 for API council results.
42920
+ class SetCommonInstanceMetadataOperationMetadata
42921
+ include Google::Apis::Core::Hashable
42922
+
42923
+ #
42924
+ # Corresponds to the JSON property `clientOperationId`
42925
+ # @return [String]
42926
+ attr_accessor :client_operation_id
42927
+
42928
+ #
42929
+ # Corresponds to the JSON property `perLocationOperations`
42930
+ # @return [Hash<String,Google::Apis::ComputeAlpha::SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo>]
42931
+ attr_accessor :per_location_operations
42932
+
42933
+ def initialize(**args)
42934
+ update!(**args)
42935
+ end
42936
+
42937
+ # Update properties of this object
42938
+ def update!(**args)
42939
+ @client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id)
42940
+ @per_location_operations = args[:per_location_operations] if args.key?(:per_location_operations)
42941
+ end
42942
+ end
42943
+
42944
+ #
42945
+ class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
42946
+ include Google::Apis::Core::Hashable
42947
+
42948
+ # The `Status` type defines a logical error model that is suitable for different
42949
+ # programming environments, including REST APIs and RPC APIs. It is used by [
42950
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
42951
+ # data: error code, error message, and error details. You can find out more
42952
+ # about this error model and how to work with it in the [API Design Guide](https:
42953
+ # //cloud.google.com/apis/design/errors).
42954
+ # Corresponds to the JSON property `error`
42955
+ # @return [Google::Apis::ComputeAlpha::Status]
42956
+ attr_accessor :error
42957
+
42958
+ #
42959
+ # Corresponds to the JSON property `operation`
42960
+ # @return [String]
42961
+ attr_accessor :operation
42962
+
42963
+ #
42964
+ # Corresponds to the JSON property `state`
42965
+ # @return [String]
42966
+ attr_accessor :state
42967
+
42968
+ def initialize(**args)
42969
+ update!(**args)
42970
+ end
42971
+
42972
+ # Update properties of this object
42973
+ def update!(**args)
42974
+ @error = args[:error] if args.key?(:error)
42975
+ @operation = args[:operation] if args.key?(:operation)
42976
+ @state = args[:state] if args.key?(:state)
42977
+ end
42978
+ end
42979
+
42864
42980
  # The share setting for reservations and sole tenancy node groups.
42865
42981
  class ShareSettings
42866
42982
  include Google::Apis::Core::Hashable
@@ -44988,6 +45104,45 @@ module Google
44988
45104
  end
44989
45105
  end
44990
45106
 
45107
+ # The `Status` type defines a logical error model that is suitable for different
45108
+ # programming environments, including REST APIs and RPC APIs. It is used by [
45109
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
45110
+ # data: error code, error message, and error details. You can find out more
45111
+ # about this error model and how to work with it in the [API Design Guide](https:
45112
+ # //cloud.google.com/apis/design/errors).
45113
+ class Status
45114
+ include Google::Apis::Core::Hashable
45115
+
45116
+ # The status code, which should be an enum value of google.rpc.Code.
45117
+ # Corresponds to the JSON property `code`
45118
+ # @return [Fixnum]
45119
+ attr_accessor :code
45120
+
45121
+ # A list of messages that carry the error details. There is a common set of
45122
+ # message types for APIs to use.
45123
+ # Corresponds to the JSON property `details`
45124
+ # @return [Array<Hash<String,Object>>]
45125
+ attr_accessor :details
45126
+
45127
+ # A developer-facing error message, which should be in English. Any user-facing
45128
+ # error message should be localized and sent in the google.rpc.Status.details
45129
+ # field, or localized by the client.
45130
+ # Corresponds to the JSON property `message`
45131
+ # @return [String]
45132
+ attr_accessor :message
45133
+
45134
+ def initialize(**args)
45135
+ update!(**args)
45136
+ end
45137
+
45138
+ # Update properties of this object
45139
+ def update!(**args)
45140
+ @code = args[:code] if args.key?(:code)
45141
+ @details = args[:details] if args.key?(:details)
45142
+ @message = args[:message] if args.key?(:message)
45143
+ end
45144
+ end
45145
+
44991
45146
  # Represents a Subnetwork resource. A subnetwork (also known as a subnet) is a
44992
45147
  # logical partition of a Virtual Private Cloud network with one primary IP range
44993
45148
  # and zero or more secondary IP ranges. For more information, read Virtual
@@ -49723,9 +49878,7 @@ module Google
49723
49878
  end
49724
49879
  end
49725
49880
 
49726
- # Upcoming Maintenance notification information. TODO(b/242069500) Deprecate
49727
- # this proto once it's fully migrated to be under proto ResourceStatus.
49728
- # UpcomingMaintenance.
49881
+ # Upcoming Maintenance notification information.
49729
49882
  class UpcomingMaintenance
49730
49883
  include Google::Apis::Core::Hashable
49731
49884
 
@@ -49737,7 +49890,7 @@ module Google
49737
49890
  alias_method :can_reschedule?, :can_reschedule
49738
49891
 
49739
49892
  # [Output Only] The date when the maintenance will take place. This value is in
49740
- # RFC3339 text format. DEPRECATED: Use start_time_window instead.
49893
+ # RFC3339 text format. DEPRECATED: Use window_start_time instead.
49741
49894
  # Corresponds to the JSON property `date`
49742
49895
  # @return [String]
49743
49896
  attr_accessor :date
@@ -49749,7 +49902,7 @@ module Google
49749
49902
  attr_accessor :start_time_window
49750
49903
 
49751
49904
  # [Output Only] The time when the maintenance will take place. This value is in
49752
- # RFC3339 text format. DEPRECATED: Use start_time_window instead.
49905
+ # RFC3339 text format. DEPRECATED: Use window_start_time instead.
49753
49906
  # Corresponds to the JSON property `time`
49754
49907
  # @return [String]
49755
49908
  attr_accessor :time
@@ -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.61.0"
19
+ GEM_VERSION = "0.63.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 = "20230210"
25
+ REVISION = "20230307"
26
26
  end
27
27
  end
28
28
  end
@@ -2302,6 +2302,12 @@ module Google
2302
2302
  include Google::Apis::Core::JsonObjectSupport
2303
2303
  end
2304
2304
 
2305
+ class InstanceSettings
2306
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2307
+
2308
+ include Google::Apis::Core::JsonObjectSupport
2309
+ end
2310
+
2305
2311
  class InstanceTemplate
2306
2312
  class Representation < Google::Apis::Core::JsonRepresentation; end
2307
2313
 
@@ -5620,6 +5626,18 @@ module Google
5620
5626
  include Google::Apis::Core::JsonObjectSupport
5621
5627
  end
5622
5628
 
5629
+ class SetCommonInstanceMetadataOperationMetadata
5630
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5631
+
5632
+ include Google::Apis::Core::JsonObjectSupport
5633
+ end
5634
+
5635
+ class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
5636
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5637
+
5638
+ include Google::Apis::Core::JsonObjectSupport
5639
+ end
5640
+
5623
5641
  class ShareSettings
5624
5642
  class Representation < Google::Apis::Core::JsonRepresentation; end
5625
5643
 
@@ -5914,6 +5932,12 @@ module Google
5914
5932
  include Google::Apis::Core::JsonObjectSupport
5915
5933
  end
5916
5934
 
5935
+ class Status
5936
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5937
+
5938
+ include Google::Apis::Core::JsonObjectSupport
5939
+ end
5940
+
5917
5941
  class Subnetwork
5918
5942
  class Representation < Google::Apis::Core::JsonRepresentation; end
5919
5943
 
@@ -11437,6 +11461,16 @@ module Google
11437
11461
  end
11438
11462
  end
11439
11463
 
11464
+ class InstanceSettings
11465
+ # @private
11466
+ class Representation < Google::Apis::Core::JsonRepresentation
11467
+ property :email, as: 'email'
11468
+ property :kind, as: 'kind'
11469
+ property :machine_type, as: 'machineType'
11470
+ property :zone, as: 'zone'
11471
+ end
11472
+ end
11473
+
11440
11474
  class InstanceTemplate
11441
11475
  # @private
11442
11476
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14281,6 +14315,8 @@ module Google
14281
14315
  property :region, as: 'region'
14282
14316
  property :self_link, as: 'selfLink'
14283
14317
  property :self_link_with_id, as: 'selfLinkWithId'
14318
+ property :set_common_instance_metadata_operation_metadata, as: 'setCommonInstanceMetadataOperationMetadata', class: Google::Apis::ComputeAlpha::SetCommonInstanceMetadataOperationMetadata, decorator: Google::Apis::ComputeAlpha::SetCommonInstanceMetadataOperationMetadata::Representation
14319
+
14284
14320
  property :start_time, as: 'startTime'
14285
14321
  property :status, as: 'status'
14286
14322
  property :status_message, as: 'statusMessage'
@@ -16844,6 +16880,8 @@ module Google
16844
16880
  property :host_error_timeout_seconds, as: 'hostErrorTimeoutSeconds'
16845
16881
  property :instance_termination_action, as: 'instanceTerminationAction'
16846
16882
  property :latency_tolerant, as: 'latencyTolerant'
16883
+ property :local_ssd_recovery_timeout, as: 'localSsdRecoveryTimeout', class: Google::Apis::ComputeAlpha::Duration, decorator: Google::Apis::ComputeAlpha::Duration::Representation
16884
+
16847
16885
  property :location_hint, as: 'locationHint'
16848
16886
  property :maintenance_freeze_duration_hours, as: 'maintenanceFreezeDurationHours'
16849
16887
  property :maintenance_interval, as: 'maintenanceInterval'
@@ -17526,6 +17564,25 @@ module Google
17526
17564
  end
17527
17565
  end
17528
17566
 
17567
+ class SetCommonInstanceMetadataOperationMetadata
17568
+ # @private
17569
+ class Representation < Google::Apis::Core::JsonRepresentation
17570
+ property :client_operation_id, as: 'clientOperationId'
17571
+ hash :per_location_operations, as: 'perLocationOperations', class: Google::Apis::ComputeAlpha::SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo, decorator: Google::Apis::ComputeAlpha::SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo::Representation
17572
+
17573
+ end
17574
+ end
17575
+
17576
+ class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
17577
+ # @private
17578
+ class Representation < Google::Apis::Core::JsonRepresentation
17579
+ property :error, as: 'error', class: Google::Apis::ComputeAlpha::Status, decorator: Google::Apis::ComputeAlpha::Status::Representation
17580
+
17581
+ property :operation, as: 'operation'
17582
+ property :state, as: 'state'
17583
+ end
17584
+ end
17585
+
17529
17586
  class ShareSettings
17530
17587
  # @private
17531
17588
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -18072,6 +18129,15 @@ module Google
18072
18129
  end
18073
18130
  end
18074
18131
 
18132
+ class Status
18133
+ # @private
18134
+ class Representation < Google::Apis::Core::JsonRepresentation
18135
+ property :code, as: 'code'
18136
+ collection :details, as: 'details'
18137
+ property :message, as: 'message'
18138
+ end
18139
+ end
18140
+
18075
18141
  class Subnetwork
18076
18142
  # @private
18077
18143
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -902,8 +902,7 @@ module Google
902
902
  execute_or_queue_command(command, &block)
903
903
  end
904
904
 
905
- # Returns the specified autoscaler resource. Gets a list of available
906
- # autoscalers by making a list() request.
905
+ # Returns the specified autoscaler resource.
907
906
  # @param [String] project
908
907
  # Project ID for this request.
909
908
  # @param [String] zone
@@ -1384,8 +1383,7 @@ module Google
1384
1383
  execute_or_queue_command(command, &block)
1385
1384
  end
1386
1385
 
1387
- # Returns the specified BackendBucket resource. Gets a list of available backend
1388
- # buckets by making a list() request.
1386
+ # Returns the specified BackendBucket resource.
1389
1387
  # @param [String] project
1390
1388
  # Project ID for this request.
1391
1389
  # @param [String] backend_bucket
@@ -2078,8 +2076,7 @@ module Google
2078
2076
  execute_or_queue_command(command, &block)
2079
2077
  end
2080
2078
 
2081
- # Returns the specified BackendService resource. Gets a list of available
2082
- # backend services.
2079
+ # Returns the specified BackendService resource.
2083
2080
  # @param [String] project
2084
2081
  # Project ID for this request.
2085
2082
  # @param [String] backend_service
@@ -2714,8 +2711,7 @@ module Google
2714
2711
  execute_or_queue_command(command, &block)
2715
2712
  end
2716
2713
 
2717
- # Returns the specified disk type. Gets a list of available disk types by making
2718
- # a list() request.
2714
+ # Returns the specified disk type.
2719
2715
  # @param [String] project
2720
2716
  # Project ID for this request.
2721
2717
  # @param [String] zone
@@ -3157,8 +3153,7 @@ module Google
3157
3153
  execute_or_queue_command(command, &block)
3158
3154
  end
3159
3155
 
3160
- # Returns a specified persistent disk. Gets a list of available persistent disks
3161
- # by making a list() request.
3156
+ # Returns the specified persistent disk.
3162
3157
  # @param [String] project
3163
3158
  # Project ID for this request.
3164
3159
  # @param [String] zone
@@ -4584,7 +4579,9 @@ module Google
4584
4579
  # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
4585
4580
  # by a previous list request to get the next page of results.
4586
4581
  # @param [String] parent_id
4587
- # Parent ID for this request.
4582
+ # Parent ID for this request. The ID can be either be "folders/[FOLDER_ID]" if
4583
+ # the parent is a folder or "organizations/[ORGANIZATION_ID]" if the parent is
4584
+ # an organization.
4588
4585
  # @param [Boolean] return_partial_success
4589
4586
  # Opt-in for partial success behavior which provides partial results in case of
4590
4587
  # failure. The default value is false.
@@ -4660,7 +4657,9 @@ module Google
4660
4657
  # @param [String] firewall_policy
4661
4658
  # Name of the firewall policy to update.
4662
4659
  # @param [String] parent_id
4663
- # The new parent of the firewall policy.
4660
+ # The new parent of the firewall policy. The ID can be either be "folders/[
4661
+ # FOLDER_ID]" if the parent is a folder or "organizations/[ORGANIZATION_ID]" if
4662
+ # the parent is an organization.
4664
4663
  # @param [String] request_id
4665
4664
  # An optional request ID to identify requests. Specify a unique request ID so
4666
4665
  # that if you must retry your request, the server will know to ignore the
@@ -6344,8 +6343,7 @@ module Google
6344
6343
  execute_or_queue_command(command, &block)
6345
6344
  end
6346
6345
 
6347
- # Returns the specified address resource. Gets a list of available addresses by
6348
- # making a list() request.
6346
+ # Returns the specified address resource.
6349
6347
  # @param [String] project
6350
6348
  # Project ID for this request.
6351
6349
  # @param [String] address
@@ -7237,8 +7235,7 @@ module Google
7237
7235
  execute_or_queue_command(command, &block)
7238
7236
  end
7239
7237
 
7240
- # Returns the specified network endpoint group. Gets a list of available network
7241
- # endpoint groups by making a list() request.
7238
+ # Returns the specified network endpoint group.
7242
7239
  # @param [String] project
7243
7240
  # Project ID for this request.
7244
7241
  # @param [String] network_endpoint_group
@@ -8377,8 +8374,7 @@ module Google
8377
8374
  execute_or_queue_command(command, &block)
8378
8375
  end
8379
8376
 
8380
- # Returns the specified HealthCheck resource. Gets a list of available health
8381
- # checks by making a list() request.
8377
+ # Returns the specified HealthCheck resource.
8382
8378
  # @param [String] project
8383
8379
  # Project ID for this request.
8384
8380
  # @param [String] health_check
@@ -8739,8 +8735,7 @@ module Google
8739
8735
  execute_or_queue_command(command, &block)
8740
8736
  end
8741
8737
 
8742
- # Returns the specified HttpHealthCheck resource. Gets a list of available HTTP
8743
- # health checks by making a list() request.
8738
+ # Returns the specified HttpHealthCheck resource.
8744
8739
  # @param [String] project
8745
8740
  # Project ID for this request.
8746
8741
  # @param [String] http_health_check
@@ -9102,8 +9097,7 @@ module Google
9102
9097
  execute_or_queue_command(command, &block)
9103
9098
  end
9104
9099
 
9105
- # Returns the specified HttpsHealthCheck resource. Gets a list of available
9106
- # HTTPS health checks by making a list() request.
9100
+ # Returns the specified HttpsHealthCheck resource.
9107
9101
  # @param [String] project
9108
9102
  # Project ID for this request.
9109
9103
  # @param [String] https_health_check
@@ -9556,8 +9550,7 @@ module Google
9556
9550
  execute_or_queue_command(command, &block)
9557
9551
  end
9558
9552
 
9559
- # Returns the specified image. Gets a list of available images by making a list()
9560
- # request.
9553
+ # Returns the specified image.
9561
9554
  # @param [String] project
9562
9555
  # Project ID for this request.
9563
9556
  # @param [String] image
@@ -10662,8 +10655,7 @@ module Google
10662
10655
  execute_or_queue_command(command, &block)
10663
10656
  end
10664
10657
 
10665
- # Returns all of the details about the specified managed instance group. Gets a
10666
- # list of available managed instance groups by making a list() request.
10658
+ # Returns all of the details about the specified managed instance group.
10667
10659
  # @param [String] project
10668
10660
  # Project ID for this request.
10669
10661
  # @param [String] zone
@@ -12693,6 +12685,95 @@ module Google
12693
12685
  execute_or_queue_command(command, &block)
12694
12686
  end
12695
12687
 
12688
+ # Get Instance settings.
12689
+ # @param [String] project
12690
+ # Project ID for this request.
12691
+ # @param [String] zone
12692
+ # Name of the zone for this request.
12693
+ # @param [String] fields
12694
+ # Selector specifying which fields to include in a partial response.
12695
+ # @param [String] quota_user
12696
+ # Available to use for quota purposes for server-side applications. Can be any
12697
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
12698
+ # @param [String] user_ip
12699
+ # Legacy name for parameter that has been superseded by `quotaUser`.
12700
+ # @param [Google::Apis::RequestOptions] options
12701
+ # Request-specific options
12702
+ #
12703
+ # @yield [result, err] Result & error if block supplied
12704
+ # @yieldparam result [Google::Apis::ComputeAlpha::InstanceSettings] parsed result object
12705
+ # @yieldparam err [StandardError] error object if request failed
12706
+ #
12707
+ # @return [Google::Apis::ComputeAlpha::InstanceSettings]
12708
+ #
12709
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12710
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12711
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12712
+ def get_instance_setting(project, zone, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
12713
+ command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceSettings', options)
12714
+ command.response_representation = Google::Apis::ComputeAlpha::InstanceSettings::Representation
12715
+ command.response_class = Google::Apis::ComputeAlpha::InstanceSettings
12716
+ command.params['project'] = project unless project.nil?
12717
+ command.params['zone'] = zone unless zone.nil?
12718
+ command.query['fields'] = fields unless fields.nil?
12719
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
12720
+ command.query['userIp'] = user_ip unless user_ip.nil?
12721
+ execute_or_queue_command(command, &block)
12722
+ end
12723
+
12724
+ # Patch Instance settings
12725
+ # @param [String] project
12726
+ # Project ID for this request.
12727
+ # @param [String] zone
12728
+ # The zone scoping this request. It should conform to RFC1035.
12729
+ # @param [Google::Apis::ComputeAlpha::InstanceSettings] instance_settings_object
12730
+ # @param [String] request_id
12731
+ # An optional request ID to identify requests. Specify a unique request ID so
12732
+ # that if you must retry your request, the server will know to ignore the
12733
+ # request if it has already been completed. For example, consider a situation
12734
+ # where you make an initial request and the request times out. If you make the
12735
+ # request again with the same request ID, the server can check if original
12736
+ # operation with the same request ID was received, and if so, will ignore the
12737
+ # second request. This prevents clients from accidentally creating duplicate
12738
+ # commitments. The request ID must be a valid UUID with the exception that zero
12739
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
12740
+ # @param [String] update_mask
12741
+ # update_mask indicates fields to be updated as part of this request.
12742
+ # @param [String] fields
12743
+ # Selector specifying which fields to include in a partial response.
12744
+ # @param [String] quota_user
12745
+ # Available to use for quota purposes for server-side applications. Can be any
12746
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
12747
+ # @param [String] user_ip
12748
+ # Legacy name for parameter that has been superseded by `quotaUser`.
12749
+ # @param [Google::Apis::RequestOptions] options
12750
+ # Request-specific options
12751
+ #
12752
+ # @yield [result, err] Result & error if block supplied
12753
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
12754
+ # @yieldparam err [StandardError] error object if request failed
12755
+ #
12756
+ # @return [Google::Apis::ComputeAlpha::Operation]
12757
+ #
12758
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12759
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12760
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12761
+ def patch_instance_setting(project, zone, instance_settings_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
12762
+ command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instanceSettings', options)
12763
+ command.request_representation = Google::Apis::ComputeAlpha::InstanceSettings::Representation
12764
+ command.request_object = instance_settings_object
12765
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
12766
+ command.response_class = Google::Apis::ComputeAlpha::Operation
12767
+ command.params['project'] = project unless project.nil?
12768
+ command.params['zone'] = zone unless zone.nil?
12769
+ command.query['requestId'] = request_id unless request_id.nil?
12770
+ command.query['updateMask'] = update_mask unless update_mask.nil?
12771
+ command.query['fields'] = fields unless fields.nil?
12772
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
12773
+ command.query['userIp'] = user_ip unless user_ip.nil?
12774
+ execute_or_queue_command(command, &block)
12775
+ end
12776
+
12696
12777
  # Retrieves the list of all InstanceTemplates resources, regional and global,
12697
12778
  # available to the specified project.
12698
12779
  # @param [String] project
@@ -12839,8 +12920,7 @@ module Google
12839
12920
  execute_or_queue_command(command, &block)
12840
12921
  end
12841
12922
 
12842
- # Returns the specified instance template. Gets a list of available instance
12843
- # templates by making a list() request.
12923
+ # Returns the specified instance template.
12844
12924
  # @param [String] project
12845
12925
  # Project ID for this request.
12846
12926
  # @param [String] instance_template
@@ -13616,8 +13696,7 @@ module Google
13616
13696
  execute_or_queue_command(command, &block)
13617
13697
  end
13618
13698
 
13619
- # Returns the specified Instance resource. Gets a list of available instances by
13620
- # making a list() request.
13699
+ # Returns the specified Instance resource.
13621
13700
  # @param [String] project
13622
13701
  # Project ID for this request.
13623
13702
  # @param [String] zone
@@ -18411,8 +18490,7 @@ module Google
18411
18490
  execute_or_queue_command(command, &block)
18412
18491
  end
18413
18492
 
18414
- # Returns the specified machine image. Gets a list of available machine images
18415
- # by making a list() request.
18493
+ # Returns the specified machine image.
18416
18494
  # @param [String] project
18417
18495
  # Project ID for this request.
18418
18496
  # @param [String] machine_image
@@ -18805,8 +18883,7 @@ module Google
18805
18883
  execute_or_queue_command(command, &block)
18806
18884
  end
18807
18885
 
18808
- # Returns the specified machine type. Gets a list of available machine types by
18809
- # making a list() request.
18886
+ # Returns the specified machine type.
18810
18887
  # @param [String] project
18811
18888
  # Project ID for this request.
18812
18889
  # @param [String] zone
@@ -19953,8 +20030,7 @@ module Google
19953
20030
  execute_or_queue_command(command, &block)
19954
20031
  end
19955
20032
 
19956
- # Returns the specified network endpoint group. Gets a list of available network
19957
- # endpoint groups by making a list() request.
20033
+ # Returns the specified network endpoint group.
19958
20034
  # @param [String] project
19959
20035
  # Project ID for this request.
19960
20036
  # @param [String] zone
@@ -21159,8 +21235,7 @@ module Google
21159
21235
  execute_or_queue_command(command, &block)
21160
21236
  end
21161
21237
 
21162
- # Returns the specified network. Gets a list of available networks by making a
21163
- # list() request.
21238
+ # Returns the specified network.
21164
21239
  # @param [String] project
21165
21240
  # Project ID for this request.
21166
21241
  # @param [String] network
@@ -22877,8 +22952,7 @@ module Google
22877
22952
  execute_or_queue_command(command, &block)
22878
22953
  end
22879
22954
 
22880
- # Returns the specified node template. Gets a list of available node templates
22881
- # by making a list() request.
22955
+ # Returns the specified node template.
22882
22956
  # @param [String] project
22883
22957
  # Project ID for this request.
22884
22958
  # @param [String] region
@@ -23283,8 +23357,7 @@ module Google
23283
23357
  execute_or_queue_command(command, &block)
23284
23358
  end
23285
23359
 
23286
- # Returns the specified node type. Gets a list of available node types by making
23287
- # a list() request.
23360
+ # Returns the specified node type.
23288
23361
  # @param [String] project
23289
23362
  # Project ID for this request.
23290
23363
  # @param [String] zone
@@ -27169,8 +27242,7 @@ module Google
27169
27242
  execute_or_queue_command(command, &block)
27170
27243
  end
27171
27244
 
27172
- # Returns the specified commitment resource. Gets a list of available
27173
- # commitments by making a list() request.
27245
+ # Returns the specified commitment resource.
27174
27246
  # @param [String] project
27175
27247
  # Project ID for this request.
27176
27248
  # @param [String] region
@@ -27506,8 +27578,7 @@ module Google
27506
27578
  execute_or_queue_command(command, &block)
27507
27579
  end
27508
27580
 
27509
- # Returns the specified regional disk type. Gets a list of available disk types
27510
- # by making a list() request.
27581
+ # Returns the specified regional disk type.
27511
27582
  # @param [String] project
27512
27583
  # Project ID for this request.
27513
27584
  # @param [String] region
@@ -29023,8 +29094,7 @@ module Google
29023
29094
  execute_or_queue_command(command, &block)
29024
29095
  end
29025
29096
 
29026
- # Returns the specified HealthCheck resource. Gets a list of available health
29027
- # checks by making a list() request.
29097
+ # Returns the specified HealthCheck resource.
29028
29098
  # @param [String] project
29029
29099
  # Project ID for this request.
29030
29100
  # @param [String] region
@@ -31425,8 +31495,7 @@ module Google
31425
31495
  execute_or_queue_command(command, &block)
31426
31496
  end
31427
31497
 
31428
- # Returns the specified instance template. Gets a list of available instance
31429
- # templates by making a list() request.
31498
+ # Returns the specified instance template.
31430
31499
  # @param [String] project
31431
31500
  # Project ID for this request.
31432
31501
  # @param [String] region
@@ -32295,8 +32364,7 @@ module Google
32295
32364
  execute_or_queue_command(command, &block)
32296
32365
  end
32297
32366
 
32298
- # Returns the specified network endpoint group. Gets a list of available network
32299
- # endpoint groups by making a list() request.
32367
+ # Returns the specified network endpoint group.
32300
32368
  # @param [String] project
32301
32369
  # Project ID for this request.
32302
32370
  # @param [String] region
@@ -35256,8 +35324,7 @@ module Google
35256
35324
  execute_or_queue_command(command, &block)
35257
35325
  end
35258
35326
 
35259
- # Returns the specified TargetHttpProxy resource in the specified region. Gets a
35260
- # list of available target HTTP proxies by making a list() request.
35327
+ # Returns the specified TargetHttpProxy resource in the specified region.
35261
35328
  # @param [String] project
35262
35329
  # Project ID for this request.
35263
35330
  # @param [String] region
@@ -35584,8 +35651,7 @@ module Google
35584
35651
  execute_or_queue_command(command, &block)
35585
35652
  end
35586
35653
 
35587
- # Returns the specified TargetHttpsProxy resource in the specified region. Gets
35588
- # a list of available target HTTP proxies by making a list() request.
35654
+ # Returns the specified TargetHttpsProxy resource in the specified region.
35589
35655
  # @param [String] project
35590
35656
  # Project ID for this request.
35591
35657
  # @param [String] region
@@ -36286,8 +36352,7 @@ module Google
36286
36352
  execute_or_queue_command(command, &block)
36287
36353
  end
36288
36354
 
36289
- # Returns the specified UrlMap resource. Gets a list of available URL maps by
36290
- # making a list() request.
36355
+ # Returns the specified UrlMap resource.
36291
36356
  # @param [String] project
36292
36357
  # Project ID for this request.
36293
36358
  # @param [String] region
@@ -36685,14 +36750,13 @@ module Google
36685
36750
  execute_or_queue_command(command, &block)
36686
36751
  end
36687
36752
 
36688
- # Returns the specified Region resource. Gets a list of available regions by
36689
- # making a list() request. To decrease latency for this method, you can
36690
- # optionally omit any unneeded information from the response by using a field
36691
- # mask. This practice is especially recommended for unused quota information (
36692
- # the `quotas` field). To exclude one or more fields, set your request's `fields`
36693
- # query parameter to only include the fields you need. For example, to only
36694
- # include the `id` and `selfLink` fields, add the query parameter `?fields=id,
36695
- # selfLink` to your request.
36753
+ # Returns the specified Region resource. To decrease latency for this method,
36754
+ # you can optionally omit any unneeded information from the response by using a
36755
+ # field mask. This practice is especially recommended for unused quota
36756
+ # information (the `quotas` field). To exclude one or more fields, set your
36757
+ # request's `fields` query parameter to only include the fields you need. For
36758
+ # example, to only include the `id` and `selfLink` fields, add the query
36759
+ # parameter `?fields=id,selfLink` to your request.
36696
36760
  # @param [String] project
36697
36761
  # Project ID for this request.
36698
36762
  # @param [String] region
@@ -38050,8 +38114,7 @@ module Google
38050
38114
  execute_or_queue_command(command, &block)
38051
38115
  end
38052
38116
 
38053
- # Returns the specified Router resource. Gets a list of available routers by
38054
- # making a list() request.
38117
+ # Returns the specified Router resource.
38055
38118
  # @param [String] project
38056
38119
  # Project ID for this request.
38057
38120
  # @param [String] region
@@ -38614,8 +38677,7 @@ module Google
38614
38677
  execute_or_queue_command(command, &block)
38615
38678
  end
38616
38679
 
38617
- # Returns the specified Route resource. Gets a list of available routes by
38618
- # making a list() request.
38680
+ # Returns the specified Route resource.
38619
38681
  # @param [String] project
38620
38682
  # Project ID for this request.
38621
38683
  # @param [String] route
@@ -39381,6 +39443,8 @@ module Google
39381
39443
  # @param [Google::Apis::ComputeAlpha::SecurityPolicyRule] security_policy_rule_object
39382
39444
  # @param [Fixnum] priority
39383
39445
  # The priority of the rule to patch.
39446
+ # @param [String] update_mask
39447
+ # Indicates fields to be cleared as part of this request.
39384
39448
  # @param [Boolean] validate_only
39385
39449
  # If true, the request will not be committed.
39386
39450
  # @param [String] fields
@@ -39402,7 +39466,7 @@ module Google
39402
39466
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
39403
39467
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
39404
39468
  # @raise [Google::Apis::AuthorizationError] Authorization is required
39405
- def patch_security_policy_rule(project, security_policy, security_policy_rule_object = nil, priority: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
39469
+ def patch_security_policy_rule(project, security_policy, security_policy_rule_object = nil, priority: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
39406
39470
  command = make_simple_command(:post, 'projects/{project}/global/securityPolicies/{securityPolicy}/patchRule', options)
39407
39471
  command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation
39408
39472
  command.request_object = security_policy_rule_object
@@ -39411,6 +39475,7 @@ module Google
39411
39475
  command.params['project'] = project unless project.nil?
39412
39476
  command.params['securityPolicy'] = security_policy unless security_policy.nil?
39413
39477
  command.query['priority'] = priority unless priority.nil?
39478
+ command.query['updateMask'] = update_mask unless update_mask.nil?
39414
39479
  command.query['validateOnly'] = validate_only unless validate_only.nil?
39415
39480
  command.query['fields'] = fields unless fields.nil?
39416
39481
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -39918,6 +39983,17 @@ module Google
39918
39983
  # The resource id of the ServiceAttachment to patch. It should conform to
39919
39984
  # RFC1035 resource name or be a string form on an unsigned long number.
39920
39985
  # @param [Google::Apis::ComputeAlpha::ServiceAttachment] service_attachment_object
39986
+ # @param [Boolean] reconcile_connections
39987
+ # This flag determines how to change the status of consumer connections, when
39988
+ # the connection policy for the corresponding project or network is modified. If
39989
+ # the flag is false, the default case, then existing ACCEPTED and REJECTED
39990
+ # consumer connections stay in that state. For example, even if the project is
39991
+ # removed from the accept list, existing ACCEPTED connections will stay the same.
39992
+ # If the flag is true, then the connection can change from ACCEPTED or REJECTED
39993
+ # to pending when the connection policy is modified. For example, if a project
39994
+ # is removed from the reject list, its existing REJECTED connections will move
39995
+ # to the PENDING state. If the project is also added to the accept list, then
39996
+ # those connections will move to the ACCEPTED state.
39921
39997
  # @param [String] request_id
39922
39998
  # An optional request ID to identify requests. Specify a unique request ID so
39923
39999
  # that if you must retry your request, the server will know to ignore the
@@ -39947,7 +40023,7 @@ module Google
39947
40023
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
39948
40024
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
39949
40025
  # @raise [Google::Apis::AuthorizationError] Authorization is required
39950
- def patch_service_attachment(project, region, service_attachment, service_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
40026
+ def patch_service_attachment(project, region, service_attachment, service_attachment_object = nil, reconcile_connections: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
39951
40027
  command = make_simple_command(:patch, 'projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}', options)
39952
40028
  command.request_representation = Google::Apis::ComputeAlpha::ServiceAttachment::Representation
39953
40029
  command.request_object = service_attachment_object
@@ -39956,6 +40032,7 @@ module Google
39956
40032
  command.params['project'] = project unless project.nil?
39957
40033
  command.params['region'] = region unless region.nil?
39958
40034
  command.params['serviceAttachment'] = service_attachment unless service_attachment.nil?
40035
+ command.query['reconcileConnections'] = reconcile_connections unless reconcile_connections.nil?
39959
40036
  command.query['requestId'] = request_id unless request_id.nil?
39960
40037
  command.query['fields'] = fields unless fields.nil?
39961
40038
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -40099,8 +40176,7 @@ module Google
40099
40176
  execute_or_queue_command(command, &block)
40100
40177
  end
40101
40178
 
40102
- # Returns the specified Snapshot resource. Gets a list of available snapshots by
40103
- # making a list() request.
40179
+ # Returns the specified Snapshot resource.
40104
40180
  # @param [String] project
40105
40181
  # Project ID for this request.
40106
40182
  # @param [String] snapshot
@@ -40578,8 +40654,7 @@ module Google
40578
40654
  execute_or_queue_command(command, &block)
40579
40655
  end
40580
40656
 
40581
- # Returns the specified SslCertificate resource. Gets a list of available SSL
40582
- # certificates by making a list() request.
40657
+ # Returns the specified SslCertificate resource.
40583
40658
  # @param [String] project
40584
40659
  # Project ID for this request.
40585
40660
  # @param [String] ssl_certificate
@@ -40974,8 +41049,7 @@ module Google
40974
41049
  execute_or_queue_command(command, &block)
40975
41050
  end
40976
41051
 
40977
- # Returns the specified SSL policy resource. Gets a list of available SSL
40978
- # policies by making a list() request.
41052
+ # Returns the specified SSL policy resource.
40979
41053
  # @param [String] project
40980
41054
  # Project ID for this request.
40981
41055
  # @param [Google::Apis::ComputeAlpha::SslPolicy] ssl_policy_object
@@ -41488,8 +41562,7 @@ module Google
41488
41562
  execute_or_queue_command(command, &block)
41489
41563
  end
41490
41564
 
41491
- # Returns the specified subnetwork. Gets a list of available subnetworks list()
41492
- # request.
41565
+ # Returns the specified subnetwork.
41493
41566
  # @param [String] project
41494
41567
  # Project ID for this request.
41495
41568
  # @param [String] region
@@ -42464,8 +42537,7 @@ module Google
42464
42537
  execute_or_queue_command(command, &block)
42465
42538
  end
42466
42539
 
42467
- # Returns the specified TargetHttpProxy resource. Gets a list of available
42468
- # target HTTP proxies by making a list() request.
42540
+ # Returns the specified TargetHttpProxy resource.
42469
42541
  # @param [String] project
42470
42542
  # Project ID for this request.
42471
42543
  # @param [String] target_http_proxy
@@ -42923,8 +42995,7 @@ module Google
42923
42995
  execute_or_queue_command(command, &block)
42924
42996
  end
42925
42997
 
42926
- # Returns the specified TargetHttpsProxy resource. Gets a list of available
42927
- # target HTTPS proxies by making a list() request.
42998
+ # Returns the specified TargetHttpsProxy resource.
42928
42999
  # @param [String] project
42929
43000
  # Project ID for this request.
42930
43001
  # @param [String] target_https_proxy
@@ -43590,8 +43661,7 @@ module Google
43590
43661
  execute_or_queue_command(command, &block)
43591
43662
  end
43592
43663
 
43593
- # Returns the specified TargetInstance resource. Gets a list of available target
43594
- # instances by making a list() request.
43664
+ # Returns the specified TargetInstance resource.
43595
43665
  # @param [String] project
43596
43666
  # Project ID for this request.
43597
43667
  # @param [String] zone
@@ -44067,8 +44137,7 @@ module Google
44067
44137
  execute_or_queue_command(command, &block)
44068
44138
  end
44069
44139
 
44070
- # Returns the specified target pool. Gets a list of available target pools by
44071
- # making a list() request.
44140
+ # Returns the specified target pool.
44072
44141
  # @param [String] project
44073
44142
  # Project ID for this request.
44074
44143
  # @param [String] region
@@ -44543,8 +44612,7 @@ module Google
44543
44612
  execute_or_queue_command(command, &block)
44544
44613
  end
44545
44614
 
44546
- # Returns the specified TargetSslProxy resource. Gets a list of available target
44547
- # SSL proxies by making a list() request.
44615
+ # Returns the specified TargetSslProxy resource.
44548
44616
  # @param [String] project
44549
44617
  # Project ID for this request.
44550
44618
  # @param [String] target_ssl_proxy
@@ -45155,8 +45223,7 @@ module Google
45155
45223
  execute_or_queue_command(command, &block)
45156
45224
  end
45157
45225
 
45158
- # Returns the specified TargetTcpProxy resource. Gets a list of available target
45159
- # TCP proxies by making a list() request.
45226
+ # Returns the specified TargetTcpProxy resource.
45160
45227
  # @param [String] project
45161
45228
  # Project ID for this request.
45162
45229
  # @param [String] target_tcp_proxy
@@ -45614,8 +45681,7 @@ module Google
45614
45681
  execute_or_queue_command(command, &block)
45615
45682
  end
45616
45683
 
45617
- # Returns the specified target VPN gateway. Gets a list of available target VPN
45618
- # gateways by making a list() request.
45684
+ # Returns the specified target VPN gateway.
45619
45685
  # @param [String] project
45620
45686
  # Project ID for this request.
45621
45687
  # @param [String] region
@@ -46037,8 +46103,7 @@ module Google
46037
46103
  execute_or_queue_command(command, &block)
46038
46104
  end
46039
46105
 
46040
- # Returns the specified UrlMap resource. Gets a list of available URL maps by
46041
- # making a list() request.
46106
+ # Returns the specified UrlMap resource.
46042
46107
  # @param [String] project
46043
46108
  # Project ID for this request.
46044
46109
  # @param [String] url_map
@@ -46589,8 +46654,7 @@ module Google
46589
46654
  execute_or_queue_command(command, &block)
46590
46655
  end
46591
46656
 
46592
- # Returns the specified VPN gateway. Gets a list of available VPN gateways by
46593
- # making a list() request.
46657
+ # Returns the specified VPN gateway.
46594
46658
  # @param [String] project
46595
46659
  # Project ID for this request.
46596
46660
  # @param [String] region
@@ -47052,8 +47116,7 @@ module Google
47052
47116
  execute_or_queue_command(command, &block)
47053
47117
  end
47054
47118
 
47055
- # Returns the specified VpnTunnel resource. Gets a list of available VPN tunnels
47056
- # by making a list() request.
47119
+ # Returns the specified VpnTunnel resource.
47057
47120
  # @param [String] project
47058
47121
  # Project ID for this request.
47059
47122
  # @param [String] region
@@ -47926,8 +47989,7 @@ module Google
47926
47989
  execute_or_queue_command(command, &block)
47927
47990
  end
47928
47991
 
47929
- # Returns the specified Zone resource. Gets a list of available zones by making
47930
- # a list() request.
47992
+ # Returns the specified Zone resource.
47931
47993
  # @param [String] project
47932
47994
  # Project ID for this request.
47933
47995
  # @param [String] zone
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.61.0
4
+ version: 0.63.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-02-26 00:00:00.000000000 Z
11
+ date: 2023-03-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_alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.61.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.63.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: []