google-api-client 0.30.5 → 0.30.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +63 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/service.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +11 -7
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +2 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +19 -10
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +19 -10
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +19 -10
- data/generated/google/apis/cloudbilling_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +7 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +28 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +15 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +19 -10
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +7 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +10 -10
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +4 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +10 -10
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +10 -10
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +10 -10
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +261 -145
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +261 -145
- data/generated/google/apis/compute_beta/service.rb +1 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +242 -125
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +43 -0
- data/generated/google/apis/container_v1/representations.rb +19 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +28 -0
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +28 -0
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +0 -6
- data/generated/google/apis/content_v2/representations.rb +0 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +27 -0
- data/generated/google/apis/dataproc_v1/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1/service.rb +0 -216
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +27 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +42 -7
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +146 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +75 -0
- data/generated/google/apis/dialogflow_v2/service.rb +47 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +146 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +75 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +47 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +29 -0
- data/generated/google/apis/fcm_v1/representations.rb +3 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +19 -10
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +12 -10
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +19 -10
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +12 -12
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +0 -97
- data/generated/google/apis/iamcredentials_v1/representations.rb +0 -28
- data/generated/google/apis/iamcredentials_v1/service.rb +0 -36
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +2 -2
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +11 -11
- data/generated/google/apis/ml_v1/service.rb +14 -2
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +21 -3
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/service.rb +14 -2
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +24 -19
- data/generated/google/apis/run_v1alpha1/representations.rb +4 -3
- data/generated/google/apis/run_v1alpha1/service.rb +7 -1
- data/generated/google/apis/run_v1beta1.rb +35 -0
- data/generated/google/apis/run_v1beta1/classes.rb +98 -0
- data/generated/google/apis/run_v1beta1/representations.rb +58 -0
- data/generated/google/apis/run_v1beta1/service.rb +99 -0
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +7 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +19 -10
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +19 -10
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +2 -2
- data/generated/google/apis/servicebroker_v1/service.rb +7 -1
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +7 -10
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +7 -1
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +13 -20
- data/generated/google/apis/servicebroker_v1beta1/service.rb +7 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +10 -2
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +18 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +2 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +13 -4
- data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +13 -4
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +9 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +9 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +0 -104
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1995 -0
- data/generated/google/apis/vision_v1/representations.rb +1711 -843
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1995 -0
- data/generated/google/apis/vision_v1p1beta1/representations.rb +1782 -914
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1995 -0
- data/generated/google/apis/vision_v1p2beta1/representations.rb +1832 -964
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
|
27
27
|
module CloudresourcemanagerV1beta1
|
|
28
28
|
VERSION = 'V1beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190708'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -61,7 +61,7 @@ module Google
|
|
|
61
61
|
# `
|
|
62
62
|
# "log_type": "DATA_READ",
|
|
63
63
|
# "exempted_members": [
|
|
64
|
-
# "user:
|
|
64
|
+
# "user:jose@example.com"
|
|
65
65
|
# ]
|
|
66
66
|
# `,
|
|
67
67
|
# `
|
|
@@ -73,7 +73,7 @@ module Google
|
|
|
73
73
|
# ]
|
|
74
74
|
# `,
|
|
75
75
|
# `
|
|
76
|
-
# "service": "
|
|
76
|
+
# "service": "sampleservice.googleapis.com"
|
|
77
77
|
# "audit_log_configs": [
|
|
78
78
|
# `
|
|
79
79
|
# "log_type": "DATA_READ",
|
|
@@ -81,16 +81,16 @@ module Google
|
|
|
81
81
|
# `
|
|
82
82
|
# "log_type": "DATA_WRITE",
|
|
83
83
|
# "exempted_members": [
|
|
84
|
-
# "user:
|
|
84
|
+
# "user:aliya@example.com"
|
|
85
85
|
# ]
|
|
86
86
|
# `
|
|
87
87
|
# ]
|
|
88
88
|
# `
|
|
89
89
|
# ]
|
|
90
90
|
# `
|
|
91
|
-
# For
|
|
92
|
-
# logging. It also exempts
|
|
93
|
-
#
|
|
91
|
+
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
|
92
|
+
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
|
93
|
+
# aliya@example.com from DATA_WRITE logging.
|
|
94
94
|
class AuditConfig
|
|
95
95
|
include Google::Apis::Core::Hashable
|
|
96
96
|
|
|
@@ -124,7 +124,7 @@ module Google
|
|
|
124
124
|
# `
|
|
125
125
|
# "log_type": "DATA_READ",
|
|
126
126
|
# "exempted_members": [
|
|
127
|
-
# "user:
|
|
127
|
+
# "user:jose@example.com"
|
|
128
128
|
# ]
|
|
129
129
|
# `,
|
|
130
130
|
# `
|
|
@@ -133,7 +133,7 @@ module Google
|
|
|
133
133
|
# ]
|
|
134
134
|
# `
|
|
135
135
|
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
|
136
|
-
#
|
|
136
|
+
# jose@example.com from DATA_READ logging.
|
|
137
137
|
class AuditLogConfig
|
|
138
138
|
include Google::Apis::Core::Hashable
|
|
139
139
|
|
|
@@ -179,7 +179,7 @@ module Google
|
|
|
179
179
|
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
|
180
180
|
# who is authenticated with a Google account or a service account.
|
|
181
181
|
# * `user:`emailid``: An email address that represents a specific Google
|
|
182
|
-
# account. For example, `alice@
|
|
182
|
+
# account. For example, `alice@example.com` .
|
|
183
183
|
# * `serviceAccount:`emailid``: An email address that represents a service
|
|
184
184
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
|
185
185
|
# * `group:`emailid``: An email address that represents a Google group.
|
|
@@ -620,7 +620,7 @@ module Google
|
|
|
620
620
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
|
621
621
|
# ensure that their change will be applied to the same version of the policy.
|
|
622
622
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
|
623
|
-
# policy is overwritten
|
|
623
|
+
# policy is overwritten.
|
|
624
624
|
# Corresponds to the JSON property `etag`
|
|
625
625
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
626
626
|
# @return [String]
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
|
27
27
|
module CloudresourcemanagerV2
|
|
28
28
|
VERSION = 'V2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190708'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -39,7 +39,7 @@ module Google
|
|
|
39
39
|
# `
|
|
40
40
|
# "log_type": "DATA_READ",
|
|
41
41
|
# "exempted_members": [
|
|
42
|
-
# "user:
|
|
42
|
+
# "user:jose@example.com"
|
|
43
43
|
# ]
|
|
44
44
|
# `,
|
|
45
45
|
# `
|
|
@@ -51,7 +51,7 @@ module Google
|
|
|
51
51
|
# ]
|
|
52
52
|
# `,
|
|
53
53
|
# `
|
|
54
|
-
# "service": "
|
|
54
|
+
# "service": "sampleservice.googleapis.com"
|
|
55
55
|
# "audit_log_configs": [
|
|
56
56
|
# `
|
|
57
57
|
# "log_type": "DATA_READ",
|
|
@@ -59,16 +59,16 @@ module Google
|
|
|
59
59
|
# `
|
|
60
60
|
# "log_type": "DATA_WRITE",
|
|
61
61
|
# "exempted_members": [
|
|
62
|
-
# "user:
|
|
62
|
+
# "user:aliya@example.com"
|
|
63
63
|
# ]
|
|
64
64
|
# `
|
|
65
65
|
# ]
|
|
66
66
|
# `
|
|
67
67
|
# ]
|
|
68
68
|
# `
|
|
69
|
-
# For
|
|
70
|
-
# logging. It also exempts
|
|
71
|
-
#
|
|
69
|
+
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
|
70
|
+
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
|
71
|
+
# aliya@example.com from DATA_WRITE logging.
|
|
72
72
|
class AuditConfig
|
|
73
73
|
include Google::Apis::Core::Hashable
|
|
74
74
|
|
|
@@ -102,7 +102,7 @@ module Google
|
|
|
102
102
|
# `
|
|
103
103
|
# "log_type": "DATA_READ",
|
|
104
104
|
# "exempted_members": [
|
|
105
|
-
# "user:
|
|
105
|
+
# "user:jose@example.com"
|
|
106
106
|
# ]
|
|
107
107
|
# `,
|
|
108
108
|
# `
|
|
@@ -111,7 +111,7 @@ module Google
|
|
|
111
111
|
# ]
|
|
112
112
|
# `
|
|
113
113
|
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
|
114
|
-
#
|
|
114
|
+
# jose@example.com from DATA_READ logging.
|
|
115
115
|
class AuditLogConfig
|
|
116
116
|
include Google::Apis::Core::Hashable
|
|
117
117
|
|
|
@@ -157,7 +157,7 @@ module Google
|
|
|
157
157
|
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
|
158
158
|
# who is authenticated with a Google account or a service account.
|
|
159
159
|
# * `user:`emailid``: An email address that represents a specific Google
|
|
160
|
-
# account. For example, `alice@
|
|
160
|
+
# account. For example, `alice@example.com` .
|
|
161
161
|
# * `serviceAccount:`emailid``: An email address that represents a service
|
|
162
162
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
|
163
163
|
# * `group:`emailid``: An email address that represents a Google group.
|
|
@@ -560,7 +560,7 @@ module Google
|
|
|
560
560
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
|
561
561
|
# ensure that their change will be applied to the same version of the policy.
|
|
562
562
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
|
563
|
-
# policy is overwritten
|
|
563
|
+
# policy is overwritten.
|
|
564
564
|
# Corresponds to the JSON property `etag`
|
|
565
565
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
566
566
|
# @return [String]
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
|
27
27
|
module CloudresourcemanagerV2beta1
|
|
28
28
|
VERSION = 'V2beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190708'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -39,7 +39,7 @@ module Google
|
|
|
39
39
|
# `
|
|
40
40
|
# "log_type": "DATA_READ",
|
|
41
41
|
# "exempted_members": [
|
|
42
|
-
# "user:
|
|
42
|
+
# "user:jose@example.com"
|
|
43
43
|
# ]
|
|
44
44
|
# `,
|
|
45
45
|
# `
|
|
@@ -51,7 +51,7 @@ module Google
|
|
|
51
51
|
# ]
|
|
52
52
|
# `,
|
|
53
53
|
# `
|
|
54
|
-
# "service": "
|
|
54
|
+
# "service": "sampleservice.googleapis.com"
|
|
55
55
|
# "audit_log_configs": [
|
|
56
56
|
# `
|
|
57
57
|
# "log_type": "DATA_READ",
|
|
@@ -59,16 +59,16 @@ module Google
|
|
|
59
59
|
# `
|
|
60
60
|
# "log_type": "DATA_WRITE",
|
|
61
61
|
# "exempted_members": [
|
|
62
|
-
# "user:
|
|
62
|
+
# "user:aliya@example.com"
|
|
63
63
|
# ]
|
|
64
64
|
# `
|
|
65
65
|
# ]
|
|
66
66
|
# `
|
|
67
67
|
# ]
|
|
68
68
|
# `
|
|
69
|
-
# For
|
|
70
|
-
# logging. It also exempts
|
|
71
|
-
#
|
|
69
|
+
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
|
70
|
+
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
|
71
|
+
# aliya@example.com from DATA_WRITE logging.
|
|
72
72
|
class AuditConfig
|
|
73
73
|
include Google::Apis::Core::Hashable
|
|
74
74
|
|
|
@@ -102,7 +102,7 @@ module Google
|
|
|
102
102
|
# `
|
|
103
103
|
# "log_type": "DATA_READ",
|
|
104
104
|
# "exempted_members": [
|
|
105
|
-
# "user:
|
|
105
|
+
# "user:jose@example.com"
|
|
106
106
|
# ]
|
|
107
107
|
# `,
|
|
108
108
|
# `
|
|
@@ -111,7 +111,7 @@ module Google
|
|
|
111
111
|
# ]
|
|
112
112
|
# `
|
|
113
113
|
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
|
114
|
-
#
|
|
114
|
+
# jose@example.com from DATA_READ logging.
|
|
115
115
|
class AuditLogConfig
|
|
116
116
|
include Google::Apis::Core::Hashable
|
|
117
117
|
|
|
@@ -157,7 +157,7 @@ module Google
|
|
|
157
157
|
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
|
158
158
|
# who is authenticated with a Google account or a service account.
|
|
159
159
|
# * `user:`emailid``: An email address that represents a specific Google
|
|
160
|
-
# account. For example, `alice@
|
|
160
|
+
# account. For example, `alice@example.com` .
|
|
161
161
|
# * `serviceAccount:`emailid``: An email address that represents a service
|
|
162
162
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
|
163
163
|
# * `group:`emailid``: An email address that represents a Google group.
|
|
@@ -560,7 +560,7 @@ module Google
|
|
|
560
560
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
|
561
561
|
# ensure that their change will be applied to the same version of the policy.
|
|
562
562
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
|
563
|
-
# policy is overwritten
|
|
563
|
+
# policy is overwritten.
|
|
564
564
|
# Corresponds to the JSON property `etag`
|
|
565
565
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
566
566
|
# @return [String]
|
|
@@ -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 = '20190624'
|
|
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'
|
|
@@ -2420,10 +2420,34 @@ module Google
|
|
|
2420
2420
|
class Backend
|
|
2421
2421
|
include Google::Apis::Core::Hashable
|
|
2422
2422
|
|
|
2423
|
-
# Specifies the balancing mode for
|
|
2424
|
-
#
|
|
2425
|
-
#
|
|
2426
|
-
#
|
|
2423
|
+
# Specifies the balancing mode for the backend.
|
|
2424
|
+
# When choosing a balancing mode, you need to consider the loadBalancingScheme,
|
|
2425
|
+
# and protocol for the backend service, as well as the type of backend (instance
|
|
2426
|
+
# group or NEG).
|
|
2427
|
+
#
|
|
2428
|
+
# - If the load balancing mode is CONNECTION, then the load is spread based on
|
|
2429
|
+
# how many concurrent connections the backend can handle.
|
|
2430
|
+
# The CONNECTION balancing mode is only available if the protocol for the
|
|
2431
|
+
# backend service is SSL, TCP, or UDP.
|
|
2432
|
+
# If the loadBalancingScheme for the backend service is EXTERNAL (SSL Proxy and
|
|
2433
|
+
# TCP Proxy load balancers), you must also specify exactly one of the following
|
|
2434
|
+
# parameters: maxConnections, maxConnectionsPerInstance, or
|
|
2435
|
+
# maxConnectionsPerEndpoint.
|
|
2436
|
+
# If the loadBalancingScheme for the backend service is INTERNAL (internal TCP/
|
|
2437
|
+
# UDP load balancers), you cannot specify any additional parameters.
|
|
2438
|
+
#
|
|
2439
|
+
# - If the load balancing mode is RATE, then the load is spread based on the
|
|
2440
|
+
# rate of HTTP requests per second (RPS).
|
|
2441
|
+
# The RATE balancing mode is only available if the protocol for the backend
|
|
2442
|
+
# service is HTTP or HTTPS. You must specify exactly one of the following
|
|
2443
|
+
# parameters: maxRate, maxRatePerInstance, or maxRatePerEndpoint.
|
|
2444
|
+
#
|
|
2445
|
+
# - If the load balancing mode is UTILIZATION, then the load is spread based on
|
|
2446
|
+
# the CPU utilization of instances in an instance group.
|
|
2447
|
+
# The UTILIZATION balancing mode is only available if the loadBalancingScheme of
|
|
2448
|
+
# the backend service is EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED
|
|
2449
|
+
# and the backend is made up of instance groups. There are no restrictions on
|
|
2450
|
+
# the backend service protocol.
|
|
2427
2451
|
# Corresponds to the JSON property `balancingMode`
|
|
2428
2452
|
# @return [String]
|
|
2429
2453
|
attr_accessor :balancing_mode
|
|
@@ -2451,47 +2475,61 @@ module Google
|
|
|
2451
2475
|
attr_accessor :failover
|
|
2452
2476
|
alias_method :failover?, :failover
|
|
2453
2477
|
|
|
2454
|
-
# The fully-qualified URL of an
|
|
2455
|
-
# resource.
|
|
2456
|
-
#
|
|
2457
|
-
#
|
|
2458
|
-
#
|
|
2459
|
-
#
|
|
2460
|
-
#
|
|
2461
|
-
#
|
|
2462
|
-
#
|
|
2463
|
-
#
|
|
2464
|
-
#
|
|
2465
|
-
#
|
|
2466
|
-
#
|
|
2467
|
-
#
|
|
2468
|
-
# are not supported for INTERNAL load balancing scheme.
|
|
2478
|
+
# The fully-qualified URL of an instance group or network endpoint group (NEG)
|
|
2479
|
+
# resource. The type of backend that a backend service supports depends on the
|
|
2480
|
+
# backend service's loadBalancingScheme.
|
|
2481
|
+
#
|
|
2482
|
+
# - When the loadBalancingScheme for the backend service is EXTERNAL,
|
|
2483
|
+
# INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED, the backend can be either an
|
|
2484
|
+
# instance group or a NEG. The backends on the backend service must be either
|
|
2485
|
+
# all instance groups or all NEGs. You cannot mix instance group and NEG
|
|
2486
|
+
# backends on the same backend service.
|
|
2487
|
+
# - When the loadBalancingScheme for the backend service is INTERNAL, the
|
|
2488
|
+
# backend must be an instance group in the same region as the backend service.
|
|
2489
|
+
# NEGs are not supported.
|
|
2490
|
+
# You must use the fully-qualified URL (starting with https://www.googleapis.com/
|
|
2491
|
+
# ) to specify the instance group or NEG. Partial URLs are not supported.
|
|
2469
2492
|
# Corresponds to the JSON property `group`
|
|
2470
2493
|
# @return [String]
|
|
2471
2494
|
attr_accessor :group
|
|
2472
2495
|
|
|
2473
|
-
#
|
|
2474
|
-
#
|
|
2475
|
-
#
|
|
2476
|
-
#
|
|
2496
|
+
# Defines a maximum target for simultaneous connections for the entire backend (
|
|
2497
|
+
# instance group or NEG). If the backend's balancingMode is UTILIZATION, this is
|
|
2498
|
+
# an optional parameter. If the backend's balancingMode is CONNECTION, and
|
|
2499
|
+
# backend is attached to a backend service whose loadBalancingScheme is EXTERNAL,
|
|
2500
|
+
# you must specify either this parameter, maxConnectionsPerInstance, or
|
|
2501
|
+
# maxConnectionsPerEndpoint.
|
|
2502
|
+
# Not available if the backend's balancingMode is RATE. If the
|
|
2503
|
+
# loadBalancingScheme is INTERNAL, then maxConnections is not supported, even
|
|
2504
|
+
# though the backend requires a balancing mode of CONNECTION.
|
|
2477
2505
|
# Corresponds to the JSON property `maxConnections`
|
|
2478
2506
|
# @return [Fixnum]
|
|
2479
2507
|
attr_accessor :max_connections
|
|
2480
2508
|
|
|
2481
|
-
#
|
|
2482
|
-
#
|
|
2483
|
-
#
|
|
2484
|
-
#
|
|
2485
|
-
#
|
|
2509
|
+
# Defines a maximum target for simultaneous connections for an endpoint of a NEG.
|
|
2510
|
+
# This is multiplied by the number of endpoints in the NEG to implicitly
|
|
2511
|
+
# calculate a maximum number of target maximum simultaneous connections for the
|
|
2512
|
+
# NEG. If the backend's balancingMode is CONNECTION, and the backend is attached
|
|
2513
|
+
# to a backend service whose loadBalancingScheme is EXTERNAL, you must specify
|
|
2514
|
+
# either this parameter, maxConnections, or maxConnectionsPerInstance.
|
|
2515
|
+
# Not available if the backend's balancingMode is RATE. Internal TCP/UDP load
|
|
2516
|
+
# balancing does not support setting maxConnectionsPerEndpoint even though its
|
|
2517
|
+
# backends require a balancing mode of CONNECTION.
|
|
2486
2518
|
# Corresponds to the JSON property `maxConnectionsPerEndpoint`
|
|
2487
2519
|
# @return [Fixnum]
|
|
2488
2520
|
attr_accessor :max_connections_per_endpoint
|
|
2489
2521
|
|
|
2490
|
-
#
|
|
2491
|
-
#
|
|
2492
|
-
#
|
|
2493
|
-
#
|
|
2494
|
-
#
|
|
2522
|
+
# Defines a maximum target for simultaneous connections for a single VM in a
|
|
2523
|
+
# backend instance group. This is multiplied by the number of instances in the
|
|
2524
|
+
# instance group to implicitly calculate a target maximum number of simultaneous
|
|
2525
|
+
# connections for the whole instance group. If the backend's balancingMode is
|
|
2526
|
+
# UTILIZATION, this is an optional parameter. If the backend's balancingMode is
|
|
2527
|
+
# CONNECTION, and backend is attached to a backend service whose
|
|
2528
|
+
# loadBalancingScheme is EXTERNAL, you must specify either this parameter,
|
|
2529
|
+
# maxConnections, or maxConnectionsPerEndpoint.
|
|
2530
|
+
# Not available if the backend's balancingMode is RATE. Internal TCP/UDP load
|
|
2531
|
+
# balancing does not support setting maxConnectionsPerInstance even though its
|
|
2532
|
+
# backends require a balancing mode of CONNECTION.
|
|
2495
2533
|
# Corresponds to the JSON property `maxConnectionsPerInstance`
|
|
2496
2534
|
# @return [Fixnum]
|
|
2497
2535
|
attr_accessor :max_connections_per_instance
|
|
@@ -2504,27 +2542,33 @@ module Google
|
|
|
2504
2542
|
# @return [Fixnum]
|
|
2505
2543
|
attr_accessor :max_rate
|
|
2506
2544
|
|
|
2507
|
-
#
|
|
2508
|
-
#
|
|
2509
|
-
#
|
|
2510
|
-
# must
|
|
2511
|
-
#
|
|
2545
|
+
# Defines a maximum target for requests per second (RPS) for an endpoint of a
|
|
2546
|
+
# NEG. This is multiplied by the number of endpoints in the NEG to implicitly
|
|
2547
|
+
# calculate a target maximum rate for the NEG.
|
|
2548
|
+
# If the backend's balancingMode is RATE, you must specify either this parameter,
|
|
2549
|
+
# maxRate, or maxRatePerInstance.
|
|
2550
|
+
# Not available if the backend's balancingMode is CONNECTION.
|
|
2512
2551
|
# Corresponds to the JSON property `maxRatePerEndpoint`
|
|
2513
2552
|
# @return [Float]
|
|
2514
2553
|
attr_accessor :max_rate_per_endpoint
|
|
2515
2554
|
|
|
2516
|
-
#
|
|
2517
|
-
# This is
|
|
2518
|
-
#
|
|
2519
|
-
#
|
|
2520
|
-
#
|
|
2555
|
+
# Defines a maximum target for requests per second (RPS) for a single VM in a
|
|
2556
|
+
# backend instance group. This is multiplied by the number of instances in the
|
|
2557
|
+
# instance group to implicitly calculate a target maximum rate for the whole
|
|
2558
|
+
# instance group.
|
|
2559
|
+
# If the backend's balancingMode is UTILIZATION, this is an optional parameter.
|
|
2560
|
+
# If the backend's balancingMode is RATE, you must specify either this parameter,
|
|
2561
|
+
# maxRate, or maxRatePerEndpoint.
|
|
2562
|
+
# Not available if the backend's balancingMode is CONNECTION.
|
|
2521
2563
|
# Corresponds to the JSON property `maxRatePerInstance`
|
|
2522
2564
|
# @return [Float]
|
|
2523
2565
|
attr_accessor :max_rate_per_instance
|
|
2524
2566
|
|
|
2525
|
-
#
|
|
2526
|
-
#
|
|
2527
|
-
#
|
|
2567
|
+
# Defines the maximum average CPU utilization of a backend VM in an instance
|
|
2568
|
+
# group. The valid range is [0.0, 1.0]. This is an optional parameter if the
|
|
2569
|
+
# backend's balancingMode is UTILIZATION.
|
|
2570
|
+
# This parameter can be used in conjunction with maxRate, maxRatePerInstance,
|
|
2571
|
+
# maxConnections, or maxConnectionsPerInstance.
|
|
2528
2572
|
# Corresponds to the JSON property `maxUtilization`
|
|
2529
2573
|
# @return [Float]
|
|
2530
2574
|
attr_accessor :max_utilization
|
|
@@ -2550,7 +2594,9 @@ module Google
|
|
|
2550
2594
|
end
|
|
2551
2595
|
end
|
|
2552
2596
|
|
|
2553
|
-
#
|
|
2597
|
+
# Represents a Cloud Storage Bucket resource.
|
|
2598
|
+
# This Cloud Storage bucket resource is referenced by a URL map of a load
|
|
2599
|
+
# balancer. For more information, read Backend Buckets.
|
|
2554
2600
|
class BackendBucket
|
|
2555
2601
|
include Google::Apis::Core::Hashable
|
|
2556
2602
|
|
|
@@ -2778,16 +2824,22 @@ module Google
|
|
|
2778
2824
|
end
|
|
2779
2825
|
end
|
|
2780
2826
|
|
|
2781
|
-
#
|
|
2782
|
-
#
|
|
2783
|
-
#
|
|
2827
|
+
# Represents a Backend Service resource.
|
|
2828
|
+
# Backend services must have an associated health check. Backend services also
|
|
2829
|
+
# store information about session affinity. For more information, read Backend
|
|
2830
|
+
# Services.
|
|
2831
|
+
# A backendServices resource represents a global backend service. Global backend
|
|
2832
|
+
# services are used for HTTP(S), SSL Proxy, TCP Proxy load balancing and Traffic
|
|
2833
|
+
# Director.
|
|
2834
|
+
# A regionBackendServices resource represents a regional backend service.
|
|
2835
|
+
# Regional backend services are used for internal TCP/UDP load balancing. For
|
|
2836
|
+
# more information, read Internal TCP/UDP Load balancing. (== resource_for v1.
|
|
2837
|
+
# backendService ==) (== resource_for beta.backendService ==)
|
|
2784
2838
|
class BackendService
|
|
2785
2839
|
include Google::Apis::Core::Hashable
|
|
2786
2840
|
|
|
2787
|
-
#
|
|
2788
|
-
#
|
|
2789
|
-
# session (or equivalent). The maximum allowed value for TTL is one day.
|
|
2790
|
-
# When the load balancing scheme is INTERNAL, this field is not used.
|
|
2841
|
+
# If set to 0, the cookie is non-persistent and lasts only until the end of the
|
|
2842
|
+
# browser session (or equivalent). The maximum allowed value is one day (86,400).
|
|
2791
2843
|
# Corresponds to the JSON property `affinityCookieTtlSec`
|
|
2792
2844
|
# @return [Fixnum]
|
|
2793
2845
|
attr_accessor :affinity_cookie_ttl_sec
|
|
@@ -2833,14 +2885,15 @@ module Google
|
|
|
2833
2885
|
# @return [String]
|
|
2834
2886
|
attr_accessor :description
|
|
2835
2887
|
|
|
2836
|
-
# If true,
|
|
2837
|
-
#
|
|
2888
|
+
# If true, enables Cloud CDN for the backend service. Only applicable if the
|
|
2889
|
+
# loadBalancingScheme is EXTERNAL and the protocol is HTTP or HTTPS.
|
|
2838
2890
|
# Corresponds to the JSON property `enableCDN`
|
|
2839
2891
|
# @return [Boolean]
|
|
2840
2892
|
attr_accessor :enable_cdn
|
|
2841
2893
|
alias_method :enable_cdn?, :enable_cdn
|
|
2842
2894
|
|
|
2843
|
-
#
|
|
2895
|
+
# Applicable only to Failover for Internal TCP/UDP Load Balancing. Requires at
|
|
2896
|
+
# least one backend instance group to be defined as a backup (failover) backend.
|
|
2844
2897
|
# Corresponds to the JSON property `failoverPolicy`
|
|
2845
2898
|
# @return [Google::Apis::ComputeAlpha::BackendServiceFailoverPolicy]
|
|
2846
2899
|
attr_accessor :failover_policy
|
|
@@ -2948,23 +3001,27 @@ module Google
|
|
|
2948
3001
|
|
|
2949
3002
|
# Deprecated in favor of portName. The TCP port to connect on the backend. The
|
|
2950
3003
|
# default value is 80.
|
|
2951
|
-
# This cannot be used
|
|
3004
|
+
# This cannot be used if the loadBalancingScheme is INTERNAL (Internal TCP/UDP
|
|
3005
|
+
# Load Balancing).
|
|
2952
3006
|
# Corresponds to the JSON property `port`
|
|
2953
3007
|
# @return [Fixnum]
|
|
2954
3008
|
attr_accessor :port
|
|
2955
3009
|
|
|
2956
|
-
#
|
|
2957
|
-
#
|
|
2958
|
-
# EXTERNAL.
|
|
2959
|
-
#
|
|
3010
|
+
# A named port on a backend instance group representing the port for
|
|
3011
|
+
# communication to the backend VMs in that group. Required when the
|
|
3012
|
+
# loadBalancingScheme is EXTERNAL and the backends are instance groups. The
|
|
3013
|
+
# named port must be defined on each backend instance group. This parameter has
|
|
3014
|
+
# no meaning if the backends are NEGs.
|
|
3015
|
+
# Must be omitted when the loadBalancingScheme is INTERNAL (Internal TCP/UDP
|
|
3016
|
+
# Load Blaancing).
|
|
2960
3017
|
# Corresponds to the JSON property `portName`
|
|
2961
3018
|
# @return [String]
|
|
2962
3019
|
attr_accessor :port_name
|
|
2963
3020
|
|
|
2964
3021
|
# The protocol this BackendService uses to communicate with backends.
|
|
2965
|
-
# Possible values are HTTP, HTTPS, TCP,
|
|
2966
|
-
#
|
|
2967
|
-
#
|
|
3022
|
+
# Possible values are HTTP, HTTPS, TCP, SSL, or UDP, depending on the chosen
|
|
3023
|
+
# load balancer or Traffic Director configuration. Refer to the documentation
|
|
3024
|
+
# for the load balancer or for Traffic director for more information.
|
|
2968
3025
|
# Corresponds to the JSON property `protocol`
|
|
2969
3026
|
# @return [String]
|
|
2970
3027
|
attr_accessor :protocol
|
|
@@ -2998,18 +3055,22 @@ module Google
|
|
|
2998
3055
|
# @return [String]
|
|
2999
3056
|
attr_accessor :self_link_with_id
|
|
3000
3057
|
|
|
3001
|
-
# Type of session affinity to use. The default is NONE.
|
|
3002
|
-
#
|
|
3003
|
-
#
|
|
3004
|
-
#
|
|
3058
|
+
# Type of session affinity to use. The default is NONE. Session affinity is not
|
|
3059
|
+
# applicable if the --protocol is UDP.
|
|
3060
|
+
# When the loadBalancingScheme is EXTERNAL, possible values are NONE, CLIENT_IP,
|
|
3061
|
+
# or GENERATED_COOKIE. GENERATED_COOKIE is only available if the protocol is
|
|
3062
|
+
# HTTP or HTTPS.
|
|
3063
|
+
# When the loadBalancingScheme is INTERNAL, possible values are NONE, CLIENT_IP,
|
|
3005
3064
|
# CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO.
|
|
3006
|
-
# When the
|
|
3065
|
+
# When the loadBalancingScheme is INTERNAL_SELF_MANAGED, possible values are
|
|
3066
|
+
# NONE, CLIENT_IP, GENERATED_COOKIE, HEADER_FIELD, or HTTP_COOKIE.
|
|
3007
3067
|
# Corresponds to the JSON property `sessionAffinity`
|
|
3008
3068
|
# @return [String]
|
|
3009
3069
|
attr_accessor :session_affinity
|
|
3010
3070
|
|
|
3011
|
-
#
|
|
3012
|
-
#
|
|
3071
|
+
# The backend service timeout has a different meaning depending on the type of
|
|
3072
|
+
# load balancer. For more information read, Backend service settings The
|
|
3073
|
+
# default is 30 seconds.
|
|
3013
3074
|
# Corresponds to the JSON property `timeoutSec`
|
|
3014
3075
|
# @return [Fixnum]
|
|
3015
3076
|
attr_accessor :timeout_sec
|
|
@@ -3214,11 +3275,6 @@ module Google
|
|
|
3214
3275
|
class BackendServiceFailoverPolicy
|
|
3215
3276
|
include Google::Apis::Core::Hashable
|
|
3216
3277
|
|
|
3217
|
-
# On failover or failback, this field indicates whether connection drain will be
|
|
3218
|
-
# honored. Setting this to true has the following effect: connections to the old
|
|
3219
|
-
# active pool are not drained. Connections to the new active pool use the
|
|
3220
|
-
# timeout of 10 min (currently fixed). Setting to false has the following effect:
|
|
3221
|
-
# both old and new connections will have a drain timeout of 10 min.
|
|
3222
3278
|
# This can be set to true only if the protocol is TCP.
|
|
3223
3279
|
# The default is false.
|
|
3224
3280
|
# Corresponds to the JSON property `disableConnectionDrainOnFailover`
|
|
@@ -3226,23 +3282,22 @@ module Google
|
|
|
3226
3282
|
attr_accessor :disable_connection_drain_on_failover
|
|
3227
3283
|
alias_method :disable_connection_drain_on_failover?, :disable_connection_drain_on_failover
|
|
3228
3284
|
|
|
3229
|
-
#
|
|
3230
|
-
#
|
|
3231
|
-
#
|
|
3285
|
+
# Applicable only to Failover for Internal TCP/UDP Load Balancing. If set to
|
|
3286
|
+
# true, connections to the load balancer are dropped when all primary and all
|
|
3287
|
+
# backup backend VMs are unhealthy. If set to false, connections are distributed
|
|
3288
|
+
# among all primary VMs when all primary and all backup backend VMs are
|
|
3289
|
+
# unhealthy.
|
|
3232
3290
|
# The default is false.
|
|
3233
3291
|
# Corresponds to the JSON property `dropTrafficIfUnhealthy`
|
|
3234
3292
|
# @return [Boolean]
|
|
3235
3293
|
attr_accessor :drop_traffic_if_unhealthy
|
|
3236
3294
|
alias_method :drop_traffic_if_unhealthy?, :drop_traffic_if_unhealthy
|
|
3237
3295
|
|
|
3238
|
-
#
|
|
3239
|
-
# the
|
|
3240
|
-
#
|
|
3241
|
-
#
|
|
3242
|
-
#
|
|
3243
|
-
# "force" mode, where traffic will be spread to the healthy VMs with the best
|
|
3244
|
-
# effort, or to all VMs when no VM is healthy.
|
|
3245
|
-
# This field is only used with l4 load balancing.
|
|
3296
|
+
# Applicable only to Failover for Internal TCP/UDP Load Balancing. The value of
|
|
3297
|
+
# the field must be in the range [0, 1]. If the value is 0, the load balancer
|
|
3298
|
+
# performs a failover when the number of healthy primary VMs equals zero. For
|
|
3299
|
+
# all other values, the load balancer performs a failover when the total number
|
|
3300
|
+
# of healthy primary VMs is less than this ratio.
|
|
3246
3301
|
# Corresponds to the JSON property `failoverRatio`
|
|
3247
3302
|
# @return [Float]
|
|
3248
3303
|
attr_accessor :failover_ratio
|
|
@@ -4699,8 +4754,9 @@ module Google
|
|
|
4699
4754
|
class ConnectionDraining
|
|
4700
4755
|
include Google::Apis::Core::Hashable
|
|
4701
4756
|
|
|
4702
|
-
#
|
|
4703
|
-
#
|
|
4757
|
+
# The amount of time in seconds to allow existing connections to persist while
|
|
4758
|
+
# on unhealthy backend VMs. Only applicable if the protocol is not UDP. The
|
|
4759
|
+
# valid range is [0, 3600].
|
|
4704
4760
|
# Corresponds to the JSON property `drainingTimeoutSec`
|
|
4705
4761
|
# @return [Fixnum]
|
|
4706
4762
|
attr_accessor :draining_timeout_sec
|
|
@@ -7233,13 +7289,32 @@ module Google
|
|
|
7233
7289
|
end
|
|
7234
7290
|
end
|
|
7235
7291
|
|
|
7236
|
-
#
|
|
7237
|
-
#
|
|
7238
|
-
#
|
|
7239
|
-
#
|
|
7240
|
-
#
|
|
7241
|
-
#
|
|
7242
|
-
#
|
|
7292
|
+
# Represents a Forwarding Rule resource.
|
|
7293
|
+
# A forwardingRules resource represents a regional forwarding rule.
|
|
7294
|
+
# Regional external forwarding rules can reference any of the following
|
|
7295
|
+
# resources:
|
|
7296
|
+
#
|
|
7297
|
+
# - A target instance
|
|
7298
|
+
# - A Cloud VPN Classic gateway (targetVpnGateway),
|
|
7299
|
+
# - A target pool for a Network Load Balancer
|
|
7300
|
+
# - A global target HTTP(S) proxy for an HTTP(S) load balancer using Standard
|
|
7301
|
+
# Tier
|
|
7302
|
+
# - A target SSL proxy for a SSL Proxy load balancer using Standard Tier
|
|
7303
|
+
# - A target TCP proxy for a TCP Proxy load balancer using Standard Tier.
|
|
7304
|
+
# Regional internal forwarding rules can reference the backend service of an
|
|
7305
|
+
# internal TCP/UDP load balancer.
|
|
7306
|
+
# For regional internal forwarding rules, the following applies:
|
|
7307
|
+
# - If the loadBalancingScheme for the load balancer is INTERNAL, then the
|
|
7308
|
+
# forwarding rule references a regional internal backend service.
|
|
7309
|
+
# - If the loadBalancingScheme for the load balancer is INTERNAL_MANAGED, then
|
|
7310
|
+
# the forwarding rule must reference a regional target HTTP(S) proxy.
|
|
7311
|
+
# For more information, read Using Forwarding rules.
|
|
7312
|
+
# A globalForwardingRules resource represents a global forwarding rule.
|
|
7313
|
+
# Global forwarding rules are only used by load balancers that use Premium Tier.
|
|
7314
|
+
# (== resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules =
|
|
7315
|
+
# =) (== resource_for beta.globalForwardingRules ==) (== resource_for v1.
|
|
7316
|
+
# globalForwardingRules ==) (== resource_for beta.regionForwardingRules ==) (==
|
|
7317
|
+
# resource_for v1.regionForwardingRules ==)
|
|
7243
7318
|
class ForwardingRule
|
|
7244
7319
|
include Google::Apis::Core::Hashable
|
|
7245
7320
|
|
|
@@ -8410,9 +8485,11 @@ module Google
|
|
|
8410
8485
|
end
|
|
8411
8486
|
end
|
|
8412
8487
|
|
|
8413
|
-
#
|
|
8414
|
-
#
|
|
8415
|
-
#
|
|
8488
|
+
# Represents a Health Check resource.
|
|
8489
|
+
# Health checks are used for most GCP load balancers and managed instance group
|
|
8490
|
+
# auto-healing. For more information, read Health Check Concepts.
|
|
8491
|
+
# To perform health checks on network load balancers, you must use either
|
|
8492
|
+
# httpHealthChecks or httpsHealthChecks.
|
|
8416
8493
|
class HealthCheck
|
|
8417
8494
|
include Google::Apis::Core::Hashable
|
|
8418
8495
|
|
|
@@ -9585,8 +9662,9 @@ module Google
|
|
|
9585
9662
|
end
|
|
9586
9663
|
end
|
|
9587
9664
|
|
|
9588
|
-
#
|
|
9589
|
-
#
|
|
9665
|
+
# Represents a legacy HTTP Health Check resource.
|
|
9666
|
+
# Legacy health checks are required by network load balancers. For more
|
|
9667
|
+
# information, read Health Check Concepts.
|
|
9590
9668
|
class HttpHealthCheck
|
|
9591
9669
|
include Google::Apis::Core::Hashable
|
|
9592
9670
|
|
|
@@ -9647,6 +9725,7 @@ module Google
|
|
|
9647
9725
|
attr_accessor :port
|
|
9648
9726
|
|
|
9649
9727
|
# The request path of the HTTP health check request. The default value is /.
|
|
9728
|
+
# This field does not support query parameters.
|
|
9650
9729
|
# Corresponds to the JSON property `requestPath`
|
|
9651
9730
|
# @return [String]
|
|
9652
9731
|
attr_accessor :request_path
|
|
@@ -10208,8 +10287,9 @@ module Google
|
|
|
10208
10287
|
end
|
|
10209
10288
|
end
|
|
10210
10289
|
|
|
10211
|
-
#
|
|
10212
|
-
#
|
|
10290
|
+
# Represents a legacy HTTPS Health Check resource.
|
|
10291
|
+
# Legacy health checks are required by network load balancers. For more
|
|
10292
|
+
# information, read Health Check Concepts.
|
|
10213
10293
|
class HttpsHealthCheck
|
|
10214
10294
|
include Google::Apis::Core::Hashable
|
|
10215
10295
|
|
|
@@ -19215,19 +19295,18 @@ module Google
|
|
|
19215
19295
|
|
|
19216
19296
|
# This field will be deprecated soon. Use the exchange_subnet_routes field
|
|
19217
19297
|
# instead. Indicates whether full mesh connectivity is created and managed
|
|
19218
|
-
# automatically
|
|
19219
|
-
#
|
|
19220
|
-
#
|
|
19221
|
-
# peer network.
|
|
19298
|
+
# automatically between peered networks. Currently this field should always be
|
|
19299
|
+
# true since Google Compute Engine will automatically create and manage
|
|
19300
|
+
# subnetwork routes between two networks when peering state is ACTIVE.
|
|
19222
19301
|
# Corresponds to the JSON property `autoCreateRoutes`
|
|
19223
19302
|
# @return [Boolean]
|
|
19224
19303
|
attr_accessor :auto_create_routes
|
|
19225
19304
|
alias_method :auto_create_routes?, :auto_create_routes
|
|
19226
19305
|
|
|
19227
|
-
#
|
|
19228
|
-
#
|
|
19229
|
-
#
|
|
19230
|
-
#
|
|
19306
|
+
# Indicates whether full mesh connectivity is created and managed automatically
|
|
19307
|
+
# between peered networks. Currently this field should always be true since
|
|
19308
|
+
# Google Compute Engine will automatically create and manage subnetwork routes
|
|
19309
|
+
# between two networks when peering state is ACTIVE.
|
|
19231
19310
|
# Corresponds to the JSON property `exchangeSubnetRoutes`
|
|
19232
19311
|
# @return [Boolean]
|
|
19233
19312
|
attr_accessor :exchange_subnet_routes
|
|
@@ -19347,8 +19426,10 @@ module Google
|
|
|
19347
19426
|
include Google::Apis::Core::Hashable
|
|
19348
19427
|
|
|
19349
19428
|
# This field will be deprecated soon. Use exchange_subnet_routes in
|
|
19350
|
-
# network_peering instead.
|
|
19351
|
-
# automatically.
|
|
19429
|
+
# network_peering instead. Indicates whether full mesh connectivity is created
|
|
19430
|
+
# and managed automatically between peered networks. Currently this field should
|
|
19431
|
+
# always be true since Google Compute Engine will automatically create and
|
|
19432
|
+
# manage subnetwork routes between two networks when peering state is ACTIVE.
|
|
19352
19433
|
# Corresponds to the JSON property `autoCreateRoutes`
|
|
19353
19434
|
# @return [Boolean]
|
|
19354
19435
|
attr_accessor :auto_create_routes
|
|
@@ -25213,9 +25294,13 @@ module Google
|
|
|
25213
25294
|
class RegionUrlMapsValidateRequest
|
|
25214
25295
|
include Google::Apis::Core::Hashable
|
|
25215
25296
|
|
|
25216
|
-
#
|
|
25217
|
-
#
|
|
25218
|
-
#
|
|
25297
|
+
# Represents a URL Map resource.
|
|
25298
|
+
# A URL map resource is a component of certain types of load balancers. This
|
|
25299
|
+
# resource defines mappings from host names and URL paths to either a backend
|
|
25300
|
+
# service or a backend bucket.
|
|
25301
|
+
# To use this resource, the backend service must have a loadBalancingScheme of
|
|
25302
|
+
# either EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED For more
|
|
25303
|
+
# information, read URL Map Concepts.
|
|
25219
25304
|
# Corresponds to the JSON property `resource`
|
|
25220
25305
|
# @return [Google::Apis::ComputeAlpha::UrlMap]
|
|
25221
25306
|
attr_accessor :resource
|
|
@@ -28388,7 +28473,8 @@ module Google
|
|
|
28388
28473
|
# @return [Fixnum]
|
|
28389
28474
|
attr_accessor :min_node_cpus
|
|
28390
28475
|
|
|
28391
|
-
# A set of node affinity and anti-affinity.
|
|
28476
|
+
# A set of node affinity and anti-affinity configurations. Refer to Configuring
|
|
28477
|
+
# node affinity for more information.
|
|
28392
28478
|
# Corresponds to the JSON property `nodeAffinities`
|
|
28393
28479
|
# @return [Array<Google::Apis::ComputeAlpha::SchedulingNodeAffinity>]
|
|
28394
28480
|
attr_accessor :node_affinities
|
|
@@ -28434,7 +28520,8 @@ module Google
|
|
|
28434
28520
|
# @return [String]
|
|
28435
28521
|
attr_accessor :key
|
|
28436
28522
|
|
|
28437
|
-
# Defines the operation of node selection.
|
|
28523
|
+
# Defines the operation of node selection. Valid operators are IN for affinity
|
|
28524
|
+
# and NOT_IN for anti-affinity.
|
|
28438
28525
|
# Corresponds to the JSON property `operator`
|
|
28439
28526
|
# @return [String]
|
|
28440
28527
|
attr_accessor :operator
|
|
@@ -28513,9 +28600,11 @@ module Google
|
|
|
28513
28600
|
end
|
|
28514
28601
|
end
|
|
28515
28602
|
|
|
28516
|
-
#
|
|
28517
|
-
#
|
|
28518
|
-
#
|
|
28603
|
+
# Represents a Cloud Armor Security Policy resource.
|
|
28604
|
+
# Only external backend services that use load balancers can reference a
|
|
28605
|
+
# Security Policy. For more information, read Cloud Armor Security Policy
|
|
28606
|
+
# Concepts. (== resource_for v1.securityPolicies ==) (== resource_for beta.
|
|
28607
|
+
# securityPolicies ==)
|
|
28519
28608
|
class SecurityPolicy
|
|
28520
28609
|
include Google::Apis::Core::Hashable
|
|
28521
28610
|
|
|
@@ -29958,10 +30047,11 @@ module Google
|
|
|
29958
30047
|
end
|
|
29959
30048
|
end
|
|
29960
30049
|
|
|
29961
|
-
#
|
|
29962
|
-
# SSL
|
|
29963
|
-
#
|
|
29964
|
-
#
|
|
30050
|
+
# Represents an SSL Certificate resource.
|
|
30051
|
+
# This SSL certificate resource also contains a private key. You can use SSL
|
|
30052
|
+
# keys and certificates to secure connections to a load balancer. For more
|
|
30053
|
+
# information, read Creating and Using SSL Certificates. (== resource_for beta.
|
|
30054
|
+
# sslCertificates ==) (== resource_for v1.sslCertificates ==)
|
|
29965
30055
|
class SslCertificate
|
|
29966
30056
|
include Google::Apis::Core::Hashable
|
|
29967
30057
|
|
|
@@ -30603,10 +30693,11 @@ module Google
|
|
|
30603
30693
|
end
|
|
30604
30694
|
end
|
|
30605
30695
|
|
|
30606
|
-
#
|
|
30607
|
-
#
|
|
30608
|
-
#
|
|
30609
|
-
#
|
|
30696
|
+
# Represents a Cloud Armor Security Policy resource.
|
|
30697
|
+
# Only external backend services used by HTTP or HTTPS load balancers can
|
|
30698
|
+
# reference a Security Policy. For more information, read read Cloud Armor
|
|
30699
|
+
# Security Policy Concepts. (== resource_for beta.sslPolicies ==) (==
|
|
30700
|
+
# resource_for v1.sslPolicies ==)
|
|
30610
30701
|
class SslPolicy
|
|
30611
30702
|
include Google::Apis::Core::Hashable
|
|
30612
30703
|
|
|
@@ -31792,7 +31883,10 @@ module Google
|
|
|
31792
31883
|
end
|
|
31793
31884
|
end
|
|
31794
31885
|
|
|
31795
|
-
#
|
|
31886
|
+
# Represents a Target HTTP Proxy resource.
|
|
31887
|
+
# A target HTTP proxy is a component of certain types of load balancers. Global
|
|
31888
|
+
# forwarding rules reference a target HTTP proxy, and the target proxy then
|
|
31889
|
+
# references a URL map. For more information, read Using Target Proxies. (==
|
|
31796
31890
|
# resource_for beta.targetHttpProxies ==) (== resource_for v1.targetHttpProxies =
|
|
31797
31891
|
# =)
|
|
31798
31892
|
class TargetHttpProxy
|
|
@@ -32246,7 +32340,10 @@ module Google
|
|
|
32246
32340
|
end
|
|
32247
32341
|
end
|
|
32248
32342
|
|
|
32249
|
-
#
|
|
32343
|
+
# Represents a Target HTTPS Proxy resource.
|
|
32344
|
+
# A target HTTPS proxy is a component of certain types of load balancers. Global
|
|
32345
|
+
# forwarding rules reference a target HTTPS proxy, and the target proxy then
|
|
32346
|
+
# references a URL map. For more information, read Using Target Proxies. (==
|
|
32250
32347
|
# resource_for beta.targetHttpsProxies ==) (== resource_for v1.
|
|
32251
32348
|
# targetHttpsProxies ==)
|
|
32252
32349
|
class TargetHttpsProxy
|
|
@@ -33023,9 +33120,12 @@ module Google
|
|
|
33023
33120
|
end
|
|
33024
33121
|
end
|
|
33025
33122
|
|
|
33026
|
-
#
|
|
33027
|
-
#
|
|
33028
|
-
#
|
|
33123
|
+
# Represents a Target Pool resource.
|
|
33124
|
+
# Target pools are used for network TCP/UDP load balancing. A target pool
|
|
33125
|
+
# references member instances, an associated legacy HttpHealthCheck resource,
|
|
33126
|
+
# and, optionally, a backup target pool. For more information, read Using target
|
|
33127
|
+
# pools. (== resource_for beta.targetPools ==) (== resource_for v1.targetPools ==
|
|
33128
|
+
# )
|
|
33029
33129
|
class TargetPool
|
|
33030
33130
|
include Google::Apis::Core::Hashable
|
|
33031
33131
|
|
|
@@ -33670,8 +33770,12 @@ module Google
|
|
|
33670
33770
|
end
|
|
33671
33771
|
end
|
|
33672
33772
|
|
|
33673
|
-
#
|
|
33674
|
-
#
|
|
33773
|
+
# Represents a Target SSL Proxy resource.
|
|
33774
|
+
# A target SSL proxy is a component of a SSL Proxy load balancer. Global
|
|
33775
|
+
# forwarding rules reference a target SSL proxy, and the target proxy then
|
|
33776
|
+
# references an external backend service. For more information, read Using
|
|
33777
|
+
# Target Proxies. (== resource_for beta.targetSslProxies ==) (== resource_for v1.
|
|
33778
|
+
# targetSslProxies ==)
|
|
33675
33779
|
class TargetSslProxy
|
|
33676
33780
|
include Google::Apis::Core::Hashable
|
|
33677
33781
|
|
|
@@ -33913,8 +34017,12 @@ module Google
|
|
|
33913
34017
|
end
|
|
33914
34018
|
end
|
|
33915
34019
|
|
|
33916
|
-
#
|
|
33917
|
-
#
|
|
34020
|
+
# Represents a Target TCP Proxy resource.
|
|
34021
|
+
# A target TCP proxy is a component of a TCP Proxy load balancer. Global
|
|
34022
|
+
# forwarding rules reference ta target TCP proxy, and the target proxy then
|
|
34023
|
+
# references an external backend service. For more information, read TCP Proxy
|
|
34024
|
+
# Load Balancing Concepts. (== resource_for beta.targetTcpProxies ==) (==
|
|
34025
|
+
# resource_for v1.targetTcpProxies ==)
|
|
33918
34026
|
class TargetTcpProxy
|
|
33919
34027
|
include Google::Apis::Core::Hashable
|
|
33920
34028
|
|
|
@@ -34779,9 +34887,13 @@ module Google
|
|
|
34779
34887
|
end
|
|
34780
34888
|
end
|
|
34781
34889
|
|
|
34782
|
-
#
|
|
34783
|
-
#
|
|
34784
|
-
#
|
|
34890
|
+
# Represents a URL Map resource.
|
|
34891
|
+
# A URL map resource is a component of certain types of load balancers. This
|
|
34892
|
+
# resource defines mappings from host names and URL paths to either a backend
|
|
34893
|
+
# service or a backend bucket.
|
|
34894
|
+
# To use this resource, the backend service must have a loadBalancingScheme of
|
|
34895
|
+
# either EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED For more
|
|
34896
|
+
# information, read URL Map Concepts.
|
|
34785
34897
|
class UrlMap
|
|
34786
34898
|
include Google::Apis::Core::Hashable
|
|
34787
34899
|
|
|
@@ -35356,9 +35468,13 @@ module Google
|
|
|
35356
35468
|
class UrlMapsValidateRequest
|
|
35357
35469
|
include Google::Apis::Core::Hashable
|
|
35358
35470
|
|
|
35359
|
-
#
|
|
35360
|
-
#
|
|
35361
|
-
#
|
|
35471
|
+
# Represents a URL Map resource.
|
|
35472
|
+
# A URL map resource is a component of certain types of load balancers. This
|
|
35473
|
+
# resource defines mappings from host names and URL paths to either a backend
|
|
35474
|
+
# service or a backend bucket.
|
|
35475
|
+
# To use this resource, the backend service must have a loadBalancingScheme of
|
|
35476
|
+
# either EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED For more
|
|
35477
|
+
# information, read URL Map Concepts.
|
|
35362
35478
|
# Corresponds to the JSON property `resource`
|
|
35363
35479
|
# @return [Google::Apis::ComputeAlpha::UrlMap]
|
|
35364
35480
|
attr_accessor :resource
|