google-api-client 0.30.10 → 0.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +42 -0
  3. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  4. data/generated/google/apis/alertcenter_v1beta1/classes.rb +52 -0
  5. data/generated/google/apis/alertcenter_v1beta1/representations.rb +29 -0
  6. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  7. data/generated/google/apis/androidenterprise_v1/classes.rb +0 -6
  8. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -2
  9. data/generated/google/apis/androidenterprise_v1/service.rb +1 -2
  10. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  11. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -6
  12. data/generated/google/apis/androidpublisher_v2/representations.rb +0 -1
  13. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  14. data/generated/google/apis/androidpublisher_v3/classes.rb +0 -6
  15. data/generated/google/apis/androidpublisher_v3/representations.rb +0 -1
  16. data/generated/google/apis/bigquery_v2.rb +1 -1
  17. data/generated/google/apis/bigquery_v2/classes.rb +15 -9
  18. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  19. data/generated/google/apis/bigquery_v2/service.rb +24 -24
  20. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  21. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +11 -4
  22. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  23. data/generated/google/apis/bigtableadmin_v2/classes.rb +11 -4
  24. data/generated/google/apis/bigtableadmin_v2/service.rb +104 -0
  25. data/generated/google/apis/calendar_v3.rb +1 -1
  26. data/generated/google/apis/calendar_v3/classes.rb +2 -2
  27. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  28. data/generated/google/apis/cloudtasks_v2/classes.rb +11 -4
  29. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  30. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +11 -4
  31. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  32. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -4
  33. data/generated/google/apis/compute_alpha.rb +1 -1
  34. data/generated/google/apis/compute_alpha/classes.rb +20 -6
  35. data/generated/google/apis/compute_alpha/representations.rb +1 -0
  36. data/generated/google/apis/compute_beta.rb +1 -1
  37. data/generated/google/apis/compute_beta/classes.rb +112 -6
  38. data/generated/google/apis/compute_beta/representations.rb +58 -0
  39. data/generated/google/apis/compute_beta/service.rb +118 -0
  40. data/generated/google/apis/compute_v1.rb +1 -1
  41. data/generated/google/apis/compute_v1/classes.rb +1095 -7
  42. data/generated/google/apis/compute_v1/representations.rb +483 -0
  43. data/generated/google/apis/compute_v1/service.rb +2307 -468
  44. data/generated/google/apis/container_v1.rb +1 -1
  45. data/generated/google/apis/container_v1/classes.rb +3 -3
  46. data/generated/google/apis/container_v1beta1.rb +1 -1
  47. data/generated/google/apis/container_v1beta1/classes.rb +108 -3
  48. data/generated/google/apis/container_v1beta1/representations.rb +35 -0
  49. data/generated/google/apis/dialogflow_v2.rb +1 -1
  50. data/generated/google/apis/dialogflow_v2/classes.rb +41 -0
  51. data/generated/google/apis/dialogflow_v2/representations.rb +17 -0
  52. data/generated/google/apis/dialogflow_v2/service.rb +78 -0
  53. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  54. data/generated/google/apis/dialogflow_v2beta1/classes.rb +41 -90
  55. data/generated/google/apis/dialogflow_v2beta1/representations.rb +17 -55
  56. data/generated/google/apis/dialogflow_v2beta1/service.rb +78 -75
  57. data/generated/google/apis/dns_v1.rb +1 -1
  58. data/generated/google/apis/dns_v1/classes.rb +330 -4
  59. data/generated/google/apis/dns_v1/representations.rb +149 -0
  60. data/generated/google/apis/dns_v1/service.rb +246 -0
  61. data/generated/google/apis/dns_v1beta2.rb +1 -1
  62. data/generated/google/apis/dns_v1beta2/classes.rb +8 -8
  63. data/generated/google/apis/dns_v2beta1.rb +1 -1
  64. data/generated/google/apis/dns_v2beta1/classes.rb +330 -4
  65. data/generated/google/apis/dns_v2beta1/representations.rb +149 -0
  66. data/generated/google/apis/dns_v2beta1/service.rb +246 -0
  67. data/generated/google/apis/iam_v1.rb +1 -1
  68. data/generated/google/apis/iam_v1/classes.rb +9 -1
  69. data/generated/google/apis/iam_v1/service.rb +5 -3
  70. data/generated/google/apis/iap_v1.rb +1 -1
  71. data/generated/google/apis/iap_v1/classes.rb +11 -4
  72. data/generated/google/apis/iap_v1beta1.rb +1 -1
  73. data/generated/google/apis/iap_v1beta1/classes.rb +11 -4
  74. data/generated/google/apis/jobs_v3.rb +1 -1
  75. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  76. data/generated/google/apis/logging_v2.rb +1 -1
  77. data/generated/google/apis/logging_v2/classes.rb +30 -0
  78. data/generated/google/apis/logging_v2/representations.rb +15 -0
  79. data/generated/google/apis/logging_v2/service.rb +30 -35
  80. data/generated/google/apis/monitoring_v3.rb +1 -1
  81. data/generated/google/apis/monitoring_v3/classes.rb +60 -59
  82. data/generated/google/apis/monitoring_v3/service.rb +18 -18
  83. data/generated/google/apis/people_v1.rb +1 -1
  84. data/generated/google/apis/people_v1/classes.rb +40 -40
  85. data/generated/google/apis/serviceusage_v1.rb +1 -1
  86. data/generated/google/apis/serviceusage_v1/classes.rb +26 -0
  87. data/generated/google/apis/serviceusage_v1/representations.rb +15 -0
  88. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  89. data/generated/google/apis/serviceusage_v1beta1/classes.rb +26 -0
  90. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -0
  91. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  92. data/generated/google/apis/videointelligence_v1.rb +1 -1
  93. data/generated/google/apis/videointelligence_v1/classes.rb +70 -0
  94. data/generated/google/apis/videointelligence_v1/representations.rb +20 -0
  95. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  96. data/generated/google/apis/videointelligence_v1beta2/classes.rb +70 -0
  97. data/generated/google/apis/videointelligence_v1beta2/representations.rb +20 -0
  98. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  99. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +70 -0
  100. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +20 -0
  101. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  102. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +70 -0
  103. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +20 -0
  104. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  105. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +70 -0
  106. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +20 -0
  107. data/lib/google/apis/version.rb +1 -1
  108. metadata +2 -6
  109. data/generated/google/apis/healthcare_v1alpha2.rb +0 -34
  110. data/generated/google/apis/healthcare_v1alpha2/classes.rb +0 -2972
  111. data/generated/google/apis/healthcare_v1alpha2/representations.rb +0 -1353
  112. data/generated/google/apis/healthcare_v1alpha2/service.rb +0 -4053
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigquery/
26
26
  module BigqueryconnectionV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20190824'
28
+ REVISION = '20190907'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -409,9 +409,11 @@ module Google
409
409
  include Google::Apis::Core::Hashable
410
410
 
411
411
  # Optional. The policy format version to be returned.
412
- # Acceptable values are 0, 1, and 3.
413
- # If the value is 0, or the field is omitted, policy format version 1 will be
414
- # returned.
412
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
413
+ # rejected.
414
+ # Requests for policies with any conditional bindings must specify version 3.
415
+ # Policies without any conditional bindings may specify any valid value or
416
+ # leave the field unset.
415
417
  # Corresponds to the JSON property `requestedPolicyVersion`
416
418
  # @return [Fixnum]
417
419
  attr_accessor :requested_policy_version
@@ -516,7 +518,12 @@ module Google
516
518
  # @return [String]
517
519
  attr_accessor :etag
518
520
 
519
- # Deprecated.
521
+ # Specifies the format of the policy.
522
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
523
+ # rejected.
524
+ # Policies with any conditional bindings must specify version 3. Policies
525
+ # without any conditional bindings may specify any valid value or leave the
526
+ # field unset.
520
527
  # Corresponds to the JSON property `version`
521
528
  # @return [Fixnum]
522
529
  attr_accessor :version
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigtable/
26
26
  module BigtableadminV2
27
27
  VERSION = 'V2'
28
- REVISION = '20190821'
28
+ REVISION = '20190906'
29
29
 
30
30
  # Administer your Cloud Bigtable tables and clusters
31
31
  AUTH_BIGTABLE_ADMIN = 'https://www.googleapis.com/auth/bigtable.admin'
@@ -778,9 +778,11 @@ module Google
778
778
  include Google::Apis::Core::Hashable
779
779
 
780
780
  # Optional. The policy format version to be returned.
781
- # Acceptable values are 0, 1, and 3.
782
- # If the value is 0, or the field is omitted, policy format version 1 will be
783
- # returned.
781
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
782
+ # rejected.
783
+ # Requests for policies with any conditional bindings must specify version 3.
784
+ # Policies without any conditional bindings may specify any valid value or
785
+ # leave the field unset.
784
786
  # Corresponds to the JSON property `requestedPolicyVersion`
785
787
  # @return [Fixnum]
786
788
  attr_accessor :requested_policy_version
@@ -1343,7 +1345,12 @@ module Google
1343
1345
  # @return [String]
1344
1346
  attr_accessor :etag
1345
1347
 
1346
- # Deprecated.
1348
+ # Specifies the format of the policy.
1349
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1350
+ # rejected.
1351
+ # Policies with any conditional bindings must specify version 3. Policies
1352
+ # without any conditional bindings may specify any valid value or leave the
1353
+ # field unset.
1347
1354
  # Corresponds to the JSON property `version`
1348
1355
  # @return [Fixnum]
1349
1356
  attr_accessor :version
@@ -1094,6 +1094,41 @@ module Google
1094
1094
  execute_or_queue_command(command, &block)
1095
1095
  end
1096
1096
 
1097
+ # Gets the access control policy for an instance resource. Returns an empty
1098
+ # policy if an table exists but does not have a policy set.
1099
+ # @param [String] resource
1100
+ # REQUIRED: The resource for which the policy is being requested.
1101
+ # See the operation documentation for the appropriate value for this field.
1102
+ # @param [Google::Apis::BigtableadminV2::GetIamPolicyRequest] get_iam_policy_request_object
1103
+ # @param [String] fields
1104
+ # Selector specifying which fields to include in a partial response.
1105
+ # @param [String] quota_user
1106
+ # Available to use for quota purposes for server-side applications. Can be any
1107
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1108
+ # @param [Google::Apis::RequestOptions] options
1109
+ # Request-specific options
1110
+ #
1111
+ # @yield [result, err] Result & error if block supplied
1112
+ # @yieldparam result [Google::Apis::BigtableadminV2::Policy] parsed result object
1113
+ # @yieldparam err [StandardError] error object if request failed
1114
+ #
1115
+ # @return [Google::Apis::BigtableadminV2::Policy]
1116
+ #
1117
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1118
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1119
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1120
+ def get_table_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1121
+ command = make_simple_command(:post, 'v2/{+resource}:getIamPolicy', options)
1122
+ command.request_representation = Google::Apis::BigtableadminV2::GetIamPolicyRequest::Representation
1123
+ command.request_object = get_iam_policy_request_object
1124
+ command.response_representation = Google::Apis::BigtableadminV2::Policy::Representation
1125
+ command.response_class = Google::Apis::BigtableadminV2::Policy
1126
+ command.params['resource'] = resource unless resource.nil?
1127
+ command.query['fields'] = fields unless fields.nil?
1128
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1129
+ execute_or_queue_command(command, &block)
1130
+ end
1131
+
1097
1132
  # Lists all tables served from a specified instance.
1098
1133
  # @param [String] parent
1099
1134
  # The unique name of the instance for which tables should be listed.
@@ -1179,6 +1214,75 @@ module Google
1179
1214
  execute_or_queue_command(command, &block)
1180
1215
  end
1181
1216
 
1217
+ # Sets the access control policy on a table resource. Replaces any existing
1218
+ # policy.
1219
+ # @param [String] resource
1220
+ # REQUIRED: The resource for which the policy is being specified.
1221
+ # See the operation documentation for the appropriate value for this field.
1222
+ # @param [Google::Apis::BigtableadminV2::SetIamPolicyRequest] set_iam_policy_request_object
1223
+ # @param [String] fields
1224
+ # Selector specifying which fields to include in a partial response.
1225
+ # @param [String] quota_user
1226
+ # Available to use for quota purposes for server-side applications. Can be any
1227
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1228
+ # @param [Google::Apis::RequestOptions] options
1229
+ # Request-specific options
1230
+ #
1231
+ # @yield [result, err] Result & error if block supplied
1232
+ # @yieldparam result [Google::Apis::BigtableadminV2::Policy] parsed result object
1233
+ # @yieldparam err [StandardError] error object if request failed
1234
+ #
1235
+ # @return [Google::Apis::BigtableadminV2::Policy]
1236
+ #
1237
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1238
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1239
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1240
+ def set_table_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1241
+ command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
1242
+ command.request_representation = Google::Apis::BigtableadminV2::SetIamPolicyRequest::Representation
1243
+ command.request_object = set_iam_policy_request_object
1244
+ command.response_representation = Google::Apis::BigtableadminV2::Policy::Representation
1245
+ command.response_class = Google::Apis::BigtableadminV2::Policy
1246
+ command.params['resource'] = resource unless resource.nil?
1247
+ command.query['fields'] = fields unless fields.nil?
1248
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1249
+ execute_or_queue_command(command, &block)
1250
+ end
1251
+
1252
+ # Returns permissions that the caller has on the specified table resource.
1253
+ # @param [String] resource
1254
+ # REQUIRED: The resource for which the policy detail is being requested.
1255
+ # See the operation documentation for the appropriate value for this field.
1256
+ # @param [Google::Apis::BigtableadminV2::TestIamPermissionsRequest] test_iam_permissions_request_object
1257
+ # @param [String] fields
1258
+ # Selector specifying which fields to include in a partial response.
1259
+ # @param [String] quota_user
1260
+ # Available to use for quota purposes for server-side applications. Can be any
1261
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1262
+ # @param [Google::Apis::RequestOptions] options
1263
+ # Request-specific options
1264
+ #
1265
+ # @yield [result, err] Result & error if block supplied
1266
+ # @yieldparam result [Google::Apis::BigtableadminV2::TestIamPermissionsResponse] parsed result object
1267
+ # @yieldparam err [StandardError] error object if request failed
1268
+ #
1269
+ # @return [Google::Apis::BigtableadminV2::TestIamPermissionsResponse]
1270
+ #
1271
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1272
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1273
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1274
+ def test_table_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1275
+ command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
1276
+ command.request_representation = Google::Apis::BigtableadminV2::TestIamPermissionsRequest::Representation
1277
+ command.request_object = test_iam_permissions_request_object
1278
+ command.response_representation = Google::Apis::BigtableadminV2::TestIamPermissionsResponse::Representation
1279
+ command.response_class = Google::Apis::BigtableadminV2::TestIamPermissionsResponse
1280
+ command.params['resource'] = resource unless resource.nil?
1281
+ command.query['fields'] = fields unless fields.nil?
1282
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1283
+ execute_or_queue_command(command, &block)
1284
+ end
1285
+
1182
1286
  # Gets information about a location.
1183
1287
  # @param [String] name
1184
1288
  # Resource name for the location.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/google-apps/calendar/firstapp
26
26
  module CalendarV3
27
27
  VERSION = 'V3'
28
- REVISION = '20190903'
28
+ REVISION = '20190910'
29
29
 
30
30
  # See, edit, share, and permanently delete all the calendars you can access using Google Calendar
31
31
  AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
@@ -1216,8 +1216,8 @@ module Google
1216
1216
  # @return [Google::Apis::CalendarV3::EventDateTime]
1217
1217
  attr_accessor :original_start_time
1218
1218
 
1219
- # Whether this is a private event copy where changes are not shared with other
1220
- # copies on other calendars. Optional. Immutable. The default is False.
1219
+ # If set to True, Event propagation is disabled. Note that it is not the same
1220
+ # thing as Private event properties. Optional. Immutable. The default is False.
1221
1221
  # Corresponds to the JSON property `privateCopy`
1222
1222
  # @return [Boolean]
1223
1223
  attr_accessor :private_copy
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/tasks/
26
26
  module CloudtasksV2
27
27
  VERSION = 'V2'
28
- REVISION = '20190813'
28
+ REVISION = '20190906'
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'
@@ -511,9 +511,11 @@ module Google
511
511
  include Google::Apis::Core::Hashable
512
512
 
513
513
  # Optional. The policy format version to be returned.
514
- # Acceptable values are 0, 1, and 3.
515
- # If the value is 0, or the field is omitted, policy format version 1 will be
516
- # returned.
514
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
515
+ # rejected.
516
+ # Requests for policies with any conditional bindings must specify version 3.
517
+ # Policies without any conditional bindings may specify any valid value or
518
+ # leave the field unset.
517
519
  # Corresponds to the JSON property `requestedPolicyVersion`
518
520
  # @return [Fixnum]
519
521
  attr_accessor :requested_policy_version
@@ -732,7 +734,12 @@ module Google
732
734
  # @return [String]
733
735
  attr_accessor :etag
734
736
 
735
- # Deprecated.
737
+ # Specifies the format of the policy.
738
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
739
+ # rejected.
740
+ # Policies with any conditional bindings must specify version 3. Policies
741
+ # without any conditional bindings may specify any valid value or leave the
742
+ # field unset.
736
743
  # Corresponds to the JSON property `version`
737
744
  # @return [Fixnum]
738
745
  attr_accessor :version
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/tasks/
26
26
  module CloudtasksV2beta2
27
27
  VERSION = 'V2beta2'
28
- REVISION = '20190813'
28
+ REVISION = '20190906'
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'
@@ -647,9 +647,11 @@ module Google
647
647
  include Google::Apis::Core::Hashable
648
648
 
649
649
  # Optional. The policy format version to be returned.
650
- # Acceptable values are 0, 1, and 3.
651
- # If the value is 0, or the field is omitted, policy format version 1 will be
652
- # returned.
650
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
651
+ # rejected.
652
+ # Requests for policies with any conditional bindings must specify version 3.
653
+ # Policies without any conditional bindings may specify any valid value or
654
+ # leave the field unset.
653
655
  # Corresponds to the JSON property `requestedPolicyVersion`
654
656
  # @return [Fixnum]
655
657
  attr_accessor :requested_policy_version
@@ -974,7 +976,12 @@ module Google
974
976
  # @return [String]
975
977
  attr_accessor :etag
976
978
 
977
- # Deprecated.
979
+ # Specifies the format of the policy.
980
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
981
+ # rejected.
982
+ # Policies with any conditional bindings must specify version 3. Policies
983
+ # without any conditional bindings may specify any valid value or leave the
984
+ # field unset.
978
985
  # Corresponds to the JSON property `version`
979
986
  # @return [Fixnum]
980
987
  attr_accessor :version
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/tasks/
26
26
  module CloudtasksV2beta3
27
27
  VERSION = 'V2beta3'
28
- REVISION = '20190823'
28
+ REVISION = '20190906'
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'
@@ -544,9 +544,11 @@ module Google
544
544
  include Google::Apis::Core::Hashable
545
545
 
546
546
  # Optional. The policy format version to be returned.
547
- # Acceptable values are 0, 1, and 3.
548
- # If the value is 0, or the field is omitted, policy format version 1 will be
549
- # returned.
547
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
548
+ # rejected.
549
+ # Requests for policies with any conditional bindings must specify version 3.
550
+ # Policies without any conditional bindings may specify any valid value or
551
+ # leave the field unset.
550
552
  # Corresponds to the JSON property `requestedPolicyVersion`
551
553
  # @return [Fixnum]
552
554
  attr_accessor :requested_policy_version
@@ -942,7 +944,12 @@ module Google
942
944
  # @return [String]
943
945
  attr_accessor :etag
944
946
 
945
- # Deprecated.
947
+ # Specifies the format of the policy.
948
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
949
+ # rejected.
950
+ # Policies with any conditional bindings must specify version 3. Policies
951
+ # without any conditional bindings may specify any valid value or leave the
952
+ # field unset.
946
953
  # Corresponds to the JSON property `version`
947
954
  # @return [Fixnum]
948
955
  attr_accessor :version
@@ -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 = '20190815'
28
+ REVISION = '20190825'
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'
@@ -1293,8 +1293,9 @@ module Google
1293
1293
  attr_accessor :shielded_instance_initial_state
1294
1294
 
1295
1295
  # Specifies a valid partial or full URL to an existing Persistent Disk resource.
1296
- # When creating a new instance, one of initializeParams.sourceImage or disks.
1297
- # source is required except for local SSD.
1296
+ # When creating a new instance, one of initializeParams.sourceImage or
1297
+ # initializeParams.sourceSnapshot or disks.source is required except for local
1298
+ # SSD.
1298
1299
  # If desired, you can also attach existing non-root persistent disks using this
1299
1300
  # property. This field is only applicable for persistent disks.
1300
1301
  # Note that for InstanceTemplate, specify the disk name, not the URL for the
@@ -1406,7 +1407,8 @@ module Google
1406
1407
  attr_accessor :resource_policies
1407
1408
 
1408
1409
  # The source image to create this disk. When creating a new instance, one of
1409
- # initializeParams.sourceImage or disks.source is required except for local SSD.
1410
+ # initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.
1411
+ # source is required except for local SSD.
1410
1412
  # To create a disk with one of the public operating system images, specify the
1411
1413
  # image by its family name. For example, specify family/debian-9 to use the
1412
1414
  # latest Debian 9 image:
@@ -1431,8 +1433,8 @@ module Google
1431
1433
  attr_accessor :source_image_encryption_key
1432
1434
 
1433
1435
  # The source snapshot to create this disk. When creating a new instance, one of
1434
- # initializeParams.sourceSnapshot or disks.source is required except for local
1435
- # SSD.
1436
+ # initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.
1437
+ # source is required except for local SSD.
1436
1438
  # To create a disk with a snapshot that you created, specify the snapshot name
1437
1439
  # in the following format:
1438
1440
  # global/snapshots/my-backup
@@ -8837,6 +8839,17 @@ module Google
8837
8839
  # @return [Array<String>]
8838
8840
  attr_accessor :health_checks
8839
8841
 
8842
+ # Optional. Policy for how the results from multiple health checks for the same
8843
+ # endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified.
8844
+ # - NO_AGGREGATION. An EndpointHealth message is returned for each backend in
8845
+ # the health check service.
8846
+ # - AND. If any backend's health check reports UNHEALTHY, then UNHEALTHY is the
8847
+ # HealthState of the entire health check service. If all backend's are healthy,
8848
+ # the HealthState of the health check service is HEALTHY. .
8849
+ # Corresponds to the JSON property `healthStatusAggregationPolicy`
8850
+ # @return [String]
8851
+ attr_accessor :health_status_aggregation_policy
8852
+
8840
8853
  # Policy for how the results from multiple health checks for the same endpoint
8841
8854
  # are aggregated.
8842
8855
  # - NO_AGGREGATION. An EndpointHealth message is returned for each backend in
@@ -8913,6 +8926,7 @@ module Google
8913
8926
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
8914
8927
  @description = args[:description] if args.key?(:description)
8915
8928
  @health_checks = args[:health_checks] if args.key?(:health_checks)
8929
+ @health_status_aggregation_policy = args[:health_status_aggregation_policy] if args.key?(:health_status_aggregation_policy)
8916
8930
  @health_status_aggregation_strategy = args[:health_status_aggregation_strategy] if args.key?(:health_status_aggregation_strategy)
8917
8931
  @id = args[:id] if args.key?(:id)
8918
8932
  @kind = args[:kind] if args.key?(:kind)
@@ -34874,7 +34888,7 @@ module Google
34874
34888
 
34875
34889
  # Represents a Target TCP Proxy resource.
34876
34890
  # A target TCP proxy is a component of a TCP Proxy load balancer. Global
34877
- # forwarding rules reference ta target TCP proxy, and the target proxy then
34891
+ # forwarding rules reference target TCP proxy, and the target proxy then
34878
34892
  # references an external backend service. For more information, read TCP Proxy
34879
34893
  # Load Balancing Concepts. (== resource_for beta.targetTcpProxies ==) (==
34880
34894
  # resource_for v1.targetTcpProxies ==)
@@ -7323,6 +7323,7 @@ module Google
7323
7323
  property :creation_timestamp, as: 'creationTimestamp'
7324
7324
  property :description, as: 'description'
7325
7325
  collection :health_checks, as: 'healthChecks'
7326
+ property :health_status_aggregation_policy, as: 'healthStatusAggregationPolicy'
7326
7327
  property :health_status_aggregation_strategy, as: 'healthStatusAggregationStrategy'
7327
7328
  property :id, :numeric_string => true, as: 'id'
7328
7329
  property :kind, as: 'kind'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeBeta
27
27
  VERSION = 'Beta'
28
- REVISION = '20190815'
28
+ REVISION = '20190825'
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'
@@ -1247,8 +1247,9 @@ module Google
1247
1247
  attr_accessor :mode
1248
1248
 
1249
1249
  # Specifies a valid partial or full URL to an existing Persistent Disk resource.
1250
- # When creating a new instance, one of initializeParams.sourceImage or disks.
1251
- # source is required except for local SSD.
1250
+ # When creating a new instance, one of initializeParams.sourceImage or
1251
+ # initializeParams.sourceSnapshot or disks.source is required except for local
1252
+ # SSD.
1252
1253
  # If desired, you can also attach existing non-root persistent disks using this
1253
1254
  # property. This field is only applicable for persistent disks.
1254
1255
  # Note that for InstanceTemplate, specify the disk name, not the URL for the
@@ -1351,7 +1352,8 @@ module Google
1351
1352
  attr_accessor :resource_policies
1352
1353
 
1353
1354
  # The source image to create this disk. When creating a new instance, one of
1354
- # initializeParams.sourceImage or disks.source is required except for local SSD.
1355
+ # initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.
1356
+ # source is required except for local SSD.
1355
1357
  # To create a disk with one of the public operating system images, specify the
1356
1358
  # image by its family name. For example, specify family/debian-9 to use the
1357
1359
  # latest Debian 9 image:
@@ -1376,8 +1378,8 @@ module Google
1376
1378
  attr_accessor :source_image_encryption_key
1377
1379
 
1378
1380
  # The source snapshot to create this disk. When creating a new instance, one of
1379
- # initializeParams.sourceSnapshot or disks.source is required except for local
1380
- # SSD.
1381
+ # initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.
1382
+ # source is required except for local SSD.
1381
1383
  # To create a disk with a snapshot that you created, specify the snapshot name
1382
1384
  # in the following format:
1383
1385
  # global/snapshots/my-backup
@@ -11488,6 +11490,25 @@ module Google
11488
11490
  end
11489
11491
  end
11490
11492
 
11493
+ # InstanceGroupManagers.createInstances
11494
+ class InstanceGroupManagersCreateInstancesRequest
11495
+ include Google::Apis::Core::Hashable
11496
+
11497
+ # [Required] List of specifications of per-instance configs.
11498
+ # Corresponds to the JSON property `instances`
11499
+ # @return [Array<Google::Apis::ComputeBeta::PerInstanceConfig>]
11500
+ attr_accessor :instances
11501
+
11502
+ def initialize(**args)
11503
+ update!(**args)
11504
+ end
11505
+
11506
+ # Update properties of this object
11507
+ def update!(**args)
11508
+ @instances = args[:instances] if args.key?(:instances)
11509
+ end
11510
+ end
11511
+
11491
11512
  #
11492
11513
  class InstanceGroupManagersDeleteInstancesRequest
11493
11514
  include Google::Apis::Core::Hashable
@@ -15488,6 +15509,11 @@ module Google
15488
15509
  # @return [String]
15489
15510
  attr_accessor :instance
15490
15511
 
15512
+ # [Output Only] Health state of the instance per health-check.
15513
+ # Corresponds to the JSON property `instanceHealth`
15514
+ # @return [Array<Google::Apis::ComputeBeta::ManagedInstanceInstanceHealth>]
15515
+ attr_accessor :instance_health
15516
+
15491
15517
  # [Output Only] The status of the instance. This field is empty when the
15492
15518
  # instance does not exist.
15493
15519
  # Corresponds to the JSON property `instanceStatus`
@@ -15514,12 +15540,39 @@ module Google
15514
15540
  @current_action = args[:current_action] if args.key?(:current_action)
15515
15541
  @id = args[:id] if args.key?(:id)
15516
15542
  @instance = args[:instance] if args.key?(:instance)
15543
+ @instance_health = args[:instance_health] if args.key?(:instance_health)
15517
15544
  @instance_status = args[:instance_status] if args.key?(:instance_status)
15518
15545
  @last_attempt = args[:last_attempt] if args.key?(:last_attempt)
15519
15546
  @version = args[:version] if args.key?(:version)
15520
15547
  end
15521
15548
  end
15522
15549
 
15550
+ #
15551
+ class ManagedInstanceInstanceHealth
15552
+ include Google::Apis::Core::Hashable
15553
+
15554
+ # [Output Only] The current detailed instance health state.
15555
+ # Corresponds to the JSON property `detailedHealthState`
15556
+ # @return [String]
15557
+ attr_accessor :detailed_health_state
15558
+
15559
+ # [Output Only] The URL for the health check that verifies whether the instance
15560
+ # is healthy.
15561
+ # Corresponds to the JSON property `healthCheck`
15562
+ # @return [String]
15563
+ attr_accessor :health_check
15564
+
15565
+ def initialize(**args)
15566
+ update!(**args)
15567
+ end
15568
+
15569
+ # Update properties of this object
15570
+ def update!(**args)
15571
+ @detailed_health_state = args[:detailed_health_state] if args.key?(:detailed_health_state)
15572
+ @health_check = args[:health_check] if args.key?(:health_check)
15573
+ end
15574
+ end
15575
+
15523
15576
  #
15524
15577
  class ManagedInstanceLastAttempt
15525
15578
  include Google::Apis::Core::Hashable
@@ -19470,6 +19523,40 @@ module Google
19470
19523
  end
19471
19524
  end
19472
19525
 
19526
+ #
19527
+ class PerInstanceConfig
19528
+ include Google::Apis::Core::Hashable
19529
+
19530
+ # Fingerprint of this per-instance config. This field may be used in optimistic
19531
+ # locking. It will be ignored when inserting a per-instance config. An up-to-
19532
+ # date fingerprint must be provided in order to update an existing per-instance
19533
+ # config or the field needs to be unset.
19534
+ # Corresponds to the JSON property `fingerprint`
19535
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
19536
+ # @return [String]
19537
+ attr_accessor :fingerprint
19538
+
19539
+ # The name of the per-instance config and the corresponding instance. Serves as
19540
+ # a merge key during UpdatePerInstanceConfigs operation, i.e. if per-instance
19541
+ # config with the same name exists then it will be updated, otherwise a new one
19542
+ # will be created for the VM instance with the same name. An attempt to create a
19543
+ # per-instance config for a VM instance that either doesn't exist or is not part
19544
+ # of the group will result in a failure.
19545
+ # Corresponds to the JSON property `name`
19546
+ # @return [String]
19547
+ attr_accessor :name
19548
+
19549
+ def initialize(**args)
19550
+ update!(**args)
19551
+ end
19552
+
19553
+ # Update properties of this object
19554
+ def update!(**args)
19555
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
19556
+ @name = args[:name] if args.key?(:name)
19557
+ end
19558
+ end
19559
+
19473
19560
  # Defines an Identity and Access Management (IAM) policy. It is used to specify
19474
19561
  # access control policies for Cloud Platform resources.
19475
19562
  # A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
@@ -20556,6 +20643,25 @@ module Google
20556
20643
  end
20557
20644
  end
20558
20645
 
20646
+ # RegionInstanceGroupManagers.createInstances
20647
+ class RegionInstanceGroupManagersCreateInstancesRequest
20648
+ include Google::Apis::Core::Hashable
20649
+
20650
+ # [Required] List of specifications of per-instance configs.
20651
+ # Corresponds to the JSON property `instances`
20652
+ # @return [Array<Google::Apis::ComputeBeta::PerInstanceConfig>]
20653
+ attr_accessor :instances
20654
+
20655
+ def initialize(**args)
20656
+ update!(**args)
20657
+ end
20658
+
20659
+ # Update properties of this object
20660
+ def update!(**args)
20661
+ @instances = args[:instances] if args.key?(:instances)
20662
+ end
20663
+ end
20664
+
20559
20665
  #
20560
20666
  class RegionInstanceGroupManagersDeleteInstancesRequest
20561
20667
  include Google::Apis::Core::Hashable
@@ -28827,7 +28933,7 @@ module Google
28827
28933
 
28828
28934
  # Represents a Target TCP Proxy resource.
28829
28935
  # A target TCP proxy is a component of a TCP Proxy load balancer. Global
28830
- # forwarding rules reference ta target TCP proxy, and the target proxy then
28936
+ # forwarding rules reference target TCP proxy, and the target proxy then
28831
28937
  # references an external backend service. For more information, read TCP Proxy
28832
28938
  # Load Balancing Concepts. (== resource_for beta.targetTcpProxies ==) (==
28833
28939
  # resource_for v1.targetTcpProxies ==)