google-api-client 0.24.2 → 0.24.3
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 +68 -0
- data/README.md +9 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +5 -4
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +90 -87
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +17 -15
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +155 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +82 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +31 -0
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +835 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +394 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +302 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +37 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +8 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +8 -4
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/service.rb +5 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +5 -1
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +8 -1
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +6 -5
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +12 -10
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +52 -18
- data/generated/google/apis/cloudasset_v1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +798 -0
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +263 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +313 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +42 -5
- data/generated/google/apis/cloudbuild_v1/representations.rb +6 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +59 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +28 -0
- data/generated/google/apis/cloudiot_v1/service.rb +94 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +1 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +34 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +1 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +227 -48
- data/generated/google/apis/compute_alpha/representations.rb +84 -1
- data/generated/google/apis/compute_alpha/service.rb +50 -10
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +593 -77
- data/generated/google/apis/compute_beta/representations.rb +224 -18
- data/generated/google/apis/compute_beta/service.rb +174 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +41 -18
- data/generated/google/apis/compute_v1/representations.rb +3 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +372 -119
- data/generated/google/apis/content_v2/representations.rb +157 -39
- data/generated/google/apis/content_v2/service.rb +101 -11
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +372 -119
- data/generated/google/apis/content_v2sandbox/representations.rb +157 -39
- data/generated/google/apis/content_v2sandbox/service.rb +90 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +7 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +12 -0
- data/generated/google/apis/dataproc_v1/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +21 -6
- data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +2 -2
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +2 -2
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +110 -5
- data/generated/google/apis/dlp_v2/representations.rb +17 -0
- data/generated/google/apis/dlp_v2/service.rb +41 -3
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +0 -234
- data/generated/google/apis/file_v1beta1/representations.rb +0 -79
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +19 -1
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +3 -0
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +4 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +43 -0
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +767 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +337 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +502 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +8 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +1 -0
- data/generated/google/apis/firebaserules_v1/service.rb +1 -1
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/service.rb +80 -80
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +4 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +3 -1
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/service.rb +0 -10
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/service.rb +339 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +45 -37
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +21 -18
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +45 -20
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +2 -0
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +12 -0
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +12 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +2 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +19 -17
- data/generated/google/apis/monitoring_v3/representations.rb +1 -2
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +18 -15
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +18 -15
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +2 -150
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -42
- data/generated/google/apis/servicenetworking_v1beta.rb +38 -0
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +3440 -0
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +992 -0
- data/generated/google/apis/servicenetworking_v1beta/service.rb +227 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2 -150
- data/generated/google/apis/serviceuser_v1/representations.rb +0 -42
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +308 -30
- data/generated/google/apis/spanner_v1/representations.rb +17 -0
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +12 -0
- data/generated/google/apis/streetviewpublish_v1/representations.rb +1 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +47 -0
- data/generated/google/apis/testing_v1/representations.rb +18 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +676 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +306 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +676 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +306 -0
- data/generated/google/apis/{videointelligence_v1beta1.rb → videointelligence_v1p1beta1.rb} +6 -6
- data/generated/google/apis/{videointelligence_v1beta1 → videointelligence_v1p1beta1}/classes.rb +885 -489
- data/generated/google/apis/{videointelligence_v1beta1 → videointelligence_v1p1beta1}/representations.rb +357 -194
- data/generated/google/apis/{videointelligence_v1beta1 → videointelligence_v1p1beta1}/service.rb +12 -12
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +2 -2
- data/generated/google/apis/youtube_partner_v1/classes.rb +2 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +22 -6
|
@@ -832,6 +832,11 @@ module Google
|
|
|
832
832
|
# @return [String]
|
|
833
833
|
attr_accessor :next_page_token
|
|
834
834
|
|
|
835
|
+
# The total count of items in the list irrespective of pagination.
|
|
836
|
+
# Corresponds to the JSON property `totalSize`
|
|
837
|
+
# @return [Fixnum]
|
|
838
|
+
attr_accessor :total_size
|
|
839
|
+
|
|
835
840
|
def initialize(**args)
|
|
836
841
|
update!(**args)
|
|
837
842
|
end
|
|
@@ -840,6 +845,7 @@ module Google
|
|
|
840
845
|
def update!(**args)
|
|
841
846
|
@devices = args[:devices] if args.key?(:devices)
|
|
842
847
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
848
|
+
@total_size = args[:total_size] if args.key?(:total_size)
|
|
843
849
|
end
|
|
844
850
|
end
|
|
845
851
|
|
|
@@ -896,6 +902,11 @@ module Google
|
|
|
896
902
|
# @return [String]
|
|
897
903
|
attr_accessor :next_page_token
|
|
898
904
|
|
|
905
|
+
# The total count of items in the list irrespective of pagination.
|
|
906
|
+
# Corresponds to the JSON property `totalSize`
|
|
907
|
+
# @return [Fixnum]
|
|
908
|
+
attr_accessor :total_size
|
|
909
|
+
|
|
899
910
|
def initialize(**args)
|
|
900
911
|
update!(**args)
|
|
901
912
|
end
|
|
@@ -904,6 +915,7 @@ module Google
|
|
|
904
915
|
def update!(**args)
|
|
905
916
|
@devices = args[:devices] if args.key?(:devices)
|
|
906
917
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
918
|
+
@total_size = args[:total_size] if args.key?(:total_size)
|
|
907
919
|
end
|
|
908
920
|
end
|
|
909
921
|
|
|
@@ -916,6 +928,17 @@ module Google
|
|
|
916
928
|
# @return [Array<Google::Apis::AndroiddeviceprovisioningV1::Company>]
|
|
917
929
|
attr_accessor :customers
|
|
918
930
|
|
|
931
|
+
# A token to retrieve the next page of results. Omitted if no further results
|
|
932
|
+
# are available.
|
|
933
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
934
|
+
# @return [String]
|
|
935
|
+
attr_accessor :next_page_token
|
|
936
|
+
|
|
937
|
+
# The total count of items in the list irrespective of pagination.
|
|
938
|
+
# Corresponds to the JSON property `totalSize`
|
|
939
|
+
# @return [Fixnum]
|
|
940
|
+
attr_accessor :total_size
|
|
941
|
+
|
|
919
942
|
def initialize(**args)
|
|
920
943
|
update!(**args)
|
|
921
944
|
end
|
|
@@ -923,6 +946,8 @@ module Google
|
|
|
923
946
|
# Update properties of this object
|
|
924
947
|
def update!(**args)
|
|
925
948
|
@customers = args[:customers] if args.key?(:customers)
|
|
949
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
950
|
+
@total_size = args[:total_size] if args.key?(:total_size)
|
|
926
951
|
end
|
|
927
952
|
end
|
|
928
953
|
|
|
@@ -941,6 +966,11 @@ module Google
|
|
|
941
966
|
# @return [String]
|
|
942
967
|
attr_accessor :next_page_token
|
|
943
968
|
|
|
969
|
+
# The total count of items in the list irrespective of pagination.
|
|
970
|
+
# Corresponds to the JSON property `totalSize`
|
|
971
|
+
# @return [Fixnum]
|
|
972
|
+
attr_accessor :total_size
|
|
973
|
+
|
|
944
974
|
def initialize(**args)
|
|
945
975
|
update!(**args)
|
|
946
976
|
end
|
|
@@ -949,6 +979,7 @@ module Google
|
|
|
949
979
|
def update!(**args)
|
|
950
980
|
@customers = args[:customers] if args.key?(:customers)
|
|
951
981
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
982
|
+
@total_size = args[:total_size] if args.key?(:total_size)
|
|
952
983
|
end
|
|
953
984
|
end
|
|
954
985
|
|
|
@@ -962,6 +993,11 @@ module Google
|
|
|
962
993
|
# @return [String]
|
|
963
994
|
attr_accessor :next_page_token
|
|
964
995
|
|
|
996
|
+
# The total count of items in the list irrespective of pagination.
|
|
997
|
+
# Corresponds to the JSON property `totalSize`
|
|
998
|
+
# @return [Fixnum]
|
|
999
|
+
attr_accessor :total_size
|
|
1000
|
+
|
|
965
1001
|
# List of vendors of the reseller partner. Fields `name`, `companyId` and
|
|
966
1002
|
# `companyName` are populated to the Company object.
|
|
967
1003
|
# Corresponds to the JSON property `vendors`
|
|
@@ -975,6 +1011,7 @@ module Google
|
|
|
975
1011
|
# Update properties of this object
|
|
976
1012
|
def update!(**args)
|
|
977
1013
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1014
|
+
@total_size = args[:total_size] if args.key?(:total_size)
|
|
978
1015
|
@vendors = args[:vendors] if args.key?(:vendors)
|
|
979
1016
|
end
|
|
980
1017
|
end
|
|
@@ -483,6 +483,7 @@ module Google
|
|
|
483
483
|
collection :devices, as: 'devices', class: Google::Apis::AndroiddeviceprovisioningV1::Device, decorator: Google::Apis::AndroiddeviceprovisioningV1::Device::Representation
|
|
484
484
|
|
|
485
485
|
property :next_page_token, as: 'nextPageToken'
|
|
486
|
+
property :total_size, as: 'totalSize'
|
|
486
487
|
end
|
|
487
488
|
end
|
|
488
489
|
|
|
@@ -502,6 +503,7 @@ module Google
|
|
|
502
503
|
collection :devices, as: 'devices', class: Google::Apis::AndroiddeviceprovisioningV1::Device, decorator: Google::Apis::AndroiddeviceprovisioningV1::Device::Representation
|
|
503
504
|
|
|
504
505
|
property :next_page_token, as: 'nextPageToken'
|
|
506
|
+
property :total_size, as: 'totalSize'
|
|
505
507
|
end
|
|
506
508
|
end
|
|
507
509
|
|
|
@@ -510,6 +512,8 @@ module Google
|
|
|
510
512
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
511
513
|
collection :customers, as: 'customers', class: Google::Apis::AndroiddeviceprovisioningV1::Company, decorator: Google::Apis::AndroiddeviceprovisioningV1::Company::Representation
|
|
512
514
|
|
|
515
|
+
property :next_page_token, as: 'nextPageToken'
|
|
516
|
+
property :total_size, as: 'totalSize'
|
|
513
517
|
end
|
|
514
518
|
end
|
|
515
519
|
|
|
@@ -519,6 +523,7 @@ module Google
|
|
|
519
523
|
collection :customers, as: 'customers', class: Google::Apis::AndroiddeviceprovisioningV1::Company, decorator: Google::Apis::AndroiddeviceprovisioningV1::Company::Representation
|
|
520
524
|
|
|
521
525
|
property :next_page_token, as: 'nextPageToken'
|
|
526
|
+
property :total_size, as: 'totalSize'
|
|
522
527
|
end
|
|
523
528
|
end
|
|
524
529
|
|
|
@@ -526,6 +531,7 @@ module Google
|
|
|
526
531
|
# @private
|
|
527
532
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
528
533
|
property :next_page_token, as: 'nextPageToken'
|
|
534
|
+
property :total_size, as: 'totalSize'
|
|
529
535
|
collection :vendors, as: 'vendors', class: Google::Apis::AndroiddeviceprovisioningV1::Company, decorator: Google::Apis::AndroiddeviceprovisioningV1::Company::Representation
|
|
530
536
|
|
|
531
537
|
end
|
|
@@ -535,6 +535,11 @@ module Google
|
|
|
535
535
|
# created and customers that enrolled themselves using the portal.
|
|
536
536
|
# @param [Fixnum] partner_id
|
|
537
537
|
# Required. The ID of the reseller partner.
|
|
538
|
+
# @param [Fixnum] page_size
|
|
539
|
+
# The maximum number of results to be returned. If not specified or 0, all
|
|
540
|
+
# the records are returned.
|
|
541
|
+
# @param [String] page_token
|
|
542
|
+
# A token identifying a page of results returned by the server.
|
|
538
543
|
# @param [String] fields
|
|
539
544
|
# Selector specifying which fields to include in a partial response.
|
|
540
545
|
# @param [String] quota_user
|
|
@@ -552,11 +557,13 @@ module Google
|
|
|
552
557
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
553
558
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
554
559
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
555
|
-
def list_partner_customers(partner_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
560
|
+
def list_partner_customers(partner_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
556
561
|
command = make_simple_command(:get, 'v1/partners/{+partnerId}/customers', options)
|
|
557
562
|
command.response_representation = Google::Apis::AndroiddeviceprovisioningV1::ListCustomersResponse::Representation
|
|
558
563
|
command.response_class = Google::Apis::AndroiddeviceprovisioningV1::ListCustomersResponse
|
|
559
564
|
command.params['partnerId'] = partner_id unless partner_id.nil?
|
|
565
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
566
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
560
567
|
command.query['fields'] = fields unless fields.nil?
|
|
561
568
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
562
569
|
execute_or_queue_command(command, &block)
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/android/work/play/emm-api
|
|
26
26
|
module AndroidenterpriseV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20181001'
|
|
29
29
|
|
|
30
30
|
# Manage corporate Android devices
|
|
31
31
|
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
|
@@ -86,10 +86,7 @@ module Google
|
|
|
86
86
|
# @return [String]
|
|
87
87
|
attr_accessor :parent
|
|
88
88
|
|
|
89
|
-
#
|
|
90
|
-
# only be allowed to view an iframe if they have all of the permissions
|
|
91
|
-
# associated with it. The only valid value is "approveApps" that will allow the
|
|
92
|
-
# admin to access the iframe in "approve" mode.
|
|
89
|
+
# Deprecated. Use PlaySearch.approveApps.
|
|
93
90
|
# Corresponds to the JSON property `permission`
|
|
94
91
|
# @return [Array<String>]
|
|
95
92
|
attr_accessor :permission
|
|
@@ -134,6 +131,12 @@ module Google
|
|
|
134
131
|
class AdministratorWebTokenSpecPlaySearch
|
|
135
132
|
include Google::Apis::Core::Hashable
|
|
136
133
|
|
|
134
|
+
# Allow access to the iframe in approve mode. Default is false.
|
|
135
|
+
# Corresponds to the JSON property `approveApps`
|
|
136
|
+
# @return [Boolean]
|
|
137
|
+
attr_accessor :approve_apps
|
|
138
|
+
alias_method :approve_apps?, :approve_apps
|
|
139
|
+
|
|
137
140
|
# Whether the Play Search page is displayed. Default is true.
|
|
138
141
|
# Corresponds to the JSON property `enabled`
|
|
139
142
|
# @return [Boolean]
|
|
@@ -146,6 +149,7 @@ module Google
|
|
|
146
149
|
|
|
147
150
|
# Update properties of this object
|
|
148
151
|
def update!(**args)
|
|
152
|
+
@approve_apps = args[:approve_apps] if args.key?(:approve_apps)
|
|
149
153
|
@enabled = args[:enabled] if args.key?(:enabled)
|
|
150
154
|
end
|
|
151
155
|
end
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/android-publisher
|
|
26
26
|
module AndroidpublisherV2
|
|
27
27
|
VERSION = 'V2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20181002'
|
|
29
29
|
|
|
30
30
|
# View and manage your Google Play Developer account
|
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
|
@@ -678,6 +678,9 @@ module Google
|
|
|
678
678
|
# spiffygame".
|
|
679
679
|
# @param [String] edit_id
|
|
680
680
|
# Unique identifier for this edit.
|
|
681
|
+
# @param [Boolean] ack_bundle_installation_warning
|
|
682
|
+
# Must be set to true if the bundle installation may trigger a warning on user
|
|
683
|
+
# devices (i.e. if installation size may be over a threshold, typically 100 MB).
|
|
681
684
|
# @param [String] fields
|
|
682
685
|
# Selector specifying which fields to include in a partial response.
|
|
683
686
|
# @param [String] quota_user
|
|
@@ -701,7 +704,7 @@ module Google
|
|
|
701
704
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
702
705
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
703
706
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
704
|
-
def upload_edit_bundle(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
|
707
|
+
def upload_edit_bundle(package_name, edit_id, ack_bundle_installation_warning: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
|
705
708
|
if upload_source.nil?
|
|
706
709
|
command = make_simple_command(:post, '{packageName}/edits/{editId}/bundles', options)
|
|
707
710
|
else
|
|
@@ -713,6 +716,7 @@ module Google
|
|
|
713
716
|
command.response_class = Google::Apis::AndroidpublisherV2::Bundle
|
|
714
717
|
command.params['packageName'] = package_name unless package_name.nil?
|
|
715
718
|
command.params['editId'] = edit_id unless edit_id.nil?
|
|
719
|
+
command.query['ackBundleInstallationWarning'] = ack_bundle_installation_warning unless ack_bundle_installation_warning.nil?
|
|
716
720
|
command.query['fields'] = fields unless fields.nil?
|
|
717
721
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
718
722
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/android-publisher
|
|
26
26
|
module AndroidpublisherV3
|
|
27
27
|
VERSION = 'V3'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20181002'
|
|
29
29
|
|
|
30
30
|
# View and manage your Google Play Developer account
|
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
|
@@ -412,6 +412,9 @@ module Google
|
|
|
412
412
|
# spiffygame".
|
|
413
413
|
# @param [String] edit_id
|
|
414
414
|
# Unique identifier for this edit.
|
|
415
|
+
# @param [Boolean] ack_bundle_installation_warning
|
|
416
|
+
# Must be set to true if the bundle installation may trigger a warning on user
|
|
417
|
+
# devices (i.e. if installation size may be over a threshold, typically 100 MB).
|
|
415
418
|
# @param [String] fields
|
|
416
419
|
# Selector specifying which fields to include in a partial response.
|
|
417
420
|
# @param [String] quota_user
|
|
@@ -435,7 +438,7 @@ module Google
|
|
|
435
438
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
436
439
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
437
440
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
438
|
-
def upload_edit_bundle(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
|
441
|
+
def upload_edit_bundle(package_name, edit_id, ack_bundle_installation_warning: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
|
439
442
|
if upload_source.nil?
|
|
440
443
|
command = make_simple_command(:post, '{packageName}/edits/{editId}/bundles', options)
|
|
441
444
|
else
|
|
@@ -447,6 +450,7 @@ module Google
|
|
|
447
450
|
command.response_class = Google::Apis::AndroidpublisherV3::Bundle
|
|
448
451
|
command.params['packageName'] = package_name unless package_name.nil?
|
|
449
452
|
command.params['editId'] = edit_id unless edit_id.nil?
|
|
453
|
+
command.query['ackBundleInstallationWarning'] = ack_bundle_installation_warning unless ack_bundle_installation_warning.nil?
|
|
450
454
|
command.query['fields'] = fields unless fields.nil?
|
|
451
455
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
452
456
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
|
27
27
|
module AppengineV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20181001'
|
|
30
30
|
|
|
31
31
|
# View and manage your applications deployed on Google App Engine
|
|
32
32
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
|
@@ -122,7 +122,7 @@ module Google
|
|
|
122
122
|
|
|
123
123
|
# HTTP path dispatch rules for requests to the application that do not
|
|
124
124
|
# explicitly target a service or version. Rules are order-dependent. Up to 20
|
|
125
|
-
# dispatch rules can be supported
|
|
125
|
+
# dispatch rules can be supported.
|
|
126
126
|
# Corresponds to the JSON property `dispatchRules`
|
|
127
127
|
# @return [Array<Google::Apis::AppengineV1::UrlDispatchRule>]
|
|
128
128
|
attr_accessor :dispatch_rules
|
|
@@ -832,6 +832,12 @@ module Google
|
|
|
832
832
|
# @return [String]
|
|
833
833
|
attr_accessor :config_id
|
|
834
834
|
|
|
835
|
+
# Enable or disable trace sampling. By default, this is set to false for enabled.
|
|
836
|
+
# Corresponds to the JSON property `disableTraceSampling`
|
|
837
|
+
# @return [Boolean]
|
|
838
|
+
attr_accessor :disable_trace_sampling
|
|
839
|
+
alias_method :disable_trace_sampling?, :disable_trace_sampling
|
|
840
|
+
|
|
835
841
|
# Endpoints service name which is the name of the "service" resource in the
|
|
836
842
|
# Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
|
|
837
843
|
# Corresponds to the JSON property `name`
|
|
@@ -851,6 +857,7 @@ module Google
|
|
|
851
857
|
# Update properties of this object
|
|
852
858
|
def update!(**args)
|
|
853
859
|
@config_id = args[:config_id] if args.key?(:config_id)
|
|
860
|
+
@disable_trace_sampling = args[:disable_trace_sampling] if args.key?(:disable_trace_sampling)
|
|
854
861
|
@name = args[:name] if args.key?(:name)
|
|
855
862
|
@rollout_strategy = args[:rollout_strategy] if args.key?(:rollout_strategy)
|
|
856
863
|
end
|
|
@@ -660,6 +660,7 @@ module Google
|
|
|
660
660
|
# @private
|
|
661
661
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
662
662
|
property :config_id, as: 'configId'
|
|
663
|
+
property :disable_trace_sampling, as: 'disableTraceSampling'
|
|
663
664
|
property :name, as: 'name'
|
|
664
665
|
property :rollout_strategy, as: 'rolloutStrategy'
|
|
665
666
|
end
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
|
27
27
|
module AppengineV1beta
|
|
28
28
|
VERSION = 'V1beta'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20181001'
|
|
30
30
|
|
|
31
31
|
# View and manage your applications deployed on Google App Engine
|
|
32
32
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
|
@@ -122,7 +122,7 @@ module Google
|
|
|
122
122
|
|
|
123
123
|
# HTTP path dispatch rules for requests to the application that do not
|
|
124
124
|
# explicitly target a service or version. Rules are order-dependent. Up to 20
|
|
125
|
-
# dispatch rules can be supported
|
|
125
|
+
# dispatch rules can be supported.
|
|
126
126
|
# Corresponds to the JSON property `dispatchRules`
|
|
127
127
|
# @return [Array<Google::Apis::AppengineV1beta::UrlDispatchRule>]
|
|
128
128
|
attr_accessor :dispatch_rules
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/bigquery/
|
|
27
27
|
module BigquerydatatransferV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20181001'
|
|
30
30
|
|
|
31
31
|
# View and manage your data in Google BigQuery
|
|
32
32
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
|
@@ -680,11 +680,12 @@ module Google
|
|
|
680
680
|
attr_accessor :display_name
|
|
681
681
|
|
|
682
682
|
# The resource name of the transfer config.
|
|
683
|
-
# Transfer config names have the form
|
|
684
|
-
# `projects/`project_id`/transferConfigs/`config_id``.
|
|
685
|
-
#
|
|
686
|
-
#
|
|
687
|
-
#
|
|
683
|
+
# Transfer config names have the form of
|
|
684
|
+
# `projects/`project_id`/location/`region`/transferConfigs/`config_id``.
|
|
685
|
+
# The name is automatically generated based on the config_id specified in
|
|
686
|
+
# CreateTransferConfigRequest along with project_id and region. If config_id
|
|
687
|
+
# is not provided, usually a uuid, even though it is not guaranteed or
|
|
688
|
+
# required, will be generated for config_id.
|
|
688
689
|
# Corresponds to the JSON property `name`
|
|
689
690
|
# @return [String]
|
|
690
691
|
attr_accessor :name
|
|
@@ -508,11 +508,12 @@ module Google
|
|
|
508
508
|
# All fields must be set, even if they are not updated.
|
|
509
509
|
# @param [String] name
|
|
510
510
|
# The resource name of the transfer config.
|
|
511
|
-
# Transfer config names have the form
|
|
512
|
-
# `projects/`project_id`/transferConfigs/`config_id``.
|
|
513
|
-
#
|
|
514
|
-
#
|
|
515
|
-
#
|
|
511
|
+
# Transfer config names have the form of
|
|
512
|
+
# `projects/`project_id`/location/`region`/transferConfigs/`config_id``.
|
|
513
|
+
# The name is automatically generated based on the config_id specified in
|
|
514
|
+
# CreateTransferConfigRequest along with project_id and region. If config_id
|
|
515
|
+
# is not provided, usually a uuid, even though it is not guaranteed or
|
|
516
|
+
# required, will be generated for config_id.
|
|
516
517
|
# @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object
|
|
517
518
|
# @param [String] authorization_code
|
|
518
519
|
# Optional OAuth2 authorization code to use with this transfer configuration.
|
|
@@ -921,11 +922,12 @@ module Google
|
|
|
921
922
|
# All fields must be set, even if they are not updated.
|
|
922
923
|
# @param [String] name
|
|
923
924
|
# The resource name of the transfer config.
|
|
924
|
-
# Transfer config names have the form
|
|
925
|
-
# `projects/`project_id`/transferConfigs/`config_id``.
|
|
926
|
-
#
|
|
927
|
-
#
|
|
928
|
-
#
|
|
925
|
+
# Transfer config names have the form of
|
|
926
|
+
# `projects/`project_id`/location/`region`/transferConfigs/`config_id``.
|
|
927
|
+
# The name is automatically generated based on the config_id specified in
|
|
928
|
+
# CreateTransferConfigRequest along with project_id and region. If config_id
|
|
929
|
+
# is not provided, usually a uuid, even though it is not guaranteed or
|
|
930
|
+
# required, will be generated for config_id.
|
|
929
931
|
# @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object
|
|
930
932
|
# @param [String] authorization_code
|
|
931
933
|
# Optional OAuth2 authorization code to use with this transfer configuration.
|
|
@@ -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 = '20181002'
|
|
29
29
|
|
|
30
30
|
# Manage your calendars
|
|
31
31
|
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
|
@@ -986,8 +986,12 @@ module Google
|
|
|
986
986
|
# @param [String] event_id
|
|
987
987
|
# Event identifier.
|
|
988
988
|
# @param [Boolean] send_notifications
|
|
989
|
-
#
|
|
990
|
-
#
|
|
989
|
+
# Deprecated. Please use sendUpdates instead.
|
|
990
|
+
# Whether to send notifications about the deletion of the event. Note that some
|
|
991
|
+
# emails might still be sent even if you set the value to false. The default is
|
|
992
|
+
# false.
|
|
993
|
+
# @param [String] send_updates
|
|
994
|
+
# Guests who should receive notifications about the deletion of the event.
|
|
991
995
|
# @param [String] fields
|
|
992
996
|
# Selector specifying which fields to include in a partial response.
|
|
993
997
|
# @param [String] quota_user
|
|
@@ -1007,11 +1011,12 @@ module Google
|
|
|
1007
1011
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1008
1012
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1009
1013
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1010
|
-
def delete_event(calendar_id, event_id, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1014
|
+
def delete_event(calendar_id, event_id, send_notifications: nil, send_updates: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1011
1015
|
command = make_simple_command(:delete, 'calendars/{calendarId}/events/{eventId}', options)
|
|
1012
1016
|
command.params['calendarId'] = calendar_id unless calendar_id.nil?
|
|
1013
1017
|
command.params['eventId'] = event_id unless event_id.nil?
|
|
1014
1018
|
command.query['sendNotifications'] = send_notifications unless send_notifications.nil?
|
|
1019
|
+
command.query['sendUpdates'] = send_updates unless send_updates.nil?
|
|
1015
1020
|
command.query['fields'] = fields unless fields.nil?
|
|
1016
1021
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1017
1022
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
@@ -1139,8 +1144,13 @@ module Google
|
|
|
1139
1144
|
# than the specified number of attendees, only the participant is returned.
|
|
1140
1145
|
# Optional.
|
|
1141
1146
|
# @param [Boolean] send_notifications
|
|
1142
|
-
#
|
|
1143
|
-
#
|
|
1147
|
+
# Deprecated. Please use sendUpdates instead.
|
|
1148
|
+
# Whether to send notifications about the creation of the new event. Note that
|
|
1149
|
+
# some emails might still be sent even if you set the value to false. The
|
|
1150
|
+
# default is false.
|
|
1151
|
+
# @param [String] send_updates
|
|
1152
|
+
# Whether to send notifications about the creation of the new event. Note that
|
|
1153
|
+
# some emails might still be sent. The default is false.
|
|
1144
1154
|
# @param [Boolean] supports_attachments
|
|
1145
1155
|
# Whether API client performing operation supports event attachments. Optional.
|
|
1146
1156
|
# The default is False.
|
|
@@ -1163,7 +1173,7 @@ module Google
|
|
|
1163
1173
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1164
1174
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1165
1175
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1166
|
-
def insert_event(calendar_id, event_object = nil, conference_data_version: nil, max_attendees: nil, send_notifications: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1176
|
+
def insert_event(calendar_id, event_object = nil, conference_data_version: nil, max_attendees: nil, send_notifications: nil, send_updates: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1167
1177
|
command = make_simple_command(:post, 'calendars/{calendarId}/events', options)
|
|
1168
1178
|
command.request_representation = Google::Apis::CalendarV3::Event::Representation
|
|
1169
1179
|
command.request_object = event_object
|
|
@@ -1173,6 +1183,7 @@ module Google
|
|
|
1173
1183
|
command.query['conferenceDataVersion'] = conference_data_version unless conference_data_version.nil?
|
|
1174
1184
|
command.query['maxAttendees'] = max_attendees unless max_attendees.nil?
|
|
1175
1185
|
command.query['sendNotifications'] = send_notifications unless send_notifications.nil?
|
|
1186
|
+
command.query['sendUpdates'] = send_updates unless send_updates.nil?
|
|
1176
1187
|
command.query['supportsAttachments'] = supports_attachments unless supports_attachments.nil?
|
|
1177
1188
|
command.query['fields'] = fields unless fields.nil?
|
|
1178
1189
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -1409,8 +1420,13 @@ module Google
|
|
|
1409
1420
|
# @param [String] destination
|
|
1410
1421
|
# Calendar identifier of the target calendar where the event is to be moved to.
|
|
1411
1422
|
# @param [Boolean] send_notifications
|
|
1412
|
-
#
|
|
1413
|
-
#
|
|
1423
|
+
# Deprecated. Please use sendUpdates instead.
|
|
1424
|
+
# Whether to send notifications about the change of the event's organizer. Note
|
|
1425
|
+
# that some emails might still be sent even if you set the value to false. The
|
|
1426
|
+
# default is false.
|
|
1427
|
+
# @param [String] send_updates
|
|
1428
|
+
# Guests who should receive notifications about the change of the event's
|
|
1429
|
+
# organizer.
|
|
1414
1430
|
# @param [String] fields
|
|
1415
1431
|
# Selector specifying which fields to include in a partial response.
|
|
1416
1432
|
# @param [String] quota_user
|
|
@@ -1430,7 +1446,7 @@ module Google
|
|
|
1430
1446
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1431
1447
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1432
1448
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1433
|
-
def move_event(calendar_id, event_id, destination, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1449
|
+
def move_event(calendar_id, event_id, destination, send_notifications: nil, send_updates: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1434
1450
|
command = make_simple_command(:post, 'calendars/{calendarId}/events/{eventId}/move', options)
|
|
1435
1451
|
command.response_representation = Google::Apis::CalendarV3::Event::Representation
|
|
1436
1452
|
command.response_class = Google::Apis::CalendarV3::Event
|
|
@@ -1438,6 +1454,7 @@ module Google
|
|
|
1438
1454
|
command.params['eventId'] = event_id unless event_id.nil?
|
|
1439
1455
|
command.query['destination'] = destination unless destination.nil?
|
|
1440
1456
|
command.query['sendNotifications'] = send_notifications unless send_notifications.nil?
|
|
1457
|
+
command.query['sendUpdates'] = send_updates unless send_updates.nil?
|
|
1441
1458
|
command.query['fields'] = fields unless fields.nil?
|
|
1442
1459
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1443
1460
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
@@ -1469,8 +1486,13 @@ module Google
|
|
|
1469
1486
|
# than the specified number of attendees, only the participant is returned.
|
|
1470
1487
|
# Optional.
|
|
1471
1488
|
# @param [Boolean] send_notifications
|
|
1472
|
-
#
|
|
1473
|
-
#
|
|
1489
|
+
# Deprecated. Please use sendUpdates instead.
|
|
1490
|
+
# Whether to send notifications about the event update (for example, description
|
|
1491
|
+
# changes, etc.). Note that some emails might still be sent even if you set the
|
|
1492
|
+
# value to false. The default is false.
|
|
1493
|
+
# @param [String] send_updates
|
|
1494
|
+
# Guests who should receive notifications about the event update (for example,
|
|
1495
|
+
# title changes, etc.).
|
|
1474
1496
|
# @param [Boolean] supports_attachments
|
|
1475
1497
|
# Whether API client performing operation supports event attachments. Optional.
|
|
1476
1498
|
# The default is False.
|
|
@@ -1493,7 +1515,7 @@ module Google
|
|
|
1493
1515
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1494
1516
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1495
1517
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1496
|
-
def patch_event(calendar_id, event_id, event_object = nil, always_include_email: nil, conference_data_version: nil, max_attendees: nil, send_notifications: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1518
|
+
def patch_event(calendar_id, event_id, event_object = nil, always_include_email: nil, conference_data_version: nil, max_attendees: nil, send_notifications: nil, send_updates: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1497
1519
|
command = make_simple_command(:patch, 'calendars/{calendarId}/events/{eventId}', options)
|
|
1498
1520
|
command.request_representation = Google::Apis::CalendarV3::Event::Representation
|
|
1499
1521
|
command.request_object = event_object
|
|
@@ -1505,6 +1527,7 @@ module Google
|
|
|
1505
1527
|
command.query['conferenceDataVersion'] = conference_data_version unless conference_data_version.nil?
|
|
1506
1528
|
command.query['maxAttendees'] = max_attendees unless max_attendees.nil?
|
|
1507
1529
|
command.query['sendNotifications'] = send_notifications unless send_notifications.nil?
|
|
1530
|
+
command.query['sendUpdates'] = send_updates unless send_updates.nil?
|
|
1508
1531
|
command.query['supportsAttachments'] = supports_attachments unless supports_attachments.nil?
|
|
1509
1532
|
command.query['fields'] = fields unless fields.nil?
|
|
1510
1533
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -1520,8 +1543,12 @@ module Google
|
|
|
1520
1543
|
# @param [String] text
|
|
1521
1544
|
# The text describing the event to be created.
|
|
1522
1545
|
# @param [Boolean] send_notifications
|
|
1523
|
-
#
|
|
1524
|
-
#
|
|
1546
|
+
# Deprecated. Please use sendUpdates instead.
|
|
1547
|
+
# Whether to send notifications about the creation of the event. Note that some
|
|
1548
|
+
# emails might still be sent even if you set the value to false. The default is
|
|
1549
|
+
# false.
|
|
1550
|
+
# @param [String] send_updates
|
|
1551
|
+
# Guests who should receive notifications about the creation of the new event.
|
|
1525
1552
|
# @param [String] fields
|
|
1526
1553
|
# Selector specifying which fields to include in a partial response.
|
|
1527
1554
|
# @param [String] quota_user
|
|
@@ -1541,12 +1568,13 @@ module Google
|
|
|
1541
1568
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1542
1569
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1543
1570
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1544
|
-
def quick_add_event(calendar_id, text, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1571
|
+
def quick_add_event(calendar_id, text, send_notifications: nil, send_updates: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1545
1572
|
command = make_simple_command(:post, 'calendars/{calendarId}/events/quickAdd', options)
|
|
1546
1573
|
command.response_representation = Google::Apis::CalendarV3::Event::Representation
|
|
1547
1574
|
command.response_class = Google::Apis::CalendarV3::Event
|
|
1548
1575
|
command.params['calendarId'] = calendar_id unless calendar_id.nil?
|
|
1549
1576
|
command.query['sendNotifications'] = send_notifications unless send_notifications.nil?
|
|
1577
|
+
command.query['sendUpdates'] = send_updates unless send_updates.nil?
|
|
1550
1578
|
command.query['text'] = text unless text.nil?
|
|
1551
1579
|
command.query['fields'] = fields unless fields.nil?
|
|
1552
1580
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -1579,8 +1607,13 @@ module Google
|
|
|
1579
1607
|
# than the specified number of attendees, only the participant is returned.
|
|
1580
1608
|
# Optional.
|
|
1581
1609
|
# @param [Boolean] send_notifications
|
|
1582
|
-
#
|
|
1583
|
-
#
|
|
1610
|
+
# Deprecated. Please use sendUpdates instead.
|
|
1611
|
+
# Whether to send notifications about the event update (for example, description
|
|
1612
|
+
# changes, etc.). Note that some emails might still be sent even if you set the
|
|
1613
|
+
# value to false. The default is false.
|
|
1614
|
+
# @param [String] send_updates
|
|
1615
|
+
# Guests who should receive notifications about the event update (for example,
|
|
1616
|
+
# title changes, etc.).
|
|
1584
1617
|
# @param [Boolean] supports_attachments
|
|
1585
1618
|
# Whether API client performing operation supports event attachments. Optional.
|
|
1586
1619
|
# The default is False.
|
|
@@ -1603,7 +1636,7 @@ module Google
|
|
|
1603
1636
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1604
1637
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1605
1638
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1606
|
-
def update_event(calendar_id, event_id, event_object = nil, always_include_email: nil, conference_data_version: nil, max_attendees: nil, send_notifications: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1639
|
+
def update_event(calendar_id, event_id, event_object = nil, always_include_email: nil, conference_data_version: nil, max_attendees: nil, send_notifications: nil, send_updates: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1607
1640
|
command = make_simple_command(:put, 'calendars/{calendarId}/events/{eventId}', options)
|
|
1608
1641
|
command.request_representation = Google::Apis::CalendarV3::Event::Representation
|
|
1609
1642
|
command.request_object = event_object
|
|
@@ -1615,6 +1648,7 @@ module Google
|
|
|
1615
1648
|
command.query['conferenceDataVersion'] = conference_data_version unless conference_data_version.nil?
|
|
1616
1649
|
command.query['maxAttendees'] = max_attendees unless max_attendees.nil?
|
|
1617
1650
|
command.query['sendNotifications'] = send_notifications unless send_notifications.nil?
|
|
1651
|
+
command.query['sendUpdates'] = send_updates unless send_updates.nil?
|
|
1618
1652
|
command.query['supportsAttachments'] = supports_attachments unless supports_attachments.nil?
|
|
1619
1653
|
command.query['fields'] = fields unless fields.nil?
|
|
1620
1654
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|