google-api-client 0.17.3 → 0.17.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +77 -2
- data/generated/google/apis/androidenterprise_v1/representations.rb +31 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +100 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +300 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +76 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +5 -2
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -8
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +20 -10
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +11 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +782 -111
- data/generated/google/apis/compute_alpha/representations.rb +282 -2
- data/generated/google/apis/compute_alpha/service.rb +611 -6
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +342 -43
- data/generated/google/apis/compute_beta/representations.rb +109 -0
- data/generated/google/apis/compute_beta/service.rb +225 -6
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +48 -43
- data/generated/google/apis/compute_v1/service.rb +6 -6
- data/generated/google/apis/container_v1beta1/classes.rb +17 -0
- data/generated/google/apis/container_v1beta1/representations.rb +1 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +131 -9
- data/generated/google/apis/content_v2/representations.rb +38 -0
- data/generated/google/apis/content_v2/service.rb +35 -23
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +99 -9
- data/generated/google/apis/content_v2sandbox/representations.rb +22 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/service.rb +11 -11
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/fusiontables_v2/service.rb +37 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +26 -177
- data/generated/google/apis/ml_v1/representations.rb +3 -0
- data/generated/google/apis/ml_v1/service.rb +3 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +10 -1
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/poly_v1.rb +32 -0
- data/generated/google/apis/poly_v1/classes.rb +426 -0
- data/generated/google/apis/poly_v1/representations.rb +194 -0
- data/generated/google/apis/poly_v1/service.rb +273 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +243 -0
- data/generated/google/apis/pubsub_v1/representations.rb +115 -0
- data/generated/google/apis/pubsub_v1/service.rb +269 -1
- data/generated/google/apis/speech_v1.rb +4 -1
- data/generated/google/apis/speech_v1beta1.rb +4 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +13 -0
- data/generated/google/apis/youtube_v3/representations.rb +2 -0
- data/lib/google/apis/core/base_service.rb +4 -1
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module AndroidmanagementV1
|
24
24
|
|
25
|
+
class AlwaysOnVpnPackage
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class ApiLevelCondition
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -172,6 +178,12 @@ module Google
|
|
172
178
|
include Google::Apis::Core::JsonObjectSupport
|
173
179
|
end
|
174
180
|
|
181
|
+
class PackageNameList
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
175
187
|
class PasswordRequirements
|
176
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
189
|
|
@@ -202,6 +214,12 @@ module Google
|
|
202
214
|
include Google::Apis::Core::JsonObjectSupport
|
203
215
|
end
|
204
216
|
|
217
|
+
class ProxyInfo
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
205
223
|
class SignupUrl
|
206
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
225
|
|
@@ -244,6 +262,14 @@ module Google
|
|
244
262
|
include Google::Apis::Core::JsonObjectSupport
|
245
263
|
end
|
246
264
|
|
265
|
+
class AlwaysOnVpnPackage
|
266
|
+
# @private
|
267
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
268
|
+
property :lockdown_enabled, as: 'lockdownEnabled'
|
269
|
+
property :package_name, as: 'packageName'
|
270
|
+
end
|
271
|
+
end
|
272
|
+
|
247
273
|
class ApiLevelCondition
|
248
274
|
# @private
|
249
275
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -545,6 +571,13 @@ module Google
|
|
545
571
|
end
|
546
572
|
end
|
547
573
|
|
574
|
+
class PackageNameList
|
575
|
+
# @private
|
576
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
577
|
+
collection :package_names, as: 'packageNames'
|
578
|
+
end
|
579
|
+
end
|
580
|
+
|
548
581
|
class PasswordRequirements
|
549
582
|
# @private
|
550
583
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -582,42 +615,75 @@ module Google
|
|
582
615
|
class Policy
|
583
616
|
# @private
|
584
617
|
class Representation < Google::Apis::Core::JsonRepresentation
|
618
|
+
collection :account_types_with_management_disabled, as: 'accountTypesWithManagementDisabled'
|
585
619
|
property :add_user_disabled, as: 'addUserDisabled'
|
586
620
|
property :adjust_volume_disabled, as: 'adjustVolumeDisabled'
|
621
|
+
property :always_on_vpn_package, as: 'alwaysOnVpnPackage', class: Google::Apis::AndroidmanagementV1::AlwaysOnVpnPackage, decorator: Google::Apis::AndroidmanagementV1::AlwaysOnVpnPackage::Representation
|
622
|
+
|
587
623
|
collection :applications, as: 'applications', class: Google::Apis::AndroidmanagementV1::ApplicationPolicy, decorator: Google::Apis::AndroidmanagementV1::ApplicationPolicy::Representation
|
588
624
|
|
589
625
|
property :auto_time_required, as: 'autoTimeRequired'
|
590
626
|
property :block_applications_enabled, as: 'blockApplicationsEnabled'
|
627
|
+
property :bluetooth_config_disabled, as: 'bluetoothConfigDisabled'
|
628
|
+
property :bluetooth_contact_sharing_disabled, as: 'bluetoothContactSharingDisabled'
|
629
|
+
property :bluetooth_disabled, as: 'bluetoothDisabled'
|
591
630
|
property :camera_disabled, as: 'cameraDisabled'
|
631
|
+
property :cell_broadcasts_config_disabled, as: 'cellBroadcastsConfigDisabled'
|
592
632
|
collection :compliance_rules, as: 'complianceRules', class: Google::Apis::AndroidmanagementV1::ComplianceRule, decorator: Google::Apis::AndroidmanagementV1::ComplianceRule::Representation
|
593
633
|
|
634
|
+
property :create_windows_disabled, as: 'createWindowsDisabled'
|
635
|
+
property :credentials_config_disabled, as: 'credentialsConfigDisabled'
|
636
|
+
property :data_roaming_disabled, as: 'dataRoamingDisabled'
|
594
637
|
property :debugging_features_allowed, as: 'debuggingFeaturesAllowed'
|
595
638
|
property :default_permission_policy, as: 'defaultPermissionPolicy'
|
639
|
+
property :ensure_verify_apps_enabled, as: 'ensureVerifyAppsEnabled'
|
596
640
|
property :factory_reset_disabled, as: 'factoryResetDisabled'
|
597
641
|
collection :frp_admin_emails, as: 'frpAdminEmails'
|
598
642
|
property :fun_disabled, as: 'funDisabled'
|
643
|
+
property :install_apps_disabled, as: 'installAppsDisabled'
|
599
644
|
property :install_unknown_sources_allowed, as: 'installUnknownSourcesAllowed'
|
600
645
|
property :keyguard_disabled, as: 'keyguardDisabled'
|
646
|
+
collection :keyguard_disabled_features, as: 'keyguardDisabledFeatures'
|
647
|
+
property :long_support_message, as: 'longSupportMessage', class: Google::Apis::AndroidmanagementV1::UserFacingMessage, decorator: Google::Apis::AndroidmanagementV1::UserFacingMessage::Representation
|
648
|
+
|
601
649
|
property :maximum_time_to_lock, :numeric_string => true, as: 'maximumTimeToLock'
|
650
|
+
property :mobile_networks_config_disabled, as: 'mobileNetworksConfigDisabled'
|
602
651
|
property :modify_accounts_disabled, as: 'modifyAccountsDisabled'
|
652
|
+
property :mount_physical_media_disabled, as: 'mountPhysicalMediaDisabled'
|
603
653
|
property :name, as: 'name'
|
604
654
|
property :network_escape_hatch_enabled, as: 'networkEscapeHatchEnabled'
|
655
|
+
property :network_reset_disabled, as: 'networkResetDisabled'
|
605
656
|
hash :open_network_configuration, as: 'openNetworkConfiguration'
|
657
|
+
property :outgoing_beam_disabled, as: 'outgoingBeamDisabled'
|
658
|
+
property :outgoing_calls_disabled, as: 'outgoingCallsDisabled'
|
606
659
|
property :password_requirements, as: 'passwordRequirements', class: Google::Apis::AndroidmanagementV1::PasswordRequirements, decorator: Google::Apis::AndroidmanagementV1::PasswordRequirements::Representation
|
607
660
|
|
661
|
+
property :permitted_input_methods, as: 'permittedInputMethods', class: Google::Apis::AndroidmanagementV1::PackageNameList, decorator: Google::Apis::AndroidmanagementV1::PackageNameList::Representation
|
662
|
+
|
608
663
|
collection :persistent_preferred_activities, as: 'persistentPreferredActivities', class: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity, decorator: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity::Representation
|
609
664
|
|
665
|
+
property :recommended_global_proxy, as: 'recommendedGlobalProxy', class: Google::Apis::AndroidmanagementV1::ProxyInfo, decorator: Google::Apis::AndroidmanagementV1::ProxyInfo::Representation
|
666
|
+
|
610
667
|
property :remove_user_disabled, as: 'removeUserDisabled'
|
611
668
|
property :safe_boot_disabled, as: 'safeBootDisabled'
|
612
669
|
property :screen_capture_disabled, as: 'screenCaptureDisabled'
|
670
|
+
property :set_user_icon_disabled, as: 'setUserIconDisabled'
|
671
|
+
property :set_wallpaper_disabled, as: 'setWallpaperDisabled'
|
672
|
+
property :short_support_message, as: 'shortSupportMessage', class: Google::Apis::AndroidmanagementV1::UserFacingMessage, decorator: Google::Apis::AndroidmanagementV1::UserFacingMessage::Representation
|
673
|
+
|
674
|
+
property :sms_disabled, as: 'smsDisabled'
|
613
675
|
property :status_bar_disabled, as: 'statusBarDisabled'
|
614
676
|
property :status_reporting_settings, as: 'statusReportingSettings', class: Google::Apis::AndroidmanagementV1::StatusReportingSettings, decorator: Google::Apis::AndroidmanagementV1::StatusReportingSettings::Representation
|
615
677
|
|
616
678
|
collection :stay_on_plugged_modes, as: 'stayOnPluggedModes'
|
617
679
|
property :system_update, as: 'systemUpdate', class: Google::Apis::AndroidmanagementV1::SystemUpdate, decorator: Google::Apis::AndroidmanagementV1::SystemUpdate::Representation
|
618
680
|
|
681
|
+
property :tethering_config_disabled, as: 'tetheringConfigDisabled'
|
682
|
+
property :uninstall_apps_disabled, as: 'uninstallAppsDisabled'
|
619
683
|
property :unmute_microphone_disabled, as: 'unmuteMicrophoneDisabled'
|
684
|
+
property :usb_file_transfer_disabled, as: 'usbFileTransferDisabled'
|
620
685
|
property :version, :numeric_string => true, as: 'version'
|
686
|
+
property :vpn_config_disabled, as: 'vpnConfigDisabled'
|
621
687
|
property :wifi_config_disabled, as: 'wifiConfigDisabled'
|
622
688
|
property :wifi_configs_lockdown_enabled, as: 'wifiConfigsLockdownEnabled'
|
623
689
|
end
|
@@ -632,6 +698,16 @@ module Google
|
|
632
698
|
end
|
633
699
|
end
|
634
700
|
|
701
|
+
class ProxyInfo
|
702
|
+
# @private
|
703
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
704
|
+
collection :excluded_hosts, as: 'excludedHosts'
|
705
|
+
property :host, as: 'host'
|
706
|
+
property :pac_uri, as: 'pacUri'
|
707
|
+
property :port, as: 'port'
|
708
|
+
end
|
709
|
+
end
|
710
|
+
|
635
711
|
class SignupUrl
|
636
712
|
# @private
|
637
713
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/bigquery/
|
27
27
|
module BigquerydatatransferV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20171128'
|
30
30
|
|
31
31
|
# View and manage your data in Google BigQuery
|
32
32
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -728,6 +728,8 @@ module Google
|
|
728
728
|
# Output only. Unique ID of the user on whose behalf transfer is done.
|
729
729
|
# Applicable only to data sources that do not support service accounts.
|
730
730
|
# When set to 0, the data source service account credentials are used.
|
731
|
+
# May be negative. Note, that this identifier is not stable.
|
732
|
+
# It may change over time even for the same user.
|
731
733
|
# Corresponds to the JSON property `userId`
|
732
734
|
# @return [Fixnum]
|
733
735
|
attr_accessor :user_id
|
@@ -786,7 +788,7 @@ module Google
|
|
786
788
|
end
|
787
789
|
|
788
790
|
# Represents a data transfer run.
|
789
|
-
# Next id:
|
791
|
+
# Next id: 24
|
790
792
|
class TransferRun
|
791
793
|
include Google::Apis::Core::Hashable
|
792
794
|
|
@@ -902,7 +904,8 @@ module Google
|
|
902
904
|
# Output only. Unique ID of the user on whose behalf transfer is done.
|
903
905
|
# Applicable only to data sources that do not support service accounts.
|
904
906
|
# When set to 0, the data source service account credentials are used.
|
905
|
-
# May be negative.
|
907
|
+
# May be negative. Note, that this identifier is not stable.
|
908
|
+
# It may change over time even for the same user.
|
906
909
|
# Corresponds to the JSON property `userId`
|
907
910
|
# @return [Fixnum]
|
908
911
|
attr_accessor :user_id
|
@@ -347,10 +347,8 @@ module Google
|
|
347
347
|
# @param [String] parent
|
348
348
|
# The BigQuery project id where the transfer configuration should be created.
|
349
349
|
# Must be in the format /projects/`project_id`/locations/`location_id`
|
350
|
-
#
|
351
|
-
#
|
352
|
-
# In case when '-' is specified as location_id, location is infered from
|
353
|
-
# the destination dataset region.
|
350
|
+
# If specified location and location of the destination bigquery dataset
|
351
|
+
# do not match - the request will fail.
|
354
352
|
# @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object
|
355
353
|
# @param [String] authorization_code
|
356
354
|
# Optional OAuth2 authorization code to use with this transfer configuration.
|
@@ -762,10 +760,8 @@ module Google
|
|
762
760
|
# @param [String] parent
|
763
761
|
# The BigQuery project id where the transfer configuration should be created.
|
764
762
|
# Must be in the format /projects/`project_id`/locations/`location_id`
|
765
|
-
#
|
766
|
-
#
|
767
|
-
# In case when '-' is specified as location_id, location is infered from
|
768
|
-
# the destination dataset region.
|
763
|
+
# If specified location and location of the destination bigquery dataset
|
764
|
+
# do not match - the request will fail.
|
769
765
|
# @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object
|
770
766
|
# @param [String] authorization_code
|
771
767
|
# Optional OAuth2 authorization code to use with this transfer configuration.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/container-builder/docs/
|
26
26
|
module CloudbuildV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20171128'
|
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/kms/
|
27
27
|
module CloudkmsV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20171128'
|
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'
|
@@ -207,7 +207,7 @@ module Google
|
|
207
207
|
attr_accessor :create_time
|
208
208
|
|
209
209
|
# Labels with user-defined metadata. For more information, see
|
210
|
-
# [Labeling
|
210
|
+
# [Labeling Keys](/kms/docs/labeling-keys).
|
211
211
|
# Corresponds to the JSON property `labels`
|
212
212
|
# @return [Hash<String,String>]
|
213
213
|
attr_accessor :labels
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/cloud-tasks/
|
27
27
|
module CloudtasksV2beta2
|
28
28
|
VERSION = 'V2beta2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20171123'
|
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'
|
@@ -1057,6 +1057,10 @@ module Google
|
|
1057
1057
|
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
|
1058
1058
|
# * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
|
1059
1059
|
# hyphens (-), colons (:), or periods (.).
|
1060
|
+
# * `LOCATION_ID` is the canonical ID for the queue's location.
|
1061
|
+
# The list of available locations can be obtained by calling
|
1062
|
+
# google.cloud.location.Locations.ListLocations.
|
1063
|
+
# For more information, see https://cloud.google.com/about/locations/.
|
1060
1064
|
# * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
|
1061
1065
|
# hyphens (-). The maximum length is 100 characters.
|
1062
1066
|
# Caller-specified and required in CreateQueueRequest, after which
|
@@ -1088,15 +1092,6 @@ module Google
|
|
1088
1092
|
# @return [String]
|
1089
1093
|
attr_accessor :purge_time
|
1090
1094
|
|
1091
|
-
# Output only. The state of the queue.
|
1092
|
-
# `queue_state` can only be changed by called
|
1093
|
-
# CloudTasks.PauseQueue, CloudTasks.ResumeQueue, or uploading
|
1094
|
-
# [queue.yaml](/appengine/docs/python/config/queueref).
|
1095
|
-
# CloudTasks.UpdateQueue cannot be used to change `queue_state`.
|
1096
|
-
# Corresponds to the JSON property `queueState`
|
1097
|
-
# @return [String]
|
1098
|
-
attr_accessor :queue_state
|
1099
|
-
|
1100
1095
|
# Rate limits.
|
1101
1096
|
# This message determines the maximum rate that tasks can be dispatched by a
|
1102
1097
|
# queue, regardless of whether the dispatch is a first task attempt or a retry.
|
@@ -1110,6 +1105,15 @@ module Google
|
|
1110
1105
|
# @return [Google::Apis::CloudtasksV2beta2::RetryConfig]
|
1111
1106
|
attr_accessor :retry_config
|
1112
1107
|
|
1108
|
+
# Output only. The state of the queue.
|
1109
|
+
# `state` can only be changed by called
|
1110
|
+
# CloudTasks.PauseQueue, CloudTasks.ResumeQueue, or uploading
|
1111
|
+
# [queue.yaml](/appengine/docs/python/config/queueref).
|
1112
|
+
# CloudTasks.UpdateQueue cannot be used to change `state`.
|
1113
|
+
# Corresponds to the JSON property `state`
|
1114
|
+
# @return [String]
|
1115
|
+
attr_accessor :state
|
1116
|
+
|
1113
1117
|
def initialize(**args)
|
1114
1118
|
update!(**args)
|
1115
1119
|
end
|
@@ -1122,9 +1126,9 @@ module Google
|
|
1122
1126
|
@pull_queue_config = args[:pull_queue_config] if args.key?(:pull_queue_config)
|
1123
1127
|
@pull_target = args[:pull_target] if args.key?(:pull_target)
|
1124
1128
|
@purge_time = args[:purge_time] if args.key?(:purge_time)
|
1125
|
-
@queue_state = args[:queue_state] if args.key?(:queue_state)
|
1126
1129
|
@rate_limits = args[:rate_limits] if args.key?(:rate_limits)
|
1127
1130
|
@retry_config = args[:retry_config] if args.key?(:retry_config)
|
1131
|
+
@state = args[:state] if args.key?(:state)
|
1128
1132
|
end
|
1129
1133
|
end
|
1130
1134
|
|
@@ -1176,6 +1180,8 @@ module Google
|
|
1176
1180
|
# The maximum allowed value is 500.
|
1177
1181
|
# * For App Engine queues, this field is 1 by default.
|
1178
1182
|
# * For pull queues, this field is output only and always 10,000.
|
1183
|
+
# In addition to the `max_tasks_dispatched_per_second` limit, a maximum of
|
1184
|
+
# 10 QPS of CloudTasks.PullTasks requests are allowed per queue.
|
1179
1185
|
# This field has the same meaning as
|
1180
1186
|
# [rate in queue.yaml](/appengine/docs/standard/python/config/queueref#rate).
|
1181
1187
|
# Corresponds to the JSON property `maxTasksDispatchedPerSecond`
|
@@ -1559,6 +1565,10 @@ module Google
|
|
1559
1565
|
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
|
1560
1566
|
# * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
|
1561
1567
|
# hyphens (-), colons (:), or periods (.).
|
1568
|
+
# * `LOCATION_ID` is the canonical ID for the task's location.
|
1569
|
+
# The list of available locations can be obtained by calling
|
1570
|
+
# google.cloud.location.Locations.ListLocations.
|
1571
|
+
# For more information, see https://cloud.google.com/about/locations/.
|
1562
1572
|
# * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
|
1563
1573
|
# hyphens (-). The maximum length is 100 characters.
|
1564
1574
|
# * `TASK_ID` can contain only letters ([A-Za-z]), numbers ([0-9]),
|
@@ -467,11 +467,11 @@ module Google
|
|
467
467
|
property :pull_target, as: 'pullTarget', class: Google::Apis::CloudtasksV2beta2::PullTarget, decorator: Google::Apis::CloudtasksV2beta2::PullTarget::Representation
|
468
468
|
|
469
469
|
property :purge_time, as: 'purgeTime'
|
470
|
-
property :queue_state, as: 'queueState'
|
471
470
|
property :rate_limits, as: 'rateLimits', class: Google::Apis::CloudtasksV2beta2::RateLimits, decorator: Google::Apis::CloudtasksV2beta2::RateLimits::Representation
|
472
471
|
|
473
472
|
property :retry_config, as: 'retryConfig', class: Google::Apis::CloudtasksV2beta2::RetryConfig, decorator: Google::Apis::CloudtasksV2beta2::RetryConfig::Representation
|
474
473
|
|
474
|
+
property :state, as: 'state'
|
475
475
|
end
|
476
476
|
end
|
477
477
|
|
@@ -345,6 +345,10 @@ module Google
|
|
345
345
|
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
|
346
346
|
# * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
|
347
347
|
# hyphens (-), colons (:), or periods (.).
|
348
|
+
# * `LOCATION_ID` is the canonical ID for the queue's location.
|
349
|
+
# The list of available locations can be obtained by calling
|
350
|
+
# google.cloud.location.Locations.ListLocations.
|
351
|
+
# For more information, see https://cloud.google.com/about/locations/.
|
348
352
|
# * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
|
349
353
|
# hyphens (-). The maximum length is 100 characters.
|
350
354
|
# Caller-specified and required in CreateQueueRequest, after which
|
@@ -388,8 +392,8 @@ module Google
|
|
388
392
|
# tasks in the queue until it is resumed via
|
389
393
|
# CloudTasks.ResumeQueue. Tasks can still be added when the
|
390
394
|
# queue is paused. The state of the queue is stored in
|
391
|
-
# Queue.
|
392
|
-
# Queue.
|
395
|
+
# Queue.state; if paused it will be set to
|
396
|
+
# Queue.State.PAUSED.
|
393
397
|
# @param [String] name
|
394
398
|
# Required.
|
395
399
|
# The queue name. For example:
|
@@ -464,9 +468,9 @@ module Google
|
|
464
468
|
|
465
469
|
# Resume a queue.
|
466
470
|
# This method resumes a queue after it has been
|
467
|
-
# Queue.
|
468
|
-
# a queue is stored in Queue.
|
469
|
-
# will be set to Queue.
|
471
|
+
# Queue.State.PAUSED or Queue.State.DISABLED. The state of
|
472
|
+
# a queue is stored in Queue.state; after calling this method it
|
473
|
+
# will be set to Queue.State.RUNNING.
|
470
474
|
# WARNING: Resuming many high-QPS queues at the same time can
|
471
475
|
# lead to target overloading. If you are resuming high-QPS
|
472
476
|
# queues, follow the 500/50/5 pattern described in
|
@@ -957,7 +961,7 @@ module Google
|
|
957
961
|
# task after a fix has been made or to manually force a task to be
|
958
962
|
# dispatched now.
|
959
963
|
# When this method is called, Cloud Tasks will dispatch the task to its
|
960
|
-
# target, even if the queue is Queue.
|
964
|
+
# target, even if the queue is Queue.State.PAUSED.
|
961
965
|
# The dispatched task is returned. That is, the task that is returned
|
962
966
|
# contains the Task.task_status after the task is dispatched but
|
963
967
|
# before the task is received by its target.
|
@@ -971,6 +975,7 @@ module Google
|
|
971
975
|
# failed. google.rpc.Code.FAILED_PRECONDITION is returned when
|
972
976
|
# CloudTasks.RunTask is called on task that is dispatched or
|
973
977
|
# already running.
|
978
|
+
# CloudTasks.RunTask cannot be called on pull tasks.
|
974
979
|
# @param [String] name
|
975
980
|
# Required.
|
976
981
|
# The task name. For example:
|
@@ -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 = '20171127'
|
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'
|
@@ -541,7 +541,8 @@ module Google
|
|
541
541
|
# @return [String]
|
542
542
|
attr_accessor :address
|
543
543
|
|
544
|
-
# The type of address to reserve. If unspecified,
|
544
|
+
# The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified,
|
545
|
+
# defaults to EXTERNAL.
|
545
546
|
# Corresponds to the JSON property `addressType`
|
546
547
|
# @return [String]
|
547
548
|
attr_accessor :address_type
|
@@ -1193,13 +1194,13 @@ module Google
|
|
1193
1194
|
# projects/debian-cloud/global/images/family/debian-8
|
1194
1195
|
# Alternatively, use a specific version of a public operating system image:
|
1195
1196
|
# projects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD
|
1196
|
-
# To create a disk with a
|
1197
|
+
# To create a disk with a custom image that you created, specify the image name
|
1197
1198
|
# in the following format:
|
1198
|
-
# global/images/my-
|
1199
|
-
# You can also specify a
|
1199
|
+
# global/images/my-custom-image
|
1200
|
+
# You can also specify a custom image by its image family, which returns the
|
1200
1201
|
# latest version of the image in that family. Replace the image name with family/
|
1201
1202
|
# family-name:
|
1202
|
-
# global/images/family/my-
|
1203
|
+
# global/images/family/my-image-family
|
1203
1204
|
# If the source image is deleted later, this field will not be set.
|
1204
1205
|
# Corresponds to the JSON property `sourceImage`
|
1205
1206
|
# @return [String]
|
@@ -3874,6 +3875,39 @@ module Google
|
|
3874
3875
|
end
|
3875
3876
|
end
|
3876
3877
|
|
3878
|
+
# Time window specified for daily maintenance operations.
|
3879
|
+
class DailyMaintenanceWindow
|
3880
|
+
include Google::Apis::Core::Hashable
|
3881
|
+
|
3882
|
+
# Allows to define schedule that runs every nth day of the month.
|
3883
|
+
# Corresponds to the JSON property `daysInCycle`
|
3884
|
+
# @return [Fixnum]
|
3885
|
+
attr_accessor :days_in_cycle
|
3886
|
+
|
3887
|
+
# [Output only] Duration of the time window, automatically chosen to be smallest
|
3888
|
+
# possible in the given scenario.
|
3889
|
+
# Corresponds to the JSON property `duration`
|
3890
|
+
# @return [String]
|
3891
|
+
attr_accessor :duration
|
3892
|
+
|
3893
|
+
# Time within the maintenance window to start the maintenance operations. It
|
3894
|
+
# must be in format "HH:MM?, where HH : [00-23] and MM : [00-59] GMT.
|
3895
|
+
# Corresponds to the JSON property `startTime`
|
3896
|
+
# @return [String]
|
3897
|
+
attr_accessor :start_time
|
3898
|
+
|
3899
|
+
def initialize(**args)
|
3900
|
+
update!(**args)
|
3901
|
+
end
|
3902
|
+
|
3903
|
+
# Update properties of this object
|
3904
|
+
def update!(**args)
|
3905
|
+
@days_in_cycle = args[:days_in_cycle] if args.key?(:days_in_cycle)
|
3906
|
+
@duration = args[:duration] if args.key?(:duration)
|
3907
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
3908
|
+
end
|
3909
|
+
end
|
3910
|
+
|
3877
3911
|
# Deprecation status for a public resource.
|
3878
3912
|
class DeprecationStatus
|
3879
3913
|
include Google::Apis::Core::Hashable
|
@@ -4068,13 +4102,13 @@ module Google
|
|
4068
4102
|
# projects/debian-cloud/global/images/family/debian-8
|
4069
4103
|
# Alternatively, use a specific version of a public operating system image:
|
4070
4104
|
# projects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD
|
4071
|
-
# To create a disk with a
|
4105
|
+
# To create a disk with a custom image that you created, specify the image name
|
4072
4106
|
# in the following format:
|
4073
|
-
# global/images/my-
|
4074
|
-
# You can also specify a
|
4107
|
+
# global/images/my-custom-image
|
4108
|
+
# You can also specify a custom image by its image family, which returns the
|
4075
4109
|
# latest version of the image in that family. Replace the image name with family/
|
4076
4110
|
# family-name:
|
4077
|
-
# global/images/family/my-
|
4111
|
+
# global/images/family/my-image-family
|
4078
4112
|
# Corresponds to the JSON property `sourceImage`
|
4079
4113
|
# @return [String]
|
4080
4114
|
attr_accessor :source_image
|
@@ -7664,6 +7698,39 @@ module Google
|
|
7664
7698
|
end
|
7665
7699
|
end
|
7666
7700
|
|
7701
|
+
# Time window specified for hourly maintenance operations.
|
7702
|
+
class HourlyMaintenanceWindow
|
7703
|
+
include Google::Apis::Core::Hashable
|
7704
|
+
|
7705
|
+
# [Output only] Duration of the time window, automatically chosen to be smallest
|
7706
|
+
# possible in the given scenario.
|
7707
|
+
# Corresponds to the JSON property `duration`
|
7708
|
+
# @return [String]
|
7709
|
+
attr_accessor :duration
|
7710
|
+
|
7711
|
+
# Allows to define schedule that runs every nth hour.
|
7712
|
+
# Corresponds to the JSON property `hoursInCycle`
|
7713
|
+
# @return [Fixnum]
|
7714
|
+
attr_accessor :hours_in_cycle
|
7715
|
+
|
7716
|
+
# Time within the maintenance window to start the maintenance operations. It
|
7717
|
+
# must be in format "HH:MM?, where HH : [00-23] and MM : [00-59] GMT.
|
7718
|
+
# Corresponds to the JSON property `startTime`
|
7719
|
+
# @return [String]
|
7720
|
+
attr_accessor :start_time
|
7721
|
+
|
7722
|
+
def initialize(**args)
|
7723
|
+
update!(**args)
|
7724
|
+
end
|
7725
|
+
|
7726
|
+
# Update properties of this object
|
7727
|
+
def update!(**args)
|
7728
|
+
@duration = args[:duration] if args.key?(:duration)
|
7729
|
+
@hours_in_cycle = args[:hours_in_cycle] if args.key?(:hours_in_cycle)
|
7730
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
7731
|
+
end
|
7732
|
+
end
|
7733
|
+
|
7667
7734
|
# An HttpHealthCheck resource. This resource defines a template for how
|
7668
7735
|
# individual instances should be checked for health, via HTTP.
|
7669
7736
|
class HttpHealthCheck
|
@@ -8267,6 +8334,28 @@ module Google
|
|
8267
8334
|
# @return [String]
|
8268
8335
|
attr_accessor :source_image_id
|
8269
8336
|
|
8337
|
+
# URL of the source snapshot used to create this image. This can be a full or
|
8338
|
+
# valid partial URL. You must provide exactly one of:
|
8339
|
+
# - this property, or
|
8340
|
+
# - the sourceImage property, or
|
8341
|
+
# - the rawDisk.source property, or
|
8342
|
+
# - the sourceDisk property in order to create an image.
|
8343
|
+
# Corresponds to the JSON property `sourceSnapshot`
|
8344
|
+
# @return [String]
|
8345
|
+
attr_accessor :source_snapshot
|
8346
|
+
|
8347
|
+
# Represents a customer-supplied encryption key
|
8348
|
+
# Corresponds to the JSON property `sourceSnapshotEncryptionKey`
|
8349
|
+
# @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
|
8350
|
+
attr_accessor :source_snapshot_encryption_key
|
8351
|
+
|
8352
|
+
# [Output Only] The ID value of the snapshot used to create this image. This
|
8353
|
+
# value may be used to determine whether the snapshot was taken from the current
|
8354
|
+
# or a previous instance of a given snapshot name.
|
8355
|
+
# Corresponds to the JSON property `sourceSnapshotId`
|
8356
|
+
# @return [String]
|
8357
|
+
attr_accessor :source_snapshot_id
|
8358
|
+
|
8270
8359
|
# The type of the image used to create this disk. The default and only value is
|
8271
8360
|
# RAW
|
8272
8361
|
# Corresponds to the JSON property `sourceType`
|
@@ -8310,6 +8399,9 @@ module Google
|
|
8310
8399
|
@source_image = args[:source_image] if args.key?(:source_image)
|
8311
8400
|
@source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
|
8312
8401
|
@source_image_id = args[:source_image_id] if args.key?(:source_image_id)
|
8402
|
+
@source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
|
8403
|
+
@source_snapshot_encryption_key = args[:source_snapshot_encryption_key] if args.key?(:source_snapshot_encryption_key)
|
8404
|
+
@source_snapshot_id = args[:source_snapshot_id] if args.key?(:source_snapshot_id)
|
8313
8405
|
@source_type = args[:source_type] if args.key?(:source_type)
|
8314
8406
|
@status = args[:status] if args.key?(:status)
|
8315
8407
|
end
|
@@ -8625,6 +8717,11 @@ module Google
|
|
8625
8717
|
# @return [Array<Google::Apis::ComputeAlpha::ServiceAccount>]
|
8626
8718
|
attr_accessor :service_accounts
|
8627
8719
|
|
8720
|
+
# A set of Shielded VM options.
|
8721
|
+
# Corresponds to the JSON property `shieldedVmConfig`
|
8722
|
+
# @return [Google::Apis::ComputeAlpha::ShieldedVmConfig]
|
8723
|
+
attr_accessor :shielded_vm_config
|
8724
|
+
|
8628
8725
|
# [Output Only] Whether a VM has been restricted for start because Compute
|
8629
8726
|
# Engine has detected suspicious activity.
|
8630
8727
|
# Corresponds to the JSON property `startRestricted`
|
@@ -8682,6 +8779,7 @@ module Google
|
|
8682
8779
|
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
8683
8780
|
@self_link = args[:self_link] if args.key?(:self_link)
|
8684
8781
|
@service_accounts = args[:service_accounts] if args.key?(:service_accounts)
|
8782
|
+
@shielded_vm_config = args[:shielded_vm_config] if args.key?(:shielded_vm_config)
|
8685
8783
|
@start_restricted = args[:start_restricted] if args.key?(:start_restricted)
|
8686
8784
|
@status = args[:status] if args.key?(:status)
|
8687
8785
|
@status_message = args[:status_message] if args.key?(:status_message)
|
@@ -9631,6 +9729,11 @@ module Google
|
|
9631
9729
|
# @return [Google::Apis::ComputeAlpha::FixedOrPercent]
|
9632
9730
|
attr_accessor :max_unavailable
|
9633
9731
|
|
9732
|
+
# Defines operating mode for this policy.
|
9733
|
+
# Corresponds to the JSON property `mode`
|
9734
|
+
# @return [String]
|
9735
|
+
attr_accessor :mode
|
9736
|
+
|
9634
9737
|
def initialize(**args)
|
9635
9738
|
update!(**args)
|
9636
9739
|
end
|
@@ -9640,6 +9743,7 @@ module Google
|
|
9640
9743
|
@health_check = args[:health_check] if args.key?(:health_check)
|
9641
9744
|
@initial_delay_sec = args[:initial_delay_sec] if args.key?(:initial_delay_sec)
|
9642
9745
|
@max_unavailable = args[:max_unavailable] if args.key?(:max_unavailable)
|
9746
|
+
@mode = args[:mode] if args.key?(:mode)
|
9643
9747
|
end
|
9644
9748
|
end
|
9645
9749
|
|
@@ -11280,6 +11384,44 @@ module Google
|
|
11280
11384
|
end
|
11281
11385
|
end
|
11282
11386
|
|
11387
|
+
#
|
11388
|
+
class InstancesAddMaintenancePoliciesRequest
|
11389
|
+
include Google::Apis::Core::Hashable
|
11390
|
+
|
11391
|
+
# Maintenance policies to be added to this instance.
|
11392
|
+
# Corresponds to the JSON property `maintenancePolicies`
|
11393
|
+
# @return [Array<String>]
|
11394
|
+
attr_accessor :maintenance_policies
|
11395
|
+
|
11396
|
+
def initialize(**args)
|
11397
|
+
update!(**args)
|
11398
|
+
end
|
11399
|
+
|
11400
|
+
# Update properties of this object
|
11401
|
+
def update!(**args)
|
11402
|
+
@maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
|
11403
|
+
end
|
11404
|
+
end
|
11405
|
+
|
11406
|
+
#
|
11407
|
+
class InstancesRemoveMaintenancePoliciesRequest
|
11408
|
+
include Google::Apis::Core::Hashable
|
11409
|
+
|
11410
|
+
# Maintenance policies to be removed from this instance.
|
11411
|
+
# Corresponds to the JSON property `maintenancePolicies`
|
11412
|
+
# @return [Array<String>]
|
11413
|
+
attr_accessor :maintenance_policies
|
11414
|
+
|
11415
|
+
def initialize(**args)
|
11416
|
+
update!(**args)
|
11417
|
+
end
|
11418
|
+
|
11419
|
+
# Update properties of this object
|
11420
|
+
def update!(**args)
|
11421
|
+
@maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
|
11422
|
+
end
|
11423
|
+
end
|
11424
|
+
|
11283
11425
|
#
|
11284
11426
|
class InstancesScopedList
|
11285
11427
|
include Google::Apis::Core::Hashable
|
@@ -11513,16 +11655,16 @@ module Google
|
|
11513
11655
|
end
|
11514
11656
|
end
|
11515
11657
|
|
11516
|
-
#
|
11517
|
-
#
|
11658
|
+
# Represents an Interconnects resource. The Interconnects resource is a
|
11659
|
+
# dedicated connection between Google's network and your on-premises network.
|
11660
|
+
# For more information, see the Dedicated overview page.
|
11518
11661
|
class Interconnect
|
11519
11662
|
include Google::Apis::Core::Hashable
|
11520
11663
|
|
11521
|
-
# Administrative status of the interconnect. When this is set to
|
11522
|
-
# Interconnect is functional and
|
11523
|
-
#
|
11524
|
-
#
|
11525
|
-
# routes will be exchanged over it. By default, it is set to ?true?.
|
11664
|
+
# Administrative status of the interconnect. When this is set to true, the
|
11665
|
+
# Interconnect is functional and can carry traffic. When set to false, no
|
11666
|
+
# packets can be carried over the interconnect and no BGP routes are exchanged
|
11667
|
+
# over it. By default, the status is set to true.
|
11526
11668
|
# Corresponds to the JSON property `adminEnabled`
|
11527
11669
|
# @return [Boolean]
|
11528
11670
|
attr_accessor :admin_enabled
|
@@ -11580,7 +11722,8 @@ module Google
|
|
11580
11722
|
# @return [Array<String>]
|
11581
11723
|
attr_accessor :interconnect_attachments
|
11582
11724
|
|
11583
|
-
#
|
11725
|
+
# Type of interconnect. Note that "IT_PRIVATE" has been deprecated in favor of "
|
11726
|
+
# DEDICATED"
|
11584
11727
|
# Corresponds to the JSON property `interconnectType`
|
11585
11728
|
# @return [String]
|
11586
11729
|
attr_accessor :interconnect_type
|
@@ -11591,7 +11734,9 @@ module Google
|
|
11591
11734
|
# @return [String]
|
11592
11735
|
attr_accessor :kind
|
11593
11736
|
|
11594
|
-
#
|
11737
|
+
# Type of link requested. This field indicates speed of each of the links in the
|
11738
|
+
# bundle, not the entire bundle. Only 10G per link is allowed for a dedicated
|
11739
|
+
# interconnect. Options: Ethernet_10G_LR
|
11595
11740
|
# Corresponds to the JSON property `linkType`
|
11596
11741
|
# @return [String]
|
11597
11742
|
attr_accessor :link_type
|
@@ -11679,11 +11824,39 @@ module Google
|
|
11679
11824
|
end
|
11680
11825
|
end
|
11681
11826
|
|
11682
|
-
#
|
11683
|
-
#
|
11827
|
+
# Represents an InterconnectAttachment (VLAN attachment) resource. For more
|
11828
|
+
# information, see Creating VLAN Attachments.
|
11684
11829
|
class InterconnectAttachment
|
11685
11830
|
include Google::Apis::Core::Hashable
|
11686
11831
|
|
11832
|
+
# Determines whether this Attachment will carry packets. Not present for
|
11833
|
+
# PARTNER_PROVIDER.
|
11834
|
+
# Corresponds to the JSON property `adminEnabled`
|
11835
|
+
# @return [Boolean]
|
11836
|
+
attr_accessor :admin_enabled
|
11837
|
+
alias_method :admin_enabled?, :admin_enabled
|
11838
|
+
|
11839
|
+
#
|
11840
|
+
# Corresponds to the JSON property `availabilityZone`
|
11841
|
+
# @return [String]
|
11842
|
+
attr_accessor :availability_zone
|
11843
|
+
|
11844
|
+
#
|
11845
|
+
# Corresponds to the JSON property `bandwidth`
|
11846
|
+
# @return [String]
|
11847
|
+
attr_accessor :bandwidth
|
11848
|
+
|
11849
|
+
# Up to 16 candidate prefixes that can be used to restrict the allocation of
|
11850
|
+
# cloudRouterIpAddress and customerRouterIpAddress for this attachment. All
|
11851
|
+
# prefixes must be within link-local address space (169.254.0.0/16) and must be /
|
11852
|
+
# 29 or shorter (/28, /27, etc). Google will attempt to select an unused /29
|
11853
|
+
# from the supplied candidate prefix(es). The request will fail if all possible /
|
11854
|
+
# 29s are in use on Google?s edge. If not supplied, Google will randomly select
|
11855
|
+
# an unused /29 from all of link-local space.
|
11856
|
+
# Corresponds to the JSON property `candidateSubnets`
|
11857
|
+
# @return [Array<String>]
|
11858
|
+
attr_accessor :candidate_subnets
|
11859
|
+
|
11687
11860
|
# [Output Only] IPv4 address + prefix length to be configured on Cloud Router
|
11688
11861
|
# Interface for this interconnect attachment.
|
11689
11862
|
# Corresponds to the JSON property `cloudRouterIpAddress`
|
@@ -11701,8 +11874,7 @@ module Google
|
|
11701
11874
|
# @return [String]
|
11702
11875
|
attr_accessor :customer_router_ip_address
|
11703
11876
|
|
11704
|
-
# An optional description of this resource.
|
11705
|
-
# create the resource.
|
11877
|
+
# An optional description of this resource.
|
11706
11878
|
# Corresponds to the JSON property `description`
|
11707
11879
|
# @return [String]
|
11708
11880
|
attr_accessor :description
|
@@ -11747,8 +11919,15 @@ module Google
|
|
11747
11919
|
# @return [String]
|
11748
11920
|
attr_accessor :operational_status
|
11749
11921
|
|
11750
|
-
#
|
11751
|
-
#
|
11922
|
+
# [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present
|
11923
|
+
# for DEDICATED]. Opaque string identifying an PARTNER attachment. Of the form ?
|
11924
|
+
# cloud-region/XXXXXX?.
|
11925
|
+
# Corresponds to the JSON property `pairingKey`
|
11926
|
+
# @return [String]
|
11927
|
+
attr_accessor :pairing_key
|
11928
|
+
|
11929
|
+
# Information for an interconnect attachment when this belongs to an
|
11930
|
+
# interconnect of type DEDICATED.
|
11752
11931
|
# Corresponds to the JSON property `privateInterconnectInfo`
|
11753
11932
|
# @return [Google::Apis::ComputeAlpha::InterconnectAttachmentPrivateInfo]
|
11754
11933
|
attr_accessor :private_interconnect_info
|
@@ -11772,12 +11951,34 @@ module Google
|
|
11772
11951
|
# @return [String]
|
11773
11952
|
attr_accessor :self_link
|
11774
11953
|
|
11954
|
+
# [Output Only] The current state of whether or not this interconnect attachment
|
11955
|
+
# is functional.
|
11956
|
+
# Corresponds to the JSON property `state`
|
11957
|
+
# @return [String]
|
11958
|
+
attr_accessor :state
|
11959
|
+
|
11960
|
+
#
|
11961
|
+
# Corresponds to the JSON property `type`
|
11962
|
+
# @return [String]
|
11963
|
+
attr_accessor :type
|
11964
|
+
|
11965
|
+
# Available only for DEDICATED and PARTNER_PROVIDER New field: VLAN. Only
|
11966
|
+
# specified at creation time. This field is mapped to ieee_802_1q_tag in the
|
11967
|
+
# resource proto.
|
11968
|
+
# Corresponds to the JSON property `vlanTag8021q`
|
11969
|
+
# @return [Fixnum]
|
11970
|
+
attr_accessor :vlan_tag8021q
|
11971
|
+
|
11775
11972
|
def initialize(**args)
|
11776
11973
|
update!(**args)
|
11777
11974
|
end
|
11778
11975
|
|
11779
11976
|
# Update properties of this object
|
11780
11977
|
def update!(**args)
|
11978
|
+
@admin_enabled = args[:admin_enabled] if args.key?(:admin_enabled)
|
11979
|
+
@availability_zone = args[:availability_zone] if args.key?(:availability_zone)
|
11980
|
+
@bandwidth = args[:bandwidth] if args.key?(:bandwidth)
|
11981
|
+
@candidate_subnets = args[:candidate_subnets] if args.key?(:candidate_subnets)
|
11781
11982
|
@cloud_router_ip_address = args[:cloud_router_ip_address] if args.key?(:cloud_router_ip_address)
|
11782
11983
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
11783
11984
|
@customer_router_ip_address = args[:customer_router_ip_address] if args.key?(:customer_router_ip_address)
|
@@ -11788,10 +11989,14 @@ module Google
|
|
11788
11989
|
@kind = args[:kind] if args.key?(:kind)
|
11789
11990
|
@name = args[:name] if args.key?(:name)
|
11790
11991
|
@operational_status = args[:operational_status] if args.key?(:operational_status)
|
11992
|
+
@pairing_key = args[:pairing_key] if args.key?(:pairing_key)
|
11791
11993
|
@private_interconnect_info = args[:private_interconnect_info] if args.key?(:private_interconnect_info)
|
11792
11994
|
@region = args[:region] if args.key?(:region)
|
11793
11995
|
@router = args[:router] if args.key?(:router)
|
11794
11996
|
@self_link = args[:self_link] if args.key?(:self_link)
|
11997
|
+
@state = args[:state] if args.key?(:state)
|
11998
|
+
@type = args[:type] if args.key?(:type)
|
11999
|
+
@vlan_tag8021q = args[:vlan_tag8021q] if args.key?(:vlan_tag8021q)
|
11795
12000
|
end
|
11796
12001
|
end
|
11797
12002
|
|
@@ -12032,8 +12237,8 @@ module Google
|
|
12032
12237
|
end
|
12033
12238
|
end
|
12034
12239
|
|
12035
|
-
#
|
12036
|
-
# interconnect of type
|
12240
|
+
# Information for an interconnect attachment when this belongs to an
|
12241
|
+
# interconnect of type DEDICATED.
|
12037
12242
|
class InterconnectAttachmentPrivateInfo
|
12038
12243
|
include Google::Apis::Core::Hashable
|
12039
12244
|
|
@@ -12150,8 +12355,7 @@ module Google
|
|
12150
12355
|
class InterconnectCircuitInfo
|
12151
12356
|
include Google::Apis::Core::Hashable
|
12152
12357
|
|
12153
|
-
# Customer-side demarc ID for this circuit.
|
12154
|
-
# provided by the Customer to Google during circuit turn-up.
|
12358
|
+
# Customer-side demarc ID for this circuit.
|
12155
12359
|
# Corresponds to the JSON property `customerDemarcId`
|
12156
12360
|
# @return [String]
|
12157
12361
|
attr_accessor :customer_demarc_id
|
@@ -12297,7 +12501,9 @@ module Google
|
|
12297
12501
|
end
|
12298
12502
|
end
|
12299
12503
|
|
12300
|
-
#
|
12504
|
+
# Represents an InterconnectLocations resource. The InterconnectLocations
|
12505
|
+
# resource describes the locations where you can connect to Google's networks.
|
12506
|
+
# For more information, see Colocation Facilities.
|
12301
12507
|
class InterconnectLocation
|
12302
12508
|
include Google::Apis::Core::Hashable
|
12303
12509
|
|
@@ -12307,22 +12513,20 @@ module Google
|
|
12307
12513
|
# @return [String]
|
12308
12514
|
attr_accessor :address
|
12309
12515
|
|
12310
|
-
# Availability zone for this location. Within a
|
12311
|
-
# simultaneously scheduled in more than one
|
12312
|
-
# or "zone2".
|
12516
|
+
# [Output Only] Availability zone for this location. Within a metropolitan area (
|
12517
|
+
# metro), maintenance will not be simultaneously scheduled in more than one
|
12518
|
+
# availability zone. Example: "zone1" or "zone2".
|
12313
12519
|
# Corresponds to the JSON property `availabilityZone`
|
12314
12520
|
# @return [String]
|
12315
12521
|
attr_accessor :availability_zone
|
12316
12522
|
|
12317
|
-
#
|
12318
|
-
#
|
12319
|
-
# Amsterdam, Netherlands".
|
12523
|
+
# [Output Only] Metropolitan area designator that indicates which city an
|
12524
|
+
# interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands".
|
12320
12525
|
# Corresponds to the JSON property `city`
|
12321
12526
|
# @return [String]
|
12322
12527
|
attr_accessor :city
|
12323
12528
|
|
12324
|
-
# Continent for this location.
|
12325
|
-
# UI.
|
12529
|
+
# [Output Only] Continent for this location.
|
12326
12530
|
# Corresponds to the JSON property `continent`
|
12327
12531
|
# @return [String]
|
12328
12532
|
attr_accessor :continent
|
@@ -12567,17 +12771,18 @@ module Google
|
|
12567
12771
|
# @return [Array<String>]
|
12568
12772
|
attr_accessor :affected_circuits
|
12569
12773
|
|
12570
|
-
#
|
12774
|
+
# A description about the purpose of the outage.
|
12571
12775
|
# Corresponds to the JSON property `description`
|
12572
12776
|
# @return [String]
|
12573
12777
|
attr_accessor :description
|
12574
12778
|
|
12575
|
-
#
|
12779
|
+
# Scheduled end time for the outage (milliseconds since Unix epoch).
|
12576
12780
|
# Corresponds to the JSON property `endTime`
|
12577
12781
|
# @return [Fixnum]
|
12578
12782
|
attr_accessor :end_time
|
12579
12783
|
|
12580
|
-
#
|
12784
|
+
# Form this outage is expected to take. Note that the "IT_" versions of this
|
12785
|
+
# enum have been deprecated in favor of the unprefixed values.
|
12581
12786
|
# Corresponds to the JSON property `issueType`
|
12582
12787
|
# @return [String]
|
12583
12788
|
attr_accessor :issue_type
|
@@ -12587,17 +12792,19 @@ module Google
|
|
12587
12792
|
# @return [String]
|
12588
12793
|
attr_accessor :name
|
12589
12794
|
|
12590
|
-
#
|
12795
|
+
# The party that generated this notification. Note that "NSRC_GOOGLE" has been
|
12796
|
+
# deprecated in favor of "GOOGLE"
|
12591
12797
|
# Corresponds to the JSON property `source`
|
12592
12798
|
# @return [String]
|
12593
12799
|
attr_accessor :source
|
12594
12800
|
|
12595
|
-
# Scheduled start
|
12801
|
+
# Scheduled start time for the outage (milliseconds since Unix epoch).
|
12596
12802
|
# Corresponds to the JSON property `startTime`
|
12597
12803
|
# @return [Fixnum]
|
12598
12804
|
attr_accessor :start_time
|
12599
12805
|
|
12600
|
-
#
|
12806
|
+
# State of this notification. Note that the "NS_" versions of this enum have
|
12807
|
+
# been deprecated in favor of the unprefixed values.
|
12601
12808
|
# Corresponds to the JSON property `state`
|
12602
12809
|
# @return [String]
|
12603
12810
|
attr_accessor :state
|
@@ -13312,21 +13519,349 @@ module Google
|
|
13312
13519
|
end
|
13313
13520
|
|
13314
13521
|
#
|
13315
|
-
class MachineTypeAggregatedList
|
13522
|
+
class MachineTypeAggregatedList
|
13523
|
+
include Google::Apis::Core::Hashable
|
13524
|
+
|
13525
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
13526
|
+
# Corresponds to the JSON property `id`
|
13527
|
+
# @return [String]
|
13528
|
+
attr_accessor :id
|
13529
|
+
|
13530
|
+
# A list of MachineTypesScopedList resources.
|
13531
|
+
# Corresponds to the JSON property `items`
|
13532
|
+
# @return [Hash<String,Google::Apis::ComputeAlpha::MachineTypesScopedList>]
|
13533
|
+
attr_accessor :items
|
13534
|
+
|
13535
|
+
# [Output Only] Type of resource. Always compute#machineTypeAggregatedList for
|
13536
|
+
# aggregated lists of machine types.
|
13537
|
+
# Corresponds to the JSON property `kind`
|
13538
|
+
# @return [String]
|
13539
|
+
attr_accessor :kind
|
13540
|
+
|
13541
|
+
# [Output Only] This token allows you to get the next page of results for list
|
13542
|
+
# requests. If the number of results is larger than maxResults, use the
|
13543
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
13544
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
13545
|
+
# continue paging through the results.
|
13546
|
+
# Corresponds to the JSON property `nextPageToken`
|
13547
|
+
# @return [String]
|
13548
|
+
attr_accessor :next_page_token
|
13549
|
+
|
13550
|
+
# [Output Only] Server-defined URL for this resource.
|
13551
|
+
# Corresponds to the JSON property `selfLink`
|
13552
|
+
# @return [String]
|
13553
|
+
attr_accessor :self_link
|
13554
|
+
|
13555
|
+
# [Output Only] Informational warning message.
|
13556
|
+
# Corresponds to the JSON property `warning`
|
13557
|
+
# @return [Google::Apis::ComputeAlpha::MachineTypeAggregatedList::Warning]
|
13558
|
+
attr_accessor :warning
|
13559
|
+
|
13560
|
+
def initialize(**args)
|
13561
|
+
update!(**args)
|
13562
|
+
end
|
13563
|
+
|
13564
|
+
# Update properties of this object
|
13565
|
+
def update!(**args)
|
13566
|
+
@id = args[:id] if args.key?(:id)
|
13567
|
+
@items = args[:items] if args.key?(:items)
|
13568
|
+
@kind = args[:kind] if args.key?(:kind)
|
13569
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
13570
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
13571
|
+
@warning = args[:warning] if args.key?(:warning)
|
13572
|
+
end
|
13573
|
+
|
13574
|
+
# [Output Only] Informational warning message.
|
13575
|
+
class Warning
|
13576
|
+
include Google::Apis::Core::Hashable
|
13577
|
+
|
13578
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
13579
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
13580
|
+
# Corresponds to the JSON property `code`
|
13581
|
+
# @return [String]
|
13582
|
+
attr_accessor :code
|
13583
|
+
|
13584
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
13585
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
13586
|
+
# Corresponds to the JSON property `data`
|
13587
|
+
# @return [Array<Google::Apis::ComputeAlpha::MachineTypeAggregatedList::Warning::Datum>]
|
13588
|
+
attr_accessor :data
|
13589
|
+
|
13590
|
+
# [Output Only] A human-readable description of the warning code.
|
13591
|
+
# Corresponds to the JSON property `message`
|
13592
|
+
# @return [String]
|
13593
|
+
attr_accessor :message
|
13594
|
+
|
13595
|
+
def initialize(**args)
|
13596
|
+
update!(**args)
|
13597
|
+
end
|
13598
|
+
|
13599
|
+
# Update properties of this object
|
13600
|
+
def update!(**args)
|
13601
|
+
@code = args[:code] if args.key?(:code)
|
13602
|
+
@data = args[:data] if args.key?(:data)
|
13603
|
+
@message = args[:message] if args.key?(:message)
|
13604
|
+
end
|
13605
|
+
|
13606
|
+
#
|
13607
|
+
class Datum
|
13608
|
+
include Google::Apis::Core::Hashable
|
13609
|
+
|
13610
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
13611
|
+
# For example, for warnings where there are no results in a list request for a
|
13612
|
+
# particular zone, this key might be scope and the key value might be the zone
|
13613
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
13614
|
+
# suggested replacement, or a warning about invalid network settings (for
|
13615
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
13616
|
+
# for IP forwarding).
|
13617
|
+
# Corresponds to the JSON property `key`
|
13618
|
+
# @return [String]
|
13619
|
+
attr_accessor :key
|
13620
|
+
|
13621
|
+
# [Output Only] A warning data value corresponding to the key.
|
13622
|
+
# Corresponds to the JSON property `value`
|
13623
|
+
# @return [String]
|
13624
|
+
attr_accessor :value
|
13625
|
+
|
13626
|
+
def initialize(**args)
|
13627
|
+
update!(**args)
|
13628
|
+
end
|
13629
|
+
|
13630
|
+
# Update properties of this object
|
13631
|
+
def update!(**args)
|
13632
|
+
@key = args[:key] if args.key?(:key)
|
13633
|
+
@value = args[:value] if args.key?(:value)
|
13634
|
+
end
|
13635
|
+
end
|
13636
|
+
end
|
13637
|
+
end
|
13638
|
+
|
13639
|
+
# Contains a list of machine types.
|
13640
|
+
class MachineTypeList
|
13641
|
+
include Google::Apis::Core::Hashable
|
13642
|
+
|
13643
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
13644
|
+
# Corresponds to the JSON property `id`
|
13645
|
+
# @return [String]
|
13646
|
+
attr_accessor :id
|
13647
|
+
|
13648
|
+
# A list of MachineType resources.
|
13649
|
+
# Corresponds to the JSON property `items`
|
13650
|
+
# @return [Array<Google::Apis::ComputeAlpha::MachineType>]
|
13651
|
+
attr_accessor :items
|
13652
|
+
|
13653
|
+
# [Output Only] Type of resource. Always compute#machineTypeList for lists of
|
13654
|
+
# machine types.
|
13655
|
+
# Corresponds to the JSON property `kind`
|
13656
|
+
# @return [String]
|
13657
|
+
attr_accessor :kind
|
13658
|
+
|
13659
|
+
# [Output Only] This token allows you to get the next page of results for list
|
13660
|
+
# requests. If the number of results is larger than maxResults, use the
|
13661
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
13662
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
13663
|
+
# continue paging through the results.
|
13664
|
+
# Corresponds to the JSON property `nextPageToken`
|
13665
|
+
# @return [String]
|
13666
|
+
attr_accessor :next_page_token
|
13667
|
+
|
13668
|
+
# [Output Only] Server-defined URL for this resource.
|
13669
|
+
# Corresponds to the JSON property `selfLink`
|
13670
|
+
# @return [String]
|
13671
|
+
attr_accessor :self_link
|
13672
|
+
|
13673
|
+
# [Output Only] Informational warning message.
|
13674
|
+
# Corresponds to the JSON property `warning`
|
13675
|
+
# @return [Google::Apis::ComputeAlpha::MachineTypeList::Warning]
|
13676
|
+
attr_accessor :warning
|
13677
|
+
|
13678
|
+
def initialize(**args)
|
13679
|
+
update!(**args)
|
13680
|
+
end
|
13681
|
+
|
13682
|
+
# Update properties of this object
|
13683
|
+
def update!(**args)
|
13684
|
+
@id = args[:id] if args.key?(:id)
|
13685
|
+
@items = args[:items] if args.key?(:items)
|
13686
|
+
@kind = args[:kind] if args.key?(:kind)
|
13687
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
13688
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
13689
|
+
@warning = args[:warning] if args.key?(:warning)
|
13690
|
+
end
|
13691
|
+
|
13692
|
+
# [Output Only] Informational warning message.
|
13693
|
+
class Warning
|
13694
|
+
include Google::Apis::Core::Hashable
|
13695
|
+
|
13696
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
13697
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
13698
|
+
# Corresponds to the JSON property `code`
|
13699
|
+
# @return [String]
|
13700
|
+
attr_accessor :code
|
13701
|
+
|
13702
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
13703
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
13704
|
+
# Corresponds to the JSON property `data`
|
13705
|
+
# @return [Array<Google::Apis::ComputeAlpha::MachineTypeList::Warning::Datum>]
|
13706
|
+
attr_accessor :data
|
13707
|
+
|
13708
|
+
# [Output Only] A human-readable description of the warning code.
|
13709
|
+
# Corresponds to the JSON property `message`
|
13710
|
+
# @return [String]
|
13711
|
+
attr_accessor :message
|
13712
|
+
|
13713
|
+
def initialize(**args)
|
13714
|
+
update!(**args)
|
13715
|
+
end
|
13716
|
+
|
13717
|
+
# Update properties of this object
|
13718
|
+
def update!(**args)
|
13719
|
+
@code = args[:code] if args.key?(:code)
|
13720
|
+
@data = args[:data] if args.key?(:data)
|
13721
|
+
@message = args[:message] if args.key?(:message)
|
13722
|
+
end
|
13723
|
+
|
13724
|
+
#
|
13725
|
+
class Datum
|
13726
|
+
include Google::Apis::Core::Hashable
|
13727
|
+
|
13728
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
13729
|
+
# For example, for warnings where there are no results in a list request for a
|
13730
|
+
# particular zone, this key might be scope and the key value might be the zone
|
13731
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
13732
|
+
# suggested replacement, or a warning about invalid network settings (for
|
13733
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
13734
|
+
# for IP forwarding).
|
13735
|
+
# Corresponds to the JSON property `key`
|
13736
|
+
# @return [String]
|
13737
|
+
attr_accessor :key
|
13738
|
+
|
13739
|
+
# [Output Only] A warning data value corresponding to the key.
|
13740
|
+
# Corresponds to the JSON property `value`
|
13741
|
+
# @return [String]
|
13742
|
+
attr_accessor :value
|
13743
|
+
|
13744
|
+
def initialize(**args)
|
13745
|
+
update!(**args)
|
13746
|
+
end
|
13747
|
+
|
13748
|
+
# Update properties of this object
|
13749
|
+
def update!(**args)
|
13750
|
+
@key = args[:key] if args.key?(:key)
|
13751
|
+
@value = args[:value] if args.key?(:value)
|
13752
|
+
end
|
13753
|
+
end
|
13754
|
+
end
|
13755
|
+
end
|
13756
|
+
|
13757
|
+
#
|
13758
|
+
class MachineTypesScopedList
|
13759
|
+
include Google::Apis::Core::Hashable
|
13760
|
+
|
13761
|
+
# [Output Only] List of machine types contained in this scope.
|
13762
|
+
# Corresponds to the JSON property `machineTypes`
|
13763
|
+
# @return [Array<Google::Apis::ComputeAlpha::MachineType>]
|
13764
|
+
attr_accessor :machine_types
|
13765
|
+
|
13766
|
+
# [Output Only] An informational warning that appears when the machine types
|
13767
|
+
# list is empty.
|
13768
|
+
# Corresponds to the JSON property `warning`
|
13769
|
+
# @return [Google::Apis::ComputeAlpha::MachineTypesScopedList::Warning]
|
13770
|
+
attr_accessor :warning
|
13771
|
+
|
13772
|
+
def initialize(**args)
|
13773
|
+
update!(**args)
|
13774
|
+
end
|
13775
|
+
|
13776
|
+
# Update properties of this object
|
13777
|
+
def update!(**args)
|
13778
|
+
@machine_types = args[:machine_types] if args.key?(:machine_types)
|
13779
|
+
@warning = args[:warning] if args.key?(:warning)
|
13780
|
+
end
|
13781
|
+
|
13782
|
+
# [Output Only] An informational warning that appears when the machine types
|
13783
|
+
# list is empty.
|
13784
|
+
class Warning
|
13785
|
+
include Google::Apis::Core::Hashable
|
13786
|
+
|
13787
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
13788
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
13789
|
+
# Corresponds to the JSON property `code`
|
13790
|
+
# @return [String]
|
13791
|
+
attr_accessor :code
|
13792
|
+
|
13793
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
13794
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
13795
|
+
# Corresponds to the JSON property `data`
|
13796
|
+
# @return [Array<Google::Apis::ComputeAlpha::MachineTypesScopedList::Warning::Datum>]
|
13797
|
+
attr_accessor :data
|
13798
|
+
|
13799
|
+
# [Output Only] A human-readable description of the warning code.
|
13800
|
+
# Corresponds to the JSON property `message`
|
13801
|
+
# @return [String]
|
13802
|
+
attr_accessor :message
|
13803
|
+
|
13804
|
+
def initialize(**args)
|
13805
|
+
update!(**args)
|
13806
|
+
end
|
13807
|
+
|
13808
|
+
# Update properties of this object
|
13809
|
+
def update!(**args)
|
13810
|
+
@code = args[:code] if args.key?(:code)
|
13811
|
+
@data = args[:data] if args.key?(:data)
|
13812
|
+
@message = args[:message] if args.key?(:message)
|
13813
|
+
end
|
13814
|
+
|
13815
|
+
#
|
13816
|
+
class Datum
|
13817
|
+
include Google::Apis::Core::Hashable
|
13818
|
+
|
13819
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
13820
|
+
# For example, for warnings where there are no results in a list request for a
|
13821
|
+
# particular zone, this key might be scope and the key value might be the zone
|
13822
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
13823
|
+
# suggested replacement, or a warning about invalid network settings (for
|
13824
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
13825
|
+
# for IP forwarding).
|
13826
|
+
# Corresponds to the JSON property `key`
|
13827
|
+
# @return [String]
|
13828
|
+
attr_accessor :key
|
13829
|
+
|
13830
|
+
# [Output Only] A warning data value corresponding to the key.
|
13831
|
+
# Corresponds to the JSON property `value`
|
13832
|
+
# @return [String]
|
13833
|
+
attr_accessor :value
|
13834
|
+
|
13835
|
+
def initialize(**args)
|
13836
|
+
update!(**args)
|
13837
|
+
end
|
13838
|
+
|
13839
|
+
# Update properties of this object
|
13840
|
+
def update!(**args)
|
13841
|
+
@key = args[:key] if args.key?(:key)
|
13842
|
+
@value = args[:value] if args.key?(:value)
|
13843
|
+
end
|
13844
|
+
end
|
13845
|
+
end
|
13846
|
+
end
|
13847
|
+
|
13848
|
+
#
|
13849
|
+
class MaintenancePoliciesList
|
13316
13850
|
include Google::Apis::Core::Hashable
|
13317
13851
|
|
13318
|
-
# [Output Only]
|
13852
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
13853
|
+
# defined by the server.
|
13319
13854
|
# Corresponds to the JSON property `id`
|
13320
13855
|
# @return [String]
|
13321
13856
|
attr_accessor :id
|
13322
13857
|
|
13323
|
-
# A list of
|
13858
|
+
# [Output Only] A list of MaintenancePolicy resources.
|
13324
13859
|
# Corresponds to the JSON property `items`
|
13325
|
-
# @return [
|
13860
|
+
# @return [Array<Google::Apis::ComputeAlpha::MaintenancePolicy>]
|
13326
13861
|
attr_accessor :items
|
13327
13862
|
|
13328
|
-
# [Output Only] Type of resource.
|
13329
|
-
#
|
13863
|
+
# [Output Only] Type of resource.Always compute#maintenancePoliciesList for
|
13864
|
+
# listsof maintenancePolicies
|
13330
13865
|
# Corresponds to the JSON property `kind`
|
13331
13866
|
# @return [String]
|
13332
13867
|
attr_accessor :kind
|
@@ -13347,7 +13882,7 @@ module Google
|
|
13347
13882
|
|
13348
13883
|
# [Output Only] Informational warning message.
|
13349
13884
|
# Corresponds to the JSON property `warning`
|
13350
|
-
# @return [Google::Apis::ComputeAlpha::
|
13885
|
+
# @return [Google::Apis::ComputeAlpha::MaintenancePoliciesList::Warning]
|
13351
13886
|
attr_accessor :warning
|
13352
13887
|
|
13353
13888
|
def initialize(**args)
|
@@ -13377,7 +13912,7 @@ module Google
|
|
13377
13912
|
# [Output Only] Metadata about this warning in key: value format. For example:
|
13378
13913
|
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
13379
13914
|
# Corresponds to the JSON property `data`
|
13380
|
-
# @return [Array<Google::Apis::ComputeAlpha::
|
13915
|
+
# @return [Array<Google::Apis::ComputeAlpha::MaintenancePoliciesList::Warning::Datum>]
|
13381
13916
|
attr_accessor :data
|
13382
13917
|
|
13383
13918
|
# [Output Only] A human-readable description of the warning code.
|
@@ -13429,43 +13964,19 @@ module Google
|
|
13429
13964
|
end
|
13430
13965
|
end
|
13431
13966
|
|
13432
|
-
#
|
13433
|
-
class
|
13967
|
+
#
|
13968
|
+
class MaintenancePoliciesScopedList
|
13434
13969
|
include Google::Apis::Core::Hashable
|
13435
13970
|
|
13436
|
-
#
|
13437
|
-
# Corresponds to the JSON property `
|
13438
|
-
# @return [
|
13439
|
-
attr_accessor :
|
13440
|
-
|
13441
|
-
# A list of MachineType resources.
|
13442
|
-
# Corresponds to the JSON property `items`
|
13443
|
-
# @return [Array<Google::Apis::ComputeAlpha::MachineType>]
|
13444
|
-
attr_accessor :items
|
13445
|
-
|
13446
|
-
# [Output Only] Type of resource. Always compute#machineTypeList for lists of
|
13447
|
-
# machine types.
|
13448
|
-
# Corresponds to the JSON property `kind`
|
13449
|
-
# @return [String]
|
13450
|
-
attr_accessor :kind
|
13451
|
-
|
13452
|
-
# [Output Only] This token allows you to get the next page of results for list
|
13453
|
-
# requests. If the number of results is larger than maxResults, use the
|
13454
|
-
# nextPageToken as a value for the query parameter pageToken in the next list
|
13455
|
-
# request. Subsequent list requests will have their own nextPageToken to
|
13456
|
-
# continue paging through the results.
|
13457
|
-
# Corresponds to the JSON property `nextPageToken`
|
13458
|
-
# @return [String]
|
13459
|
-
attr_accessor :next_page_token
|
13460
|
-
|
13461
|
-
# [Output Only] Server-defined URL for this resource.
|
13462
|
-
# Corresponds to the JSON property `selfLink`
|
13463
|
-
# @return [String]
|
13464
|
-
attr_accessor :self_link
|
13971
|
+
# List of maintenancePolicies contained in this scope.
|
13972
|
+
# Corresponds to the JSON property `maintenancePolicies`
|
13973
|
+
# @return [Array<Google::Apis::ComputeAlpha::MaintenancePolicy>]
|
13974
|
+
attr_accessor :maintenance_policies
|
13465
13975
|
|
13466
|
-
#
|
13976
|
+
# Informational warning which replaces the list of maintenancePolicies when the
|
13977
|
+
# list is empty.
|
13467
13978
|
# Corresponds to the JSON property `warning`
|
13468
|
-
# @return [Google::Apis::ComputeAlpha::
|
13979
|
+
# @return [Google::Apis::ComputeAlpha::MaintenancePoliciesScopedList::Warning]
|
13469
13980
|
attr_accessor :warning
|
13470
13981
|
|
13471
13982
|
def initialize(**args)
|
@@ -13474,15 +13985,12 @@ module Google
|
|
13474
13985
|
|
13475
13986
|
# Update properties of this object
|
13476
13987
|
def update!(**args)
|
13477
|
-
@
|
13478
|
-
@items = args[:items] if args.key?(:items)
|
13479
|
-
@kind = args[:kind] if args.key?(:kind)
|
13480
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
13481
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
13988
|
+
@maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
|
13482
13989
|
@warning = args[:warning] if args.key?(:warning)
|
13483
13990
|
end
|
13484
13991
|
|
13485
|
-
#
|
13992
|
+
# Informational warning which replaces the list of maintenancePolicies when the
|
13993
|
+
# list is empty.
|
13486
13994
|
class Warning
|
13487
13995
|
include Google::Apis::Core::Hashable
|
13488
13996
|
|
@@ -13495,7 +14003,7 @@ module Google
|
|
13495
14003
|
# [Output Only] Metadata about this warning in key: value format. For example:
|
13496
14004
|
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
13497
14005
|
# Corresponds to the JSON property `data`
|
13498
|
-
# @return [Array<Google::Apis::ComputeAlpha::
|
14006
|
+
# @return [Array<Google::Apis::ComputeAlpha::MaintenancePoliciesScopedList::Warning::Datum>]
|
13499
14007
|
attr_accessor :data
|
13500
14008
|
|
13501
14009
|
# [Output Only] A human-readable description of the warning code.
|
@@ -13547,19 +14055,112 @@ module Google
|
|
13547
14055
|
end
|
13548
14056
|
end
|
13549
14057
|
|
13550
|
-
#
|
13551
|
-
|
14058
|
+
# A maintenance policy for an instance. This specifies what kind of maintenance
|
14059
|
+
# operations our infrastructure may perform on this instance and when.
|
14060
|
+
class MaintenancePolicy
|
13552
14061
|
include Google::Apis::Core::Hashable
|
13553
14062
|
|
13554
|
-
# [Output Only]
|
13555
|
-
# Corresponds to the JSON property `
|
13556
|
-
# @return [
|
13557
|
-
attr_accessor :
|
14063
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
14064
|
+
# Corresponds to the JSON property `creationTimestamp`
|
14065
|
+
# @return [String]
|
14066
|
+
attr_accessor :creation_timestamp
|
13558
14067
|
|
13559
|
-
#
|
13560
|
-
#
|
14068
|
+
#
|
14069
|
+
# Corresponds to the JSON property `description`
|
14070
|
+
# @return [String]
|
14071
|
+
attr_accessor :description
|
14072
|
+
|
14073
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
14074
|
+
# defined by the server.
|
14075
|
+
# Corresponds to the JSON property `id`
|
14076
|
+
# @return [Fixnum]
|
14077
|
+
attr_accessor :id
|
14078
|
+
|
14079
|
+
# [Output Only] Type of the resource. Always compute#maintenance_policies for
|
14080
|
+
# maintenance policies.
|
14081
|
+
# Corresponds to the JSON property `kind`
|
14082
|
+
# @return [String]
|
14083
|
+
attr_accessor :kind
|
14084
|
+
|
14085
|
+
# The name of the resource, provided by the client when initially creating the
|
14086
|
+
# resource. The resource name must be 1-63 characters long, and comply with
|
14087
|
+
# RFC1035. Specifically, the name must be 1-63 characters long and match the
|
14088
|
+
# regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character
|
14089
|
+
# must be a lowercase letter, and all following characters must be a dash,
|
14090
|
+
# lowercase letter, or digit, except the last character, which cannot be a dash.
|
14091
|
+
# Corresponds to the JSON property `name`
|
14092
|
+
# @return [String]
|
14093
|
+
attr_accessor :name
|
14094
|
+
|
14095
|
+
#
|
14096
|
+
# Corresponds to the JSON property `region`
|
14097
|
+
# @return [String]
|
14098
|
+
attr_accessor :region
|
14099
|
+
|
14100
|
+
# [Output Only] Server-defined fully-qualified URL for this resource.
|
14101
|
+
# Corresponds to the JSON property `selfLink`
|
14102
|
+
# @return [String]
|
14103
|
+
attr_accessor :self_link
|
14104
|
+
|
14105
|
+
# A Vm Maintenance Policy specifies what kind of infrastructure maintenance we
|
14106
|
+
# are allowed to perform on this VM and when.
|
14107
|
+
# Corresponds to the JSON property `vmMaintenancePolicy`
|
14108
|
+
# @return [Google::Apis::ComputeAlpha::VmMaintenancePolicy]
|
14109
|
+
attr_accessor :vm_maintenance_policy
|
14110
|
+
|
14111
|
+
def initialize(**args)
|
14112
|
+
update!(**args)
|
14113
|
+
end
|
14114
|
+
|
14115
|
+
# Update properties of this object
|
14116
|
+
def update!(**args)
|
14117
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
14118
|
+
@description = args[:description] if args.key?(:description)
|
14119
|
+
@id = args[:id] if args.key?(:id)
|
14120
|
+
@kind = args[:kind] if args.key?(:kind)
|
14121
|
+
@name = args[:name] if args.key?(:name)
|
14122
|
+
@region = args[:region] if args.key?(:region)
|
14123
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
14124
|
+
@vm_maintenance_policy = args[:vm_maintenance_policy] if args.key?(:vm_maintenance_policy)
|
14125
|
+
end
|
14126
|
+
end
|
14127
|
+
|
14128
|
+
# Contains a list of maintenancePolicies.
|
14129
|
+
class MaintenancePolicyAggregatedList
|
14130
|
+
include Google::Apis::Core::Hashable
|
14131
|
+
|
14132
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
14133
|
+
# Corresponds to the JSON property `id`
|
14134
|
+
# @return [String]
|
14135
|
+
attr_accessor :id
|
14136
|
+
|
14137
|
+
# A list of MaintenancePolicy resources.
|
14138
|
+
# Corresponds to the JSON property `items`
|
14139
|
+
# @return [Hash<String,Google::Apis::ComputeAlpha::MaintenancePoliciesScopedList>]
|
14140
|
+
attr_accessor :items
|
14141
|
+
|
14142
|
+
# Type of resource.
|
14143
|
+
# Corresponds to the JSON property `kind`
|
14144
|
+
# @return [String]
|
14145
|
+
attr_accessor :kind
|
14146
|
+
|
14147
|
+
# [Output Only] This token allows you to get the next page of results for list
|
14148
|
+
# requests. If the number of results is larger than maxResults, use the
|
14149
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
14150
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
14151
|
+
# continue paging through the results.
|
14152
|
+
# Corresponds to the JSON property `nextPageToken`
|
14153
|
+
# @return [String]
|
14154
|
+
attr_accessor :next_page_token
|
14155
|
+
|
14156
|
+
# [Output Only] Server-defined URL for this resource.
|
14157
|
+
# Corresponds to the JSON property `selfLink`
|
14158
|
+
# @return [String]
|
14159
|
+
attr_accessor :self_link
|
14160
|
+
|
14161
|
+
# [Output Only] Informational warning message.
|
13561
14162
|
# Corresponds to the JSON property `warning`
|
13562
|
-
# @return [Google::Apis::ComputeAlpha::
|
14163
|
+
# @return [Google::Apis::ComputeAlpha::MaintenancePolicyAggregatedList::Warning]
|
13563
14164
|
attr_accessor :warning
|
13564
14165
|
|
13565
14166
|
def initialize(**args)
|
@@ -13568,12 +14169,15 @@ module Google
|
|
13568
14169
|
|
13569
14170
|
# Update properties of this object
|
13570
14171
|
def update!(**args)
|
13571
|
-
@
|
14172
|
+
@id = args[:id] if args.key?(:id)
|
14173
|
+
@items = args[:items] if args.key?(:items)
|
14174
|
+
@kind = args[:kind] if args.key?(:kind)
|
14175
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
14176
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
13572
14177
|
@warning = args[:warning] if args.key?(:warning)
|
13573
14178
|
end
|
13574
14179
|
|
13575
|
-
# [Output Only]
|
13576
|
-
# list is empty.
|
14180
|
+
# [Output Only] Informational warning message.
|
13577
14181
|
class Warning
|
13578
14182
|
include Google::Apis::Core::Hashable
|
13579
14183
|
|
@@ -13586,7 +14190,7 @@ module Google
|
|
13586
14190
|
# [Output Only] Metadata about this warning in key: value format. For example:
|
13587
14191
|
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
13588
14192
|
# Corresponds to the JSON property `data`
|
13589
|
-
# @return [Array<Google::Apis::ComputeAlpha::
|
14193
|
+
# @return [Array<Google::Apis::ComputeAlpha::MaintenancePolicyAggregatedList::Warning::Datum>]
|
13590
14194
|
attr_accessor :data
|
13591
14195
|
|
13592
14196
|
# [Output Only] A human-readable description of the warning code.
|
@@ -13638,6 +14242,32 @@ module Google
|
|
13638
14242
|
end
|
13639
14243
|
end
|
13640
14244
|
|
14245
|
+
# A maintenance window for VMs and disks. When set, we restrict our maintenance
|
14246
|
+
# operations to this window.
|
14247
|
+
class MaintenanceWindow
|
14248
|
+
include Google::Apis::Core::Hashable
|
14249
|
+
|
14250
|
+
# Time window specified for daily maintenance operations.
|
14251
|
+
# Corresponds to the JSON property `dailyMaintenanceWindow`
|
14252
|
+
# @return [Google::Apis::ComputeAlpha::DailyMaintenanceWindow]
|
14253
|
+
attr_accessor :daily_maintenance_window
|
14254
|
+
|
14255
|
+
# Time window specified for hourly maintenance operations.
|
14256
|
+
# Corresponds to the JSON property `hourlyMaintenanceWindow`
|
14257
|
+
# @return [Google::Apis::ComputeAlpha::HourlyMaintenanceWindow]
|
14258
|
+
attr_accessor :hourly_maintenance_window
|
14259
|
+
|
14260
|
+
def initialize(**args)
|
14261
|
+
update!(**args)
|
14262
|
+
end
|
14263
|
+
|
14264
|
+
# Update properties of this object
|
14265
|
+
def update!(**args)
|
14266
|
+
@daily_maintenance_window = args[:daily_maintenance_window] if args.key?(:daily_maintenance_window)
|
14267
|
+
@hourly_maintenance_window = args[:hourly_maintenance_window] if args.key?(:hourly_maintenance_window)
|
14268
|
+
end
|
14269
|
+
end
|
14270
|
+
|
13641
14271
|
#
|
13642
14272
|
class ManagedInstance
|
13643
14273
|
include Google::Apis::Core::Hashable
|
@@ -19387,6 +20017,33 @@ module Google
|
|
19387
20017
|
end
|
19388
20018
|
end
|
19389
20019
|
|
20020
|
+
# A set of Shielded VM options.
|
20021
|
+
class ShieldedVmConfig
|
20022
|
+
include Google::Apis::Core::Hashable
|
20023
|
+
|
20024
|
+
# Defines whether the instance should have secure boot enabled.
|
20025
|
+
# Corresponds to the JSON property `enableSecureBoot`
|
20026
|
+
# @return [Boolean]
|
20027
|
+
attr_accessor :enable_secure_boot
|
20028
|
+
alias_method :enable_secure_boot?, :enable_secure_boot
|
20029
|
+
|
20030
|
+
# Defines whether the instance should have the TPM enabled.
|
20031
|
+
# Corresponds to the JSON property `enableVtpm`
|
20032
|
+
# @return [Boolean]
|
20033
|
+
attr_accessor :enable_vtpm
|
20034
|
+
alias_method :enable_vtpm?, :enable_vtpm
|
20035
|
+
|
20036
|
+
def initialize(**args)
|
20037
|
+
update!(**args)
|
20038
|
+
end
|
20039
|
+
|
20040
|
+
# Update properties of this object
|
20041
|
+
def update!(**args)
|
20042
|
+
@enable_secure_boot = args[:enable_secure_boot] if args.key?(:enable_secure_boot)
|
20043
|
+
@enable_vtpm = args[:enable_vtpm] if args.key?(:enable_vtpm)
|
20044
|
+
end
|
20045
|
+
end
|
20046
|
+
|
19390
20047
|
# Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs
|
19391
20048
|
class SignedUrlKey
|
19392
20049
|
include Google::Apis::Core::Hashable
|
@@ -20224,12 +20881,6 @@ module Google
|
|
20224
20881
|
class StatefulPolicy
|
20225
20882
|
include Google::Apis::Core::Hashable
|
20226
20883
|
|
20227
|
-
# Disks created on the instances that will be preserved on instance delete,
|
20228
|
-
# resize down, etc. DEPRECATED in favor of preservedResources.disks field.
|
20229
|
-
# Corresponds to the JSON property `preservedDisks`
|
20230
|
-
# @return [Array<Google::Apis::ComputeAlpha::StatefulPolicyPreservedDisk>]
|
20231
|
-
attr_accessor :preserved_disks
|
20232
|
-
|
20233
20884
|
# Configuration of all preserved resources.
|
20234
20885
|
# Corresponds to the JSON property `preservedResources`
|
20235
20886
|
# @return [Google::Apis::ComputeAlpha::StatefulPolicyPreservedResources]
|
@@ -20241,7 +20892,6 @@ module Google
|
|
20241
20892
|
|
20242
20893
|
# Update properties of this object
|
20243
20894
|
def update!(**args)
|
20244
|
-
@preserved_disks = args[:preserved_disks] if args.key?(:preserved_disks)
|
20245
20895
|
@preserved_resources = args[:preserved_resources] if args.key?(:preserved_resources)
|
20246
20896
|
end
|
20247
20897
|
end
|
@@ -23934,6 +24584,27 @@ module Google
|
|
23934
24584
|
end
|
23935
24585
|
end
|
23936
24586
|
|
24587
|
+
# A Vm Maintenance Policy specifies what kind of infrastructure maintenance we
|
24588
|
+
# are allowed to perform on this VM and when.
|
24589
|
+
class VmMaintenancePolicy
|
24590
|
+
include Google::Apis::Core::Hashable
|
24591
|
+
|
24592
|
+
# A maintenance window for VMs and disks. When set, we restrict our maintenance
|
24593
|
+
# operations to this window.
|
24594
|
+
# Corresponds to the JSON property `maintenanceWindow`
|
24595
|
+
# @return [Google::Apis::ComputeAlpha::MaintenanceWindow]
|
24596
|
+
attr_accessor :maintenance_window
|
24597
|
+
|
24598
|
+
def initialize(**args)
|
24599
|
+
update!(**args)
|
24600
|
+
end
|
24601
|
+
|
24602
|
+
# Update properties of this object
|
24603
|
+
def update!(**args)
|
24604
|
+
@maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
|
24605
|
+
end
|
24606
|
+
end
|
24607
|
+
|
23937
24608
|
#
|
23938
24609
|
class VpnTunnel
|
23939
24610
|
include Google::Apis::Core::Hashable
|