google-api-client 0.42.0 → 0.42.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +70 -0
  3. data/generated/google/apis/admob_v1.rb +1 -1
  4. data/generated/google/apis/admob_v1/service.rb +1 -1
  5. data/generated/google/apis/appsmarket_v2.rb +1 -1
  6. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  7. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +28 -13
  8. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  9. data/generated/google/apis/blogger_v3.rb +1 -1
  10. data/generated/google/apis/chat_v1.rb +1 -1
  11. data/generated/google/apis/chat_v1/classes.rb +111 -0
  12. data/generated/google/apis/chat_v1/representations.rb +50 -0
  13. data/generated/google/apis/chat_v1/service.rb +32 -0
  14. data/generated/google/apis/classroom_v1.rb +1 -1
  15. data/generated/google/apis/classroom_v1/service.rb +5 -2
  16. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  17. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
  18. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  19. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +25 -0
  20. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +15 -0
  21. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  22. data/generated/google/apis/cloudscheduler_v1/classes.rb +5 -5
  23. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  24. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +5 -5
  25. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  26. data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
  27. data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
  28. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  29. data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
  30. data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
  31. data/generated/google/apis/compute_beta.rb +1 -1
  32. data/generated/google/apis/compute_beta/classes.rb +279 -0
  33. data/generated/google/apis/compute_beta/representations.rb +90 -0
  34. data/generated/google/apis/compute_beta/service.rb +257 -0
  35. data/generated/google/apis/compute_v1.rb +1 -1
  36. data/generated/google/apis/compute_v1/classes.rb +279 -0
  37. data/generated/google/apis/compute_v1/representations.rb +90 -0
  38. data/generated/google/apis/compute_v1/service.rb +257 -0
  39. data/generated/google/apis/container_v1.rb +1 -1
  40. data/generated/google/apis/container_v1/classes.rb +9 -0
  41. data/generated/google/apis/container_v1/representations.rb +1 -0
  42. data/generated/google/apis/container_v1beta1.rb +1 -1
  43. data/generated/google/apis/container_v1beta1/classes.rb +15 -0
  44. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  45. data/generated/google/apis/content_v2.rb +1 -1
  46. data/generated/google/apis/content_v2/classes.rb +2 -2
  47. data/generated/google/apis/content_v2_1.rb +1 -1
  48. data/generated/google/apis/content_v2_1/classes.rb +4 -4
  49. data/generated/google/apis/customsearch_v1.rb +1 -1
  50. data/generated/google/apis/customsearch_v1/service.rb +12 -2
  51. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  52. data/generated/google/apis/datacatalog_v1beta1/classes.rb +3 -3
  53. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  54. data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
  55. data/generated/google/apis/dataproc_v1.rb +1 -1
  56. data/generated/google/apis/dataproc_v1/classes.rb +9 -9
  57. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  58. data/generated/google/apis/dataproc_v1beta2/classes.rb +9 -9
  59. data/generated/google/apis/datastore_v1.rb +1 -1
  60. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  61. data/generated/google/apis/displayvideo_v1.rb +1 -1
  62. data/generated/google/apis/displayvideo_v1/service.rb +2 -1
  63. data/generated/google/apis/dlp_v2.rb +1 -1
  64. data/generated/google/apis/dlp_v2/classes.rb +5 -2
  65. data/generated/google/apis/dns_v1.rb +1 -1
  66. data/generated/google/apis/dns_v1beta2.rb +1 -1
  67. data/generated/google/apis/dns_v2beta1.rb +4 -4
  68. data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
  69. data/generated/google/apis/dns_v2beta1/service.rb +247 -180
  70. data/generated/google/apis/drive_v2.rb +1 -1
  71. data/generated/google/apis/drive_v2/classes.rb +66 -2
  72. data/generated/google/apis/drive_v2/representations.rb +22 -0
  73. data/generated/google/apis/drive_v2/service.rb +23 -10
  74. data/generated/google/apis/drive_v3.rb +1 -1
  75. data/generated/google/apis/drive_v3/classes.rb +65 -2
  76. data/generated/google/apis/drive_v3/representations.rb +22 -0
  77. data/generated/google/apis/drive_v3/service.rb +8 -5
  78. data/generated/google/apis/firestore_v1.rb +1 -1
  79. data/generated/google/apis/firestore_v1/classes.rb +152 -0
  80. data/generated/google/apis/firestore_v1/representations.rb +63 -0
  81. data/generated/google/apis/firestore_v1/service.rb +78 -0
  82. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  83. data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
  84. data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
  85. data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
  86. data/generated/google/apis/gmail_v1.rb +1 -1
  87. data/generated/google/apis/gmail_v1/classes.rb +53 -53
  88. data/generated/google/apis/gmail_v1/service.rb +72 -72
  89. data/generated/google/apis/healthcare_v1.rb +1 -1
  90. data/generated/google/apis/healthcare_v1/service.rb +48 -1
  91. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  92. data/generated/google/apis/healthcare_v1beta1/service.rb +60 -1
  93. data/generated/google/apis/iam_v1.rb +1 -1
  94. data/generated/google/apis/iam_v1/classes.rb +22 -3
  95. data/generated/google/apis/iam_v1/service.rb +18 -6
  96. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  97. data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
  98. data/generated/google/apis/ml_v1.rb +1 -1
  99. data/generated/google/apis/ml_v1/classes.rb +17 -11
  100. data/generated/google/apis/monitoring_v3.rb +1 -1
  101. data/generated/google/apis/monitoring_v3/classes.rb +54 -30
  102. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  103. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
  104. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  105. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
  106. data/generated/google/apis/osconfig_v1.rb +1 -1
  107. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  108. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  109. data/generated/google/apis/osconfig_v1beta/classes.rb +2 -2
  110. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  111. data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
  112. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2015 -0
  113. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
  114. data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
  115. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  116. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  117. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  118. data/generated/google/apis/reseller_v1.rb +4 -3
  119. data/generated/google/apis/reseller_v1/classes.rb +219 -160
  120. data/generated/google/apis/reseller_v1/service.rb +247 -252
  121. data/generated/google/apis/run_v1.rb +2 -2
  122. data/generated/google/apis/run_v1/classes.rb +6 -1
  123. data/generated/google/apis/run_v1/service.rb +1 -1
  124. data/generated/google/apis/run_v1alpha1.rb +2 -2
  125. data/generated/google/apis/run_v1alpha1/service.rb +1 -1
  126. data/generated/google/apis/run_v1beta1.rb +2 -2
  127. data/generated/google/apis/run_v1beta1/service.rb +1 -1
  128. data/generated/google/apis/searchconsole_v1.rb +4 -3
  129. data/generated/google/apis/searchconsole_v1/service.rb +3 -2
  130. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  131. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +2 -2
  132. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  133. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +2 -2
  134. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  135. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
  136. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  137. data/generated/google/apis/servicemanagement_v1/classes.rb +2 -2
  138. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  139. data/generated/google/apis/servicenetworking_v1/classes.rb +2 -2
  140. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  141. data/generated/google/apis/servicenetworking_v1beta/classes.rb +2 -2
  142. data/generated/google/apis/serviceusage_v1.rb +1 -1
  143. data/generated/google/apis/serviceusage_v1/classes.rb +2 -2
  144. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  145. data/generated/google/apis/serviceusage_v1beta1/classes.rb +2 -2
  146. data/generated/google/apis/sheets_v4.rb +1 -1
  147. data/generated/google/apis/sheets_v4/classes.rb +28 -28
  148. data/generated/google/apis/vision_v1.rb +1 -1
  149. data/generated/google/apis/vision_v1/classes.rb +2 -0
  150. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  151. data/generated/google/apis/vision_v1p1beta1/classes.rb +2 -0
  152. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  153. data/generated/google/apis/vision_v1p2beta1/classes.rb +2 -0
  154. data/generated/google/apis/youtube_v3.rb +1 -1
  155. data/generated/google/apis/youtube_v3/classes.rb +2 -2
  156. data/generated/google/apis/youtube_v3/service.rb +1 -0
  157. data/lib/google/apis/version.rb +1 -1
  158. metadata +7 -3
@@ -916,6 +916,12 @@ module Google
916
916
  include Google::Apis::Core::JsonObjectSupport
917
917
  end
918
918
 
919
+ class GrpcHealthCheck
920
+ class Representation < Google::Apis::Core::JsonRepresentation; end
921
+
922
+ include Google::Apis::Core::JsonObjectSupport
923
+ end
924
+
919
925
  class GlobalNetworkEndpointGroupsAttachEndpointsRequest
920
926
  class Representation < Google::Apis::Core::JsonRepresentation; end
921
927
 
@@ -3760,6 +3766,30 @@ module Google
3760
3766
  include Google::Apis::Core::JsonObjectSupport
3761
3767
  end
3762
3768
 
3769
+ class TargetGrpcProxy
3770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3771
+
3772
+ include Google::Apis::Core::JsonObjectSupport
3773
+ end
3774
+
3775
+ class TargetGrpcProxyList
3776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3777
+
3778
+ class Warning
3779
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3780
+
3781
+ class Datum
3782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3783
+
3784
+ include Google::Apis::Core::JsonObjectSupport
3785
+ end
3786
+
3787
+ include Google::Apis::Core::JsonObjectSupport
3788
+ end
3789
+
3790
+ include Google::Apis::Core::JsonObjectSupport
3791
+ end
3792
+
3763
3793
  class TargetHttpProxiesScopedList
3764
3794
  class Representation < Google::Apis::Core::JsonRepresentation; end
3765
3795
 
@@ -6257,6 +6287,16 @@ module Google
6257
6287
  end
6258
6288
  end
6259
6289
 
6290
+ class GrpcHealthCheck
6291
+ # @private
6292
+ class Representation < Google::Apis::Core::JsonRepresentation
6293
+ property :grpc_service_name, as: 'grpcServiceName'
6294
+ property :port, as: 'port'
6295
+ property :port_name, as: 'portName'
6296
+ property :port_specification, as: 'portSpecification'
6297
+ end
6298
+ end
6299
+
6260
6300
  class GlobalNetworkEndpointGroupsAttachEndpointsRequest
6261
6301
  # @private
6262
6302
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6374,6 +6414,8 @@ module Google
6374
6414
  property :check_interval_sec, as: 'checkIntervalSec'
6375
6415
  property :creation_timestamp, as: 'creationTimestamp'
6376
6416
  property :description, as: 'description'
6417
+ property :grpc_health_check, as: 'grpcHealthCheck', class: Google::Apis::ComputeV1::GrpcHealthCheck, decorator: Google::Apis::ComputeV1::GrpcHealthCheck::Representation
6418
+
6377
6419
  property :healthy_threshold, as: 'healthyThreshold'
6378
6420
  property :http2_health_check, as: 'http2HealthCheck', class: Google::Apis::ComputeV1::Http2HealthCheck, decorator: Google::Apis::ComputeV1::Http2HealthCheck::Representation
6379
6421
 
@@ -11441,6 +11483,54 @@ module Google
11441
11483
  end
11442
11484
  end
11443
11485
 
11486
+ class TargetGrpcProxy
11487
+ # @private
11488
+ class Representation < Google::Apis::Core::JsonRepresentation
11489
+ property :creation_timestamp, as: 'creationTimestamp'
11490
+ property :description, as: 'description'
11491
+ property :fingerprint, :base64 => true, as: 'fingerprint'
11492
+ property :id, :numeric_string => true, as: 'id'
11493
+ property :kind, as: 'kind'
11494
+ property :name, as: 'name'
11495
+ property :self_link, as: 'selfLink'
11496
+ property :self_link_with_id, as: 'selfLinkWithId'
11497
+ property :url_map, as: 'urlMap'
11498
+ property :validate_for_proxyless, as: 'validateForProxyless'
11499
+ end
11500
+ end
11501
+
11502
+ class TargetGrpcProxyList
11503
+ # @private
11504
+ class Representation < Google::Apis::Core::JsonRepresentation
11505
+ property :id, as: 'id'
11506
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::TargetGrpcProxy, decorator: Google::Apis::ComputeV1::TargetGrpcProxy::Representation
11507
+
11508
+ property :kind, as: 'kind'
11509
+ property :next_page_token, as: 'nextPageToken'
11510
+ property :self_link, as: 'selfLink'
11511
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::TargetGrpcProxyList::Warning, decorator: Google::Apis::ComputeV1::TargetGrpcProxyList::Warning::Representation
11512
+
11513
+ end
11514
+
11515
+ class Warning
11516
+ # @private
11517
+ class Representation < Google::Apis::Core::JsonRepresentation
11518
+ property :code, as: 'code'
11519
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::TargetGrpcProxyList::Warning::Datum, decorator: Google::Apis::ComputeV1::TargetGrpcProxyList::Warning::Datum::Representation
11520
+
11521
+ property :message, as: 'message'
11522
+ end
11523
+
11524
+ class Datum
11525
+ # @private
11526
+ class Representation < Google::Apis::Core::JsonRepresentation
11527
+ property :key, as: 'key'
11528
+ property :value, as: 'value'
11529
+ end
11530
+ end
11531
+ end
11532
+ end
11533
+
11444
11534
  class TargetHttpProxiesScopedList
11445
11535
  # @private
11446
11536
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -24204,6 +24204,263 @@ module Google
24204
24204
  execute_or_queue_command(command, &block)
24205
24205
  end
24206
24206
 
24207
+ # Deletes the specified TargetGrpcProxy in the given scope
24208
+ # @param [String] project
24209
+ # Project ID for this request.
24210
+ # @param [String] target_grpc_proxy
24211
+ # Name of the TargetGrpcProxy resource to delete.
24212
+ # @param [String] request_id
24213
+ # An optional request ID to identify requests. Specify a unique request ID so
24214
+ # that if you must retry your request, the server will know to ignore the
24215
+ # request if it has already been completed.
24216
+ # For example, consider a situation where you make an initial request and the
24217
+ # request times out. If you make the request again with the same request ID, the
24218
+ # server can check if original operation with the same request ID was received,
24219
+ # and if so, will ignore the second request. This prevents clients from
24220
+ # accidentally creating duplicate commitments.
24221
+ # The request ID must be a valid UUID with the exception that zero UUID is not
24222
+ # supported (00000000-0000-0000-0000-000000000000).
24223
+ # @param [String] fields
24224
+ # Selector specifying which fields to include in a partial response.
24225
+ # @param [String] quota_user
24226
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
24227
+ # characters.
24228
+ # @param [String] user_ip
24229
+ # Deprecated. Please use quotaUser instead.
24230
+ # @param [Google::Apis::RequestOptions] options
24231
+ # Request-specific options
24232
+ #
24233
+ # @yield [result, err] Result & error if block supplied
24234
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
24235
+ # @yieldparam err [StandardError] error object if request failed
24236
+ #
24237
+ # @return [Google::Apis::ComputeV1::Operation]
24238
+ #
24239
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
24240
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
24241
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
24242
+ def delete_target_grpc_proxy(project, target_grpc_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
24243
+ command = make_simple_command(:delete, '{project}/global/targetGrpcProxies/{targetGrpcProxy}', options)
24244
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
24245
+ command.response_class = Google::Apis::ComputeV1::Operation
24246
+ command.params['project'] = project unless project.nil?
24247
+ command.params['targetGrpcProxy'] = target_grpc_proxy unless target_grpc_proxy.nil?
24248
+ command.query['requestId'] = request_id unless request_id.nil?
24249
+ command.query['fields'] = fields unless fields.nil?
24250
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
24251
+ command.query['userIp'] = user_ip unless user_ip.nil?
24252
+ execute_or_queue_command(command, &block)
24253
+ end
24254
+
24255
+ # Returns the specified TargetGrpcProxy resource in the given scope.
24256
+ # @param [String] project
24257
+ # Project ID for this request.
24258
+ # @param [String] target_grpc_proxy
24259
+ # Name of the TargetGrpcProxy resource to return.
24260
+ # @param [String] fields
24261
+ # Selector specifying which fields to include in a partial response.
24262
+ # @param [String] quota_user
24263
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
24264
+ # characters.
24265
+ # @param [String] user_ip
24266
+ # Deprecated. Please use quotaUser instead.
24267
+ # @param [Google::Apis::RequestOptions] options
24268
+ # Request-specific options
24269
+ #
24270
+ # @yield [result, err] Result & error if block supplied
24271
+ # @yieldparam result [Google::Apis::ComputeV1::TargetGrpcProxy] parsed result object
24272
+ # @yieldparam err [StandardError] error object if request failed
24273
+ #
24274
+ # @return [Google::Apis::ComputeV1::TargetGrpcProxy]
24275
+ #
24276
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
24277
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
24278
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
24279
+ def get_target_grpc_proxy(project, target_grpc_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
24280
+ command = make_simple_command(:get, '{project}/global/targetGrpcProxies/{targetGrpcProxy}', options)
24281
+ command.response_representation = Google::Apis::ComputeV1::TargetGrpcProxy::Representation
24282
+ command.response_class = Google::Apis::ComputeV1::TargetGrpcProxy
24283
+ command.params['project'] = project unless project.nil?
24284
+ command.params['targetGrpcProxy'] = target_grpc_proxy unless target_grpc_proxy.nil?
24285
+ command.query['fields'] = fields unless fields.nil?
24286
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
24287
+ command.query['userIp'] = user_ip unless user_ip.nil?
24288
+ execute_or_queue_command(command, &block)
24289
+ end
24290
+
24291
+ # Creates a TargetGrpcProxy in the specified project in the given scope using
24292
+ # the parameters that are included in the request.
24293
+ # @param [String] project
24294
+ # Project ID for this request.
24295
+ # @param [Google::Apis::ComputeV1::TargetGrpcProxy] target_grpc_proxy_object
24296
+ # @param [String] request_id
24297
+ # An optional request ID to identify requests. Specify a unique request ID so
24298
+ # that if you must retry your request, the server will know to ignore the
24299
+ # request if it has already been completed.
24300
+ # For example, consider a situation where you make an initial request and the
24301
+ # request times out. If you make the request again with the same request ID, the
24302
+ # server can check if original operation with the same request ID was received,
24303
+ # and if so, will ignore the second request. This prevents clients from
24304
+ # accidentally creating duplicate commitments.
24305
+ # The request ID must be a valid UUID with the exception that zero UUID is not
24306
+ # supported (00000000-0000-0000-0000-000000000000).
24307
+ # @param [String] fields
24308
+ # Selector specifying which fields to include in a partial response.
24309
+ # @param [String] quota_user
24310
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
24311
+ # characters.
24312
+ # @param [String] user_ip
24313
+ # Deprecated. Please use quotaUser instead.
24314
+ # @param [Google::Apis::RequestOptions] options
24315
+ # Request-specific options
24316
+ #
24317
+ # @yield [result, err] Result & error if block supplied
24318
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
24319
+ # @yieldparam err [StandardError] error object if request failed
24320
+ #
24321
+ # @return [Google::Apis::ComputeV1::Operation]
24322
+ #
24323
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
24324
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
24325
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
24326
+ def insert_target_grpc_proxy(project, target_grpc_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
24327
+ command = make_simple_command(:post, '{project}/global/targetGrpcProxies', options)
24328
+ command.request_representation = Google::Apis::ComputeV1::TargetGrpcProxy::Representation
24329
+ command.request_object = target_grpc_proxy_object
24330
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
24331
+ command.response_class = Google::Apis::ComputeV1::Operation
24332
+ command.params['project'] = project unless project.nil?
24333
+ command.query['requestId'] = request_id unless request_id.nil?
24334
+ command.query['fields'] = fields unless fields.nil?
24335
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
24336
+ command.query['userIp'] = user_ip unless user_ip.nil?
24337
+ execute_or_queue_command(command, &block)
24338
+ end
24339
+
24340
+ # Lists the TargetGrpcProxies for a project in the given scope.
24341
+ # @param [String] project
24342
+ # Project ID for this request.
24343
+ # @param [String] filter
24344
+ # A filter expression that filters resources listed in the response. The
24345
+ # expression must specify the field name, a comparison operator, and the value
24346
+ # that you want to use for filtering. The value must be a string, a number, or a
24347
+ # boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
24348
+ # For example, if you are filtering Compute Engine instances, you can exclude
24349
+ # instances named `example-instance` by specifying `name != example-instance`.
24350
+ # You can also filter nested fields. For example, you could specify `scheduling.
24351
+ # automaticRestart = false` to include instances only if they are not scheduled
24352
+ # for automatic restarts. You can use filtering on nested fields to filter based
24353
+ # on resource labels.
24354
+ # To filter on multiple expressions, provide each separate expression within
24355
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
24356
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
24357
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
24358
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
24359
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
24360
+ # @param [Fixnum] max_results
24361
+ # The maximum number of results per page that should be returned. If the number
24362
+ # of available results is larger than `maxResults`, Compute Engine returns a `
24363
+ # nextPageToken` that can be used to get the next page of results in subsequent
24364
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
24365
+ # @param [String] order_by
24366
+ # Sorts list results by a certain order. By default, results are returned in
24367
+ # alphanumerical order based on the resource name.
24368
+ # You can also sort results in descending order based on the creation timestamp
24369
+ # using `orderBy="creationTimestamp desc"`. This sorts results based on the `
24370
+ # creationTimestamp` field in reverse chronological order (newest result first).
24371
+ # Use this to sort resources like operations so that the newest operation is
24372
+ # returned first.
24373
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
24374
+ # @param [String] page_token
24375
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
24376
+ # by a previous list request to get the next page of results.
24377
+ # @param [String] fields
24378
+ # Selector specifying which fields to include in a partial response.
24379
+ # @param [String] quota_user
24380
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
24381
+ # characters.
24382
+ # @param [String] user_ip
24383
+ # Deprecated. Please use quotaUser instead.
24384
+ # @param [Google::Apis::RequestOptions] options
24385
+ # Request-specific options
24386
+ #
24387
+ # @yield [result, err] Result & error if block supplied
24388
+ # @yieldparam result [Google::Apis::ComputeV1::TargetGrpcProxyList] parsed result object
24389
+ # @yieldparam err [StandardError] error object if request failed
24390
+ #
24391
+ # @return [Google::Apis::ComputeV1::TargetGrpcProxyList]
24392
+ #
24393
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
24394
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
24395
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
24396
+ def list_target_grpc_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
24397
+ command = make_simple_command(:get, '{project}/global/targetGrpcProxies', options)
24398
+ command.response_representation = Google::Apis::ComputeV1::TargetGrpcProxyList::Representation
24399
+ command.response_class = Google::Apis::ComputeV1::TargetGrpcProxyList
24400
+ command.params['project'] = project unless project.nil?
24401
+ command.query['filter'] = filter unless filter.nil?
24402
+ command.query['maxResults'] = max_results unless max_results.nil?
24403
+ command.query['orderBy'] = order_by unless order_by.nil?
24404
+ command.query['pageToken'] = page_token unless page_token.nil?
24405
+ command.query['fields'] = fields unless fields.nil?
24406
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
24407
+ command.query['userIp'] = user_ip unless user_ip.nil?
24408
+ execute_or_queue_command(command, &block)
24409
+ end
24410
+
24411
+ # Patches the specified TargetGrpcProxy resource with the data included in the
24412
+ # request. This method supports PATCH semantics and uses JSON merge patch format
24413
+ # and processing rules.
24414
+ # @param [String] project
24415
+ # Project ID for this request.
24416
+ # @param [String] target_grpc_proxy
24417
+ # Name of the TargetGrpcProxy resource to patch.
24418
+ # @param [Google::Apis::ComputeV1::TargetGrpcProxy] target_grpc_proxy_object
24419
+ # @param [String] request_id
24420
+ # An optional request ID to identify requests. Specify a unique request ID so
24421
+ # that if you must retry your request, the server will know to ignore the
24422
+ # request if it has already been completed.
24423
+ # For example, consider a situation where you make an initial request and the
24424
+ # request times out. If you make the request again with the same request ID, the
24425
+ # server can check if original operation with the same request ID was received,
24426
+ # and if so, will ignore the second request. This prevents clients from
24427
+ # accidentally creating duplicate commitments.
24428
+ # The request ID must be a valid UUID with the exception that zero UUID is not
24429
+ # supported (00000000-0000-0000-0000-000000000000).
24430
+ # @param [String] fields
24431
+ # Selector specifying which fields to include in a partial response.
24432
+ # @param [String] quota_user
24433
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
24434
+ # characters.
24435
+ # @param [String] user_ip
24436
+ # Deprecated. Please use quotaUser instead.
24437
+ # @param [Google::Apis::RequestOptions] options
24438
+ # Request-specific options
24439
+ #
24440
+ # @yield [result, err] Result & error if block supplied
24441
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
24442
+ # @yieldparam err [StandardError] error object if request failed
24443
+ #
24444
+ # @return [Google::Apis::ComputeV1::Operation]
24445
+ #
24446
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
24447
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
24448
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
24449
+ def patch_target_grpc_proxy(project, target_grpc_proxy, target_grpc_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
24450
+ command = make_simple_command(:patch, '{project}/global/targetGrpcProxies/{targetGrpcProxy}', options)
24451
+ command.request_representation = Google::Apis::ComputeV1::TargetGrpcProxy::Representation
24452
+ command.request_object = target_grpc_proxy_object
24453
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
24454
+ command.response_class = Google::Apis::ComputeV1::Operation
24455
+ command.params['project'] = project unless project.nil?
24456
+ command.params['targetGrpcProxy'] = target_grpc_proxy unless target_grpc_proxy.nil?
24457
+ command.query['requestId'] = request_id unless request_id.nil?
24458
+ command.query['fields'] = fields unless fields.nil?
24459
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
24460
+ command.query['userIp'] = user_ip unless user_ip.nil?
24461
+ execute_or_queue_command(command, &block)
24462
+ end
24463
+
24207
24464
  # Retrieves the list of all TargetHttpProxy resources, regional and global,
24208
24465
  # available to the specified project.
24209
24466
  # @param [String] project
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200619'
29
+ REVISION = '20200709'
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'
@@ -2230,6 +2230,14 @@ module Google
2230
2230
  # @return [String]
2231
2231
  attr_accessor :min_cpu_platform
2232
2232
 
2233
+ # Setting this field will assign instances of this
2234
+ # pool to run on the specified node group. This is useful for running
2235
+ # workloads on [sole tenant
2236
+ # nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
2237
+ # Corresponds to the JSON property `nodeGroup`
2238
+ # @return [String]
2239
+ attr_accessor :node_group
2240
+
2233
2241
  # The set of Google API scopes to be made available on all of the
2234
2242
  # node VMs under the "default" service account.
2235
2243
  # The following scopes are recommended, but not required, and by default are
@@ -2316,6 +2324,7 @@ module Google
2316
2324
  @machine_type = args[:machine_type] if args.key?(:machine_type)
2317
2325
  @metadata = args[:metadata] if args.key?(:metadata)
2318
2326
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
2327
+ @node_group = args[:node_group] if args.key?(:node_group)
2319
2328
  @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
2320
2329
  @preemptible = args[:preemptible] if args.key?(:preemptible)
2321
2330
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
@@ -1082,6 +1082,7 @@ module Google
1082
1082
  property :machine_type, as: 'machineType'
1083
1083
  hash :metadata, as: 'metadata'
1084
1084
  property :min_cpu_platform, as: 'minCpuPlatform'
1085
+ property :node_group, as: 'nodeGroup'
1085
1086
  collection :oauth_scopes, as: 'oauthScopes'
1086
1087
  property :preemptible, as: 'preemptible'
1087
1088
  property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ContainerV1::ReservationAffinity, decorator: Google::Apis::ContainerV1::ReservationAffinity::Representation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20200619'
29
+ REVISION = '20200709'
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'
@@ -2678,6 +2678,14 @@ module Google
2678
2678
  # @return [String]
2679
2679
  attr_accessor :min_cpu_platform
2680
2680
 
2681
+ # Setting this field will assign instances of this
2682
+ # pool to run on the specified node group. This is useful for running
2683
+ # workloads on [sole tenant
2684
+ # nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
2685
+ # Corresponds to the JSON property `nodeGroup`
2686
+ # @return [String]
2687
+ attr_accessor :node_group
2688
+
2681
2689
  # The set of Google API scopes to be made available on all of the
2682
2690
  # node VMs under the "default" service account.
2683
2691
  # The following scopes are recommended, but not required, and by default are
@@ -2766,6 +2774,7 @@ module Google
2766
2774
  @machine_type = args[:machine_type] if args.key?(:machine_type)
2767
2775
  @metadata = args[:metadata] if args.key?(:metadata)
2768
2776
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
2777
+ @node_group = args[:node_group] if args.key?(:node_group)
2769
2778
  @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
2770
2779
  @preemptible = args[:preemptible] if args.key?(:preemptible)
2771
2780
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
@@ -4925,6 +4934,11 @@ module Google
4925
4934
  # @return [String]
4926
4935
  attr_accessor :identity_namespace
4927
4936
 
4937
+ # identity provider is the third party identity provider.
4938
+ # Corresponds to the JSON property `identityProvider`
4939
+ # @return [String]
4940
+ attr_accessor :identity_provider
4941
+
4928
4942
  # The workload pool to attach all Kubernetes service accounts to.
4929
4943
  # Corresponds to the JSON property `workloadPool`
4930
4944
  # @return [String]
@@ -4937,6 +4951,7 @@ module Google
4937
4951
  # Update properties of this object
4938
4952
  def update!(**args)
4939
4953
  @identity_namespace = args[:identity_namespace] if args.key?(:identity_namespace)
4954
+ @identity_provider = args[:identity_provider] if args.key?(:identity_provider)
4940
4955
  @workload_pool = args[:workload_pool] if args.key?(:workload_pool)
4941
4956
  end
4942
4957
  end