google-apis-compute_alpha 0.60.0 → 0.62.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7cc0f9474c8b0eb26a51272b5cb0ac0c570190da08b634d16b6a752682693d99
|
|
4
|
+
data.tar.gz: 011a1a653e1f1db49a4e68e725e35fc8e995452a9b465a46c9fbaa4c4f037562
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bca12aa459e492311433e4357e9a627dfb82b7d6b7ef48708fdf34718577d95a61e8140299eda0619ef2a303522e602e24d997e75481868e471b3bd6c2004cc9
|
|
7
|
+
data.tar.gz: bf84497f8384dbe4948c7463830ea39506f491147ce6ee64d4065f5ac70a9562a04a49e3f27b790694d08c2fae6ce7f6c6ca2ee7f5ebada8b76d7da2e48ebc8c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-compute_alpha
|
|
2
2
|
|
|
3
|
+
### v0.62.0 (2023-03-05)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20230221
|
|
6
|
+
|
|
7
|
+
### v0.61.0 (2023-02-26)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20230210
|
|
10
|
+
|
|
3
11
|
### v0.60.0 (2023-02-15)
|
|
4
12
|
|
|
5
13
|
* Regenerated using generator version 0.12.0
|
|
@@ -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,
|
|
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]
|
|
@@ -14539,10 +14539,13 @@ module Google
|
|
|
14539
14539
|
# @return [Fixnum]
|
|
14540
14540
|
attr_accessor :disk_size_gb
|
|
14541
14541
|
|
|
14542
|
-
# The name of the image family to which this image belongs.
|
|
14543
|
-
#
|
|
14544
|
-
#
|
|
14545
|
-
# image family
|
|
14542
|
+
# The name of the image family to which this image belongs. The image family
|
|
14543
|
+
# name can be from a publicly managed image family provided by Compute Engine,
|
|
14544
|
+
# or from a custom image family you create. For example, centos-stream-9 is a
|
|
14545
|
+
# publicly available image family. For more information, see Image family best
|
|
14546
|
+
# practices. When creating disks, you can specify an image family instead of a
|
|
14547
|
+
# specific image name. The image family always returns its latest image that is
|
|
14548
|
+
# not deprecated. The name of the image family must comply with RFC1035.
|
|
14546
14549
|
# Corresponds to the JSON property `family`
|
|
14547
14550
|
# @return [String]
|
|
14548
14551
|
attr_accessor :family
|
|
@@ -15360,9 +15363,7 @@ module Google
|
|
|
15360
15363
|
# @return [Google::Apis::ComputeAlpha::Tags]
|
|
15361
15364
|
attr_accessor :tags
|
|
15362
15365
|
|
|
15363
|
-
# Upcoming Maintenance notification information.
|
|
15364
|
-
# this proto once it's fully migrated to be under proto ResourceStatus.
|
|
15365
|
-
# UpcomingMaintenance.
|
|
15366
|
+
# Upcoming Maintenance notification information.
|
|
15366
15367
|
# Corresponds to the JSON property `upcomingMaintenance`
|
|
15367
15368
|
# @return [Google::Apis::ComputeAlpha::UpcomingMaintenance]
|
|
15368
15369
|
attr_accessor :upcoming_maintenance
|
|
@@ -19023,6 +19024,51 @@ module Google
|
|
|
19023
19024
|
end
|
|
19024
19025
|
end
|
|
19025
19026
|
|
|
19027
|
+
# Represents a Instance Settings resource. You can use instance settings to
|
|
19028
|
+
# configure default settings for Compute Engine VM instances. For example, you
|
|
19029
|
+
# can use it to configure default machine type of Compute Engine VM instances.
|
|
19030
|
+
class InstanceSettings
|
|
19031
|
+
include Google::Apis::Core::Hashable
|
|
19032
|
+
|
|
19033
|
+
# Email address of the service account.
|
|
19034
|
+
# Corresponds to the JSON property `email`
|
|
19035
|
+
# @return [String]
|
|
19036
|
+
attr_accessor :email
|
|
19037
|
+
|
|
19038
|
+
# [Output Only] Type of the resource. Always compute#instance_settings for
|
|
19039
|
+
# instance settings.
|
|
19040
|
+
# Corresponds to the JSON property `kind`
|
|
19041
|
+
# @return [String]
|
|
19042
|
+
attr_accessor :kind
|
|
19043
|
+
|
|
19044
|
+
# Partial URL of the machine type resource to use for this instance, in the
|
|
19045
|
+
# format: machineTypes/machine-type. This is either provided by the client or
|
|
19046
|
+
# chosen by the system. For example, the following is a valid partial url to a
|
|
19047
|
+
# predefined machine type: machineTypes/n2-standard-1
|
|
19048
|
+
# Corresponds to the JSON property `machineType`
|
|
19049
|
+
# @return [String]
|
|
19050
|
+
attr_accessor :machine_type
|
|
19051
|
+
|
|
19052
|
+
# [Output Only] URL of the zone where the resource resides You must specify this
|
|
19053
|
+
# field as part of the HTTP request URL. It is not settable as a field in the
|
|
19054
|
+
# request body.
|
|
19055
|
+
# Corresponds to the JSON property `zone`
|
|
19056
|
+
# @return [String]
|
|
19057
|
+
attr_accessor :zone
|
|
19058
|
+
|
|
19059
|
+
def initialize(**args)
|
|
19060
|
+
update!(**args)
|
|
19061
|
+
end
|
|
19062
|
+
|
|
19063
|
+
# Update properties of this object
|
|
19064
|
+
def update!(**args)
|
|
19065
|
+
@email = args[:email] if args.key?(:email)
|
|
19066
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
19067
|
+
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
|
19068
|
+
@zone = args[:zone] if args.key?(:zone)
|
|
19069
|
+
end
|
|
19070
|
+
end
|
|
19071
|
+
|
|
19026
19072
|
# Represents an Instance Template resource. You can use instance templates to
|
|
19027
19073
|
# create VM instances and managed instance groups. For more information, read
|
|
19028
19074
|
# Instance Templates.
|
|
@@ -20696,9 +20742,7 @@ module Google
|
|
|
20696
20742
|
# @return [Fixnum]
|
|
20697
20743
|
attr_accessor :requested_link_count
|
|
20698
20744
|
|
|
20699
|
-
# [Output Only]
|
|
20700
|
-
# organization policy constraints and false otherwise. Defaults to false if the
|
|
20701
|
-
# field is not present.
|
|
20745
|
+
# [Output Only] Reserved for future use.
|
|
20702
20746
|
# Corresponds to the JSON property `satisfiesPzs`
|
|
20703
20747
|
# @return [Boolean]
|
|
20704
20748
|
attr_accessor :satisfies_pzs
|
|
@@ -21027,9 +21071,7 @@ module Google
|
|
|
21027
21071
|
# @return [String]
|
|
21028
21072
|
attr_accessor :router
|
|
21029
21073
|
|
|
21030
|
-
# [Output Only]
|
|
21031
|
-
# organization policy constraints and false otherwise. Defaults to false if the
|
|
21032
|
-
# field is not present.
|
|
21074
|
+
# [Output Only] Reserved for future use.
|
|
21033
21075
|
# Corresponds to the JSON property `satisfiesPzs`
|
|
21034
21076
|
# @return [Boolean]
|
|
21035
21077
|
attr_accessor :satisfies_pzs
|
|
@@ -22086,8 +22128,7 @@ module Google
|
|
|
22086
22128
|
# @return [String]
|
|
22087
22129
|
attr_accessor :status
|
|
22088
22130
|
|
|
22089
|
-
# [Output Only]
|
|
22090
|
-
# Defaults to false if the field is not present.
|
|
22131
|
+
# [Output Only] Reserved for future use.
|
|
22091
22132
|
# Corresponds to the JSON property `supportsPzs`
|
|
22092
22133
|
# @return [Boolean]
|
|
22093
22134
|
attr_accessor :supports_pzs
|
|
@@ -27271,8 +27312,8 @@ module Google
|
|
|
27271
27312
|
|
|
27272
27313
|
# An IPv6 internal network address for this network interface. To use a static
|
|
27273
27314
|
# internal IP address, it must be unused and in the same region as the instance'
|
|
27274
|
-
# s zone. If not specified,
|
|
27275
|
-
# address from the instance's subnetwork.
|
|
27315
|
+
# s zone. If not specified, Google Cloud will automatically assign an internal
|
|
27316
|
+
# IPv6 address from the instance's subnetwork.
|
|
27276
27317
|
# Corresponds to the JSON property `ipv6Address`
|
|
27277
27318
|
# @return [String]
|
|
27278
27319
|
attr_accessor :ipv6_address
|
|
@@ -28828,10 +28869,7 @@ module Google
|
|
|
28828
28869
|
# @return [String]
|
|
28829
28870
|
attr_accessor :node_type
|
|
28830
28871
|
|
|
28831
|
-
#
|
|
28832
|
-
# node template will create nodes of a type that matches these properties. This
|
|
28833
|
-
# field is mutually exclusive with the node_type property; you can only define
|
|
28834
|
-
# one or the other, but not both.
|
|
28872
|
+
# Do not use. Instead, use the node_type property.
|
|
28835
28873
|
# Corresponds to the JSON property `nodeTypeFlexibility`
|
|
28836
28874
|
# @return [Google::Apis::ComputeAlpha::NodeTemplateNodeTypeFlexibility]
|
|
28837
28875
|
attr_accessor :node_type_flexibility
|
|
@@ -30267,6 +30305,13 @@ module Google
|
|
|
30267
30305
|
# @return [String]
|
|
30268
30306
|
attr_accessor :self_link_with_id
|
|
30269
30307
|
|
|
30308
|
+
# Encapsulates partial completion metadata for SetCommonInstanceMetadata. Will
|
|
30309
|
+
# be propagated on Operation.metadata as per go/partial-completion-api-clean.
|
|
30310
|
+
# See go/gce-aips/2822 for API council results.
|
|
30311
|
+
# Corresponds to the JSON property `setCommonInstanceMetadataOperationMetadata`
|
|
30312
|
+
# @return [Google::Apis::ComputeAlpha::SetCommonInstanceMetadataOperationMetadata]
|
|
30313
|
+
attr_accessor :set_common_instance_metadata_operation_metadata
|
|
30314
|
+
|
|
30270
30315
|
# [Output Only] The time that this operation was started by the server. This
|
|
30271
30316
|
# value is in RFC3339 text format.
|
|
30272
30317
|
# Corresponds to the JSON property `startTime`
|
|
@@ -30339,6 +30384,7 @@ module Google
|
|
|
30339
30384
|
@region = args[:region] if args.key?(:region)
|
|
30340
30385
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
30341
30386
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
|
30387
|
+
@set_common_instance_metadata_operation_metadata = args[:set_common_instance_metadata_operation_metadata] if args.key?(:set_common_instance_metadata_operation_metadata)
|
|
30342
30388
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
30343
30389
|
@status = args[:status] if args.key?(:status)
|
|
30344
30390
|
@status_message = args[:status_message] if args.key?(:status_message)
|
|
@@ -37151,7 +37197,7 @@ module Google
|
|
|
37151
37197
|
attr_accessor :start_time
|
|
37152
37198
|
|
|
37153
37199
|
# Specifies the time zone to be used in interpreting Schedule.schedule. The
|
|
37154
|
-
# value of this field must be a time zone name from the tz database:
|
|
37200
|
+
# value of this field must be a time zone name from the tz database: https://
|
|
37155
37201
|
# wikipedia.org/wiki/Tz_database.
|
|
37156
37202
|
# Corresponds to the JSON property `timeZone`
|
|
37157
37203
|
# @return [String]
|
|
@@ -38552,10 +38598,10 @@ module Google
|
|
|
38552
38598
|
# @return [String]
|
|
38553
38599
|
attr_accessor :advertise_mode
|
|
38554
38600
|
|
|
38555
|
-
# User-specified list of prefix groups to advertise in custom mode, which
|
|
38556
|
-
#
|
|
38557
|
-
#
|
|
38558
|
-
#
|
|
38601
|
+
# User-specified list of prefix groups to advertise in custom mode, which
|
|
38602
|
+
# currently supports the following option: - ALL_SUBNETS: Advertises all of the
|
|
38603
|
+
# router's own VPC subnets. This excludes any routes learned for subnets that
|
|
38604
|
+
# use VPC Network Peering. Note that this field can only be populated if
|
|
38559
38605
|
# advertise_mode is CUSTOM and overrides the list defined for the router (in the
|
|
38560
38606
|
# "bgp" message). These groups are advertised in addition to any specified
|
|
38561
38607
|
# prefixes. Leave this field blank to advertise no custom groups.
|
|
@@ -40192,6 +40238,14 @@ module Google
|
|
|
40192
40238
|
attr_accessor :latency_tolerant
|
|
40193
40239
|
alias_method :latency_tolerant?, :latency_tolerant
|
|
40194
40240
|
|
|
40241
|
+
# A Duration represents a fixed-length span of time represented as a count of
|
|
40242
|
+
# seconds and fractions of seconds at nanosecond resolution. It is independent
|
|
40243
|
+
# of any calendar and concepts like "day" or "month". Range is approximately 10,
|
|
40244
|
+
# 000 years.
|
|
40245
|
+
# Corresponds to the JSON property `localSsdRecoveryTimeout`
|
|
40246
|
+
# @return [Google::Apis::ComputeAlpha::Duration]
|
|
40247
|
+
attr_accessor :local_ssd_recovery_timeout
|
|
40248
|
+
|
|
40195
40249
|
# An opaque location hint used to place the instance close to other resources.
|
|
40196
40250
|
# This field is for use by internal tools that use the public API.
|
|
40197
40251
|
# Corresponds to the JSON property `locationHint`
|
|
@@ -40272,6 +40326,7 @@ module Google
|
|
|
40272
40326
|
@host_error_timeout_seconds = args[:host_error_timeout_seconds] if args.key?(:host_error_timeout_seconds)
|
|
40273
40327
|
@instance_termination_action = args[:instance_termination_action] if args.key?(:instance_termination_action)
|
|
40274
40328
|
@latency_tolerant = args[:latency_tolerant] if args.key?(:latency_tolerant)
|
|
40329
|
+
@local_ssd_recovery_timeout = args[:local_ssd_recovery_timeout] if args.key?(:local_ssd_recovery_timeout)
|
|
40275
40330
|
@location_hint = args[:location_hint] if args.key?(:location_hint)
|
|
40276
40331
|
@maintenance_freeze_duration_hours = args[:maintenance_freeze_duration_hours] if args.key?(:maintenance_freeze_duration_hours)
|
|
40277
40332
|
@maintenance_interval = args[:maintenance_interval] if args.key?(:maintenance_interval)
|
|
@@ -42858,6 +42913,69 @@ module Google
|
|
|
42858
42913
|
end
|
|
42859
42914
|
end
|
|
42860
42915
|
|
|
42916
|
+
# Encapsulates partial completion metadata for SetCommonInstanceMetadata. Will
|
|
42917
|
+
# be propagated on Operation.metadata as per go/partial-completion-api-clean.
|
|
42918
|
+
# See go/gce-aips/2822 for API council results.
|
|
42919
|
+
class SetCommonInstanceMetadataOperationMetadata
|
|
42920
|
+
include Google::Apis::Core::Hashable
|
|
42921
|
+
|
|
42922
|
+
#
|
|
42923
|
+
# Corresponds to the JSON property `clientOperationId`
|
|
42924
|
+
# @return [String]
|
|
42925
|
+
attr_accessor :client_operation_id
|
|
42926
|
+
|
|
42927
|
+
#
|
|
42928
|
+
# Corresponds to the JSON property `perLocationOperations`
|
|
42929
|
+
# @return [Hash<String,Google::Apis::ComputeAlpha::SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo>]
|
|
42930
|
+
attr_accessor :per_location_operations
|
|
42931
|
+
|
|
42932
|
+
def initialize(**args)
|
|
42933
|
+
update!(**args)
|
|
42934
|
+
end
|
|
42935
|
+
|
|
42936
|
+
# Update properties of this object
|
|
42937
|
+
def update!(**args)
|
|
42938
|
+
@client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id)
|
|
42939
|
+
@per_location_operations = args[:per_location_operations] if args.key?(:per_location_operations)
|
|
42940
|
+
end
|
|
42941
|
+
end
|
|
42942
|
+
|
|
42943
|
+
#
|
|
42944
|
+
class SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo
|
|
42945
|
+
include Google::Apis::Core::Hashable
|
|
42946
|
+
|
|
42947
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
42948
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
42949
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
42950
|
+
# data: error code, error message, and error details. You can find out more
|
|
42951
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
42952
|
+
# //cloud.google.com/apis/design/errors).
|
|
42953
|
+
# Corresponds to the JSON property `error`
|
|
42954
|
+
# @return [Google::Apis::ComputeAlpha::Status]
|
|
42955
|
+
attr_accessor :error
|
|
42956
|
+
|
|
42957
|
+
#
|
|
42958
|
+
# Corresponds to the JSON property `operation`
|
|
42959
|
+
# @return [String]
|
|
42960
|
+
attr_accessor :operation
|
|
42961
|
+
|
|
42962
|
+
#
|
|
42963
|
+
# Corresponds to the JSON property `state`
|
|
42964
|
+
# @return [String]
|
|
42965
|
+
attr_accessor :state
|
|
42966
|
+
|
|
42967
|
+
def initialize(**args)
|
|
42968
|
+
update!(**args)
|
|
42969
|
+
end
|
|
42970
|
+
|
|
42971
|
+
# Update properties of this object
|
|
42972
|
+
def update!(**args)
|
|
42973
|
+
@error = args[:error] if args.key?(:error)
|
|
42974
|
+
@operation = args[:operation] if args.key?(:operation)
|
|
42975
|
+
@state = args[:state] if args.key?(:state)
|
|
42976
|
+
end
|
|
42977
|
+
end
|
|
42978
|
+
|
|
42861
42979
|
# The share setting for reservations and sole tenancy node groups.
|
|
42862
42980
|
class ShareSettings
|
|
42863
42981
|
include Google::Apis::Core::Hashable
|
|
@@ -44985,6 +45103,45 @@ module Google
|
|
|
44985
45103
|
end
|
|
44986
45104
|
end
|
|
44987
45105
|
|
|
45106
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
45107
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
45108
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
45109
|
+
# data: error code, error message, and error details. You can find out more
|
|
45110
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
45111
|
+
# //cloud.google.com/apis/design/errors).
|
|
45112
|
+
class Status
|
|
45113
|
+
include Google::Apis::Core::Hashable
|
|
45114
|
+
|
|
45115
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
|
45116
|
+
# Corresponds to the JSON property `code`
|
|
45117
|
+
# @return [Fixnum]
|
|
45118
|
+
attr_accessor :code
|
|
45119
|
+
|
|
45120
|
+
# A list of messages that carry the error details. There is a common set of
|
|
45121
|
+
# message types for APIs to use.
|
|
45122
|
+
# Corresponds to the JSON property `details`
|
|
45123
|
+
# @return [Array<Hash<String,Object>>]
|
|
45124
|
+
attr_accessor :details
|
|
45125
|
+
|
|
45126
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
|
45127
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
|
45128
|
+
# field, or localized by the client.
|
|
45129
|
+
# Corresponds to the JSON property `message`
|
|
45130
|
+
# @return [String]
|
|
45131
|
+
attr_accessor :message
|
|
45132
|
+
|
|
45133
|
+
def initialize(**args)
|
|
45134
|
+
update!(**args)
|
|
45135
|
+
end
|
|
45136
|
+
|
|
45137
|
+
# Update properties of this object
|
|
45138
|
+
def update!(**args)
|
|
45139
|
+
@code = args[:code] if args.key?(:code)
|
|
45140
|
+
@details = args[:details] if args.key?(:details)
|
|
45141
|
+
@message = args[:message] if args.key?(:message)
|
|
45142
|
+
end
|
|
45143
|
+
end
|
|
45144
|
+
|
|
44988
45145
|
# Represents a Subnetwork resource. A subnetwork (also known as a subnet) is a
|
|
44989
45146
|
# logical partition of a Virtual Private Cloud network with one primary IP range
|
|
44990
45147
|
# and zero or more secondary IP ranges. For more information, read Virtual
|
|
@@ -49720,9 +49877,7 @@ module Google
|
|
|
49720
49877
|
end
|
|
49721
49878
|
end
|
|
49722
49879
|
|
|
49723
|
-
# Upcoming Maintenance notification information.
|
|
49724
|
-
# this proto once it's fully migrated to be under proto ResourceStatus.
|
|
49725
|
-
# UpcomingMaintenance.
|
|
49880
|
+
# Upcoming Maintenance notification information.
|
|
49726
49881
|
class UpcomingMaintenance
|
|
49727
49882
|
include Google::Apis::Core::Hashable
|
|
49728
49883
|
|
|
@@ -49734,7 +49889,7 @@ module Google
|
|
|
49734
49889
|
alias_method :can_reschedule?, :can_reschedule
|
|
49735
49890
|
|
|
49736
49891
|
# [Output Only] The date when the maintenance will take place. This value is in
|
|
49737
|
-
# RFC3339 text format. DEPRECATED: Use
|
|
49892
|
+
# RFC3339 text format. DEPRECATED: Use window_start_time instead.
|
|
49738
49893
|
# Corresponds to the JSON property `date`
|
|
49739
49894
|
# @return [String]
|
|
49740
49895
|
attr_accessor :date
|
|
@@ -49746,7 +49901,7 @@ module Google
|
|
|
49746
49901
|
attr_accessor :start_time_window
|
|
49747
49902
|
|
|
49748
49903
|
# [Output Only] The time when the maintenance will take place. This value is in
|
|
49749
|
-
# RFC3339 text format. DEPRECATED: Use
|
|
49904
|
+
# RFC3339 text format. DEPRECATED: Use window_start_time instead.
|
|
49750
49905
|
# Corresponds to the JSON property `time`
|
|
49751
49906
|
# @return [String]
|
|
49752
49907
|
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.
|
|
19
|
+
GEM_VERSION = "0.62.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 = "
|
|
25
|
+
REVISION = "20230221"
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
9560
|
-
# request.
|
|
9553
|
+
# Returns the specified image.
|
|
9561
9554
|
# @param [String] project
|
|
9562
9555
|
# Project ID for this request.
|
|
9563
9556
|
# @param [String] image
|
|
@@ -9594,8 +9587,11 @@ module Google
|
|
|
9594
9587
|
end
|
|
9595
9588
|
|
|
9596
9589
|
# Returns the latest image that is part of an image family and is not deprecated.
|
|
9590
|
+
# For more information on image families, see Public image families
|
|
9591
|
+
# documentation.
|
|
9597
9592
|
# @param [String] project
|
|
9598
|
-
#
|
|
9593
|
+
# The image project that the image belongs to. For example, to get a CentOS
|
|
9594
|
+
# image, specify centos-cloud as the image project.
|
|
9599
9595
|
# @param [String] family
|
|
9600
9596
|
# Name of the image family to search for.
|
|
9601
9597
|
# @param [String] fields
|
|
@@ -10659,8 +10655,7 @@ module Google
|
|
|
10659
10655
|
execute_or_queue_command(command, &block)
|
|
10660
10656
|
end
|
|
10661
10657
|
|
|
10662
|
-
# Returns all of the details about the specified managed instance group.
|
|
10663
|
-
# list of available managed instance groups by making a list() request.
|
|
10658
|
+
# Returns all of the details about the specified managed instance group.
|
|
10664
10659
|
# @param [String] project
|
|
10665
10660
|
# Project ID for this request.
|
|
10666
10661
|
# @param [String] zone
|
|
@@ -12690,6 +12685,95 @@ module Google
|
|
|
12690
12685
|
execute_or_queue_command(command, &block)
|
|
12691
12686
|
end
|
|
12692
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
|
+
|
|
12693
12777
|
# Retrieves the list of all InstanceTemplates resources, regional and global,
|
|
12694
12778
|
# available to the specified project.
|
|
12695
12779
|
# @param [String] project
|
|
@@ -12836,8 +12920,7 @@ module Google
|
|
|
12836
12920
|
execute_or_queue_command(command, &block)
|
|
12837
12921
|
end
|
|
12838
12922
|
|
|
12839
|
-
# Returns the specified instance template.
|
|
12840
|
-
# templates by making a list() request.
|
|
12923
|
+
# Returns the specified instance template.
|
|
12841
12924
|
# @param [String] project
|
|
12842
12925
|
# Project ID for this request.
|
|
12843
12926
|
# @param [String] instance_template
|
|
@@ -13613,8 +13696,7 @@ module Google
|
|
|
13613
13696
|
execute_or_queue_command(command, &block)
|
|
13614
13697
|
end
|
|
13615
13698
|
|
|
13616
|
-
# Returns the specified Instance resource.
|
|
13617
|
-
# making a list() request.
|
|
13699
|
+
# Returns the specified Instance resource.
|
|
13618
13700
|
# @param [String] project
|
|
13619
13701
|
# Project ID for this request.
|
|
13620
13702
|
# @param [String] zone
|
|
@@ -18408,8 +18490,7 @@ module Google
|
|
|
18408
18490
|
execute_or_queue_command(command, &block)
|
|
18409
18491
|
end
|
|
18410
18492
|
|
|
18411
|
-
# Returns the specified machine image.
|
|
18412
|
-
# by making a list() request.
|
|
18493
|
+
# Returns the specified machine image.
|
|
18413
18494
|
# @param [String] project
|
|
18414
18495
|
# Project ID for this request.
|
|
18415
18496
|
# @param [String] machine_image
|
|
@@ -18802,8 +18883,7 @@ module Google
|
|
|
18802
18883
|
execute_or_queue_command(command, &block)
|
|
18803
18884
|
end
|
|
18804
18885
|
|
|
18805
|
-
# Returns the specified machine type.
|
|
18806
|
-
# making a list() request.
|
|
18886
|
+
# Returns the specified machine type.
|
|
18807
18887
|
# @param [String] project
|
|
18808
18888
|
# Project ID for this request.
|
|
18809
18889
|
# @param [String] zone
|
|
@@ -19950,8 +20030,7 @@ module Google
|
|
|
19950
20030
|
execute_or_queue_command(command, &block)
|
|
19951
20031
|
end
|
|
19952
20032
|
|
|
19953
|
-
# Returns the specified network endpoint group.
|
|
19954
|
-
# endpoint groups by making a list() request.
|
|
20033
|
+
# Returns the specified network endpoint group.
|
|
19955
20034
|
# @param [String] project
|
|
19956
20035
|
# Project ID for this request.
|
|
19957
20036
|
# @param [String] zone
|
|
@@ -21156,8 +21235,7 @@ module Google
|
|
|
21156
21235
|
execute_or_queue_command(command, &block)
|
|
21157
21236
|
end
|
|
21158
21237
|
|
|
21159
|
-
# Returns the specified network.
|
|
21160
|
-
# list() request.
|
|
21238
|
+
# Returns the specified network.
|
|
21161
21239
|
# @param [String] project
|
|
21162
21240
|
# Project ID for this request.
|
|
21163
21241
|
# @param [String] network
|
|
@@ -22874,8 +22952,7 @@ module Google
|
|
|
22874
22952
|
execute_or_queue_command(command, &block)
|
|
22875
22953
|
end
|
|
22876
22954
|
|
|
22877
|
-
# Returns the specified node template.
|
|
22878
|
-
# by making a list() request.
|
|
22955
|
+
# Returns the specified node template.
|
|
22879
22956
|
# @param [String] project
|
|
22880
22957
|
# Project ID for this request.
|
|
22881
22958
|
# @param [String] region
|
|
@@ -23280,8 +23357,7 @@ module Google
|
|
|
23280
23357
|
execute_or_queue_command(command, &block)
|
|
23281
23358
|
end
|
|
23282
23359
|
|
|
23283
|
-
# Returns the specified node type.
|
|
23284
|
-
# a list() request.
|
|
23360
|
+
# Returns the specified node type.
|
|
23285
23361
|
# @param [String] project
|
|
23286
23362
|
# Project ID for this request.
|
|
23287
23363
|
# @param [String] zone
|
|
@@ -27166,8 +27242,7 @@ module Google
|
|
|
27166
27242
|
execute_or_queue_command(command, &block)
|
|
27167
27243
|
end
|
|
27168
27244
|
|
|
27169
|
-
# Returns the specified commitment resource.
|
|
27170
|
-
# commitments by making a list() request.
|
|
27245
|
+
# Returns the specified commitment resource.
|
|
27171
27246
|
# @param [String] project
|
|
27172
27247
|
# Project ID for this request.
|
|
27173
27248
|
# @param [String] region
|
|
@@ -27503,8 +27578,7 @@ module Google
|
|
|
27503
27578
|
execute_or_queue_command(command, &block)
|
|
27504
27579
|
end
|
|
27505
27580
|
|
|
27506
|
-
# Returns the specified regional disk type.
|
|
27507
|
-
# by making a list() request.
|
|
27581
|
+
# Returns the specified regional disk type.
|
|
27508
27582
|
# @param [String] project
|
|
27509
27583
|
# Project ID for this request.
|
|
27510
27584
|
# @param [String] region
|
|
@@ -29020,8 +29094,7 @@ module Google
|
|
|
29020
29094
|
execute_or_queue_command(command, &block)
|
|
29021
29095
|
end
|
|
29022
29096
|
|
|
29023
|
-
# Returns the specified HealthCheck resource.
|
|
29024
|
-
# checks by making a list() request.
|
|
29097
|
+
# Returns the specified HealthCheck resource.
|
|
29025
29098
|
# @param [String] project
|
|
29026
29099
|
# Project ID for this request.
|
|
29027
29100
|
# @param [String] region
|
|
@@ -31422,8 +31495,7 @@ module Google
|
|
|
31422
31495
|
execute_or_queue_command(command, &block)
|
|
31423
31496
|
end
|
|
31424
31497
|
|
|
31425
|
-
# Returns the specified instance template.
|
|
31426
|
-
# templates by making a list() request.
|
|
31498
|
+
# Returns the specified instance template.
|
|
31427
31499
|
# @param [String] project
|
|
31428
31500
|
# Project ID for this request.
|
|
31429
31501
|
# @param [String] region
|
|
@@ -32292,8 +32364,7 @@ module Google
|
|
|
32292
32364
|
execute_or_queue_command(command, &block)
|
|
32293
32365
|
end
|
|
32294
32366
|
|
|
32295
|
-
# Returns the specified network endpoint group.
|
|
32296
|
-
# endpoint groups by making a list() request.
|
|
32367
|
+
# Returns the specified network endpoint group.
|
|
32297
32368
|
# @param [String] project
|
|
32298
32369
|
# Project ID for this request.
|
|
32299
32370
|
# @param [String] region
|
|
@@ -35253,8 +35324,7 @@ module Google
|
|
|
35253
35324
|
execute_or_queue_command(command, &block)
|
|
35254
35325
|
end
|
|
35255
35326
|
|
|
35256
|
-
# Returns the specified TargetHttpProxy resource in the specified region.
|
|
35257
|
-
# list of available target HTTP proxies by making a list() request.
|
|
35327
|
+
# Returns the specified TargetHttpProxy resource in the specified region.
|
|
35258
35328
|
# @param [String] project
|
|
35259
35329
|
# Project ID for this request.
|
|
35260
35330
|
# @param [String] region
|
|
@@ -35581,8 +35651,7 @@ module Google
|
|
|
35581
35651
|
execute_or_queue_command(command, &block)
|
|
35582
35652
|
end
|
|
35583
35653
|
|
|
35584
|
-
# Returns the specified TargetHttpsProxy resource in the specified region.
|
|
35585
|
-
# a list of available target HTTP proxies by making a list() request.
|
|
35654
|
+
# Returns the specified TargetHttpsProxy resource in the specified region.
|
|
35586
35655
|
# @param [String] project
|
|
35587
35656
|
# Project ID for this request.
|
|
35588
35657
|
# @param [String] region
|
|
@@ -36283,8 +36352,7 @@ module Google
|
|
|
36283
36352
|
execute_or_queue_command(command, &block)
|
|
36284
36353
|
end
|
|
36285
36354
|
|
|
36286
|
-
# Returns the specified UrlMap resource.
|
|
36287
|
-
# making a list() request.
|
|
36355
|
+
# Returns the specified UrlMap resource.
|
|
36288
36356
|
# @param [String] project
|
|
36289
36357
|
# Project ID for this request.
|
|
36290
36358
|
# @param [String] region
|
|
@@ -36682,14 +36750,13 @@ module Google
|
|
|
36682
36750
|
execute_or_queue_command(command, &block)
|
|
36683
36751
|
end
|
|
36684
36752
|
|
|
36685
|
-
# Returns the specified Region resource.
|
|
36686
|
-
#
|
|
36687
|
-
#
|
|
36688
|
-
#
|
|
36689
|
-
#
|
|
36690
|
-
#
|
|
36691
|
-
#
|
|
36692
|
-
# 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.
|
|
36693
36760
|
# @param [String] project
|
|
36694
36761
|
# Project ID for this request.
|
|
36695
36762
|
# @param [String] region
|
|
@@ -38047,8 +38114,7 @@ module Google
|
|
|
38047
38114
|
execute_or_queue_command(command, &block)
|
|
38048
38115
|
end
|
|
38049
38116
|
|
|
38050
|
-
# Returns the specified Router resource.
|
|
38051
|
-
# making a list() request.
|
|
38117
|
+
# Returns the specified Router resource.
|
|
38052
38118
|
# @param [String] project
|
|
38053
38119
|
# Project ID for this request.
|
|
38054
38120
|
# @param [String] region
|
|
@@ -38611,8 +38677,7 @@ module Google
|
|
|
38611
38677
|
execute_or_queue_command(command, &block)
|
|
38612
38678
|
end
|
|
38613
38679
|
|
|
38614
|
-
# Returns the specified Route resource.
|
|
38615
|
-
# making a list() request.
|
|
38680
|
+
# Returns the specified Route resource.
|
|
38616
38681
|
# @param [String] project
|
|
38617
38682
|
# Project ID for this request.
|
|
38618
38683
|
# @param [String] route
|
|
@@ -39915,6 +39980,17 @@ module Google
|
|
|
39915
39980
|
# The resource id of the ServiceAttachment to patch. It should conform to
|
|
39916
39981
|
# RFC1035 resource name or be a string form on an unsigned long number.
|
|
39917
39982
|
# @param [Google::Apis::ComputeAlpha::ServiceAttachment] service_attachment_object
|
|
39983
|
+
# @param [Boolean] reconcile_connections
|
|
39984
|
+
# This flag determines how to change the status of consumer connections, when
|
|
39985
|
+
# the connection policy for the corresponding project or network is modified. If
|
|
39986
|
+
# the flag is false, the default case, then existing ACCEPTED and REJECTED
|
|
39987
|
+
# consumer connections stay in that state. For example, even if the project is
|
|
39988
|
+
# removed from the accept list, existing ACCEPTED connections will stay the same.
|
|
39989
|
+
# If the flag is true, then the connection can change from ACCEPTED or REJECTED
|
|
39990
|
+
# to pending when the connection policy is modified. For example, if a project
|
|
39991
|
+
# is removed from the reject list, its existing REJECTED connections will move
|
|
39992
|
+
# to the PENDING state. If the project is also added to the accept list, then
|
|
39993
|
+
# those connections will move to the ACCEPTED state.
|
|
39918
39994
|
# @param [String] request_id
|
|
39919
39995
|
# An optional request ID to identify requests. Specify a unique request ID so
|
|
39920
39996
|
# that if you must retry your request, the server will know to ignore the
|
|
@@ -39944,7 +40020,7 @@ module Google
|
|
|
39944
40020
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
39945
40021
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
39946
40022
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
39947
|
-
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)
|
|
40023
|
+
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)
|
|
39948
40024
|
command = make_simple_command(:patch, 'projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}', options)
|
|
39949
40025
|
command.request_representation = Google::Apis::ComputeAlpha::ServiceAttachment::Representation
|
|
39950
40026
|
command.request_object = service_attachment_object
|
|
@@ -39953,6 +40029,7 @@ module Google
|
|
|
39953
40029
|
command.params['project'] = project unless project.nil?
|
|
39954
40030
|
command.params['region'] = region unless region.nil?
|
|
39955
40031
|
command.params['serviceAttachment'] = service_attachment unless service_attachment.nil?
|
|
40032
|
+
command.query['reconcileConnections'] = reconcile_connections unless reconcile_connections.nil?
|
|
39956
40033
|
command.query['requestId'] = request_id unless request_id.nil?
|
|
39957
40034
|
command.query['fields'] = fields unless fields.nil?
|
|
39958
40035
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -40096,8 +40173,7 @@ module Google
|
|
|
40096
40173
|
execute_or_queue_command(command, &block)
|
|
40097
40174
|
end
|
|
40098
40175
|
|
|
40099
|
-
# Returns the specified Snapshot resource.
|
|
40100
|
-
# making a list() request.
|
|
40176
|
+
# Returns the specified Snapshot resource.
|
|
40101
40177
|
# @param [String] project
|
|
40102
40178
|
# Project ID for this request.
|
|
40103
40179
|
# @param [String] snapshot
|
|
@@ -40575,8 +40651,7 @@ module Google
|
|
|
40575
40651
|
execute_or_queue_command(command, &block)
|
|
40576
40652
|
end
|
|
40577
40653
|
|
|
40578
|
-
# Returns the specified SslCertificate resource.
|
|
40579
|
-
# certificates by making a list() request.
|
|
40654
|
+
# Returns the specified SslCertificate resource.
|
|
40580
40655
|
# @param [String] project
|
|
40581
40656
|
# Project ID for this request.
|
|
40582
40657
|
# @param [String] ssl_certificate
|
|
@@ -40971,8 +41046,7 @@ module Google
|
|
|
40971
41046
|
execute_or_queue_command(command, &block)
|
|
40972
41047
|
end
|
|
40973
41048
|
|
|
40974
|
-
# Returns the specified SSL policy resource.
|
|
40975
|
-
# policies by making a list() request.
|
|
41049
|
+
# Returns the specified SSL policy resource.
|
|
40976
41050
|
# @param [String] project
|
|
40977
41051
|
# Project ID for this request.
|
|
40978
41052
|
# @param [Google::Apis::ComputeAlpha::SslPolicy] ssl_policy_object
|
|
@@ -41485,8 +41559,7 @@ module Google
|
|
|
41485
41559
|
execute_or_queue_command(command, &block)
|
|
41486
41560
|
end
|
|
41487
41561
|
|
|
41488
|
-
# Returns the specified subnetwork.
|
|
41489
|
-
# request.
|
|
41562
|
+
# Returns the specified subnetwork.
|
|
41490
41563
|
# @param [String] project
|
|
41491
41564
|
# Project ID for this request.
|
|
41492
41565
|
# @param [String] region
|
|
@@ -42461,8 +42534,7 @@ module Google
|
|
|
42461
42534
|
execute_or_queue_command(command, &block)
|
|
42462
42535
|
end
|
|
42463
42536
|
|
|
42464
|
-
# Returns the specified TargetHttpProxy resource.
|
|
42465
|
-
# target HTTP proxies by making a list() request.
|
|
42537
|
+
# Returns the specified TargetHttpProxy resource.
|
|
42466
42538
|
# @param [String] project
|
|
42467
42539
|
# Project ID for this request.
|
|
42468
42540
|
# @param [String] target_http_proxy
|
|
@@ -42920,8 +42992,7 @@ module Google
|
|
|
42920
42992
|
execute_or_queue_command(command, &block)
|
|
42921
42993
|
end
|
|
42922
42994
|
|
|
42923
|
-
# Returns the specified TargetHttpsProxy resource.
|
|
42924
|
-
# target HTTPS proxies by making a list() request.
|
|
42995
|
+
# Returns the specified TargetHttpsProxy resource.
|
|
42925
42996
|
# @param [String] project
|
|
42926
42997
|
# Project ID for this request.
|
|
42927
42998
|
# @param [String] target_https_proxy
|
|
@@ -43587,8 +43658,7 @@ module Google
|
|
|
43587
43658
|
execute_or_queue_command(command, &block)
|
|
43588
43659
|
end
|
|
43589
43660
|
|
|
43590
|
-
# Returns the specified TargetInstance resource.
|
|
43591
|
-
# instances by making a list() request.
|
|
43661
|
+
# Returns the specified TargetInstance resource.
|
|
43592
43662
|
# @param [String] project
|
|
43593
43663
|
# Project ID for this request.
|
|
43594
43664
|
# @param [String] zone
|
|
@@ -44064,8 +44134,7 @@ module Google
|
|
|
44064
44134
|
execute_or_queue_command(command, &block)
|
|
44065
44135
|
end
|
|
44066
44136
|
|
|
44067
|
-
# Returns the specified target pool.
|
|
44068
|
-
# making a list() request.
|
|
44137
|
+
# Returns the specified target pool.
|
|
44069
44138
|
# @param [String] project
|
|
44070
44139
|
# Project ID for this request.
|
|
44071
44140
|
# @param [String] region
|
|
@@ -44540,8 +44609,7 @@ module Google
|
|
|
44540
44609
|
execute_or_queue_command(command, &block)
|
|
44541
44610
|
end
|
|
44542
44611
|
|
|
44543
|
-
# Returns the specified TargetSslProxy resource.
|
|
44544
|
-
# SSL proxies by making a list() request.
|
|
44612
|
+
# Returns the specified TargetSslProxy resource.
|
|
44545
44613
|
# @param [String] project
|
|
44546
44614
|
# Project ID for this request.
|
|
44547
44615
|
# @param [String] target_ssl_proxy
|
|
@@ -45152,8 +45220,7 @@ module Google
|
|
|
45152
45220
|
execute_or_queue_command(command, &block)
|
|
45153
45221
|
end
|
|
45154
45222
|
|
|
45155
|
-
# Returns the specified TargetTcpProxy resource.
|
|
45156
|
-
# TCP proxies by making a list() request.
|
|
45223
|
+
# Returns the specified TargetTcpProxy resource.
|
|
45157
45224
|
# @param [String] project
|
|
45158
45225
|
# Project ID for this request.
|
|
45159
45226
|
# @param [String] target_tcp_proxy
|
|
@@ -45611,8 +45678,7 @@ module Google
|
|
|
45611
45678
|
execute_or_queue_command(command, &block)
|
|
45612
45679
|
end
|
|
45613
45680
|
|
|
45614
|
-
# Returns the specified target VPN gateway.
|
|
45615
|
-
# gateways by making a list() request.
|
|
45681
|
+
# Returns the specified target VPN gateway.
|
|
45616
45682
|
# @param [String] project
|
|
45617
45683
|
# Project ID for this request.
|
|
45618
45684
|
# @param [String] region
|
|
@@ -46034,8 +46100,7 @@ module Google
|
|
|
46034
46100
|
execute_or_queue_command(command, &block)
|
|
46035
46101
|
end
|
|
46036
46102
|
|
|
46037
|
-
# Returns the specified UrlMap resource.
|
|
46038
|
-
# making a list() request.
|
|
46103
|
+
# Returns the specified UrlMap resource.
|
|
46039
46104
|
# @param [String] project
|
|
46040
46105
|
# Project ID for this request.
|
|
46041
46106
|
# @param [String] url_map
|
|
@@ -46586,8 +46651,7 @@ module Google
|
|
|
46586
46651
|
execute_or_queue_command(command, &block)
|
|
46587
46652
|
end
|
|
46588
46653
|
|
|
46589
|
-
# Returns the specified VPN gateway.
|
|
46590
|
-
# making a list() request.
|
|
46654
|
+
# Returns the specified VPN gateway.
|
|
46591
46655
|
# @param [String] project
|
|
46592
46656
|
# Project ID for this request.
|
|
46593
46657
|
# @param [String] region
|
|
@@ -47049,8 +47113,7 @@ module Google
|
|
|
47049
47113
|
execute_or_queue_command(command, &block)
|
|
47050
47114
|
end
|
|
47051
47115
|
|
|
47052
|
-
# Returns the specified VpnTunnel resource.
|
|
47053
|
-
# by making a list() request.
|
|
47116
|
+
# Returns the specified VpnTunnel resource.
|
|
47054
47117
|
# @param [String] project
|
|
47055
47118
|
# Project ID for this request.
|
|
47056
47119
|
# @param [String] region
|
|
@@ -47923,8 +47986,7 @@ module Google
|
|
|
47923
47986
|
execute_or_queue_command(command, &block)
|
|
47924
47987
|
end
|
|
47925
47988
|
|
|
47926
|
-
# Returns the specified Zone resource.
|
|
47927
|
-
# a list() request.
|
|
47989
|
+
# Returns the specified Zone resource.
|
|
47928
47990
|
# @param [String] project
|
|
47929
47991
|
# Project ID for this request.
|
|
47930
47992
|
# @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.
|
|
4
|
+
version: 0.62.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-
|
|
11
|
+
date: 2023-03-05 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
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.62.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: []
|