google-api-client 0.18.1 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +32 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +349 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +153 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +412 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +75 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +22 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +56 -0
- data/generated/google/apis/bigquery_v2/representations.rb +20 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +15 -4
- data/generated/google/apis/calendar_v3/representations.rb +1 -0
- data/generated/google/apis/calendar_v3/service.rb +8 -4
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +9 -2
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +3 -3
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +8 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +19 -18
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +2 -2
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +256 -63
- data/generated/google/apis/compute_alpha/representations.rb +44 -1
- data/generated/google/apis/compute_alpha/service.rb +217 -2
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +776 -46
- data/generated/google/apis/compute_beta/representations.rb +254 -0
- data/generated/google/apis/compute_beta/service.rb +1070 -13
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +83 -46
- data/generated/google/apis/compute_v1/service.rb +4 -2
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +52 -0
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +19 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +31 -11
- data/generated/google/apis/dlp_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2beta1/classes.rb +70 -4
- data/generated/google/apis/dlp_v2beta1/representations.rb +1 -0
- data/generated/google/apis/dlp_v2beta2.rb +1 -1
- data/generated/google/apis/dlp_v2beta2/classes.rb +124 -30
- data/generated/google/apis/dlp_v2beta2/representations.rb +2 -0
- data/generated/google/apis/dlp_v2beta2/service.rb +14 -10
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +0 -56
- data/generated/google/apis/iam_v1/representations.rb +0 -18
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +8 -6
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +8 -6
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +22 -5
- data/generated/google/apis/ml_v1/service.rb +19 -5
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +10 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +6 -5
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +6 -5
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +283 -0
- data/generated/google/apis/sheets_v4/representations.rb +90 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +115 -4
- data/generated/google/apis/storage_v1/representations.rb +23 -0
- data/generated/google/apis/storage_v1/service.rb +44 -1
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -4
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -6
- data/generated/google/apis/consumersurveys_v2.rb +0 -40
- data/generated/google/apis/consumersurveys_v2/classes.rb +0 -736
- data/generated/google/apis/consumersurveys_v2/representations.rb +0 -343
- data/generated/google/apis/consumersurveys_v2/service.rb +0 -478
@@ -70,6 +70,12 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class DeviceSettings
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
73
79
|
class DisplayProp
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
81
|
|
@@ -340,6 +346,8 @@ module Google
|
|
340
346
|
property :applied_policy_name, as: 'appliedPolicyName'
|
341
347
|
property :applied_policy_version, :numeric_string => true, as: 'appliedPolicyVersion'
|
342
348
|
property :applied_state, as: 'appliedState'
|
349
|
+
property :device_settings, as: 'deviceSettings', class: Google::Apis::AndroidmanagementV1::DeviceSettings, decorator: Google::Apis::AndroidmanagementV1::DeviceSettings::Representation
|
350
|
+
|
343
351
|
property :disabled_reason, as: 'disabledReason', class: Google::Apis::AndroidmanagementV1::UserFacingMessage, decorator: Google::Apis::AndroidmanagementV1::UserFacingMessage::Representation
|
344
352
|
|
345
353
|
collection :displays, as: 'displays', class: Google::Apis::AndroidmanagementV1::DisplayProp, decorator: Google::Apis::AndroidmanagementV1::DisplayProp::Representation
|
@@ -375,6 +383,18 @@ module Google
|
|
375
383
|
end
|
376
384
|
end
|
377
385
|
|
386
|
+
class DeviceSettings
|
387
|
+
# @private
|
388
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
389
|
+
property :adb_enabled, as: 'adbEnabled'
|
390
|
+
property :development_settings_enabled, as: 'developmentSettingsEnabled'
|
391
|
+
property :encryption_status, as: 'encryptionStatus'
|
392
|
+
property :is_device_secure, as: 'isDeviceSecure'
|
393
|
+
property :is_encrypted, as: 'isEncrypted'
|
394
|
+
property :unknown_sources_enabled, as: 'unknownSourcesEnabled'
|
395
|
+
end
|
396
|
+
end
|
397
|
+
|
378
398
|
class DisplayProp
|
379
399
|
# @private
|
380
400
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -721,6 +741,8 @@ module Google
|
|
721
741
|
class Representation < Google::Apis::Core::JsonRepresentation
|
722
742
|
property :android_build_number, as: 'androidBuildNumber'
|
723
743
|
property :android_build_time, as: 'androidBuildTime'
|
744
|
+
property :android_device_policy_version_code, as: 'androidDevicePolicyVersionCode'
|
745
|
+
property :android_device_policy_version_name, as: 'androidDevicePolicyVersionName'
|
724
746
|
property :android_version, as: 'androidVersion'
|
725
747
|
property :bootloader_version, as: 'bootloaderVersion'
|
726
748
|
property :device_kernel_version, as: 'deviceKernelVersion'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/bigquery/
|
26
26
|
module BigqueryV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20171217'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -2016,6 +2016,11 @@ module Google
|
|
2016
2016
|
# @return [String]
|
2017
2017
|
attr_accessor :statement_type
|
2018
2018
|
|
2019
|
+
# [Output-only] Describes a timeline of job execution.
|
2020
|
+
# Corresponds to the JSON property `timeline`
|
2021
|
+
# @return [Array<Google::Apis::BigqueryV2::QueryTimelineSample>]
|
2022
|
+
attr_accessor :timeline
|
2023
|
+
|
2019
2024
|
# [Output-only] Total bytes billed for the job.
|
2020
2025
|
# Corresponds to the JSON property `totalBytesBilled`
|
2021
2026
|
# @return [Fixnum]
|
@@ -2053,6 +2058,7 @@ module Google
|
|
2053
2058
|
@referenced_tables = args[:referenced_tables] if args.key?(:referenced_tables)
|
2054
2059
|
@schema = args[:schema] if args.key?(:schema)
|
2055
2060
|
@statement_type = args[:statement_type] if args.key?(:statement_type)
|
2061
|
+
@timeline = args[:timeline] if args.key?(:timeline)
|
2056
2062
|
@total_bytes_billed = args[:total_bytes_billed] if args.key?(:total_bytes_billed)
|
2057
2063
|
@total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
|
2058
2064
|
@total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms)
|
@@ -2596,6 +2602,56 @@ module Google
|
|
2596
2602
|
end
|
2597
2603
|
end
|
2598
2604
|
|
2605
|
+
#
|
2606
|
+
class QueryTimelineSample
|
2607
|
+
include Google::Apis::Core::Hashable
|
2608
|
+
|
2609
|
+
# Total number of active workers. This does not correspond directly to slot
|
2610
|
+
# usage. This is the largest value observed since the last sample.
|
2611
|
+
# Corresponds to the JSON property `activeInputs`
|
2612
|
+
# @return [Fixnum]
|
2613
|
+
attr_accessor :active_inputs
|
2614
|
+
|
2615
|
+
# Total parallel units of work completed by this query.
|
2616
|
+
# Corresponds to the JSON property `completedInputs`
|
2617
|
+
# @return [Fixnum]
|
2618
|
+
attr_accessor :completed_inputs
|
2619
|
+
|
2620
|
+
# Total parallel units of work completed by the currently active stages.
|
2621
|
+
# Corresponds to the JSON property `completedInputsForActiveStages`
|
2622
|
+
# @return [Fixnum]
|
2623
|
+
attr_accessor :completed_inputs_for_active_stages
|
2624
|
+
|
2625
|
+
# Milliseconds elapsed since the start of query execution.
|
2626
|
+
# Corresponds to the JSON property `elapsedMs`
|
2627
|
+
# @return [Fixnum]
|
2628
|
+
attr_accessor :elapsed_ms
|
2629
|
+
|
2630
|
+
# Total parallel units of work remaining for the active stages.
|
2631
|
+
# Corresponds to the JSON property `pendingInputs`
|
2632
|
+
# @return [Fixnum]
|
2633
|
+
attr_accessor :pending_inputs
|
2634
|
+
|
2635
|
+
# Cumulative slot-ms consumed by the query.
|
2636
|
+
# Corresponds to the JSON property `totalSlotMs`
|
2637
|
+
# @return [Fixnum]
|
2638
|
+
attr_accessor :total_slot_ms
|
2639
|
+
|
2640
|
+
def initialize(**args)
|
2641
|
+
update!(**args)
|
2642
|
+
end
|
2643
|
+
|
2644
|
+
# Update properties of this object
|
2645
|
+
def update!(**args)
|
2646
|
+
@active_inputs = args[:active_inputs] if args.key?(:active_inputs)
|
2647
|
+
@completed_inputs = args[:completed_inputs] if args.key?(:completed_inputs)
|
2648
|
+
@completed_inputs_for_active_stages = args[:completed_inputs_for_active_stages] if args.key?(:completed_inputs_for_active_stages)
|
2649
|
+
@elapsed_ms = args[:elapsed_ms] if args.key?(:elapsed_ms)
|
2650
|
+
@pending_inputs = args[:pending_inputs] if args.key?(:pending_inputs)
|
2651
|
+
@total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms)
|
2652
|
+
end
|
2653
|
+
end
|
2654
|
+
|
2599
2655
|
#
|
2600
2656
|
class Streamingbuffer
|
2601
2657
|
include Google::Apis::Core::Hashable
|
@@ -268,6 +268,12 @@ module Google
|
|
268
268
|
include Google::Apis::Core::JsonObjectSupport
|
269
269
|
end
|
270
270
|
|
271
|
+
class QueryTimelineSample
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
271
277
|
class Streamingbuffer
|
272
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
279
|
|
@@ -813,6 +819,8 @@ module Google
|
|
813
819
|
property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
|
814
820
|
|
815
821
|
property :statement_type, as: 'statementType'
|
822
|
+
collection :timeline, as: 'timeline', class: Google::Apis::BigqueryV2::QueryTimelineSample, decorator: Google::Apis::BigqueryV2::QueryTimelineSample::Representation
|
823
|
+
|
816
824
|
property :total_bytes_billed, :numeric_string => true, as: 'totalBytesBilled'
|
817
825
|
property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
|
818
826
|
property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'
|
@@ -964,6 +972,18 @@ module Google
|
|
964
972
|
end
|
965
973
|
end
|
966
974
|
|
975
|
+
class QueryTimelineSample
|
976
|
+
# @private
|
977
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
978
|
+
property :active_inputs, as: 'activeInputs'
|
979
|
+
property :completed_inputs, as: 'completedInputs'
|
980
|
+
property :completed_inputs_for_active_stages, as: 'completedInputsForActiveStages'
|
981
|
+
property :elapsed_ms, :numeric_string => true, as: 'elapsedMs'
|
982
|
+
property :pending_inputs, :numeric_string => true, as: 'pendingInputs'
|
983
|
+
property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'
|
984
|
+
end
|
985
|
+
end
|
986
|
+
|
967
987
|
class Streamingbuffer
|
968
988
|
# @private
|
969
989
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -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 = '
|
28
|
+
REVISION = '20171217'
|
29
29
|
|
30
30
|
# Manage your calendars
|
31
31
|
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
@@ -655,6 +655,13 @@ module Google
|
|
655
655
|
# @return [Array<Google::Apis::CalendarV3::EntryPoint>]
|
656
656
|
attr_accessor :entry_points
|
657
657
|
|
658
|
+
# Additional notes (such as instructions from the domain administrator, legal
|
659
|
+
# notices) to display to the user. Can contain HTML. The maximum length is 2048
|
660
|
+
# characters. Optional.
|
661
|
+
# Corresponds to the JSON property `notes`
|
662
|
+
# @return [String]
|
663
|
+
attr_accessor :notes
|
664
|
+
|
658
665
|
# The signature of the conference data.
|
659
666
|
# Genereated on server side. Must be preserved while copying the conference data
|
660
667
|
# between events, otherwise the conference data will not be copied.
|
@@ -674,6 +681,7 @@ module Google
|
|
674
681
|
@conference_solution = args[:conference_solution] if args.key?(:conference_solution)
|
675
682
|
@create_request = args[:create_request] if args.key?(:create_request)
|
676
683
|
@entry_points = args[:entry_points] if args.key?(:entry_points)
|
684
|
+
@notes = args[:notes] if args.key?(:notes)
|
677
685
|
@signature = args[:signature] if args.key?(:signature)
|
678
686
|
end
|
679
687
|
end
|
@@ -764,9 +772,10 @@ module Google
|
|
764
772
|
# If a client encounters an unfamiliar or empty type, it should still be able to
|
765
773
|
# display the entry points. However, it should disallow modifications.
|
766
774
|
# The possible values are:
|
767
|
-
# - "eventHangout"
|
768
|
-
# - "eventNamedHangout"
|
769
|
-
#
|
775
|
+
# - "eventHangout" for Hangouts for consumers (http://hangouts.google.com)
|
776
|
+
# - "eventNamedHangout" for Classic Hangouts for GSuite users (http://hangouts.
|
777
|
+
# google.com)
|
778
|
+
# - "hangoutsMeet" for Hangouts Meet (http://meet.google.com)
|
770
779
|
# Corresponds to the JSON property `type`
|
771
780
|
# @return [String]
|
772
781
|
attr_accessor :type
|
@@ -993,7 +1002,9 @@ module Google
|
|
993
1002
|
attr_accessor :color_id
|
994
1003
|
|
995
1004
|
# The conference-related information, such as details of a Hangouts Meet
|
996
|
-
# conference. To create new conference details use the createRequest field.
|
1005
|
+
# conference. To create new conference details use the createRequest field. To
|
1006
|
+
# persist your changes, remember to set the conferenceDataVersion request
|
1007
|
+
# parameter to 1 for all event modification requests.
|
997
1008
|
# Corresponds to the JSON property `conferenceData`
|
998
1009
|
# @return [Google::Apis::CalendarV3::ConferenceData]
|
999
1010
|
attr_accessor :conference_data
|
@@ -406,6 +406,7 @@ module Google
|
|
406
406
|
|
407
407
|
collection :entry_points, as: 'entryPoints', class: Google::Apis::CalendarV3::EntryPoint, decorator: Google::Apis::CalendarV3::EntryPoint::Representation
|
408
408
|
|
409
|
+
property :notes, as: 'notes'
|
409
410
|
property :signature, as: 'signature'
|
410
411
|
end
|
411
412
|
end
|
@@ -1133,7 +1133,8 @@ module Google
|
|
1133
1133
|
# Version number of conference data supported by the API client. Version 0
|
1134
1134
|
# assumes no conference data support and ignores conference data in the event's
|
1135
1135
|
# body. Version 1 enables support for copying of ConferenceData as well as for
|
1136
|
-
# creating new conferences using the
|
1136
|
+
# creating new conferences using the createRequest field of conferenceData. The
|
1137
|
+
# default is 0.
|
1137
1138
|
# @param [Boolean] supports_attachments
|
1138
1139
|
# Whether API client performing operation supports event attachments. Optional.
|
1139
1140
|
# The default is False.
|
@@ -1183,7 +1184,8 @@ module Google
|
|
1183
1184
|
# Version number of conference data supported by the API client. Version 0
|
1184
1185
|
# assumes no conference data support and ignores conference data in the event's
|
1185
1186
|
# body. Version 1 enables support for copying of ConferenceData as well as for
|
1186
|
-
# creating new conferences using the
|
1187
|
+
# creating new conferences using the createRequest field of conferenceData. The
|
1188
|
+
# default is 0.
|
1187
1189
|
# @param [Fixnum] max_attendees
|
1188
1190
|
# The maximum number of attendees to include in the response. If there are more
|
1189
1191
|
# than the specified number of attendees, only the participant is returned.
|
@@ -1520,7 +1522,8 @@ module Google
|
|
1520
1522
|
# Version number of conference data supported by the API client. Version 0
|
1521
1523
|
# assumes no conference data support and ignores conference data in the event's
|
1522
1524
|
# body. Version 1 enables support for copying of ConferenceData as well as for
|
1523
|
-
# creating new conferences using the
|
1525
|
+
# creating new conferences using the createRequest field of conferenceData. The
|
1526
|
+
# default is 0.
|
1524
1527
|
# @param [Fixnum] max_attendees
|
1525
1528
|
# The maximum number of attendees to include in the response. If there are more
|
1526
1529
|
# than the specified number of attendees, only the participant is returned.
|
@@ -1633,7 +1636,8 @@ module Google
|
|
1633
1636
|
# Version number of conference data supported by the API client. Version 0
|
1634
1637
|
# assumes no conference data support and ignores conference data in the event's
|
1635
1638
|
# body. Version 1 enables support for copying of ConferenceData as well as for
|
1636
|
-
# creating new conferences using the
|
1639
|
+
# creating new conferences using the createRequest field of conferenceData. The
|
1640
|
+
# default is 0.
|
1637
1641
|
# @param [Fixnum] max_attendees
|
1638
1642
|
# The maximum number of attendees to include in the response. If there are more
|
1639
1643
|
# than the specified number of attendees, only the participant is returned.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/functions
|
27
27
|
module CloudfunctionsV1
|
28
28
|
VERSION = 'V1'
|
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'
|
@@ -308,13 +308,20 @@ module Google
|
|
308
308
|
|
309
309
|
# Returns a signed URL for uploading a function source code.
|
310
310
|
# For more information about the signed URL usage see:
|
311
|
-
# https://cloud.google.com/storage/docs/access-control/signed-urls
|
311
|
+
# https://cloud.google.com/storage/docs/access-control/signed-urls.
|
312
312
|
# Once the function source code upload is complete, the used signed
|
313
313
|
# URL should be provided in CreateFunction or UpdateFunction request
|
314
314
|
# as a reference to the function source code.
|
315
|
+
# When uploading source code to the generated signed URL, please follow
|
316
|
+
# these restrictions:
|
317
|
+
# * Source file type should be a zip file.
|
318
|
+
# * Source file size should not exceed 100MB limit.
|
319
|
+
# When making a HTTP PUT request, these two headers need to be specified:
|
320
|
+
# * `content-type: application/zip`
|
321
|
+
# * `x-google-content-length-range: 0,104857600`
|
315
322
|
# @param [String] parent
|
316
323
|
# The project and location in which the Google Cloud Storage signed URL
|
317
|
-
# should be generated, specified in the format `projects/*/locations
|
324
|
+
# should be generated, specified in the format `projects/*/locations/*`.
|
318
325
|
# @param [Google::Apis::CloudfunctionsV1::GenerateUploadUrlRequest] generate_upload_url_request_object
|
319
326
|
# @param [String] fields
|
320
327
|
# Selector specifying which fields to include in a partial response.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/functions
|
27
27
|
module CloudfunctionsV1beta2
|
28
28
|
VERSION = 'V1beta2'
|
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'
|
@@ -220,10 +220,10 @@ module Google
|
|
220
220
|
# `event_type` names contain the service that is sending an event and the
|
221
221
|
# kind of event that was fired. Must be of the form
|
222
222
|
# `providers/*/eventTypes/*` e.g. Directly handle a Message published to
|
223
|
-
# Google Cloud Pub/Sub `providers/cloud.pubsub/eventTypes/topic.publish
|
224
|
-
# Handle an object changing in Google Cloud Storage
|
223
|
+
# Google Cloud Pub/Sub `providers/cloud.pubsub/eventTypes/topic.publish`.
|
224
|
+
# Handle an object changing in Google Cloud Storage:
|
225
225
|
# `providers/cloud.storage/eventTypes/object.change`
|
226
|
-
# Handle a write to the Firebase Realtime Database
|
226
|
+
# Handle a write to the Firebase Realtime Database:
|
227
227
|
# `providers/google.firebase.database/eventTypes/ref.write`
|
228
228
|
# Corresponds to the JSON property `eventType`
|
229
229
|
# @return [String]
|
@@ -312,9 +312,16 @@ module Google
|
|
312
312
|
# Once the function source code upload is complete, the used signed
|
313
313
|
# URL should be provided in CreateFunction or UpdateFunction request
|
314
314
|
# as a reference to the function source code.
|
315
|
+
# When uploading source code to the generated signed URL, please follow
|
316
|
+
# these restrictions:
|
317
|
+
# * Source file type should be a zip file.
|
318
|
+
# * Source file size should not exceed 100MB limit.
|
319
|
+
# When making a HTTP PUT request, these two headers need to be specified:
|
320
|
+
# * `content-type: application/zip`
|
321
|
+
# * `x-google-content-length-range: 0,104857600`
|
315
322
|
# @param [String] parent
|
316
323
|
# The project and location in which the Google Cloud Storage signed URL
|
317
|
-
# should be generated, specified in the format `projects/*/locations
|
324
|
+
# should be generated, specified in the format `projects/*/locations/*`.
|
318
325
|
# @param [Google::Apis::CloudfunctionsV1beta2::GenerateUploadUrlRequest] generate_upload_url_request_object
|
319
326
|
# @param [String] fields
|
320
327
|
# Selector specifying which fields to include in a partial response.
|
@@ -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 = '20171219'
|
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'
|
@@ -69,13 +69,11 @@ module Google
|
|
69
69
|
# task-level app_engine_routing.
|
70
70
|
# The `url` that the task will be sent to is:
|
71
71
|
# * `url =` AppEngineRouting.host `+` AppEngineHttpRequest.relative_url
|
72
|
-
# The task
|
73
|
-
#
|
74
|
-
#
|
75
|
-
#
|
76
|
-
#
|
77
|
-
# Requests returning error 503 will be retried regardless of retry
|
78
|
-
# configuration and not counted against retry counts.
|
72
|
+
# The task attempt has succeeded if the app's request handler returns
|
73
|
+
# an HTTP response code in the range [`200` - `299`]. `503` is
|
74
|
+
# considered an App Engine system error instead of an application
|
75
|
+
# error. Requests returning error `503` will be retried regardless of
|
76
|
+
# retry configuration and not counted against retry counts.
|
79
77
|
# Any other response code or a failure to receive a response before the
|
80
78
|
# deadline is a failed attempt.
|
81
79
|
class AppEngineHttpRequest
|
@@ -118,10 +116,15 @@ module Google
|
|
118
116
|
# * `Host`
|
119
117
|
# * `X-Google-*`
|
120
118
|
# * `X-AppEngine-*`
|
121
|
-
# In addition,
|
122
|
-
#
|
119
|
+
# In addition, Cloud Tasks sets some headers when the task is dispatched,
|
120
|
+
# such as headers containing information about the task; see
|
123
121
|
# [request headers](/appengine/docs/python/taskqueue/push/creating-handlers#
|
124
122
|
# reading_request_headers).
|
123
|
+
# These headers are set only when the task is dispatched, so they are not
|
124
|
+
# visible when the task is returned in a Cloud Tasks response.
|
125
|
+
# Although there is no specific limit for the maximum number of headers or
|
126
|
+
# the size, there is a limit on the maximum size of the Task. For more
|
127
|
+
# information, see the CloudTasks.CreateTask documentation.
|
125
128
|
# Corresponds to the JSON property `headers`
|
126
129
|
# @return [Hash<String,String>]
|
127
130
|
attr_accessor :headers
|
@@ -134,7 +137,7 @@ module Google
|
|
134
137
|
# creating-handlers#writing_a_push_task_request_handler)
|
135
138
|
# and the documentation for the request handlers in the language your app is
|
136
139
|
# written in e.g.
|
137
|
-
# [
|
140
|
+
# [Python Request Handler](/appengine/docs/python/tools/webapp/
|
138
141
|
# requesthandlerclass).
|
139
142
|
# Corresponds to the JSON property `httpMethod`
|
140
143
|
# @return [String]
|
@@ -555,7 +558,7 @@ module Google
|
|
555
558
|
# `filter` can be used to specify a subset of tasks to lease.
|
556
559
|
# When `filter` is set to `tag=<my-tag>` then the
|
557
560
|
# LeaseTasksResponse will contain only tasks whose
|
558
|
-
#
|
561
|
+
# PullMessage.tag is equal to `<my-tag>`. `<my-tag>` must be less than
|
559
562
|
# 500 bytes.
|
560
563
|
# When `filter` is set to `tag_function=oldest_tag()`, only tasks which have
|
561
564
|
# the same tag as the task with the oldest schedule_time will be returned.
|
@@ -1501,13 +1504,11 @@ module Google
|
|
1501
1504
|
# task-level app_engine_routing.
|
1502
1505
|
# The `url` that the task will be sent to is:
|
1503
1506
|
# * `url =` AppEngineRouting.host `+` AppEngineHttpRequest.relative_url
|
1504
|
-
# The task
|
1505
|
-
#
|
1506
|
-
#
|
1507
|
-
#
|
1508
|
-
#
|
1509
|
-
# Requests returning error 503 will be retried regardless of retry
|
1510
|
-
# configuration and not counted against retry counts.
|
1507
|
+
# The task attempt has succeeded if the app's request handler returns
|
1508
|
+
# an HTTP response code in the range [`200` - `299`]. `503` is
|
1509
|
+
# considered an App Engine system error instead of an application
|
1510
|
+
# error. Requests returning error `503` will be retried regardless of
|
1511
|
+
# retry configuration and not counted against retry counts.
|
1511
1512
|
# Any other response code or a failure to receive a response before the
|
1512
1513
|
# deadline is a failed attempt.
|
1513
1514
|
# Corresponds to the JSON property `appEngineHttpRequest`
|
@@ -522,8 +522,8 @@ module Google
|
|
522
522
|
class TaskStatus
|
523
523
|
# @private
|
524
524
|
class Representation < Google::Apis::Core::JsonRepresentation
|
525
|
-
property :attempt_dispatch_count,
|
526
|
-
property :attempt_response_count,
|
525
|
+
property :attempt_dispatch_count, as: 'attemptDispatchCount'
|
526
|
+
property :attempt_response_count, as: 'attemptResponseCount'
|
527
527
|
property :first_attempt_status, as: 'firstAttemptStatus', class: Google::Apis::CloudtasksV2beta2::AttemptStatus, decorator: Google::Apis::CloudtasksV2beta2::AttemptStatus::Representation
|
528
528
|
|
529
529
|
property :last_attempt_status, as: 'lastAttemptStatus', class: Google::Apis::CloudtasksV2beta2::AttemptStatus, decorator: Google::Apis::CloudtasksV2beta2::AttemptStatus::Representation
|