google-api-client 0.30.9 → 0.30.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +89 -0
- data/api_names.yaml +1 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +18 -7
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +5 -10
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +24 -12
- data/generated/google/apis/adexperiencereport_v1/service.rb +6 -9
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +3 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +62 -9
- data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +32 -9
- data/generated/google/apis/bigquery_v2/representations.rb +5 -0
- data/generated/google/apis/bigquery_v2/service.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +37 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +645 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +263 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +378 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +41 -16
- data/generated/google/apis/bigtableadmin_v2/representations.rb +15 -0
- data/generated/google/apis/binaryauthorization_v1.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1/classes.rb +388 -0
- data/generated/google/apis/binaryauthorization_v1/representations.rb +167 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +313 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -1
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -6
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +52 -1
- data/generated/google/apis/cloudasset_v1/representations.rb +17 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +11 -4
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +0 -14
- data/generated/google/apis/cloudkms_v1/representations.rb +0 -2
- data/generated/google/apis/cloudkms_v1/service.rb +3 -3
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +6 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +5 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -8
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +5 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +6 -2
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -4
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -4
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +14 -3
- data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +3 -1
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +8 -0
- data/generated/google/apis/cloudtrace_v2/representations.rb +1 -0
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +1 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +17 -24
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +17 -24
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1139 -284
- data/generated/google/apis/compute_alpha/representations.rb +304 -1
- data/generated/google/apis/compute_alpha/service.rb +935 -23
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +554 -98
- data/generated/google/apis/compute_beta/representations.rb +117 -0
- data/generated/google/apis/compute_beta/service.rb +63 -19
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1187 -165
- data/generated/google/apis/compute_v1/representations.rb +402 -0
- data/generated/google/apis/compute_v1/service.rb +832 -12
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +36 -0
- data/generated/google/apis/container_v1/representations.rb +16 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +153 -0
- data/generated/google/apis/container_v1beta1/representations.rb +77 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +93 -2
- data/generated/google/apis/content_v2/representations.rb +37 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +86 -2
- data/generated/google/apis/content_v2_1/representations.rb +36 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +21 -106
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -58
- data/generated/google/apis/dataflow_v1b3/service.rb +0 -327
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +7 -0
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +7 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +9 -75
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +9 -75
- data/generated/google/apis/dfareporting_v3_1.rb +1 -1
- data/generated/google/apis/dfareporting_v3_1/classes.rb +42 -302
- data/generated/google/apis/dfareporting_v3_1/representations.rb +8 -84
- data/generated/google/apis/dfareporting_v3_1/service.rb +5 -107
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +118 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +70 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +75 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +42 -0
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +125 -1
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +128 -0
- data/generated/google/apis/docs_v1/representations.rb +49 -0
- data/generated/google/apis/{appstate_v1.rb → domainsrdap_v1.rb} +8 -11
- data/generated/google/apis/domainsrdap_v1/classes.rb +269 -0
- data/generated/google/apis/{appstate_v1 → domainsrdap_v1}/representations.rb +33 -22
- data/generated/google/apis/domainsrdap_v1/service.rb +350 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +10 -1
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +10 -1
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +21 -130
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +16 -122
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +14 -83
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +94 -48
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +16 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +117 -75
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +56 -2
- data/generated/google/apis/healthcare_v1beta1/representations.rb +17 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +10 -5
- data/generated/google/apis/homegraph_v1.rb +31 -0
- data/generated/google/apis/homegraph_v1/classes.rb +692 -0
- data/generated/google/apis/homegraph_v1/representations.rb +323 -0
- data/generated/google/apis/homegraph_v1/service.rb +255 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +8 -7
- data/generated/google/apis/logging_v2/service.rb +40 -35
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +6 -1
- data/generated/google/apis/pubsub_v1/service.rb +15 -9
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -1
- data/generated/google/apis/pubsub_v1beta2/service.rb +10 -6
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +26 -6
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1/service.rb +5 -3
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -1
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +5 -3
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/service.rb +6 -5
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +11 -4
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +11 -4
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +6 -1
- data/generated/google/apis/servicebroker_v1/service.rb +5 -3
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +6 -1
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +5 -3
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +6 -1
- data/generated/google/apis/servicebroker_v1beta1/service.rb +5 -3
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -4
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +11 -4
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1 -4
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -4
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +30 -4
- data/generated/google/apis/serviceusage_v1/representations.rb +14 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +30 -4
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +14 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +9 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +17 -15
- data/generated/google/apis/speech_v2beta.rb +1 -1
- data/generated/google/apis/speech_v2beta/classes.rb +3 -3
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +72 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +35 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +2 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -1
- data/generated/google/apis/storage_v1/representations.rb +2 -2
- data/generated/google/apis/storage_v1/service.rb +6 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/service.rb +1 -9
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +19 -0
- data/generated/google/apis/testing_v1/representations.rb +3 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -0
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +33 -0
- data/generated/google/apis/translate_v3beta1/representations.rb +3 -0
- data/generated/google/apis/verifiedaccess_v1.rb +35 -0
- data/generated/google/apis/verifiedaccess_v1/classes.rb +174 -0
- data/generated/google/apis/verifiedaccess_v1/representations.rb +99 -0
- data/generated/google/apis/verifiedaccess_v1/service.rb +120 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +204 -2375
- data/generated/google/apis/vision_v1/representations.rb +701 -1634
- data/generated/google/apis/vision_v1/service.rb +17 -17
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +135 -2306
- data/generated/google/apis/vision_v1p1beta1/representations.rb +768 -1701
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +326 -2161
- data/generated/google/apis/vision_v1p2beta1/representations.rb +897 -1710
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +8 -2
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +22 -6
- data/generated/google/apis/appstate_v1/classes.rb +0 -154
- data/generated/google/apis/appstate_v1/service.rb +0 -249
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/composer/
|
26
26
|
module ComposerV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190827'
|
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'
|
@@ -50,8 +50,7 @@ module Google
|
|
50
50
|
# @return [Google::Apis::ComposerV1beta1::EnvironmentConfig]
|
51
51
|
attr_accessor :config
|
52
52
|
|
53
|
-
# Output only.
|
54
|
-
# The time at which this environment was created.
|
53
|
+
# Output only. The time at which this environment was created.
|
55
54
|
# Corresponds to the JSON property `createTime`
|
56
55
|
# @return [String]
|
57
56
|
attr_accessor :create_time
|
@@ -78,14 +77,13 @@ module Google
|
|
78
77
|
# @return [String]
|
79
78
|
attr_accessor :state
|
80
79
|
|
81
|
-
# Output only.
|
82
|
-
# The time at which this environment was last modified.
|
80
|
+
# Output only. The time at which this environment was last modified.
|
83
81
|
# Corresponds to the JSON property `updateTime`
|
84
82
|
# @return [String]
|
85
83
|
attr_accessor :update_time
|
86
84
|
|
87
|
-
# Output only.
|
88
|
-
#
|
85
|
+
# Output only. The UUID (Universally Unique IDentifier) associated with this
|
86
|
+
# environment.
|
89
87
|
# This value is generated when the environment is created.
|
90
88
|
# Corresponds to the JSON property `uuid`
|
91
89
|
# @return [String]
|
@@ -111,16 +109,16 @@ module Google
|
|
111
109
|
class EnvironmentConfig
|
112
110
|
include Google::Apis::Core::Hashable
|
113
111
|
|
114
|
-
# Output only.
|
115
|
-
#
|
112
|
+
# Output only. The URI of the Apache Airflow Web UI hosted within this
|
113
|
+
# environment (see
|
116
114
|
# [Airflow web
|
117
115
|
# interface](/composer/docs/how-to/accessing/airflow-web-interface)).
|
118
116
|
# Corresponds to the JSON property `airflowUri`
|
119
117
|
# @return [String]
|
120
118
|
attr_accessor :airflow_uri
|
121
119
|
|
122
|
-
# Output only.
|
123
|
-
#
|
120
|
+
# Output only. The Cloud Storage prefix of the DAGs for this environment.
|
121
|
+
# Although Cloud
|
124
122
|
# Storage objects reside in a flat namespace, a hierarchical file tree
|
125
123
|
# can be simulated using "/"-delimited object name prefixes. DAG objects for
|
126
124
|
# this environment reside in a simulated directory with the given prefix.
|
@@ -128,8 +126,7 @@ module Google
|
|
128
126
|
# @return [String]
|
129
127
|
attr_accessor :dag_gcs_prefix
|
130
128
|
|
131
|
-
# Output only.
|
132
|
-
# The Kubernetes Engine cluster used to run this environment.
|
129
|
+
# Output only. The Kubernetes Engine cluster used to run this environment.
|
133
130
|
# Corresponds to the JSON property `gkeCluster`
|
134
131
|
# @return [String]
|
135
132
|
attr_accessor :gke_cluster
|
@@ -406,6 +403,8 @@ module Google
|
|
406
403
|
# both fields. If exactly one of this field and `nodeConfig.location` is
|
407
404
|
# specified, the location information from the specified field will be
|
408
405
|
# propagated to the unspecified field.
|
406
|
+
# The `machineTypeId` must not be a [shared-core machine
|
407
|
+
# type](/compute/docs/machine-types#sharedcore).
|
409
408
|
# If this field is unspecified, the `machineTypeId` defaults
|
410
409
|
# to "n1-standard-1".
|
411
410
|
# Corresponds to the JSON property `machineType`
|
@@ -546,40 +545,34 @@ module Google
|
|
546
545
|
class OperationMetadata
|
547
546
|
include Google::Apis::Core::Hashable
|
548
547
|
|
549
|
-
# Output only.
|
550
|
-
# The time the operation was submitted to the server.
|
548
|
+
# Output only. The time the operation was submitted to the server.
|
551
549
|
# Corresponds to the JSON property `createTime`
|
552
550
|
# @return [String]
|
553
551
|
attr_accessor :create_time
|
554
552
|
|
555
|
-
# Output only.
|
556
|
-
# The time when the operation terminated, regardless of its success.
|
553
|
+
# Output only. The time when the operation terminated, regardless of its success.
|
557
554
|
# This field is unset if the operation is still ongoing.
|
558
555
|
# Corresponds to the JSON property `endTime`
|
559
556
|
# @return [String]
|
560
557
|
attr_accessor :end_time
|
561
558
|
|
562
|
-
# Output only.
|
563
|
-
# The type of operation being performed.
|
559
|
+
# Output only. The type of operation being performed.
|
564
560
|
# Corresponds to the JSON property `operationType`
|
565
561
|
# @return [String]
|
566
562
|
attr_accessor :operation_type
|
567
563
|
|
568
|
-
# Output only.
|
569
|
-
# The resource being operated on, as a [relative resource name](
|
564
|
+
# Output only. The resource being operated on, as a [relative resource name](
|
570
565
|
# /apis/design/resource_names#relative_resource_name).
|
571
566
|
# Corresponds to the JSON property `resource`
|
572
567
|
# @return [String]
|
573
568
|
attr_accessor :resource
|
574
569
|
|
575
|
-
# Output only.
|
576
|
-
# The UUID of the resource being operated on.
|
570
|
+
# Output only. The UUID of the resource being operated on.
|
577
571
|
# Corresponds to the JSON property `resourceUuid`
|
578
572
|
# @return [String]
|
579
573
|
attr_accessor :resource_uuid
|
580
574
|
|
581
|
-
# Output only.
|
582
|
-
# The current operation state.
|
575
|
+
# Output only. The current operation state.
|
583
576
|
# Corresponds to the JSON property `state`
|
584
577
|
# @return [String]
|
585
578
|
attr_accessor :state
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeAlpha
|
27
27
|
VERSION = 'Alpha'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190815'
|
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'
|
@@ -1161,12 +1161,12 @@ module Google
|
|
1161
1161
|
class AllocationSpecificSkuReservation
|
1162
1162
|
include Google::Apis::Core::Hashable
|
1163
1163
|
|
1164
|
-
# Specifies number of resources that are allocated.
|
1164
|
+
# Specifies the number of resources that are allocated.
|
1165
1165
|
# Corresponds to the JSON property `count`
|
1166
1166
|
# @return [Fixnum]
|
1167
1167
|
attr_accessor :count
|
1168
1168
|
|
1169
|
-
# [OutputOnly] Indicates how many
|
1169
|
+
# [OutputOnly] Indicates how many instances are in use.
|
1170
1170
|
# Corresponds to the JSON property `inUseCount`
|
1171
1171
|
# @return [Fixnum]
|
1172
1172
|
attr_accessor :in_use_count
|
@@ -1354,7 +1354,9 @@ module Google
|
|
1354
1354
|
# @return [String]
|
1355
1355
|
attr_accessor :disk_name
|
1356
1356
|
|
1357
|
-
# Specifies the size of the disk in base-2 GB.
|
1357
|
+
# Specifies the size of the disk in base-2 GB. If not specified, the disk will
|
1358
|
+
# be the same size as the image (usually 10GB). If specified, the size must be
|
1359
|
+
# equal to or larger than 10GB.
|
1358
1360
|
# Corresponds to the JSON property `diskSizeGb`
|
1359
1361
|
# @return [Fixnum]
|
1360
1362
|
attr_accessor :disk_size_gb
|
@@ -1474,14 +1476,14 @@ module Google
|
|
1474
1476
|
# AuditLogConfig are exempted.
|
1475
1477
|
# Example Policy with multiple AuditConfigs:
|
1476
1478
|
# ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
|
1477
|
-
# log_type": "DATA_READ", "exempted_members": [ "user:
|
1479
|
+
# log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] `, ` "
|
1478
1480
|
# log_type": "DATA_WRITE", `, ` "log_type": "ADMIN_READ", ` ] `, ` "service": "
|
1479
|
-
#
|
1480
|
-
# ` "log_type": "DATA_WRITE", "exempted_members": [ "user:
|
1481
|
-
# ] `
|
1482
|
-
# For
|
1483
|
-
# logging. It also exempts
|
1484
|
-
# com from DATA_WRITE logging.
|
1481
|
+
# sampleservice.googleapis.com" "audit_log_configs": [ ` "log_type": "DATA_READ",
|
1482
|
+
# `, ` "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com"
|
1483
|
+
# ] ` ] ` ] `
|
1484
|
+
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
1485
|
+
# logging. It also exempts jose@example.com from DATA_READ logging, and aliya@
|
1486
|
+
# example.com from DATA_WRITE logging.
|
1485
1487
|
class AuditConfig
|
1486
1488
|
include Google::Apis::Core::Hashable
|
1487
1489
|
|
@@ -1516,9 +1518,9 @@ module Google
|
|
1516
1518
|
|
1517
1519
|
# Provides the configuration for logging a type of permissions. Example:
|
1518
1520
|
# ` "audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "
|
1519
|
-
# user:
|
1520
|
-
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
1521
|
-
# com from DATA_READ logging.
|
1521
|
+
# user:jose@example.com" ] `, ` "log_type": "DATA_WRITE", ` ] `
|
1522
|
+
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@
|
1523
|
+
# example.com from DATA_READ logging.
|
1522
1524
|
class AuditLogConfig
|
1523
1525
|
include Google::Apis::Core::Hashable
|
1524
1526
|
|
@@ -1528,6 +1530,13 @@ module Google
|
|
1528
1530
|
# @return [Array<String>]
|
1529
1531
|
attr_accessor :exempted_members
|
1530
1532
|
|
1533
|
+
# Specifies whether principals can be exempted for the same LogType in lower-
|
1534
|
+
# level resource policies. If true, any lower-level exemptions will be ignored.
|
1535
|
+
# Corresponds to the JSON property `ignoreChildExemptions`
|
1536
|
+
# @return [Boolean]
|
1537
|
+
attr_accessor :ignore_child_exemptions
|
1538
|
+
alias_method :ignore_child_exemptions?, :ignore_child_exemptions
|
1539
|
+
|
1531
1540
|
# The log type that this config enables.
|
1532
1541
|
# Corresponds to the JSON property `logType`
|
1533
1542
|
# @return [String]
|
@@ -1540,6 +1549,7 @@ module Google
|
|
1540
1549
|
# Update properties of this object
|
1541
1550
|
def update!(**args)
|
1542
1551
|
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
1552
|
+
@ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
|
1543
1553
|
@log_type = args[:log_type] if args.key?(:log_type)
|
1544
1554
|
end
|
1545
1555
|
end
|
@@ -2427,8 +2437,8 @@ module Google
|
|
2427
2437
|
#
|
2428
2438
|
# - If the load balancing mode is CONNECTION, then the load is spread based on
|
2429
2439
|
# how many concurrent connections the backend can handle.
|
2430
|
-
#
|
2431
|
-
#
|
2440
|
+
# You can use the CONNECTION balancing mode if the protocol for the backend
|
2441
|
+
# service is SSL, TCP, or UDP.
|
2432
2442
|
# If the loadBalancingScheme for the backend service is EXTERNAL (SSL Proxy and
|
2433
2443
|
# TCP Proxy load balancers), you must also specify exactly one of the following
|
2434
2444
|
# parameters: maxConnections, maxConnectionsPerInstance, or
|
@@ -2436,18 +2446,18 @@ module Google
|
|
2436
2446
|
# If the loadBalancingScheme for the backend service is INTERNAL (internal TCP/
|
2437
2447
|
# UDP load balancers), you cannot specify any additional parameters.
|
2438
2448
|
#
|
2439
|
-
# - If the load balancing mode is RATE,
|
2440
|
-
#
|
2441
|
-
#
|
2442
|
-
#
|
2443
|
-
#
|
2449
|
+
# - If the load balancing mode is RATE, the load is spread based on the rate of
|
2450
|
+
# HTTP requests per second (RPS).
|
2451
|
+
# You can use the RATE balancing mode if the protocol for the backend service is
|
2452
|
+
# HTTP or HTTPS. You must specify exactly one of the following parameters:
|
2453
|
+
# maxRate, maxRatePerInstance, or maxRatePerEndpoint.
|
2444
2454
|
#
|
2445
|
-
# - If the load balancing mode is UTILIZATION,
|
2446
|
-
#
|
2447
|
-
#
|
2448
|
-
#
|
2449
|
-
#
|
2450
|
-
#
|
2455
|
+
# - If the load balancing mode is UTILIZATION, the load is spread based on the
|
2456
|
+
# CPU utilization of instances in an instance group.
|
2457
|
+
# You can use the UTILIZATION balancing mode if the loadBalancingScheme of the
|
2458
|
+
# backend service is EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED and
|
2459
|
+
# the backends are instance groups. There are no restrictions on the backend
|
2460
|
+
# service protocol.
|
2451
2461
|
# Corresponds to the JSON property `balancingMode`
|
2452
2462
|
# @return [String]
|
2453
2463
|
attr_accessor :balancing_mode
|
@@ -3058,8 +3068,8 @@ module Google
|
|
3058
3068
|
# Type of session affinity to use. The default is NONE. Session affinity is not
|
3059
3069
|
# applicable if the --protocol is UDP.
|
3060
3070
|
# When the loadBalancingScheme is EXTERNAL, possible values are NONE, CLIENT_IP,
|
3061
|
-
# or GENERATED_COOKIE.
|
3062
|
-
#
|
3071
|
+
# or GENERATED_COOKIE. You can use GENERATED_COOKIE if the protocol is HTTP or
|
3072
|
+
# HTTPS.
|
3063
3073
|
# When the loadBalancingScheme is INTERNAL, possible values are NONE, CLIENT_IP,
|
3064
3074
|
# CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO.
|
3065
3075
|
# When the loadBalancingScheme is INTERNAL_SELF_MANAGED, possible values are
|
@@ -3865,8 +3875,7 @@ module Google
|
|
3865
3875
|
# @return [String]
|
3866
3876
|
attr_accessor :local_state
|
3867
3877
|
|
3868
|
-
# Negotiated transmit interval for control packets.
|
3869
|
-
# this will reflect the negotiated slow timer interval.
|
3878
|
+
# Negotiated transmit interval for control packets.
|
3870
3879
|
# Corresponds to the JSON property `negotiatedLocalControlTxIntervalMs`
|
3871
3880
|
# @return [Fixnum]
|
3872
3881
|
attr_accessor :negotiated_local_control_tx_interval_ms
|
@@ -3977,7 +3986,7 @@ module Google
|
|
3977
3986
|
# * `allAuthenticatedUsers`: A special identifier that represents anyone who is
|
3978
3987
|
# authenticated with a Google account or a service account.
|
3979
3988
|
# * `user:`emailid``: An email address that represents a specific Google account.
|
3980
|
-
# For example, `alice@
|
3989
|
+
# For example, `alice@example.com` .
|
3981
3990
|
# * `serviceAccount:`emailid``: An email address that represents a service
|
3982
3991
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
3983
3992
|
# * `group:`emailid``: An email address that represents a Google group. For
|
@@ -4309,7 +4318,7 @@ module Google
|
|
4309
4318
|
# @return [String]
|
4310
4319
|
attr_accessor :region
|
4311
4320
|
|
4312
|
-
# List of reservations
|
4321
|
+
# List of reservations in this commitment.
|
4313
4322
|
# Corresponds to the JSON property `reservations`
|
4314
4323
|
# @return [Array<Google::Apis::ComputeAlpha::Reservation>]
|
4315
4324
|
attr_accessor :reservations
|
@@ -5285,7 +5294,9 @@ module Google
|
|
5285
5294
|
# @return [String]
|
5286
5295
|
attr_accessor :source_snapshot_id
|
5287
5296
|
|
5288
|
-
# [Output Only] The status of disk creation.
|
5297
|
+
# [Output Only] The status of disk creation. CREATING: Disk is provisioning.
|
5298
|
+
# RESTORING: Source data is being copied into the disk. FAILED: Disk creation
|
5299
|
+
# failed. READY: Disk is ready for use. DELETING: Disk is deleting.
|
5289
5300
|
# Corresponds to the JSON property `status`
|
5290
5301
|
# @return [String]
|
5291
5302
|
attr_accessor :status
|
@@ -7318,32 +7329,20 @@ module Google
|
|
7318
7329
|
class ForwardingRule
|
7319
7330
|
include Google::Apis::Core::Hashable
|
7320
7331
|
|
7321
|
-
#
|
7322
|
-
#
|
7323
|
-
#
|
7324
|
-
#
|
7325
|
-
#
|
7326
|
-
#
|
7327
|
-
#
|
7328
|
-
#
|
7329
|
-
#
|
7330
|
-
#
|
7331
|
-
#
|
7332
|
-
# address
|
7333
|
-
#
|
7334
|
-
#
|
7335
|
-
# default, if this field is empty, an ephemeral internal IP address will be
|
7336
|
-
# automatically allocated from the IP range of the subnet or network configured
|
7337
|
-
# for this forwarding rule.
|
7338
|
-
# An address can be specified either by a literal IP address or a URL reference
|
7339
|
-
# to an existing Address resource. The following examples are all valid:
|
7340
|
-
# - 100.1.2.3
|
7341
|
-
# - https://www.googleapis.com/compute/v1/projects/project/regions/region/
|
7342
|
-
# addresses/address
|
7343
|
-
# - projects/project/regions/region/addresses/address
|
7344
|
-
# - regions/region/addresses/address
|
7345
|
-
# - global/addresses/address
|
7346
|
-
# - address
|
7332
|
+
# IP address that this forwarding rule serves. When a client sends traffic to
|
7333
|
+
# this IP address, the forwarding rule directs the traffic to the target that
|
7334
|
+
# you specify in the forwarding rule.
|
7335
|
+
# If you don't specify a reserved IP address, an ephemeral IP address is
|
7336
|
+
# assigned. Methods for specifying an IP address:
|
7337
|
+
# * IPv4 dotted decimal, as in `100.1.2.3` * Full URL, as in https://www.
|
7338
|
+
# googleapis.com/compute/v1/projects/project_id/regions/region/addresses/address-
|
7339
|
+
# name * Partial URL or by name, as in: * projects/project_id/regions/region/
|
7340
|
+
# addresses/address-name * regions/region/addresses/address-name * global/
|
7341
|
+
# addresses/address-name * address-name
|
7342
|
+
# The loadBalancingScheme and the forwarding rule's target determine the type of
|
7343
|
+
# IP address that you can use. For detailed information, refer to [IP address
|
7344
|
+
# specifications](/load-balancing/docs/forwarding-rule-concepts#
|
7345
|
+
# ip_address_specifications).
|
7347
7346
|
# Corresponds to the JSON property `IPAddress`
|
7348
7347
|
# @return [String]
|
7349
7348
|
attr_accessor :ip_address
|
@@ -7510,13 +7509,23 @@ module Google
|
|
7510
7509
|
# @return [String]
|
7511
7510
|
attr_accessor :network_tier
|
7512
7511
|
|
7513
|
-
# This field is
|
7514
|
-
#
|
7515
|
-
#
|
7516
|
-
#
|
7517
|
-
|
7518
|
-
|
7519
|
-
#
|
7512
|
+
# This field is deprecated. See the port
|
7513
|
+
# field.
|
7514
|
+
# Corresponds to the JSON property `portRange`
|
7515
|
+
# @return [String]
|
7516
|
+
attr_accessor :port_range
|
7517
|
+
|
7518
|
+
# List of comma-separated ports. The forwarding rule forwards packets with
|
7519
|
+
# matching destination ports. If the forwarding rule's loadBalancingScheme is
|
7520
|
+
# EXTERNAL, and the forwarding rule references a target pool, specifying ports
|
7521
|
+
# is optional. You can specify an unlimited number of ports, but they must be
|
7522
|
+
# contiguous. If you omit ports, GCP forwards traffic on any port of the
|
7523
|
+
# forwarding rule's protocol.
|
7524
|
+
# If the forwarding rule's loadBalancingScheme is EXTERNAL, and the forwarding
|
7525
|
+
# rule references a target HTTP proxy, target HTTPS proxy, target TCP proxy,
|
7526
|
+
# target SSL proxy, or target VPN gateway, you must specify ports using the
|
7527
|
+
# following constraints:
|
7528
|
+
#
|
7520
7529
|
# - TargetHttpProxy: 80, 8080
|
7521
7530
|
# - TargetHttpsProxy: 443
|
7522
7531
|
# - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688,
|
@@ -7524,16 +7533,16 @@ module Google
|
|
7524
7533
|
# - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688,
|
7525
7534
|
# 1883, 5222
|
7526
7535
|
# - TargetVpnGateway: 500, 4500
|
7527
|
-
#
|
7528
|
-
#
|
7529
|
-
|
7530
|
-
|
7531
|
-
#
|
7532
|
-
#
|
7533
|
-
#
|
7534
|
-
#
|
7535
|
-
#
|
7536
|
-
#
|
7536
|
+
# If the forwarding rule's loadBalancingScheme is INTERNAL, you must specify
|
7537
|
+
# ports in one of the following ways:
|
7538
|
+
# * A list of up to five ports, which can be non-contiguous * Keyword ALL, which
|
7539
|
+
# causes the forwarding rule to forward traffic on any port of the forwarding
|
7540
|
+
# rule's protocol.
|
7541
|
+
# The ports field is used along with the target field for TargetHttpProxy,
|
7542
|
+
# TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool,
|
7543
|
+
# TargetInstance.
|
7544
|
+
# Applicable only when IPProtocol is TCP, UDP, or SCTP. Forwarding rules with
|
7545
|
+
# the same [IPAddress, IPProtocol] pair must have disjoint port ranges.
|
7537
7546
|
# Corresponds to the JSON property `ports`
|
7538
7547
|
# @return [Array<String>]
|
7539
7548
|
attr_accessor :ports
|
@@ -7557,7 +7566,7 @@ module Google
|
|
7557
7566
|
attr_accessor :self_link_with_id
|
7558
7567
|
|
7559
7568
|
# An optional prefix to the service name for this Forwarding Rule. If specified,
|
7560
|
-
#
|
7569
|
+
# the prefix is the first label of the fully qualified service name.
|
7561
7570
|
# The label must be 1-63 characters long, and comply with RFC1035. Specifically,
|
7562
7571
|
# the label must be 1-63 characters long and match the regular expression `[a-z](
|
7563
7572
|
# [-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase
|
@@ -8766,12 +8775,6 @@ module Google
|
|
8766
8775
|
attr_accessor :enable
|
8767
8776
|
alias_method :enable?, :enable
|
8768
8777
|
|
8769
|
-
# Specifies the desired filtering of logs on this health check. If this is
|
8770
|
-
# unspecified and enable is true, logs are exported with LOG_TRANSITION filter.
|
8771
|
-
# Corresponds to the JSON property `filter`
|
8772
|
-
# @return [String]
|
8773
|
-
attr_accessor :filter
|
8774
|
-
|
8775
8778
|
def initialize(**args)
|
8776
8779
|
update!(**args)
|
8777
8780
|
end
|
@@ -8779,7 +8782,6 @@ module Google
|
|
8779
8782
|
# Update properties of this object
|
8780
8783
|
def update!(**args)
|
8781
8784
|
@enable = args[:enable] if args.key?(:enable)
|
8782
|
-
@filter = args[:filter] if args.key?(:filter)
|
8783
8785
|
end
|
8784
8786
|
end
|
8785
8787
|
|
@@ -10720,7 +10722,8 @@ module Google
|
|
10720
10722
|
# @return [String]
|
10721
10723
|
attr_accessor :status
|
10722
10724
|
|
10723
|
-
#
|
10725
|
+
# Cloud Storage bucket storage location of the image (regional or multi-regional)
|
10726
|
+
# .
|
10724
10727
|
# Corresponds to the JSON property `storageLocations`
|
10725
10728
|
# @return [Array<String>]
|
10726
10729
|
attr_accessor :storage_locations
|
@@ -11015,7 +11018,10 @@ module Google
|
|
11015
11018
|
# @return [Array<Google::Apis::ComputeAlpha::AcceleratorConfig>]
|
11016
11019
|
attr_accessor :guest_accelerators
|
11017
11020
|
|
11018
|
-
#
|
11021
|
+
# Specifies the hostname of the instance. The specified hostname must be RFC1035
|
11022
|
+
# compliant. If hostname is not specified, the default hostname is [
|
11023
|
+
# INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [
|
11024
|
+
# INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.
|
11019
11025
|
# Corresponds to the JSON property `hostname`
|
11020
11026
|
# @return [String]
|
11021
11027
|
attr_accessor :hostname
|
@@ -12438,7 +12444,11 @@ module Google
|
|
12438
12444
|
class InstanceGroupManagerUpdatePolicy
|
12439
12445
|
include Google::Apis::Core::Hashable
|
12440
12446
|
|
12441
|
-
#
|
12447
|
+
# The instance redistribution policy for regional managed instance groups.
|
12448
|
+
# Valid values are:
|
12449
|
+
# - PROACTIVE (default): The group attempts to maintain an even distribution of
|
12450
|
+
# VM instances across zones in the region.
|
12451
|
+
# - NONE: For non-autoscaled groups, proactive redistribution is disabled.
|
12442
12452
|
# Corresponds to the JSON property `instanceRedistributionType`
|
12443
12453
|
# @return [String]
|
12444
12454
|
attr_accessor :instance_redistribution_type
|
@@ -14811,6 +14821,8 @@ module Google
|
|
14811
14821
|
# - BPS_2G: 2 Gbit/s
|
14812
14822
|
# - BPS_5G: 5 Gbit/s
|
14813
14823
|
# - BPS_10G: 10 Gbit/s
|
14824
|
+
# - BPS_20G: 20 Gbit/s
|
14825
|
+
# - BPS_50G: 50 Gbit/s
|
14814
14826
|
# Corresponds to the JSON property `bandwidth`
|
14815
14827
|
# @return [String]
|
14816
14828
|
attr_accessor :bandwidth
|
@@ -14906,6 +14918,13 @@ module Google
|
|
14906
14918
|
# @return [Hash<String,String>]
|
14907
14919
|
attr_accessor :labels
|
14908
14920
|
|
14921
|
+
# Maximum Transmission Unit (MTU), in bytes, of packets passing through this
|
14922
|
+
# interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the
|
14923
|
+
# value will default to 1440.
|
14924
|
+
# Corresponds to the JSON property `mtu`
|
14925
|
+
# @return [Fixnum]
|
14926
|
+
attr_accessor :mtu
|
14927
|
+
|
14909
14928
|
# Name of the resource. Provided by the client when the resource is created. The
|
14910
14929
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
14911
14930
|
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
@@ -15037,6 +15056,7 @@ module Google
|
|
15037
15056
|
@kind = args[:kind] if args.key?(:kind)
|
15038
15057
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
15039
15058
|
@labels = args[:labels] if args.key?(:labels)
|
15059
|
+
@mtu = args[:mtu] if args.key?(:mtu)
|
15040
15060
|
@name = args[:name] if args.key?(:name)
|
15041
15061
|
@operational_status = args[:operational_status] if args.key?(:operational_status)
|
15042
15062
|
@pairing_key = args[:pairing_key] if args.key?(:pairing_key)
|
@@ -17128,6 +17148,11 @@ module Google
|
|
17128
17148
|
# @return [Array<String>]
|
17129
17149
|
attr_accessor :storage_locations
|
17130
17150
|
|
17151
|
+
# [Output Only] Total size of the storage used by the machine image.
|
17152
|
+
# Corresponds to the JSON property `totalStorageBytes`
|
17153
|
+
# @return [Fixnum]
|
17154
|
+
attr_accessor :total_storage_bytes
|
17155
|
+
|
17131
17156
|
def initialize(**args)
|
17132
17157
|
update!(**args)
|
17133
17158
|
end
|
@@ -17148,6 +17173,7 @@ module Google
|
|
17148
17173
|
@source_instance_properties = args[:source_instance_properties] if args.key?(:source_instance_properties)
|
17149
17174
|
@status = args[:status] if args.key?(:status)
|
17150
17175
|
@storage_locations = args[:storage_locations] if args.key?(:storage_locations)
|
17176
|
+
@total_storage_bytes = args[:total_storage_bytes] if args.key?(:total_storage_bytes)
|
17151
17177
|
end
|
17152
17178
|
end
|
17153
17179
|
|
@@ -17826,7 +17852,9 @@ module Google
|
|
17826
17852
|
# @return [String]
|
17827
17853
|
attr_accessor :health_check
|
17828
17854
|
|
17829
|
-
# [Output Only] The current instance health state.
|
17855
|
+
# [Output Only] The current instance health state. This field will not get
|
17856
|
+
# promoted to beta/GA and might be removed from alpha APIs after 01/12/2019.
|
17857
|
+
# Please use detailed_health_state field instead.
|
17830
17858
|
# Corresponds to the JSON property `healthState`
|
17831
17859
|
# @return [String]
|
17832
17860
|
attr_accessor :health_state
|
@@ -18323,9 +18351,10 @@ module Google
|
|
18323
18351
|
attr_accessor :instance
|
18324
18352
|
|
18325
18353
|
# Optional IPv4 address of network endpoint. The IP address must belong to a VM
|
18326
|
-
# in
|
18327
|
-
# address is not specified, then the primary IP address for the VM
|
18328
|
-
# the network that the network endpoint group belongs to will be
|
18354
|
+
# in Compute Engine (either the primary IP or as part of an aliased IP range).
|
18355
|
+
# If the IP address is not specified, then the primary IP address for the VM
|
18356
|
+
# instance in the network that the network endpoint group belongs to will be
|
18357
|
+
# used.
|
18329
18358
|
# Corresponds to the JSON property `ipAddress`
|
18330
18359
|
# @return [String]
|
18331
18360
|
attr_accessor :ip_address
|
@@ -19814,6 +19843,11 @@ module Google
|
|
19814
19843
|
# @return [Fixnum]
|
19815
19844
|
attr_accessor :min_size
|
19816
19845
|
|
19846
|
+
#
|
19847
|
+
# Corresponds to the JSON property `mode`
|
19848
|
+
# @return [String]
|
19849
|
+
attr_accessor :mode
|
19850
|
+
|
19817
19851
|
def initialize(**args)
|
19818
19852
|
update!(**args)
|
19819
19853
|
end
|
@@ -19822,6 +19856,7 @@ module Google
|
|
19822
19856
|
def update!(**args)
|
19823
19857
|
@max_size = args[:max_size] if args.key?(:max_size)
|
19824
19858
|
@min_size = args[:min_size] if args.key?(:min_size)
|
19859
|
+
@mode = args[:mode] if args.key?(:mode)
|
19825
19860
|
end
|
19826
19861
|
end
|
19827
19862
|
|
@@ -20015,7 +20050,7 @@ module Google
|
|
20015
20050
|
class NodeGroupsDeleteNodesRequest
|
20016
20051
|
include Google::Apis::Core::Hashable
|
20017
20052
|
|
20018
|
-
#
|
20053
|
+
# Names of the nodes to delete.
|
20019
20054
|
# Corresponds to the JSON property `nodes`
|
20020
20055
|
# @return [Array<String>]
|
20021
20056
|
attr_accessor :nodes
|
@@ -21480,7 +21515,7 @@ module Google
|
|
21480
21515
|
# @return [Fixnum]
|
21481
21516
|
attr_accessor :http_error_status_code
|
21482
21517
|
|
21483
|
-
# [Output Only] The unique identifier for the
|
21518
|
+
# [Output Only] The unique identifier for the operation. This identifier is
|
21484
21519
|
# defined by the server.
|
21485
21520
|
# Corresponds to the JSON property `id`
|
21486
21521
|
# @return [Fixnum]
|
@@ -21498,7 +21533,7 @@ module Google
|
|
21498
21533
|
# @return [String]
|
21499
21534
|
attr_accessor :kind
|
21500
21535
|
|
21501
|
-
# [Output Only] Name of the
|
21536
|
+
# [Output Only] Name of the operation.
|
21502
21537
|
# Corresponds to the JSON property `name`
|
21503
21538
|
# @return [String]
|
21504
21539
|
attr_accessor :name
|
@@ -23294,7 +23329,7 @@ module Google
|
|
23294
23329
|
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
23295
23330
|
# applied to the same version of the policy.
|
23296
23331
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
23297
|
-
# policy is overwritten
|
23332
|
+
# policy is overwritten.
|
23298
23333
|
# Corresponds to the JSON property `etag`
|
23299
23334
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
23300
23335
|
# @return [String]
|
@@ -23731,119 +23766,10 @@ module Google
|
|
23731
23766
|
end
|
23732
23767
|
end
|
23733
23768
|
|
23734
|
-
# A
|
23735
|
-
|
23736
|
-
|
23737
|
-
|
23738
|
-
# [Output Only] Quota limit for this metric.
|
23739
|
-
# Corresponds to the JSON property `limit`
|
23740
|
-
# @return [Float]
|
23741
|
-
attr_accessor :limit
|
23742
|
-
|
23743
|
-
# [Output Only] Name of the quota metric.
|
23744
|
-
# Corresponds to the JSON property `metric`
|
23745
|
-
# @return [String]
|
23746
|
-
attr_accessor :metric
|
23747
|
-
|
23748
|
-
# [Output Only] Owning resource. This is the resource on which this quota is
|
23749
|
-
# applied.
|
23750
|
-
# Corresponds to the JSON property `owner`
|
23751
|
-
# @return [String]
|
23752
|
-
attr_accessor :owner
|
23753
|
-
|
23754
|
-
# [Output Only] Current usage of this metric.
|
23755
|
-
# Corresponds to the JSON property `usage`
|
23756
|
-
# @return [Float]
|
23757
|
-
attr_accessor :usage
|
23758
|
-
|
23759
|
-
def initialize(**args)
|
23760
|
-
update!(**args)
|
23761
|
-
end
|
23762
|
-
|
23763
|
-
# Update properties of this object
|
23764
|
-
def update!(**args)
|
23765
|
-
@limit = args[:limit] if args.key?(:limit)
|
23766
|
-
@metric = args[:metric] if args.key?(:metric)
|
23767
|
-
@owner = args[:owner] if args.key?(:owner)
|
23768
|
-
@usage = args[:usage] if args.key?(:usage)
|
23769
|
-
end
|
23770
|
-
end
|
23771
|
-
|
23772
|
-
#
|
23773
|
-
class RbacPolicy
|
23774
|
-
include Google::Apis::Core::Hashable
|
23775
|
-
|
23776
|
-
# Name of the RbacPolicy.
|
23777
|
-
# Corresponds to the JSON property `name`
|
23778
|
-
# @return [String]
|
23779
|
-
attr_accessor :name
|
23780
|
-
|
23781
|
-
# The list of permissions.
|
23782
|
-
# Corresponds to the JSON property `permissions`
|
23783
|
-
# @return [Array<Google::Apis::ComputeAlpha::Permission>]
|
23784
|
-
attr_accessor :permissions
|
23785
|
-
|
23786
|
-
# The list of principals.
|
23787
|
-
# Corresponds to the JSON property `principals`
|
23788
|
-
# @return [Array<Google::Apis::ComputeAlpha::Principal>]
|
23789
|
-
attr_accessor :principals
|
23790
|
-
|
23791
|
-
def initialize(**args)
|
23792
|
-
update!(**args)
|
23793
|
-
end
|
23794
|
-
|
23795
|
-
# Update properties of this object
|
23796
|
-
def update!(**args)
|
23797
|
-
@name = args[:name] if args.key?(:name)
|
23798
|
-
@permissions = args[:permissions] if args.key?(:permissions)
|
23799
|
-
@principals = args[:principals] if args.key?(:principals)
|
23800
|
-
end
|
23801
|
-
end
|
23802
|
-
|
23803
|
-
# Represents a reference to a resource.
|
23804
|
-
class Reference
|
23805
|
-
include Google::Apis::Core::Hashable
|
23806
|
-
|
23807
|
-
# [Output Only] Type of the resource. Always compute#reference for references.
|
23808
|
-
# Corresponds to the JSON property `kind`
|
23809
|
-
# @return [String]
|
23810
|
-
attr_accessor :kind
|
23811
|
-
|
23812
|
-
# A description of the reference type with no implied semantics. Possible values
|
23813
|
-
# include:
|
23814
|
-
# - MEMBER_OF
|
23815
|
-
# Corresponds to the JSON property `referenceType`
|
23816
|
-
# @return [String]
|
23817
|
-
attr_accessor :reference_type
|
23818
|
-
|
23819
|
-
# URL of the resource which refers to the target.
|
23820
|
-
# Corresponds to the JSON property `referrer`
|
23821
|
-
# @return [String]
|
23822
|
-
attr_accessor :referrer
|
23823
|
-
|
23824
|
-
# URL of the resource to which this reference points.
|
23825
|
-
# Corresponds to the JSON property `target`
|
23826
|
-
# @return [String]
|
23827
|
-
attr_accessor :target
|
23828
|
-
|
23829
|
-
def initialize(**args)
|
23830
|
-
update!(**args)
|
23831
|
-
end
|
23832
|
-
|
23833
|
-
# Update properties of this object
|
23834
|
-
def update!(**args)
|
23835
|
-
@kind = args[:kind] if args.key?(:kind)
|
23836
|
-
@reference_type = args[:reference_type] if args.key?(:reference_type)
|
23837
|
-
@referrer = args[:referrer] if args.key?(:referrer)
|
23838
|
-
@target = args[:target] if args.key?(:target)
|
23839
|
-
end
|
23840
|
-
end
|
23841
|
-
|
23842
|
-
# Represents a Region resource.
|
23843
|
-
# A region is a geographical area where a resource is located. For more
|
23844
|
-
# information, read Regions and Zones. (== resource_for beta.regions ==) (==
|
23845
|
-
# resource_for v1.regions ==)
|
23846
|
-
class Region
|
23769
|
+
# A public advertised prefix represents an aggregated IP prefix or netblock
|
23770
|
+
# which customers bring to cloud. The IP prefix is a single unit of route
|
23771
|
+
# advertisement and is announced globally to the internet.
|
23772
|
+
class PublicAdvertisedPrefix
|
23847
23773
|
include Google::Apis::Core::Hashable
|
23848
23774
|
|
23849
23775
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
@@ -23851,58 +23777,83 @@ module Google
|
|
23851
23777
|
# @return [String]
|
23852
23778
|
attr_accessor :creation_timestamp
|
23853
23779
|
|
23854
|
-
#
|
23855
|
-
#
|
23856
|
-
# @return [Google::Apis::ComputeAlpha::DeprecationStatus]
|
23857
|
-
attr_accessor :deprecated
|
23858
|
-
|
23859
|
-
# [Output Only] Textual description of the resource.
|
23780
|
+
# An optional description of this resource. Provide this property when you
|
23781
|
+
# create the resource.
|
23860
23782
|
# Corresponds to the JSON property `description`
|
23861
23783
|
# @return [String]
|
23862
23784
|
attr_accessor :description
|
23863
23785
|
|
23864
|
-
#
|
23865
|
-
#
|
23786
|
+
# The IPv4 address to be used for reverse DNS verification.
|
23787
|
+
# Corresponds to the JSON property `dnsVerificationIp`
|
23788
|
+
# @return [String]
|
23789
|
+
attr_accessor :dns_verification_ip
|
23790
|
+
|
23791
|
+
# Fingerprint of this resource. A hash of the contents stored in this object.
|
23792
|
+
# This field is used in optimistic locking. This field will be ignored when
|
23793
|
+
# inserting a new PublicAdvertisedPrefix. An up-to-date fingerprint must be
|
23794
|
+
# provided in order to update the PublicAdvertisedPrefix, otherwise the request
|
23795
|
+
# will fail with error 412 conditionNotMet.
|
23796
|
+
# To see the latest fingerprint, make a get() request to retrieve a
|
23797
|
+
# PublicAdvertisedPrefix.
|
23798
|
+
# Corresponds to the JSON property `fingerprint`
|
23799
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
23800
|
+
# @return [String]
|
23801
|
+
attr_accessor :fingerprint
|
23802
|
+
|
23803
|
+
# [Output Only] The unique identifier for the resource type. The server
|
23804
|
+
# generates this identifier.
|
23866
23805
|
# Corresponds to the JSON property `id`
|
23867
23806
|
# @return [Fixnum]
|
23868
23807
|
attr_accessor :id
|
23869
23808
|
|
23870
|
-
#
|
23809
|
+
# The IPv4 address range, in CIDR format, represented by this public advertised
|
23810
|
+
# prefix.
|
23811
|
+
# Corresponds to the JSON property `ipCidrRange`
|
23812
|
+
# @return [String]
|
23813
|
+
attr_accessor :ip_cidr_range
|
23814
|
+
|
23815
|
+
# [Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for
|
23816
|
+
# public advertised prefixes.
|
23871
23817
|
# Corresponds to the JSON property `kind`
|
23872
23818
|
# @return [String]
|
23873
23819
|
attr_accessor :kind
|
23874
23820
|
|
23875
|
-
#
|
23821
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
23822
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
23823
|
+
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
23824
|
+
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
23825
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
23826
|
+
# except the last character, which cannot be a dash.
|
23876
23827
|
# Corresponds to the JSON property `name`
|
23877
23828
|
# @return [String]
|
23878
23829
|
attr_accessor :name
|
23879
23830
|
|
23880
|
-
# [Output Only]
|
23881
|
-
#
|
23882
|
-
#
|
23883
|
-
|
23831
|
+
# [Output Only] The list of public delegated prefixes that exist for this public
|
23832
|
+
# advertised prefix.
|
23833
|
+
# Corresponds to the JSON property `publicDelegatedPrefixs`
|
23834
|
+
# @return [Array<Google::Apis::ComputeAlpha::PublicAdvertisedPrefixPublicDelegatedPrefix>]
|
23835
|
+
attr_accessor :public_delegated_prefixs
|
23884
23836
|
|
23885
23837
|
# [Output Only] Server-defined URL for the resource.
|
23886
23838
|
# Corresponds to the JSON property `selfLink`
|
23887
23839
|
# @return [String]
|
23888
23840
|
attr_accessor :self_link
|
23889
23841
|
|
23890
|
-
# [Output Only] Server-defined URL
|
23842
|
+
# [Output Only] Server-defined URL with id for the resource.
|
23891
23843
|
# Corresponds to the JSON property `selfLinkWithId`
|
23892
23844
|
# @return [String]
|
23893
23845
|
attr_accessor :self_link_with_id
|
23894
23846
|
|
23895
|
-
# [Output Only]
|
23847
|
+
# [Output Only] The shared secret to be used for reverse DNS verification.
|
23848
|
+
# Corresponds to the JSON property `sharedSecret`
|
23849
|
+
# @return [String]
|
23850
|
+
attr_accessor :shared_secret
|
23851
|
+
|
23852
|
+
# The status of the public advertised prefix.
|
23896
23853
|
# Corresponds to the JSON property `status`
|
23897
23854
|
# @return [String]
|
23898
23855
|
attr_accessor :status
|
23899
23856
|
|
23900
|
-
# [Output Only] A list of zones available in this region, in the form of
|
23901
|
-
# resource URLs.
|
23902
|
-
# Corresponds to the JSON property `zones`
|
23903
|
-
# @return [Array<String>]
|
23904
|
-
attr_accessor :zones
|
23905
|
-
|
23906
23857
|
def initialize(**args)
|
23907
23858
|
update!(**args)
|
23908
23859
|
end
|
@@ -23910,21 +23861,23 @@ module Google
|
|
23910
23861
|
# Update properties of this object
|
23911
23862
|
def update!(**args)
|
23912
23863
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
23913
|
-
@deprecated = args[:deprecated] if args.key?(:deprecated)
|
23914
23864
|
@description = args[:description] if args.key?(:description)
|
23865
|
+
@dns_verification_ip = args[:dns_verification_ip] if args.key?(:dns_verification_ip)
|
23866
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
23915
23867
|
@id = args[:id] if args.key?(:id)
|
23868
|
+
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
23916
23869
|
@kind = args[:kind] if args.key?(:kind)
|
23917
23870
|
@name = args[:name] if args.key?(:name)
|
23918
|
-
@
|
23871
|
+
@public_delegated_prefixs = args[:public_delegated_prefixs] if args.key?(:public_delegated_prefixs)
|
23919
23872
|
@self_link = args[:self_link] if args.key?(:self_link)
|
23920
23873
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
23874
|
+
@shared_secret = args[:shared_secret] if args.key?(:shared_secret)
|
23921
23875
|
@status = args[:status] if args.key?(:status)
|
23922
|
-
@zones = args[:zones] if args.key?(:zones)
|
23923
23876
|
end
|
23924
23877
|
end
|
23925
23878
|
|
23926
|
-
#
|
23927
|
-
class
|
23879
|
+
#
|
23880
|
+
class PublicAdvertisedPrefixList
|
23928
23881
|
include Google::Apis::Core::Hashable
|
23929
23882
|
|
23930
23883
|
# [Output Only] Unique identifier for the resource; defined by the server.
|
@@ -23932,12 +23885,13 @@ module Google
|
|
23932
23885
|
# @return [String]
|
23933
23886
|
attr_accessor :id
|
23934
23887
|
|
23935
|
-
# A list of
|
23888
|
+
# A list of PublicAdvertisedPrefix resources.
|
23936
23889
|
# Corresponds to the JSON property `items`
|
23937
|
-
# @return [Array<Google::Apis::ComputeAlpha::
|
23890
|
+
# @return [Array<Google::Apis::ComputeAlpha::PublicAdvertisedPrefix>]
|
23938
23891
|
attr_accessor :items
|
23939
23892
|
|
23940
|
-
# Type of resource.
|
23893
|
+
# [Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for
|
23894
|
+
# public advertised prefixes.
|
23941
23895
|
# Corresponds to the JSON property `kind`
|
23942
23896
|
# @return [String]
|
23943
23897
|
attr_accessor :kind
|
@@ -23958,7 +23912,7 @@ module Google
|
|
23958
23912
|
|
23959
23913
|
# [Output Only] Informational warning message.
|
23960
23914
|
# Corresponds to the JSON property `warning`
|
23961
|
-
# @return [Google::Apis::ComputeAlpha::
|
23915
|
+
# @return [Google::Apis::ComputeAlpha::PublicAdvertisedPrefixList::Warning]
|
23962
23916
|
attr_accessor :warning
|
23963
23917
|
|
23964
23918
|
def initialize(**args)
|
@@ -23988,7 +23942,7 @@ module Google
|
|
23988
23942
|
# [Output Only] Metadata about this warning in key: value format. For example:
|
23989
23943
|
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
23990
23944
|
# Corresponds to the JSON property `data`
|
23991
|
-
# @return [Array<Google::Apis::ComputeAlpha::
|
23945
|
+
# @return [Array<Google::Apis::ComputeAlpha::PublicAdvertisedPrefixList::Warning::Datum>]
|
23992
23946
|
attr_accessor :data
|
23993
23947
|
|
23994
23948
|
# [Output Only] A human-readable description of the warning code.
|
@@ -24040,15 +23994,27 @@ module Google
|
|
24040
23994
|
end
|
24041
23995
|
end
|
24042
23996
|
|
24043
|
-
#
|
24044
|
-
class
|
23997
|
+
# Represents a CIDR range which can be used to assign addresses.
|
23998
|
+
class PublicAdvertisedPrefixPublicDelegatedPrefix
|
24045
23999
|
include Google::Apis::Core::Hashable
|
24046
24000
|
|
24047
|
-
#
|
24048
|
-
#
|
24049
|
-
#
|
24050
|
-
|
24051
|
-
|
24001
|
+
# The name of the public delegated prefix
|
24002
|
+
# Corresponds to the JSON property `name`
|
24003
|
+
# @return [String]
|
24004
|
+
attr_accessor :name
|
24005
|
+
|
24006
|
+
# The region of the public delegated prefix if it is regional. If absent, the
|
24007
|
+
# prefix is global.
|
24008
|
+
# Corresponds to the JSON property `region`
|
24009
|
+
# @return [String]
|
24010
|
+
attr_accessor :region
|
24011
|
+
|
24012
|
+
# The status of the public delegated prefix. Possible values are: ACTIVE: The
|
24013
|
+
# public delegated prefix is active DRAINED: The public delegated prefix is
|
24014
|
+
# drained.
|
24015
|
+
# Corresponds to the JSON property `status`
|
24016
|
+
# @return [String]
|
24017
|
+
attr_accessor :status
|
24052
24018
|
|
24053
24019
|
def initialize(**args)
|
24054
24020
|
update!(**args)
|
@@ -24056,23 +24022,894 @@ module Google
|
|
24056
24022
|
|
24057
24023
|
# Update properties of this object
|
24058
24024
|
def update!(**args)
|
24059
|
-
@
|
24025
|
+
@name = args[:name] if args.key?(:name)
|
24026
|
+
@region = args[:region] if args.key?(:region)
|
24027
|
+
@status = args[:status] if args.key?(:status)
|
24060
24028
|
end
|
24061
24029
|
end
|
24062
24030
|
|
24063
|
-
#
|
24064
|
-
|
24031
|
+
# A PublicDelegatedPrefix resource represents an IP block within a
|
24032
|
+
# PublicAdvertisedPrefix that is configured within a single cloud scope (global
|
24033
|
+
# or region). IPs in the block can be allocated to resources within that scope.
|
24034
|
+
# Public delegated prefixes may be further broken up into smaller IP blocks in
|
24035
|
+
# the same scope as the parent block.
|
24036
|
+
class PublicDelegatedPrefix
|
24065
24037
|
include Google::Apis::Core::Hashable
|
24066
24038
|
|
24067
|
-
# [Output Only]
|
24068
|
-
# Corresponds to the JSON property `
|
24039
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
24040
|
+
# Corresponds to the JSON property `creationTimestamp`
|
24069
24041
|
# @return [String]
|
24070
|
-
attr_accessor :
|
24042
|
+
attr_accessor :creation_timestamp
|
24071
24043
|
|
24072
|
-
#
|
24073
|
-
#
|
24074
|
-
#
|
24075
|
-
|
24044
|
+
# An optional description of this resource. Provide this property when you
|
24045
|
+
# create the resource.
|
24046
|
+
# Corresponds to the JSON property `description`
|
24047
|
+
# @return [String]
|
24048
|
+
attr_accessor :description
|
24049
|
+
|
24050
|
+
# Fingerprint of this resource. A hash of the contents stored in this object.
|
24051
|
+
# This field is used in optimistic locking. This field will be ignored when
|
24052
|
+
# inserting a new PublicDelegatedPrefix. An up-to-date fingerprint must be
|
24053
|
+
# provided in order to update the PublicDelegatedPrefix, otherwise the request
|
24054
|
+
# will fail with error 412 conditionNotMet.
|
24055
|
+
# To see the latest fingerprint, make a get() request to retrieve a
|
24056
|
+
# PublicDelegatedPrefix.
|
24057
|
+
# Corresponds to the JSON property `fingerprint`
|
24058
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
24059
|
+
# @return [String]
|
24060
|
+
attr_accessor :fingerprint
|
24061
|
+
|
24062
|
+
# The list of Google announcements that exist for this delegated prefix.
|
24063
|
+
# Corresponds to the JSON property `googleAnnouncements`
|
24064
|
+
# @return [Array<Google::Apis::ComputeAlpha::PublicDelegatedPrefixGoogleAnnouncement>]
|
24065
|
+
attr_accessor :google_announcements
|
24066
|
+
|
24067
|
+
# [Output Only] The unique identifier for the resource type. The server
|
24068
|
+
# generates this identifier.
|
24069
|
+
# Corresponds to the JSON property `id`
|
24070
|
+
# @return [Fixnum]
|
24071
|
+
attr_accessor :id
|
24072
|
+
|
24073
|
+
# The IPv4 address range, in CIDR format, represented by this public delegated
|
24074
|
+
# prefix.
|
24075
|
+
# Corresponds to the JSON property `ipCidrRange`
|
24076
|
+
# @return [String]
|
24077
|
+
attr_accessor :ip_cidr_range
|
24078
|
+
|
24079
|
+
# [Output Only] Type of the resource. Always compute#publicDelegatedPrefix for
|
24080
|
+
# public delegated prefixes.
|
24081
|
+
# Corresponds to the JSON property `kind`
|
24082
|
+
# @return [String]
|
24083
|
+
attr_accessor :kind
|
24084
|
+
|
24085
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
24086
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
24087
|
+
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
24088
|
+
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
24089
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
24090
|
+
# except the last character, which cannot be a dash.
|
24091
|
+
# Corresponds to the JSON property `name`
|
24092
|
+
# @return [String]
|
24093
|
+
attr_accessor :name
|
24094
|
+
|
24095
|
+
# The URL of parent prefix. Either PublicAdvertisedPrefix or
|
24096
|
+
# PublicDelegatedPrefix.
|
24097
|
+
# Corresponds to the JSON property `parentPrefix`
|
24098
|
+
# @return [String]
|
24099
|
+
attr_accessor :parent_prefix
|
24100
|
+
|
24101
|
+
# The list of sub public delegated prefixes that exist for this public delegated
|
24102
|
+
# prefix.
|
24103
|
+
# Corresponds to the JSON property `publicDelegatedSubPrefixs`
|
24104
|
+
# @return [Array<Google::Apis::ComputeAlpha::PublicDelegatedPrefixPublicDelegatedSubPrefix>]
|
24105
|
+
attr_accessor :public_delegated_sub_prefixs
|
24106
|
+
|
24107
|
+
# [Output Only] URL of the region where the public delegated prefix resides.
|
24108
|
+
# This field applies only to the region resource. You must specify this field as
|
24109
|
+
# part of the HTTP request URL. It is not settable as a field in the request
|
24110
|
+
# body.
|
24111
|
+
# Corresponds to the JSON property `region`
|
24112
|
+
# @return [String]
|
24113
|
+
attr_accessor :region
|
24114
|
+
|
24115
|
+
# [Output Only] Server-defined URL for the resource.
|
24116
|
+
# Corresponds to the JSON property `selfLink`
|
24117
|
+
# @return [String]
|
24118
|
+
attr_accessor :self_link
|
24119
|
+
|
24120
|
+
# [Output Only] Server-defined URL with id for the resource.
|
24121
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
24122
|
+
# @return [String]
|
24123
|
+
attr_accessor :self_link_with_id
|
24124
|
+
|
24125
|
+
# [Output Only] The status of the public delegated prefix.
|
24126
|
+
# Corresponds to the JSON property `status`
|
24127
|
+
# @return [Object]
|
24128
|
+
attr_accessor :status
|
24129
|
+
|
24130
|
+
def initialize(**args)
|
24131
|
+
update!(**args)
|
24132
|
+
end
|
24133
|
+
|
24134
|
+
# Update properties of this object
|
24135
|
+
def update!(**args)
|
24136
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
24137
|
+
@description = args[:description] if args.key?(:description)
|
24138
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
24139
|
+
@google_announcements = args[:google_announcements] if args.key?(:google_announcements)
|
24140
|
+
@id = args[:id] if args.key?(:id)
|
24141
|
+
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
24142
|
+
@kind = args[:kind] if args.key?(:kind)
|
24143
|
+
@name = args[:name] if args.key?(:name)
|
24144
|
+
@parent_prefix = args[:parent_prefix] if args.key?(:parent_prefix)
|
24145
|
+
@public_delegated_sub_prefixs = args[:public_delegated_sub_prefixs] if args.key?(:public_delegated_sub_prefixs)
|
24146
|
+
@region = args[:region] if args.key?(:region)
|
24147
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
24148
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
24149
|
+
@status = args[:status] if args.key?(:status)
|
24150
|
+
end
|
24151
|
+
end
|
24152
|
+
|
24153
|
+
#
|
24154
|
+
class PublicDelegatedPrefixAggregatedList
|
24155
|
+
include Google::Apis::Core::Hashable
|
24156
|
+
|
24157
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
24158
|
+
# Corresponds to the JSON property `id`
|
24159
|
+
# @return [String]
|
24160
|
+
attr_accessor :id
|
24161
|
+
|
24162
|
+
# A list of PublicDelegatedPrefixesScopedList resources.
|
24163
|
+
# Corresponds to the JSON property `items`
|
24164
|
+
# @return [Hash<String,Google::Apis::ComputeAlpha::PublicDelegatedPrefixesScopedList>]
|
24165
|
+
attr_accessor :items
|
24166
|
+
|
24167
|
+
# [Output Only] Type of the resource. Always compute#
|
24168
|
+
# publicDelegatedPrefixAggregatedList for aggregated lists of public delegated
|
24169
|
+
# prefixes.
|
24170
|
+
# Corresponds to the JSON property `kind`
|
24171
|
+
# @return [String]
|
24172
|
+
attr_accessor :kind
|
24173
|
+
|
24174
|
+
# [Output Only] This token allows you to get the next page of results for list
|
24175
|
+
# requests. If the number of results is larger than maxResults, use the
|
24176
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
24177
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
24178
|
+
# continue paging through the results.
|
24179
|
+
# Corresponds to the JSON property `nextPageToken`
|
24180
|
+
# @return [String]
|
24181
|
+
attr_accessor :next_page_token
|
24182
|
+
|
24183
|
+
# [Output Only] Server-defined URL for this resource.
|
24184
|
+
# Corresponds to the JSON property `selfLink`
|
24185
|
+
# @return [String]
|
24186
|
+
attr_accessor :self_link
|
24187
|
+
|
24188
|
+
# [Output Only] Informational warning message.
|
24189
|
+
# Corresponds to the JSON property `warning`
|
24190
|
+
# @return [Google::Apis::ComputeAlpha::PublicDelegatedPrefixAggregatedList::Warning]
|
24191
|
+
attr_accessor :warning
|
24192
|
+
|
24193
|
+
def initialize(**args)
|
24194
|
+
update!(**args)
|
24195
|
+
end
|
24196
|
+
|
24197
|
+
# Update properties of this object
|
24198
|
+
def update!(**args)
|
24199
|
+
@id = args[:id] if args.key?(:id)
|
24200
|
+
@items = args[:items] if args.key?(:items)
|
24201
|
+
@kind = args[:kind] if args.key?(:kind)
|
24202
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
24203
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
24204
|
+
@warning = args[:warning] if args.key?(:warning)
|
24205
|
+
end
|
24206
|
+
|
24207
|
+
# [Output Only] Informational warning message.
|
24208
|
+
class Warning
|
24209
|
+
include Google::Apis::Core::Hashable
|
24210
|
+
|
24211
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
24212
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
24213
|
+
# Corresponds to the JSON property `code`
|
24214
|
+
# @return [String]
|
24215
|
+
attr_accessor :code
|
24216
|
+
|
24217
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
24218
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
24219
|
+
# Corresponds to the JSON property `data`
|
24220
|
+
# @return [Array<Google::Apis::ComputeAlpha::PublicDelegatedPrefixAggregatedList::Warning::Datum>]
|
24221
|
+
attr_accessor :data
|
24222
|
+
|
24223
|
+
# [Output Only] A human-readable description of the warning code.
|
24224
|
+
# Corresponds to the JSON property `message`
|
24225
|
+
# @return [String]
|
24226
|
+
attr_accessor :message
|
24227
|
+
|
24228
|
+
def initialize(**args)
|
24229
|
+
update!(**args)
|
24230
|
+
end
|
24231
|
+
|
24232
|
+
# Update properties of this object
|
24233
|
+
def update!(**args)
|
24234
|
+
@code = args[:code] if args.key?(:code)
|
24235
|
+
@data = args[:data] if args.key?(:data)
|
24236
|
+
@message = args[:message] if args.key?(:message)
|
24237
|
+
end
|
24238
|
+
|
24239
|
+
#
|
24240
|
+
class Datum
|
24241
|
+
include Google::Apis::Core::Hashable
|
24242
|
+
|
24243
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
24244
|
+
# For example, for warnings where there are no results in a list request for a
|
24245
|
+
# particular zone, this key might be scope and the key value might be the zone
|
24246
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
24247
|
+
# suggested replacement, or a warning about invalid network settings (for
|
24248
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
24249
|
+
# for IP forwarding).
|
24250
|
+
# Corresponds to the JSON property `key`
|
24251
|
+
# @return [String]
|
24252
|
+
attr_accessor :key
|
24253
|
+
|
24254
|
+
# [Output Only] A warning data value corresponding to the key.
|
24255
|
+
# Corresponds to the JSON property `value`
|
24256
|
+
# @return [String]
|
24257
|
+
attr_accessor :value
|
24258
|
+
|
24259
|
+
def initialize(**args)
|
24260
|
+
update!(**args)
|
24261
|
+
end
|
24262
|
+
|
24263
|
+
# Update properties of this object
|
24264
|
+
def update!(**args)
|
24265
|
+
@key = args[:key] if args.key?(:key)
|
24266
|
+
@value = args[:value] if args.key?(:value)
|
24267
|
+
end
|
24268
|
+
end
|
24269
|
+
end
|
24270
|
+
end
|
24271
|
+
|
24272
|
+
# A Google announcement advertises the prefix internally within Google's network
|
24273
|
+
# backbone from the specified scope.
|
24274
|
+
class PublicDelegatedPrefixGoogleAnnouncement
|
24275
|
+
include Google::Apis::Core::Hashable
|
24276
|
+
|
24277
|
+
# The name of a Google announcement. The name must be 1-63 characters long, and
|
24278
|
+
# comply with RFC1035. Specifically, the name must be 1-63 characters long and
|
24279
|
+
# match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the
|
24280
|
+
# first // character must be a lowercase letter, and all following characters
|
24281
|
+
# must be a dash, lowercase letter, or digit, except the last character, which
|
24282
|
+
# cannot be a dash.
|
24283
|
+
# Corresponds to the JSON property `name`
|
24284
|
+
# @return [String]
|
24285
|
+
attr_accessor :name
|
24286
|
+
|
24287
|
+
# The status of this Google announcement.
|
24288
|
+
# Corresponds to the JSON property `status`
|
24289
|
+
# @return [String]
|
24290
|
+
attr_accessor :status
|
24291
|
+
|
24292
|
+
def initialize(**args)
|
24293
|
+
update!(**args)
|
24294
|
+
end
|
24295
|
+
|
24296
|
+
# Update properties of this object
|
24297
|
+
def update!(**args)
|
24298
|
+
@name = args[:name] if args.key?(:name)
|
24299
|
+
@status = args[:status] if args.key?(:status)
|
24300
|
+
end
|
24301
|
+
end
|
24302
|
+
|
24303
|
+
#
|
24304
|
+
class PublicDelegatedPrefixList
|
24305
|
+
include Google::Apis::Core::Hashable
|
24306
|
+
|
24307
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
24308
|
+
# Corresponds to the JSON property `id`
|
24309
|
+
# @return [String]
|
24310
|
+
attr_accessor :id
|
24311
|
+
|
24312
|
+
# A list of PublicDelegatedPrefix resources.
|
24313
|
+
# Corresponds to the JSON property `items`
|
24314
|
+
# @return [Array<Google::Apis::ComputeAlpha::PublicDelegatedPrefix>]
|
24315
|
+
attr_accessor :items
|
24316
|
+
|
24317
|
+
# [Output Only] Type of the resource. Always compute#publicDelegatedPrefixList
|
24318
|
+
# for public delegated prefixes.
|
24319
|
+
# Corresponds to the JSON property `kind`
|
24320
|
+
# @return [String]
|
24321
|
+
attr_accessor :kind
|
24322
|
+
|
24323
|
+
# [Output Only] This token allows you to get the next page of results for list
|
24324
|
+
# requests. If the number of results is larger than maxResults, use the
|
24325
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
24326
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
24327
|
+
# continue paging through the results.
|
24328
|
+
# Corresponds to the JSON property `nextPageToken`
|
24329
|
+
# @return [String]
|
24330
|
+
attr_accessor :next_page_token
|
24331
|
+
|
24332
|
+
# [Output Only] Server-defined URL for this resource.
|
24333
|
+
# Corresponds to the JSON property `selfLink`
|
24334
|
+
# @return [String]
|
24335
|
+
attr_accessor :self_link
|
24336
|
+
|
24337
|
+
# [Output Only] Informational warning message.
|
24338
|
+
# Corresponds to the JSON property `warning`
|
24339
|
+
# @return [Google::Apis::ComputeAlpha::PublicDelegatedPrefixList::Warning]
|
24340
|
+
attr_accessor :warning
|
24341
|
+
|
24342
|
+
def initialize(**args)
|
24343
|
+
update!(**args)
|
24344
|
+
end
|
24345
|
+
|
24346
|
+
# Update properties of this object
|
24347
|
+
def update!(**args)
|
24348
|
+
@id = args[:id] if args.key?(:id)
|
24349
|
+
@items = args[:items] if args.key?(:items)
|
24350
|
+
@kind = args[:kind] if args.key?(:kind)
|
24351
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
24352
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
24353
|
+
@warning = args[:warning] if args.key?(:warning)
|
24354
|
+
end
|
24355
|
+
|
24356
|
+
# [Output Only] Informational warning message.
|
24357
|
+
class Warning
|
24358
|
+
include Google::Apis::Core::Hashable
|
24359
|
+
|
24360
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
24361
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
24362
|
+
# Corresponds to the JSON property `code`
|
24363
|
+
# @return [String]
|
24364
|
+
attr_accessor :code
|
24365
|
+
|
24366
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
24367
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
24368
|
+
# Corresponds to the JSON property `data`
|
24369
|
+
# @return [Array<Google::Apis::ComputeAlpha::PublicDelegatedPrefixList::Warning::Datum>]
|
24370
|
+
attr_accessor :data
|
24371
|
+
|
24372
|
+
# [Output Only] A human-readable description of the warning code.
|
24373
|
+
# Corresponds to the JSON property `message`
|
24374
|
+
# @return [String]
|
24375
|
+
attr_accessor :message
|
24376
|
+
|
24377
|
+
def initialize(**args)
|
24378
|
+
update!(**args)
|
24379
|
+
end
|
24380
|
+
|
24381
|
+
# Update properties of this object
|
24382
|
+
def update!(**args)
|
24383
|
+
@code = args[:code] if args.key?(:code)
|
24384
|
+
@data = args[:data] if args.key?(:data)
|
24385
|
+
@message = args[:message] if args.key?(:message)
|
24386
|
+
end
|
24387
|
+
|
24388
|
+
#
|
24389
|
+
class Datum
|
24390
|
+
include Google::Apis::Core::Hashable
|
24391
|
+
|
24392
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
24393
|
+
# For example, for warnings where there are no results in a list request for a
|
24394
|
+
# particular zone, this key might be scope and the key value might be the zone
|
24395
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
24396
|
+
# suggested replacement, or a warning about invalid network settings (for
|
24397
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
24398
|
+
# for IP forwarding).
|
24399
|
+
# Corresponds to the JSON property `key`
|
24400
|
+
# @return [String]
|
24401
|
+
attr_accessor :key
|
24402
|
+
|
24403
|
+
# [Output Only] A warning data value corresponding to the key.
|
24404
|
+
# Corresponds to the JSON property `value`
|
24405
|
+
# @return [String]
|
24406
|
+
attr_accessor :value
|
24407
|
+
|
24408
|
+
def initialize(**args)
|
24409
|
+
update!(**args)
|
24410
|
+
end
|
24411
|
+
|
24412
|
+
# Update properties of this object
|
24413
|
+
def update!(**args)
|
24414
|
+
@key = args[:key] if args.key?(:key)
|
24415
|
+
@value = args[:value] if args.key?(:value)
|
24416
|
+
end
|
24417
|
+
end
|
24418
|
+
end
|
24419
|
+
end
|
24420
|
+
|
24421
|
+
# Represents a sub PublicDelegatedPrefix.
|
24422
|
+
class PublicDelegatedPrefixPublicDelegatedSubPrefix
|
24423
|
+
include Google::Apis::Core::Hashable
|
24424
|
+
|
24425
|
+
# Name of the project scoping this PublicDelegatedSubPrefix.
|
24426
|
+
# Corresponds to the JSON property `delegateeProject`
|
24427
|
+
# @return [String]
|
24428
|
+
attr_accessor :delegatee_project
|
24429
|
+
|
24430
|
+
# An optional description of this resource. Provide this property when you
|
24431
|
+
# create the resource.
|
24432
|
+
# Corresponds to the JSON property `description`
|
24433
|
+
# @return [String]
|
24434
|
+
attr_accessor :description
|
24435
|
+
|
24436
|
+
# The IPv4 address range, in CIDR format, represented by this sub public
|
24437
|
+
# delegated prefix.
|
24438
|
+
# Corresponds to the JSON property `ipCidrRange`
|
24439
|
+
# @return [String]
|
24440
|
+
attr_accessor :ip_cidr_range
|
24441
|
+
|
24442
|
+
# Whether the sub prefix is delegated to create Address resources in the
|
24443
|
+
# delegatee project.
|
24444
|
+
# Corresponds to the JSON property `isAddress`
|
24445
|
+
# @return [Boolean]
|
24446
|
+
attr_accessor :is_address
|
24447
|
+
alias_method :is_address?, :is_address
|
24448
|
+
|
24449
|
+
# The name of the sub public delegated prefix.
|
24450
|
+
# Corresponds to the JSON property `name`
|
24451
|
+
# @return [String]
|
24452
|
+
attr_accessor :name
|
24453
|
+
|
24454
|
+
# [Output Only] The region of the sub public delegated prefix if it is regional.
|
24455
|
+
# If absent, the sub prefix is global.
|
24456
|
+
# Corresponds to the JSON property `region`
|
24457
|
+
# @return [String]
|
24458
|
+
attr_accessor :region
|
24459
|
+
|
24460
|
+
# [Output Only] The status of the sub public delegated prefix.
|
24461
|
+
# Corresponds to the JSON property `status`
|
24462
|
+
# @return [Object]
|
24463
|
+
attr_accessor :status
|
24464
|
+
|
24465
|
+
def initialize(**args)
|
24466
|
+
update!(**args)
|
24467
|
+
end
|
24468
|
+
|
24469
|
+
# Update properties of this object
|
24470
|
+
def update!(**args)
|
24471
|
+
@delegatee_project = args[:delegatee_project] if args.key?(:delegatee_project)
|
24472
|
+
@description = args[:description] if args.key?(:description)
|
24473
|
+
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
24474
|
+
@is_address = args[:is_address] if args.key?(:is_address)
|
24475
|
+
@name = args[:name] if args.key?(:name)
|
24476
|
+
@region = args[:region] if args.key?(:region)
|
24477
|
+
@status = args[:status] if args.key?(:status)
|
24478
|
+
end
|
24479
|
+
end
|
24480
|
+
|
24481
|
+
#
|
24482
|
+
class PublicDelegatedPrefixesScopedList
|
24483
|
+
include Google::Apis::Core::Hashable
|
24484
|
+
|
24485
|
+
# [Output Only] A list of PublicDelegatedPrefixes contained in this scope.
|
24486
|
+
# Corresponds to the JSON property `publicDelegatedPrefixes`
|
24487
|
+
# @return [Array<Google::Apis::ComputeAlpha::PublicDelegatedPrefix>]
|
24488
|
+
attr_accessor :public_delegated_prefixes
|
24489
|
+
|
24490
|
+
# [Output Only] Informational warning which replaces the list of public
|
24491
|
+
# delegated prefixes when the list is empty.
|
24492
|
+
# Corresponds to the JSON property `warning`
|
24493
|
+
# @return [Google::Apis::ComputeAlpha::PublicDelegatedPrefixesScopedList::Warning]
|
24494
|
+
attr_accessor :warning
|
24495
|
+
|
24496
|
+
def initialize(**args)
|
24497
|
+
update!(**args)
|
24498
|
+
end
|
24499
|
+
|
24500
|
+
# Update properties of this object
|
24501
|
+
def update!(**args)
|
24502
|
+
@public_delegated_prefixes = args[:public_delegated_prefixes] if args.key?(:public_delegated_prefixes)
|
24503
|
+
@warning = args[:warning] if args.key?(:warning)
|
24504
|
+
end
|
24505
|
+
|
24506
|
+
# [Output Only] Informational warning which replaces the list of public
|
24507
|
+
# delegated prefixes when the list is empty.
|
24508
|
+
class Warning
|
24509
|
+
include Google::Apis::Core::Hashable
|
24510
|
+
|
24511
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
24512
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
24513
|
+
# Corresponds to the JSON property `code`
|
24514
|
+
# @return [String]
|
24515
|
+
attr_accessor :code
|
24516
|
+
|
24517
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
24518
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
24519
|
+
# Corresponds to the JSON property `data`
|
24520
|
+
# @return [Array<Google::Apis::ComputeAlpha::PublicDelegatedPrefixesScopedList::Warning::Datum>]
|
24521
|
+
attr_accessor :data
|
24522
|
+
|
24523
|
+
# [Output Only] A human-readable description of the warning code.
|
24524
|
+
# Corresponds to the JSON property `message`
|
24525
|
+
# @return [String]
|
24526
|
+
attr_accessor :message
|
24527
|
+
|
24528
|
+
def initialize(**args)
|
24529
|
+
update!(**args)
|
24530
|
+
end
|
24531
|
+
|
24532
|
+
# Update properties of this object
|
24533
|
+
def update!(**args)
|
24534
|
+
@code = args[:code] if args.key?(:code)
|
24535
|
+
@data = args[:data] if args.key?(:data)
|
24536
|
+
@message = args[:message] if args.key?(:message)
|
24537
|
+
end
|
24538
|
+
|
24539
|
+
#
|
24540
|
+
class Datum
|
24541
|
+
include Google::Apis::Core::Hashable
|
24542
|
+
|
24543
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
24544
|
+
# For example, for warnings where there are no results in a list request for a
|
24545
|
+
# particular zone, this key might be scope and the key value might be the zone
|
24546
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
24547
|
+
# suggested replacement, or a warning about invalid network settings (for
|
24548
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
24549
|
+
# for IP forwarding).
|
24550
|
+
# Corresponds to the JSON property `key`
|
24551
|
+
# @return [String]
|
24552
|
+
attr_accessor :key
|
24553
|
+
|
24554
|
+
# [Output Only] A warning data value corresponding to the key.
|
24555
|
+
# Corresponds to the JSON property `value`
|
24556
|
+
# @return [String]
|
24557
|
+
attr_accessor :value
|
24558
|
+
|
24559
|
+
def initialize(**args)
|
24560
|
+
update!(**args)
|
24561
|
+
end
|
24562
|
+
|
24563
|
+
# Update properties of this object
|
24564
|
+
def update!(**args)
|
24565
|
+
@key = args[:key] if args.key?(:key)
|
24566
|
+
@value = args[:value] if args.key?(:value)
|
24567
|
+
end
|
24568
|
+
end
|
24569
|
+
end
|
24570
|
+
end
|
24571
|
+
|
24572
|
+
# A quotas entry.
|
24573
|
+
class Quota
|
24574
|
+
include Google::Apis::Core::Hashable
|
24575
|
+
|
24576
|
+
# [Output Only] Quota limit for this metric.
|
24577
|
+
# Corresponds to the JSON property `limit`
|
24578
|
+
# @return [Float]
|
24579
|
+
attr_accessor :limit
|
24580
|
+
|
24581
|
+
# [Output Only] Name of the quota metric.
|
24582
|
+
# Corresponds to the JSON property `metric`
|
24583
|
+
# @return [String]
|
24584
|
+
attr_accessor :metric
|
24585
|
+
|
24586
|
+
# [Output Only] Owning resource. This is the resource on which this quota is
|
24587
|
+
# applied.
|
24588
|
+
# Corresponds to the JSON property `owner`
|
24589
|
+
# @return [String]
|
24590
|
+
attr_accessor :owner
|
24591
|
+
|
24592
|
+
# [Output Only] Current usage of this metric.
|
24593
|
+
# Corresponds to the JSON property `usage`
|
24594
|
+
# @return [Float]
|
24595
|
+
attr_accessor :usage
|
24596
|
+
|
24597
|
+
def initialize(**args)
|
24598
|
+
update!(**args)
|
24599
|
+
end
|
24600
|
+
|
24601
|
+
# Update properties of this object
|
24602
|
+
def update!(**args)
|
24603
|
+
@limit = args[:limit] if args.key?(:limit)
|
24604
|
+
@metric = args[:metric] if args.key?(:metric)
|
24605
|
+
@owner = args[:owner] if args.key?(:owner)
|
24606
|
+
@usage = args[:usage] if args.key?(:usage)
|
24607
|
+
end
|
24608
|
+
end
|
24609
|
+
|
24610
|
+
#
|
24611
|
+
class RbacPolicy
|
24612
|
+
include Google::Apis::Core::Hashable
|
24613
|
+
|
24614
|
+
# Name of the RbacPolicy.
|
24615
|
+
# Corresponds to the JSON property `name`
|
24616
|
+
# @return [String]
|
24617
|
+
attr_accessor :name
|
24618
|
+
|
24619
|
+
# The list of permissions.
|
24620
|
+
# Corresponds to the JSON property `permissions`
|
24621
|
+
# @return [Array<Google::Apis::ComputeAlpha::Permission>]
|
24622
|
+
attr_accessor :permissions
|
24623
|
+
|
24624
|
+
# The list of principals.
|
24625
|
+
# Corresponds to the JSON property `principals`
|
24626
|
+
# @return [Array<Google::Apis::ComputeAlpha::Principal>]
|
24627
|
+
attr_accessor :principals
|
24628
|
+
|
24629
|
+
def initialize(**args)
|
24630
|
+
update!(**args)
|
24631
|
+
end
|
24632
|
+
|
24633
|
+
# Update properties of this object
|
24634
|
+
def update!(**args)
|
24635
|
+
@name = args[:name] if args.key?(:name)
|
24636
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
24637
|
+
@principals = args[:principals] if args.key?(:principals)
|
24638
|
+
end
|
24639
|
+
end
|
24640
|
+
|
24641
|
+
# Represents a reference to a resource.
|
24642
|
+
class Reference
|
24643
|
+
include Google::Apis::Core::Hashable
|
24644
|
+
|
24645
|
+
# [Output Only] Type of the resource. Always compute#reference for references.
|
24646
|
+
# Corresponds to the JSON property `kind`
|
24647
|
+
# @return [String]
|
24648
|
+
attr_accessor :kind
|
24649
|
+
|
24650
|
+
# A description of the reference type with no implied semantics. Possible values
|
24651
|
+
# include:
|
24652
|
+
# - MEMBER_OF
|
24653
|
+
# Corresponds to the JSON property `referenceType`
|
24654
|
+
# @return [String]
|
24655
|
+
attr_accessor :reference_type
|
24656
|
+
|
24657
|
+
# URL of the resource which refers to the target.
|
24658
|
+
# Corresponds to the JSON property `referrer`
|
24659
|
+
# @return [String]
|
24660
|
+
attr_accessor :referrer
|
24661
|
+
|
24662
|
+
# URL of the resource to which this reference points.
|
24663
|
+
# Corresponds to the JSON property `target`
|
24664
|
+
# @return [String]
|
24665
|
+
attr_accessor :target
|
24666
|
+
|
24667
|
+
def initialize(**args)
|
24668
|
+
update!(**args)
|
24669
|
+
end
|
24670
|
+
|
24671
|
+
# Update properties of this object
|
24672
|
+
def update!(**args)
|
24673
|
+
@kind = args[:kind] if args.key?(:kind)
|
24674
|
+
@reference_type = args[:reference_type] if args.key?(:reference_type)
|
24675
|
+
@referrer = args[:referrer] if args.key?(:referrer)
|
24676
|
+
@target = args[:target] if args.key?(:target)
|
24677
|
+
end
|
24678
|
+
end
|
24679
|
+
|
24680
|
+
# Represents a Region resource.
|
24681
|
+
# A region is a geographical area where a resource is located. For more
|
24682
|
+
# information, read Regions and Zones. (== resource_for beta.regions ==) (==
|
24683
|
+
# resource_for v1.regions ==)
|
24684
|
+
class Region
|
24685
|
+
include Google::Apis::Core::Hashable
|
24686
|
+
|
24687
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
24688
|
+
# Corresponds to the JSON property `creationTimestamp`
|
24689
|
+
# @return [String]
|
24690
|
+
attr_accessor :creation_timestamp
|
24691
|
+
|
24692
|
+
# Deprecation status for a public resource.
|
24693
|
+
# Corresponds to the JSON property `deprecated`
|
24694
|
+
# @return [Google::Apis::ComputeAlpha::DeprecationStatus]
|
24695
|
+
attr_accessor :deprecated
|
24696
|
+
|
24697
|
+
# [Output Only] Textual description of the resource.
|
24698
|
+
# Corresponds to the JSON property `description`
|
24699
|
+
# @return [String]
|
24700
|
+
attr_accessor :description
|
24701
|
+
|
24702
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
24703
|
+
# defined by the server.
|
24704
|
+
# Corresponds to the JSON property `id`
|
24705
|
+
# @return [Fixnum]
|
24706
|
+
attr_accessor :id
|
24707
|
+
|
24708
|
+
# [Output Only] Type of the resource. Always compute#region for regions.
|
24709
|
+
# Corresponds to the JSON property `kind`
|
24710
|
+
# @return [String]
|
24711
|
+
attr_accessor :kind
|
24712
|
+
|
24713
|
+
# [Output Only] Name of the resource.
|
24714
|
+
# Corresponds to the JSON property `name`
|
24715
|
+
# @return [String]
|
24716
|
+
attr_accessor :name
|
24717
|
+
|
24718
|
+
# [Output Only] Quotas assigned to this region.
|
24719
|
+
# Corresponds to the JSON property `quotas`
|
24720
|
+
# @return [Array<Google::Apis::ComputeAlpha::Quota>]
|
24721
|
+
attr_accessor :quotas
|
24722
|
+
|
24723
|
+
# [Output Only] Server-defined URL for the resource.
|
24724
|
+
# Corresponds to the JSON property `selfLink`
|
24725
|
+
# @return [String]
|
24726
|
+
attr_accessor :self_link
|
24727
|
+
|
24728
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
24729
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
24730
|
+
# @return [String]
|
24731
|
+
attr_accessor :self_link_with_id
|
24732
|
+
|
24733
|
+
# [Output Only] Status of the region, either UP or DOWN.
|
24734
|
+
# Corresponds to the JSON property `status`
|
24735
|
+
# @return [String]
|
24736
|
+
attr_accessor :status
|
24737
|
+
|
24738
|
+
# [Output Only] A list of zones available in this region, in the form of
|
24739
|
+
# resource URLs.
|
24740
|
+
# Corresponds to the JSON property `zones`
|
24741
|
+
# @return [Array<String>]
|
24742
|
+
attr_accessor :zones
|
24743
|
+
|
24744
|
+
def initialize(**args)
|
24745
|
+
update!(**args)
|
24746
|
+
end
|
24747
|
+
|
24748
|
+
# Update properties of this object
|
24749
|
+
def update!(**args)
|
24750
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
24751
|
+
@deprecated = args[:deprecated] if args.key?(:deprecated)
|
24752
|
+
@description = args[:description] if args.key?(:description)
|
24753
|
+
@id = args[:id] if args.key?(:id)
|
24754
|
+
@kind = args[:kind] if args.key?(:kind)
|
24755
|
+
@name = args[:name] if args.key?(:name)
|
24756
|
+
@quotas = args[:quotas] if args.key?(:quotas)
|
24757
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
24758
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
24759
|
+
@status = args[:status] if args.key?(:status)
|
24760
|
+
@zones = args[:zones] if args.key?(:zones)
|
24761
|
+
end
|
24762
|
+
end
|
24763
|
+
|
24764
|
+
# Contains a list of autoscalers.
|
24765
|
+
class RegionAutoscalerList
|
24766
|
+
include Google::Apis::Core::Hashable
|
24767
|
+
|
24768
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
24769
|
+
# Corresponds to the JSON property `id`
|
24770
|
+
# @return [String]
|
24771
|
+
attr_accessor :id
|
24772
|
+
|
24773
|
+
# A list of Autoscaler resources.
|
24774
|
+
# Corresponds to the JSON property `items`
|
24775
|
+
# @return [Array<Google::Apis::ComputeAlpha::Autoscaler>]
|
24776
|
+
attr_accessor :items
|
24777
|
+
|
24778
|
+
# Type of resource.
|
24779
|
+
# Corresponds to the JSON property `kind`
|
24780
|
+
# @return [String]
|
24781
|
+
attr_accessor :kind
|
24782
|
+
|
24783
|
+
# [Output Only] This token allows you to get the next page of results for list
|
24784
|
+
# requests. If the number of results is larger than maxResults, use the
|
24785
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
24786
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
24787
|
+
# continue paging through the results.
|
24788
|
+
# Corresponds to the JSON property `nextPageToken`
|
24789
|
+
# @return [String]
|
24790
|
+
attr_accessor :next_page_token
|
24791
|
+
|
24792
|
+
# [Output Only] Server-defined URL for this resource.
|
24793
|
+
# Corresponds to the JSON property `selfLink`
|
24794
|
+
# @return [String]
|
24795
|
+
attr_accessor :self_link
|
24796
|
+
|
24797
|
+
# [Output Only] Informational warning message.
|
24798
|
+
# Corresponds to the JSON property `warning`
|
24799
|
+
# @return [Google::Apis::ComputeAlpha::RegionAutoscalerList::Warning]
|
24800
|
+
attr_accessor :warning
|
24801
|
+
|
24802
|
+
def initialize(**args)
|
24803
|
+
update!(**args)
|
24804
|
+
end
|
24805
|
+
|
24806
|
+
# Update properties of this object
|
24807
|
+
def update!(**args)
|
24808
|
+
@id = args[:id] if args.key?(:id)
|
24809
|
+
@items = args[:items] if args.key?(:items)
|
24810
|
+
@kind = args[:kind] if args.key?(:kind)
|
24811
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
24812
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
24813
|
+
@warning = args[:warning] if args.key?(:warning)
|
24814
|
+
end
|
24815
|
+
|
24816
|
+
# [Output Only] Informational warning message.
|
24817
|
+
class Warning
|
24818
|
+
include Google::Apis::Core::Hashable
|
24819
|
+
|
24820
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
24821
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
24822
|
+
# Corresponds to the JSON property `code`
|
24823
|
+
# @return [String]
|
24824
|
+
attr_accessor :code
|
24825
|
+
|
24826
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
24827
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
24828
|
+
# Corresponds to the JSON property `data`
|
24829
|
+
# @return [Array<Google::Apis::ComputeAlpha::RegionAutoscalerList::Warning::Datum>]
|
24830
|
+
attr_accessor :data
|
24831
|
+
|
24832
|
+
# [Output Only] A human-readable description of the warning code.
|
24833
|
+
# Corresponds to the JSON property `message`
|
24834
|
+
# @return [String]
|
24835
|
+
attr_accessor :message
|
24836
|
+
|
24837
|
+
def initialize(**args)
|
24838
|
+
update!(**args)
|
24839
|
+
end
|
24840
|
+
|
24841
|
+
# Update properties of this object
|
24842
|
+
def update!(**args)
|
24843
|
+
@code = args[:code] if args.key?(:code)
|
24844
|
+
@data = args[:data] if args.key?(:data)
|
24845
|
+
@message = args[:message] if args.key?(:message)
|
24846
|
+
end
|
24847
|
+
|
24848
|
+
#
|
24849
|
+
class Datum
|
24850
|
+
include Google::Apis::Core::Hashable
|
24851
|
+
|
24852
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
24853
|
+
# For example, for warnings where there are no results in a list request for a
|
24854
|
+
# particular zone, this key might be scope and the key value might be the zone
|
24855
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
24856
|
+
# suggested replacement, or a warning about invalid network settings (for
|
24857
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
24858
|
+
# for IP forwarding).
|
24859
|
+
# Corresponds to the JSON property `key`
|
24860
|
+
# @return [String]
|
24861
|
+
attr_accessor :key
|
24862
|
+
|
24863
|
+
# [Output Only] A warning data value corresponding to the key.
|
24864
|
+
# Corresponds to the JSON property `value`
|
24865
|
+
# @return [String]
|
24866
|
+
attr_accessor :value
|
24867
|
+
|
24868
|
+
def initialize(**args)
|
24869
|
+
update!(**args)
|
24870
|
+
end
|
24871
|
+
|
24872
|
+
# Update properties of this object
|
24873
|
+
def update!(**args)
|
24874
|
+
@key = args[:key] if args.key?(:key)
|
24875
|
+
@value = args[:value] if args.key?(:value)
|
24876
|
+
end
|
24877
|
+
end
|
24878
|
+
end
|
24879
|
+
end
|
24880
|
+
|
24881
|
+
#
|
24882
|
+
class RegionCommitmentsUpdateReservationsRequest
|
24883
|
+
include Google::Apis::Core::Hashable
|
24884
|
+
|
24885
|
+
# List of two reservations to transfer GPUs and local SSD between.
|
24886
|
+
# Corresponds to the JSON property `reservations`
|
24887
|
+
# @return [Array<Google::Apis::ComputeAlpha::Reservation>]
|
24888
|
+
attr_accessor :reservations
|
24889
|
+
|
24890
|
+
def initialize(**args)
|
24891
|
+
update!(**args)
|
24892
|
+
end
|
24893
|
+
|
24894
|
+
# Update properties of this object
|
24895
|
+
def update!(**args)
|
24896
|
+
@reservations = args[:reservations] if args.key?(:reservations)
|
24897
|
+
end
|
24898
|
+
end
|
24899
|
+
|
24900
|
+
#
|
24901
|
+
class RegionDiskTypeList
|
24902
|
+
include Google::Apis::Core::Hashable
|
24903
|
+
|
24904
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
24905
|
+
# Corresponds to the JSON property `id`
|
24906
|
+
# @return [String]
|
24907
|
+
attr_accessor :id
|
24908
|
+
|
24909
|
+
# A list of DiskType resources.
|
24910
|
+
# Corresponds to the JSON property `items`
|
24911
|
+
# @return [Array<Google::Apis::ComputeAlpha::DiskType>]
|
24912
|
+
attr_accessor :items
|
24076
24913
|
|
24077
24914
|
# [Output Only] Type of resource. Always compute#regionDiskTypeList for region
|
24078
24915
|
# disk types.
|
@@ -25340,12 +26177,12 @@ module Google
|
|
25340
26177
|
# Represents a reservation resource. A reservation ensures that capacity is held
|
25341
26178
|
# in a specific zone even if the reserved VMs are not running. For more
|
25342
26179
|
# information, read Reserving zonal resources. (== resource_for beta.
|
25343
|
-
# reservations ==) (== resource_for v1.reservations ==)
|
26180
|
+
# reservations ==) (== resource_for v1.reservations ==)
|
25344
26181
|
class Reservation
|
25345
26182
|
include Google::Apis::Core::Hashable
|
25346
26183
|
|
25347
|
-
# [OutputOnly] Full or partial
|
25348
|
-
# are tied to a commitment.
|
26184
|
+
# [OutputOnly] Full or partial URL to a parent commitment. This field displays
|
26185
|
+
# for reservations that are tied to a commitment.
|
25349
26186
|
# Corresponds to the JSON property `commitment`
|
25350
26187
|
# @return [String]
|
25351
26188
|
attr_accessor :commitment
|
@@ -25412,8 +26249,8 @@ module Google
|
|
25412
26249
|
# @return [String]
|
25413
26250
|
attr_accessor :status
|
25414
26251
|
|
25415
|
-
# Zone in which the reservation resides
|
25416
|
-
# created
|
26252
|
+
# Zone in which the reservation resides. A zone must be provided if the
|
26253
|
+
# reservation is created within a commitment.
|
25417
26254
|
# Corresponds to the JSON property `zone`
|
25418
26255
|
# @return [String]
|
25419
26256
|
attr_accessor :zone
|
@@ -26525,7 +27362,8 @@ module Google
|
|
26525
27362
|
# @return [Hash<String,String>]
|
26526
27363
|
attr_accessor :labels
|
26527
27364
|
|
26528
|
-
#
|
27365
|
+
# Cloud Storage bucket storage location of the auto snapshot (regional or multi-
|
27366
|
+
# regional).
|
26529
27367
|
# Corresponds to the JSON property `storageLocations`
|
26530
27368
|
# @return [Array<String>]
|
26531
27369
|
attr_accessor :storage_locations
|
@@ -27390,8 +28228,12 @@ module Google
|
|
27390
28228
|
# @return [String]
|
27391
28229
|
attr_accessor :management_type
|
27392
28230
|
|
27393
|
-
# Name of this BGP peer. The name must be 1-63 characters long and comply with
|
27394
|
-
# RFC1035.
|
28231
|
+
# Name of this BGP peer. The name must be 1-63 characters long, and comply with
|
28232
|
+
# RFC1035. Specifically, the name must be 1-63 characters long and match the
|
28233
|
+
# regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
|
28234
|
+
# character must be a lowercase letter, and all following characters must be a
|
28235
|
+
# dash, lowercase letter, or digit, except the last character, which cannot be a
|
28236
|
+
# dash.
|
27395
28237
|
# Corresponds to the JSON property `name`
|
27396
28238
|
# @return [String]
|
27397
28239
|
attr_accessor :name
|
@@ -27433,26 +28275,20 @@ module Google
|
|
27433
28275
|
class RouterBgpPeerBfd
|
27434
28276
|
include Google::Apis::Core::Hashable
|
27435
28277
|
|
27436
|
-
# The minimum interval, in milliseconds, between BFD packets received
|
27437
|
-
# peer router. The actual value is negotiated between the two routers
|
27438
|
-
# equal to the greater of this value and the transmit interval of the
|
27439
|
-
# router. If
|
27440
|
-
#
|
27441
|
-
# by the peer router. Otherwise, it will be used to determine the interval
|
27442
|
-
# between BFD control packets. If set, this value must be between 100 and 30000.
|
27443
|
-
# The default is 300.
|
28278
|
+
# The minimum interval, in milliseconds, between BFD control packets received
|
28279
|
+
# from the peer router. The actual value is negotiated between the two routers
|
28280
|
+
# and is equal to the greater of this value and the transmit interval of the
|
28281
|
+
# other router. If set, this value must be between 100 and 30000. The default is
|
28282
|
+
# 300.
|
27444
28283
|
# Corresponds to the JSON property `minReceiveInterval`
|
27445
28284
|
# @return [Fixnum]
|
27446
28285
|
attr_accessor :min_receive_interval
|
27447
28286
|
|
27448
|
-
# The minimum interval, in milliseconds, between BFD packets transmitted
|
27449
|
-
# peer router. The actual value is negotiated between the two routers and
|
27450
|
-
# equal to the greater of this value and the corresponding receive interval
|
27451
|
-
# the other router. If
|
27452
|
-
#
|
27453
|
-
# transmitted by this router. Otherwise, it will be used to determine the
|
27454
|
-
# interval between BFD control packets. If set, this value must be between 100
|
27455
|
-
# and 30000. The default is 300.
|
28287
|
+
# The minimum interval, in milliseconds, between BFD control packets transmitted
|
28288
|
+
# to the peer router. The actual value is negotiated between the two routers and
|
28289
|
+
# is equal to the greater of this value and the corresponding receive interval
|
28290
|
+
# of the other router. If set, this value must be between 100 and 30000. The
|
28291
|
+
# default is 300.
|
27456
28292
|
# Corresponds to the JSON property `minTransmitInterval`
|
27457
28293
|
# @return [Fixnum]
|
27458
28294
|
attr_accessor :min_transmit_interval
|
@@ -27556,8 +28392,12 @@ module Google
|
|
27556
28392
|
# @return [String]
|
27557
28393
|
attr_accessor :management_type
|
27558
28394
|
|
27559
|
-
# Name of this interface entry. The name must be 1-63 characters long and
|
27560
|
-
# with RFC1035.
|
28395
|
+
# Name of this interface entry. The name must be 1-63 characters long, and
|
28396
|
+
# comply with RFC1035. Specifically, the name must be 1-63 characters long and
|
28397
|
+
# match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the
|
28398
|
+
# first character must be a lowercase letter, and all following characters must
|
28399
|
+
# be a dash, lowercase letter, or digit, except the last character, which cannot
|
28400
|
+
# be a dash.
|
27561
28401
|
# Corresponds to the JSON property `name`
|
27562
28402
|
# @return [String]
|
27563
28403
|
attr_accessor :name
|
@@ -29733,7 +30573,8 @@ module Google
|
|
29733
30573
|
# @return [String]
|
29734
30574
|
attr_accessor :storage_bytes_status
|
29735
30575
|
|
29736
|
-
#
|
30576
|
+
# Cloud Storage bucket storage location of the snapshot (regional or multi-
|
30577
|
+
# regional).
|
29737
30578
|
# Corresponds to the JSON property `storageLocations`
|
29738
30579
|
# @return [Array<String>]
|
29739
30580
|
attr_accessor :storage_locations
|
@@ -31482,6 +32323,12 @@ module Google
|
|
31482
32323
|
attr_accessor :enable
|
31483
32324
|
alias_method :enable?, :enable
|
31484
32325
|
|
32326
|
+
# Can only be specified if VPC flow logs for this subnetwork is enabled. Export
|
32327
|
+
# filter used to define which VPC flow logs should be logged.
|
32328
|
+
# Corresponds to the JSON property `filterExpr`
|
32329
|
+
# @return [String]
|
32330
|
+
attr_accessor :filter_expr
|
32331
|
+
|
31485
32332
|
# Can only be specified if VPC flow logging for this subnetwork is enabled. The
|
31486
32333
|
# value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs
|
31487
32334
|
# within the subnetwork where 1.0 means all collected logs are reported and 0.0
|
@@ -31498,6 +32345,12 @@ module Google
|
|
31498
32345
|
# @return [String]
|
31499
32346
|
attr_accessor :metadata
|
31500
32347
|
|
32348
|
+
# Can only be specified if VPC flow logs for this subnetwork is enabled and "
|
32349
|
+
# metadata" was set to CUSTOM_METADATA.
|
32350
|
+
# Corresponds to the JSON property `metadataFields`
|
32351
|
+
# @return [Array<String>]
|
32352
|
+
attr_accessor :metadata_fields
|
32353
|
+
|
31501
32354
|
def initialize(**args)
|
31502
32355
|
update!(**args)
|
31503
32356
|
end
|
@@ -31506,8 +32359,10 @@ module Google
|
|
31506
32359
|
def update!(**args)
|
31507
32360
|
@aggregation_interval = args[:aggregation_interval] if args.key?(:aggregation_interval)
|
31508
32361
|
@enable = args[:enable] if args.key?(:enable)
|
32362
|
+
@filter_expr = args[:filter_expr] if args.key?(:filter_expr)
|
31509
32363
|
@flow_sampling = args[:flow_sampling] if args.key?(:flow_sampling)
|
31510
32364
|
@metadata = args[:metadata] if args.key?(:metadata)
|
32365
|
+
@metadata_fields = args[:metadata_fields] if args.key?(:metadata_fields)
|
31511
32366
|
end
|
31512
32367
|
end
|
31513
32368
|
|