google-api-client 0.17.4 → 0.18.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +28 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +35 -0
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +101 -0
- data/generated/google/apis/abusiveexperiencereport_v1/representations.rb +59 -0
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +124 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +7 -5
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +148 -8
- data/generated/google/apis/admin_directory_v1/representations.rb +55 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/classes.rb +9 -2
- data/generated/google/apis/admin_reports_v1/representations.rb +1 -0
- data/generated/google/apis/admin_reports_v1/service.rb +58 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +55 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +10 -0
- data/generated/google/apis/androidmanagement_v1/classes.rb +26 -26
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +28 -1
- data/generated/google/apis/bigquery_v2/representations.rb +3 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +1 -1
- data/generated/google/apis/cloudiot_v1beta1.rb +1 -1
- data/generated/google/apis/cloudiot_v1beta1/classes.rb +0 -105
- data/generated/google/apis/cloudiot_v1beta1/representations.rb +0 -67
- data/generated/google/apis/cloudiot_v1beta1/service.rb +0 -107
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +0 -25
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +0 -4
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -143
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +0 -66
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +3 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +2 -4
- data/generated/google/apis/dataproc_v1/service.rb +9 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +17 -6
- data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +39 -5
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +2 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +15 -3
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +25 -5
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
- data/generated/google/apis/dlp_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2beta1/classes.rb +39 -0
- data/generated/google/apis/dlp_v2beta1/representations.rb +16 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +76 -0
- data/generated/google/apis/ml_v1/representations.rb +44 -0
- data/generated/google/apis/ml_v1/service.rb +73 -0
- data/generated/google/apis/poly_v1.rb +2 -2
- data/generated/google/apis/poly_v1/service.rb +1 -1
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +132 -0
- data/generated/google/apis/safebrowsing_v4/representations.rb +64 -0
- data/generated/google/apis/safebrowsing_v4/service.rb +31 -0
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +2 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -7
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -6
- data/generated/google/apis/dfareporting_v2_7.rb +0 -40
- data/generated/google/apis/dfareporting_v2_7/classes.rb +0 -11876
- data/generated/google/apis/dfareporting_v2_7/representations.rb +0 -4243
- data/generated/google/apis/dfareporting_v2_7/service.rb +0 -9098
|
@@ -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 = '20171206'
|
|
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'
|
|
@@ -318,14 +318,6 @@ module Google
|
|
|
318
318
|
class Constraint
|
|
319
319
|
include Google::Apis::Core::Hashable
|
|
320
320
|
|
|
321
|
-
# A `Constraint` that is either enforced or not.
|
|
322
|
-
# For example a constraint `constraints/compute.disableSerialPortAccess`.
|
|
323
|
-
# If it is enforced on a VM instance, serial port connections will not be
|
|
324
|
-
# opened to that instance.
|
|
325
|
-
# Corresponds to the JSON property `booleanConstraint`
|
|
326
|
-
# @return [Google::Apis::CloudresourcemanagerV1::BooleanConstraint]
|
|
327
|
-
attr_accessor :boolean_constraint
|
|
328
|
-
|
|
329
321
|
# The evaluation behavior of this constraint in the absense of 'Policy'.
|
|
330
322
|
# Corresponds to the JSON property `constraintDefault`
|
|
331
323
|
# @return [String]
|
|
@@ -367,7 +359,6 @@ module Google
|
|
|
367
359
|
|
|
368
360
|
# Update properties of this object
|
|
369
361
|
def update!(**args)
|
|
370
|
-
@boolean_constraint = args[:boolean_constraint] if args.key?(:boolean_constraint)
|
|
371
362
|
@constraint_default = args[:constraint_default] if args.key?(:constraint_default)
|
|
372
363
|
@description = args[:description] if args.key?(:description)
|
|
373
364
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
@@ -1075,21 +1066,6 @@ module Google
|
|
|
1075
1066
|
# @return [Google::Apis::CloudresourcemanagerV1::ListPolicy]
|
|
1076
1067
|
attr_accessor :list_policy
|
|
1077
1068
|
|
|
1078
|
-
# Ignores policies set above this resource and restores the
|
|
1079
|
-
# `constraint_default` enforcement behavior of the specific `Constraint` at
|
|
1080
|
-
# this resource.
|
|
1081
|
-
# Suppose that `constraint_default` is set to `ALLOW` for the
|
|
1082
|
-
# `Constraint` `constraints/serviceuser.services`. Suppose that organization
|
|
1083
|
-
# foo.com sets a `Policy` at their Organization resource node that restricts
|
|
1084
|
-
# the allowed service activations to deny all service activations. They
|
|
1085
|
-
# could then set a `Policy` with the `policy_type` `restore_default` on
|
|
1086
|
-
# several experimental projects, restoring the `constraint_default`
|
|
1087
|
-
# enforcement of the `Constraint` for only those projects, allowing those
|
|
1088
|
-
# projects to have all services activated.
|
|
1089
|
-
# Corresponds to the JSON property `restoreDefault`
|
|
1090
|
-
# @return [Google::Apis::CloudresourcemanagerV1::RestoreDefault]
|
|
1091
|
-
attr_accessor :restore_default
|
|
1092
|
-
|
|
1093
1069
|
# The time stamp the `Policy` was previously updated. This is set by the
|
|
1094
1070
|
# server, not specified by the caller, and represents the last time a call to
|
|
1095
1071
|
# `SetOrgPolicy` was made for that `Policy`. Any value set by the client will
|
|
@@ -1113,7 +1089,6 @@ module Google
|
|
|
1113
1089
|
@constraint = args[:constraint] if args.key?(:constraint)
|
|
1114
1090
|
@etag = args[:etag] if args.key?(:etag)
|
|
1115
1091
|
@list_policy = args[:list_policy] if args.key?(:list_policy)
|
|
1116
|
-
@restore_default = args[:restore_default] if args.key?(:restore_default)
|
|
1117
1092
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
1118
1093
|
@version = args[:version] if args.key?(:version)
|
|
1119
1094
|
end
|
|
@@ -331,8 +331,6 @@ module Google
|
|
|
331
331
|
class Constraint
|
|
332
332
|
# @private
|
|
333
333
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
334
|
-
property :boolean_constraint, as: 'booleanConstraint', class: Google::Apis::CloudresourcemanagerV1::BooleanConstraint, decorator: Google::Apis::CloudresourcemanagerV1::BooleanConstraint::Representation
|
|
335
|
-
|
|
336
334
|
property :constraint_default, as: 'constraintDefault'
|
|
337
335
|
property :description, as: 'description'
|
|
338
336
|
property :display_name, as: 'displayName'
|
|
@@ -503,8 +501,6 @@ module Google
|
|
|
503
501
|
property :etag, :base64 => true, as: 'etag'
|
|
504
502
|
property :list_policy, as: 'listPolicy', class: Google::Apis::CloudresourcemanagerV1::ListPolicy, decorator: Google::Apis::CloudresourcemanagerV1::ListPolicy::Representation
|
|
505
503
|
|
|
506
|
-
property :restore_default, as: 'restoreDefault', class: Google::Apis::CloudresourcemanagerV1::RestoreDefault, decorator: Google::Apis::CloudresourcemanagerV1::RestoreDefault::Representation
|
|
507
|
-
|
|
508
504
|
property :update_time, as: 'updateTime'
|
|
509
505
|
property :version, as: 'version'
|
|
510
506
|
end
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/cloud-tasks/
|
|
27
27
|
module CloudtasksV2beta2
|
|
28
28
|
VERSION = 'V2beta2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20171208'
|
|
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'
|
|
@@ -209,33 +209,6 @@ module Google
|
|
|
209
209
|
end
|
|
210
210
|
end
|
|
211
211
|
|
|
212
|
-
# Deprecated. Use AppEngineHttpTarget.
|
|
213
|
-
class AppEngineQueueConfig
|
|
214
|
-
include Google::Apis::Core::Hashable
|
|
215
|
-
|
|
216
|
-
# App Engine Routing.
|
|
217
|
-
# For more information about services, versions, and instances see
|
|
218
|
-
# [An Overview of App Engine](/appengine/docs/python/an-overview-of-app-engine),
|
|
219
|
-
# [Microservices Architecture on Google App Engine](/appengine/docs/python/
|
|
220
|
-
# microservices-on-app-engine),
|
|
221
|
-
# [App Engine Standard request routing](/appengine/docs/standard/python/how-
|
|
222
|
-
# requests-are-routed),
|
|
223
|
-
# and [App Engine Flex request routing](/appengine/docs/flexible/python/how-
|
|
224
|
-
# requests-are-routed).
|
|
225
|
-
# Corresponds to the JSON property `appEngineRoutingOverride`
|
|
226
|
-
# @return [Google::Apis::CloudtasksV2beta2::AppEngineRouting]
|
|
227
|
-
attr_accessor :app_engine_routing_override
|
|
228
|
-
|
|
229
|
-
def initialize(**args)
|
|
230
|
-
update!(**args)
|
|
231
|
-
end
|
|
232
|
-
|
|
233
|
-
# Update properties of this object
|
|
234
|
-
def update!(**args)
|
|
235
|
-
@app_engine_routing_override = args[:app_engine_routing_override] if args.key?(:app_engine_routing_override)
|
|
236
|
-
end
|
|
237
|
-
end
|
|
238
|
-
|
|
239
212
|
# App Engine Routing.
|
|
240
213
|
# For more information about services, versions, and instances see
|
|
241
214
|
# [An Overview of App Engine](/appengine/docs/python/an-overview-of-app-engine),
|
|
@@ -352,58 +325,6 @@ module Google
|
|
|
352
325
|
end
|
|
353
326
|
end
|
|
354
327
|
|
|
355
|
-
# Deprecated. Use AppEngineHttpRequest.
|
|
356
|
-
class AppEngineTaskTarget
|
|
357
|
-
include Google::Apis::Core::Hashable
|
|
358
|
-
|
|
359
|
-
# App Engine Routing.
|
|
360
|
-
# For more information about services, versions, and instances see
|
|
361
|
-
# [An Overview of App Engine](/appengine/docs/python/an-overview-of-app-engine),
|
|
362
|
-
# [Microservices Architecture on Google App Engine](/appengine/docs/python/
|
|
363
|
-
# microservices-on-app-engine),
|
|
364
|
-
# [App Engine Standard request routing](/appengine/docs/standard/python/how-
|
|
365
|
-
# requests-are-routed),
|
|
366
|
-
# and [App Engine Flex request routing](/appengine/docs/flexible/python/how-
|
|
367
|
-
# requests-are-routed).
|
|
368
|
-
# Corresponds to the JSON property `appEngineRouting`
|
|
369
|
-
# @return [Google::Apis::CloudtasksV2beta2::AppEngineRouting]
|
|
370
|
-
attr_accessor :app_engine_routing
|
|
371
|
-
|
|
372
|
-
# Deprecated. Use AppEngineHttpRequest.headers.
|
|
373
|
-
# Corresponds to the JSON property `headers`
|
|
374
|
-
# @return [Hash<String,String>]
|
|
375
|
-
attr_accessor :headers
|
|
376
|
-
|
|
377
|
-
# Deprecated. Use AppEngineHttpRequest.http_method.
|
|
378
|
-
# Corresponds to the JSON property `httpMethod`
|
|
379
|
-
# @return [String]
|
|
380
|
-
attr_accessor :http_method
|
|
381
|
-
|
|
382
|
-
# Deprecated. Use AppEngineHttpRequest.payload.
|
|
383
|
-
# Corresponds to the JSON property `payload`
|
|
384
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
385
|
-
# @return [String]
|
|
386
|
-
attr_accessor :payload
|
|
387
|
-
|
|
388
|
-
# Deprecated. Use AppEngineHttpRequest.relative_url.
|
|
389
|
-
# Corresponds to the JSON property `relativeUrl`
|
|
390
|
-
# @return [String]
|
|
391
|
-
attr_accessor :relative_url
|
|
392
|
-
|
|
393
|
-
def initialize(**args)
|
|
394
|
-
update!(**args)
|
|
395
|
-
end
|
|
396
|
-
|
|
397
|
-
# Update properties of this object
|
|
398
|
-
def update!(**args)
|
|
399
|
-
@app_engine_routing = args[:app_engine_routing] if args.key?(:app_engine_routing)
|
|
400
|
-
@headers = args[:headers] if args.key?(:headers)
|
|
401
|
-
@http_method = args[:http_method] if args.key?(:http_method)
|
|
402
|
-
@payload = args[:payload] if args.key?(:payload)
|
|
403
|
-
@relative_url = args[:relative_url] if args.key?(:relative_url)
|
|
404
|
-
end
|
|
405
|
-
end
|
|
406
|
-
|
|
407
328
|
# The status of a task attempt.
|
|
408
329
|
class AttemptStatus
|
|
409
330
|
include Google::Apis::Core::Hashable
|
|
@@ -868,19 +789,6 @@ module Google
|
|
|
868
789
|
end
|
|
869
790
|
end
|
|
870
791
|
|
|
871
|
-
# Deprecated. Use PullTarget.
|
|
872
|
-
class PullQueueConfig
|
|
873
|
-
include Google::Apis::Core::Hashable
|
|
874
|
-
|
|
875
|
-
def initialize(**args)
|
|
876
|
-
update!(**args)
|
|
877
|
-
end
|
|
878
|
-
|
|
879
|
-
# Update properties of this object
|
|
880
|
-
def update!(**args)
|
|
881
|
-
end
|
|
882
|
-
end
|
|
883
|
-
|
|
884
792
|
# Pull target.
|
|
885
793
|
class PullTarget
|
|
886
794
|
include Google::Apis::Core::Hashable
|
|
@@ -894,33 +802,6 @@ module Google
|
|
|
894
802
|
end
|
|
895
803
|
end
|
|
896
804
|
|
|
897
|
-
# Deprecated. Use PullMessage.
|
|
898
|
-
class PullTaskTarget
|
|
899
|
-
include Google::Apis::Core::Hashable
|
|
900
|
-
|
|
901
|
-
# Deprecated. Use PullMessage.payload.
|
|
902
|
-
# Corresponds to the JSON property `payload`
|
|
903
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
904
|
-
# @return [String]
|
|
905
|
-
attr_accessor :payload
|
|
906
|
-
|
|
907
|
-
# Deprecated. Use PullMessage.tag.
|
|
908
|
-
# Corresponds to the JSON property `tag`
|
|
909
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
910
|
-
# @return [String]
|
|
911
|
-
attr_accessor :tag
|
|
912
|
-
|
|
913
|
-
def initialize(**args)
|
|
914
|
-
update!(**args)
|
|
915
|
-
end
|
|
916
|
-
|
|
917
|
-
# Update properties of this object
|
|
918
|
-
def update!(**args)
|
|
919
|
-
@payload = args[:payload] if args.key?(:payload)
|
|
920
|
-
@tag = args[:tag] if args.key?(:tag)
|
|
921
|
-
end
|
|
922
|
-
end
|
|
923
|
-
|
|
924
805
|
# Request message for pulling tasks using CloudTasks.PullTasks.
|
|
925
806
|
class PullTasksRequest
|
|
926
807
|
include Google::Apis::Core::Hashable
|
|
@@ -1047,16 +928,14 @@ module Google
|
|
|
1047
928
|
# @return [Google::Apis::CloudtasksV2beta2::AppEngineHttpTarget]
|
|
1048
929
|
attr_accessor :app_engine_http_target
|
|
1049
930
|
|
|
1050
|
-
# Deprecated. Use AppEngineHttpTarget.
|
|
1051
|
-
# Corresponds to the JSON property `appEngineQueueConfig`
|
|
1052
|
-
# @return [Google::Apis::CloudtasksV2beta2::AppEngineQueueConfig]
|
|
1053
|
-
attr_accessor :app_engine_queue_config
|
|
1054
|
-
|
|
1055
931
|
# The queue name.
|
|
1056
932
|
# The queue name must have the following format:
|
|
1057
933
|
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
|
|
1058
934
|
# * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
|
|
1059
935
|
# hyphens (-), colons (:), or periods (.).
|
|
936
|
+
# For more information, see
|
|
937
|
+
# [Identifying projects](/resource-manager/docs/creating-managing-projects#
|
|
938
|
+
# identifying_projects)
|
|
1060
939
|
# * `LOCATION_ID` is the canonical ID for the queue's location.
|
|
1061
940
|
# The list of available locations can be obtained by calling
|
|
1062
941
|
# google.cloud.location.Locations.ListLocations.
|
|
@@ -1069,11 +948,6 @@ module Google
|
|
|
1069
948
|
# @return [String]
|
|
1070
949
|
attr_accessor :name
|
|
1071
950
|
|
|
1072
|
-
# Deprecated. Use PullTarget.
|
|
1073
|
-
# Corresponds to the JSON property `pullQueueConfig`
|
|
1074
|
-
# @return [Google::Apis::CloudtasksV2beta2::PullQueueConfig]
|
|
1075
|
-
attr_accessor :pull_queue_config
|
|
1076
|
-
|
|
1077
951
|
# Pull target.
|
|
1078
952
|
# Corresponds to the JSON property `pullTarget`
|
|
1079
953
|
# @return [Google::Apis::CloudtasksV2beta2::PullTarget]
|
|
@@ -1121,9 +995,7 @@ module Google
|
|
|
1121
995
|
# Update properties of this object
|
|
1122
996
|
def update!(**args)
|
|
1123
997
|
@app_engine_http_target = args[:app_engine_http_target] if args.key?(:app_engine_http_target)
|
|
1124
|
-
@app_engine_queue_config = args[:app_engine_queue_config] if args.key?(:app_engine_queue_config)
|
|
1125
998
|
@name = args[:name] if args.key?(:name)
|
|
1126
|
-
@pull_queue_config = args[:pull_queue_config] if args.key?(:pull_queue_config)
|
|
1127
999
|
@pull_target = args[:pull_target] if args.key?(:pull_target)
|
|
1128
1000
|
@purge_time = args[:purge_time] if args.key?(:purge_time)
|
|
1129
1001
|
@rate_limits = args[:rate_limits] if args.key?(:rate_limits)
|
|
@@ -1549,11 +1421,6 @@ module Google
|
|
|
1549
1421
|
# @return [Google::Apis::CloudtasksV2beta2::AppEngineHttpRequest]
|
|
1550
1422
|
attr_accessor :app_engine_http_request
|
|
1551
1423
|
|
|
1552
|
-
# Deprecated. Use AppEngineHttpRequest.
|
|
1553
|
-
# Corresponds to the JSON property `appEngineTaskTarget`
|
|
1554
|
-
# @return [Google::Apis::CloudtasksV2beta2::AppEngineTaskTarget]
|
|
1555
|
-
attr_accessor :app_engine_task_target
|
|
1556
|
-
|
|
1557
1424
|
# Output only. The time that the task was created.
|
|
1558
1425
|
# `create_time` will be truncated to the nearest second.
|
|
1559
1426
|
# Corresponds to the JSON property `createTime`
|
|
@@ -1565,6 +1432,9 @@ module Google
|
|
|
1565
1432
|
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
|
|
1566
1433
|
# * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
|
|
1567
1434
|
# hyphens (-), colons (:), or periods (.).
|
|
1435
|
+
# For more information, see
|
|
1436
|
+
# [Identifying projects](/resource-manager/docs/creating-managing-projects#
|
|
1437
|
+
# identifying_projects)
|
|
1568
1438
|
# * `LOCATION_ID` is the canonical ID for the task's location.
|
|
1569
1439
|
# The list of available locations can be obtained by calling
|
|
1570
1440
|
# google.cloud.location.Locations.ListLocations.
|
|
@@ -1586,11 +1456,6 @@ module Google
|
|
|
1586
1456
|
# @return [Google::Apis::CloudtasksV2beta2::PullMessage]
|
|
1587
1457
|
attr_accessor :pull_message
|
|
1588
1458
|
|
|
1589
|
-
# Deprecated. Use PullMessage.
|
|
1590
|
-
# Corresponds to the JSON property `pullTaskTarget`
|
|
1591
|
-
# @return [Google::Apis::CloudtasksV2beta2::PullTaskTarget]
|
|
1592
|
-
attr_accessor :pull_task_target
|
|
1593
|
-
|
|
1594
1459
|
# The time when the task is scheduled to be attempted.
|
|
1595
1460
|
# For pull queues, this is the time when the task is available to
|
|
1596
1461
|
# be leased; if a task is currently leased, this is the time when
|
|
@@ -1620,11 +1485,9 @@ module Google
|
|
|
1620
1485
|
# Update properties of this object
|
|
1621
1486
|
def update!(**args)
|
|
1622
1487
|
@app_engine_http_request = args[:app_engine_http_request] if args.key?(:app_engine_http_request)
|
|
1623
|
-
@app_engine_task_target = args[:app_engine_task_target] if args.key?(:app_engine_task_target)
|
|
1624
1488
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1625
1489
|
@name = args[:name] if args.key?(:name)
|
|
1626
1490
|
@pull_message = args[:pull_message] if args.key?(:pull_message)
|
|
1627
|
-
@pull_task_target = args[:pull_task_target] if args.key?(:pull_task_target)
|
|
1628
1491
|
@schedule_time = args[:schedule_time] if args.key?(:schedule_time)
|
|
1629
1492
|
@task_status = args[:task_status] if args.key?(:task_status)
|
|
1630
1493
|
@view = args[:view] if args.key?(:view)
|
|
@@ -40,24 +40,12 @@ module Google
|
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
-
class AppEngineQueueConfig
|
|
44
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
-
|
|
46
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
-
end
|
|
48
|
-
|
|
49
43
|
class AppEngineRouting
|
|
50
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
45
|
|
|
52
46
|
include Google::Apis::Core::JsonObjectSupport
|
|
53
47
|
end
|
|
54
48
|
|
|
55
|
-
class AppEngineTaskTarget
|
|
56
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
-
|
|
58
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
-
end
|
|
60
|
-
|
|
61
49
|
class AttemptStatus
|
|
62
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
51
|
|
|
@@ -136,24 +124,12 @@ module Google
|
|
|
136
124
|
include Google::Apis::Core::JsonObjectSupport
|
|
137
125
|
end
|
|
138
126
|
|
|
139
|
-
class PullQueueConfig
|
|
140
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
|
-
|
|
142
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
143
|
-
end
|
|
144
|
-
|
|
145
127
|
class PullTarget
|
|
146
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
129
|
|
|
148
130
|
include Google::Apis::Core::JsonObjectSupport
|
|
149
131
|
end
|
|
150
132
|
|
|
151
|
-
class PullTaskTarget
|
|
152
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
|
-
|
|
154
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
155
|
-
end
|
|
156
|
-
|
|
157
133
|
class PullTasksRequest
|
|
158
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
159
135
|
|
|
@@ -271,14 +247,6 @@ module Google
|
|
|
271
247
|
end
|
|
272
248
|
end
|
|
273
249
|
|
|
274
|
-
class AppEngineQueueConfig
|
|
275
|
-
# @private
|
|
276
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
277
|
-
property :app_engine_routing_override, as: 'appEngineRoutingOverride', class: Google::Apis::CloudtasksV2beta2::AppEngineRouting, decorator: Google::Apis::CloudtasksV2beta2::AppEngineRouting::Representation
|
|
278
|
-
|
|
279
|
-
end
|
|
280
|
-
end
|
|
281
|
-
|
|
282
250
|
class AppEngineRouting
|
|
283
251
|
# @private
|
|
284
252
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -289,18 +257,6 @@ module Google
|
|
|
289
257
|
end
|
|
290
258
|
end
|
|
291
259
|
|
|
292
|
-
class AppEngineTaskTarget
|
|
293
|
-
# @private
|
|
294
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
295
|
-
property :app_engine_routing, as: 'appEngineRouting', class: Google::Apis::CloudtasksV2beta2::AppEngineRouting, decorator: Google::Apis::CloudtasksV2beta2::AppEngineRouting::Representation
|
|
296
|
-
|
|
297
|
-
hash :headers, as: 'headers'
|
|
298
|
-
property :http_method, as: 'httpMethod'
|
|
299
|
-
property :payload, :base64 => true, as: 'payload'
|
|
300
|
-
property :relative_url, as: 'relativeUrl'
|
|
301
|
-
end
|
|
302
|
-
end
|
|
303
|
-
|
|
304
260
|
class AttemptStatus
|
|
305
261
|
# @private
|
|
306
262
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -410,26 +366,12 @@ module Google
|
|
|
410
366
|
end
|
|
411
367
|
end
|
|
412
368
|
|
|
413
|
-
class PullQueueConfig
|
|
414
|
-
# @private
|
|
415
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
416
|
-
end
|
|
417
|
-
end
|
|
418
|
-
|
|
419
369
|
class PullTarget
|
|
420
370
|
# @private
|
|
421
371
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
422
372
|
end
|
|
423
373
|
end
|
|
424
374
|
|
|
425
|
-
class PullTaskTarget
|
|
426
|
-
# @private
|
|
427
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
428
|
-
property :payload, :base64 => true, as: 'payload'
|
|
429
|
-
property :tag, :base64 => true, as: 'tag'
|
|
430
|
-
end
|
|
431
|
-
end
|
|
432
|
-
|
|
433
375
|
class PullTasksRequest
|
|
434
376
|
# @private
|
|
435
377
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -459,11 +401,7 @@ module Google
|
|
|
459
401
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
460
402
|
property :app_engine_http_target, as: 'appEngineHttpTarget', class: Google::Apis::CloudtasksV2beta2::AppEngineHttpTarget, decorator: Google::Apis::CloudtasksV2beta2::AppEngineHttpTarget::Representation
|
|
461
403
|
|
|
462
|
-
property :app_engine_queue_config, as: 'appEngineQueueConfig', class: Google::Apis::CloudtasksV2beta2::AppEngineQueueConfig, decorator: Google::Apis::CloudtasksV2beta2::AppEngineQueueConfig::Representation
|
|
463
|
-
|
|
464
404
|
property :name, as: 'name'
|
|
465
|
-
property :pull_queue_config, as: 'pullQueueConfig', class: Google::Apis::CloudtasksV2beta2::PullQueueConfig, decorator: Google::Apis::CloudtasksV2beta2::PullQueueConfig::Representation
|
|
466
|
-
|
|
467
405
|
property :pull_target, as: 'pullTarget', class: Google::Apis::CloudtasksV2beta2::PullTarget, decorator: Google::Apis::CloudtasksV2beta2::PullTarget::Representation
|
|
468
406
|
|
|
469
407
|
property :purge_time, as: 'purgeTime'
|
|
@@ -540,14 +478,10 @@ module Google
|
|
|
540
478
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
541
479
|
property :app_engine_http_request, as: 'appEngineHttpRequest', class: Google::Apis::CloudtasksV2beta2::AppEngineHttpRequest, decorator: Google::Apis::CloudtasksV2beta2::AppEngineHttpRequest::Representation
|
|
542
480
|
|
|
543
|
-
property :app_engine_task_target, as: 'appEngineTaskTarget', class: Google::Apis::CloudtasksV2beta2::AppEngineTaskTarget, decorator: Google::Apis::CloudtasksV2beta2::AppEngineTaskTarget::Representation
|
|
544
|
-
|
|
545
481
|
property :create_time, as: 'createTime'
|
|
546
482
|
property :name, as: 'name'
|
|
547
483
|
property :pull_message, as: 'pullMessage', class: Google::Apis::CloudtasksV2beta2::PullMessage, decorator: Google::Apis::CloudtasksV2beta2::PullMessage::Representation
|
|
548
484
|
|
|
549
|
-
property :pull_task_target, as: 'pullTaskTarget', class: Google::Apis::CloudtasksV2beta2::PullTaskTarget, decorator: Google::Apis::CloudtasksV2beta2::PullTaskTarget::Representation
|
|
550
|
-
|
|
551
485
|
property :schedule_time, as: 'scheduleTime'
|
|
552
486
|
property :task_status, as: 'taskStatus', class: Google::Apis::CloudtasksV2beta2::TaskStatus, decorator: Google::Apis::CloudtasksV2beta2::TaskStatus::Representation
|
|
553
487
|
|