google-api-client 0.40.2 → 0.41.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +66 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +9 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +39 -31
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +2 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +12 -3
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +948 -36
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +18 -19
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +10 -6
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -9
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +15 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +4 -2
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +535 -43
- data/generated/google/apis/compute_alpha/representations.rb +167 -0
- data/generated/google/apis/compute_alpha/service.rb +922 -172
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +107 -42
- data/generated/google/apis/compute_beta/representations.rb +20 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +22 -10
- data/generated/google/apis/compute_v1/representations.rb +1 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +21 -7
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +7 -1
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2/service.rb +10 -5
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +93 -7
- data/generated/google/apis/content_v2_1/representations.rb +37 -0
- data/generated/google/apis/content_v2_1/service.rb +10 -5
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +46 -0
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +12 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/service.rb +14 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/service.rb +28 -4
- data/generated/google/apis/documentai_v1beta2.rb +36 -0
- data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
- data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +269 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +26 -78
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +18 -54
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +6 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
- data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +2 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +910 -43
- data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +517 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +5 -0
- data/generated/google/apis/iam_v1/service.rb +4 -0
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +56 -17
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +4 -4
- data/generated/google/apis/people_v1/service.rb +6 -5
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +6 -6
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +6 -6
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +10 -10
- data/generated/google/apis/securitycenter_v1/service.rb +10 -10
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +10 -10
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +10 -10
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +21 -2
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +21 -2
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +117 -37
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +13 -2
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +13 -2
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +27 -2
- data/generated/google/apis/serviceusage_v1/representations.rb +2 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +72 -2
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +30 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +37 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +4 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +38 -0
- data/generated/google/apis/youtube_v3/representations.rb +27 -0
- data/generated/google/apis/youtube_v3/service.rb +32 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -7
- data/generated/google/apis/customsearch_v1.rb +0 -31
- data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
- data/generated/google/apis/customsearch_v1/representations.rb +0 -372
- data/generated/google/apis/customsearch_v1/service.rb +0 -608
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/identity/
|
26
26
|
module CloudidentityV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200612'
|
29
29
|
|
30
30
|
# See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group
|
31
31
|
AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/identity/
|
26
26
|
module CloudidentityV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200612'
|
29
29
|
|
30
30
|
# See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group
|
31
31
|
AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
27
27
|
module CloudresourcemanagerV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200617'
|
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'
|
@@ -349,12 +349,12 @@ module Google
|
|
349
349
|
# restricted. For example, it controls which cloud services can be activated
|
350
350
|
# across an organization, or whether a Compute Engine instance can have
|
351
351
|
# serial port connections established. `Constraints` can be configured by the
|
352
|
-
# organization's policy
|
352
|
+
# organization's policy administrator to fit the needs of the organzation by
|
353
353
|
# setting Policies for `Constraints` at different locations in the
|
354
354
|
# organization's resource hierarchy. Policies are inherited down the resource
|
355
355
|
# hierarchy from higher levels, but can also be overridden. For details about
|
356
356
|
# the inheritance rules please read about
|
357
|
-
# Policies.
|
357
|
+
# [Policies](/resource-manager/reference/rest/v1/Policy).
|
358
358
|
# `Constraints` have a default behavior determined by the `constraint_default`
|
359
359
|
# field, which is the enforcement behavior that is used in the absence of a
|
360
360
|
# `Policy` being defined or inherited for the resource in question.
|
@@ -369,7 +369,7 @@ module Google
|
|
369
369
|
# @return [Google::Apis::CloudresourcemanagerV1::BooleanConstraint]
|
370
370
|
attr_accessor :boolean_constraint
|
371
371
|
|
372
|
-
# The evaluation behavior of this constraint in the
|
372
|
+
# The evaluation behavior of this constraint in the absence of 'Policy'.
|
373
373
|
# Corresponds to the JSON property `constraintDefault`
|
374
374
|
# @return [String]
|
375
375
|
attr_accessor :constraint_default
|
@@ -575,7 +575,9 @@ module Google
|
|
575
575
|
end
|
576
576
|
end
|
577
577
|
|
578
|
-
# Response from the
|
578
|
+
# Response from the
|
579
|
+
# projects.getAncestry
|
580
|
+
# method.
|
579
581
|
class GetAncestryResponse
|
580
582
|
include Google::Apis::Core::Hashable
|
581
583
|
|
@@ -742,8 +744,8 @@ module Google
|
|
742
744
|
end
|
743
745
|
end
|
744
746
|
|
745
|
-
# The request sent to the
|
746
|
-
#
|
747
|
+
# The request sent to the `ListAvailableOrgPolicyConstraints` method on the
|
748
|
+
# project, folder, or organization.
|
747
749
|
class ListAvailableOrgPolicyConstraintsRequest
|
748
750
|
include Google::Apis::Core::Hashable
|
749
751
|
|
@@ -771,7 +773,7 @@ module Google
|
|
771
773
|
end
|
772
774
|
end
|
773
775
|
|
774
|
-
# The response returned from the ListAvailableOrgPolicyConstraints method.
|
776
|
+
# The response returned from the `ListAvailableOrgPolicyConstraints` method.
|
775
777
|
# Returns all `Constraints` that could be set at this level of the hierarchy
|
776
778
|
# (contrast with the response from `ListPolicies`, which returns all policies
|
777
779
|
# which are set).
|
@@ -884,7 +886,7 @@ module Google
|
|
884
886
|
end
|
885
887
|
end
|
886
888
|
|
887
|
-
# The response returned from the ListOrgPolicies method. It will be empty
|
889
|
+
# The response returned from the `ListOrgPolicies` method. It will be empty
|
888
890
|
# if no `Policies` are set on the resource.
|
889
891
|
class ListOrgPoliciesResponse
|
890
892
|
include Google::Apis::Core::Hashable
|
@@ -953,7 +955,7 @@ module Google
|
|
953
955
|
attr_accessor :denied_values
|
954
956
|
|
955
957
|
# Determines the inheritance behavior for this `Policy`.
|
956
|
-
# By default, a `ListPolicy` set at a resource
|
958
|
+
# By default, a `ListPolicy` set at a resource supersedes any `Policy` set
|
957
959
|
# anywhere up the resource hierarchy. However, if `inherit_from_parent` is
|
958
960
|
# set to `true`, then the values from the effective `Policy` of the parent
|
959
961
|
# resource are inherited, meaning the values set in this `Policy` are
|
@@ -1179,6 +1181,9 @@ module Google
|
|
1179
1181
|
|
1180
1182
|
# The name of the `Constraint` the `Policy` is configuring, for example,
|
1181
1183
|
# `constraints/serviceuser.services`.
|
1184
|
+
# A [list of available
|
1185
|
+
# constraints](/resource-manager/docs/organization-policy/org-policy-constraints)
|
1186
|
+
# is available.
|
1182
1187
|
# Immutable after creation.
|
1183
1188
|
# Corresponds to the JSON property `constraint`
|
1184
1189
|
# @return [String]
|
@@ -1054,8 +1054,8 @@ module Google
|
|
1054
1054
|
# Permission is denied if the policy or the resource does not exist.
|
1055
1055
|
# Authorization requires the Google IAM permission
|
1056
1056
|
# `resourcemanager.projects.getIamPolicy` on the project.
|
1057
|
-
# For additional information about resource
|
1058
|
-
# see [Resource Names](/apis/design/resource_names).
|
1057
|
+
# For additional information about `resource` (e.g. my-project-id) structure
|
1058
|
+
# and identification, see [Resource Names](/apis/design/resource_names).
|
1059
1059
|
# @param [String] resource
|
1060
1060
|
# REQUIRED: The resource for which the policy is being requested.
|
1061
1061
|
# See the operation documentation for the appropriate value for this field.
|
@@ -1142,13 +1142,14 @@ module Google
|
|
1142
1142
|
# difference.
|
1143
1143
|
# @param [String] filter
|
1144
1144
|
# An expression for filtering the results of the request. Filter rules are
|
1145
|
-
# case insensitive.
|
1145
|
+
# case insensitive. Some eligible fields for filtering are:
|
1146
1146
|
# + `name`
|
1147
1147
|
# + `id`
|
1148
1148
|
# + `labels.<key>` (where *key* is the name of a label)
|
1149
1149
|
# + `parent.type`
|
1150
1150
|
# + `parent.id`
|
1151
|
-
#
|
1151
|
+
# + `lifecycleState`
|
1152
|
+
# Some examples of filter strings:
|
1152
1153
|
# | Filter | Description |
|
1153
1154
|
# |------------------|-----------------------------------------------------|
|
1154
1155
|
# | name:how* | The project's name starts with "how". |
|
@@ -1157,8 +1158,12 @@ module Google
|
|
1157
1158
|
# | NAME:howl | Equivalent to above. |
|
1158
1159
|
# | labels.color:* | The project has the label `color`. |
|
1159
1160
|
# | labels.color:red | The project's label `color` has the value `red`. |
|
1160
|
-
# | labels.color:red labels.size:big |The project's label `color`
|
1161
|
-
# the value `red` and its
|
1161
|
+
# | labels.color:red labels.size:big | The project's label `color` |
|
1162
|
+
# : : has the value `red` and its :
|
1163
|
+
# : : label`size` has the value :
|
1164
|
+
# : : `big`. :
|
1165
|
+
# | lifecycleState:DELETE_REQUESTED | Only show projects that are |
|
1166
|
+
# : : pending deletion. :
|
1162
1167
|
# If no filter is specified, the call will return projects for which the user
|
1163
1168
|
# has the `resourcemanager.projects.get` permission.
|
1164
1169
|
# NOTE: To perform a by-parent query (eg., what projects are directly in a
|
@@ -1278,6 +1283,8 @@ module Google
|
|
1278
1283
|
# NOTE: Removing service accounts from policies or changing their roles can
|
1279
1284
|
# render services completely inoperable. It is important to understand how
|
1280
1285
|
# the service account is being used before removing or updating its roles.
|
1286
|
+
# For additional information about `resource` (e.g. my-project-id) structure
|
1287
|
+
# and identification, see [Resource Names](/apis/design/resource_names).
|
1281
1288
|
# The following constraints apply when using `setIamPolicy()`:
|
1282
1289
|
# + Project does not support `allUsers` and `allAuthenticatedUsers` as
|
1283
1290
|
# `members` in a `Binding` of a `Policy`.
|
@@ -1378,6 +1385,8 @@ module Google
|
|
1378
1385
|
end
|
1379
1386
|
|
1380
1387
|
# Returns permissions that a caller has on the specified Project.
|
1388
|
+
# For additional information about `resource` (e.g. my-project-id) structure
|
1389
|
+
# and identification, see [Resource Names](/apis/design/resource_names).
|
1381
1390
|
# There are no permissions required for making this API call.
|
1382
1391
|
# @param [String] resource
|
1383
1392
|
# REQUIRED: The resource for which the policy detail is being requested.
|
@@ -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 = '20200617'
|
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'
|
@@ -384,7 +384,7 @@ module Google
|
|
384
384
|
end
|
385
385
|
|
386
386
|
# The request sent to the
|
387
|
-
# GetAncestry
|
387
|
+
# [google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.GetAncestry]
|
388
388
|
# method.
|
389
389
|
class GetAncestryRequest
|
390
390
|
include Google::Apis::Core::Hashable
|
@@ -398,7 +398,9 @@ module Google
|
|
398
398
|
end
|
399
399
|
end
|
400
400
|
|
401
|
-
# Response from the
|
401
|
+
# Response from the
|
402
|
+
# projects.getAncestry
|
403
|
+
# method.
|
402
404
|
class GetAncestryResponse
|
403
405
|
include Google::Apis::Core::Hashable
|
404
406
|
|
@@ -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 = '20200617'
|
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'
|
@@ -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 = '20200617'
|
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'
|
@@ -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 = '20200526'
|
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'
|
@@ -1129,7 +1129,7 @@ module Google
|
|
1129
1129
|
end
|
1130
1130
|
end
|
1131
1131
|
|
1132
|
-
# Properties of the SKU instances being reserved.
|
1132
|
+
# Properties of the SKU instances being reserved. Next ID: 9
|
1133
1133
|
class AllocationSpecificSkuAllocationReservedInstanceProperties
|
1134
1134
|
include Google::Apis::Core::Hashable
|
1135
1135
|
|
@@ -1175,6 +1175,13 @@ module Google
|
|
1175
1175
|
# @return [Fixnum]
|
1176
1176
|
attr_accessor :maintenance_freeze_duration_hours
|
1177
1177
|
|
1178
|
+
# Specifies whether this VM may be a stable fleet VM. Setting this to "Periodic"
|
1179
|
+
# designates this VM as a Stable Fleet VM.
|
1180
|
+
# See go/stable-fleet-ug for more details.
|
1181
|
+
# Corresponds to the JSON property `maintenanceInterval`
|
1182
|
+
# @return [String]
|
1183
|
+
attr_accessor :maintenance_interval
|
1184
|
+
|
1178
1185
|
# Minimum cpu platform the reservation.
|
1179
1186
|
# Corresponds to the JSON property `minCpuPlatform`
|
1180
1187
|
# @return [String]
|
@@ -1192,6 +1199,7 @@ module Google
|
|
1192
1199
|
@long_term_release = args[:long_term_release] if args.key?(:long_term_release)
|
1193
1200
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
1194
1201
|
@maintenance_freeze_duration_hours = args[:maintenance_freeze_duration_hours] if args.key?(:maintenance_freeze_duration_hours)
|
1202
|
+
@maintenance_interval = args[:maintenance_interval] if args.key?(:maintenance_interval)
|
1195
1203
|
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
1196
1204
|
end
|
1197
1205
|
end
|
@@ -1210,7 +1218,7 @@ module Google
|
|
1210
1218
|
# @return [Fixnum]
|
1211
1219
|
attr_accessor :in_use_count
|
1212
1220
|
|
1213
|
-
# Properties of the SKU instances being reserved.
|
1221
|
+
# Properties of the SKU instances being reserved. Next ID: 9
|
1214
1222
|
# Corresponds to the JSON property `instanceProperties`
|
1215
1223
|
# @return [Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocationReservedInstanceProperties]
|
1216
1224
|
attr_accessor :instance_properties
|
@@ -2927,8 +2935,12 @@ module Google
|
|
2927
2935
|
end
|
2928
2936
|
|
2929
2937
|
# Represents a Backend Service resource.
|
2930
|
-
# A backend service
|
2931
|
-
#
|
2938
|
+
# A backend service defines how Google Cloud load balancers distribute traffic.
|
2939
|
+
# The backend service configuration contains a set of values, such as the
|
2940
|
+
# protocol used to connect to backends, various distribution and session
|
2941
|
+
# settings, health checks, and timeouts. These settings provide fine-grained
|
2942
|
+
# control over how your load balancer behaves. Most of the settings have default
|
2943
|
+
# values that allow for easy configuration if you need to get started quickly.
|
2932
2944
|
# Backend services in Google Compute Engine can be either regionally or globally
|
2933
2945
|
# scoped.
|
2934
2946
|
# * [Global](/compute/docs/reference/rest/`$api_version`/backendServices) * [
|
@@ -7598,6 +7610,427 @@ module Google
|
|
7598
7610
|
end
|
7599
7611
|
end
|
7600
7612
|
|
7613
|
+
# Represents a Firewall Policy resource. (== resource_for `$api_version`.
|
7614
|
+
# firewallPolicies ==)
|
7615
|
+
class FirewallPolicy
|
7616
|
+
include Google::Apis::Core::Hashable
|
7617
|
+
|
7618
|
+
# A list of associations that belong to this firewall policy.
|
7619
|
+
# Corresponds to the JSON property `associations`
|
7620
|
+
# @return [Array<Google::Apis::ComputeAlpha::FirewallPolicyAssociation>]
|
7621
|
+
attr_accessor :associations
|
7622
|
+
|
7623
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
7624
|
+
# Corresponds to the JSON property `creationTimestamp`
|
7625
|
+
# @return [String]
|
7626
|
+
attr_accessor :creation_timestamp
|
7627
|
+
|
7628
|
+
# An optional description of this resource. Provide this property when you
|
7629
|
+
# create the resource.
|
7630
|
+
# Corresponds to the JSON property `description`
|
7631
|
+
# @return [String]
|
7632
|
+
attr_accessor :description
|
7633
|
+
|
7634
|
+
# User-provided name of the Organization firewall plicy. The name should be
|
7635
|
+
# unique in the organization in which the firewall policy is created. The name
|
7636
|
+
# must be 1-63 characters long, and comply with RFC1035. Specifically, the name
|
7637
|
+
# must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*
|
7638
|
+
# [a-z0-9])?` which means the first character must be a lowercase letter, and
|
7639
|
+
# all following characters must be a dash, lowercase letter, or digit, except
|
7640
|
+
# the last character, which cannot be a dash.
|
7641
|
+
# Corresponds to the JSON property `displayName`
|
7642
|
+
# @return [String]
|
7643
|
+
attr_accessor :display_name
|
7644
|
+
|
7645
|
+
# Specifies a fingerprint for this resource, which is essentially a hash of the
|
7646
|
+
# metadata's contents and used for optimistic locking. The fingerprint is
|
7647
|
+
# initially generated by Compute Engine and changes after every request to
|
7648
|
+
# modify or update metadata. You must always provide an up-to-date fingerprint
|
7649
|
+
# hash in order to update or change metadata, otherwise the request will fail
|
7650
|
+
# with error 412 conditionNotMet.
|
7651
|
+
# To see the latest fingerprint, make get() request to the firewall policy.
|
7652
|
+
# Corresponds to the JSON property `fingerprint`
|
7653
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
7654
|
+
# @return [String]
|
7655
|
+
attr_accessor :fingerprint
|
7656
|
+
|
7657
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
7658
|
+
# defined by the server.
|
7659
|
+
# Corresponds to the JSON property `id`
|
7660
|
+
# @return [Fixnum]
|
7661
|
+
attr_accessor :id
|
7662
|
+
|
7663
|
+
# [Output only] Type of the resource. Always compute#firewallPolicyfor firewall
|
7664
|
+
# policies
|
7665
|
+
# Corresponds to the JSON property `kind`
|
7666
|
+
# @return [String]
|
7667
|
+
attr_accessor :kind
|
7668
|
+
|
7669
|
+
# [Output Only] Name of the resource. It is a numeric ID allocated by GCP which
|
7670
|
+
# uniquely identifies the Firewall Policy.
|
7671
|
+
# Corresponds to the JSON property `name`
|
7672
|
+
# @return [String]
|
7673
|
+
attr_accessor :name
|
7674
|
+
|
7675
|
+
# [Output Only] The parent of the firewall policy.
|
7676
|
+
# Corresponds to the JSON property `parent`
|
7677
|
+
# @return [String]
|
7678
|
+
attr_accessor :parent
|
7679
|
+
|
7680
|
+
# [Output Only] Total count of all firewall policy rule tuples. A firewall
|
7681
|
+
# policy can not exceed a set number of tuples.
|
7682
|
+
# Corresponds to the JSON property `ruleTupleCount`
|
7683
|
+
# @return [Fixnum]
|
7684
|
+
attr_accessor :rule_tuple_count
|
7685
|
+
|
7686
|
+
# A list of rules that belong to this policy. There must always be a default
|
7687
|
+
# rule (rule with priority 2147483647 and match "*"). If no rules are provided
|
7688
|
+
# when creating a firewall policy, a default rule with action "allow" will be
|
7689
|
+
# added.
|
7690
|
+
# Corresponds to the JSON property `rules`
|
7691
|
+
# @return [Array<Google::Apis::ComputeAlpha::FirewallPolicyRule>]
|
7692
|
+
attr_accessor :rules
|
7693
|
+
|
7694
|
+
# [Output Only] Server-defined URL for the resource.
|
7695
|
+
# Corresponds to the JSON property `selfLink`
|
7696
|
+
# @return [String]
|
7697
|
+
attr_accessor :self_link
|
7698
|
+
|
7699
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
7700
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
7701
|
+
# @return [String]
|
7702
|
+
attr_accessor :self_link_with_id
|
7703
|
+
|
7704
|
+
def initialize(**args)
|
7705
|
+
update!(**args)
|
7706
|
+
end
|
7707
|
+
|
7708
|
+
# Update properties of this object
|
7709
|
+
def update!(**args)
|
7710
|
+
@associations = args[:associations] if args.key?(:associations)
|
7711
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
7712
|
+
@description = args[:description] if args.key?(:description)
|
7713
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
7714
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
7715
|
+
@id = args[:id] if args.key?(:id)
|
7716
|
+
@kind = args[:kind] if args.key?(:kind)
|
7717
|
+
@name = args[:name] if args.key?(:name)
|
7718
|
+
@parent = args[:parent] if args.key?(:parent)
|
7719
|
+
@rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
|
7720
|
+
@rules = args[:rules] if args.key?(:rules)
|
7721
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
7722
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
7723
|
+
end
|
7724
|
+
end
|
7725
|
+
|
7726
|
+
#
|
7727
|
+
class FirewallPolicyAssociation
|
7728
|
+
include Google::Apis::Core::Hashable
|
7729
|
+
|
7730
|
+
# The target that the firewall policy is attached to.
|
7731
|
+
# Corresponds to the JSON property `attachmentTarget`
|
7732
|
+
# @return [String]
|
7733
|
+
attr_accessor :attachment_target
|
7734
|
+
|
7735
|
+
# [Output Only] The display name of the firewall policy of the association.
|
7736
|
+
# Corresponds to the JSON property `displayName`
|
7737
|
+
# @return [String]
|
7738
|
+
attr_accessor :display_name
|
7739
|
+
|
7740
|
+
# [Output Only] The firewall policy ID of the association.
|
7741
|
+
# Corresponds to the JSON property `firewallPolicyId`
|
7742
|
+
# @return [String]
|
7743
|
+
attr_accessor :firewall_policy_id
|
7744
|
+
|
7745
|
+
# The name for an association.
|
7746
|
+
# Corresponds to the JSON property `name`
|
7747
|
+
# @return [String]
|
7748
|
+
attr_accessor :name
|
7749
|
+
|
7750
|
+
def initialize(**args)
|
7751
|
+
update!(**args)
|
7752
|
+
end
|
7753
|
+
|
7754
|
+
# Update properties of this object
|
7755
|
+
def update!(**args)
|
7756
|
+
@attachment_target = args[:attachment_target] if args.key?(:attachment_target)
|
7757
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
7758
|
+
@firewall_policy_id = args[:firewall_policy_id] if args.key?(:firewall_policy_id)
|
7759
|
+
@name = args[:name] if args.key?(:name)
|
7760
|
+
end
|
7761
|
+
end
|
7762
|
+
|
7763
|
+
#
|
7764
|
+
class FirewallPolicyList
|
7765
|
+
include Google::Apis::Core::Hashable
|
7766
|
+
|
7767
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
7768
|
+
# Corresponds to the JSON property `id`
|
7769
|
+
# @return [String]
|
7770
|
+
attr_accessor :id
|
7771
|
+
|
7772
|
+
# A list of FirewallPolicy resources.
|
7773
|
+
# Corresponds to the JSON property `items`
|
7774
|
+
# @return [Array<Google::Apis::ComputeAlpha::FirewallPolicy>]
|
7775
|
+
attr_accessor :items
|
7776
|
+
|
7777
|
+
# [Output Only] Type of resource. Always compute#firewallPolicyList for listsof
|
7778
|
+
# FirewallPolicies
|
7779
|
+
# Corresponds to the JSON property `kind`
|
7780
|
+
# @return [String]
|
7781
|
+
attr_accessor :kind
|
7782
|
+
|
7783
|
+
# [Output Only] This token allows you to get the next page of results for list
|
7784
|
+
# requests. If the number of results is larger than maxResults, use the
|
7785
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
7786
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
7787
|
+
# continue paging through the results.
|
7788
|
+
# Corresponds to the JSON property `nextPageToken`
|
7789
|
+
# @return [String]
|
7790
|
+
attr_accessor :next_page_token
|
7791
|
+
|
7792
|
+
# [Output Only] Informational warning message.
|
7793
|
+
# Corresponds to the JSON property `warning`
|
7794
|
+
# @return [Google::Apis::ComputeAlpha::FirewallPolicyList::Warning]
|
7795
|
+
attr_accessor :warning
|
7796
|
+
|
7797
|
+
def initialize(**args)
|
7798
|
+
update!(**args)
|
7799
|
+
end
|
7800
|
+
|
7801
|
+
# Update properties of this object
|
7802
|
+
def update!(**args)
|
7803
|
+
@id = args[:id] if args.key?(:id)
|
7804
|
+
@items = args[:items] if args.key?(:items)
|
7805
|
+
@kind = args[:kind] if args.key?(:kind)
|
7806
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
7807
|
+
@warning = args[:warning] if args.key?(:warning)
|
7808
|
+
end
|
7809
|
+
|
7810
|
+
# [Output Only] Informational warning message.
|
7811
|
+
class Warning
|
7812
|
+
include Google::Apis::Core::Hashable
|
7813
|
+
|
7814
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
7815
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
7816
|
+
# Corresponds to the JSON property `code`
|
7817
|
+
# @return [String]
|
7818
|
+
attr_accessor :code
|
7819
|
+
|
7820
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
7821
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
7822
|
+
# Corresponds to the JSON property `data`
|
7823
|
+
# @return [Array<Google::Apis::ComputeAlpha::FirewallPolicyList::Warning::Datum>]
|
7824
|
+
attr_accessor :data
|
7825
|
+
|
7826
|
+
# [Output Only] A human-readable description of the warning code.
|
7827
|
+
# Corresponds to the JSON property `message`
|
7828
|
+
# @return [String]
|
7829
|
+
attr_accessor :message
|
7830
|
+
|
7831
|
+
def initialize(**args)
|
7832
|
+
update!(**args)
|
7833
|
+
end
|
7834
|
+
|
7835
|
+
# Update properties of this object
|
7836
|
+
def update!(**args)
|
7837
|
+
@code = args[:code] if args.key?(:code)
|
7838
|
+
@data = args[:data] if args.key?(:data)
|
7839
|
+
@message = args[:message] if args.key?(:message)
|
7840
|
+
end
|
7841
|
+
|
7842
|
+
#
|
7843
|
+
class Datum
|
7844
|
+
include Google::Apis::Core::Hashable
|
7845
|
+
|
7846
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
7847
|
+
# For example, for warnings where there are no results in a list request for a
|
7848
|
+
# particular zone, this key might be scope and the key value might be the zone
|
7849
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
7850
|
+
# suggested replacement, or a warning about invalid network settings (for
|
7851
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
7852
|
+
# for IP forwarding).
|
7853
|
+
# Corresponds to the JSON property `key`
|
7854
|
+
# @return [String]
|
7855
|
+
attr_accessor :key
|
7856
|
+
|
7857
|
+
# [Output Only] A warning data value corresponding to the key.
|
7858
|
+
# Corresponds to the JSON property `value`
|
7859
|
+
# @return [String]
|
7860
|
+
attr_accessor :value
|
7861
|
+
|
7862
|
+
def initialize(**args)
|
7863
|
+
update!(**args)
|
7864
|
+
end
|
7865
|
+
|
7866
|
+
# Update properties of this object
|
7867
|
+
def update!(**args)
|
7868
|
+
@key = args[:key] if args.key?(:key)
|
7869
|
+
@value = args[:value] if args.key?(:value)
|
7870
|
+
end
|
7871
|
+
end
|
7872
|
+
end
|
7873
|
+
end
|
7874
|
+
|
7875
|
+
# Represents a rule that describes one or more match conditions along with the
|
7876
|
+
# action to be taken when traffic matches this condition (allow or deny).
|
7877
|
+
class FirewallPolicyRule
|
7878
|
+
include Google::Apis::Core::Hashable
|
7879
|
+
|
7880
|
+
# The Action to perform when the client connection triggers the rule. Can
|
7881
|
+
# currently be either "allow" or "deny()" where valid values for status are 403,
|
7882
|
+
# 404, and 502.
|
7883
|
+
# Corresponds to the JSON property `action`
|
7884
|
+
# @return [String]
|
7885
|
+
attr_accessor :action
|
7886
|
+
|
7887
|
+
# An optional description of this resource. Provide this property when you
|
7888
|
+
# create the resource.
|
7889
|
+
# Corresponds to the JSON property `description`
|
7890
|
+
# @return [String]
|
7891
|
+
attr_accessor :description
|
7892
|
+
|
7893
|
+
# The direction in which this rule applies.
|
7894
|
+
# Corresponds to the JSON property `direction`
|
7895
|
+
# @return [String]
|
7896
|
+
attr_accessor :direction
|
7897
|
+
|
7898
|
+
# Denotes whether to enable logging for a particular rule. If logging is enabled,
|
7899
|
+
# logs will be exported to the configured export destination in Stackdriver.
|
7900
|
+
# Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging
|
7901
|
+
# on "goto_next" rules.
|
7902
|
+
# Corresponds to the JSON property `enableLogging`
|
7903
|
+
# @return [Boolean]
|
7904
|
+
attr_accessor :enable_logging
|
7905
|
+
alias_method :enable_logging?, :enable_logging
|
7906
|
+
|
7907
|
+
# [Output only] Type of the resource. Always compute#firewallPolicyRule for
|
7908
|
+
# firewall policy rules
|
7909
|
+
# Corresponds to the JSON property `kind`
|
7910
|
+
# @return [String]
|
7911
|
+
attr_accessor :kind
|
7912
|
+
|
7913
|
+
# Represents a match condition that incoming traffic is evaluated against.
|
7914
|
+
# Exactly one field must be specified.
|
7915
|
+
# Corresponds to the JSON property `match`
|
7916
|
+
# @return [Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcher]
|
7917
|
+
attr_accessor :match
|
7918
|
+
|
7919
|
+
# If set to true, the specified action is not enforced.
|
7920
|
+
# Corresponds to the JSON property `preview`
|
7921
|
+
# @return [Boolean]
|
7922
|
+
attr_accessor :preview
|
7923
|
+
alias_method :preview?, :preview
|
7924
|
+
|
7925
|
+
# An integer indicating the priority of a rule in the list. The priority must be
|
7926
|
+
# a positive value between 0 and 2147483647. Rules are evaluated from highest to
|
7927
|
+
# lowest priority where 0 is the highest priority and 2147483647 is the lowest
|
7928
|
+
# prority.
|
7929
|
+
# Corresponds to the JSON property `priority`
|
7930
|
+
# @return [Fixnum]
|
7931
|
+
attr_accessor :priority
|
7932
|
+
|
7933
|
+
# [Output Only] Calculation of the complexity of a single firewall policy rule.
|
7934
|
+
# Corresponds to the JSON property `ruleTupleCount`
|
7935
|
+
# @return [Fixnum]
|
7936
|
+
attr_accessor :rule_tuple_count
|
7937
|
+
|
7938
|
+
# A list of network resource URLs to which this rule applies. This field allows
|
7939
|
+
# you to control which network?s VMs get this rule. If this field is left blank,
|
7940
|
+
# all VMs within the organization will receive the rule.
|
7941
|
+
# Corresponds to the JSON property `targetResources`
|
7942
|
+
# @return [Array<String>]
|
7943
|
+
attr_accessor :target_resources
|
7944
|
+
|
7945
|
+
# A list of service accounts indicating the sets of instances that are applied
|
7946
|
+
# with this rule.
|
7947
|
+
# Corresponds to the JSON property `targetServiceAccounts`
|
7948
|
+
# @return [Array<String>]
|
7949
|
+
attr_accessor :target_service_accounts
|
7950
|
+
|
7951
|
+
def initialize(**args)
|
7952
|
+
update!(**args)
|
7953
|
+
end
|
7954
|
+
|
7955
|
+
# Update properties of this object
|
7956
|
+
def update!(**args)
|
7957
|
+
@action = args[:action] if args.key?(:action)
|
7958
|
+
@description = args[:description] if args.key?(:description)
|
7959
|
+
@direction = args[:direction] if args.key?(:direction)
|
7960
|
+
@enable_logging = args[:enable_logging] if args.key?(:enable_logging)
|
7961
|
+
@kind = args[:kind] if args.key?(:kind)
|
7962
|
+
@match = args[:match] if args.key?(:match)
|
7963
|
+
@preview = args[:preview] if args.key?(:preview)
|
7964
|
+
@priority = args[:priority] if args.key?(:priority)
|
7965
|
+
@rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
|
7966
|
+
@target_resources = args[:target_resources] if args.key?(:target_resources)
|
7967
|
+
@target_service_accounts = args[:target_service_accounts] if args.key?(:target_service_accounts)
|
7968
|
+
end
|
7969
|
+
end
|
7970
|
+
|
7971
|
+
# Represents a match condition that incoming traffic is evaluated against.
|
7972
|
+
# Exactly one field must be specified.
|
7973
|
+
class FirewallPolicyRuleMatcher
|
7974
|
+
include Google::Apis::Core::Hashable
|
7975
|
+
|
7976
|
+
# CIDR IP address range.
|
7977
|
+
# Corresponds to the JSON property `destIpRanges`
|
7978
|
+
# @return [Array<String>]
|
7979
|
+
attr_accessor :dest_ip_ranges
|
7980
|
+
|
7981
|
+
# Pairs of IP protocols and ports that the rule should match.
|
7982
|
+
# Corresponds to the JSON property `layer4Configs`
|
7983
|
+
# @return [Array<Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcherLayer4Config>]
|
7984
|
+
attr_accessor :layer4_configs
|
7985
|
+
|
7986
|
+
# CIDR IP address range.
|
7987
|
+
# Corresponds to the JSON property `srcIpRanges`
|
7988
|
+
# @return [Array<String>]
|
7989
|
+
attr_accessor :src_ip_ranges
|
7990
|
+
|
7991
|
+
def initialize(**args)
|
7992
|
+
update!(**args)
|
7993
|
+
end
|
7994
|
+
|
7995
|
+
# Update properties of this object
|
7996
|
+
def update!(**args)
|
7997
|
+
@dest_ip_ranges = args[:dest_ip_ranges] if args.key?(:dest_ip_ranges)
|
7998
|
+
@layer4_configs = args[:layer4_configs] if args.key?(:layer4_configs)
|
7999
|
+
@src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges)
|
8000
|
+
end
|
8001
|
+
end
|
8002
|
+
|
8003
|
+
#
|
8004
|
+
class FirewallPolicyRuleMatcherLayer4Config
|
8005
|
+
include Google::Apis::Core::Hashable
|
8006
|
+
|
8007
|
+
# The IP protocol to which this rule applies. The protocol type is required when
|
8008
|
+
# creating a firewall rule. This value can either be one of the following well
|
8009
|
+
# known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP
|
8010
|
+
# protocol number.
|
8011
|
+
# Corresponds to the JSON property `ipProtocol`
|
8012
|
+
# @return [String]
|
8013
|
+
attr_accessor :ip_protocol
|
8014
|
+
|
8015
|
+
# An optional list of ports to which this rule applies. This field is only
|
8016
|
+
# applicable for UDP or TCP protocol. Each entry must be either an integer or a
|
8017
|
+
# range. If not specified, this rule applies to connections through any port.
|
8018
|
+
# Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
|
8019
|
+
# Corresponds to the JSON property `ports`
|
8020
|
+
# @return [Array<String>]
|
8021
|
+
attr_accessor :ports
|
8022
|
+
|
8023
|
+
def initialize(**args)
|
8024
|
+
update!(**args)
|
8025
|
+
end
|
8026
|
+
|
8027
|
+
# Update properties of this object
|
8028
|
+
def update!(**args)
|
8029
|
+
@ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol)
|
8030
|
+
@ports = args[:ports] if args.key?(:ports)
|
8031
|
+
end
|
8032
|
+
end
|
8033
|
+
|
7601
8034
|
# Encapsulates numeric value that can be either absolute or relative.
|
7602
8035
|
class FixedOrPercent
|
7603
8036
|
include Google::Apis::Core::Hashable
|
@@ -11957,7 +12390,7 @@ module Google
|
|
11957
12390
|
# @return [Array<String>]
|
11958
12391
|
attr_accessor :resource_policies
|
11959
12392
|
|
11960
|
-
# Sets the scheduling options for an Instance. NextID:
|
12393
|
+
# Sets the scheduling options for an Instance. NextID: 12
|
11961
12394
|
# Corresponds to the JSON property `scheduling`
|
11962
12395
|
# @return [Google::Apis::ComputeAlpha::Scheduling]
|
11963
12396
|
attr_accessor :scheduling
|
@@ -13296,6 +13729,11 @@ module Google
|
|
13296
13729
|
attr_accessor :is_stateful
|
13297
13730
|
alias_method :is_stateful?, :is_stateful
|
13298
13731
|
|
13732
|
+
# [Output Only] Status of per-instance configs on the instance.
|
13733
|
+
# Corresponds to the JSON property `perInstanceConfigs`
|
13734
|
+
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusStatefulPerInstanceConfigs]
|
13735
|
+
attr_accessor :per_instance_configs
|
13736
|
+
|
13299
13737
|
def initialize(**args)
|
13300
13738
|
update!(**args)
|
13301
13739
|
end
|
@@ -13304,6 +13742,29 @@ module Google
|
|
13304
13742
|
def update!(**args)
|
13305
13743
|
@has_stateful_config = args[:has_stateful_config] if args.key?(:has_stateful_config)
|
13306
13744
|
@is_stateful = args[:is_stateful] if args.key?(:is_stateful)
|
13745
|
+
@per_instance_configs = args[:per_instance_configs] if args.key?(:per_instance_configs)
|
13746
|
+
end
|
13747
|
+
end
|
13748
|
+
|
13749
|
+
#
|
13750
|
+
class InstanceGroupManagerStatusStatefulPerInstanceConfigs
|
13751
|
+
include Google::Apis::Core::Hashable
|
13752
|
+
|
13753
|
+
# A bit indicating if all of the group's per-instance configs (listed in the
|
13754
|
+
# output of a listPerInstanceConfigs API call) have status EFFECTIVE or there
|
13755
|
+
# are no per-instance-configs.
|
13756
|
+
# Corresponds to the JSON property `allEffective`
|
13757
|
+
# @return [Boolean]
|
13758
|
+
attr_accessor :all_effective
|
13759
|
+
alias_method :all_effective?, :all_effective
|
13760
|
+
|
13761
|
+
def initialize(**args)
|
13762
|
+
update!(**args)
|
13763
|
+
end
|
13764
|
+
|
13765
|
+
# Update properties of this object
|
13766
|
+
def update!(**args)
|
13767
|
+
@all_effective = args[:all_effective] if args.key?(:all_effective)
|
13307
13768
|
end
|
13308
13769
|
end
|
13309
13770
|
|
@@ -14766,7 +15227,7 @@ module Google
|
|
14766
15227
|
# @return [Array<String>]
|
14767
15228
|
attr_accessor :resource_policies
|
14768
15229
|
|
14769
|
-
# Sets the scheduling options for an Instance. NextID:
|
15230
|
+
# Sets the scheduling options for an Instance. NextID: 12
|
14770
15231
|
# Corresponds to the JSON property `scheduling`
|
14771
15232
|
# @return [Google::Apis::ComputeAlpha::Scheduling]
|
14772
15233
|
attr_accessor :scheduling
|
@@ -18139,7 +18600,8 @@ module Google
|
|
18139
18600
|
# @return [String]
|
18140
18601
|
attr_accessor :status
|
18141
18602
|
|
18142
|
-
#
|
18603
|
+
# The regional or multi-regional Cloud Storage bucket location where the machine
|
18604
|
+
# image is stored.
|
18143
18605
|
# Corresponds to the JSON property `storageLocations`
|
18144
18606
|
# @return [Array<String>]
|
18145
18607
|
attr_accessor :storage_locations
|
@@ -19253,6 +19715,11 @@ module Google
|
|
19253
19715
|
# @return [String]
|
19254
19716
|
attr_accessor :description
|
19255
19717
|
|
19718
|
+
# [Output Only] URL of the firewall policy the network is associated with.
|
19719
|
+
# Corresponds to the JSON property `firewallPolicy`
|
19720
|
+
# @return [String]
|
19721
|
+
attr_accessor :firewall_policy
|
19722
|
+
|
19256
19723
|
# [Output Only] The gateway address for default routing out of the network,
|
19257
19724
|
# selected by GCP.
|
19258
19725
|
# Corresponds to the JSON property `gatewayIPv4`
|
@@ -19324,6 +19791,7 @@ module Google
|
|
19324
19791
|
@auto_create_subnetworks = args[:auto_create_subnetworks] if args.key?(:auto_create_subnetworks)
|
19325
19792
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
19326
19793
|
@description = args[:description] if args.key?(:description)
|
19794
|
+
@firewall_policy = args[:firewall_policy] if args.key?(:firewall_policy)
|
19327
19795
|
@gateway_i_pv4 = args[:gateway_i_pv4] if args.key?(:gateway_i_pv4)
|
19328
19796
|
@id = args[:id] if args.key?(:id)
|
19329
19797
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -24411,6 +24879,12 @@ module Google
|
|
24411
24879
|
# @return [Google::Apis::ComputeAlpha::PreservedState]
|
24412
24880
|
attr_accessor :preserved_state
|
24413
24881
|
|
24882
|
+
# The status of applying this per-instance config on the corresponding managed
|
24883
|
+
# instance.
|
24884
|
+
# Corresponds to the JSON property `status`
|
24885
|
+
# @return [String]
|
24886
|
+
attr_accessor :status
|
24887
|
+
|
24414
24888
|
def initialize(**args)
|
24415
24889
|
update!(**args)
|
24416
24890
|
end
|
@@ -24420,6 +24894,7 @@ module Google
|
|
24420
24894
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
24421
24895
|
@name = args[:name] if args.key?(:name)
|
24422
24896
|
@preserved_state = args[:preserved_state] if args.key?(:preserved_state)
|
24897
|
+
@status = args[:status] if args.key?(:status)
|
24423
24898
|
end
|
24424
24899
|
end
|
24425
24900
|
|
@@ -30747,7 +31222,7 @@ module Google
|
|
30747
31222
|
end
|
30748
31223
|
end
|
30749
31224
|
|
30750
|
-
# Sets the scheduling options for an Instance. NextID:
|
31225
|
+
# Sets the scheduling options for an Instance. NextID: 12
|
30751
31226
|
class Scheduling
|
30752
31227
|
include Google::Apis::Core::Hashable
|
30753
31228
|
|
@@ -31621,14 +32096,7 @@ module Google
|
|
31621
32096
|
class SecuritySettings
|
31622
32097
|
include Google::Apis::Core::Hashable
|
31623
32098
|
|
31624
|
-
#
|
31625
|
-
# how clients should authenticate with this service's backends. If left blank,
|
31626
|
-
# communications between services are not encrypted (i.e., the TLS policy is set
|
31627
|
-
# to OPEN). When sending traffic to this service's backends, the OriginationTls
|
31628
|
-
# setting of Authentication.TransportAuthentication is applied. Refer to the
|
31629
|
-
# Authentication and Authentication.TransportAuthentication.OriginationTls
|
31630
|
-
# resources for additional details. authentication only applies to a global
|
31631
|
-
# BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
32099
|
+
# [Deprecated] Use clientTlsPolicy instead.
|
31632
32100
|
# Corresponds to the JSON property `authentication`
|
31633
32101
|
# @return [String]
|
31634
32102
|
attr_accessor :authentication
|
@@ -31645,18 +32113,33 @@ module Google
|
|
31645
32113
|
# @return [Google::Apis::ComputeAlpha::AuthorizationConfig]
|
31646
32114
|
attr_accessor :authorization_config
|
31647
32115
|
|
32116
|
+
# Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that
|
32117
|
+
# describes how clients should authenticate with this service's backends.
|
32118
|
+
# clientTlsPolicy only applies to a global BackendService with the
|
32119
|
+
# loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
32120
|
+
# If left blank, communications are not encrypted.
|
32121
|
+
# Corresponds to the JSON property `clientTlsPolicy`
|
32122
|
+
# @return [String]
|
32123
|
+
attr_accessor :client_tls_policy
|
32124
|
+
|
31648
32125
|
# [Deprecated] The client side authentication settings for connection
|
31649
32126
|
# originating from the backend service. the backend service.
|
31650
32127
|
# Corresponds to the JSON property `clientTlsSettings`
|
31651
32128
|
# @return [Google::Apis::ComputeAlpha::ClientTlsSettings]
|
31652
32129
|
attr_accessor :client_tls_settings
|
31653
32130
|
|
31654
|
-
# Optional. A list of
|
31655
|
-
#
|
31656
|
-
#
|
31657
|
-
# the
|
31658
|
-
#
|
31659
|
-
#
|
32131
|
+
# Optional. A list of Subject Alternative Names (SANs) that the client verifies
|
32132
|
+
# during a mutual TLS handshake with an server/endpoint for this BackendService.
|
32133
|
+
# When the server presents its X.509 certificate to the client, the client
|
32134
|
+
# inspects the certificate's subjectAltName field. If the field contains one of
|
32135
|
+
# the specified values, the communication continues. Otherwise, it fails. This
|
32136
|
+
# additional check enables the client to verify that the server is authorized to
|
32137
|
+
# run the requested service.
|
32138
|
+
# Note that the contents of the server certificate's subjectAltName field are
|
32139
|
+
# configured by the Public Key Infrastructure which provisions server identities.
|
32140
|
+
# Only applies to a global BackendService with loadBalancingScheme set to
|
32141
|
+
# INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached
|
32142
|
+
# clientTlsPolicy with clientCertificate (mTLS mode).
|
31660
32143
|
# Corresponds to the JSON property `subjectAltNames`
|
31661
32144
|
# @return [Array<String>]
|
31662
32145
|
attr_accessor :subject_alt_names
|
@@ -31670,6 +32153,7 @@ module Google
|
|
31670
32153
|
@authentication = args[:authentication] if args.key?(:authentication)
|
31671
32154
|
@authentication_policy = args[:authentication_policy] if args.key?(:authentication_policy)
|
31672
32155
|
@authorization_config = args[:authorization_config] if args.key?(:authorization_config)
|
32156
|
+
@client_tls_policy = args[:client_tls_policy] if args.key?(:client_tls_policy)
|
31673
32157
|
@client_tls_settings = args[:client_tls_settings] if args.key?(:client_tls_settings)
|
31674
32158
|
@subject_alt_names = args[:subject_alt_names] if args.key?(:subject_alt_names)
|
31675
32159
|
end
|
@@ -32732,7 +33216,7 @@ module Google
|
|
32732
33216
|
# @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
|
32733
33217
|
attr_accessor :network_interfaces
|
32734
33218
|
|
32735
|
-
# Sets the scheduling options for an Instance. NextID:
|
33219
|
+
# Sets the scheduling options for an Instance. NextID: 12
|
32736
33220
|
# Corresponds to the JSON property `scheduling`
|
32737
33221
|
# @return [Google::Apis::ComputeAlpha::Scheduling]
|
32738
33222
|
attr_accessor :scheduling
|
@@ -32784,9 +33268,9 @@ module Google
|
|
32784
33268
|
# to five PEM-encoded certificates. The API call creates an object (
|
32785
33269
|
# sslCertificate) that holds this data. You can use SSL keys and certificates to
|
32786
33270
|
# secure connections to a load balancer. For more information, read Creating
|
32787
|
-
# and using SSL certificates
|
32788
|
-
#
|
32789
|
-
#
|
33271
|
+
# and using SSL certificates, SSL certificates quotas and limits, and
|
33272
|
+
# Troubleshooting SSL certificates. (== resource_for `$api_version`.
|
33273
|
+
# sslCertificates ==) (== resource_for `$api_version`.regionSslCertificates ==)
|
32790
33274
|
class SslCertificate
|
32791
33275
|
include Google::Apis::Core::Hashable
|
32792
33276
|
|
@@ -35351,31 +35835,27 @@ module Google
|
|
35351
35835
|
class TargetHttpsProxy
|
35352
35836
|
include Google::Apis::Core::Hashable
|
35353
35837
|
|
35354
|
-
#
|
35355
|
-
# how the proxy should authenticate inbound traffic. If left blank,
|
35356
|
-
# communications between services are not encrypted (i.e., the TLS policy is set
|
35357
|
-
# to OPEN). When terminating inbound traffic to this proxy, the TerminationTls
|
35358
|
-
# setting of Authentication.TransportAuthentication is applied.
|
35359
|
-
# Refer to the Authentication and Authentication.TransportAuthentication.
|
35360
|
-
# TerminationTls resources for additional details.
|
35361
|
-
# authentication only applies to a global TargetHttpsProxy attached to
|
35362
|
-
# globalForwardingRules with the loadBalancingScheme set to
|
35363
|
-
# INTERNAL_SELF_MANAGED.
|
35838
|
+
# [Deprecated] Use serverTlsPolicy instead.
|
35364
35839
|
# Corresponds to the JSON property `authentication`
|
35365
35840
|
# @return [String]
|
35366
35841
|
attr_accessor :authentication
|
35367
35842
|
|
35368
|
-
#
|
35369
|
-
# the proxy should authorize inbound traffic. If left blank, access will not be
|
35370
|
-
# restricted by an authorization policy.
|
35371
|
-
# Refer to the Authorization resource for additional details.
|
35372
|
-
# authorization only applies to a global TargetHttpsProxy attached to
|
35373
|
-
# globalForwardingRules with the loadBalancingScheme set to
|
35374
|
-
# INTERNAL_SELF_MANAGED.
|
35843
|
+
# [Deprecated] Use authorizationPolicy instead.
|
35375
35844
|
# Corresponds to the JSON property `authorization`
|
35376
35845
|
# @return [String]
|
35377
35846
|
attr_accessor :authorization
|
35378
35847
|
|
35848
|
+
# Optional. A URL referring to a networksecurity.AuthorizationPolicy resource
|
35849
|
+
# that describes how the proxy should authorize inbound traffic. If left blank,
|
35850
|
+
# access will not be restricted by an authorization policy.
|
35851
|
+
# Refer to the AuthorizationPolicy resource for additional details.
|
35852
|
+
# authorizationPolicy only applies to a global TargetHttpsProxy attached to
|
35853
|
+
# globalForwardingRules with the loadBalancingScheme set to
|
35854
|
+
# INTERNAL_SELF_MANAGED.
|
35855
|
+
# Corresponds to the JSON property `authorizationPolicy`
|
35856
|
+
# @return [String]
|
35857
|
+
attr_accessor :authorization_policy
|
35858
|
+
|
35379
35859
|
# URL of a certificate map that identifies a certificate map associated with the
|
35380
35860
|
# given target proxy. This field can only be set for global target proxies. If
|
35381
35861
|
# set, sslCertificates will be ignored.
|
@@ -35453,6 +35933,16 @@ module Google
|
|
35453
35933
|
# @return [String]
|
35454
35934
|
attr_accessor :self_link_with_id
|
35455
35935
|
|
35936
|
+
# Optional. A URL referring to a networksecurity.ServerTlsPolicy resource that
|
35937
|
+
# describes how the proxy should authenticate inbound traffic.
|
35938
|
+
# serverTlsPolicy only applies to a global TargetHttpsProxy attached to
|
35939
|
+
# globalForwardingRules with the loadBalancingScheme set to
|
35940
|
+
# INTERNAL_SELF_MANAGED.
|
35941
|
+
# If left blank, communications are not encrypted.
|
35942
|
+
# Corresponds to the JSON property `serverTlsPolicy`
|
35943
|
+
# @return [String]
|
35944
|
+
attr_accessor :server_tls_policy
|
35945
|
+
|
35456
35946
|
# URLs to SslCertificate resources that are used to authenticate connections
|
35457
35947
|
# between users and the load balancer. At least one SSL certificate must be
|
35458
35948
|
# specified. Currently, you may specify up to 15 SSL certificates.
|
@@ -35485,6 +35975,7 @@ module Google
|
|
35485
35975
|
def update!(**args)
|
35486
35976
|
@authentication = args[:authentication] if args.key?(:authentication)
|
35487
35977
|
@authorization = args[:authorization] if args.key?(:authorization)
|
35978
|
+
@authorization_policy = args[:authorization_policy] if args.key?(:authorization_policy)
|
35488
35979
|
@certificate_map = args[:certificate_map] if args.key?(:certificate_map)
|
35489
35980
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
35490
35981
|
@description = args[:description] if args.key?(:description)
|
@@ -35496,6 +35987,7 @@ module Google
|
|
35496
35987
|
@region = args[:region] if args.key?(:region)
|
35497
35988
|
@self_link = args[:self_link] if args.key?(:self_link)
|
35498
35989
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
35990
|
+
@server_tls_policy = args[:server_tls_policy] if args.key?(:server_tls_policy)
|
35499
35991
|
@ssl_certificates = args[:ssl_certificates] if args.key?(:ssl_certificates)
|
35500
35992
|
@ssl_policy = args[:ssl_policy] if args.key?(:ssl_policy)
|
35501
35993
|
@url_map = args[:url_map] if args.key?(:url_map)
|