google-apis-compute_alpha 0.18.0 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/compute_alpha/classes.rb +292 -12
- data/lib/google/apis/compute_alpha/gem_version.rb +2 -2
- data/lib/google/apis/compute_alpha/representations.rb +118 -0
- data/lib/google/apis/compute_alpha/service.rb +81 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 933398e30a76aa0901734e7cfaacee73883c6cd4ed7c5917821ebb171073c4c4
|
4
|
+
data.tar.gz: 5837af21c30f89688c0c9eb441e48df2e1c37c448f32818aaa497f9cea2ccbb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fa151cf27d5dfe84c245f0979082736e5fcdab89aea5850b3a1aa93472c44bdf42fb3456961ddd635e7aed3a1c9de4a3ced42a5a23bdbf5533889d95a94787e
|
7
|
+
data.tar.gz: d06e879dccf4f29569303afb3e3713eaca87063c56be25cbecf7ac7751c3cdc80cbb0750152ff354fb6a4565e1e8065891fd3a8b66a7c6eda47f177744423be1
|
data/CHANGELOG.md
CHANGED
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Compute service in particular.)
|
67
67
|
|
@@ -521,7 +521,9 @@ module Google
|
|
521
521
|
attr_accessor :public_dns_name
|
522
522
|
|
523
523
|
# The DNS domain name for the public PTR record. You can set this field only if
|
524
|
-
# the `setPublicPtr` field is enabled.
|
524
|
+
# the `setPublicPtr` field is enabled in accessConfig. If this field is
|
525
|
+
# unspecified in ipv6AccessConfig, a default PTR record will be createc for
|
526
|
+
# first IP in associated external IPv6 range.
|
525
527
|
# Corresponds to the JSON property `publicPtrDomainName`
|
526
528
|
# @return [String]
|
527
529
|
attr_accessor :public_ptr_domain_name
|
@@ -534,7 +536,9 @@ module Google
|
|
534
536
|
alias_method :set_public_dns?, :set_public_dns
|
535
537
|
|
536
538
|
# Specifies whether a public DNS 'PTR' record should be created to map the
|
537
|
-
# external IP address of the instance to a DNS domain name.
|
539
|
+
# external IP address of the instance to a DNS domain name. This field is not
|
540
|
+
# used in ipv6AccessConfig. A default PTR record will be created if the VM has
|
541
|
+
# external IPv6 range associated.
|
538
542
|
# Corresponds to the JSON property `setPublicPtr`
|
539
543
|
# @return [Boolean]
|
540
544
|
attr_accessor :set_public_ptr
|
@@ -2951,7 +2955,7 @@ module Google
|
|
2951
2955
|
# specified), or else sets the response max-age directive to the lesser of the
|
2952
2956
|
# client_ttl and default_ttl, and also ensures a "public" cache-control
|
2953
2957
|
# directive is present. If a client TTL is not specified, a default value (1
|
2954
|
-
# hour) will be used. The maximum allowed value is
|
2958
|
+
# hour) will be used. The maximum allowed value is 31,622,400s (1 year).
|
2955
2959
|
# Corresponds to the JSON property `clientTtl`
|
2956
2960
|
# @return [Fixnum]
|
2957
2961
|
attr_accessor :client_ttl
|
@@ -3789,7 +3793,7 @@ module Google
|
|
3789
3793
|
# specified), or else sets the response max-age directive to the lesser of the
|
3790
3794
|
# client_ttl and default_ttl, and also ensures a "public" cache-control
|
3791
3795
|
# directive is present. If a client TTL is not specified, a default value (1
|
3792
|
-
# hour) will be used. The maximum allowed value is
|
3796
|
+
# hour) will be used. The maximum allowed value is 31,622,400s (1 year).
|
3793
3797
|
# Corresponds to the JSON property `clientTtl`
|
3794
3798
|
# @return [Fixnum]
|
3795
3799
|
attr_accessor :client_ttl
|
@@ -8011,8 +8015,8 @@ module Google
|
|
8011
8015
|
|
8012
8016
|
# Name of the resource; provided by the client when the resource is created. The
|
8013
8017
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
8014
|
-
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
8015
|
-
# z0-9]*[a-z0-9])
|
8018
|
+
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
8019
|
+
# z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all
|
8016
8020
|
# following characters (except for the last character) must be a dash, lowercase
|
8017
8021
|
# letter, or digit. The last character must be a lowercase letter or digit.
|
8018
8022
|
# Corresponds to the JSON property `name`
|
@@ -17087,18 +17091,19 @@ module Google
|
|
17087
17091
|
# @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
|
17088
17092
|
attr_accessor :network_interfaces
|
17089
17093
|
|
17090
|
-
#
|
17094
|
+
# Note that for MachineImage, this is not supported yet.
|
17091
17095
|
# Corresponds to the JSON property `networkPerformanceConfig`
|
17092
17096
|
# @return [Google::Apis::ComputeAlpha::NetworkPerformanceConfig]
|
17093
17097
|
attr_accessor :network_performance_config
|
17094
17098
|
|
17095
|
-
# PostKeyRevocationActionType of the instance.
|
17099
|
+
# PostKeyRevocationActionType of the instance.
|
17096
17100
|
# Corresponds to the JSON property `postKeyRevocationActionType`
|
17097
17101
|
# @return [String]
|
17098
17102
|
attr_accessor :post_key_revocation_action_type
|
17099
17103
|
|
17100
17104
|
# The private IPv6 google access type for VMs. If not specified, use
|
17101
|
-
# INHERIT_FROM_SUBNETWORK as default.
|
17105
|
+
# INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not
|
17106
|
+
# supported yet.
|
17102
17107
|
# Corresponds to the JSON property `privateIpv6GoogleAccess`
|
17103
17108
|
# @return [String]
|
17104
17109
|
attr_accessor :private_ipv6_google_access
|
@@ -17109,7 +17114,7 @@ module Google
|
|
17109
17114
|
attr_accessor :reservation_affinity
|
17110
17115
|
|
17111
17116
|
# Resource policies (names, not ULRs) applied to instances created from these
|
17112
|
-
# properties.
|
17117
|
+
# properties. Note that for MachineImage, this is not supported yet.
|
17113
17118
|
# Corresponds to the JSON property `resourcePolicies`
|
17114
17119
|
# @return [Array<String>]
|
17115
17120
|
attr_accessor :resource_policies
|
@@ -17120,7 +17125,7 @@ module Google
|
|
17120
17125
|
attr_accessor :scheduling
|
17121
17126
|
|
17122
17127
|
# [Input Only] Secure tags to apply to this instance. Maximum number of secure
|
17123
|
-
# tags allowed is 50.
|
17128
|
+
# tags allowed is 50. Note that for MachineImage, this is not supported yet.
|
17124
17129
|
# Corresponds to the JSON property `secureTags`
|
17125
17130
|
# @return [Array<String>]
|
17126
17131
|
attr_accessor :secure_tags
|
@@ -18043,6 +18048,130 @@ module Google
|
|
18043
18048
|
end
|
18044
18049
|
end
|
18045
18050
|
|
18051
|
+
#
|
18052
|
+
class InstantSnapshotAggregatedList
|
18053
|
+
include Google::Apis::Core::Hashable
|
18054
|
+
|
18055
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
18056
|
+
# Corresponds to the JSON property `id`
|
18057
|
+
# @return [String]
|
18058
|
+
attr_accessor :id
|
18059
|
+
|
18060
|
+
# A list of InstantSnapshotsScopedList resources.
|
18061
|
+
# Corresponds to the JSON property `items`
|
18062
|
+
# @return [Hash<String,Google::Apis::ComputeAlpha::InstantSnapshotsScopedList>]
|
18063
|
+
attr_accessor :items
|
18064
|
+
|
18065
|
+
# [Output Only] Type of resource. Always compute#instantSnapshotAggregatedList
|
18066
|
+
# for aggregated lists of instantSnapshots.
|
18067
|
+
# Corresponds to the JSON property `kind`
|
18068
|
+
# @return [String]
|
18069
|
+
attr_accessor :kind
|
18070
|
+
|
18071
|
+
# [Output Only] This token allows you to get the next page of results for list
|
18072
|
+
# requests. If the number of results is larger than maxResults, use the
|
18073
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
18074
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
18075
|
+
# continue paging through the results.
|
18076
|
+
# Corresponds to the JSON property `nextPageToken`
|
18077
|
+
# @return [String]
|
18078
|
+
attr_accessor :next_page_token
|
18079
|
+
|
18080
|
+
# [Output Only] Server-defined URL for this resource.
|
18081
|
+
# Corresponds to the JSON property `selfLink`
|
18082
|
+
# @return [String]
|
18083
|
+
attr_accessor :self_link
|
18084
|
+
|
18085
|
+
# [Output Only] Unreachable resources.
|
18086
|
+
# Corresponds to the JSON property `unreachables`
|
18087
|
+
# @return [Array<String>]
|
18088
|
+
attr_accessor :unreachables
|
18089
|
+
|
18090
|
+
# [Output Only] Informational warning message.
|
18091
|
+
# Corresponds to the JSON property `warning`
|
18092
|
+
# @return [Google::Apis::ComputeAlpha::InstantSnapshotAggregatedList::Warning]
|
18093
|
+
attr_accessor :warning
|
18094
|
+
|
18095
|
+
def initialize(**args)
|
18096
|
+
update!(**args)
|
18097
|
+
end
|
18098
|
+
|
18099
|
+
# Update properties of this object
|
18100
|
+
def update!(**args)
|
18101
|
+
@id = args[:id] if args.key?(:id)
|
18102
|
+
@items = args[:items] if args.key?(:items)
|
18103
|
+
@kind = args[:kind] if args.key?(:kind)
|
18104
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
18105
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
18106
|
+
@unreachables = args[:unreachables] if args.key?(:unreachables)
|
18107
|
+
@warning = args[:warning] if args.key?(:warning)
|
18108
|
+
end
|
18109
|
+
|
18110
|
+
# [Output Only] Informational warning message.
|
18111
|
+
class Warning
|
18112
|
+
include Google::Apis::Core::Hashable
|
18113
|
+
|
18114
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
18115
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
18116
|
+
# Corresponds to the JSON property `code`
|
18117
|
+
# @return [String]
|
18118
|
+
attr_accessor :code
|
18119
|
+
|
18120
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
18121
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
18122
|
+
# Corresponds to the JSON property `data`
|
18123
|
+
# @return [Array<Google::Apis::ComputeAlpha::InstantSnapshotAggregatedList::Warning::Datum>]
|
18124
|
+
attr_accessor :data
|
18125
|
+
|
18126
|
+
# [Output Only] A human-readable description of the warning code.
|
18127
|
+
# Corresponds to the JSON property `message`
|
18128
|
+
# @return [String]
|
18129
|
+
attr_accessor :message
|
18130
|
+
|
18131
|
+
def initialize(**args)
|
18132
|
+
update!(**args)
|
18133
|
+
end
|
18134
|
+
|
18135
|
+
# Update properties of this object
|
18136
|
+
def update!(**args)
|
18137
|
+
@code = args[:code] if args.key?(:code)
|
18138
|
+
@data = args[:data] if args.key?(:data)
|
18139
|
+
@message = args[:message] if args.key?(:message)
|
18140
|
+
end
|
18141
|
+
|
18142
|
+
#
|
18143
|
+
class Datum
|
18144
|
+
include Google::Apis::Core::Hashable
|
18145
|
+
|
18146
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
18147
|
+
# For example, for warnings where there are no results in a list request for a
|
18148
|
+
# particular zone, this key might be scope and the key value might be the zone
|
18149
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
18150
|
+
# suggested replacement, or a warning about invalid network settings (for
|
18151
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
18152
|
+
# for IP forwarding).
|
18153
|
+
# Corresponds to the JSON property `key`
|
18154
|
+
# @return [String]
|
18155
|
+
attr_accessor :key
|
18156
|
+
|
18157
|
+
# [Output Only] A warning data value corresponding to the key.
|
18158
|
+
# Corresponds to the JSON property `value`
|
18159
|
+
# @return [String]
|
18160
|
+
attr_accessor :value
|
18161
|
+
|
18162
|
+
def initialize(**args)
|
18163
|
+
update!(**args)
|
18164
|
+
end
|
18165
|
+
|
18166
|
+
# Update properties of this object
|
18167
|
+
def update!(**args)
|
18168
|
+
@key = args[:key] if args.key?(:key)
|
18169
|
+
@value = args[:value] if args.key?(:value)
|
18170
|
+
end
|
18171
|
+
end
|
18172
|
+
end
|
18173
|
+
end
|
18174
|
+
|
18046
18175
|
#
|
18047
18176
|
class InstantSnapshotExportParams
|
18048
18177
|
include Google::Apis::Core::Hashable
|
@@ -18228,6 +18357,97 @@ module Google
|
|
18228
18357
|
end
|
18229
18358
|
end
|
18230
18359
|
|
18360
|
+
#
|
18361
|
+
class InstantSnapshotsScopedList
|
18362
|
+
include Google::Apis::Core::Hashable
|
18363
|
+
|
18364
|
+
# [Output Only] A list of instantSnapshots contained in this scope.
|
18365
|
+
# Corresponds to the JSON property `instantSnapshots`
|
18366
|
+
# @return [Array<Google::Apis::ComputeAlpha::InstantSnapshot>]
|
18367
|
+
attr_accessor :instant_snapshots
|
18368
|
+
|
18369
|
+
# [Output Only] Informational warning which replaces the list of
|
18370
|
+
# instantSnapshots when the list is empty.
|
18371
|
+
# Corresponds to the JSON property `warning`
|
18372
|
+
# @return [Google::Apis::ComputeAlpha::InstantSnapshotsScopedList::Warning]
|
18373
|
+
attr_accessor :warning
|
18374
|
+
|
18375
|
+
def initialize(**args)
|
18376
|
+
update!(**args)
|
18377
|
+
end
|
18378
|
+
|
18379
|
+
# Update properties of this object
|
18380
|
+
def update!(**args)
|
18381
|
+
@instant_snapshots = args[:instant_snapshots] if args.key?(:instant_snapshots)
|
18382
|
+
@warning = args[:warning] if args.key?(:warning)
|
18383
|
+
end
|
18384
|
+
|
18385
|
+
# [Output Only] Informational warning which replaces the list of
|
18386
|
+
# instantSnapshots when the list is empty.
|
18387
|
+
class Warning
|
18388
|
+
include Google::Apis::Core::Hashable
|
18389
|
+
|
18390
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
18391
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
18392
|
+
# Corresponds to the JSON property `code`
|
18393
|
+
# @return [String]
|
18394
|
+
attr_accessor :code
|
18395
|
+
|
18396
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
18397
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
18398
|
+
# Corresponds to the JSON property `data`
|
18399
|
+
# @return [Array<Google::Apis::ComputeAlpha::InstantSnapshotsScopedList::Warning::Datum>]
|
18400
|
+
attr_accessor :data
|
18401
|
+
|
18402
|
+
# [Output Only] A human-readable description of the warning code.
|
18403
|
+
# Corresponds to the JSON property `message`
|
18404
|
+
# @return [String]
|
18405
|
+
attr_accessor :message
|
18406
|
+
|
18407
|
+
def initialize(**args)
|
18408
|
+
update!(**args)
|
18409
|
+
end
|
18410
|
+
|
18411
|
+
# Update properties of this object
|
18412
|
+
def update!(**args)
|
18413
|
+
@code = args[:code] if args.key?(:code)
|
18414
|
+
@data = args[:data] if args.key?(:data)
|
18415
|
+
@message = args[:message] if args.key?(:message)
|
18416
|
+
end
|
18417
|
+
|
18418
|
+
#
|
18419
|
+
class Datum
|
18420
|
+
include Google::Apis::Core::Hashable
|
18421
|
+
|
18422
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
18423
|
+
# For example, for warnings where there are no results in a list request for a
|
18424
|
+
# particular zone, this key might be scope and the key value might be the zone
|
18425
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
18426
|
+
# suggested replacement, or a warning about invalid network settings (for
|
18427
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
18428
|
+
# for IP forwarding).
|
18429
|
+
# Corresponds to the JSON property `key`
|
18430
|
+
# @return [String]
|
18431
|
+
attr_accessor :key
|
18432
|
+
|
18433
|
+
# [Output Only] A warning data value corresponding to the key.
|
18434
|
+
# Corresponds to the JSON property `value`
|
18435
|
+
# @return [String]
|
18436
|
+
attr_accessor :value
|
18437
|
+
|
18438
|
+
def initialize(**args)
|
18439
|
+
update!(**args)
|
18440
|
+
end
|
18441
|
+
|
18442
|
+
# Update properties of this object
|
18443
|
+
def update!(**args)
|
18444
|
+
@key = args[:key] if args.key?(:key)
|
18445
|
+
@value = args[:value] if args.key?(:value)
|
18446
|
+
end
|
18447
|
+
end
|
18448
|
+
end
|
18449
|
+
end
|
18450
|
+
|
18231
18451
|
# HttpRouteRuleMatch criteria for field values that must stay within the
|
18232
18452
|
# specified integer range.
|
18233
18453
|
class Int64RangeMatch
|
@@ -21154,6 +21374,11 @@ module Google
|
|
21154
21374
|
# @return [Fixnum]
|
21155
21375
|
attr_accessor :id
|
21156
21376
|
|
21377
|
+
# [Output Only] Properties of source instance
|
21378
|
+
# Corresponds to the JSON property `instanceProperties`
|
21379
|
+
# @return [Google::Apis::ComputeAlpha::InstanceProperties]
|
21380
|
+
attr_accessor :instance_properties
|
21381
|
+
|
21157
21382
|
# [Output Only] The resource type, which is always compute#machineImage for
|
21158
21383
|
# machine image.
|
21159
21384
|
# Corresponds to the JSON property `kind`
|
@@ -21189,6 +21414,12 @@ module Google
|
|
21189
21414
|
attr_accessor :satisfies_pzs
|
21190
21415
|
alias_method :satisfies_pzs?, :satisfies_pzs
|
21191
21416
|
|
21417
|
+
# An array of Machine Image specific properties for disks attached to the source
|
21418
|
+
# instance
|
21419
|
+
# Corresponds to the JSON property `savedDisks`
|
21420
|
+
# @return [Array<Google::Apis::ComputeAlpha::SavedDisk>]
|
21421
|
+
attr_accessor :saved_disks
|
21422
|
+
|
21192
21423
|
# [Output Only] The URL for this machine image. The server defines this URL.
|
21193
21424
|
# Corresponds to the JSON property `selfLink`
|
21194
21425
|
# @return [String]
|
@@ -21246,10 +21477,12 @@ module Google
|
|
21246
21477
|
@description = args[:description] if args.key?(:description)
|
21247
21478
|
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
21248
21479
|
@id = args[:id] if args.key?(:id)
|
21480
|
+
@instance_properties = args[:instance_properties] if args.key?(:instance_properties)
|
21249
21481
|
@kind = args[:kind] if args.key?(:kind)
|
21250
21482
|
@machine_image_encryption_key = args[:machine_image_encryption_key] if args.key?(:machine_image_encryption_key)
|
21251
21483
|
@name = args[:name] if args.key?(:name)
|
21252
21484
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
21485
|
+
@saved_disks = args[:saved_disks] if args.key?(:saved_disks)
|
21253
21486
|
@self_link = args[:self_link] if args.key?(:self_link)
|
21254
21487
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
21255
21488
|
@source_disk_encryption_keys = args[:source_disk_encryption_keys] if args.key?(:source_disk_encryption_keys)
|
@@ -26719,6 +26952,11 @@ module Google
|
|
26719
26952
|
# @return [String]
|
26720
26953
|
attr_accessor :kind
|
26721
26954
|
|
26955
|
+
# [Output Only] Service-specific metadata attached to this operation.
|
26956
|
+
# Corresponds to the JSON property `metadata`
|
26957
|
+
# @return [Hash<String,Object>]
|
26958
|
+
attr_accessor :metadata
|
26959
|
+
|
26722
26960
|
# [Output Only] Name of the operation.
|
26723
26961
|
# Corresponds to the JSON property `name`
|
26724
26962
|
# @return [String]
|
@@ -26825,6 +27063,7 @@ module Google
|
|
26825
27063
|
@id = args[:id] if args.key?(:id)
|
26826
27064
|
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
26827
27065
|
@kind = args[:kind] if args.key?(:kind)
|
27066
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
26828
27067
|
@name = args[:name] if args.key?(:name)
|
26829
27068
|
@operation_group_id = args[:operation_group_id] if args.key?(:operation_group_id)
|
26830
27069
|
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
@@ -35388,6 +35627,47 @@ module Google
|
|
35388
35627
|
end
|
35389
35628
|
end
|
35390
35629
|
|
35630
|
+
# An instance-attached disk resource.
|
35631
|
+
class SavedDisk
|
35632
|
+
include Google::Apis::Core::Hashable
|
35633
|
+
|
35634
|
+
# [Output Only] Type of the resource. Always compute#savedDisk for attached
|
35635
|
+
# disks.
|
35636
|
+
# Corresponds to the JSON property `kind`
|
35637
|
+
# @return [String]
|
35638
|
+
attr_accessor :kind
|
35639
|
+
|
35640
|
+
# Specifies a URL of the disk attached to the source instance.
|
35641
|
+
# Corresponds to the JSON property `sourceDisk`
|
35642
|
+
# @return [String]
|
35643
|
+
attr_accessor :source_disk
|
35644
|
+
|
35645
|
+
# [Output Only] Size of the individual disk snapshot used by this machine image.
|
35646
|
+
# Corresponds to the JSON property `storageBytes`
|
35647
|
+
# @return [Fixnum]
|
35648
|
+
attr_accessor :storage_bytes
|
35649
|
+
|
35650
|
+
# [Output Only] An indicator whether storageBytes is in a stable state or it is
|
35651
|
+
# being adjusted as a result of shared storage reallocation. This status can
|
35652
|
+
# either be UPDATING, meaning the size of the snapshot is being updated, or
|
35653
|
+
# UP_TO_DATE, meaning the size of the snapshot is up-to-date.
|
35654
|
+
# Corresponds to the JSON property `storageBytesStatus`
|
35655
|
+
# @return [String]
|
35656
|
+
attr_accessor :storage_bytes_status
|
35657
|
+
|
35658
|
+
def initialize(**args)
|
35659
|
+
update!(**args)
|
35660
|
+
end
|
35661
|
+
|
35662
|
+
# Update properties of this object
|
35663
|
+
def update!(**args)
|
35664
|
+
@kind = args[:kind] if args.key?(:kind)
|
35665
|
+
@source_disk = args[:source_disk] if args.key?(:source_disk)
|
35666
|
+
@storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
|
35667
|
+
@storage_bytes_status = args[:storage_bytes_status] if args.key?(:storage_bytes_status)
|
35668
|
+
end
|
35669
|
+
end
|
35670
|
+
|
35391
35671
|
#
|
35392
35672
|
class ScalingScheduleStatus
|
35393
35673
|
include Google::Apis::Core::Hashable
|
@@ -38399,7 +38679,7 @@ module Google
|
|
38399
38679
|
# @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
|
38400
38680
|
attr_accessor :network_interfaces
|
38401
38681
|
|
38402
|
-
# PostKeyRevocationActionType of the instance.
|
38682
|
+
# PostKeyRevocationActionType of the instance.
|
38403
38683
|
# Corresponds to the JSON property `postKeyRevocationActionType`
|
38404
38684
|
# @return [String]
|
38405
38685
|
attr_accessor :post_key_revocation_action_type
|
@@ -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.19.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211019"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2206,6 +2206,24 @@ module Google
|
|
2206
2206
|
include Google::Apis::Core::JsonObjectSupport
|
2207
2207
|
end
|
2208
2208
|
|
2209
|
+
class InstantSnapshotAggregatedList
|
2210
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2211
|
+
|
2212
|
+
class Warning
|
2213
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2214
|
+
|
2215
|
+
class Datum
|
2216
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2217
|
+
|
2218
|
+
include Google::Apis::Core::JsonObjectSupport
|
2219
|
+
end
|
2220
|
+
|
2221
|
+
include Google::Apis::Core::JsonObjectSupport
|
2222
|
+
end
|
2223
|
+
|
2224
|
+
include Google::Apis::Core::JsonObjectSupport
|
2225
|
+
end
|
2226
|
+
|
2209
2227
|
class InstantSnapshotExportParams
|
2210
2228
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2211
2229
|
|
@@ -2236,6 +2254,24 @@ module Google
|
|
2236
2254
|
include Google::Apis::Core::JsonObjectSupport
|
2237
2255
|
end
|
2238
2256
|
|
2257
|
+
class InstantSnapshotsScopedList
|
2258
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2259
|
+
|
2260
|
+
class Warning
|
2261
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2262
|
+
|
2263
|
+
class Datum
|
2264
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2265
|
+
|
2266
|
+
include Google::Apis::Core::JsonObjectSupport
|
2267
|
+
end
|
2268
|
+
|
2269
|
+
include Google::Apis::Core::JsonObjectSupport
|
2270
|
+
end
|
2271
|
+
|
2272
|
+
include Google::Apis::Core::JsonObjectSupport
|
2273
|
+
end
|
2274
|
+
|
2239
2275
|
class Int64RangeMatch
|
2240
2276
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2241
2277
|
|
@@ -4606,6 +4642,12 @@ module Google
|
|
4606
4642
|
include Google::Apis::Core::JsonObjectSupport
|
4607
4643
|
end
|
4608
4644
|
|
4645
|
+
class SavedDisk
|
4646
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4647
|
+
|
4648
|
+
include Google::Apis::Core::JsonObjectSupport
|
4649
|
+
end
|
4650
|
+
|
4609
4651
|
class ScalingScheduleStatus
|
4610
4652
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4611
4653
|
|
@@ -10472,6 +10514,39 @@ module Google
|
|
10472
10514
|
end
|
10473
10515
|
end
|
10474
10516
|
|
10517
|
+
class InstantSnapshotAggregatedList
|
10518
|
+
# @private
|
10519
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10520
|
+
property :id, as: 'id'
|
10521
|
+
hash :items, as: 'items', class: Google::Apis::ComputeAlpha::InstantSnapshotsScopedList, decorator: Google::Apis::ComputeAlpha::InstantSnapshotsScopedList::Representation
|
10522
|
+
|
10523
|
+
property :kind, as: 'kind'
|
10524
|
+
property :next_page_token, as: 'nextPageToken'
|
10525
|
+
property :self_link, as: 'selfLink'
|
10526
|
+
collection :unreachables, as: 'unreachables'
|
10527
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::InstantSnapshotAggregatedList::Warning, decorator: Google::Apis::ComputeAlpha::InstantSnapshotAggregatedList::Warning::Representation
|
10528
|
+
|
10529
|
+
end
|
10530
|
+
|
10531
|
+
class Warning
|
10532
|
+
# @private
|
10533
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10534
|
+
property :code, as: 'code'
|
10535
|
+
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::InstantSnapshotAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::InstantSnapshotAggregatedList::Warning::Datum::Representation
|
10536
|
+
|
10537
|
+
property :message, as: 'message'
|
10538
|
+
end
|
10539
|
+
|
10540
|
+
class Datum
|
10541
|
+
# @private
|
10542
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10543
|
+
property :key, as: 'key'
|
10544
|
+
property :value, as: 'value'
|
10545
|
+
end
|
10546
|
+
end
|
10547
|
+
end
|
10548
|
+
end
|
10549
|
+
|
10475
10550
|
class InstantSnapshotExportParams
|
10476
10551
|
# @private
|
10477
10552
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10524,6 +10599,34 @@ module Google
|
|
10524
10599
|
end
|
10525
10600
|
end
|
10526
10601
|
|
10602
|
+
class InstantSnapshotsScopedList
|
10603
|
+
# @private
|
10604
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10605
|
+
collection :instant_snapshots, as: 'instantSnapshots', class: Google::Apis::ComputeAlpha::InstantSnapshot, decorator: Google::Apis::ComputeAlpha::InstantSnapshot::Representation
|
10606
|
+
|
10607
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::InstantSnapshotsScopedList::Warning, decorator: Google::Apis::ComputeAlpha::InstantSnapshotsScopedList::Warning::Representation
|
10608
|
+
|
10609
|
+
end
|
10610
|
+
|
10611
|
+
class Warning
|
10612
|
+
# @private
|
10613
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10614
|
+
property :code, as: 'code'
|
10615
|
+
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::InstantSnapshotsScopedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::InstantSnapshotsScopedList::Warning::Datum::Representation
|
10616
|
+
|
10617
|
+
property :message, as: 'message'
|
10618
|
+
end
|
10619
|
+
|
10620
|
+
class Datum
|
10621
|
+
# @private
|
10622
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10623
|
+
property :key, as: 'key'
|
10624
|
+
property :value, as: 'value'
|
10625
|
+
end
|
10626
|
+
end
|
10627
|
+
end
|
10628
|
+
end
|
10629
|
+
|
10527
10630
|
class Int64RangeMatch
|
10528
10631
|
# @private
|
10529
10632
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -11230,11 +11333,15 @@ module Google
|
|
11230
11333
|
property :description, as: 'description'
|
11231
11334
|
property :guest_flush, as: 'guestFlush'
|
11232
11335
|
property :id, :numeric_string => true, as: 'id'
|
11336
|
+
property :instance_properties, as: 'instanceProperties', class: Google::Apis::ComputeAlpha::InstanceProperties, decorator: Google::Apis::ComputeAlpha::InstanceProperties::Representation
|
11337
|
+
|
11233
11338
|
property :kind, as: 'kind'
|
11234
11339
|
property :machine_image_encryption_key, as: 'machineImageEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
|
11235
11340
|
|
11236
11341
|
property :name, as: 'name'
|
11237
11342
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
11343
|
+
collection :saved_disks, as: 'savedDisks', class: Google::Apis::ComputeAlpha::SavedDisk, decorator: Google::Apis::ComputeAlpha::SavedDisk::Representation
|
11344
|
+
|
11238
11345
|
property :self_link, as: 'selfLink'
|
11239
11346
|
property :self_link_with_id, as: 'selfLinkWithId'
|
11240
11347
|
collection :source_disk_encryption_keys, as: 'sourceDiskEncryptionKeys', class: Google::Apis::ComputeAlpha::SourceDiskEncryptionKey, decorator: Google::Apis::ComputeAlpha::SourceDiskEncryptionKey::Representation
|
@@ -12645,6 +12752,7 @@ module Google
|
|
12645
12752
|
property :id, :numeric_string => true, as: 'id'
|
12646
12753
|
property :insert_time, as: 'insertTime'
|
12647
12754
|
property :kind, as: 'kind'
|
12755
|
+
hash :metadata, as: 'metadata'
|
12648
12756
|
property :name, as: 'name'
|
12649
12757
|
property :operation_group_id, as: 'operationGroupId'
|
12650
12758
|
property :operation_type, as: 'operationType'
|
@@ -14876,6 +14984,16 @@ module Google
|
|
14876
14984
|
end
|
14877
14985
|
end
|
14878
14986
|
|
14987
|
+
class SavedDisk
|
14988
|
+
# @private
|
14989
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14990
|
+
property :kind, as: 'kind'
|
14991
|
+
property :source_disk, as: 'sourceDisk'
|
14992
|
+
property :storage_bytes, :numeric_string => true, as: 'storageBytes'
|
14993
|
+
property :storage_bytes_status, as: 'storageBytesStatus'
|
14994
|
+
end
|
14995
|
+
end
|
14996
|
+
|
14879
14997
|
class ScalingScheduleStatus
|
14880
14998
|
# @private
|
14881
14999
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -14525,6 +14525,87 @@ module Google
|
|
14525
14525
|
execute_or_queue_command(command, &block)
|
14526
14526
|
end
|
14527
14527
|
|
14528
|
+
# Retrieves an aggregated list of instantSnapshots.
|
14529
|
+
# @param [String] project
|
14530
|
+
# Project ID for this request.
|
14531
|
+
# @param [String] filter
|
14532
|
+
# A filter expression that filters resources listed in the response. The
|
14533
|
+
# expression must specify the field name, a comparison operator, and the value
|
14534
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
14535
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
14536
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
14537
|
+
# instances named `example-instance` by specifying `name != example-instance`.
|
14538
|
+
# You can also filter nested fields. For example, you could specify `scheduling.
|
14539
|
+
# automaticRestart = false` to include instances only if they are not scheduled
|
14540
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
14541
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
14542
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
14543
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
14544
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
14545
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
14546
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
14547
|
+
# @param [Boolean] include_all_scopes
|
14548
|
+
# Indicates whether every visible scope for each scope type (zone, region,
|
14549
|
+
# global) should be included in the response. For new resource types added after
|
14550
|
+
# this field, the flag has no effect as new resource types will always include
|
14551
|
+
# every visible scope for each scope type in response. For resource types which
|
14552
|
+
# predate this field, if this flag is omitted or false, only scopes of the scope
|
14553
|
+
# types where the resource type is expected to be found will be included.
|
14554
|
+
# @param [Fixnum] max_results
|
14555
|
+
# The maximum number of results per page that should be returned. If the number
|
14556
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
14557
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
14558
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
14559
|
+
# @param [String] order_by
|
14560
|
+
# Sorts list results by a certain order. By default, results are returned in
|
14561
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
14562
|
+
# descending order based on the creation timestamp using `orderBy="
|
14563
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
14564
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
14565
|
+
# resources like operations so that the newest operation is returned first.
|
14566
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
14567
|
+
# @param [String] page_token
|
14568
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
14569
|
+
# by a previous list request to get the next page of results.
|
14570
|
+
# @param [Boolean] return_partial_success
|
14571
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
14572
|
+
# failure. The default value is false.
|
14573
|
+
# @param [String] fields
|
14574
|
+
# Selector specifying which fields to include in a partial response.
|
14575
|
+
# @param [String] quota_user
|
14576
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
14577
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
14578
|
+
# @param [String] user_ip
|
14579
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
14580
|
+
# @param [Google::Apis::RequestOptions] options
|
14581
|
+
# Request-specific options
|
14582
|
+
#
|
14583
|
+
# @yield [result, err] Result & error if block supplied
|
14584
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::InstantSnapshotAggregatedList] parsed result object
|
14585
|
+
# @yieldparam err [StandardError] error object if request failed
|
14586
|
+
#
|
14587
|
+
# @return [Google::Apis::ComputeAlpha::InstantSnapshotAggregatedList]
|
14588
|
+
#
|
14589
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
14590
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
14591
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
14592
|
+
def aggregated_instant_snapshot_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
14593
|
+
command = make_simple_command(:get, 'projects/{project}/aggregated/instantSnapshots', options)
|
14594
|
+
command.response_representation = Google::Apis::ComputeAlpha::InstantSnapshotAggregatedList::Representation
|
14595
|
+
command.response_class = Google::Apis::ComputeAlpha::InstantSnapshotAggregatedList
|
14596
|
+
command.params['project'] = project unless project.nil?
|
14597
|
+
command.query['filter'] = filter unless filter.nil?
|
14598
|
+
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
|
14599
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
14600
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
14601
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
14602
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
14603
|
+
command.query['fields'] = fields unless fields.nil?
|
14604
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
14605
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
14606
|
+
execute_or_queue_command(command, &block)
|
14607
|
+
end
|
14608
|
+
|
14528
14609
|
# Deletes the specified InstantSnapshot resource. Keep in mind that deleting a
|
14529
14610
|
# single instantSnapshot might not necessarily delete all the data on that
|
14530
14611
|
# instantSnapshot. If any data on the instantSnapshot that is marked for
|
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.19.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: 2021-10-
|
11
|
+
date: 2021-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.19.0
|
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: []
|
65
65
|
require_paths:
|