google-api-client 0.25.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/{CONTRIBUTING.md → .github/CONTRIBUTING.md} +0 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +36 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +21 -0
- data/.github/ISSUE_TEMPLATE/support_request.md +7 -0
- data/.kokoro/build.bat +8 -0
- data/.kokoro/build.sh +36 -0
- data/.kokoro/common.cfg +22 -0
- data/.kokoro/continuous/common.cfg +20 -0
- data/.kokoro/continuous/linux.cfg +15 -0
- data/.kokoro/continuous/osx.cfg +3 -0
- data/.kokoro/continuous/windows.cfg +3 -0
- data/.kokoro/osx.sh +35 -0
- data/.kokoro/presubmit/common.cfg +19 -0
- data/.kokoro/presubmit/linux.cfg +14 -0
- data/.kokoro/presubmit/osx.cfg +3 -0
- data/.kokoro/presubmit/windows.cfg +3 -0
- data/.kokoro/trampoline.sh +24 -0
- data/.kokoro/windows.sh +32 -0
- data/CHANGELOG.md +83 -0
- data/Gemfile +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +5 -3
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +110 -101
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +13 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +83 -76
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +7 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +2 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +129 -44
- data/generated/google/apis/androidenterprise_v1/representations.rb +48 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +218 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +8 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +87 -29
- data/generated/google/apis/bigquery_v2/representations.rb +21 -0
- data/generated/google/apis/bigquery_v2/service.rb +7 -9
- data/generated/google/apis/calendar_v3.rb +2 -2
- data/generated/google/apis/calendar_v3/classes.rb +14 -6
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +14 -10
- data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +2 -2
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +2 -3
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +2 -3
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +127 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +70 -0
- data/generated/google/apis/cloudiot_v1/service.rb +172 -2
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/service.rb +107 -0
- data/generated/google/apis/{cloudiot_v1beta1.rb → cloudscheduler_v1beta1.rb} +8 -12
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +882 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +264 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +445 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +79 -1
- data/generated/google/apis/cloudsearch_v1/representations.rb +44 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +88 -3
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +9 -0
- data/generated/google/apis/composer_v1/representations.rb +1 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +938 -117
- data/generated/google/apis/compute_alpha/representations.rb +310 -2
- data/generated/google/apis/compute_alpha/service.rb +1203 -245
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1175 -219
- data/generated/google/apis/compute_beta/representations.rb +375 -2
- data/generated/google/apis/compute_beta/service.rb +907 -139
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1485 -143
- data/generated/google/apis/compute_v1/representations.rb +503 -0
- data/generated/google/apis/compute_v1/service.rb +1375 -85
- data/generated/google/apis/container_v1.rb +3 -3
- data/generated/google/apis/container_v1/classes.rb +99 -6
- data/generated/google/apis/container_v1/representations.rb +39 -0
- data/generated/google/apis/container_v1/service.rb +2 -2
- data/generated/google/apis/container_v1beta1.rb +3 -3
- data/generated/google/apis/container_v1beta1/classes.rb +162 -9
- data/generated/google/apis/container_v1beta1/representations.rb +80 -0
- data/generated/google/apis/container_v1beta1/service.rb +3 -3
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +40 -32
- data/generated/google/apis/content_v2/representations.rb +0 -1
- data/generated/google/apis/content_v2/service.rb +3 -3
- data/generated/google/apis/content_v2_1.rb +35 -0
- data/generated/google/apis/content_v2_1/classes.rb +9104 -0
- data/generated/google/apis/content_v2_1/representations.rb +3967 -0
- data/generated/google/apis/content_v2_1/service.rb +3463 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +82 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +33 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +97 -6
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +15 -1
- data/generated/google/apis/dataproc_v1/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +125 -1
- data/generated/google/apis/dataproc_v1beta2/representations.rb +41 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +13 -6
- data/generated/google/apis/dialogflow_v2/service.rb +2 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +26 -6
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +12 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +261 -12
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +4 -4
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +326 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +149 -0
- data/generated/google/apis/dns_v1beta2/service.rb +246 -0
- data/generated/google/apis/drive_v2.rb +3 -3
- data/generated/google/apis/drive_v3.rb +3 -3
- data/generated/google/apis/driveactivity_v2.rb +37 -0
- data/generated/google/apis/driveactivity_v2/classes.rb +1388 -0
- data/generated/google/apis/driveactivity_v2/representations.rb +799 -0
- data/generated/google/apis/driveactivity_v2/service.rb +89 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +8 -1
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +1 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +3 -2
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +43 -17
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +13 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +74 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +2225 -520
- data/generated/google/apis/firestore_v1/representations.rb +800 -33
- data/generated/google/apis/firestore_v1/service.rb +526 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -2
- data/generated/google/apis/fitness_v1/service.rb +7 -3
- data/generated/google/apis/games_management_v1management.rb +1 -4
- data/generated/google/apis/games_v1.rb +1 -4
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +6 -1
- data/generated/google/apis/gmail_v1.rb +2 -2
- data/generated/google/apis/iap_v1.rb +34 -0
- data/generated/google/apis/iap_v1/classes.rb +308 -0
- data/generated/google/apis/iap_v1/representations.rb +126 -0
- data/generated/google/apis/iap_v1/service.rb +725 -0
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +0 -132
- data/generated/google/apis/iap_v1beta1/representations.rb +0 -32
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +8 -9
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +6 -6
- data/generated/google/apis/jobs_v3/service.rb +8 -8
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -9
- data/generated/google/apis/jobs_v3p1beta1/service.rb +8 -8
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +20 -7
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +0 -365
- data/generated/google/apis/pagespeedonline_v5.rb +32 -0
- data/generated/google/apis/pagespeedonline_v5/classes.rb +724 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +315 -0
- data/generated/google/apis/pagespeedonline_v5/service.rb +116 -0
- data/generated/google/apis/people_v1.rb +3 -3
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +63 -12
- data/generated/google/apis/pubsub_v1/representations.rb +15 -0
- data/generated/google/apis/pubsub_v1/service.rb +26 -18
- data/generated/google/apis/redis_v1.rb +2 -3
- data/generated/google/apis/redis_v1/service.rb +1 -2
- data/generated/google/apis/redis_v1beta1.rb +2 -3
- data/generated/google/apis/redis_v1beta1/service.rb +1 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
- data/generated/google/apis/script_v1.rb +24 -6
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +66 -1
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +89 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +7 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +84 -37
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +15 -0
- data/generated/google/apis/servicenetworking_v1beta/service.rb +132 -43
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
- data/generated/google/apis/sheets_v4.rb +4 -4
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +187 -2
- data/generated/google/apis/slides_v1/representations.rb +67 -0
- data/generated/google/apis/slides_v1/service.rb +4 -3
- data/generated/google/apis/sourcerepo_v1.rb +2 -2
- data/generated/google/apis/sourcerepo_v1/service.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +58 -10
- data/generated/google/apis/speech_v1/representations.rb +29 -1
- data/generated/google/apis/{speech_v1beta1.rb → speech_v1p1beta1.rb} +6 -6
- data/generated/google/apis/speech_v1p1beta1/classes.rb +922 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +294 -0
- data/generated/google/apis/{speech_v1beta1 → speech_v1p1beta1}/service.rb +33 -35
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +64 -3
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +31 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +54 -0
- data/generated/google/apis/storage_v1/representations.rb +31 -0
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +26 -0
- data/generated/google/apis/streetviewpublish_v1/representations.rb +4 -0
- data/generated/google/apis/streetviewpublish_v1/service.rb +29 -3
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +49 -19
- data/generated/google/apis/testing_v1/representations.rb +20 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +77 -70
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +78 -7
- data/generated/google/apis/vault_v1/representations.rb +34 -1
- data/generated/google/apis/vault_v1/service.rb +141 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +33 -0
- data/generated/google/apis/vision_v1/representations.rb +16 -0
- data/generated/google/apis/vision_v1/service.rb +2 -2
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +33 -0
- data/generated/google/apis/vision_v1p1beta1/representations.rb +16 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +33 -0
- data/generated/google/apis/vision_v1p2beta1/representations.rb +16 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/google-api-client.gemspec +1 -1
- data/lib/google/api_client/auth/installed_app.rb +17 -2
- data/lib/google/api_client/client_secrets.rb +1 -1
- data/lib/google/apis/core/download.rb +2 -2
- data/lib/google/apis/errors.rb +9 -0
- data/lib/google/apis/generator/annotator.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +46 -17
- data/generated/google/apis/cloudiot_v1beta1/classes.rb +0 -959
- data/generated/google/apis/cloudiot_v1beta1/representations.rb +0 -375
- data/generated/google/apis/cloudiot_v1beta1/service.rb +0 -618
- data/generated/google/apis/dfareporting_v3_0.rb +0 -40
- data/generated/google/apis/dfareporting_v3_0/classes.rb +0 -12119
- data/generated/google/apis/dfareporting_v3_0/representations.rb +0 -4336
- data/generated/google/apis/dfareporting_v3_0/service.rb +0 -8701
- data/generated/google/apis/speech_v1beta1/classes.rb +0 -480
- data/generated/google/apis/speech_v1beta1/representations.rb +0 -194
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeBeta
|
27
27
|
VERSION = 'Beta'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20181128'
|
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'
|
@@ -570,7 +570,8 @@ module Google
|
|
570
570
|
# essentially a hash of the labels set used for optimistic locking. The
|
571
571
|
# fingerprint is initially generated by Compute Engine and changes after every
|
572
572
|
# request to modify or update labels. You must always provide an up-to-date
|
573
|
-
# fingerprint hash in order to update or change labels
|
573
|
+
# fingerprint hash in order to update or change labels, otherwise the request
|
574
|
+
# will fail with error 412 conditionNotMet.
|
574
575
|
# To see the latest fingerprint, make a get() request to retrieve an Address.
|
575
576
|
# Corresponds to the JSON property `labelFingerprint`
|
576
577
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
@@ -601,7 +602,11 @@ module Google
|
|
601
602
|
attr_accessor :network
|
602
603
|
|
603
604
|
# This signifies the networking tier used for configuring this Address and can
|
604
|
-
# only take the following values: PREMIUM
|
605
|
+
# only take the following values: PREMIUM, STANDARD. Global forwarding rules can
|
606
|
+
# only be Premium Tier. Regional forwarding rules can be either Premium or
|
607
|
+
# Standard Tier. Standard Tier addresses applied to regional forwarding rules
|
608
|
+
# can be used with any external load balancer. Regional forwarding rules in
|
609
|
+
# Premium Tier can only be used with a Network load balancer.
|
605
610
|
# If this field is not specified, it is assumed to be PREMIUM.
|
606
611
|
# Corresponds to the JSON property `networkTier`
|
607
612
|
# @return [String]
|
@@ -915,18 +920,583 @@ module Google
|
|
915
920
|
end
|
916
921
|
|
917
922
|
#
|
918
|
-
class AddressesScopedList
|
923
|
+
class AddressesScopedList
|
924
|
+
include Google::Apis::Core::Hashable
|
925
|
+
|
926
|
+
# [Output Only] A list of addresses contained in this scope.
|
927
|
+
# Corresponds to the JSON property `addresses`
|
928
|
+
# @return [Array<Google::Apis::ComputeBeta::Address>]
|
929
|
+
attr_accessor :addresses
|
930
|
+
|
931
|
+
# [Output Only] Informational warning which replaces the list of addresses when
|
932
|
+
# the list is empty.
|
933
|
+
# Corresponds to the JSON property `warning`
|
934
|
+
# @return [Google::Apis::ComputeBeta::AddressesScopedList::Warning]
|
935
|
+
attr_accessor :warning
|
936
|
+
|
937
|
+
def initialize(**args)
|
938
|
+
update!(**args)
|
939
|
+
end
|
940
|
+
|
941
|
+
# Update properties of this object
|
942
|
+
def update!(**args)
|
943
|
+
@addresses = args[:addresses] if args.key?(:addresses)
|
944
|
+
@warning = args[:warning] if args.key?(:warning)
|
945
|
+
end
|
946
|
+
|
947
|
+
# [Output Only] Informational warning which replaces the list of addresses when
|
948
|
+
# the list is empty.
|
949
|
+
class Warning
|
950
|
+
include Google::Apis::Core::Hashable
|
951
|
+
|
952
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
953
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
954
|
+
# Corresponds to the JSON property `code`
|
955
|
+
# @return [String]
|
956
|
+
attr_accessor :code
|
957
|
+
|
958
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
959
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
960
|
+
# Corresponds to the JSON property `data`
|
961
|
+
# @return [Array<Google::Apis::ComputeBeta::AddressesScopedList::Warning::Datum>]
|
962
|
+
attr_accessor :data
|
963
|
+
|
964
|
+
# [Output Only] A human-readable description of the warning code.
|
965
|
+
# Corresponds to the JSON property `message`
|
966
|
+
# @return [String]
|
967
|
+
attr_accessor :message
|
968
|
+
|
969
|
+
def initialize(**args)
|
970
|
+
update!(**args)
|
971
|
+
end
|
972
|
+
|
973
|
+
# Update properties of this object
|
974
|
+
def update!(**args)
|
975
|
+
@code = args[:code] if args.key?(:code)
|
976
|
+
@data = args[:data] if args.key?(:data)
|
977
|
+
@message = args[:message] if args.key?(:message)
|
978
|
+
end
|
979
|
+
|
980
|
+
#
|
981
|
+
class Datum
|
982
|
+
include Google::Apis::Core::Hashable
|
983
|
+
|
984
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
985
|
+
# For example, for warnings where there are no results in a list request for a
|
986
|
+
# particular zone, this key might be scope and the key value might be the zone
|
987
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
988
|
+
# suggested replacement, or a warning about invalid network settings (for
|
989
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
990
|
+
# for IP forwarding).
|
991
|
+
# Corresponds to the JSON property `key`
|
992
|
+
# @return [String]
|
993
|
+
attr_accessor :key
|
994
|
+
|
995
|
+
# [Output Only] A warning data value corresponding to the key.
|
996
|
+
# Corresponds to the JSON property `value`
|
997
|
+
# @return [String]
|
998
|
+
attr_accessor :value
|
999
|
+
|
1000
|
+
def initialize(**args)
|
1001
|
+
update!(**args)
|
1002
|
+
end
|
1003
|
+
|
1004
|
+
# Update properties of this object
|
1005
|
+
def update!(**args)
|
1006
|
+
@key = args[:key] if args.key?(:key)
|
1007
|
+
@value = args[:value] if args.key?(:value)
|
1008
|
+
end
|
1009
|
+
end
|
1010
|
+
end
|
1011
|
+
end
|
1012
|
+
|
1013
|
+
# An alias IP range attached to an instance's network interface.
|
1014
|
+
class AliasIpRange
|
1015
|
+
include Google::Apis::Core::Hashable
|
1016
|
+
|
1017
|
+
# The IP CIDR range represented by this alias IP range. This IP CIDR range must
|
1018
|
+
# belong to the specified subnetwork and cannot contain IP addresses reserved by
|
1019
|
+
# system or used by other network interfaces. This range may be a single IP
|
1020
|
+
# address (e.g. 10.2.3.4), a netmask (e.g. /24) or a CIDR format string (e.g. 10.
|
1021
|
+
# 1.2.0/24).
|
1022
|
+
# Corresponds to the JSON property `ipCidrRange`
|
1023
|
+
# @return [String]
|
1024
|
+
attr_accessor :ip_cidr_range
|
1025
|
+
|
1026
|
+
# Optional subnetwork secondary range name specifying the secondary range from
|
1027
|
+
# which to allocate the IP CIDR range for this alias IP range. If left
|
1028
|
+
# unspecified, the primary range of the subnetwork will be used.
|
1029
|
+
# Corresponds to the JSON property `subnetworkRangeName`
|
1030
|
+
# @return [String]
|
1031
|
+
attr_accessor :subnetwork_range_name
|
1032
|
+
|
1033
|
+
def initialize(**args)
|
1034
|
+
update!(**args)
|
1035
|
+
end
|
1036
|
+
|
1037
|
+
# Update properties of this object
|
1038
|
+
def update!(**args)
|
1039
|
+
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
1040
|
+
@subnetwork_range_name = args[:subnetwork_range_name] if args.key?(:subnetwork_range_name)
|
1041
|
+
end
|
1042
|
+
end
|
1043
|
+
|
1044
|
+
# Allocation resource
|
1045
|
+
class Allocation
|
1046
|
+
include Google::Apis::Core::Hashable
|
1047
|
+
|
1048
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
1049
|
+
# Corresponds to the JSON property `creationTimestamp`
|
1050
|
+
# @return [String]
|
1051
|
+
attr_accessor :creation_timestamp
|
1052
|
+
|
1053
|
+
#
|
1054
|
+
# Corresponds to the JSON property `description`
|
1055
|
+
# @return [String]
|
1056
|
+
attr_accessor :description
|
1057
|
+
|
1058
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
1059
|
+
# defined by the server.
|
1060
|
+
# Corresponds to the JSON property `id`
|
1061
|
+
# @return [Fixnum]
|
1062
|
+
attr_accessor :id
|
1063
|
+
|
1064
|
+
# [Output Only] Type of the resource. Always compute#allocations for allocations.
|
1065
|
+
# Corresponds to the JSON property `kind`
|
1066
|
+
# @return [String]
|
1067
|
+
attr_accessor :kind
|
1068
|
+
|
1069
|
+
# The name of the resource, provided by the client when initially creating the
|
1070
|
+
# resource. The resource name must be 1-63 characters long, and comply with
|
1071
|
+
# RFC1035. Specifically, the name must be 1-63 characters long and match the
|
1072
|
+
# regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
|
1073
|
+
# character must be a lowercase letter, and all following characters must be a
|
1074
|
+
# dash, lowercase letter, or digit, except the last character, which cannot be a
|
1075
|
+
# dash.
|
1076
|
+
# Corresponds to the JSON property `name`
|
1077
|
+
# @return [String]
|
1078
|
+
attr_accessor :name
|
1079
|
+
|
1080
|
+
# [Output Only] Server-defined fully-qualified URL for this resource.
|
1081
|
+
# Corresponds to the JSON property `selfLink`
|
1082
|
+
# @return [String]
|
1083
|
+
attr_accessor :self_link
|
1084
|
+
|
1085
|
+
# This allocation type allows to pre allocate specific instance configuration.
|
1086
|
+
# Corresponds to the JSON property `specificAllocation`
|
1087
|
+
# @return [Google::Apis::ComputeBeta::AllocationSpecificSkuAllocation]
|
1088
|
+
attr_accessor :specific_allocation
|
1089
|
+
|
1090
|
+
# Indicates whether the allocation can be consumed by VMs with "any allocation"
|
1091
|
+
# defined. If the field is set, then only VMs that target the allocation by name
|
1092
|
+
# using --allocation-affinity can consume this allocation.
|
1093
|
+
# Corresponds to the JSON property `specificAllocationRequired`
|
1094
|
+
# @return [Boolean]
|
1095
|
+
attr_accessor :specific_allocation_required
|
1096
|
+
alias_method :specific_allocation_required?, :specific_allocation_required
|
1097
|
+
|
1098
|
+
#
|
1099
|
+
# Corresponds to the JSON property `zone`
|
1100
|
+
# @return [String]
|
1101
|
+
attr_accessor :zone
|
1102
|
+
|
1103
|
+
def initialize(**args)
|
1104
|
+
update!(**args)
|
1105
|
+
end
|
1106
|
+
|
1107
|
+
# Update properties of this object
|
1108
|
+
def update!(**args)
|
1109
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
1110
|
+
@description = args[:description] if args.key?(:description)
|
1111
|
+
@id = args[:id] if args.key?(:id)
|
1112
|
+
@kind = args[:kind] if args.key?(:kind)
|
1113
|
+
@name = args[:name] if args.key?(:name)
|
1114
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
1115
|
+
@specific_allocation = args[:specific_allocation] if args.key?(:specific_allocation)
|
1116
|
+
@specific_allocation_required = args[:specific_allocation_required] if args.key?(:specific_allocation_required)
|
1117
|
+
@zone = args[:zone] if args.key?(:zone)
|
1118
|
+
end
|
1119
|
+
end
|
1120
|
+
|
1121
|
+
# AllocationAffinity is the configuration of desired allocation which this
|
1122
|
+
# instance could take capacity from.
|
1123
|
+
class AllocationAffinity
|
1124
|
+
include Google::Apis::Core::Hashable
|
1125
|
+
|
1126
|
+
#
|
1127
|
+
# Corresponds to the JSON property `consumeAllocationType`
|
1128
|
+
# @return [String]
|
1129
|
+
attr_accessor :consume_allocation_type
|
1130
|
+
|
1131
|
+
# Corresponds to the label key of allocation resource.
|
1132
|
+
# Corresponds to the JSON property `key`
|
1133
|
+
# @return [String]
|
1134
|
+
attr_accessor :key
|
1135
|
+
|
1136
|
+
# Corresponds to the label values of allocation resource.
|
1137
|
+
# Corresponds to the JSON property `values`
|
1138
|
+
# @return [Array<String>]
|
1139
|
+
attr_accessor :values
|
1140
|
+
|
1141
|
+
def initialize(**args)
|
1142
|
+
update!(**args)
|
1143
|
+
end
|
1144
|
+
|
1145
|
+
# Update properties of this object
|
1146
|
+
def update!(**args)
|
1147
|
+
@consume_allocation_type = args[:consume_allocation_type] if args.key?(:consume_allocation_type)
|
1148
|
+
@key = args[:key] if args.key?(:key)
|
1149
|
+
@values = args[:values] if args.key?(:values)
|
1150
|
+
end
|
1151
|
+
end
|
1152
|
+
|
1153
|
+
# Contains a list of allocations.
|
1154
|
+
class AllocationAggregatedList
|
1155
|
+
include Google::Apis::Core::Hashable
|
1156
|
+
|
1157
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
1158
|
+
# Corresponds to the JSON property `id`
|
1159
|
+
# @return [String]
|
1160
|
+
attr_accessor :id
|
1161
|
+
|
1162
|
+
# A list of Allocation resources.
|
1163
|
+
# Corresponds to the JSON property `items`
|
1164
|
+
# @return [Hash<String,Google::Apis::ComputeBeta::AllocationsScopedList>]
|
1165
|
+
attr_accessor :items
|
1166
|
+
|
1167
|
+
# Type of resource.
|
1168
|
+
# Corresponds to the JSON property `kind`
|
1169
|
+
# @return [String]
|
1170
|
+
attr_accessor :kind
|
1171
|
+
|
1172
|
+
# [Output Only] This token allows you to get the next page of results for list
|
1173
|
+
# requests. If the number of results is larger than maxResults, use the
|
1174
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
1175
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
1176
|
+
# continue paging through the results.
|
1177
|
+
# Corresponds to the JSON property `nextPageToken`
|
1178
|
+
# @return [String]
|
1179
|
+
attr_accessor :next_page_token
|
1180
|
+
|
1181
|
+
# [Output Only] Server-defined URL for this resource.
|
1182
|
+
# Corresponds to the JSON property `selfLink`
|
1183
|
+
# @return [String]
|
1184
|
+
attr_accessor :self_link
|
1185
|
+
|
1186
|
+
# [Output Only] Informational warning message.
|
1187
|
+
# Corresponds to the JSON property `warning`
|
1188
|
+
# @return [Google::Apis::ComputeBeta::AllocationAggregatedList::Warning]
|
1189
|
+
attr_accessor :warning
|
1190
|
+
|
1191
|
+
def initialize(**args)
|
1192
|
+
update!(**args)
|
1193
|
+
end
|
1194
|
+
|
1195
|
+
# Update properties of this object
|
1196
|
+
def update!(**args)
|
1197
|
+
@id = args[:id] if args.key?(:id)
|
1198
|
+
@items = args[:items] if args.key?(:items)
|
1199
|
+
@kind = args[:kind] if args.key?(:kind)
|
1200
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1201
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
1202
|
+
@warning = args[:warning] if args.key?(:warning)
|
1203
|
+
end
|
1204
|
+
|
1205
|
+
# [Output Only] Informational warning message.
|
1206
|
+
class Warning
|
1207
|
+
include Google::Apis::Core::Hashable
|
1208
|
+
|
1209
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
1210
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
1211
|
+
# Corresponds to the JSON property `code`
|
1212
|
+
# @return [String]
|
1213
|
+
attr_accessor :code
|
1214
|
+
|
1215
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
1216
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
1217
|
+
# Corresponds to the JSON property `data`
|
1218
|
+
# @return [Array<Google::Apis::ComputeBeta::AllocationAggregatedList::Warning::Datum>]
|
1219
|
+
attr_accessor :data
|
1220
|
+
|
1221
|
+
# [Output Only] A human-readable description of the warning code.
|
1222
|
+
# Corresponds to the JSON property `message`
|
1223
|
+
# @return [String]
|
1224
|
+
attr_accessor :message
|
1225
|
+
|
1226
|
+
def initialize(**args)
|
1227
|
+
update!(**args)
|
1228
|
+
end
|
1229
|
+
|
1230
|
+
# Update properties of this object
|
1231
|
+
def update!(**args)
|
1232
|
+
@code = args[:code] if args.key?(:code)
|
1233
|
+
@data = args[:data] if args.key?(:data)
|
1234
|
+
@message = args[:message] if args.key?(:message)
|
1235
|
+
end
|
1236
|
+
|
1237
|
+
#
|
1238
|
+
class Datum
|
1239
|
+
include Google::Apis::Core::Hashable
|
1240
|
+
|
1241
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
1242
|
+
# For example, for warnings where there are no results in a list request for a
|
1243
|
+
# particular zone, this key might be scope and the key value might be the zone
|
1244
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
1245
|
+
# suggested replacement, or a warning about invalid network settings (for
|
1246
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
1247
|
+
# for IP forwarding).
|
1248
|
+
# Corresponds to the JSON property `key`
|
1249
|
+
# @return [String]
|
1250
|
+
attr_accessor :key
|
1251
|
+
|
1252
|
+
# [Output Only] A warning data value corresponding to the key.
|
1253
|
+
# Corresponds to the JSON property `value`
|
1254
|
+
# @return [String]
|
1255
|
+
attr_accessor :value
|
1256
|
+
|
1257
|
+
def initialize(**args)
|
1258
|
+
update!(**args)
|
1259
|
+
end
|
1260
|
+
|
1261
|
+
# Update properties of this object
|
1262
|
+
def update!(**args)
|
1263
|
+
@key = args[:key] if args.key?(:key)
|
1264
|
+
@value = args[:value] if args.key?(:value)
|
1265
|
+
end
|
1266
|
+
end
|
1267
|
+
end
|
1268
|
+
end
|
1269
|
+
|
1270
|
+
#
|
1271
|
+
class AllocationList
|
1272
|
+
include Google::Apis::Core::Hashable
|
1273
|
+
|
1274
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
1275
|
+
# defined by the server.
|
1276
|
+
# Corresponds to the JSON property `id`
|
1277
|
+
# @return [String]
|
1278
|
+
attr_accessor :id
|
1279
|
+
|
1280
|
+
# [Output Only] A list of Allocation resources.
|
1281
|
+
# Corresponds to the JSON property `items`
|
1282
|
+
# @return [Array<Google::Apis::ComputeBeta::Allocation>]
|
1283
|
+
attr_accessor :items
|
1284
|
+
|
1285
|
+
# [Output Only] Type of resource.Always compute#allocationsList for listsof
|
1286
|
+
# allocations
|
1287
|
+
# Corresponds to the JSON property `kind`
|
1288
|
+
# @return [String]
|
1289
|
+
attr_accessor :kind
|
1290
|
+
|
1291
|
+
# [Output Only] This token allows you to get the next page of results for list
|
1292
|
+
# requests. If the number of results is larger than maxResults, use the
|
1293
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
1294
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
1295
|
+
# continue paging through the results.
|
1296
|
+
# Corresponds to the JSON property `nextPageToken`
|
1297
|
+
# @return [String]
|
1298
|
+
attr_accessor :next_page_token
|
1299
|
+
|
1300
|
+
# [Output Only] Server-defined URL for this resource.
|
1301
|
+
# Corresponds to the JSON property `selfLink`
|
1302
|
+
# @return [String]
|
1303
|
+
attr_accessor :self_link
|
1304
|
+
|
1305
|
+
# [Output Only] Informational warning message.
|
1306
|
+
# Corresponds to the JSON property `warning`
|
1307
|
+
# @return [Google::Apis::ComputeBeta::AllocationList::Warning]
|
1308
|
+
attr_accessor :warning
|
1309
|
+
|
1310
|
+
def initialize(**args)
|
1311
|
+
update!(**args)
|
1312
|
+
end
|
1313
|
+
|
1314
|
+
# Update properties of this object
|
1315
|
+
def update!(**args)
|
1316
|
+
@id = args[:id] if args.key?(:id)
|
1317
|
+
@items = args[:items] if args.key?(:items)
|
1318
|
+
@kind = args[:kind] if args.key?(:kind)
|
1319
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1320
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
1321
|
+
@warning = args[:warning] if args.key?(:warning)
|
1322
|
+
end
|
1323
|
+
|
1324
|
+
# [Output Only] Informational warning message.
|
1325
|
+
class Warning
|
1326
|
+
include Google::Apis::Core::Hashable
|
1327
|
+
|
1328
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
1329
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
1330
|
+
# Corresponds to the JSON property `code`
|
1331
|
+
# @return [String]
|
1332
|
+
attr_accessor :code
|
1333
|
+
|
1334
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
1335
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
1336
|
+
# Corresponds to the JSON property `data`
|
1337
|
+
# @return [Array<Google::Apis::ComputeBeta::AllocationList::Warning::Datum>]
|
1338
|
+
attr_accessor :data
|
1339
|
+
|
1340
|
+
# [Output Only] A human-readable description of the warning code.
|
1341
|
+
# Corresponds to the JSON property `message`
|
1342
|
+
# @return [String]
|
1343
|
+
attr_accessor :message
|
1344
|
+
|
1345
|
+
def initialize(**args)
|
1346
|
+
update!(**args)
|
1347
|
+
end
|
1348
|
+
|
1349
|
+
# Update properties of this object
|
1350
|
+
def update!(**args)
|
1351
|
+
@code = args[:code] if args.key?(:code)
|
1352
|
+
@data = args[:data] if args.key?(:data)
|
1353
|
+
@message = args[:message] if args.key?(:message)
|
1354
|
+
end
|
1355
|
+
|
1356
|
+
#
|
1357
|
+
class Datum
|
1358
|
+
include Google::Apis::Core::Hashable
|
1359
|
+
|
1360
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
1361
|
+
# For example, for warnings where there are no results in a list request for a
|
1362
|
+
# particular zone, this key might be scope and the key value might be the zone
|
1363
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
1364
|
+
# suggested replacement, or a warning about invalid network settings (for
|
1365
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
1366
|
+
# for IP forwarding).
|
1367
|
+
# Corresponds to the JSON property `key`
|
1368
|
+
# @return [String]
|
1369
|
+
attr_accessor :key
|
1370
|
+
|
1371
|
+
# [Output Only] A warning data value corresponding to the key.
|
1372
|
+
# Corresponds to the JSON property `value`
|
1373
|
+
# @return [String]
|
1374
|
+
attr_accessor :value
|
1375
|
+
|
1376
|
+
def initialize(**args)
|
1377
|
+
update!(**args)
|
1378
|
+
end
|
1379
|
+
|
1380
|
+
# Update properties of this object
|
1381
|
+
def update!(**args)
|
1382
|
+
@key = args[:key] if args.key?(:key)
|
1383
|
+
@value = args[:value] if args.key?(:value)
|
1384
|
+
end
|
1385
|
+
end
|
1386
|
+
end
|
1387
|
+
end
|
1388
|
+
|
1389
|
+
# This allocation type allows to pre allocate specific instance configuration.
|
1390
|
+
class AllocationSpecificSkuAllocation
|
1391
|
+
include Google::Apis::Core::Hashable
|
1392
|
+
|
1393
|
+
# Specifies number of resources that are allocated.
|
1394
|
+
# Corresponds to the JSON property `count`
|
1395
|
+
# @return [Fixnum]
|
1396
|
+
attr_accessor :count
|
1397
|
+
|
1398
|
+
# [OutputOnly] Indicates how many resource are in use.
|
1399
|
+
# Corresponds to the JSON property `inUseCount`
|
1400
|
+
# @return [Fixnum]
|
1401
|
+
attr_accessor :in_use_count
|
1402
|
+
|
1403
|
+
# Properties of the SKU instances being reserved.
|
1404
|
+
# Corresponds to the JSON property `instanceProperties`
|
1405
|
+
# @return [Google::Apis::ComputeBeta::AllocationSpecificSkuAllocationAllocatedInstanceProperties]
|
1406
|
+
attr_accessor :instance_properties
|
1407
|
+
|
1408
|
+
def initialize(**args)
|
1409
|
+
update!(**args)
|
1410
|
+
end
|
1411
|
+
|
1412
|
+
# Update properties of this object
|
1413
|
+
def update!(**args)
|
1414
|
+
@count = args[:count] if args.key?(:count)
|
1415
|
+
@in_use_count = args[:in_use_count] if args.key?(:in_use_count)
|
1416
|
+
@instance_properties = args[:instance_properties] if args.key?(:instance_properties)
|
1417
|
+
end
|
1418
|
+
end
|
1419
|
+
|
1420
|
+
# Properties of the SKU instances being reserved.
|
1421
|
+
class AllocationSpecificSkuAllocationAllocatedInstanceProperties
|
1422
|
+
include Google::Apis::Core::Hashable
|
1423
|
+
|
1424
|
+
# Specifies accelerator type and count.
|
1425
|
+
# Corresponds to the JSON property `guestAccelerators`
|
1426
|
+
# @return [Array<Google::Apis::ComputeBeta::AcceleratorConfig>]
|
1427
|
+
attr_accessor :guest_accelerators
|
1428
|
+
|
1429
|
+
# Specifies amount of local ssd to reserve with each instance. The type of disk
|
1430
|
+
# is local-ssd.
|
1431
|
+
# Corresponds to the JSON property `localSsds`
|
1432
|
+
# @return [Array<Google::Apis::ComputeBeta::AllocationSpecificSkuAllocationAllocatedInstancePropertiesAllocatedDisk>]
|
1433
|
+
attr_accessor :local_ssds
|
1434
|
+
|
1435
|
+
# Specifies type of machine (name only) which has fixed number of vCPUs and
|
1436
|
+
# fixed amount of memory. This also includes specifying custom machine type
|
1437
|
+
# following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
|
1438
|
+
# Corresponds to the JSON property `machineType`
|
1439
|
+
# @return [String]
|
1440
|
+
attr_accessor :machine_type
|
1441
|
+
|
1442
|
+
# Minimum cpu platform the allocation.
|
1443
|
+
# Corresponds to the JSON property `minCpuPlatform`
|
1444
|
+
# @return [String]
|
1445
|
+
attr_accessor :min_cpu_platform
|
1446
|
+
|
1447
|
+
def initialize(**args)
|
1448
|
+
update!(**args)
|
1449
|
+
end
|
1450
|
+
|
1451
|
+
# Update properties of this object
|
1452
|
+
def update!(**args)
|
1453
|
+
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
|
1454
|
+
@local_ssds = args[:local_ssds] if args.key?(:local_ssds)
|
1455
|
+
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
1456
|
+
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
1457
|
+
end
|
1458
|
+
end
|
1459
|
+
|
1460
|
+
#
|
1461
|
+
class AllocationSpecificSkuAllocationAllocatedInstancePropertiesAllocatedDisk
|
919
1462
|
include Google::Apis::Core::Hashable
|
920
1463
|
|
921
|
-
#
|
922
|
-
# Corresponds to the JSON property `
|
923
|
-
# @return [
|
924
|
-
attr_accessor :
|
1464
|
+
# Specifies the size of the disk in base-2 GB.
|
1465
|
+
# Corresponds to the JSON property `diskSizeGb`
|
1466
|
+
# @return [Fixnum]
|
1467
|
+
attr_accessor :disk_size_gb
|
925
1468
|
|
926
|
-
#
|
927
|
-
#
|
1469
|
+
# Specifies the disk interface to use for attaching this disk, which is either
|
1470
|
+
# SCSI or NVME. The default is SCSI. For performance characteristics of SCSI
|
1471
|
+
# over NVMe, see Local SSD performance.
|
1472
|
+
# Corresponds to the JSON property `interface`
|
1473
|
+
# @return [String]
|
1474
|
+
attr_accessor :interface
|
1475
|
+
|
1476
|
+
def initialize(**args)
|
1477
|
+
update!(**args)
|
1478
|
+
end
|
1479
|
+
|
1480
|
+
# Update properties of this object
|
1481
|
+
def update!(**args)
|
1482
|
+
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
1483
|
+
@interface = args[:interface] if args.key?(:interface)
|
1484
|
+
end
|
1485
|
+
end
|
1486
|
+
|
1487
|
+
#
|
1488
|
+
class AllocationsScopedList
|
1489
|
+
include Google::Apis::Core::Hashable
|
1490
|
+
|
1491
|
+
# A list of allocations contained in this scope.
|
1492
|
+
# Corresponds to the JSON property `allocations`
|
1493
|
+
# @return [Array<Google::Apis::ComputeBeta::Allocation>]
|
1494
|
+
attr_accessor :allocations
|
1495
|
+
|
1496
|
+
# Informational warning which replaces the list of allocations when the list is
|
1497
|
+
# empty.
|
928
1498
|
# Corresponds to the JSON property `warning`
|
929
|
-
# @return [Google::Apis::ComputeBeta::
|
1499
|
+
# @return [Google::Apis::ComputeBeta::AllocationsScopedList::Warning]
|
930
1500
|
attr_accessor :warning
|
931
1501
|
|
932
1502
|
def initialize(**args)
|
@@ -935,12 +1505,12 @@ module Google
|
|
935
1505
|
|
936
1506
|
# Update properties of this object
|
937
1507
|
def update!(**args)
|
938
|
-
@
|
1508
|
+
@allocations = args[:allocations] if args.key?(:allocations)
|
939
1509
|
@warning = args[:warning] if args.key?(:warning)
|
940
1510
|
end
|
941
1511
|
|
942
|
-
#
|
943
|
-
#
|
1512
|
+
# Informational warning which replaces the list of allocations when the list is
|
1513
|
+
# empty.
|
944
1514
|
class Warning
|
945
1515
|
include Google::Apis::Core::Hashable
|
946
1516
|
|
@@ -953,7 +1523,7 @@ module Google
|
|
953
1523
|
# [Output Only] Metadata about this warning in key: value format. For example:
|
954
1524
|
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
955
1525
|
# Corresponds to the JSON property `data`
|
956
|
-
# @return [Array<Google::Apis::ComputeBeta::
|
1526
|
+
# @return [Array<Google::Apis::ComputeBeta::AllocationsScopedList::Warning::Datum>]
|
957
1527
|
attr_accessor :data
|
958
1528
|
|
959
1529
|
# [Output Only] A human-readable description of the warning code.
|
@@ -1005,37 +1575,6 @@ module Google
|
|
1005
1575
|
end
|
1006
1576
|
end
|
1007
1577
|
|
1008
|
-
# An alias IP range attached to an instance's network interface.
|
1009
|
-
class AliasIpRange
|
1010
|
-
include Google::Apis::Core::Hashable
|
1011
|
-
|
1012
|
-
# The IP CIDR range represented by this alias IP range. This IP CIDR range must
|
1013
|
-
# belong to the specified subnetwork and cannot contain IP addresses reserved by
|
1014
|
-
# system or used by other network interfaces. This range may be a single IP
|
1015
|
-
# address (e.g. 10.2.3.4), a netmask (e.g. /24) or a CIDR format string (e.g. 10.
|
1016
|
-
# 1.2.0/24).
|
1017
|
-
# Corresponds to the JSON property `ipCidrRange`
|
1018
|
-
# @return [String]
|
1019
|
-
attr_accessor :ip_cidr_range
|
1020
|
-
|
1021
|
-
# Optional subnetwork secondary range name specifying the secondary range from
|
1022
|
-
# which to allocate the IP CIDR range for this alias IP range. If left
|
1023
|
-
# unspecified, the primary range of the subnetwork will be used.
|
1024
|
-
# Corresponds to the JSON property `subnetworkRangeName`
|
1025
|
-
# @return [String]
|
1026
|
-
attr_accessor :subnetwork_range_name
|
1027
|
-
|
1028
|
-
def initialize(**args)
|
1029
|
-
update!(**args)
|
1030
|
-
end
|
1031
|
-
|
1032
|
-
# Update properties of this object
|
1033
|
-
def update!(**args)
|
1034
|
-
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
1035
|
-
@subnetwork_range_name = args[:subnetwork_range_name] if args.key?(:subnetwork_range_name)
|
1036
|
-
end
|
1037
|
-
end
|
1038
|
-
|
1039
1578
|
# An instance-attached disk resource.
|
1040
1579
|
class AttachedDisk
|
1041
1580
|
include Google::Apis::Core::Hashable
|
@@ -1951,8 +2490,7 @@ module Google
|
|
1951
2490
|
attr_accessor :utilization_target
|
1952
2491
|
|
1953
2492
|
# Defines how target utilization value is expressed for a Stackdriver Monitoring
|
1954
|
-
# metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE.
|
1955
|
-
# the default is GAUGE.
|
2493
|
+
# metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE.
|
1956
2494
|
# Corresponds to the JSON property `utilizationTargetType`
|
1957
2495
|
# @return [String]
|
1958
2496
|
attr_accessor :utilization_target_type
|
@@ -2020,15 +2558,21 @@ module Google
|
|
2020
2558
|
# @return [String]
|
2021
2559
|
attr_accessor :description
|
2022
2560
|
|
2023
|
-
# The fully-qualified URL of
|
2024
|
-
# defines the list of instances that
|
2025
|
-
# instances from each instance group must
|
2026
|
-
# group itself. No two backends in a
|
2027
|
-
# Instance Group resource.
|
2028
|
-
#
|
2029
|
-
#
|
2561
|
+
# The fully-qualified URL of an Instance Group or Network Endpoint Group
|
2562
|
+
# resource. In case of instance group this defines the list of instances that
|
2563
|
+
# serve traffic. Member virtual machine instances from each instance group must
|
2564
|
+
# live in the same zone as the instance group itself. No two backends in a
|
2565
|
+
# backend service are allowed to use same Instance Group resource.
|
2566
|
+
# For Network Endpoint Groups this defines list of endpoints. All endpoints of
|
2567
|
+
# Network Endpoint Group must be hosted on instances located in the same zone as
|
2568
|
+
# the Network Endpoint Group.
|
2569
|
+
# Backend service can not contain mix of Instance Group and Network Endpoint
|
2570
|
+
# Group backends.
|
2571
|
+
# Note that you must specify an Instance Group or Network Endpoint Group
|
2572
|
+
# resource using the fully-qualified URL, rather than a partial URL.
|
2030
2573
|
# When the BackendService has load balancing scheme INTERNAL, the instance group
|
2031
|
-
# must be within the same region as the BackendService.
|
2574
|
+
# must be within the same region as the BackendService. Network Endpoint Groups
|
2575
|
+
# are not supported for INTERNAL load balancing scheme.
|
2032
2576
|
# Corresponds to the JSON property `group`
|
2033
2577
|
# @return [String]
|
2034
2578
|
attr_accessor :group
|
@@ -2194,7 +2738,7 @@ module Google
|
|
2194
2738
|
# considered fresh. After this time period, the response will be revalidated
|
2195
2739
|
# before being served. Defaults to 1hr (3600s). When serving responses to signed
|
2196
2740
|
# URL requests, Cloud CDN will internally behave as though all responses from
|
2197
|
-
# this backend had a
|
2741
|
+
# this backend had a "Cache-Control: public, max-age=[TTL]" header, regardless
|
2198
2742
|
# of any existing Cache-Control header. The actual headers served in responses
|
2199
2743
|
# will not be altered.
|
2200
2744
|
# Corresponds to the JSON property `signedUrlCacheMaxAgeSec`
|
@@ -2389,7 +2933,8 @@ module Google
|
|
2389
2933
|
# Fingerprint of this resource. A hash of the contents stored in this object.
|
2390
2934
|
# This field is used in optimistic locking. This field will be ignored when
|
2391
2935
|
# inserting a BackendService. An up-to-date fingerprint must be provided in
|
2392
|
-
# order to update the BackendService
|
2936
|
+
# order to update the BackendService, otherwise the request will fail with error
|
2937
|
+
# 412 conditionNotMet.
|
2393
2938
|
# To see the latest fingerprint, make a get() request to retrieve a
|
2394
2939
|
# BackendService.
|
2395
2940
|
# Corresponds to the JSON property `fingerprint`
|
@@ -2663,7 +3208,7 @@ module Google
|
|
2663
3208
|
# considered fresh. After this time period, the response will be revalidated
|
2664
3209
|
# before being served. Defaults to 1hr (3600s). When serving responses to signed
|
2665
3210
|
# URL requests, Cloud CDN will internally behave as though all responses from
|
2666
|
-
# this backend had a
|
3211
|
+
# this backend had a "Cache-Control: public, max-age=[TTL]" header, regardless
|
2667
3212
|
# of any existing Cache-Control header. The actual headers served in responses
|
2668
3213
|
# will not be altered.
|
2669
3214
|
# Corresponds to the JSON property `signedUrlCacheMaxAgeSec`
|
@@ -2691,7 +3236,8 @@ module Google
|
|
2691
3236
|
class BackendServiceGroupHealth
|
2692
3237
|
include Google::Apis::Core::Hashable
|
2693
3238
|
|
2694
|
-
#
|
3239
|
+
# Health state of the backend instances or endpoints in requested instance or
|
3240
|
+
# network endpoint group, determined based on configured health checks.
|
2695
3241
|
# Corresponds to the JSON property `healthStatus`
|
2696
3242
|
# @return [Array<Google::Apis::ComputeBeta::HealthStatus>]
|
2697
3243
|
attr_accessor :health_status
|
@@ -3121,6 +3667,11 @@ module Google
|
|
3121
3667
|
class Commitment
|
3122
3668
|
include Google::Apis::Core::Hashable
|
3123
3669
|
|
3670
|
+
# List of allocations for this commitment.
|
3671
|
+
# Corresponds to the JSON property `allocations`
|
3672
|
+
# @return [Array<Google::Apis::ComputeBeta::Allocation>]
|
3673
|
+
attr_accessor :allocations
|
3674
|
+
|
3124
3675
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
3125
3676
|
# Corresponds to the JSON property `creationTimestamp`
|
3126
3677
|
# @return [String]
|
@@ -3204,6 +3755,7 @@ module Google
|
|
3204
3755
|
|
3205
3756
|
# Update properties of this object
|
3206
3757
|
def update!(**args)
|
3758
|
+
@allocations = args[:allocations] if args.key?(:allocations)
|
3207
3759
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
3208
3760
|
@description = args[:description] if args.key?(:description)
|
3209
3761
|
@end_timestamp = args[:end_timestamp] if args.key?(:end_timestamp)
|
@@ -3786,7 +4338,8 @@ module Google
|
|
3786
4338
|
# a hash of the labels set used for optimistic locking. The fingerprint is
|
3787
4339
|
# initially generated by Compute Engine and changes after every request to
|
3788
4340
|
# modify or update labels. You must always provide an up-to-date fingerprint
|
3789
|
-
# hash in order to update or change labels
|
4341
|
+
# hash in order to update or change labels, otherwise the request will fail with
|
4342
|
+
# error 412 conditionNotMet.
|
3790
4343
|
# To see the latest fingerprint, make a get() request to retrieve a disk.
|
3791
4344
|
# Corresponds to the JSON property `labelFingerprint`
|
3792
4345
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
@@ -3834,6 +4387,14 @@ module Google
|
|
3834
4387
|
# @return [String]
|
3835
4388
|
attr_accessor :options
|
3836
4389
|
|
4390
|
+
# Physical block size of the persistent disk, in bytes. If not present in a
|
4391
|
+
# request, a default value is used. Currently supported sizes are 4096 and 16384,
|
4392
|
+
# other sizes may be added in the future. If an unsupported value is requested,
|
4393
|
+
# the error message will list the supported values for the caller's project.
|
4394
|
+
# Corresponds to the JSON property `physicalBlockSizeBytes`
|
4395
|
+
# @return [Fixnum]
|
4396
|
+
attr_accessor :physical_block_size_bytes
|
4397
|
+
|
3837
4398
|
# [Output Only] URL of the region where the disk resides. Only applicable for
|
3838
4399
|
# regional resources. You must specify this field as part of the HTTP request
|
3839
4400
|
# URL. It is not settable as a field in the request body.
|
@@ -3975,6 +4536,7 @@ module Google
|
|
3975
4536
|
@licenses = args[:licenses] if args.key?(:licenses)
|
3976
4537
|
@name = args[:name] if args.key?(:name)
|
3977
4538
|
@options = args[:options] if args.key?(:options)
|
4539
|
+
@physical_block_size_bytes = args[:physical_block_size_bytes] if args.key?(:physical_block_size_bytes)
|
3978
4540
|
@region = args[:region] if args.key?(:region)
|
3979
4541
|
@replica_zones = args[:replica_zones] if args.key?(:replica_zones)
|
3980
4542
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
@@ -4727,13 +5289,182 @@ module Google
|
|
4727
5289
|
end
|
4728
5290
|
|
4729
5291
|
#
|
4730
|
-
class DisksAddResourcePoliciesRequest
|
5292
|
+
class DisksAddResourcePoliciesRequest
|
5293
|
+
include Google::Apis::Core::Hashable
|
5294
|
+
|
5295
|
+
# Resource policies to be added to this disk.
|
5296
|
+
# Corresponds to the JSON property `resourcePolicies`
|
5297
|
+
# @return [Array<String>]
|
5298
|
+
attr_accessor :resource_policies
|
5299
|
+
|
5300
|
+
def initialize(**args)
|
5301
|
+
update!(**args)
|
5302
|
+
end
|
5303
|
+
|
5304
|
+
# Update properties of this object
|
5305
|
+
def update!(**args)
|
5306
|
+
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
5307
|
+
end
|
5308
|
+
end
|
5309
|
+
|
5310
|
+
#
|
5311
|
+
class DisksRemoveResourcePoliciesRequest
|
5312
|
+
include Google::Apis::Core::Hashable
|
5313
|
+
|
5314
|
+
# Resource policies to be removed from this disk.
|
5315
|
+
# Corresponds to the JSON property `resourcePolicies`
|
5316
|
+
# @return [Array<String>]
|
5317
|
+
attr_accessor :resource_policies
|
5318
|
+
|
5319
|
+
def initialize(**args)
|
5320
|
+
update!(**args)
|
5321
|
+
end
|
5322
|
+
|
5323
|
+
# Update properties of this object
|
5324
|
+
def update!(**args)
|
5325
|
+
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
5326
|
+
end
|
5327
|
+
end
|
5328
|
+
|
5329
|
+
#
|
5330
|
+
class DisksResizeRequest
|
5331
|
+
include Google::Apis::Core::Hashable
|
5332
|
+
|
5333
|
+
# The new size of the persistent disk, which is specified in GB.
|
5334
|
+
# Corresponds to the JSON property `sizeGb`
|
5335
|
+
# @return [Fixnum]
|
5336
|
+
attr_accessor :size_gb
|
5337
|
+
|
5338
|
+
def initialize(**args)
|
5339
|
+
update!(**args)
|
5340
|
+
end
|
5341
|
+
|
5342
|
+
# Update properties of this object
|
5343
|
+
def update!(**args)
|
5344
|
+
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
5345
|
+
end
|
5346
|
+
end
|
5347
|
+
|
5348
|
+
#
|
5349
|
+
class DisksScopedList
|
5350
|
+
include Google::Apis::Core::Hashable
|
5351
|
+
|
5352
|
+
# [Output Only] A list of disks contained in this scope.
|
5353
|
+
# Corresponds to the JSON property `disks`
|
5354
|
+
# @return [Array<Google::Apis::ComputeBeta::Disk>]
|
5355
|
+
attr_accessor :disks
|
5356
|
+
|
5357
|
+
# [Output Only] Informational warning which replaces the list of disks when the
|
5358
|
+
# list is empty.
|
5359
|
+
# Corresponds to the JSON property `warning`
|
5360
|
+
# @return [Google::Apis::ComputeBeta::DisksScopedList::Warning]
|
5361
|
+
attr_accessor :warning
|
5362
|
+
|
5363
|
+
def initialize(**args)
|
5364
|
+
update!(**args)
|
5365
|
+
end
|
5366
|
+
|
5367
|
+
# Update properties of this object
|
5368
|
+
def update!(**args)
|
5369
|
+
@disks = args[:disks] if args.key?(:disks)
|
5370
|
+
@warning = args[:warning] if args.key?(:warning)
|
5371
|
+
end
|
5372
|
+
|
5373
|
+
# [Output Only] Informational warning which replaces the list of disks when the
|
5374
|
+
# list is empty.
|
5375
|
+
class Warning
|
5376
|
+
include Google::Apis::Core::Hashable
|
5377
|
+
|
5378
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
5379
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
5380
|
+
# Corresponds to the JSON property `code`
|
5381
|
+
# @return [String]
|
5382
|
+
attr_accessor :code
|
5383
|
+
|
5384
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
5385
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
5386
|
+
# Corresponds to the JSON property `data`
|
5387
|
+
# @return [Array<Google::Apis::ComputeBeta::DisksScopedList::Warning::Datum>]
|
5388
|
+
attr_accessor :data
|
5389
|
+
|
5390
|
+
# [Output Only] A human-readable description of the warning code.
|
5391
|
+
# Corresponds to the JSON property `message`
|
5392
|
+
# @return [String]
|
5393
|
+
attr_accessor :message
|
5394
|
+
|
5395
|
+
def initialize(**args)
|
5396
|
+
update!(**args)
|
5397
|
+
end
|
5398
|
+
|
5399
|
+
# Update properties of this object
|
5400
|
+
def update!(**args)
|
5401
|
+
@code = args[:code] if args.key?(:code)
|
5402
|
+
@data = args[:data] if args.key?(:data)
|
5403
|
+
@message = args[:message] if args.key?(:message)
|
5404
|
+
end
|
5405
|
+
|
5406
|
+
#
|
5407
|
+
class Datum
|
5408
|
+
include Google::Apis::Core::Hashable
|
5409
|
+
|
5410
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
5411
|
+
# For example, for warnings where there are no results in a list request for a
|
5412
|
+
# particular zone, this key might be scope and the key value might be the zone
|
5413
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
5414
|
+
# suggested replacement, or a warning about invalid network settings (for
|
5415
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
5416
|
+
# for IP forwarding).
|
5417
|
+
# Corresponds to the JSON property `key`
|
5418
|
+
# @return [String]
|
5419
|
+
attr_accessor :key
|
5420
|
+
|
5421
|
+
# [Output Only] A warning data value corresponding to the key.
|
5422
|
+
# Corresponds to the JSON property `value`
|
5423
|
+
# @return [String]
|
5424
|
+
attr_accessor :value
|
5425
|
+
|
5426
|
+
def initialize(**args)
|
5427
|
+
update!(**args)
|
5428
|
+
end
|
5429
|
+
|
5430
|
+
# Update properties of this object
|
5431
|
+
def update!(**args)
|
5432
|
+
@key = args[:key] if args.key?(:key)
|
5433
|
+
@value = args[:value] if args.key?(:value)
|
5434
|
+
end
|
5435
|
+
end
|
5436
|
+
end
|
5437
|
+
end
|
5438
|
+
|
5439
|
+
# A set of Display Device options
|
5440
|
+
class DisplayDevice
|
5441
|
+
include Google::Apis::Core::Hashable
|
5442
|
+
|
5443
|
+
# Defines whether the instance has Display enabled.
|
5444
|
+
# Corresponds to the JSON property `enableDisplay`
|
5445
|
+
# @return [Boolean]
|
5446
|
+
attr_accessor :enable_display
|
5447
|
+
alias_method :enable_display?, :enable_display
|
5448
|
+
|
5449
|
+
def initialize(**args)
|
5450
|
+
update!(**args)
|
5451
|
+
end
|
5452
|
+
|
5453
|
+
# Update properties of this object
|
5454
|
+
def update!(**args)
|
5455
|
+
@enable_display = args[:enable_display] if args.key?(:enable_display)
|
5456
|
+
end
|
5457
|
+
end
|
5458
|
+
|
5459
|
+
#
|
5460
|
+
class DistributionPolicy
|
4731
5461
|
include Google::Apis::Core::Hashable
|
4732
5462
|
|
4733
|
-
#
|
4734
|
-
#
|
4735
|
-
#
|
4736
|
-
|
5463
|
+
# Zones where the regional managed instance group will create and manage
|
5464
|
+
# instances.
|
5465
|
+
# Corresponds to the JSON property `zones`
|
5466
|
+
# @return [Array<Google::Apis::ComputeBeta::DistributionPolicyZoneConfiguration>]
|
5467
|
+
attr_accessor :zones
|
4737
5468
|
|
4738
5469
|
def initialize(**args)
|
4739
5470
|
update!(**args)
|
@@ -4741,18 +5472,19 @@ module Google
|
|
4741
5472
|
|
4742
5473
|
# Update properties of this object
|
4743
5474
|
def update!(**args)
|
4744
|
-
@
|
5475
|
+
@zones = args[:zones] if args.key?(:zones)
|
4745
5476
|
end
|
4746
5477
|
end
|
4747
5478
|
|
4748
5479
|
#
|
4749
|
-
class
|
5480
|
+
class DistributionPolicyZoneConfiguration
|
4750
5481
|
include Google::Apis::Core::Hashable
|
4751
5482
|
|
4752
|
-
#
|
4753
|
-
#
|
4754
|
-
#
|
4755
|
-
|
5483
|
+
# The URL of the zone. The zone must exist in the region where the managed
|
5484
|
+
# instance group is located.
|
5485
|
+
# Corresponds to the JSON property `zone`
|
5486
|
+
# @return [String]
|
5487
|
+
attr_accessor :zone
|
4756
5488
|
|
4757
5489
|
def initialize(**args)
|
4758
5490
|
update!(**args)
|
@@ -4760,18 +5492,39 @@ module Google
|
|
4760
5492
|
|
4761
5493
|
# Update properties of this object
|
4762
5494
|
def update!(**args)
|
4763
|
-
@
|
5495
|
+
@zone = args[:zone] if args.key?(:zone)
|
4764
5496
|
end
|
4765
5497
|
end
|
4766
5498
|
|
4767
5499
|
#
|
4768
|
-
class
|
5500
|
+
class ExchangedPeeringRoute
|
4769
5501
|
include Google::Apis::Core::Hashable
|
4770
5502
|
|
4771
|
-
# The
|
4772
|
-
# Corresponds to the JSON property `
|
5503
|
+
# The destination range of the route.
|
5504
|
+
# Corresponds to the JSON property `destRange`
|
5505
|
+
# @return [String]
|
5506
|
+
attr_accessor :dest_range
|
5507
|
+
|
5508
|
+
# If the peering route is imported if there is no confliction.
|
5509
|
+
# Corresponds to the JSON property `imported`
|
5510
|
+
# @return [Boolean]
|
5511
|
+
attr_accessor :imported
|
5512
|
+
alias_method :imported?, :imported
|
5513
|
+
|
5514
|
+
# The region of peering route next hop, only applies to dynamic routes.
|
5515
|
+
# Corresponds to the JSON property `nextHopRegion`
|
5516
|
+
# @return [String]
|
5517
|
+
attr_accessor :next_hop_region
|
5518
|
+
|
5519
|
+
# The priority of the peering route.
|
5520
|
+
# Corresponds to the JSON property `priority`
|
4773
5521
|
# @return [Fixnum]
|
4774
|
-
attr_accessor :
|
5522
|
+
attr_accessor :priority
|
5523
|
+
|
5524
|
+
# The type of the peering route.
|
5525
|
+
# Corresponds to the JSON property `type`
|
5526
|
+
# @return [String]
|
5527
|
+
attr_accessor :type
|
4775
5528
|
|
4776
5529
|
def initialize(**args)
|
4777
5530
|
update!(**args)
|
@@ -4779,23 +5532,51 @@ module Google
|
|
4779
5532
|
|
4780
5533
|
# Update properties of this object
|
4781
5534
|
def update!(**args)
|
4782
|
-
@
|
5535
|
+
@dest_range = args[:dest_range] if args.key?(:dest_range)
|
5536
|
+
@imported = args[:imported] if args.key?(:imported)
|
5537
|
+
@next_hop_region = args[:next_hop_region] if args.key?(:next_hop_region)
|
5538
|
+
@priority = args[:priority] if args.key?(:priority)
|
5539
|
+
@type = args[:type] if args.key?(:type)
|
4783
5540
|
end
|
4784
5541
|
end
|
4785
5542
|
|
4786
5543
|
#
|
4787
|
-
class
|
5544
|
+
class ExchangedPeeringRoutesList
|
4788
5545
|
include Google::Apis::Core::Hashable
|
4789
5546
|
|
4790
|
-
# [Output Only]
|
4791
|
-
# Corresponds to the JSON property `
|
4792
|
-
# @return [
|
4793
|
-
attr_accessor :
|
5547
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
5548
|
+
# Corresponds to the JSON property `id`
|
5549
|
+
# @return [String]
|
5550
|
+
attr_accessor :id
|
4794
5551
|
|
4795
|
-
#
|
4796
|
-
#
|
5552
|
+
# A list of ExchangedPeeringRoute resources.
|
5553
|
+
# Corresponds to the JSON property `items`
|
5554
|
+
# @return [Array<Google::Apis::ComputeBeta::ExchangedPeeringRoute>]
|
5555
|
+
attr_accessor :items
|
5556
|
+
|
5557
|
+
# [Output Only] Type of resource. Always compute#exchangedPeeringRoutesList for
|
5558
|
+
# exchanged peering routes lists.
|
5559
|
+
# Corresponds to the JSON property `kind`
|
5560
|
+
# @return [String]
|
5561
|
+
attr_accessor :kind
|
5562
|
+
|
5563
|
+
# [Output Only] This token allows you to get the next page of results for list
|
5564
|
+
# requests. If the number of results is larger than maxResults, use the
|
5565
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
5566
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
5567
|
+
# continue paging through the results.
|
5568
|
+
# Corresponds to the JSON property `nextPageToken`
|
5569
|
+
# @return [String]
|
5570
|
+
attr_accessor :next_page_token
|
5571
|
+
|
5572
|
+
# [Output Only] Server-defined URL for this resource.
|
5573
|
+
# Corresponds to the JSON property `selfLink`
|
5574
|
+
# @return [String]
|
5575
|
+
attr_accessor :self_link
|
5576
|
+
|
5577
|
+
# [Output Only] Informational warning message.
|
4797
5578
|
# Corresponds to the JSON property `warning`
|
4798
|
-
# @return [Google::Apis::ComputeBeta::
|
5579
|
+
# @return [Google::Apis::ComputeBeta::ExchangedPeeringRoutesList::Warning]
|
4799
5580
|
attr_accessor :warning
|
4800
5581
|
|
4801
5582
|
def initialize(**args)
|
@@ -4804,12 +5585,15 @@ module Google
|
|
4804
5585
|
|
4805
5586
|
# Update properties of this object
|
4806
5587
|
def update!(**args)
|
4807
|
-
@
|
5588
|
+
@id = args[:id] if args.key?(:id)
|
5589
|
+
@items = args[:items] if args.key?(:items)
|
5590
|
+
@kind = args[:kind] if args.key?(:kind)
|
5591
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
5592
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
4808
5593
|
@warning = args[:warning] if args.key?(:warning)
|
4809
5594
|
end
|
4810
5595
|
|
4811
|
-
# [Output Only] Informational warning
|
4812
|
-
# list is empty.
|
5596
|
+
# [Output Only] Informational warning message.
|
4813
5597
|
class Warning
|
4814
5598
|
include Google::Apis::Core::Hashable
|
4815
5599
|
|
@@ -4822,7 +5606,7 @@ module Google
|
|
4822
5606
|
# [Output Only] Metadata about this warning in key: value format. For example:
|
4823
5607
|
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
4824
5608
|
# Corresponds to the JSON property `data`
|
4825
|
-
# @return [Array<Google::Apis::ComputeBeta::
|
5609
|
+
# @return [Array<Google::Apis::ComputeBeta::ExchangedPeeringRoutesList::Warning::Datum>]
|
4826
5610
|
attr_accessor :data
|
4827
5611
|
|
4828
5612
|
# [Output Only] A human-readable description of the warning code.
|
@@ -4874,46 +5658,6 @@ module Google
|
|
4874
5658
|
end
|
4875
5659
|
end
|
4876
5660
|
|
4877
|
-
#
|
4878
|
-
class DistributionPolicy
|
4879
|
-
include Google::Apis::Core::Hashable
|
4880
|
-
|
4881
|
-
# Zones where the regional managed instance group will create and manage
|
4882
|
-
# instances.
|
4883
|
-
# Corresponds to the JSON property `zones`
|
4884
|
-
# @return [Array<Google::Apis::ComputeBeta::DistributionPolicyZoneConfiguration>]
|
4885
|
-
attr_accessor :zones
|
4886
|
-
|
4887
|
-
def initialize(**args)
|
4888
|
-
update!(**args)
|
4889
|
-
end
|
4890
|
-
|
4891
|
-
# Update properties of this object
|
4892
|
-
def update!(**args)
|
4893
|
-
@zones = args[:zones] if args.key?(:zones)
|
4894
|
-
end
|
4895
|
-
end
|
4896
|
-
|
4897
|
-
#
|
4898
|
-
class DistributionPolicyZoneConfiguration
|
4899
|
-
include Google::Apis::Core::Hashable
|
4900
|
-
|
4901
|
-
# The URL of the zone. The zone must exist in the region where the managed
|
4902
|
-
# instance group is located.
|
4903
|
-
# Corresponds to the JSON property `zone`
|
4904
|
-
# @return [String]
|
4905
|
-
attr_accessor :zone
|
4906
|
-
|
4907
|
-
def initialize(**args)
|
4908
|
-
update!(**args)
|
4909
|
-
end
|
4910
|
-
|
4911
|
-
# Update properties of this object
|
4912
|
-
def update!(**args)
|
4913
|
-
@zone = args[:zone] if args.key?(:zone)
|
4914
|
-
end
|
4915
|
-
end
|
4916
|
-
|
4917
5661
|
# Represents an expression text. Example:
|
4918
5662
|
# title: "User account presence" description: "Determines whether the request
|
4919
5663
|
# has a user account" expression: "size(request.user) > 0"
|
@@ -5008,8 +5752,9 @@ module Google
|
|
5008
5752
|
attr_accessor :disabled
|
5009
5753
|
alias_method :disabled?, :disabled
|
5010
5754
|
|
5011
|
-
#
|
5012
|
-
# If logging is enabled, logs
|
5755
|
+
# Deprecated in favor of enable in LogConfig. This field denotes whether to
|
5756
|
+
# enable logging for a particular firewall rule. If logging is enabled, logs
|
5757
|
+
# will be exported to Stackdriver.
|
5013
5758
|
# Corresponds to the JSON property `enableLogging`
|
5014
5759
|
# @return [Boolean]
|
5015
5760
|
attr_accessor :enable_logging
|
@@ -5026,6 +5771,11 @@ module Google
|
|
5026
5771
|
# @return [String]
|
5027
5772
|
attr_accessor :kind
|
5028
5773
|
|
5774
|
+
# The available logging options for a firewall rule.
|
5775
|
+
# Corresponds to the JSON property `logConfig`
|
5776
|
+
# @return [Google::Apis::ComputeBeta::FirewallLogConfig]
|
5777
|
+
attr_accessor :log_config
|
5778
|
+
|
5029
5779
|
# Name of the resource; provided by the client when the resource is created. The
|
5030
5780
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
5031
5781
|
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
@@ -5136,6 +5886,7 @@ module Google
|
|
5136
5886
|
@enable_logging = args[:enable_logging] if args.key?(:enable_logging)
|
5137
5887
|
@id = args[:id] if args.key?(:id)
|
5138
5888
|
@kind = args[:kind] if args.key?(:kind)
|
5889
|
+
@log_config = args[:log_config] if args.key?(:log_config)
|
5139
5890
|
@name = args[:name] if args.key?(:name)
|
5140
5891
|
@network = args[:network] if args.key?(:network)
|
5141
5892
|
@priority = args[:priority] if args.key?(:priority)
|
@@ -5328,6 +6079,26 @@ module Google
|
|
5328
6079
|
end
|
5329
6080
|
end
|
5330
6081
|
|
6082
|
+
# The available logging options for a firewall rule.
|
6083
|
+
class FirewallLogConfig
|
6084
|
+
include Google::Apis::Core::Hashable
|
6085
|
+
|
6086
|
+
# This field denotes whether to enable logging for a particular firewall rule.
|
6087
|
+
# Corresponds to the JSON property `enable`
|
6088
|
+
# @return [Boolean]
|
6089
|
+
attr_accessor :enable
|
6090
|
+
alias_method :enable?, :enable
|
6091
|
+
|
6092
|
+
def initialize(**args)
|
6093
|
+
update!(**args)
|
6094
|
+
end
|
6095
|
+
|
6096
|
+
# Update properties of this object
|
6097
|
+
def update!(**args)
|
6098
|
+
@enable = args[:enable] if args.key?(:enable)
|
6099
|
+
end
|
6100
|
+
end
|
6101
|
+
|
5331
6102
|
# Encapsulates numeric value that can be either absolute or relative.
|
5332
6103
|
class FixedOrPercent
|
5333
6104
|
include Google::Apis::Core::Hashable
|
@@ -5415,6 +6186,17 @@ module Google
|
|
5415
6186
|
# @return [String]
|
5416
6187
|
attr_accessor :ip_protocol
|
5417
6188
|
|
6189
|
+
# This field is used along with the backend_service field for internal load
|
6190
|
+
# balancing or with the target field for internal TargetInstance. This field
|
6191
|
+
# cannot be used with port or portRange fields.
|
6192
|
+
# When the load balancing scheme is INTERNAL and protocol is TCP/UDP, specify
|
6193
|
+
# this field to allow packets addressed to any ports will be forwarded to the
|
6194
|
+
# backends configured with this forwarding rule.
|
6195
|
+
# Corresponds to the JSON property `allPorts`
|
6196
|
+
# @return [Boolean]
|
6197
|
+
attr_accessor :all_ports
|
6198
|
+
alias_method :all_ports?, :all_ports
|
6199
|
+
|
5418
6200
|
# This field is only used for INTERNAL load balancing.
|
5419
6201
|
# For internal load balancing, this field identifies the BackendService resource
|
5420
6202
|
# to receive the matched traffic.
|
@@ -5456,7 +6238,8 @@ module Google
|
|
5456
6238
|
# essentially a hash of the labels set used for optimistic locking. The
|
5457
6239
|
# fingerprint is initially generated by Compute Engine and changes after every
|
5458
6240
|
# request to modify or update labels. You must always provide an up-to-date
|
5459
|
-
# fingerprint hash in order to update or change labels
|
6241
|
+
# fingerprint hash in order to update or change labels, otherwise the request
|
6242
|
+
# will fail with error 412 conditionNotMet.
|
5460
6243
|
# To see the latest fingerprint, make a get() request to retrieve a
|
5461
6244
|
# ForwardingRule.
|
5462
6245
|
# Corresponds to the JSON property `labelFingerprint`
|
@@ -5529,9 +6312,9 @@ module Google
|
|
5529
6312
|
|
5530
6313
|
# This field is used along with the backend_service field for internal load
|
5531
6314
|
# balancing.
|
5532
|
-
# When the load balancing scheme is INTERNAL, a
|
5533
|
-
#
|
5534
|
-
# forwarded to the backends configured with this forwarding rule.
|
6315
|
+
# When the load balancing scheme is INTERNAL, a list of ports can be configured,
|
6316
|
+
# for example, ['80'], ['8000','9000'] etc. Only packets addressed to these
|
6317
|
+
# ports will be forwarded to the backends configured with this forwarding rule.
|
5535
6318
|
# You may specify a maximum of up to 5 ports.
|
5536
6319
|
# Corresponds to the JSON property `ports`
|
5537
6320
|
# @return [Array<String>]
|
@@ -5597,6 +6380,7 @@ module Google
|
|
5597
6380
|
def update!(**args)
|
5598
6381
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
5599
6382
|
@ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol)
|
6383
|
+
@all_ports = args[:all_ports] if args.key?(:all_ports)
|
5600
6384
|
@backend_service = args[:backend_service] if args.key?(:backend_service)
|
5601
6385
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
5602
6386
|
@description = args[:description] if args.key?(:description)
|
@@ -5972,8 +6756,9 @@ module Google
|
|
5972
6756
|
# The fingerprint of the previous set of labels for this resource, used to
|
5973
6757
|
# detect conflicts. The fingerprint is initially generated by Compute Engine and
|
5974
6758
|
# changes after every request to modify or update labels. You must always
|
5975
|
-
# provide an up-to-date fingerprint hash when updating or changing labels
|
5976
|
-
#
|
6759
|
+
# provide an up-to-date fingerprint hash when updating or changing labels,
|
6760
|
+
# otherwise the request will fail with error 412 conditionNotMet. Make a get()
|
6761
|
+
# request to the resource to get the latest fingerprint.
|
5977
6762
|
# Corresponds to the JSON property `labelFingerprint`
|
5978
6763
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
5979
6764
|
# @return [String]
|
@@ -6005,7 +6790,7 @@ module Google
|
|
6005
6790
|
class GlobalSetPolicyRequest
|
6006
6791
|
include Google::Apis::Core::Hashable
|
6007
6792
|
|
6008
|
-
# Flatten Policy to create a
|
6793
|
+
# Flatten Policy to create a backward compatible wire-format. Deprecated. Use '
|
6009
6794
|
# policy' to specify bindings.
|
6010
6795
|
# Corresponds to the JSON property `bindings`
|
6011
6796
|
# @return [Array<Google::Apis::ComputeBeta::Binding>]
|
@@ -7298,7 +8083,8 @@ module Google
|
|
7298
8083
|
# a hash of the labels used for optimistic locking. The fingerprint is initially
|
7299
8084
|
# generated by Compute Engine and changes after every request to modify or
|
7300
8085
|
# update labels. You must always provide an up-to-date fingerprint hash in order
|
7301
|
-
# to update or change labels
|
8086
|
+
# to update or change labels, otherwise the request will fail with error 412
|
8087
|
+
# conditionNotMet.
|
7302
8088
|
# To see the latest fingerprint, make a get() request to retrieve an image.
|
7303
8089
|
# Corresponds to the JSON property `labelFingerprint`
|
7304
8090
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
@@ -7615,6 +8401,12 @@ module Google
|
|
7615
8401
|
class Instance
|
7616
8402
|
include Google::Apis::Core::Hashable
|
7617
8403
|
|
8404
|
+
# AllocationAffinity is the configuration of desired allocation which this
|
8405
|
+
# instance could take capacity from.
|
8406
|
+
# Corresponds to the JSON property `allocationAffinity`
|
8407
|
+
# @return [Google::Apis::ComputeBeta::AllocationAffinity]
|
8408
|
+
attr_accessor :allocation_affinity
|
8409
|
+
|
7618
8410
|
# Allows this instance to send and receive packets with non-matching destination
|
7619
8411
|
# or source IPs. This is required if you plan to use this instance to forward
|
7620
8412
|
# routes. For more information, see Enabling IP Forwarding.
|
@@ -7651,11 +8443,21 @@ module Google
|
|
7651
8443
|
# @return [Array<Google::Apis::ComputeBeta::AttachedDisk>]
|
7652
8444
|
attr_accessor :disks
|
7653
8445
|
|
8446
|
+
# A set of Display Device options
|
8447
|
+
# Corresponds to the JSON property `displayDevice`
|
8448
|
+
# @return [Google::Apis::ComputeBeta::DisplayDevice]
|
8449
|
+
attr_accessor :display_device
|
8450
|
+
|
7654
8451
|
# A list of the type and count of accelerator cards attached to the instance.
|
7655
8452
|
# Corresponds to the JSON property `guestAccelerators`
|
7656
8453
|
# @return [Array<Google::Apis::ComputeBeta::AcceleratorConfig>]
|
7657
8454
|
attr_accessor :guest_accelerators
|
7658
8455
|
|
8456
|
+
#
|
8457
|
+
# Corresponds to the JSON property `hostname`
|
8458
|
+
# @return [String]
|
8459
|
+
attr_accessor :hostname
|
8460
|
+
|
7659
8461
|
# [Output Only] The unique identifier for the resource. This identifier is
|
7660
8462
|
# defined by the server.
|
7661
8463
|
# Corresponds to the JSON property `id`
|
@@ -7798,13 +8600,16 @@ module Google
|
|
7798
8600
|
|
7799
8601
|
# Update properties of this object
|
7800
8602
|
def update!(**args)
|
8603
|
+
@allocation_affinity = args[:allocation_affinity] if args.key?(:allocation_affinity)
|
7801
8604
|
@can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
|
7802
8605
|
@cpu_platform = args[:cpu_platform] if args.key?(:cpu_platform)
|
7803
8606
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
7804
8607
|
@deletion_protection = args[:deletion_protection] if args.key?(:deletion_protection)
|
7805
8608
|
@description = args[:description] if args.key?(:description)
|
7806
8609
|
@disks = args[:disks] if args.key?(:disks)
|
8610
|
+
@display_device = args[:display_device] if args.key?(:display_device)
|
7807
8611
|
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
|
8612
|
+
@hostname = args[:hostname] if args.key?(:hostname)
|
7808
8613
|
@id = args[:id] if args.key?(:id)
|
7809
8614
|
@kind = args[:kind] if args.key?(:kind)
|
7810
8615
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
@@ -8342,7 +9147,8 @@ module Google
|
|
8342
9147
|
|
8343
9148
|
# Fingerprint of this resource. This field may be used in optimistic locking. It
|
8344
9149
|
# will be ignored when inserting an InstanceGroupManager. An up-to-date
|
8345
|
-
# fingerprint must be provided in order to update the InstanceGroupManager
|
9150
|
+
# fingerprint must be provided in order to update the InstanceGroupManager,
|
9151
|
+
# otherwise the request will fail with error 412 conditionNotMet.
|
8346
9152
|
# To see the latest fingerprint, make a get() request to retrieve an
|
8347
9153
|
# InstanceGroupManager.
|
8348
9154
|
# Corresponds to the JSON property `fingerprint`
|
@@ -9085,7 +9891,7 @@ module Google
|
|
9085
9891
|
# instances initiated by this resize request only once. If there is an error
|
9086
9892
|
# during creation, the managed instance group does not retry create this
|
9087
9893
|
# instance, and we will decrease the targetSize of the request instead. If the
|
9088
|
-
# flag is false, the group
|
9894
|
+
# flag is false, the group attempts to recreate each instance continuously until
|
9089
9895
|
# it succeeds.
|
9090
9896
|
# This flag matters only in the first attempt of creation of an instance. After
|
9091
9897
|
# an instance is successfully created while this flag is enabled, the instance
|
@@ -9563,7 +10369,8 @@ module Google
|
|
9563
10369
|
# named ports settings concurrently. Obtain the fingerprint with the
|
9564
10370
|
# instanceGroups.get method. Then, include the fingerprint in your request to
|
9565
10371
|
# ensure that you do not overwrite changes that were applied from another
|
9566
|
-
# concurrent request.
|
10372
|
+
# concurrent request. A request with an incorrect fingerprint will fail with
|
10373
|
+
# error 412 conditionNotMet.
|
9567
10374
|
# Corresponds to the JSON property `fingerprint`
|
9568
10375
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
9569
10376
|
# @return [String]
|
@@ -9859,6 +10666,12 @@ module Google
|
|
9859
10666
|
class InstanceProperties
|
9860
10667
|
include Google::Apis::Core::Hashable
|
9861
10668
|
|
10669
|
+
# AllocationAffinity is the configuration of desired allocation which this
|
10670
|
+
# instance could take capacity from.
|
10671
|
+
# Corresponds to the JSON property `allocationAffinity`
|
10672
|
+
# @return [Google::Apis::ComputeBeta::AllocationAffinity]
|
10673
|
+
attr_accessor :allocation_affinity
|
10674
|
+
|
9862
10675
|
# Enables instances created based on this template to send packets with source
|
9863
10676
|
# IP addresses other than their own and receive packets with destination IP
|
9864
10677
|
# addresses other than their own. If these instances will be used as an IP
|
@@ -9945,6 +10758,7 @@ module Google
|
|
9945
10758
|
|
9946
10759
|
# Update properties of this object
|
9947
10760
|
def update!(**args)
|
10761
|
+
@allocation_affinity = args[:allocation_affinity] if args.key?(:allocation_affinity)
|
9948
10762
|
@can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
|
9949
10763
|
@description = args[:description] if args.key?(:description)
|
9950
10764
|
@disks = args[:disks] if args.key?(:disks)
|
@@ -10212,6 +11026,36 @@ module Google
|
|
10212
11026
|
end
|
10213
11027
|
end
|
10214
11028
|
|
11029
|
+
#
|
11030
|
+
class InstancesResumeRequest
|
11031
|
+
include Google::Apis::Core::Hashable
|
11032
|
+
|
11033
|
+
# Array of disks associated with this instance that are protected with a
|
11034
|
+
# customer-supplied encryption key.
|
11035
|
+
# In order to resume the instance, the disk url and its corresponding key must
|
11036
|
+
# be provided.
|
11037
|
+
# If the disk is not protected with a customer-supplied encryption key it should
|
11038
|
+
# not be specified.
|
11039
|
+
# Corresponds to the JSON property `disks`
|
11040
|
+
# @return [Array<Google::Apis::ComputeBeta::CustomerEncryptionKeyProtectedDisk>]
|
11041
|
+
attr_accessor :disks
|
11042
|
+
|
11043
|
+
# Represents a customer-supplied encryption key
|
11044
|
+
# Corresponds to the JSON property `instanceEncryptionKey`
|
11045
|
+
# @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
|
11046
|
+
attr_accessor :instance_encryption_key
|
11047
|
+
|
11048
|
+
def initialize(**args)
|
11049
|
+
update!(**args)
|
11050
|
+
end
|
11051
|
+
|
11052
|
+
# Update properties of this object
|
11053
|
+
def update!(**args)
|
11054
|
+
@disks = args[:disks] if args.key?(:disks)
|
11055
|
+
@instance_encryption_key = args[:instance_encryption_key] if args.key?(:instance_encryption_key)
|
11056
|
+
end
|
11057
|
+
end
|
11058
|
+
|
10215
11059
|
#
|
10216
11060
|
class InstancesScopedList
|
10217
11061
|
include Google::Apis::Core::Hashable
|
@@ -10523,7 +11367,8 @@ module Google
|
|
10523
11367
|
# essentially a hash of the labels set used for optimistic locking. The
|
10524
11368
|
# fingerprint is initially generated by Compute Engine and changes after every
|
10525
11369
|
# request to modify or update labels. You must always provide an up-to-date
|
10526
|
-
# fingerprint hash in order to update or change labels
|
11370
|
+
# fingerprint hash in order to update or change labels, otherwise the request
|
11371
|
+
# will fail with error 412 conditionNotMet.
|
10527
11372
|
# To see the latest fingerprint, make a get() request to retrieve an
|
10528
11373
|
# Interconnect.
|
10529
11374
|
# Corresponds to the JSON property `labelFingerprint`
|
@@ -10652,7 +11497,7 @@ module Google
|
|
10652
11497
|
|
10653
11498
|
# Provisioned bandwidth capacity for the interconnectAttachment. Can be set by
|
10654
11499
|
# the partner to update the customer's provisioned bandwidth. Output only for
|
10655
|
-
#
|
11500
|
+
# PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED.
|
10656
11501
|
# Corresponds to the JSON property `bandwidth`
|
10657
11502
|
# @return [String]
|
10658
11503
|
attr_accessor :bandwidth
|
@@ -10728,7 +11573,8 @@ module Google
|
|
10728
11573
|
# which is essentially a hash of the labels set used for optimistic locking. The
|
10729
11574
|
# fingerprint is initially generated by Compute Engine and changes after every
|
10730
11575
|
# request to modify or update labels. You must always provide an up-to-date
|
10731
|
-
# fingerprint hash in order to update or change labels
|
11576
|
+
# fingerprint hash in order to update or change labels, otherwise the request
|
11577
|
+
# will fail with error 412 conditionNotMet.
|
10732
11578
|
# To see the latest fingerprint, make a get() request to retrieve an
|
10733
11579
|
# InterconnectAttachment.
|
10734
11580
|
# Corresponds to the JSON property `labelFingerprint`
|
@@ -10794,7 +11640,7 @@ module Google
|
|
10794
11640
|
# @return [String]
|
10795
11641
|
attr_accessor :region
|
10796
11642
|
|
10797
|
-
# URL of the
|
11643
|
+
# URL of the Cloud Router to be used for dynamic routing. This router must be in
|
10798
11644
|
# the same region as this InterconnectAttachment. The InterconnectAttachment
|
10799
11645
|
# will automatically connect the Interconnect to the network & region within
|
10800
11646
|
# which the Cloud Router is configured.
|
@@ -10817,9 +11663,8 @@ module Google
|
|
10817
11663
|
# @return [String]
|
10818
11664
|
attr_accessor :type
|
10819
11665
|
|
10820
|
-
#
|
10821
|
-
#
|
10822
|
-
# known as IEEE 802.1Q Only specified at creation time.
|
11666
|
+
# The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094. Only
|
11667
|
+
# specified at creation time.
|
10823
11668
|
# Corresponds to the JSON property `vlanTag8021q`
|
10824
11669
|
# @return [Fixnum]
|
10825
11670
|
attr_accessor :vlan_tag8021q
|
@@ -11103,7 +11948,7 @@ module Google
|
|
11103
11948
|
include Google::Apis::Core::Hashable
|
11104
11949
|
|
11105
11950
|
# Plain text name of the Interconnect this attachment is connected to, as
|
11106
|
-
# displayed in the Partner?s portal. For instance
|
11951
|
+
# displayed in the Partner?s portal. For instance "Chicago 1". This value may be
|
11107
11952
|
# validated to match approved Partner values.
|
11108
11953
|
# Corresponds to the JSON property `interconnectName`
|
11109
11954
|
# @return [String]
|
@@ -11380,7 +12225,10 @@ module Google
|
|
11380
12225
|
# @return [String]
|
11381
12226
|
attr_accessor :state
|
11382
12227
|
|
11383
|
-
# Value of the current optical power, read in dBm.
|
12228
|
+
# Value of the current optical power, read in dBm. Take a known good optical
|
12229
|
+
# value, give it a 10% margin and trigger warnings relative to that value. In
|
12230
|
+
# general, a -7dBm warning and a -11dBm alarm are good optical value estimates
|
12231
|
+
# for most links.
|
11384
12232
|
# Corresponds to the JSON property `value`
|
11385
12233
|
# @return [Float]
|
11386
12234
|
attr_accessor :value
|
@@ -11650,6 +12498,13 @@ module Google
|
|
11650
12498
|
# @return [String]
|
11651
12499
|
attr_accessor :self_link
|
11652
12500
|
|
12501
|
+
# [Output Only] The status of this InterconnectLocation. If the status is
|
12502
|
+
# AVAILABLE, new Interconnects may be provisioned in this InterconnectLocation.
|
12503
|
+
# Otherwise, no new Interconnects may be provisioned.
|
12504
|
+
# Corresponds to the JSON property `status`
|
12505
|
+
# @return [String]
|
12506
|
+
attr_accessor :status
|
12507
|
+
|
11653
12508
|
def initialize(**args)
|
11654
12509
|
update!(**args)
|
11655
12510
|
end
|
@@ -11670,6 +12525,7 @@ module Google
|
|
11670
12525
|
@peeringdb_facility_id = args[:peeringdb_facility_id] if args.key?(:peeringdb_facility_id)
|
11671
12526
|
@region_infos = args[:region_infos] if args.key?(:region_infos)
|
11672
12527
|
@self_link = args[:self_link] if args.key?(:self_link)
|
12528
|
+
@status = args[:status] if args.key?(:status)
|
11673
12529
|
end
|
11674
12530
|
end
|
11675
12531
|
|
@@ -12342,6 +13198,10 @@ module Google
|
|
12342
13198
|
|
12343
13199
|
# Whether Gin logging should happen in a fail-closed manner at the caller. This
|
12344
13200
|
# is relevant only in the LocalIAM implementation, for now.
|
13201
|
+
# NOTE: Logging to Gin in a fail-closed manner is currently unsupported while
|
13202
|
+
# work is being done to satisfy the requirements of go/345. Currently, setting
|
13203
|
+
# LOG_FAIL_CLOSED mode will have no effect, but still exists because there is
|
13204
|
+
# active work being done to support it (b/115874152).
|
12345
13205
|
# Corresponds to the JSON property `logMode`
|
12346
13206
|
# @return [String]
|
12347
13207
|
attr_accessor :log_mode
|
@@ -12959,7 +13819,8 @@ module Google
|
|
12959
13819
|
# metadata's contents and used for optimistic locking. The fingerprint is
|
12960
13820
|
# initially generated by Compute Engine and changes after every request to
|
12961
13821
|
# modify or update metadata. You must always provide an up-to-date fingerprint
|
12962
|
-
# hash in order to update or change metadata
|
13822
|
+
# hash in order to update or change metadata, otherwise the request will fail
|
13823
|
+
# with error 412 conditionNotMet.
|
12963
13824
|
# To see the latest fingerprint, make a get() request to retrieve the resource.
|
12964
13825
|
# Corresponds to the JSON property `fingerprint`
|
12965
13826
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
@@ -13878,7 +14739,8 @@ module Google
|
|
13878
14739
|
|
13879
14740
|
# Fingerprint hash of contents stored in this network interface. This field will
|
13880
14741
|
# be ignored when inserting an Instance or adding a NetworkInterface. An up-to-
|
13881
|
-
# date fingerprint must be provided in order to update the NetworkInterface
|
14742
|
+
# date fingerprint must be provided in order to update the NetworkInterface,
|
14743
|
+
# otherwise the request will fail with error 412 conditionNotMet.
|
13882
14744
|
# Corresponds to the JSON property `fingerprint`
|
13883
14745
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
13884
14746
|
# @return [String]
|
@@ -14073,15 +14935,36 @@ module Google
|
|
14073
14935
|
class NetworkPeering
|
14074
14936
|
include Google::Apis::Core::Hashable
|
14075
14937
|
|
14076
|
-
#
|
14077
|
-
# is set to true, Google Compute Engine will automatically create and
|
14078
|
-
# routes between two networks when the state is ACTIVE. Otherwise,
|
14079
|
-
# create routes manually to route packets to peer network.
|
14938
|
+
# Indicates whether full mesh connectivity is created and managed automatically.
|
14939
|
+
# When it is set to true, Google Compute Engine will automatically create and
|
14940
|
+
# manage the routes between two networks when the state is ACTIVE. Otherwise,
|
14941
|
+
# user needs to create routes manually to route packets to peer network.
|
14080
14942
|
# Corresponds to the JSON property `autoCreateRoutes`
|
14081
14943
|
# @return [Boolean]
|
14082
14944
|
attr_accessor :auto_create_routes
|
14083
14945
|
alias_method :auto_create_routes?, :auto_create_routes
|
14084
14946
|
|
14947
|
+
# Whether full mesh connectivity is created and managed automatically. When it
|
14948
|
+
# is set to true, Google Compute Engine will automatically create and manage the
|
14949
|
+
# routes between two networks when the peering state is ACTIVE. Otherwise, user
|
14950
|
+
# needs to create routes manually to route packets to peer network.
|
14951
|
+
# Corresponds to the JSON property `exchangeSubnetRoutes`
|
14952
|
+
# @return [Boolean]
|
14953
|
+
attr_accessor :exchange_subnet_routes
|
14954
|
+
alias_method :exchange_subnet_routes?, :exchange_subnet_routes
|
14955
|
+
|
14956
|
+
# Whether to export the custom routes to peer network.
|
14957
|
+
# Corresponds to the JSON property `exportCustomRoutes`
|
14958
|
+
# @return [Boolean]
|
14959
|
+
attr_accessor :export_custom_routes
|
14960
|
+
alias_method :export_custom_routes?, :export_custom_routes
|
14961
|
+
|
14962
|
+
# Whether to import the custom routes from peer network.
|
14963
|
+
# Corresponds to the JSON property `importCustomRoutes`
|
14964
|
+
# @return [Boolean]
|
14965
|
+
attr_accessor :import_custom_routes
|
14966
|
+
alias_method :import_custom_routes?, :import_custom_routes
|
14967
|
+
|
14085
14968
|
# Name of this peering. Provided by the client when the peering is created. The
|
14086
14969
|
# name must comply with RFC1035. Specifically, the name must be 1-63 characters
|
14087
14970
|
# long and match regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the
|
@@ -14117,6 +15000,9 @@ module Google
|
|
14117
15000
|
# Update properties of this object
|
14118
15001
|
def update!(**args)
|
14119
15002
|
@auto_create_routes = args[:auto_create_routes] if args.key?(:auto_create_routes)
|
15003
|
+
@exchange_subnet_routes = args[:exchange_subnet_routes] if args.key?(:exchange_subnet_routes)
|
15004
|
+
@export_custom_routes = args[:export_custom_routes] if args.key?(:export_custom_routes)
|
15005
|
+
@import_custom_routes = args[:import_custom_routes] if args.key?(:import_custom_routes)
|
14120
15006
|
@name = args[:name] if args.key?(:name)
|
14121
15007
|
@network = args[:network] if args.key?(:network)
|
14122
15008
|
@state = args[:state] if args.key?(:state)
|
@@ -14163,6 +15049,13 @@ module Google
|
|
14163
15049
|
# @return [String]
|
14164
15050
|
attr_accessor :name
|
14165
15051
|
|
15052
|
+
# A network peering attached to a network resource. The message includes the
|
15053
|
+
# peering name, peer network, peering state, and a flag indicating whether
|
15054
|
+
# Google Compute Engine should automatically create routes for the peering.
|
15055
|
+
# Corresponds to the JSON property `networkPeering`
|
15056
|
+
# @return [Google::Apis::ComputeBeta::NetworkPeering]
|
15057
|
+
attr_accessor :network_peering
|
15058
|
+
|
14166
15059
|
# URL of the peer network. It can be either full URL or partial URL. The peer
|
14167
15060
|
# network may belong to a different project. If the partial URL does not contain
|
14168
15061
|
# project, it is assumed that the peer network is in the same project as the
|
@@ -14179,6 +15072,7 @@ module Google
|
|
14179
15072
|
def update!(**args)
|
14180
15073
|
@auto_create_routes = args[:auto_create_routes] if args.key?(:auto_create_routes)
|
14181
15074
|
@name = args[:name] if args.key?(:name)
|
15075
|
+
@network_peering = args[:network_peering] if args.key?(:network_peering)
|
14182
15076
|
@peer_network = args[:peer_network] if args.key?(:peer_network)
|
14183
15077
|
end
|
14184
15078
|
end
|
@@ -14202,6 +15096,27 @@ module Google
|
|
14202
15096
|
end
|
14203
15097
|
end
|
14204
15098
|
|
15099
|
+
#
|
15100
|
+
class NetworksUpdatePeeringRequest
|
15101
|
+
include Google::Apis::Core::Hashable
|
15102
|
+
|
15103
|
+
# A network peering attached to a network resource. The message includes the
|
15104
|
+
# peering name, peer network, peering state, and a flag indicating whether
|
15105
|
+
# Google Compute Engine should automatically create routes for the peering.
|
15106
|
+
# Corresponds to the JSON property `networkPeering`
|
15107
|
+
# @return [Google::Apis::ComputeBeta::NetworkPeering]
|
15108
|
+
attr_accessor :network_peering
|
15109
|
+
|
15110
|
+
def initialize(**args)
|
15111
|
+
update!(**args)
|
15112
|
+
end
|
15113
|
+
|
15114
|
+
# Update properties of this object
|
15115
|
+
def update!(**args)
|
15116
|
+
@network_peering = args[:network_peering] if args.key?(:network_peering)
|
15117
|
+
end
|
15118
|
+
end
|
15119
|
+
|
14205
15120
|
# A NodeGroup resource.
|
14206
15121
|
class NodeGroup
|
14207
15122
|
include Google::Apis::Core::Hashable
|
@@ -14857,8 +15772,8 @@ module Google
|
|
14857
15772
|
# RFC1035. Specifically, the name must be 1-63 characters long and match the
|
14858
15773
|
# regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
|
14859
15774
|
# character must be a lowercase letter, and all following characters must be a
|
14860
|
-
# dash, lowercase letter, or digit, except the last
|
14861
|
-
#
|
15775
|
+
# dash, lowercase letter, or digit, except the last character, which cannot be a
|
15776
|
+
# dash.
|
14862
15777
|
# Corresponds to the JSON property `name`
|
14863
15778
|
# @return [String]
|
14864
15779
|
attr_accessor :name
|
@@ -16330,13 +17245,21 @@ module Google
|
|
16330
17245
|
include Google::Apis::Core::Hashable
|
16331
17246
|
|
16332
17247
|
# The full or partial URL to the BackendService resource. This will be used if
|
16333
|
-
# none of the pathRules defined by this PathMatcher
|
16334
|
-
#
|
16335
|
-
# resource:
|
17248
|
+
# none of the pathRules or routeRules defined by this PathMatcher are matched.
|
17249
|
+
# For example, the following are all valid URLs to a BackendService resource:
|
16336
17250
|
# - https://www.googleapis.com/compute/v1/projects/project/global/
|
16337
17251
|
# backendServices/backendService
|
16338
17252
|
# - compute/v1/projects/project/global/backendServices/backendService
|
16339
17253
|
# - global/backendServices/backendService
|
17254
|
+
# Use defaultService instead of defaultRouteAction when simple routing to a
|
17255
|
+
# backend service is desired and other advanced capabilities like traffic
|
17256
|
+
# splitting and URL rewrites are not required.
|
17257
|
+
# Only one of defaultService, defaultRouteAction or defaultUrlRedirect must be
|
17258
|
+
# set.
|
17259
|
+
# Authorization requires one or more of the following Google IAM permissions on
|
17260
|
+
# the specified resource default_service:
|
17261
|
+
# - compute.backendBuckets.use
|
17262
|
+
# - compute.backendServices.use
|
16340
17263
|
# Corresponds to the JSON property `defaultService`
|
16341
17264
|
# @return [String]
|
16342
17265
|
attr_accessor :default_service
|
@@ -16352,7 +17275,13 @@ module Google
|
|
16352
17275
|
# @return [String]
|
16353
17276
|
attr_accessor :name
|
16354
17277
|
|
16355
|
-
# The list of path rules.
|
17278
|
+
# The list of path rules. Use this list instead of routeRules when routing based
|
17279
|
+
# on simple path matching is all that's required. The order by which path rules
|
17280
|
+
# are specified does not matter. Matches are always done on the longest-path-
|
17281
|
+
# first basis.
|
17282
|
+
# For example: a pathRule with a path /a/b/c/* will match before /a/b/*
|
17283
|
+
# irrespective of the order in which those paths appear in this list.
|
17284
|
+
# Only one of pathRules or routeRules must be set.
|
16356
17285
|
# Corresponds to the JSON property `pathRules`
|
16357
17286
|
# @return [Array<Google::Apis::ComputeBeta::PathRule>]
|
16358
17287
|
attr_accessor :path_rules
|
@@ -16383,7 +17312,11 @@ module Google
|
|
16383
17312
|
# @return [Array<String>]
|
16384
17313
|
attr_accessor :paths
|
16385
17314
|
|
16386
|
-
# The URL of the
|
17315
|
+
# The URL of the backend service resource if this rule is matched.
|
17316
|
+
# Use service instead of routeAction when simple routing to a backend service is
|
17317
|
+
# desired and other advanced capabilities like traffic splitting and rewrites
|
17318
|
+
# are not required.
|
17319
|
+
# Only one of service, routeAction or urlRedirect should must be set.
|
16387
17320
|
# Corresponds to the JSON property `service`
|
16388
17321
|
# @return [String]
|
16389
17322
|
attr_accessor :service
|
@@ -17953,7 +18886,8 @@ module Google
|
|
17953
18886
|
class ResourceGroupReference
|
17954
18887
|
include Google::Apis::Core::Hashable
|
17955
18888
|
|
17956
|
-
# A URI referencing one of the instance groups
|
18889
|
+
# A URI referencing one of the instance groups or network endpoint groups listed
|
18890
|
+
# in the backend service.
|
17957
18891
|
# Corresponds to the JSON property `group`
|
17958
18892
|
# @return [String]
|
17959
18893
|
attr_accessor :group
|
@@ -18065,7 +18999,7 @@ module Google
|
|
18065
18999
|
|
18066
19000
|
# A backup schedule policy specifies when and how frequently snapshots are to be
|
18067
19001
|
# created for the target disk. Also specifies how many and how long these
|
18068
|
-
#
|
19002
|
+
# scheduled snapshots should be retained.
|
18069
19003
|
# Corresponds to the JSON property `backupSchedulePolicy`
|
18070
19004
|
# @return [Google::Apis::ComputeBeta::ResourcePolicyBackupSchedulePolicy]
|
18071
19005
|
attr_accessor :backup_schedule_policy
|
@@ -18255,11 +19189,11 @@ module Google
|
|
18255
19189
|
|
18256
19190
|
# A backup schedule policy specifies when and how frequently snapshots are to be
|
18257
19191
|
# created for the target disk. Also specifies how many and how long these
|
18258
|
-
#
|
19192
|
+
# scheduled snapshots should be retained.
|
18259
19193
|
class ResourcePolicyBackupSchedulePolicy
|
18260
19194
|
include Google::Apis::Core::Hashable
|
18261
19195
|
|
18262
|
-
# Policy for retention of
|
19196
|
+
# Policy for retention of scheduled snapshots.
|
18263
19197
|
# Corresponds to the JSON property `retentionPolicy`
|
18264
19198
|
# @return [Google::Apis::ComputeBeta::ResourcePolicyBackupSchedulePolicyRetentionPolicy]
|
18265
19199
|
attr_accessor :retention_policy
|
@@ -18269,7 +19203,7 @@ module Google
|
|
18269
19203
|
# @return [Google::Apis::ComputeBeta::ResourcePolicyBackupSchedulePolicySchedule]
|
18270
19204
|
attr_accessor :schedule
|
18271
19205
|
|
18272
|
-
# Specified snapshot properties for
|
19206
|
+
# Specified snapshot properties for scheduled snapshots created by this policy.
|
18273
19207
|
# Corresponds to the JSON property `snapshotProperties`
|
18274
19208
|
# @return [Google::Apis::ComputeBeta::ResourcePolicyBackupSchedulePolicySnapshotProperties]
|
18275
19209
|
attr_accessor :snapshot_properties
|
@@ -18286,7 +19220,7 @@ module Google
|
|
18286
19220
|
end
|
18287
19221
|
end
|
18288
19222
|
|
18289
|
-
# Policy for retention of
|
19223
|
+
# Policy for retention of scheduled snapshots.
|
18290
19224
|
class ResourcePolicyBackupSchedulePolicyRetentionPolicy
|
18291
19225
|
include Google::Apis::Core::Hashable
|
18292
19226
|
|
@@ -18295,6 +19229,12 @@ module Google
|
|
18295
19229
|
# @return [Fixnum]
|
18296
19230
|
attr_accessor :max_retention_days
|
18297
19231
|
|
19232
|
+
# Specifies the behavior to apply to scheduled snapshots when the source disk is
|
19233
|
+
# deleted.
|
19234
|
+
# Corresponds to the JSON property `onSourceDiskDelete`
|
19235
|
+
# @return [String]
|
19236
|
+
attr_accessor :on_source_disk_delete
|
19237
|
+
|
18298
19238
|
def initialize(**args)
|
18299
19239
|
update!(**args)
|
18300
19240
|
end
|
@@ -18302,6 +19242,7 @@ module Google
|
|
18302
19242
|
# Update properties of this object
|
18303
19243
|
def update!(**args)
|
18304
19244
|
@max_retention_days = args[:max_retention_days] if args.key?(:max_retention_days)
|
19245
|
+
@on_source_disk_delete = args[:on_source_disk_delete] if args.key?(:on_source_disk_delete)
|
18305
19246
|
end
|
18306
19247
|
end
|
18307
19248
|
|
@@ -18336,7 +19277,7 @@ module Google
|
|
18336
19277
|
end
|
18337
19278
|
end
|
18338
19279
|
|
18339
|
-
# Specified snapshot properties for
|
19280
|
+
# Specified snapshot properties for scheduled snapshots created by this policy.
|
18340
19281
|
class ResourcePolicyBackupSchedulePolicySnapshotProperties
|
18341
19282
|
include Google::Apis::Core::Hashable
|
18342
19283
|
|
@@ -18346,17 +19287,12 @@ module Google
|
|
18346
19287
|
attr_accessor :guest_flush
|
18347
19288
|
alias_method :guest_flush?, :guest_flush
|
18348
19289
|
|
18349
|
-
# Labels to apply to
|
19290
|
+
# Labels to apply to scheduled snapshots. These can be later modified by the
|
18350
19291
|
# setLabels method. Label values may be empty.
|
18351
19292
|
# Corresponds to the JSON property `labels`
|
18352
19293
|
# @return [Hash<String,String>]
|
18353
19294
|
attr_accessor :labels
|
18354
19295
|
|
18355
|
-
# GCS bucket storage location of the auto snapshot (regional or multi-regional).
|
18356
|
-
# Corresponds to the JSON property `storageLocations`
|
18357
|
-
# @return [Array<String>]
|
18358
|
-
attr_accessor :storage_locations
|
18359
|
-
|
18360
19296
|
def initialize(**args)
|
18361
19297
|
update!(**args)
|
18362
19298
|
end
|
@@ -18365,7 +19301,6 @@ module Google
|
|
18365
19301
|
def update!(**args)
|
18366
19302
|
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
18367
19303
|
@labels = args[:labels] if args.key?(:labels)
|
18368
|
-
@storage_locations = args[:storage_locations] if args.key?(:storage_locations)
|
18369
19304
|
end
|
18370
19305
|
end
|
18371
19306
|
|
@@ -18384,8 +19319,8 @@ module Google
|
|
18384
19319
|
# @return [String]
|
18385
19320
|
attr_accessor :duration
|
18386
19321
|
|
18387
|
-
# Time within the window to start the operations. It must be in format "HH:MM
|
18388
|
-
# where HH : [00-23] and MM : [00-
|
19322
|
+
# Time within the window to start the operations. It must be in format "HH:MM",
|
19323
|
+
# where HH : [00-23] and MM : [00-00] GMT.
|
18389
19324
|
# Corresponds to the JSON property `startTime`
|
18390
19325
|
# @return [String]
|
18391
19326
|
attr_accessor :start_time
|
@@ -18417,8 +19352,8 @@ module Google
|
|
18417
19352
|
# @return [Fixnum]
|
18418
19353
|
attr_accessor :hours_in_cycle
|
18419
19354
|
|
18420
|
-
# Time within the window to start the operations. It must be in format "HH:MM
|
18421
|
-
# where HH : [00-23] and MM : [00-
|
19355
|
+
# Time within the window to start the operations. It must be in format "HH:MM",
|
19356
|
+
# where HH : [00-23] and MM : [00-00] GMT.
|
18422
19357
|
# Corresponds to the JSON property `startTime`
|
18423
19358
|
# @return [String]
|
18424
19359
|
attr_accessor :start_time
|
@@ -18594,8 +19529,8 @@ module Google
|
|
18594
19529
|
# @return [String]
|
18595
19530
|
attr_accessor :duration
|
18596
19531
|
|
18597
|
-
# Time within the window to start the operations. It must be in format "HH:MM
|
18598
|
-
# where HH : [00-23] and MM : [00-
|
19532
|
+
# Time within the window to start the operations. It must be in format "HH:MM",
|
19533
|
+
# where HH : [00-23] and MM : [00-00] GMT.
|
18599
19534
|
# Corresponds to the JSON property `startTime`
|
18600
19535
|
# @return [String]
|
18601
19536
|
attr_accessor :start_time
|
@@ -18679,6 +19614,17 @@ module Google
|
|
18679
19614
|
# @return [String]
|
18680
19615
|
attr_accessor :next_hop_gateway
|
18681
19616
|
|
19617
|
+
# The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should
|
19618
|
+
# handle matching packets. You can only specify the forwarding rule as a partial
|
19619
|
+
# or full URL. For example, the following are all valid URLs:
|
19620
|
+
# - https://www.googleapis.com/compute/v1/projects/project/regions/region/
|
19621
|
+
# forwardingRules/forwardingRule
|
19622
|
+
# - regions/region/forwardingRules/forwardingRule Note that this can only be
|
19623
|
+
# used when the destination_range is a public (non-RFC 1918) IP CIDR range.
|
19624
|
+
# Corresponds to the JSON property `nextHopIlb`
|
19625
|
+
# @return [String]
|
19626
|
+
attr_accessor :next_hop_ilb
|
19627
|
+
|
18682
19628
|
# The URL to an instance that should handle matching packets. You can specify
|
18683
19629
|
# this as a full or partial URL. For example:
|
18684
19630
|
# https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/
|
@@ -18746,6 +19692,7 @@ module Google
|
|
18746
19692
|
@name = args[:name] if args.key?(:name)
|
18747
19693
|
@network = args[:network] if args.key?(:network)
|
18748
19694
|
@next_hop_gateway = args[:next_hop_gateway] if args.key?(:next_hop_gateway)
|
19695
|
+
@next_hop_ilb = args[:next_hop_ilb] if args.key?(:next_hop_ilb)
|
18749
19696
|
@next_hop_instance = args[:next_hop_instance] if args.key?(:next_hop_instance)
|
18750
19697
|
@next_hop_ip = args[:next_hop_ip] if args.key?(:next_hop_ip)
|
18751
19698
|
@next_hop_network = args[:next_hop_network] if args.key?(:next_hop_network)
|
@@ -19268,11 +20215,12 @@ module Google
|
|
19268
20215
|
# @return [String]
|
19269
20216
|
attr_accessor :ip_address
|
19270
20217
|
|
19271
|
-
# [Output Only]
|
19272
|
-
#
|
19273
|
-
#
|
19274
|
-
#
|
19275
|
-
#
|
20218
|
+
# [Output Only] The resource that configures and manages this BGP peer.
|
20219
|
+
# MANAGED_BY_USER is the default value and can be managed by you or other users;
|
20220
|
+
# MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed by Cloud
|
20221
|
+
# Interconnect, specifically by an InterconnectAttachment of type PARTNER.
|
20222
|
+
# Google will automatically create, update, and delete this type of BGP peer
|
20223
|
+
# when the PARTNER InterconnectAttachment is created, updated, or deleted.
|
19276
20224
|
# Corresponds to the JSON property `managementType`
|
19277
20225
|
# @return [String]
|
19278
20226
|
attr_accessor :management_type
|
@@ -19339,12 +20287,12 @@ module Google
|
|
19339
20287
|
# @return [String]
|
19340
20288
|
attr_accessor :linked_vpn_tunnel
|
19341
20289
|
|
19342
|
-
# [Output Only]
|
19343
|
-
#
|
19344
|
-
#
|
19345
|
-
#
|
19346
|
-
#
|
19347
|
-
#
|
20290
|
+
# [Output Only] The resource that configures and manages this interface.
|
20291
|
+
# MANAGED_BY_USER is the default value and can be managed by you or other users;
|
20292
|
+
# MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud
|
20293
|
+
# Interconnect, specifically by an InterconnectAttachment of type PARTNER.
|
20294
|
+
# Google will automatically create, update, and delete this type of interface
|
20295
|
+
# when the PARTNER InterconnectAttachment is created, updated, or deleted.
|
19348
20296
|
# Corresponds to the JSON property `managementType`
|
19349
20297
|
# @return [String]
|
19350
20298
|
attr_accessor :management_type
|
@@ -20189,7 +21137,8 @@ module Google
|
|
20189
21137
|
# metadata's contents and used for optimistic locking. The fingerprint is
|
20190
21138
|
# initially generated by Compute Engine and changes after every request to
|
20191
21139
|
# modify or update metadata. You must always provide an up-to-date fingerprint
|
20192
|
-
# hash in order to update or change metadata
|
21140
|
+
# hash in order to update or change metadata, otherwise the request will fail
|
21141
|
+
# with error 412 conditionNotMet.
|
20193
21142
|
# To see the latest fingerprint, make get() request to the security policy.
|
20194
21143
|
# Corresponds to the JSON property `fingerprint`
|
20195
21144
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
@@ -20436,8 +21385,9 @@ module Google
|
|
20436
21385
|
alias_method :preview?, :preview
|
20437
21386
|
|
20438
21387
|
# An integer indicating the priority of a rule in the list. The priority must be
|
20439
|
-
# a positive value between 0 and 2147483647. Rules are evaluated
|
20440
|
-
#
|
21388
|
+
# a positive value between 0 and 2147483647. Rules are evaluated from highest to
|
21389
|
+
# lowest priority where 0 is the highest priority and 2147483647 is the lowest
|
21390
|
+
# prority.
|
20441
21391
|
# Corresponds to the JSON property `priority`
|
20442
21392
|
# @return [Fixnum]
|
20443
21393
|
attr_accessor :priority
|
@@ -20476,11 +21426,6 @@ module Google
|
|
20476
21426
|
# @return [Google::Apis::ComputeBeta::Expr]
|
20477
21427
|
attr_accessor :expr
|
20478
21428
|
|
20479
|
-
# CIDR IP address range.
|
20480
|
-
# Corresponds to the JSON property `srcIpRanges`
|
20481
|
-
# @return [Array<String>]
|
20482
|
-
attr_accessor :src_ip_ranges
|
20483
|
-
|
20484
21429
|
# Preconfigured versioned expression. If this field is specified, config must
|
20485
21430
|
# also be specified. Available preconfigured expressions along with their
|
20486
21431
|
# requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range
|
@@ -20497,7 +21442,6 @@ module Google
|
|
20497
21442
|
def update!(**args)
|
20498
21443
|
@config = args[:config] if args.key?(:config)
|
20499
21444
|
@expr = args[:expr] if args.key?(:expr)
|
20500
|
-
@src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges)
|
20501
21445
|
@versioned_expr = args[:versioned_expr] if args.key?(:versioned_expr)
|
20502
21446
|
end
|
20503
21447
|
end
|
@@ -20664,12 +21608,12 @@ module Google
|
|
20664
21608
|
class ShieldedVmIdentityEntry
|
20665
21609
|
include Google::Apis::Core::Hashable
|
20666
21610
|
|
20667
|
-
#
|
21611
|
+
# A PEM-encoded X.509 certificate. This field can be empty.
|
20668
21612
|
# Corresponds to the JSON property `ekCert`
|
20669
21613
|
# @return [String]
|
20670
21614
|
attr_accessor :ek_cert
|
20671
21615
|
|
20672
|
-
#
|
21616
|
+
# A PEM-encoded public key.
|
20673
21617
|
# Corresponds to the JSON property `ekPub`
|
20674
21618
|
# @return [String]
|
20675
21619
|
attr_accessor :ek_pub
|
@@ -20743,7 +21687,7 @@ module Google
|
|
20743
21687
|
class Snapshot
|
20744
21688
|
include Google::Apis::Core::Hashable
|
20745
21689
|
|
20746
|
-
# [Output Only] Set to true if snapshots are
|
21690
|
+
# [Output Only] Set to true if snapshots are automatically by applying resource
|
20747
21691
|
# policy on the target disk.
|
20748
21692
|
# Corresponds to the JSON property `autoCreated`
|
20749
21693
|
# @return [Boolean]
|
@@ -20782,7 +21726,8 @@ module Google
|
|
20782
21726
|
# essentially a hash of the labels set used for optimistic locking. The
|
20783
21727
|
# fingerprint is initially generated by Compute Engine and changes after every
|
20784
21728
|
# request to modify or update labels. You must always provide an up-to-date
|
20785
|
-
# fingerprint hash in order to update or change labels
|
21729
|
+
# fingerprint hash in order to update or change labels, otherwise the request
|
21730
|
+
# will fail with error 412 conditionNotMet.
|
20786
21731
|
# To see the latest fingerprint, make a get() request to retrieve a snapshot.
|
20787
21732
|
# Corresponds to the JSON property `labelFingerprint`
|
20788
21733
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
@@ -21495,7 +22440,8 @@ module Google
|
|
21495
22440
|
# Fingerprint of this resource. A hash of the contents stored in this object.
|
21496
22441
|
# This field is used in optimistic locking. This field will be ignored when
|
21497
22442
|
# inserting a SslPolicy. An up-to-date fingerprint must be provided in order to
|
21498
|
-
# update the SslPolicy
|
22443
|
+
# update the SslPolicy, otherwise the request will fail with error 412
|
22444
|
+
# conditionNotMet.
|
21499
22445
|
# To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
|
21500
22446
|
# Corresponds to the JSON property `fingerprint`
|
21501
22447
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
@@ -21697,7 +22643,8 @@ module Google
|
|
21697
22643
|
# Fingerprint of this resource. A hash of the contents stored in this object.
|
21698
22644
|
# This field is used in optimistic locking. This field will be ignored when
|
21699
22645
|
# inserting a Subnetwork. An up-to-date fingerprint must be provided in order to
|
21700
|
-
# update the Subnetwork
|
22646
|
+
# update the Subnetwork, otherwise the request will fail with error 412
|
22647
|
+
# conditionNotMet.
|
21701
22648
|
# To see the latest fingerprint, make a get() request to retrieve a Subnetwork.
|
21702
22649
|
# Corresponds to the JSON property `fingerprint`
|
21703
22650
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
@@ -21765,7 +22712,7 @@ module Google
|
|
21765
22712
|
# An array of configurations for secondary IP ranges for VM instances contained
|
21766
22713
|
# in this subnetwork. The primary IP of such VM must belong to the primary
|
21767
22714
|
# ipCidrRange of the subnetwork. The alias IPs may belong to either primary or
|
21768
|
-
# secondary ranges.
|
22715
|
+
# secondary ranges. This field can be updated with a patch request.
|
21769
22716
|
# Corresponds to the JSON property `secondaryIpRanges`
|
21770
22717
|
# @return [Array<Google::Apis::ComputeBeta::SubnetworkSecondaryRange>]
|
21771
22718
|
attr_accessor :secondary_ip_ranges
|
@@ -22579,8 +23526,8 @@ module Google
|
|
22579
23526
|
attr_accessor :self_link
|
22580
23527
|
|
22581
23528
|
# URLs to SslCertificate resources that are used to authenticate connections
|
22582
|
-
# between users and the load balancer.
|
22583
|
-
#
|
23529
|
+
# between users and the load balancer. At least one SSL certificate must be
|
23530
|
+
# specified. Currently, you may specify up to 15 SSL certificates.
|
22584
23531
|
# Corresponds to the JSON property `sslCertificates`
|
22585
23532
|
# @return [Array<String>]
|
22586
23533
|
attr_accessor :ssl_certificates
|
@@ -23244,7 +24191,7 @@ module Google
|
|
23244
24191
|
# @return [String]
|
23245
24192
|
attr_accessor :self_link
|
23246
24193
|
|
23247
|
-
#
|
24194
|
+
# Session affinity option, must be one of the following values:
|
23248
24195
|
# NONE: Connections from the same client IP may go to any instance in the pool.
|
23249
24196
|
# CLIENT_IP: Connections from the same client IP will go to the same instance in
|
23250
24197
|
# the pool while that instance remains healthy.
|
@@ -23847,7 +24794,8 @@ module Google
|
|
23847
24794
|
attr_accessor :service
|
23848
24795
|
|
23849
24796
|
# URLs to SslCertificate resources that are used to authenticate connections to
|
23850
|
-
# Backends.
|
24797
|
+
# Backends. At least one SSL certificate must be specified. Currently, you may
|
24798
|
+
# specify up to 15 SSL certificates.
|
23851
24799
|
# Corresponds to the JSON property `sslCertificates`
|
23852
24800
|
# @return [Array<String>]
|
23853
24801
|
attr_accessor :ssl_certificates
|
@@ -24261,7 +25209,8 @@ module Google
|
|
24261
25209
|
# essentially a hash of the labels set used for optimistic locking. The
|
24262
25210
|
# fingerprint is initially generated by Compute Engine and changes after every
|
24263
25211
|
# request to modify or update labels. You must always provide an up-to-date
|
24264
|
-
# fingerprint hash in order to update or change labels
|
25212
|
+
# fingerprint hash in order to update or change labels, otherwise the request
|
25213
|
+
# will fail with error 412 conditionNotMet.
|
24265
25214
|
# To see the latest fingerprint, make a get() request to retrieve a
|
24266
25215
|
# TargetVpnGateway.
|
24267
25216
|
# Corresponds to the JSON property `labelFingerprint`
|
@@ -24751,7 +25700,12 @@ module Google
|
|
24751
25700
|
# @return [String]
|
24752
25701
|
attr_accessor :creation_timestamp
|
24753
25702
|
|
24754
|
-
# The URL of the
|
25703
|
+
# The URL of the backendService resource if none of the hostRules match.
|
25704
|
+
# Use defaultService instead of defaultRouteAction when simple routing to a
|
25705
|
+
# backendService is desired and other advanced capabilities like traffic
|
25706
|
+
# splitting and rewrites are not required.
|
25707
|
+
# Only one of defaultService, defaultRouteAction or defaultUrlRedirect should
|
25708
|
+
# must be set.
|
24755
25709
|
# Corresponds to the JSON property `defaultService`
|
24756
25710
|
# @return [String]
|
24757
25711
|
attr_accessor :default_service
|
@@ -24765,7 +25719,8 @@ module Google
|
|
24765
25719
|
# Fingerprint of this resource. A hash of the contents stored in this object.
|
24766
25720
|
# This field is used in optimistic locking. This field will be ignored when
|
24767
25721
|
# inserting a UrlMap. An up-to-date fingerprint must be provided in order to
|
24768
|
-
# update the UrlMap
|
25722
|
+
# update the UrlMap, otherwise the request will fail with error 412
|
25723
|
+
# conditionNotMet.
|
24769
25724
|
# To see the latest fingerprint, make a get() request to retrieve a UrlMap.
|
24770
25725
|
# Corresponds to the JSON property `fingerprint`
|
24771
25726
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
@@ -25533,7 +26488,8 @@ module Google
|
|
25533
26488
|
# essentially a hash of the labels set used for optimistic locking. The
|
25534
26489
|
# fingerprint is initially generated by Compute Engine and changes after every
|
25535
26490
|
# request to modify or update labels. You must always provide an up-to-date
|
25536
|
-
# fingerprint hash in order to update or change labels
|
26491
|
+
# fingerprint hash in order to update or change labels, otherwise the request
|
26492
|
+
# will fail with error 412 conditionNotMet.
|
25537
26493
|
# To see the latest fingerprint, make a get() request to retrieve a VpnTunnel.
|
25538
26494
|
# Corresponds to the JSON property `labelFingerprint`
|
25539
26495
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|