google-api-client 0.23.6 → 0.23.7
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 +4 -4
- data/CHANGELOG.md +15 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +13 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +42 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +18 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +7 -0
- data/generated/google/apis/books_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +22 -24
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +696 -623
- data/generated/google/apis/compute_alpha/representations.rb +144 -175
- data/generated/google/apis/compute_alpha/service.rb +333 -187
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +105 -10
- data/generated/google/apis/compute_beta/representations.rb +37 -1
- data/generated/google/apis/compute_beta/service.rb +3 -2
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +345 -3
- data/generated/google/apis/compute_v1/representations.rb +133 -0
- data/generated/google/apis/compute_v1/service.rb +469 -2
- data/google-api-client.gemspec +3 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29e90be823db1c95d0227f0b1cd3b19565dccf00
|
4
|
+
data.tar.gz: 1c55ebef8b4443c3d184df591402bd06e69ed00d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e0ef7f8dfd7851252e15f0ba6e5f6efa3e2d16e636ed8dfeaf86e237ae76bdbfde8870d7630bc79fd53ab6d536ce5b06b65c424103f0732b038030933e0f33c
|
7
|
+
data.tar.gz: 8c26817a0cb214de04288d4f52ba1b6b6f8f2be4735b4acd1a6b3e49d88adeae93a53bf2f8e925814d7a0a4589d97c36bf01d5756ca67e114c94ab2d18c1d3da
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,18 @@
|
|
1
|
+
# 0.23.7
|
2
|
+
* Backwards compatible changes:
|
3
|
+
* Updated `adexchangebuyer_v1_4`
|
4
|
+
* Updated `androidmanagement_v1`
|
5
|
+
* Updated `books_v1`
|
6
|
+
* Updated `cloudbuild_v1`
|
7
|
+
* Updated `cloudiot_v1`
|
8
|
+
* Updated `compute_alpha`
|
9
|
+
* Updated `compute_beta`
|
10
|
+
* Updated `compute_v1`
|
11
|
+
|
12
|
+
# 0.23.7
|
13
|
+
* Backwards compatible changes:
|
14
|
+
* Make dependency on signet explicit and with correct version
|
15
|
+
|
1
16
|
# 0.23.6
|
2
17
|
* Backwards compatible changes:
|
3
18
|
* Added `jobs_v3`
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/ad-exchange/buyer-rest
|
27
27
|
module AdexchangebuyerV1_4
|
28
28
|
VERSION = 'V1_4'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180823'
|
30
30
|
|
31
31
|
# Manage your Ad Exchange buyer account configuration
|
32
32
|
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
@@ -542,6 +542,18 @@ module Google
|
|
542
542
|
# @return [Array<Google::Apis::AdexchangebuyerV1_4::Creative::Correction>]
|
543
543
|
attr_accessor :corrections
|
544
544
|
|
545
|
+
# Creative status identity type that the creative item applies to. Ad Exchange
|
546
|
+
# real-time bidding is migrating to the sizeless creative verification.
|
547
|
+
# Originally, Ad Exchange assigned creative verification status to a unique
|
548
|
+
# combination of a buyer creative ID and creative dimensions. Post-migration, a
|
549
|
+
# single verification status will be assigned at the buyer creative ID level.
|
550
|
+
# This field allows to distinguish whether a given creative status applies to a
|
551
|
+
# unique combination of a buyer creative ID and creative dimensions, or to a
|
552
|
+
# buyer creative ID as a whole.
|
553
|
+
# Corresponds to the JSON property `creativeStatusIdentityType`
|
554
|
+
# @return [String]
|
555
|
+
attr_accessor :creative_status_identity_type
|
556
|
+
|
545
557
|
# Top-level deals status. Read-only. This field should not be set in requests.
|
546
558
|
# If disapproved, an entry for auctionType=DIRECT_DEALS (or ALL) in
|
547
559
|
# servingRestrictions will also exist. Note that this may be nuanced with other
|
@@ -677,6 +689,7 @@ module Google
|
|
677
689
|
@buyer_creative_id = args[:buyer_creative_id] if args.key?(:buyer_creative_id)
|
678
690
|
@click_through_url = args[:click_through_url] if args.key?(:click_through_url)
|
679
691
|
@corrections = args[:corrections] if args.key?(:corrections)
|
692
|
+
@creative_status_identity_type = args[:creative_status_identity_type] if args.key?(:creative_status_identity_type)
|
680
693
|
@deals_status = args[:deals_status] if args.key?(:deals_status)
|
681
694
|
@detected_domains = args[:detected_domains] if args.key?(:detected_domains)
|
682
695
|
@filtering_reasons = args[:filtering_reasons] if args.key?(:filtering_reasons)
|
@@ -3172,11 +3185,6 @@ module Google
|
|
3172
3185
|
class PublisherProfileApiProto
|
3173
3186
|
include Google::Apis::Core::Hashable
|
3174
3187
|
|
3175
|
-
# Deprecated: use the seller.account_id. The account id of the seller.
|
3176
|
-
# Corresponds to the JSON property `accountId`
|
3177
|
-
# @return [String]
|
3178
|
-
attr_accessor :account_id
|
3179
|
-
|
3180
3188
|
# Publisher provided info on its audience.
|
3181
3189
|
# Corresponds to the JSON property `audience`
|
3182
3190
|
# @return [String]
|
@@ -3299,7 +3307,6 @@ module Google
|
|
3299
3307
|
|
3300
3308
|
# Update properties of this object
|
3301
3309
|
def update!(**args)
|
3302
|
-
@account_id = args[:account_id] if args.key?(:account_id)
|
3303
3310
|
@audience = args[:audience] if args.key?(:audience)
|
3304
3311
|
@buyer_pitch_statement = args[:buyer_pitch_statement] if args.key?(:buyer_pitch_statement)
|
3305
3312
|
@direct_contact = args[:direct_contact] if args.key?(:direct_contact)
|
@@ -645,6 +645,7 @@ module Google
|
|
645
645
|
collection :click_through_url, as: 'clickThroughUrl'
|
646
646
|
collection :corrections, as: 'corrections', class: Google::Apis::AdexchangebuyerV1_4::Creative::Correction, decorator: Google::Apis::AdexchangebuyerV1_4::Creative::Correction::Representation
|
647
647
|
|
648
|
+
property :creative_status_identity_type, as: 'creativeStatusIdentityType'
|
648
649
|
property :deals_status, as: 'dealsStatus'
|
649
650
|
collection :detected_domains, as: 'detectedDomains'
|
650
651
|
property :filtering_reasons, as: 'filteringReasons', class: Google::Apis::AdexchangebuyerV1_4::Creative::FilteringReasons, decorator: Google::Apis::AdexchangebuyerV1_4::Creative::FilteringReasons::Representation
|
@@ -1320,7 +1321,6 @@ module Google
|
|
1320
1321
|
class PublisherProfileApiProto
|
1321
1322
|
# @private
|
1322
1323
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1323
|
-
property :account_id, as: 'accountId'
|
1324
1324
|
property :audience, as: 'audience'
|
1325
1325
|
property :buyer_pitch_statement, as: 'buyerPitchStatement'
|
1326
1326
|
property :direct_contact, as: 'directContact'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/android/management
|
27
27
|
module AndroidmanagementV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180820'
|
30
30
|
|
31
31
|
# Manage Android devices and apps for your customers
|
32
32
|
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
|
@@ -655,6 +655,11 @@ module Google
|
|
655
655
|
# @return [String]
|
656
656
|
attr_accessor :state
|
657
657
|
|
658
|
+
# A user belonging to an enterprise.
|
659
|
+
# Corresponds to the JSON property `user`
|
660
|
+
# @return [Google::Apis::AndroidmanagementV1::User]
|
661
|
+
attr_accessor :user
|
662
|
+
|
658
663
|
# The resource name of the user that owns this device in the form enterprises/`
|
659
664
|
# enterpriseId`/users/`userId`.
|
660
665
|
# Corresponds to the JSON property `userName`
|
@@ -695,6 +700,7 @@ module Google
|
|
695
700
|
@previous_device_names = args[:previous_device_names] if args.key?(:previous_device_names)
|
696
701
|
@software_info = args[:software_info] if args.key?(:software_info)
|
697
702
|
@state = args[:state] if args.key?(:state)
|
703
|
+
@user = args[:user] if args.key?(:user)
|
698
704
|
@user_name = args[:user_name] if args.key?(:user_name)
|
699
705
|
end
|
700
706
|
end
|
@@ -894,6 +900,11 @@ module Google
|
|
894
900
|
# @return [String]
|
895
901
|
attr_accessor :qr_code
|
896
902
|
|
903
|
+
# A user belonging to an enterprise.
|
904
|
+
# Corresponds to the JSON property `user`
|
905
|
+
# @return [Google::Apis::AndroidmanagementV1::User]
|
906
|
+
attr_accessor :user
|
907
|
+
|
897
908
|
# The token value that's passed to the device and authorizes the device to
|
898
909
|
# enroll. This is a read-only field generated by the server.
|
899
910
|
# Corresponds to the JSON property `value`
|
@@ -913,6 +924,7 @@ module Google
|
|
913
924
|
@one_time_only = args[:one_time_only] if args.key?(:one_time_only)
|
914
925
|
@policy_name = args[:policy_name] if args.key?(:policy_name)
|
915
926
|
@qr_code = args[:qr_code] if args.key?(:qr_code)
|
927
|
+
@user = args[:user] if args.key?(:user)
|
916
928
|
@value = args[:value] if args.key?(:value)
|
917
929
|
end
|
918
930
|
end
|
@@ -2102,6 +2114,12 @@ module Google
|
|
2102
2114
|
# @return [Array<Google::Apis::AndroidmanagementV1::PersistentPreferredActivity>]
|
2103
2115
|
attr_accessor :persistent_preferred_activities
|
2104
2116
|
|
2117
|
+
# This mode controls which apps are available to the user in the Play Store and
|
2118
|
+
# the behavior on the device when apps are removed from the policy.
|
2119
|
+
# Corresponds to the JSON property `playStoreMode`
|
2120
|
+
# @return [String]
|
2121
|
+
attr_accessor :play_store_mode
|
2122
|
+
|
2105
2123
|
# Allows showing UI on a device for a user to choose a private key alias if
|
2106
2124
|
# there are no matching rules in ChoosePrivateKeyRules. For devices below
|
2107
2125
|
# Android P, setting this may leave enterprise keys vulnerable.
|
@@ -2305,6 +2323,7 @@ module Google
|
|
2305
2323
|
@permission_grants = args[:permission_grants] if args.key?(:permission_grants)
|
2306
2324
|
@permitted_input_methods = args[:permitted_input_methods] if args.key?(:permitted_input_methods)
|
2307
2325
|
@persistent_preferred_activities = args[:persistent_preferred_activities] if args.key?(:persistent_preferred_activities)
|
2326
|
+
@play_store_mode = args[:play_store_mode] if args.key?(:play_store_mode)
|
2308
2327
|
@private_key_selection_enabled = args[:private_key_selection_enabled] if args.key?(:private_key_selection_enabled)
|
2309
2328
|
@recommended_global_proxy = args[:recommended_global_proxy] if args.key?(:recommended_global_proxy)
|
2310
2329
|
@remove_user_disabled = args[:remove_user_disabled] if args.key?(:remove_user_disabled)
|
@@ -2707,6 +2726,29 @@ module Google
|
|
2707
2726
|
end
|
2708
2727
|
end
|
2709
2728
|
|
2729
|
+
# A user belonging to an enterprise.
|
2730
|
+
class User
|
2731
|
+
include Google::Apis::Core::Hashable
|
2732
|
+
|
2733
|
+
# A unique identifier you create for this user, such as user342 or asset#44418.
|
2734
|
+
# This field must be set when the user is created and can't be updated. This
|
2735
|
+
# field must not contain personally identifiable information (PII). This
|
2736
|
+
# identifier must be 1024 characters or less; otherwise, the update policy
|
2737
|
+
# request will fail.
|
2738
|
+
# Corresponds to the JSON property `accountIdentifier`
|
2739
|
+
# @return [String]
|
2740
|
+
attr_accessor :account_identifier
|
2741
|
+
|
2742
|
+
def initialize(**args)
|
2743
|
+
update!(**args)
|
2744
|
+
end
|
2745
|
+
|
2746
|
+
# Update properties of this object
|
2747
|
+
def update!(**args)
|
2748
|
+
@account_identifier = args[:account_identifier] if args.key?(:account_identifier)
|
2749
|
+
end
|
2750
|
+
end
|
2751
|
+
|
2710
2752
|
# Provides a user-facing message with locale info. The maximum message length is
|
2711
2753
|
# 4096 characters.
|
2712
2754
|
class UserFacingMessage
|
@@ -280,6 +280,12 @@ module Google
|
|
280
280
|
include Google::Apis::Core::JsonObjectSupport
|
281
281
|
end
|
282
282
|
|
283
|
+
class User
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
283
289
|
class UserFacingMessage
|
284
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
291
|
|
@@ -446,6 +452,8 @@ module Google
|
|
446
452
|
property :software_info, as: 'softwareInfo', class: Google::Apis::AndroidmanagementV1::SoftwareInfo, decorator: Google::Apis::AndroidmanagementV1::SoftwareInfo::Representation
|
447
453
|
|
448
454
|
property :state, as: 'state'
|
455
|
+
property :user, as: 'user', class: Google::Apis::AndroidmanagementV1::User, decorator: Google::Apis::AndroidmanagementV1::User::Representation
|
456
|
+
|
449
457
|
property :user_name, as: 'userName'
|
450
458
|
end
|
451
459
|
end
|
@@ -492,6 +500,8 @@ module Google
|
|
492
500
|
property :one_time_only, as: 'oneTimeOnly'
|
493
501
|
property :policy_name, as: 'policyName'
|
494
502
|
property :qr_code, as: 'qrCode'
|
503
|
+
property :user, as: 'user', class: Google::Apis::AndroidmanagementV1::User, decorator: Google::Apis::AndroidmanagementV1::User::Representation
|
504
|
+
|
495
505
|
property :value, as: 'value'
|
496
506
|
end
|
497
507
|
end
|
@@ -765,6 +775,7 @@ module Google
|
|
765
775
|
|
766
776
|
collection :persistent_preferred_activities, as: 'persistentPreferredActivities', class: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity, decorator: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity::Representation
|
767
777
|
|
778
|
+
property :play_store_mode, as: 'playStoreMode'
|
768
779
|
property :private_key_selection_enabled, as: 'privateKeySelectionEnabled'
|
769
780
|
property :recommended_global_proxy, as: 'recommendedGlobalProxy', class: Google::Apis::AndroidmanagementV1::ProxyInfo, decorator: Google::Apis::AndroidmanagementV1::ProxyInfo::Representation
|
770
781
|
|
@@ -881,6 +892,13 @@ module Google
|
|
881
892
|
end
|
882
893
|
end
|
883
894
|
|
895
|
+
class User
|
896
|
+
# @private
|
897
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
898
|
+
property :account_identifier, as: 'accountIdentifier'
|
899
|
+
end
|
900
|
+
end
|
901
|
+
|
884
902
|
class UserFacingMessage
|
885
903
|
# @private
|
886
904
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3662,6 +3662,12 @@ module Google
|
|
3662
3662
|
# @return [Array<String>]
|
3663
3663
|
attr_accessor :categories
|
3664
3664
|
|
3665
|
+
# Whether the volume has comics content.
|
3666
|
+
# Corresponds to the JSON property `comicsContent`
|
3667
|
+
# @return [Boolean]
|
3668
|
+
attr_accessor :comics_content
|
3669
|
+
alias_method :comics_content?, :comics_content
|
3670
|
+
|
3665
3671
|
# An identifier for the version of the volume content (text & images). (In LITE
|
3666
3672
|
# projection)
|
3667
3673
|
# Corresponds to the JSON property `contentVersion`
|
@@ -3790,6 +3796,7 @@ module Google
|
|
3790
3796
|
@average_rating = args[:average_rating] if args.key?(:average_rating)
|
3791
3797
|
@canonical_volume_link = args[:canonical_volume_link] if args.key?(:canonical_volume_link)
|
3792
3798
|
@categories = args[:categories] if args.key?(:categories)
|
3799
|
+
@comics_content = args[:comics_content] if args.key?(:comics_content)
|
3793
3800
|
@content_version = args[:content_version] if args.key?(:content_version)
|
3794
3801
|
@description = args[:description] if args.key?(:description)
|
3795
3802
|
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
@@ -1706,6 +1706,7 @@ module Google
|
|
1706
1706
|
property :average_rating, as: 'averageRating'
|
1707
1707
|
property :canonical_volume_link, as: 'canonicalVolumeLink'
|
1708
1708
|
collection :categories, as: 'categories'
|
1709
|
+
property :comics_content, as: 'comicsContent'
|
1709
1710
|
property :content_version, as: 'contentVersion'
|
1710
1711
|
property :description, as: 'description'
|
1711
1712
|
property :dimensions, as: 'dimensions', class: Google::Apis::BooksV1::Volume::VolumeInfo::Dimensions, decorator: Google::Apis::BooksV1::Volume::VolumeInfo::Dimensions::Representation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/cloud-build/docs/
|
26
26
|
module CloudbuildV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180826'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/iot
|
27
27
|
module CloudiotV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180822'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -187,12 +187,12 @@ module Google
|
|
187
187
|
# @param [Fixnum] page_size
|
188
188
|
# The maximum number of registries to return in the response. If this value
|
189
189
|
# is zero, the service will select a default size. A call may return fewer
|
190
|
-
# objects than requested
|
191
|
-
# indicates that more
|
190
|
+
# objects than requested. A non-empty `next_page_token` in the response
|
191
|
+
# indicates that more data is available.
|
192
192
|
# @param [String] page_token
|
193
193
|
# The value returned by the last `ListDeviceRegistriesResponse`; indicates
|
194
|
-
# that this is a continuation of a prior `ListDeviceRegistries` call
|
195
|
-
#
|
194
|
+
# that this is a continuation of a prior `ListDeviceRegistries` call and
|
195
|
+
# the system should return the next page of data.
|
196
196
|
# @param [String] fields
|
197
197
|
# Selector specifying which fields to include in a partial response.
|
198
198
|
# @param [String] quota_user
|
@@ -442,25 +442,24 @@ module Google
|
|
442
442
|
# The device registry path. Required. For example,
|
443
443
|
# `projects/my-project/locations/us-central1/registries/my-registry`.
|
444
444
|
# @param [Array<String>, String] device_ids
|
445
|
-
# A list of device string
|
446
|
-
#
|
447
|
-
# 10,000 entries.
|
445
|
+
# A list of device string IDs. For example, `['device0', 'device12']`.
|
446
|
+
# If empty, this field is ignored. Maximum IDs: 10,000
|
448
447
|
# @param [Array<Fixnum>, Fixnum] device_num_ids
|
449
|
-
# A list of device
|
450
|
-
#
|
448
|
+
# A list of device numeric IDs. If empty, this field is ignored. Maximum
|
449
|
+
# IDs: 10,000.
|
451
450
|
# @param [String] field_mask
|
452
451
|
# The fields of the `Device` resource to be returned in the response. The
|
453
|
-
# fields `id
|
452
|
+
# fields `id` and `num_id` are always returned, along with any
|
454
453
|
# other fields specified.
|
455
454
|
# @param [Fixnum] page_size
|
456
455
|
# The maximum number of devices to return in the response. If this value
|
457
456
|
# is zero, the service will select a default size. A call may return fewer
|
458
|
-
# objects than requested
|
459
|
-
# indicates that more
|
457
|
+
# objects than requested. A non-empty `next_page_token` in the response
|
458
|
+
# indicates that more data is available.
|
460
459
|
# @param [String] page_token
|
461
460
|
# The value returned by the last `ListDevicesResponse`; indicates
|
462
|
-
# that this is a continuation of a prior `ListDevices` call
|
463
|
-
#
|
461
|
+
# that this is a continuation of a prior `ListDevices` call and
|
462
|
+
# the system should return the next page of data.
|
464
463
|
# @param [String] fields
|
465
464
|
# Selector specifying which fields to include in a partial response.
|
466
465
|
# @param [String] quota_user
|
@@ -797,25 +796,24 @@ module Google
|
|
797
796
|
# The device registry path. Required. For example,
|
798
797
|
# `projects/my-project/locations/us-central1/registries/my-registry`.
|
799
798
|
# @param [Array<String>, String] device_ids
|
800
|
-
# A list of device string
|
801
|
-
#
|
802
|
-
# 10,000 entries.
|
799
|
+
# A list of device string IDs. For example, `['device0', 'device12']`.
|
800
|
+
# If empty, this field is ignored. Maximum IDs: 10,000
|
803
801
|
# @param [Array<Fixnum>, Fixnum] device_num_ids
|
804
|
-
# A list of device
|
805
|
-
#
|
802
|
+
# A list of device numeric IDs. If empty, this field is ignored. Maximum
|
803
|
+
# IDs: 10,000.
|
806
804
|
# @param [String] field_mask
|
807
805
|
# The fields of the `Device` resource to be returned in the response. The
|
808
|
-
# fields `id
|
806
|
+
# fields `id` and `num_id` are always returned, along with any
|
809
807
|
# other fields specified.
|
810
808
|
# @param [Fixnum] page_size
|
811
809
|
# The maximum number of devices to return in the response. If this value
|
812
810
|
# is zero, the service will select a default size. A call may return fewer
|
813
|
-
# objects than requested
|
814
|
-
# indicates that more
|
811
|
+
# objects than requested. A non-empty `next_page_token` in the response
|
812
|
+
# indicates that more data is available.
|
815
813
|
# @param [String] page_token
|
816
814
|
# The value returned by the last `ListDevicesResponse`; indicates
|
817
|
-
# that this is a continuation of a prior `ListDevices` call
|
818
|
-
#
|
815
|
+
# that this is a continuation of a prior `ListDevices` call and
|
816
|
+
# the system should return the next page of data.
|
819
817
|
# @param [String] fields
|
820
818
|
# Selector specifying which fields to include in a partial response.
|
821
819
|
# @param [String] quota_user
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeAlpha
|
27
27
|
VERSION = 'Alpha'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180817'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1740,6 +1740,11 @@ module Google
|
|
1740
1740
|
class AttachedDiskInitializeParams
|
1741
1741
|
include Google::Apis::Core::Hashable
|
1742
1742
|
|
1743
|
+
# An optional description. Provide this property when creating the disk.
|
1744
|
+
# Corresponds to the JSON property `description`
|
1745
|
+
# @return [String]
|
1746
|
+
attr_accessor :description
|
1747
|
+
|
1743
1748
|
# Specifies the disk name. If not specified, the default is to use the name of
|
1744
1749
|
# the instance. If the disk with the instance name exists already in the given
|
1745
1750
|
# zone/region, a new name will be automatically generated.
|
@@ -1752,11 +1757,6 @@ module Google
|
|
1752
1757
|
# @return [Fixnum]
|
1753
1758
|
attr_accessor :disk_size_gb
|
1754
1759
|
|
1755
|
-
# [Deprecated] Storage type of the disk.
|
1756
|
-
# Corresponds to the JSON property `diskStorageType`
|
1757
|
-
# @return [String]
|
1758
|
-
attr_accessor :disk_storage_type
|
1759
|
-
|
1760
1760
|
# Specifies the disk type to use to create the instance. If not specified, the
|
1761
1761
|
# default is pd-standard, specified using the full URL. For example:
|
1762
1762
|
# https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/pd-
|
@@ -1826,9 +1826,9 @@ module Google
|
|
1826
1826
|
|
1827
1827
|
# Update properties of this object
|
1828
1828
|
def update!(**args)
|
1829
|
+
@description = args[:description] if args.key?(:description)
|
1829
1830
|
@disk_name = args[:disk_name] if args.key?(:disk_name)
|
1830
1831
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
1831
|
-
@disk_storage_type = args[:disk_storage_type] if args.key?(:disk_storage_type)
|
1832
1832
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
1833
1833
|
@labels = args[:labels] if args.key?(:labels)
|
1834
1834
|
@source_image = args[:source_image] if args.key?(:source_image)
|
@@ -3976,6 +3976,11 @@ module Google
|
|
3976
3976
|
class Commitment
|
3977
3977
|
include Google::Apis::Core::Hashable
|
3978
3978
|
|
3979
|
+
# List of allocations for this commitment.
|
3980
|
+
# Corresponds to the JSON property `allocations`
|
3981
|
+
# @return [Array<Google::Apis::ComputeAlpha::Allocation>]
|
3982
|
+
attr_accessor :allocations
|
3983
|
+
|
3979
3984
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
3980
3985
|
# Corresponds to the JSON property `creationTimestamp`
|
3981
3986
|
# @return [String]
|
@@ -4066,6 +4071,7 @@ module Google
|
|
4066
4071
|
|
4067
4072
|
# Update properties of this object
|
4068
4073
|
def update!(**args)
|
4074
|
+
@allocations = args[:allocations] if args.key?(:allocations)
|
4069
4075
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
4070
4076
|
@description = args[:description] if args.key?(:description)
|
4071
4077
|
@end_timestamp = args[:end_timestamp] if args.key?(:end_timestamp)
|
@@ -6299,6 +6305,15 @@ module Google
|
|
6299
6305
|
attr_accessor :all_ports
|
6300
6306
|
alias_method :all_ports?, :all_ports
|
6301
6307
|
|
6308
|
+
# This field is used along with the backend_service field for internal load
|
6309
|
+
# balancing or with the target field for internal TargetInstance. If the field
|
6310
|
+
# is set to TRUE, clients can access ILB from all regions. Otherwise only allows
|
6311
|
+
# access from clients in the same region as the internal load balancer.
|
6312
|
+
# Corresponds to the JSON property `allowGlobalAccess`
|
6313
|
+
# @return [Boolean]
|
6314
|
+
attr_accessor :allow_global_access
|
6315
|
+
alias_method :allow_global_access?, :allow_global_access
|
6316
|
+
|
6302
6317
|
# This field is only used for INTERNAL load balancing.
|
6303
6318
|
# For internal load balancing, this field identifies the BackendService resource
|
6304
6319
|
# to receive the matched traffic.
|
@@ -6494,6 +6509,7 @@ module Google
|
|
6494
6509
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
6495
6510
|
@ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol)
|
6496
6511
|
@all_ports = args[:all_ports] if args.key?(:all_ports)
|
6512
|
+
@allow_global_access = args[:allow_global_access] if args.key?(:allow_global_access)
|
6497
6513
|
@backend_service = args[:backend_service] if args.key?(:backend_service)
|
6498
6514
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
6499
6515
|
@description = args[:description] if args.key?(:description)
|
@@ -7842,34 +7858,39 @@ module Google
|
|
7842
7858
|
end
|
7843
7859
|
end
|
7844
7860
|
|
7845
|
-
#
|
7846
|
-
|
7861
|
+
# An HttpHealthCheck resource. This resource defines a template for how
|
7862
|
+
# individual instances should be checked for health, via HTTP.
|
7863
|
+
class HttpHealthCheck
|
7847
7864
|
include Google::Apis::Core::Hashable
|
7848
7865
|
|
7849
|
-
#
|
7850
|
-
# Corresponds to the JSON property `
|
7851
|
-
# @return [
|
7852
|
-
attr_accessor :
|
7866
|
+
# How often (in seconds) to send a health check. The default value is 5 seconds.
|
7867
|
+
# Corresponds to the JSON property `checkIntervalSec`
|
7868
|
+
# @return [Fixnum]
|
7869
|
+
attr_accessor :check_interval_sec
|
7853
7870
|
|
7854
7871
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
7855
7872
|
# Corresponds to the JSON property `creationTimestamp`
|
7856
7873
|
# @return [String]
|
7857
7874
|
attr_accessor :creation_timestamp
|
7858
7875
|
|
7859
|
-
#
|
7860
|
-
#
|
7861
|
-
# @return [Google::Apis::ComputeAlpha::DeprecationStatus]
|
7862
|
-
attr_accessor :deprecated
|
7863
|
-
|
7864
|
-
# [Output Only] An optional textual description of the resource.
|
7876
|
+
# An optional description of this resource. Provide this property when you
|
7877
|
+
# create the resource.
|
7865
7878
|
# Corresponds to the JSON property `description`
|
7866
7879
|
# @return [String]
|
7867
7880
|
attr_accessor :description
|
7868
7881
|
|
7869
|
-
#
|
7870
|
-
#
|
7882
|
+
# A so-far unhealthy instance will be marked healthy after this many consecutive
|
7883
|
+
# successes. The default value is 2.
|
7884
|
+
# Corresponds to the JSON property `healthyThreshold`
|
7871
7885
|
# @return [Fixnum]
|
7872
|
-
attr_accessor :
|
7886
|
+
attr_accessor :healthy_threshold
|
7887
|
+
|
7888
|
+
# The value of the host header in the HTTP health check request. If left empty (
|
7889
|
+
# default value), the public IP on behalf of which this health check is
|
7890
|
+
# performed will be used.
|
7891
|
+
# Corresponds to the JSON property `host`
|
7892
|
+
# @return [String]
|
7893
|
+
attr_accessor :host
|
7873
7894
|
|
7874
7895
|
# [Output Only] The unique identifier for the resource. This identifier is
|
7875
7896
|
# defined by the server.
|
@@ -7877,37 +7898,49 @@ module Google
|
|
7877
7898
|
# @return [Fixnum]
|
7878
7899
|
attr_accessor :id
|
7879
7900
|
|
7880
|
-
# [Output Only]
|
7901
|
+
# [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP
|
7902
|
+
# health checks.
|
7881
7903
|
# Corresponds to the JSON property `kind`
|
7882
7904
|
# @return [String]
|
7883
7905
|
attr_accessor :kind
|
7884
7906
|
|
7885
|
-
#
|
7886
|
-
#
|
7887
|
-
#
|
7888
|
-
|
7907
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
7908
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
7909
|
+
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
7910
|
+
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
7911
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
7912
|
+
# except the last character, which cannot be a dash.
|
7913
|
+
# Corresponds to the JSON property `name`
|
7914
|
+
# @return [String]
|
7915
|
+
attr_accessor :name
|
7889
7916
|
|
7890
|
-
#
|
7891
|
-
#
|
7892
|
-
# Corresponds to the JSON property `memoryMb`
|
7917
|
+
# The TCP port number for the HTTP health check request. The default value is 80.
|
7918
|
+
# Corresponds to the JSON property `port`
|
7893
7919
|
# @return [Fixnum]
|
7894
|
-
attr_accessor :
|
7920
|
+
attr_accessor :port
|
7895
7921
|
|
7896
|
-
#
|
7897
|
-
# Corresponds to the JSON property `
|
7922
|
+
# The request path of the HTTP health check request. The default value is /.
|
7923
|
+
# Corresponds to the JSON property `requestPath`
|
7898
7924
|
# @return [String]
|
7899
|
-
attr_accessor :
|
7925
|
+
attr_accessor :request_path
|
7900
7926
|
|
7901
7927
|
# [Output Only] Server-defined URL for the resource.
|
7902
7928
|
# Corresponds to the JSON property `selfLink`
|
7903
7929
|
# @return [String]
|
7904
7930
|
attr_accessor :self_link
|
7905
7931
|
|
7906
|
-
#
|
7907
|
-
#
|
7908
|
-
#
|
7909
|
-
#
|
7910
|
-
|
7932
|
+
# How long (in seconds) to wait before claiming failure. The default value is 5
|
7933
|
+
# seconds. It is invalid for timeoutSec to have greater value than
|
7934
|
+
# checkIntervalSec.
|
7935
|
+
# Corresponds to the JSON property `timeoutSec`
|
7936
|
+
# @return [Fixnum]
|
7937
|
+
attr_accessor :timeout_sec
|
7938
|
+
|
7939
|
+
# A so-far healthy instance will be marked unhealthy after this many consecutive
|
7940
|
+
# failures. The default value is 2.
|
7941
|
+
# Corresponds to the JSON property `unhealthyThreshold`
|
7942
|
+
# @return [Fixnum]
|
7943
|
+
attr_accessor :unhealthy_threshold
|
7911
7944
|
|
7912
7945
|
def initialize(**args)
|
7913
7946
|
update!(**args)
|
@@ -7915,23 +7948,24 @@ module Google
|
|
7915
7948
|
|
7916
7949
|
# Update properties of this object
|
7917
7950
|
def update!(**args)
|
7918
|
-
@
|
7951
|
+
@check_interval_sec = args[:check_interval_sec] if args.key?(:check_interval_sec)
|
7919
7952
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
7920
|
-
@deprecated = args[:deprecated] if args.key?(:deprecated)
|
7921
7953
|
@description = args[:description] if args.key?(:description)
|
7922
|
-
@
|
7954
|
+
@healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
|
7955
|
+
@host = args[:host] if args.key?(:host)
|
7923
7956
|
@id = args[:id] if args.key?(:id)
|
7924
7957
|
@kind = args[:kind] if args.key?(:kind)
|
7925
|
-
@local_ssd_gb = args[:local_ssd_gb] if args.key?(:local_ssd_gb)
|
7926
|
-
@memory_mb = args[:memory_mb] if args.key?(:memory_mb)
|
7927
7958
|
@name = args[:name] if args.key?(:name)
|
7959
|
+
@port = args[:port] if args.key?(:port)
|
7960
|
+
@request_path = args[:request_path] if args.key?(:request_path)
|
7928
7961
|
@self_link = args[:self_link] if args.key?(:self_link)
|
7929
|
-
@
|
7962
|
+
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
7963
|
+
@unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold)
|
7930
7964
|
end
|
7931
7965
|
end
|
7932
7966
|
|
7933
|
-
#
|
7934
|
-
class
|
7967
|
+
# Contains a list of HttpHealthCheck resources.
|
7968
|
+
class HttpHealthCheckList
|
7935
7969
|
include Google::Apis::Core::Hashable
|
7936
7970
|
|
7937
7971
|
# [Output Only] Unique identifier for the resource; defined by the server.
|
@@ -7939,13 +7973,12 @@ module Google
|
|
7939
7973
|
# @return [String]
|
7940
7974
|
attr_accessor :id
|
7941
7975
|
|
7942
|
-
# A list of
|
7976
|
+
# A list of HttpHealthCheck resources.
|
7943
7977
|
# Corresponds to the JSON property `items`
|
7944
|
-
# @return [
|
7978
|
+
# @return [Array<Google::Apis::ComputeAlpha::HttpHealthCheck>]
|
7945
7979
|
attr_accessor :items
|
7946
7980
|
|
7947
|
-
#
|
7948
|
-
# aggregated lists of host types.
|
7981
|
+
# Type of resource.
|
7949
7982
|
# Corresponds to the JSON property `kind`
|
7950
7983
|
# @return [String]
|
7951
7984
|
attr_accessor :kind
|
@@ -7966,7 +7999,7 @@ module Google
|
|
7966
7999
|
|
7967
8000
|
# [Output Only] Informational warning message.
|
7968
8001
|
# Corresponds to the JSON property `warning`
|
7969
|
-
# @return [Google::Apis::ComputeAlpha::
|
8002
|
+
# @return [Google::Apis::ComputeAlpha::HttpHealthCheckList::Warning]
|
7970
8003
|
attr_accessor :warning
|
7971
8004
|
|
7972
8005
|
def initialize(**args)
|
@@ -7996,7 +8029,7 @@ module Google
|
|
7996
8029
|
# [Output Only] Metadata about this warning in key: value format. For example:
|
7997
8030
|
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
7998
8031
|
# Corresponds to the JSON property `data`
|
7999
|
-
# @return [Array<Google::Apis::ComputeAlpha::
|
8032
|
+
# @return [Array<Google::Apis::ComputeAlpha::HttpHealthCheckList::Warning::Datum>]
|
8000
8033
|
attr_accessor :data
|
8001
8034
|
|
8002
8035
|
# [Output Only] A human-readable description of the warning code.
|
@@ -8048,8 +8081,114 @@ module Google
|
|
8048
8081
|
end
|
8049
8082
|
end
|
8050
8083
|
|
8051
|
-
#
|
8052
|
-
|
8084
|
+
# An HttpsHealthCheck resource. This resource defines a template for how
|
8085
|
+
# individual instances should be checked for health, via HTTPS.
|
8086
|
+
class HttpsHealthCheck
|
8087
|
+
include Google::Apis::Core::Hashable
|
8088
|
+
|
8089
|
+
# How often (in seconds) to send a health check. The default value is 5 seconds.
|
8090
|
+
# Corresponds to the JSON property `checkIntervalSec`
|
8091
|
+
# @return [Fixnum]
|
8092
|
+
attr_accessor :check_interval_sec
|
8093
|
+
|
8094
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
8095
|
+
# Corresponds to the JSON property `creationTimestamp`
|
8096
|
+
# @return [String]
|
8097
|
+
attr_accessor :creation_timestamp
|
8098
|
+
|
8099
|
+
# An optional description of this resource. Provide this property when you
|
8100
|
+
# create the resource.
|
8101
|
+
# Corresponds to the JSON property `description`
|
8102
|
+
# @return [String]
|
8103
|
+
attr_accessor :description
|
8104
|
+
|
8105
|
+
# A so-far unhealthy instance will be marked healthy after this many consecutive
|
8106
|
+
# successes. The default value is 2.
|
8107
|
+
# Corresponds to the JSON property `healthyThreshold`
|
8108
|
+
# @return [Fixnum]
|
8109
|
+
attr_accessor :healthy_threshold
|
8110
|
+
|
8111
|
+
# The value of the host header in the HTTPS health check request. If left empty (
|
8112
|
+
# default value), the public IP on behalf of which this health check is
|
8113
|
+
# performed will be used.
|
8114
|
+
# Corresponds to the JSON property `host`
|
8115
|
+
# @return [String]
|
8116
|
+
attr_accessor :host
|
8117
|
+
|
8118
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
8119
|
+
# defined by the server.
|
8120
|
+
# Corresponds to the JSON property `id`
|
8121
|
+
# @return [Fixnum]
|
8122
|
+
attr_accessor :id
|
8123
|
+
|
8124
|
+
# Type of the resource.
|
8125
|
+
# Corresponds to the JSON property `kind`
|
8126
|
+
# @return [String]
|
8127
|
+
attr_accessor :kind
|
8128
|
+
|
8129
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
8130
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
8131
|
+
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
8132
|
+
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
8133
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
8134
|
+
# except the last character, which cannot be a dash.
|
8135
|
+
# Corresponds to the JSON property `name`
|
8136
|
+
# @return [String]
|
8137
|
+
attr_accessor :name
|
8138
|
+
|
8139
|
+
# The TCP port number for the HTTPS health check request. The default value is
|
8140
|
+
# 443.
|
8141
|
+
# Corresponds to the JSON property `port`
|
8142
|
+
# @return [Fixnum]
|
8143
|
+
attr_accessor :port
|
8144
|
+
|
8145
|
+
# The request path of the HTTPS health check request. The default value is "/".
|
8146
|
+
# Corresponds to the JSON property `requestPath`
|
8147
|
+
# @return [String]
|
8148
|
+
attr_accessor :request_path
|
8149
|
+
|
8150
|
+
# [Output Only] Server-defined URL for the resource.
|
8151
|
+
# Corresponds to the JSON property `selfLink`
|
8152
|
+
# @return [String]
|
8153
|
+
attr_accessor :self_link
|
8154
|
+
|
8155
|
+
# How long (in seconds) to wait before claiming failure. The default value is 5
|
8156
|
+
# seconds. It is invalid for timeoutSec to have a greater value than
|
8157
|
+
# checkIntervalSec.
|
8158
|
+
# Corresponds to the JSON property `timeoutSec`
|
8159
|
+
# @return [Fixnum]
|
8160
|
+
attr_accessor :timeout_sec
|
8161
|
+
|
8162
|
+
# A so-far healthy instance will be marked unhealthy after this many consecutive
|
8163
|
+
# failures. The default value is 2.
|
8164
|
+
# Corresponds to the JSON property `unhealthyThreshold`
|
8165
|
+
# @return [Fixnum]
|
8166
|
+
attr_accessor :unhealthy_threshold
|
8167
|
+
|
8168
|
+
def initialize(**args)
|
8169
|
+
update!(**args)
|
8170
|
+
end
|
8171
|
+
|
8172
|
+
# Update properties of this object
|
8173
|
+
def update!(**args)
|
8174
|
+
@check_interval_sec = args[:check_interval_sec] if args.key?(:check_interval_sec)
|
8175
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
8176
|
+
@description = args[:description] if args.key?(:description)
|
8177
|
+
@healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
|
8178
|
+
@host = args[:host] if args.key?(:host)
|
8179
|
+
@id = args[:id] if args.key?(:id)
|
8180
|
+
@kind = args[:kind] if args.key?(:kind)
|
8181
|
+
@name = args[:name] if args.key?(:name)
|
8182
|
+
@port = args[:port] if args.key?(:port)
|
8183
|
+
@request_path = args[:request_path] if args.key?(:request_path)
|
8184
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
8185
|
+
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
8186
|
+
@unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold)
|
8187
|
+
end
|
8188
|
+
end
|
8189
|
+
|
8190
|
+
# Contains a list of HttpsHealthCheck resources.
|
8191
|
+
class HttpsHealthCheckList
|
8053
8192
|
include Google::Apis::Core::Hashable
|
8054
8193
|
|
8055
8194
|
# [Output Only] Unique identifier for the resource; defined by the server.
|
@@ -8057,13 +8196,12 @@ module Google
|
|
8057
8196
|
# @return [String]
|
8058
8197
|
attr_accessor :id
|
8059
8198
|
|
8060
|
-
# A list of
|
8199
|
+
# A list of HttpsHealthCheck resources.
|
8061
8200
|
# Corresponds to the JSON property `items`
|
8062
|
-
# @return [Array<Google::Apis::ComputeAlpha::
|
8201
|
+
# @return [Array<Google::Apis::ComputeAlpha::HttpsHealthCheck>]
|
8063
8202
|
attr_accessor :items
|
8064
8203
|
|
8065
|
-
#
|
8066
|
-
# types.
|
8204
|
+
# Type of resource.
|
8067
8205
|
# Corresponds to the JSON property `kind`
|
8068
8206
|
# @return [String]
|
8069
8207
|
attr_accessor :kind
|
@@ -8084,7 +8222,7 @@ module Google
|
|
8084
8222
|
|
8085
8223
|
# [Output Only] Informational warning message.
|
8086
8224
|
# Corresponds to the JSON property `warning`
|
8087
|
-
# @return [Google::Apis::ComputeAlpha::
|
8225
|
+
# @return [Google::Apis::ComputeAlpha::HttpsHealthCheckList::Warning]
|
8088
8226
|
attr_accessor :warning
|
8089
8227
|
|
8090
8228
|
def initialize(**args)
|
@@ -8114,7 +8252,7 @@ module Google
|
|
8114
8252
|
# [Output Only] Metadata about this warning in key: value format. For example:
|
8115
8253
|
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
8116
8254
|
# Corresponds to the JSON property `data`
|
8117
|
-
# @return [Array<Google::Apis::ComputeAlpha::
|
8255
|
+
# @return [Array<Google::Apis::ComputeAlpha::HttpsHealthCheckList::Warning::Datum>]
|
8118
8256
|
attr_accessor :data
|
8119
8257
|
|
8120
8258
|
# [Output Only] A human-readable description of the warning code.
|
@@ -8166,562 +8304,25 @@ module Google
|
|
8166
8304
|
end
|
8167
8305
|
end
|
8168
8306
|
|
8169
|
-
#
|
8170
|
-
|
8307
|
+
# An Image resource. (== resource_for beta.images ==) (== resource_for v1.images
|
8308
|
+
# ==)
|
8309
|
+
class Image
|
8171
8310
|
include Google::Apis::Core::Hashable
|
8172
8311
|
|
8173
|
-
#
|
8174
|
-
# Corresponds to the JSON property `
|
8175
|
-
# @return [
|
8176
|
-
attr_accessor :
|
8312
|
+
# Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).
|
8313
|
+
# Corresponds to the JSON property `archiveSizeBytes`
|
8314
|
+
# @return [Fixnum]
|
8315
|
+
attr_accessor :archive_size_bytes
|
8177
8316
|
|
8178
|
-
# [Output Only]
|
8179
|
-
#
|
8180
|
-
#
|
8181
|
-
|
8182
|
-
attr_accessor :warning
|
8317
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
8318
|
+
# Corresponds to the JSON property `creationTimestamp`
|
8319
|
+
# @return [String]
|
8320
|
+
attr_accessor :creation_timestamp
|
8183
8321
|
|
8184
|
-
|
8185
|
-
|
8186
|
-
|
8187
|
-
|
8188
|
-
# Update properties of this object
|
8189
|
-
def update!(**args)
|
8190
|
-
@host_types = args[:host_types] if args.key?(:host_types)
|
8191
|
-
@warning = args[:warning] if args.key?(:warning)
|
8192
|
-
end
|
8193
|
-
|
8194
|
-
# [Output Only] An informational warning that appears when the host types list
|
8195
|
-
# is empty.
|
8196
|
-
class Warning
|
8197
|
-
include Google::Apis::Core::Hashable
|
8198
|
-
|
8199
|
-
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
8200
|
-
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
8201
|
-
# Corresponds to the JSON property `code`
|
8202
|
-
# @return [String]
|
8203
|
-
attr_accessor :code
|
8204
|
-
|
8205
|
-
# [Output Only] Metadata about this warning in key: value format. For example:
|
8206
|
-
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
8207
|
-
# Corresponds to the JSON property `data`
|
8208
|
-
# @return [Array<Google::Apis::ComputeAlpha::HostTypesScopedList::Warning::Datum>]
|
8209
|
-
attr_accessor :data
|
8210
|
-
|
8211
|
-
# [Output Only] A human-readable description of the warning code.
|
8212
|
-
# Corresponds to the JSON property `message`
|
8213
|
-
# @return [String]
|
8214
|
-
attr_accessor :message
|
8215
|
-
|
8216
|
-
def initialize(**args)
|
8217
|
-
update!(**args)
|
8218
|
-
end
|
8219
|
-
|
8220
|
-
# Update properties of this object
|
8221
|
-
def update!(**args)
|
8222
|
-
@code = args[:code] if args.key?(:code)
|
8223
|
-
@data = args[:data] if args.key?(:data)
|
8224
|
-
@message = args[:message] if args.key?(:message)
|
8225
|
-
end
|
8226
|
-
|
8227
|
-
#
|
8228
|
-
class Datum
|
8229
|
-
include Google::Apis::Core::Hashable
|
8230
|
-
|
8231
|
-
# [Output Only] A key that provides more detail on the warning being returned.
|
8232
|
-
# For example, for warnings where there are no results in a list request for a
|
8233
|
-
# particular zone, this key might be scope and the key value might be the zone
|
8234
|
-
# name. Other examples might be a key indicating a deprecated resource and a
|
8235
|
-
# suggested replacement, or a warning about invalid network settings (for
|
8236
|
-
# example, if an instance attempts to perform IP forwarding but is not enabled
|
8237
|
-
# for IP forwarding).
|
8238
|
-
# Corresponds to the JSON property `key`
|
8239
|
-
# @return [String]
|
8240
|
-
attr_accessor :key
|
8241
|
-
|
8242
|
-
# [Output Only] A warning data value corresponding to the key.
|
8243
|
-
# Corresponds to the JSON property `value`
|
8244
|
-
# @return [String]
|
8245
|
-
attr_accessor :value
|
8246
|
-
|
8247
|
-
def initialize(**args)
|
8248
|
-
update!(**args)
|
8249
|
-
end
|
8250
|
-
|
8251
|
-
# Update properties of this object
|
8252
|
-
def update!(**args)
|
8253
|
-
@key = args[:key] if args.key?(:key)
|
8254
|
-
@value = args[:value] if args.key?(:value)
|
8255
|
-
end
|
8256
|
-
end
|
8257
|
-
end
|
8258
|
-
end
|
8259
|
-
|
8260
|
-
# An HttpHealthCheck resource. This resource defines a template for how
|
8261
|
-
# individual instances should be checked for health, via HTTP.
|
8262
|
-
class HttpHealthCheck
|
8263
|
-
include Google::Apis::Core::Hashable
|
8264
|
-
|
8265
|
-
# How often (in seconds) to send a health check. The default value is 5 seconds.
|
8266
|
-
# Corresponds to the JSON property `checkIntervalSec`
|
8267
|
-
# @return [Fixnum]
|
8268
|
-
attr_accessor :check_interval_sec
|
8269
|
-
|
8270
|
-
# [Output Only] Creation timestamp in RFC3339 text format.
|
8271
|
-
# Corresponds to the JSON property `creationTimestamp`
|
8272
|
-
# @return [String]
|
8273
|
-
attr_accessor :creation_timestamp
|
8274
|
-
|
8275
|
-
# An optional description of this resource. Provide this property when you
|
8276
|
-
# create the resource.
|
8277
|
-
# Corresponds to the JSON property `description`
|
8278
|
-
# @return [String]
|
8279
|
-
attr_accessor :description
|
8280
|
-
|
8281
|
-
# A so-far unhealthy instance will be marked healthy after this many consecutive
|
8282
|
-
# successes. The default value is 2.
|
8283
|
-
# Corresponds to the JSON property `healthyThreshold`
|
8284
|
-
# @return [Fixnum]
|
8285
|
-
attr_accessor :healthy_threshold
|
8286
|
-
|
8287
|
-
# The value of the host header in the HTTP health check request. If left empty (
|
8288
|
-
# default value), the public IP on behalf of which this health check is
|
8289
|
-
# performed will be used.
|
8290
|
-
# Corresponds to the JSON property `host`
|
8291
|
-
# @return [String]
|
8292
|
-
attr_accessor :host
|
8293
|
-
|
8294
|
-
# [Output Only] The unique identifier for the resource. This identifier is
|
8295
|
-
# defined by the server.
|
8296
|
-
# Corresponds to the JSON property `id`
|
8297
|
-
# @return [Fixnum]
|
8298
|
-
attr_accessor :id
|
8299
|
-
|
8300
|
-
# [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP
|
8301
|
-
# health checks.
|
8302
|
-
# Corresponds to the JSON property `kind`
|
8303
|
-
# @return [String]
|
8304
|
-
attr_accessor :kind
|
8305
|
-
|
8306
|
-
# Name of the resource. Provided by the client when the resource is created. The
|
8307
|
-
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
8308
|
-
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
8309
|
-
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
8310
|
-
# and all following characters must be a dash, lowercase letter, or digit,
|
8311
|
-
# except the last character, which cannot be a dash.
|
8312
|
-
# Corresponds to the JSON property `name`
|
8313
|
-
# @return [String]
|
8314
|
-
attr_accessor :name
|
8315
|
-
|
8316
|
-
# The TCP port number for the HTTP health check request. The default value is 80.
|
8317
|
-
# Corresponds to the JSON property `port`
|
8318
|
-
# @return [Fixnum]
|
8319
|
-
attr_accessor :port
|
8320
|
-
|
8321
|
-
# The request path of the HTTP health check request. The default value is /.
|
8322
|
-
# Corresponds to the JSON property `requestPath`
|
8323
|
-
# @return [String]
|
8324
|
-
attr_accessor :request_path
|
8325
|
-
|
8326
|
-
# [Output Only] Server-defined URL for the resource.
|
8327
|
-
# Corresponds to the JSON property `selfLink`
|
8328
|
-
# @return [String]
|
8329
|
-
attr_accessor :self_link
|
8330
|
-
|
8331
|
-
# How long (in seconds) to wait before claiming failure. The default value is 5
|
8332
|
-
# seconds. It is invalid for timeoutSec to have greater value than
|
8333
|
-
# checkIntervalSec.
|
8334
|
-
# Corresponds to the JSON property `timeoutSec`
|
8335
|
-
# @return [Fixnum]
|
8336
|
-
attr_accessor :timeout_sec
|
8337
|
-
|
8338
|
-
# A so-far healthy instance will be marked unhealthy after this many consecutive
|
8339
|
-
# failures. The default value is 2.
|
8340
|
-
# Corresponds to the JSON property `unhealthyThreshold`
|
8341
|
-
# @return [Fixnum]
|
8342
|
-
attr_accessor :unhealthy_threshold
|
8343
|
-
|
8344
|
-
def initialize(**args)
|
8345
|
-
update!(**args)
|
8346
|
-
end
|
8347
|
-
|
8348
|
-
# Update properties of this object
|
8349
|
-
def update!(**args)
|
8350
|
-
@check_interval_sec = args[:check_interval_sec] if args.key?(:check_interval_sec)
|
8351
|
-
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
8352
|
-
@description = args[:description] if args.key?(:description)
|
8353
|
-
@healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
|
8354
|
-
@host = args[:host] if args.key?(:host)
|
8355
|
-
@id = args[:id] if args.key?(:id)
|
8356
|
-
@kind = args[:kind] if args.key?(:kind)
|
8357
|
-
@name = args[:name] if args.key?(:name)
|
8358
|
-
@port = args[:port] if args.key?(:port)
|
8359
|
-
@request_path = args[:request_path] if args.key?(:request_path)
|
8360
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
8361
|
-
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
8362
|
-
@unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold)
|
8363
|
-
end
|
8364
|
-
end
|
8365
|
-
|
8366
|
-
# Contains a list of HttpHealthCheck resources.
|
8367
|
-
class HttpHealthCheckList
|
8368
|
-
include Google::Apis::Core::Hashable
|
8369
|
-
|
8370
|
-
# [Output Only] Unique identifier for the resource; defined by the server.
|
8371
|
-
# Corresponds to the JSON property `id`
|
8372
|
-
# @return [String]
|
8373
|
-
attr_accessor :id
|
8374
|
-
|
8375
|
-
# A list of HttpHealthCheck resources.
|
8376
|
-
# Corresponds to the JSON property `items`
|
8377
|
-
# @return [Array<Google::Apis::ComputeAlpha::HttpHealthCheck>]
|
8378
|
-
attr_accessor :items
|
8379
|
-
|
8380
|
-
# Type of resource.
|
8381
|
-
# Corresponds to the JSON property `kind`
|
8382
|
-
# @return [String]
|
8383
|
-
attr_accessor :kind
|
8384
|
-
|
8385
|
-
# [Output Only] This token allows you to get the next page of results for list
|
8386
|
-
# requests. If the number of results is larger than maxResults, use the
|
8387
|
-
# nextPageToken as a value for the query parameter pageToken in the next list
|
8388
|
-
# request. Subsequent list requests will have their own nextPageToken to
|
8389
|
-
# continue paging through the results.
|
8390
|
-
# Corresponds to the JSON property `nextPageToken`
|
8391
|
-
# @return [String]
|
8392
|
-
attr_accessor :next_page_token
|
8393
|
-
|
8394
|
-
# [Output Only] Server-defined URL for this resource.
|
8395
|
-
# Corresponds to the JSON property `selfLink`
|
8396
|
-
# @return [String]
|
8397
|
-
attr_accessor :self_link
|
8398
|
-
|
8399
|
-
# [Output Only] Informational warning message.
|
8400
|
-
# Corresponds to the JSON property `warning`
|
8401
|
-
# @return [Google::Apis::ComputeAlpha::HttpHealthCheckList::Warning]
|
8402
|
-
attr_accessor :warning
|
8403
|
-
|
8404
|
-
def initialize(**args)
|
8405
|
-
update!(**args)
|
8406
|
-
end
|
8407
|
-
|
8408
|
-
# Update properties of this object
|
8409
|
-
def update!(**args)
|
8410
|
-
@id = args[:id] if args.key?(:id)
|
8411
|
-
@items = args[:items] if args.key?(:items)
|
8412
|
-
@kind = args[:kind] if args.key?(:kind)
|
8413
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
8414
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
8415
|
-
@warning = args[:warning] if args.key?(:warning)
|
8416
|
-
end
|
8417
|
-
|
8418
|
-
# [Output Only] Informational warning message.
|
8419
|
-
class Warning
|
8420
|
-
include Google::Apis::Core::Hashable
|
8421
|
-
|
8422
|
-
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
8423
|
-
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
8424
|
-
# Corresponds to the JSON property `code`
|
8425
|
-
# @return [String]
|
8426
|
-
attr_accessor :code
|
8427
|
-
|
8428
|
-
# [Output Only] Metadata about this warning in key: value format. For example:
|
8429
|
-
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
8430
|
-
# Corresponds to the JSON property `data`
|
8431
|
-
# @return [Array<Google::Apis::ComputeAlpha::HttpHealthCheckList::Warning::Datum>]
|
8432
|
-
attr_accessor :data
|
8433
|
-
|
8434
|
-
# [Output Only] A human-readable description of the warning code.
|
8435
|
-
# Corresponds to the JSON property `message`
|
8436
|
-
# @return [String]
|
8437
|
-
attr_accessor :message
|
8438
|
-
|
8439
|
-
def initialize(**args)
|
8440
|
-
update!(**args)
|
8441
|
-
end
|
8442
|
-
|
8443
|
-
# Update properties of this object
|
8444
|
-
def update!(**args)
|
8445
|
-
@code = args[:code] if args.key?(:code)
|
8446
|
-
@data = args[:data] if args.key?(:data)
|
8447
|
-
@message = args[:message] if args.key?(:message)
|
8448
|
-
end
|
8449
|
-
|
8450
|
-
#
|
8451
|
-
class Datum
|
8452
|
-
include Google::Apis::Core::Hashable
|
8453
|
-
|
8454
|
-
# [Output Only] A key that provides more detail on the warning being returned.
|
8455
|
-
# For example, for warnings where there are no results in a list request for a
|
8456
|
-
# particular zone, this key might be scope and the key value might be the zone
|
8457
|
-
# name. Other examples might be a key indicating a deprecated resource and a
|
8458
|
-
# suggested replacement, or a warning about invalid network settings (for
|
8459
|
-
# example, if an instance attempts to perform IP forwarding but is not enabled
|
8460
|
-
# for IP forwarding).
|
8461
|
-
# Corresponds to the JSON property `key`
|
8462
|
-
# @return [String]
|
8463
|
-
attr_accessor :key
|
8464
|
-
|
8465
|
-
# [Output Only] A warning data value corresponding to the key.
|
8466
|
-
# Corresponds to the JSON property `value`
|
8467
|
-
# @return [String]
|
8468
|
-
attr_accessor :value
|
8469
|
-
|
8470
|
-
def initialize(**args)
|
8471
|
-
update!(**args)
|
8472
|
-
end
|
8473
|
-
|
8474
|
-
# Update properties of this object
|
8475
|
-
def update!(**args)
|
8476
|
-
@key = args[:key] if args.key?(:key)
|
8477
|
-
@value = args[:value] if args.key?(:value)
|
8478
|
-
end
|
8479
|
-
end
|
8480
|
-
end
|
8481
|
-
end
|
8482
|
-
|
8483
|
-
# An HttpsHealthCheck resource. This resource defines a template for how
|
8484
|
-
# individual instances should be checked for health, via HTTPS.
|
8485
|
-
class HttpsHealthCheck
|
8486
|
-
include Google::Apis::Core::Hashable
|
8487
|
-
|
8488
|
-
# How often (in seconds) to send a health check. The default value is 5 seconds.
|
8489
|
-
# Corresponds to the JSON property `checkIntervalSec`
|
8490
|
-
# @return [Fixnum]
|
8491
|
-
attr_accessor :check_interval_sec
|
8492
|
-
|
8493
|
-
# [Output Only] Creation timestamp in RFC3339 text format.
|
8494
|
-
# Corresponds to the JSON property `creationTimestamp`
|
8495
|
-
# @return [String]
|
8496
|
-
attr_accessor :creation_timestamp
|
8497
|
-
|
8498
|
-
# An optional description of this resource. Provide this property when you
|
8499
|
-
# create the resource.
|
8500
|
-
# Corresponds to the JSON property `description`
|
8501
|
-
# @return [String]
|
8502
|
-
attr_accessor :description
|
8503
|
-
|
8504
|
-
# A so-far unhealthy instance will be marked healthy after this many consecutive
|
8505
|
-
# successes. The default value is 2.
|
8506
|
-
# Corresponds to the JSON property `healthyThreshold`
|
8507
|
-
# @return [Fixnum]
|
8508
|
-
attr_accessor :healthy_threshold
|
8509
|
-
|
8510
|
-
# The value of the host header in the HTTPS health check request. If left empty (
|
8511
|
-
# default value), the public IP on behalf of which this health check is
|
8512
|
-
# performed will be used.
|
8513
|
-
# Corresponds to the JSON property `host`
|
8514
|
-
# @return [String]
|
8515
|
-
attr_accessor :host
|
8516
|
-
|
8517
|
-
# [Output Only] The unique identifier for the resource. This identifier is
|
8518
|
-
# defined by the server.
|
8519
|
-
# Corresponds to the JSON property `id`
|
8520
|
-
# @return [Fixnum]
|
8521
|
-
attr_accessor :id
|
8522
|
-
|
8523
|
-
# Type of the resource.
|
8524
|
-
# Corresponds to the JSON property `kind`
|
8525
|
-
# @return [String]
|
8526
|
-
attr_accessor :kind
|
8527
|
-
|
8528
|
-
# Name of the resource. Provided by the client when the resource is created. The
|
8529
|
-
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
8530
|
-
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
8531
|
-
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
8532
|
-
# and all following characters must be a dash, lowercase letter, or digit,
|
8533
|
-
# except the last character, which cannot be a dash.
|
8534
|
-
# Corresponds to the JSON property `name`
|
8535
|
-
# @return [String]
|
8536
|
-
attr_accessor :name
|
8537
|
-
|
8538
|
-
# The TCP port number for the HTTPS health check request. The default value is
|
8539
|
-
# 443.
|
8540
|
-
# Corresponds to the JSON property `port`
|
8541
|
-
# @return [Fixnum]
|
8542
|
-
attr_accessor :port
|
8543
|
-
|
8544
|
-
# The request path of the HTTPS health check request. The default value is "/".
|
8545
|
-
# Corresponds to the JSON property `requestPath`
|
8546
|
-
# @return [String]
|
8547
|
-
attr_accessor :request_path
|
8548
|
-
|
8549
|
-
# [Output Only] Server-defined URL for the resource.
|
8550
|
-
# Corresponds to the JSON property `selfLink`
|
8551
|
-
# @return [String]
|
8552
|
-
attr_accessor :self_link
|
8553
|
-
|
8554
|
-
# How long (in seconds) to wait before claiming failure. The default value is 5
|
8555
|
-
# seconds. It is invalid for timeoutSec to have a greater value than
|
8556
|
-
# checkIntervalSec.
|
8557
|
-
# Corresponds to the JSON property `timeoutSec`
|
8558
|
-
# @return [Fixnum]
|
8559
|
-
attr_accessor :timeout_sec
|
8560
|
-
|
8561
|
-
# A so-far healthy instance will be marked unhealthy after this many consecutive
|
8562
|
-
# failures. The default value is 2.
|
8563
|
-
# Corresponds to the JSON property `unhealthyThreshold`
|
8564
|
-
# @return [Fixnum]
|
8565
|
-
attr_accessor :unhealthy_threshold
|
8566
|
-
|
8567
|
-
def initialize(**args)
|
8568
|
-
update!(**args)
|
8569
|
-
end
|
8570
|
-
|
8571
|
-
# Update properties of this object
|
8572
|
-
def update!(**args)
|
8573
|
-
@check_interval_sec = args[:check_interval_sec] if args.key?(:check_interval_sec)
|
8574
|
-
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
8575
|
-
@description = args[:description] if args.key?(:description)
|
8576
|
-
@healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
|
8577
|
-
@host = args[:host] if args.key?(:host)
|
8578
|
-
@id = args[:id] if args.key?(:id)
|
8579
|
-
@kind = args[:kind] if args.key?(:kind)
|
8580
|
-
@name = args[:name] if args.key?(:name)
|
8581
|
-
@port = args[:port] if args.key?(:port)
|
8582
|
-
@request_path = args[:request_path] if args.key?(:request_path)
|
8583
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
8584
|
-
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
8585
|
-
@unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold)
|
8586
|
-
end
|
8587
|
-
end
|
8588
|
-
|
8589
|
-
# Contains a list of HttpsHealthCheck resources.
|
8590
|
-
class HttpsHealthCheckList
|
8591
|
-
include Google::Apis::Core::Hashable
|
8592
|
-
|
8593
|
-
# [Output Only] Unique identifier for the resource; defined by the server.
|
8594
|
-
# Corresponds to the JSON property `id`
|
8595
|
-
# @return [String]
|
8596
|
-
attr_accessor :id
|
8597
|
-
|
8598
|
-
# A list of HttpsHealthCheck resources.
|
8599
|
-
# Corresponds to the JSON property `items`
|
8600
|
-
# @return [Array<Google::Apis::ComputeAlpha::HttpsHealthCheck>]
|
8601
|
-
attr_accessor :items
|
8602
|
-
|
8603
|
-
# Type of resource.
|
8604
|
-
# Corresponds to the JSON property `kind`
|
8605
|
-
# @return [String]
|
8606
|
-
attr_accessor :kind
|
8607
|
-
|
8608
|
-
# [Output Only] This token allows you to get the next page of results for list
|
8609
|
-
# requests. If the number of results is larger than maxResults, use the
|
8610
|
-
# nextPageToken as a value for the query parameter pageToken in the next list
|
8611
|
-
# request. Subsequent list requests will have their own nextPageToken to
|
8612
|
-
# continue paging through the results.
|
8613
|
-
# Corresponds to the JSON property `nextPageToken`
|
8614
|
-
# @return [String]
|
8615
|
-
attr_accessor :next_page_token
|
8616
|
-
|
8617
|
-
# [Output Only] Server-defined URL for this resource.
|
8618
|
-
# Corresponds to the JSON property `selfLink`
|
8619
|
-
# @return [String]
|
8620
|
-
attr_accessor :self_link
|
8621
|
-
|
8622
|
-
# [Output Only] Informational warning message.
|
8623
|
-
# Corresponds to the JSON property `warning`
|
8624
|
-
# @return [Google::Apis::ComputeAlpha::HttpsHealthCheckList::Warning]
|
8625
|
-
attr_accessor :warning
|
8626
|
-
|
8627
|
-
def initialize(**args)
|
8628
|
-
update!(**args)
|
8629
|
-
end
|
8630
|
-
|
8631
|
-
# Update properties of this object
|
8632
|
-
def update!(**args)
|
8633
|
-
@id = args[:id] if args.key?(:id)
|
8634
|
-
@items = args[:items] if args.key?(:items)
|
8635
|
-
@kind = args[:kind] if args.key?(:kind)
|
8636
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
8637
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
8638
|
-
@warning = args[:warning] if args.key?(:warning)
|
8639
|
-
end
|
8640
|
-
|
8641
|
-
# [Output Only] Informational warning message.
|
8642
|
-
class Warning
|
8643
|
-
include Google::Apis::Core::Hashable
|
8644
|
-
|
8645
|
-
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
8646
|
-
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
8647
|
-
# Corresponds to the JSON property `code`
|
8648
|
-
# @return [String]
|
8649
|
-
attr_accessor :code
|
8650
|
-
|
8651
|
-
# [Output Only] Metadata about this warning in key: value format. For example:
|
8652
|
-
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
8653
|
-
# Corresponds to the JSON property `data`
|
8654
|
-
# @return [Array<Google::Apis::ComputeAlpha::HttpsHealthCheckList::Warning::Datum>]
|
8655
|
-
attr_accessor :data
|
8656
|
-
|
8657
|
-
# [Output Only] A human-readable description of the warning code.
|
8658
|
-
# Corresponds to the JSON property `message`
|
8659
|
-
# @return [String]
|
8660
|
-
attr_accessor :message
|
8661
|
-
|
8662
|
-
def initialize(**args)
|
8663
|
-
update!(**args)
|
8664
|
-
end
|
8665
|
-
|
8666
|
-
# Update properties of this object
|
8667
|
-
def update!(**args)
|
8668
|
-
@code = args[:code] if args.key?(:code)
|
8669
|
-
@data = args[:data] if args.key?(:data)
|
8670
|
-
@message = args[:message] if args.key?(:message)
|
8671
|
-
end
|
8672
|
-
|
8673
|
-
#
|
8674
|
-
class Datum
|
8675
|
-
include Google::Apis::Core::Hashable
|
8676
|
-
|
8677
|
-
# [Output Only] A key that provides more detail on the warning being returned.
|
8678
|
-
# For example, for warnings where there are no results in a list request for a
|
8679
|
-
# particular zone, this key might be scope and the key value might be the zone
|
8680
|
-
# name. Other examples might be a key indicating a deprecated resource and a
|
8681
|
-
# suggested replacement, or a warning about invalid network settings (for
|
8682
|
-
# example, if an instance attempts to perform IP forwarding but is not enabled
|
8683
|
-
# for IP forwarding).
|
8684
|
-
# Corresponds to the JSON property `key`
|
8685
|
-
# @return [String]
|
8686
|
-
attr_accessor :key
|
8687
|
-
|
8688
|
-
# [Output Only] A warning data value corresponding to the key.
|
8689
|
-
# Corresponds to the JSON property `value`
|
8690
|
-
# @return [String]
|
8691
|
-
attr_accessor :value
|
8692
|
-
|
8693
|
-
def initialize(**args)
|
8694
|
-
update!(**args)
|
8695
|
-
end
|
8696
|
-
|
8697
|
-
# Update properties of this object
|
8698
|
-
def update!(**args)
|
8699
|
-
@key = args[:key] if args.key?(:key)
|
8700
|
-
@value = args[:value] if args.key?(:value)
|
8701
|
-
end
|
8702
|
-
end
|
8703
|
-
end
|
8704
|
-
end
|
8705
|
-
|
8706
|
-
# An Image resource. (== resource_for beta.images ==) (== resource_for v1.images
|
8707
|
-
# ==)
|
8708
|
-
class Image
|
8709
|
-
include Google::Apis::Core::Hashable
|
8710
|
-
|
8711
|
-
# Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).
|
8712
|
-
# Corresponds to the JSON property `archiveSizeBytes`
|
8713
|
-
# @return [Fixnum]
|
8714
|
-
attr_accessor :archive_size_bytes
|
8715
|
-
|
8716
|
-
# [Output Only] Creation timestamp in RFC3339 text format.
|
8717
|
-
# Corresponds to the JSON property `creationTimestamp`
|
8718
|
-
# @return [String]
|
8719
|
-
attr_accessor :creation_timestamp
|
8720
|
-
|
8721
|
-
# Deprecation status for a public resource.
|
8722
|
-
# Corresponds to the JSON property `deprecated`
|
8723
|
-
# @return [Google::Apis::ComputeAlpha::DeprecationStatus]
|
8724
|
-
attr_accessor :deprecated
|
8322
|
+
# Deprecation status for a public resource.
|
8323
|
+
# Corresponds to the JSON property `deprecated`
|
8324
|
+
# @return [Google::Apis::ComputeAlpha::DeprecationStatus]
|
8325
|
+
attr_accessor :deprecated
|
8725
8326
|
|
8726
8327
|
# An optional description of this resource. Provide this property when you
|
8727
8328
|
# create the resource.
|
@@ -9133,6 +8734,11 @@ module Google
|
|
9133
8734
|
# @return [Array<Google::Apis::ComputeAlpha::AcceleratorConfig>]
|
9134
8735
|
attr_accessor :guest_accelerators
|
9135
8736
|
|
8737
|
+
#
|
8738
|
+
# Corresponds to the JSON property `hostname`
|
8739
|
+
# @return [String]
|
8740
|
+
attr_accessor :hostname
|
8741
|
+
|
9136
8742
|
# [Output Only] The unique identifier for the resource. This identifier is
|
9137
8743
|
# defined by the server.
|
9138
8744
|
# Corresponds to the JSON property `id`
|
@@ -9303,6 +8909,7 @@ module Google
|
|
9303
8909
|
@description = args[:description] if args.key?(:description)
|
9304
8910
|
@disks = args[:disks] if args.key?(:disks)
|
9305
8911
|
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
|
8912
|
+
@hostname = args[:hostname] if args.key?(:hostname)
|
9306
8913
|
@id = args[:id] if args.key?(:id)
|
9307
8914
|
@instance_encryption_key = args[:instance_encryption_key] if args.key?(:instance_encryption_key)
|
9308
8915
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -13388,9 +12995,9 @@ module Google
|
|
13388
12995
|
# @return [String]
|
13389
12996
|
attr_accessor :address
|
13390
12997
|
|
13391
|
-
# [Output Only] Availability zone for this
|
13392
|
-
# metro), maintenance will not be simultaneously scheduled in
|
13393
|
-
# availability zone. Example: "zone1" or "zone2".
|
12998
|
+
# [Output Only] Availability zone for this InterconnectLocation. Within a
|
12999
|
+
# metropolitan area (metro), maintenance will not be simultaneously scheduled in
|
13000
|
+
# more than one availability zone. Example: "zone1" or "zone2".
|
13394
13001
|
# Corresponds to the JSON property `availabilityZone`
|
13395
13002
|
# @return [String]
|
13396
13003
|
attr_accessor :availability_zone
|
@@ -14477,6 +14084,217 @@ module Google
|
|
14477
14084
|
end
|
14478
14085
|
end
|
14479
14086
|
|
14087
|
+
# Machine image resource.
|
14088
|
+
class MachineImage
|
14089
|
+
include Google::Apis::Core::Hashable
|
14090
|
+
|
14091
|
+
# [Output Only] The creation timestamp for this machine image in RFC3339 text
|
14092
|
+
# format.
|
14093
|
+
# Corresponds to the JSON property `creationTimestamp`
|
14094
|
+
# @return [String]
|
14095
|
+
attr_accessor :creation_timestamp
|
14096
|
+
|
14097
|
+
# An optional description of this resource. Provide this property when you
|
14098
|
+
# create the resource.
|
14099
|
+
# Corresponds to the JSON property `description`
|
14100
|
+
# @return [String]
|
14101
|
+
attr_accessor :description
|
14102
|
+
|
14103
|
+
# [Output Only] A unique identifier for this machine image. The server defines
|
14104
|
+
# this identifier.
|
14105
|
+
# Corresponds to the JSON property `id`
|
14106
|
+
# @return [Fixnum]
|
14107
|
+
attr_accessor :id
|
14108
|
+
|
14109
|
+
# [Output Only] The resource type, which is always compute#machineImage for
|
14110
|
+
# machine image.
|
14111
|
+
# Corresponds to the JSON property `kind`
|
14112
|
+
# @return [String]
|
14113
|
+
attr_accessor :kind
|
14114
|
+
|
14115
|
+
# Name of the resource; provided by the client when the resource is created. The
|
14116
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
14117
|
+
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
14118
|
+
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
14119
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
14120
|
+
# except the last character, which cannot be a dash.
|
14121
|
+
# Corresponds to the JSON property `name`
|
14122
|
+
# @return [String]
|
14123
|
+
attr_accessor :name
|
14124
|
+
|
14125
|
+
# [Output Only] The URL for this machine image. The server defines this URL.
|
14126
|
+
# Corresponds to the JSON property `selfLink`
|
14127
|
+
# @return [String]
|
14128
|
+
attr_accessor :self_link
|
14129
|
+
|
14130
|
+
# The source instance used to create the template. You can provide this as a
|
14131
|
+
# partial or full URL to the resource. For example, the following are valid
|
14132
|
+
# values:
|
14133
|
+
# - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
|
14134
|
+
# instance
|
14135
|
+
# - projects/project/zones/zone/instances/instance
|
14136
|
+
# Corresponds to the JSON property `sourceInstance`
|
14137
|
+
# @return [String]
|
14138
|
+
attr_accessor :source_instance
|
14139
|
+
|
14140
|
+
#
|
14141
|
+
# Corresponds to the JSON property `sourceInstanceProperties`
|
14142
|
+
# @return [Google::Apis::ComputeAlpha::SourceInstanceProperties]
|
14143
|
+
attr_accessor :source_instance_properties
|
14144
|
+
|
14145
|
+
# [Output Only] The status of disk creation.
|
14146
|
+
# Corresponds to the JSON property `status`
|
14147
|
+
# @return [String]
|
14148
|
+
attr_accessor :status
|
14149
|
+
|
14150
|
+
# GCS bucket storage location of the snapshot (regional or multi-regional).
|
14151
|
+
# Corresponds to the JSON property `storageLocations`
|
14152
|
+
# @return [Array<String>]
|
14153
|
+
attr_accessor :storage_locations
|
14154
|
+
|
14155
|
+
def initialize(**args)
|
14156
|
+
update!(**args)
|
14157
|
+
end
|
14158
|
+
|
14159
|
+
# Update properties of this object
|
14160
|
+
def update!(**args)
|
14161
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
14162
|
+
@description = args[:description] if args.key?(:description)
|
14163
|
+
@id = args[:id] if args.key?(:id)
|
14164
|
+
@kind = args[:kind] if args.key?(:kind)
|
14165
|
+
@name = args[:name] if args.key?(:name)
|
14166
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
14167
|
+
@source_instance = args[:source_instance] if args.key?(:source_instance)
|
14168
|
+
@source_instance_properties = args[:source_instance_properties] if args.key?(:source_instance_properties)
|
14169
|
+
@status = args[:status] if args.key?(:status)
|
14170
|
+
@storage_locations = args[:storage_locations] if args.key?(:storage_locations)
|
14171
|
+
end
|
14172
|
+
end
|
14173
|
+
|
14174
|
+
# A list of machine images.
|
14175
|
+
class MachineImageList
|
14176
|
+
include Google::Apis::Core::Hashable
|
14177
|
+
|
14178
|
+
#
|
14179
|
+
# Corresponds to the JSON property `etag`
|
14180
|
+
# @return [String]
|
14181
|
+
attr_accessor :etag
|
14182
|
+
|
14183
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
14184
|
+
# Corresponds to the JSON property `id`
|
14185
|
+
# @return [String]
|
14186
|
+
attr_accessor :id
|
14187
|
+
|
14188
|
+
# A list of MachineImage resources.
|
14189
|
+
# Corresponds to the JSON property `items`
|
14190
|
+
# @return [Array<Google::Apis::ComputeAlpha::MachineImage>]
|
14191
|
+
attr_accessor :items
|
14192
|
+
|
14193
|
+
# [Output Only] The resource type, which is always compute#
|
14194
|
+
# machineImagesListResponse for machine image lists.
|
14195
|
+
# Corresponds to the JSON property `kind`
|
14196
|
+
# @return [String]
|
14197
|
+
attr_accessor :kind
|
14198
|
+
|
14199
|
+
# [Output Only] This token allows you to get the next page of results for list
|
14200
|
+
# requests. If the number of results is larger than maxResults, use the
|
14201
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
14202
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
14203
|
+
# continue paging through the results.
|
14204
|
+
# Corresponds to the JSON property `nextPageToken`
|
14205
|
+
# @return [String]
|
14206
|
+
attr_accessor :next_page_token
|
14207
|
+
|
14208
|
+
# [Output Only] Server-defined URL for this resource.
|
14209
|
+
# Corresponds to the JSON property `selfLink`
|
14210
|
+
# @return [String]
|
14211
|
+
attr_accessor :self_link
|
14212
|
+
|
14213
|
+
# [Output Only] Informational warning message.
|
14214
|
+
# Corresponds to the JSON property `warning`
|
14215
|
+
# @return [Google::Apis::ComputeAlpha::MachineImageList::Warning]
|
14216
|
+
attr_accessor :warning
|
14217
|
+
|
14218
|
+
def initialize(**args)
|
14219
|
+
update!(**args)
|
14220
|
+
end
|
14221
|
+
|
14222
|
+
# Update properties of this object
|
14223
|
+
def update!(**args)
|
14224
|
+
@etag = args[:etag] if args.key?(:etag)
|
14225
|
+
@id = args[:id] if args.key?(:id)
|
14226
|
+
@items = args[:items] if args.key?(:items)
|
14227
|
+
@kind = args[:kind] if args.key?(:kind)
|
14228
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
14229
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
14230
|
+
@warning = args[:warning] if args.key?(:warning)
|
14231
|
+
end
|
14232
|
+
|
14233
|
+
# [Output Only] Informational warning message.
|
14234
|
+
class Warning
|
14235
|
+
include Google::Apis::Core::Hashable
|
14236
|
+
|
14237
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
14238
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
14239
|
+
# Corresponds to the JSON property `code`
|
14240
|
+
# @return [String]
|
14241
|
+
attr_accessor :code
|
14242
|
+
|
14243
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
14244
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
14245
|
+
# Corresponds to the JSON property `data`
|
14246
|
+
# @return [Array<Google::Apis::ComputeAlpha::MachineImageList::Warning::Datum>]
|
14247
|
+
attr_accessor :data
|
14248
|
+
|
14249
|
+
# [Output Only] A human-readable description of the warning code.
|
14250
|
+
# Corresponds to the JSON property `message`
|
14251
|
+
# @return [String]
|
14252
|
+
attr_accessor :message
|
14253
|
+
|
14254
|
+
def initialize(**args)
|
14255
|
+
update!(**args)
|
14256
|
+
end
|
14257
|
+
|
14258
|
+
# Update properties of this object
|
14259
|
+
def update!(**args)
|
14260
|
+
@code = args[:code] if args.key?(:code)
|
14261
|
+
@data = args[:data] if args.key?(:data)
|
14262
|
+
@message = args[:message] if args.key?(:message)
|
14263
|
+
end
|
14264
|
+
|
14265
|
+
#
|
14266
|
+
class Datum
|
14267
|
+
include Google::Apis::Core::Hashable
|
14268
|
+
|
14269
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
14270
|
+
# For example, for warnings where there are no results in a list request for a
|
14271
|
+
# particular zone, this key might be scope and the key value might be the zone
|
14272
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
14273
|
+
# suggested replacement, or a warning about invalid network settings (for
|
14274
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
14275
|
+
# for IP forwarding).
|
14276
|
+
# Corresponds to the JSON property `key`
|
14277
|
+
# @return [String]
|
14278
|
+
attr_accessor :key
|
14279
|
+
|
14280
|
+
# [Output Only] A warning data value corresponding to the key.
|
14281
|
+
# Corresponds to the JSON property `value`
|
14282
|
+
# @return [String]
|
14283
|
+
attr_accessor :value
|
14284
|
+
|
14285
|
+
def initialize(**args)
|
14286
|
+
update!(**args)
|
14287
|
+
end
|
14288
|
+
|
14289
|
+
# Update properties of this object
|
14290
|
+
def update!(**args)
|
14291
|
+
@key = args[:key] if args.key?(:key)
|
14292
|
+
@value = args[:value] if args.key?(:value)
|
14293
|
+
end
|
14294
|
+
end
|
14295
|
+
end
|
14296
|
+
end
|
14297
|
+
|
14480
14298
|
# A Machine Type resource. (== resource_for v1.machineTypes ==) (== resource_for
|
14481
14299
|
# beta.machineTypes ==)
|
14482
14300
|
class MachineType
|
@@ -21130,11 +20948,6 @@ module Google
|
|
21130
20948
|
# @return [Google::Apis::ComputeAlpha::ResourcePolicyDailyCycle]
|
21131
20949
|
attr_accessor :daily_maintenance_window
|
21132
20950
|
|
21133
|
-
# Time window specified for weekly operations.
|
21134
|
-
# Corresponds to the JSON property `weeklyMaintenanceWindow`
|
21135
|
-
# @return [Google::Apis::ComputeAlpha::ResourcePolicyWeeklyCycle]
|
21136
|
-
attr_accessor :weekly_maintenance_window
|
21137
|
-
|
21138
20951
|
def initialize(**args)
|
21139
20952
|
update!(**args)
|
21140
20953
|
end
|
@@ -21142,7 +20955,6 @@ module Google
|
|
21142
20955
|
# Update properties of this object
|
21143
20956
|
def update!(**args)
|
21144
20957
|
@daily_maintenance_window = args[:daily_maintenance_window] if args.key?(:daily_maintenance_window)
|
21145
|
-
@weekly_maintenance_window = args[:weekly_maintenance_window] if args.key?(:weekly_maintenance_window)
|
21146
20958
|
end
|
21147
20959
|
end
|
21148
20960
|
|
@@ -22656,6 +22468,159 @@ module Google
|
|
22656
22468
|
end
|
22657
22469
|
end
|
22658
22470
|
|
22471
|
+
# An instance-attached disk resource.
|
22472
|
+
class SavedAttachedDisk
|
22473
|
+
include Google::Apis::Core::Hashable
|
22474
|
+
|
22475
|
+
# Specifies whether the disk will be auto-deleted when the instance is deleted (
|
22476
|
+
# but not when the disk is detached from the instance).
|
22477
|
+
# Corresponds to the JSON property `autoDelete`
|
22478
|
+
# @return [Boolean]
|
22479
|
+
attr_accessor :auto_delete
|
22480
|
+
alias_method :auto_delete?, :auto_delete
|
22481
|
+
|
22482
|
+
# Indicates that this is a boot disk. The virtual machine will use the first
|
22483
|
+
# partition of the disk for its root filesystem.
|
22484
|
+
# Corresponds to the JSON property `boot`
|
22485
|
+
# @return [Boolean]
|
22486
|
+
attr_accessor :boot
|
22487
|
+
alias_method :boot?, :boot
|
22488
|
+
|
22489
|
+
# Specifies a unique device name of your choice that is reflected into the /dev/
|
22490
|
+
# disk/by-id/google-* tree of a Linux operating system running within the
|
22491
|
+
# instance. This name can be used to reference the device for mounting, resizing,
|
22492
|
+
# and so on, from within the instance.
|
22493
|
+
# If not specified, the server chooses a default device name to apply to this
|
22494
|
+
# disk, in the form persistent-disks-x, where x is a number assigned by Google
|
22495
|
+
# Compute Engine. This field is only applicable for persistent disks.
|
22496
|
+
# Corresponds to the JSON property `deviceName`
|
22497
|
+
# @return [String]
|
22498
|
+
attr_accessor :device_name
|
22499
|
+
|
22500
|
+
# Represents a customer-supplied encryption key
|
22501
|
+
# Corresponds to the JSON property `diskEncryptionKey`
|
22502
|
+
# @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
|
22503
|
+
attr_accessor :disk_encryption_key
|
22504
|
+
|
22505
|
+
# The size of the disk in base-2 GB. This supersedes disk_size_gb in
|
22506
|
+
# InitializeParams.
|
22507
|
+
# Corresponds to the JSON property `diskSizeGb`
|
22508
|
+
# @return [Fixnum]
|
22509
|
+
attr_accessor :disk_size_gb
|
22510
|
+
|
22511
|
+
# A list of features to enable on the guest operating system. Applicable only
|
22512
|
+
# for bootable images. Read Enabling guest operating system features to see a
|
22513
|
+
# list of available options.
|
22514
|
+
# Corresponds to the JSON property `guestOsFeatures`
|
22515
|
+
# @return [Array<Google::Apis::ComputeAlpha::GuestOsFeature>]
|
22516
|
+
attr_accessor :guest_os_features
|
22517
|
+
|
22518
|
+
# [Output Only] A zero-based index to this disk, where 0 is reserved for the
|
22519
|
+
# boot disk. If you have many disks attached to an instance, each disk would
|
22520
|
+
# have a unique index number.
|
22521
|
+
# Corresponds to the JSON property `index`
|
22522
|
+
# @return [Fixnum]
|
22523
|
+
attr_accessor :index
|
22524
|
+
|
22525
|
+
# [Input Only] Specifies the parameters for a new disk that will be created
|
22526
|
+
# alongside the new instance. Use initialization parameters to create boot disks
|
22527
|
+
# or local SSDs attached to the new instance.
|
22528
|
+
# This property is mutually exclusive with the source property; you can only
|
22529
|
+
# define one or the other, but not both.
|
22530
|
+
# Corresponds to the JSON property `initializeParams`
|
22531
|
+
# @return [Google::Apis::ComputeAlpha::AttachedDiskInitializeParams]
|
22532
|
+
attr_accessor :initialize_params
|
22533
|
+
|
22534
|
+
# Specifies the disk interface to use for attaching this disk, which is either
|
22535
|
+
# SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and
|
22536
|
+
# the request will fail if you attempt to attach a persistent disk in any other
|
22537
|
+
# format than SCSI. Local SSDs can use either NVME or SCSI. For performance
|
22538
|
+
# characteristics of SCSI over NVMe, see Local SSD performance.
|
22539
|
+
# Corresponds to the JSON property `interface`
|
22540
|
+
# @return [String]
|
22541
|
+
attr_accessor :interface
|
22542
|
+
|
22543
|
+
# [Output Only] Type of the resource. Always compute#attachedDisk for attached
|
22544
|
+
# disks.
|
22545
|
+
# Corresponds to the JSON property `kind`
|
22546
|
+
# @return [String]
|
22547
|
+
attr_accessor :kind
|
22548
|
+
|
22549
|
+
# [Output Only] Any valid publicly visible licenses.
|
22550
|
+
# Corresponds to the JSON property `licenses`
|
22551
|
+
# @return [Array<String>]
|
22552
|
+
attr_accessor :licenses
|
22553
|
+
|
22554
|
+
# The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not
|
22555
|
+
# specified, the default is to attach the disk in READ_WRITE mode.
|
22556
|
+
# Corresponds to the JSON property `mode`
|
22557
|
+
# @return [String]
|
22558
|
+
attr_accessor :mode
|
22559
|
+
|
22560
|
+
# For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this field
|
22561
|
+
# is set to PRESERVED if the LocalSSD data has been saved to a persistent
|
22562
|
+
# location by customer request. (see the discard_local_ssd option on Stop/
|
22563
|
+
# Suspend). Read-only in the api.
|
22564
|
+
# Corresponds to the JSON property `savedState`
|
22565
|
+
# @return [String]
|
22566
|
+
attr_accessor :saved_state
|
22567
|
+
|
22568
|
+
# Specifies a valid partial or full URL to an existing Persistent Disk resource.
|
22569
|
+
# When creating a new instance, one of initializeParams.sourceImage or disks.
|
22570
|
+
# source is required except for local SSD.
|
22571
|
+
# If desired, you can also attach existing non-root persistent disks using this
|
22572
|
+
# property. This field is only applicable for persistent disks.
|
22573
|
+
# Note that for InstanceTemplate, specify the disk name, not the URL for the
|
22574
|
+
# disk.
|
22575
|
+
# Corresponds to the JSON property `source`
|
22576
|
+
# @return [String]
|
22577
|
+
attr_accessor :source
|
22578
|
+
|
22579
|
+
# [Output Only] A size of the storage used by the disk's snapshot.
|
22580
|
+
# Corresponds to the JSON property `storageBytes`
|
22581
|
+
# @return [Fixnum]
|
22582
|
+
attr_accessor :storage_bytes
|
22583
|
+
|
22584
|
+
# [Output Only] An indicator whether storageBytes is in a stable state or it is
|
22585
|
+
# being adjusted as a result of shared storage reallocation. This status can
|
22586
|
+
# either be UPDATING, meaning the size of the snapshot is being updated, or
|
22587
|
+
# UP_TO_DATE, meaning the size of the snapshot is up-to-date.
|
22588
|
+
# Corresponds to the JSON property `storageBytesStatus`
|
22589
|
+
# @return [String]
|
22590
|
+
attr_accessor :storage_bytes_status
|
22591
|
+
|
22592
|
+
# Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified,
|
22593
|
+
# the default is PERSISTENT.
|
22594
|
+
# Corresponds to the JSON property `type`
|
22595
|
+
# @return [String]
|
22596
|
+
attr_accessor :type
|
22597
|
+
|
22598
|
+
def initialize(**args)
|
22599
|
+
update!(**args)
|
22600
|
+
end
|
22601
|
+
|
22602
|
+
# Update properties of this object
|
22603
|
+
def update!(**args)
|
22604
|
+
@auto_delete = args[:auto_delete] if args.key?(:auto_delete)
|
22605
|
+
@boot = args[:boot] if args.key?(:boot)
|
22606
|
+
@device_name = args[:device_name] if args.key?(:device_name)
|
22607
|
+
@disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key)
|
22608
|
+
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
22609
|
+
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
|
22610
|
+
@index = args[:index] if args.key?(:index)
|
22611
|
+
@initialize_params = args[:initialize_params] if args.key?(:initialize_params)
|
22612
|
+
@interface = args[:interface] if args.key?(:interface)
|
22613
|
+
@kind = args[:kind] if args.key?(:kind)
|
22614
|
+
@licenses = args[:licenses] if args.key?(:licenses)
|
22615
|
+
@mode = args[:mode] if args.key?(:mode)
|
22616
|
+
@saved_state = args[:saved_state] if args.key?(:saved_state)
|
22617
|
+
@source = args[:source] if args.key?(:source)
|
22618
|
+
@storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
|
22619
|
+
@storage_bytes_status = args[:storage_bytes_status] if args.key?(:storage_bytes_status)
|
22620
|
+
@type = args[:type] if args.key?(:type)
|
22621
|
+
end
|
22622
|
+
end
|
22623
|
+
|
22659
22624
|
# Sets the scheduling options for an Instance.
|
22660
22625
|
class Scheduling
|
22661
22626
|
include Google::Apis::Core::Hashable
|
@@ -22776,7 +22741,8 @@ module Google
|
|
22776
22741
|
end
|
22777
22742
|
|
22778
22743
|
# A security policy is comprised of one or more rules. It can also be associated
|
22779
|
-
# with one or more 'targets'. (== resource_for
|
22744
|
+
# with one or more 'targets'. (== resource_for v1.securityPolicies ==) (==
|
22745
|
+
# resource_for beta.securityPolicies ==)
|
22780
22746
|
class SecurityPolicy
|
22781
22747
|
include Google::Apis::Core::Hashable
|
22782
22748
|
|
@@ -23596,6 +23562,113 @@ module Google
|
|
23596
23562
|
end
|
23597
23563
|
end
|
23598
23564
|
|
23565
|
+
#
|
23566
|
+
class SourceInstanceProperties
|
23567
|
+
include Google::Apis::Core::Hashable
|
23568
|
+
|
23569
|
+
# Enables instances created based on this template to send packets with source
|
23570
|
+
# IP addresses other than their own and receive packets with destination IP
|
23571
|
+
# addresses other than their own. If these instances will be used as an IP
|
23572
|
+
# gateway or it will be set as the next-hop in a Route resource, specify true.
|
23573
|
+
# If unsure, leave this set to false. See the Enable IP forwarding documentation
|
23574
|
+
# for more information.
|
23575
|
+
# Corresponds to the JSON property `canIpForward`
|
23576
|
+
# @return [Boolean]
|
23577
|
+
attr_accessor :can_ip_forward
|
23578
|
+
alias_method :can_ip_forward?, :can_ip_forward
|
23579
|
+
|
23580
|
+
# Whether the resource should be protected against deletion.
|
23581
|
+
# Corresponds to the JSON property `deletionProtection`
|
23582
|
+
# @return [Boolean]
|
23583
|
+
attr_accessor :deletion_protection
|
23584
|
+
alias_method :deletion_protection?, :deletion_protection
|
23585
|
+
|
23586
|
+
# An optional text description for the instances that are created from this
|
23587
|
+
# instance template.
|
23588
|
+
# Corresponds to the JSON property `description`
|
23589
|
+
# @return [String]
|
23590
|
+
attr_accessor :description
|
23591
|
+
|
23592
|
+
# An array of disks that are associated with the instances that are created from
|
23593
|
+
# this template.
|
23594
|
+
# Corresponds to the JSON property `disks`
|
23595
|
+
# @return [Array<Google::Apis::ComputeAlpha::SavedAttachedDisk>]
|
23596
|
+
attr_accessor :disks
|
23597
|
+
|
23598
|
+
# A list of guest accelerator cards' type and count to use for instances created
|
23599
|
+
# from the instance template.
|
23600
|
+
# Corresponds to the JSON property `guestAccelerators`
|
23601
|
+
# @return [Array<Google::Apis::ComputeAlpha::AcceleratorConfig>]
|
23602
|
+
attr_accessor :guest_accelerators
|
23603
|
+
|
23604
|
+
# Labels to apply to instances that are created from this template.
|
23605
|
+
# Corresponds to the JSON property `labels`
|
23606
|
+
# @return [Hash<String,String>]
|
23607
|
+
attr_accessor :labels
|
23608
|
+
|
23609
|
+
# The machine type to use for instances that are created from this template.
|
23610
|
+
# Corresponds to the JSON property `machineType`
|
23611
|
+
# @return [String]
|
23612
|
+
attr_accessor :machine_type
|
23613
|
+
|
23614
|
+
# A metadata key/value entry.
|
23615
|
+
# Corresponds to the JSON property `metadata`
|
23616
|
+
# @return [Google::Apis::ComputeAlpha::Metadata]
|
23617
|
+
attr_accessor :metadata
|
23618
|
+
|
23619
|
+
# Minimum cpu/platform to be used by this instance. The instance may be
|
23620
|
+
# scheduled on the specified or newer cpu/platform. Applicable values are the
|
23621
|
+
# friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or
|
23622
|
+
# minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a
|
23623
|
+
# Minimum CPU Platform.
|
23624
|
+
# Corresponds to the JSON property `minCpuPlatform`
|
23625
|
+
# @return [String]
|
23626
|
+
attr_accessor :min_cpu_platform
|
23627
|
+
|
23628
|
+
# An array of network access configurations for this interface.
|
23629
|
+
# Corresponds to the JSON property `networkInterfaces`
|
23630
|
+
# @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
|
23631
|
+
attr_accessor :network_interfaces
|
23632
|
+
|
23633
|
+
# Sets the scheduling options for an Instance.
|
23634
|
+
# Corresponds to the JSON property `scheduling`
|
23635
|
+
# @return [Google::Apis::ComputeAlpha::Scheduling]
|
23636
|
+
attr_accessor :scheduling
|
23637
|
+
|
23638
|
+
# A list of service accounts with specified scopes. Access tokens for these
|
23639
|
+
# service accounts are available to the instances that are created from this
|
23640
|
+
# template. Use metadata queries to obtain the access tokens for these instances.
|
23641
|
+
# Corresponds to the JSON property `serviceAccounts`
|
23642
|
+
# @return [Array<Google::Apis::ComputeAlpha::ServiceAccount>]
|
23643
|
+
attr_accessor :service_accounts
|
23644
|
+
|
23645
|
+
# A set of instance tags.
|
23646
|
+
# Corresponds to the JSON property `tags`
|
23647
|
+
# @return [Google::Apis::ComputeAlpha::Tags]
|
23648
|
+
attr_accessor :tags
|
23649
|
+
|
23650
|
+
def initialize(**args)
|
23651
|
+
update!(**args)
|
23652
|
+
end
|
23653
|
+
|
23654
|
+
# Update properties of this object
|
23655
|
+
def update!(**args)
|
23656
|
+
@can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
|
23657
|
+
@deletion_protection = args[:deletion_protection] if args.key?(:deletion_protection)
|
23658
|
+
@description = args[:description] if args.key?(:description)
|
23659
|
+
@disks = args[:disks] if args.key?(:disks)
|
23660
|
+
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
|
23661
|
+
@labels = args[:labels] if args.key?(:labels)
|
23662
|
+
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
23663
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
23664
|
+
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
23665
|
+
@network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
|
23666
|
+
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
23667
|
+
@service_accounts = args[:service_accounts] if args.key?(:service_accounts)
|
23668
|
+
@tags = args[:tags] if args.key?(:tags)
|
23669
|
+
end
|
23670
|
+
end
|
23671
|
+
|
23599
23672
|
# An SslCertificate resource. This resource provides a mechanism to upload an
|
23600
23673
|
# SSL key and certificate to the load balancer to serve secure connections from
|
23601
23674
|
# the user. (== resource_for beta.sslCertificates ==) (== resource_for v1.
|
@@ -28555,7 +28628,7 @@ module Google
|
|
28555
28628
|
include Google::Apis::Core::Hashable
|
28556
28629
|
|
28557
28630
|
# A list of UrlMaps contained in this scope.
|
28558
|
-
# Corresponds to the JSON property `
|
28631
|
+
# Corresponds to the JSON property `urlMaps`
|
28559
28632
|
# @return [Array<Google::Apis::ComputeAlpha::UrlMap>]
|
28560
28633
|
attr_accessor :url_maps
|
28561
28634
|
|