google-api-client 0.29.0 → 0.29.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +0 -914
- data/generated/google/apis/bigquery_v2/representations.rb +0 -365
- data/generated/google/apis/bigquery_v2/service.rb +0 -162
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +8 -8
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +6 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +3 -3
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/service.rb +5 -4
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/service.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +10 -21
- data/generated/google/apis/drive_v2/service.rb +78 -26
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -20
- data/generated/google/apis/drive_v3/service.rb +54 -18
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +48 -0
- data/generated/google/apis/iam_v1/representations.rb +28 -0
- data/generated/google/apis/iam_v1/service.rb +23 -6
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +6 -0
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +6 -0
- data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +6 -0
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +6 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +6 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +48 -6
- data/generated/google/apis/spanner_v1/representations.rb +17 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -2
- data/generated/google/apis/storage_v1/representations.rb +2 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
@@ -577,168 +577,6 @@ module Google
|
|
577
577
|
execute_or_queue_command(command, &block)
|
578
578
|
end
|
579
579
|
|
580
|
-
# Deletes the model specified by modelId from the dataset.
|
581
|
-
# @param [String] project_id
|
582
|
-
# Project ID of the model to delete.
|
583
|
-
# @param [String] dataset_id
|
584
|
-
# Dataset ID of the model to delete.
|
585
|
-
# @param [String] model_id
|
586
|
-
# Model ID of the model to delete.
|
587
|
-
# @param [String] fields
|
588
|
-
# Selector specifying which fields to include in a partial response.
|
589
|
-
# @param [String] quota_user
|
590
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
591
|
-
# characters.
|
592
|
-
# @param [String] user_ip
|
593
|
-
# Deprecated. Please use quotaUser instead.
|
594
|
-
# @param [Google::Apis::RequestOptions] options
|
595
|
-
# Request-specific options
|
596
|
-
#
|
597
|
-
# @yield [result, err] Result & error if block supplied
|
598
|
-
# @yieldparam result [NilClass] No result returned for this method
|
599
|
-
# @yieldparam err [StandardError] error object if request failed
|
600
|
-
#
|
601
|
-
# @return [void]
|
602
|
-
#
|
603
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
604
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
605
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
606
|
-
def delete_model(project_id, dataset_id, model_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
607
|
-
command = make_simple_command(:delete, 'projects/{+projectId}/datasets/{+datasetId}/models/{+modelId}', options)
|
608
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
609
|
-
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
610
|
-
command.params['modelId'] = model_id unless model_id.nil?
|
611
|
-
command.query['fields'] = fields unless fields.nil?
|
612
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
613
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
614
|
-
execute_or_queue_command(command, &block)
|
615
|
-
end
|
616
|
-
|
617
|
-
# Gets the specified model resource by model ID.
|
618
|
-
# @param [String] project_id
|
619
|
-
# Project ID of the requested model.
|
620
|
-
# @param [String] dataset_id
|
621
|
-
# Dataset ID of the requested model.
|
622
|
-
# @param [String] model_id
|
623
|
-
# Model ID of the requested model.
|
624
|
-
# @param [String] fields
|
625
|
-
# Selector specifying which fields to include in a partial response.
|
626
|
-
# @param [String] quota_user
|
627
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
628
|
-
# characters.
|
629
|
-
# @param [String] user_ip
|
630
|
-
# Deprecated. Please use quotaUser instead.
|
631
|
-
# @param [Google::Apis::RequestOptions] options
|
632
|
-
# Request-specific options
|
633
|
-
#
|
634
|
-
# @yield [result, err] Result & error if block supplied
|
635
|
-
# @yieldparam result [Google::Apis::BigqueryV2::Model] parsed result object
|
636
|
-
# @yieldparam err [StandardError] error object if request failed
|
637
|
-
#
|
638
|
-
# @return [Google::Apis::BigqueryV2::Model]
|
639
|
-
#
|
640
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
641
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
642
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
643
|
-
def get_model(project_id, dataset_id, model_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
644
|
-
command = make_simple_command(:get, 'projects/{+projectId}/datasets/{+datasetId}/models/{+modelId}', options)
|
645
|
-
command.response_representation = Google::Apis::BigqueryV2::Model::Representation
|
646
|
-
command.response_class = Google::Apis::BigqueryV2::Model
|
647
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
648
|
-
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
649
|
-
command.params['modelId'] = model_id unless model_id.nil?
|
650
|
-
command.query['fields'] = fields unless fields.nil?
|
651
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
652
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
653
|
-
execute_or_queue_command(command, &block)
|
654
|
-
end
|
655
|
-
|
656
|
-
# Lists all models in the specified dataset. Requires the READER dataset
|
657
|
-
# role.
|
658
|
-
# @param [String] project_id
|
659
|
-
# Project ID of the models to list.
|
660
|
-
# @param [String] dataset_id
|
661
|
-
# Dataset ID of the models to list.
|
662
|
-
# @param [Fixnum] max_results
|
663
|
-
# The maximum number of results per page.
|
664
|
-
# @param [String] page_token
|
665
|
-
# Page token, returned by a previous call to request the next page of
|
666
|
-
# results
|
667
|
-
# @param [String] fields
|
668
|
-
# Selector specifying which fields to include in a partial response.
|
669
|
-
# @param [String] quota_user
|
670
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
671
|
-
# characters.
|
672
|
-
# @param [String] user_ip
|
673
|
-
# Deprecated. Please use quotaUser instead.
|
674
|
-
# @param [Google::Apis::RequestOptions] options
|
675
|
-
# Request-specific options
|
676
|
-
#
|
677
|
-
# @yield [result, err] Result & error if block supplied
|
678
|
-
# @yieldparam result [Google::Apis::BigqueryV2::ListModelsResponse] parsed result object
|
679
|
-
# @yieldparam err [StandardError] error object if request failed
|
680
|
-
#
|
681
|
-
# @return [Google::Apis::BigqueryV2::ListModelsResponse]
|
682
|
-
#
|
683
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
684
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
685
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
686
|
-
def list_models(project_id, dataset_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
687
|
-
command = make_simple_command(:get, 'projects/{+projectId}/datasets/{+datasetId}/models', options)
|
688
|
-
command.response_representation = Google::Apis::BigqueryV2::ListModelsResponse::Representation
|
689
|
-
command.response_class = Google::Apis::BigqueryV2::ListModelsResponse
|
690
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
691
|
-
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
692
|
-
command.query['maxResults'] = max_results unless max_results.nil?
|
693
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
694
|
-
command.query['fields'] = fields unless fields.nil?
|
695
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
696
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
697
|
-
execute_or_queue_command(command, &block)
|
698
|
-
end
|
699
|
-
|
700
|
-
# Patch specific fields in the specified model.
|
701
|
-
# @param [String] project_id
|
702
|
-
# Project ID of the model to patch.
|
703
|
-
# @param [String] dataset_id
|
704
|
-
# Dataset ID of the model to patch.
|
705
|
-
# @param [String] model_id
|
706
|
-
# Model ID of the model to patch.
|
707
|
-
# @param [Google::Apis::BigqueryV2::Model] model_object
|
708
|
-
# @param [String] fields
|
709
|
-
# Selector specifying which fields to include in a partial response.
|
710
|
-
# @param [String] quota_user
|
711
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
712
|
-
# characters.
|
713
|
-
# @param [String] user_ip
|
714
|
-
# Deprecated. Please use quotaUser instead.
|
715
|
-
# @param [Google::Apis::RequestOptions] options
|
716
|
-
# Request-specific options
|
717
|
-
#
|
718
|
-
# @yield [result, err] Result & error if block supplied
|
719
|
-
# @yieldparam result [Google::Apis::BigqueryV2::Model] parsed result object
|
720
|
-
# @yieldparam err [StandardError] error object if request failed
|
721
|
-
#
|
722
|
-
# @return [Google::Apis::BigqueryV2::Model]
|
723
|
-
#
|
724
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
725
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
726
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
727
|
-
def patch_model(project_id, dataset_id, model_id, model_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
728
|
-
command = make_simple_command(:patch, 'projects/{+projectId}/datasets/{+datasetId}/models/{+modelId}', options)
|
729
|
-
command.request_representation = Google::Apis::BigqueryV2::Model::Representation
|
730
|
-
command.request_object = model_object
|
731
|
-
command.response_representation = Google::Apis::BigqueryV2::Model::Representation
|
732
|
-
command.response_class = Google::Apis::BigqueryV2::Model
|
733
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
734
|
-
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
735
|
-
command.params['modelId'] = model_id unless model_id.nil?
|
736
|
-
command.query['fields'] = fields unless fields.nil?
|
737
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
738
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
739
|
-
execute_or_queue_command(command, &block)
|
740
|
-
end
|
741
|
-
|
742
580
|
# Returns the email address of the service account for your project used for
|
743
581
|
# interactions with Google Cloud KMS.
|
744
582
|
# @param [String] project_id
|
@@ -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 = '20190430'
|
29
29
|
|
30
30
|
# See, edit, share, and permanently delete all the calendars you can access using Google Calendar
|
31
31
|
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
@@ -677,7 +677,7 @@ module Google
|
|
677
677
|
attr_accessor :parameters
|
678
678
|
|
679
679
|
# The signature of the conference data.
|
680
|
-
#
|
680
|
+
# Generated on server side. Must be preserved while copying the conference data
|
681
681
|
# between events, otherwise the conference data will not be copied.
|
682
682
|
# Unset for a conference with a failed create request.
|
683
683
|
# Optional for a conference with a pending create request.
|
@@ -1346,14 +1346,14 @@ module Google
|
|
1346
1346
|
# Learn more about incremental synchronization.
|
1347
1347
|
# Optional. The default is to return all entries.
|
1348
1348
|
# @param [DateTime] time_max
|
1349
|
-
# Upper bound (exclusive) for an event's
|
1350
|
-
# default is not to filter by
|
1349
|
+
# Upper bound (exclusive) for an event's start time to filter by. Optional. The
|
1350
|
+
# default is not to filter by start time. Must be an RFC3339 timestamp with
|
1351
1351
|
# mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-
|
1352
1352
|
# 03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMin is set,
|
1353
1353
|
# timeMax must be greater than timeMin.
|
1354
1354
|
# @param [DateTime] time_min
|
1355
|
-
# Lower bound (
|
1356
|
-
# default is not to filter by
|
1355
|
+
# Lower bound (exclusive) for an event's end time to filter by. Optional. The
|
1356
|
+
# default is not to filter by end time. Must be an RFC3339 timestamp with
|
1357
1357
|
# mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-
|
1358
1358
|
# 03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMax is set,
|
1359
1359
|
# timeMin must be smaller than timeMax.
|
@@ -1733,14 +1733,14 @@ module Google
|
|
1733
1733
|
# Learn more about incremental synchronization.
|
1734
1734
|
# Optional. The default is to return all entries.
|
1735
1735
|
# @param [DateTime] time_max
|
1736
|
-
# Upper bound (exclusive) for an event's
|
1737
|
-
# default is not to filter by
|
1736
|
+
# Upper bound (exclusive) for an event's start time to filter by. Optional. The
|
1737
|
+
# default is not to filter by start time. Must be an RFC3339 timestamp with
|
1738
1738
|
# mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-
|
1739
1739
|
# 03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMin is set,
|
1740
1740
|
# timeMax must be greater than timeMin.
|
1741
1741
|
# @param [DateTime] time_min
|
1742
|
-
# Lower bound (
|
1743
|
-
# default is not to filter by
|
1742
|
+
# Lower bound (exclusive) for an event's end time to filter by. Optional. The
|
1743
|
+
# default is not to filter by end time. Must be an RFC3339 timestamp with
|
1744
1744
|
# mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-
|
1745
1745
|
# 03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMax is set,
|
1746
1746
|
# timeMin must be smaller than timeMax.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/cloud-build/docs/
|
26
26
|
module CloudbuildV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190501'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -654,6 +654,11 @@ module Google
|
|
654
654
|
# @return [Hash<String,String>]
|
655
655
|
attr_accessor :substitutions
|
656
656
|
|
657
|
+
# Tags for annotation of a `BuildTrigger`
|
658
|
+
# Corresponds to the JSON property `tags`
|
659
|
+
# @return [Array<String>]
|
660
|
+
attr_accessor :tags
|
661
|
+
|
657
662
|
# Location of the source in a Google Cloud Source Repository.
|
658
663
|
# Corresponds to the JSON property `triggerTemplate`
|
659
664
|
# @return [Google::Apis::CloudbuildV1::RepoSource]
|
@@ -675,6 +680,7 @@ module Google
|
|
675
680
|
@ignored_files = args[:ignored_files] if args.key?(:ignored_files)
|
676
681
|
@included_files = args[:included_files] if args.key?(:included_files)
|
677
682
|
@substitutions = args[:substitutions] if args.key?(:substitutions)
|
683
|
+
@tags = args[:tags] if args.key?(:tags)
|
678
684
|
@trigger_template = args[:trigger_template] if args.key?(:trigger_template)
|
679
685
|
end
|
680
686
|
end
|
@@ -341,6 +341,7 @@ module Google
|
|
341
341
|
collection :ignored_files, as: 'ignoredFiles'
|
342
342
|
collection :included_files, as: 'includedFiles'
|
343
343
|
hash :substitutions, as: 'substitutions'
|
344
|
+
collection :tags, as: 'tags'
|
344
345
|
property :trigger_template, as: 'triggerTemplate', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
|
345
346
|
|
346
347
|
end
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/dialogflow-enterprise/
|
27
27
|
module DialogflowV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190429'
|
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'
|
@@ -446,7 +446,7 @@ module Google
|
|
446
446
|
# @return [String]
|
447
447
|
attr_accessor :input_audio
|
448
448
|
|
449
|
-
# Instructs the speech synthesizer how to generate the output audio content.
|
449
|
+
# Instructs the speech synthesizer on how to generate the output audio content.
|
450
450
|
# Corresponds to the JSON property `outputAudioConfig`
|
451
451
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OutputAudioConfig]
|
452
452
|
attr_accessor :output_audio_config
|
@@ -493,7 +493,7 @@ module Google
|
|
493
493
|
# @return [String]
|
494
494
|
attr_accessor :output_audio
|
495
495
|
|
496
|
-
# Instructs the speech synthesizer how to generate the output audio content.
|
496
|
+
# Instructs the speech synthesizer on how to generate the output audio content.
|
497
497
|
# Corresponds to the JSON property `outputAudioConfig`
|
498
498
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OutputAudioConfig]
|
499
499
|
attr_accessor :output_audio_config
|
@@ -1979,7 +1979,7 @@ module Google
|
|
1979
1979
|
end
|
1980
1980
|
end
|
1981
1981
|
|
1982
|
-
# Instructs the speech synthesizer how to generate the output audio content.
|
1982
|
+
# Instructs the speech synthesizer on how to generate the output audio content.
|
1983
1983
|
class GoogleCloudDialogflowV2OutputAudioConfig
|
1984
1984
|
include Google::Apis::Core::Hashable
|
1985
1985
|
|
@@ -61,10 +61,11 @@ module Google
|
|
61
61
|
# an HTTPS website or an Android app, the API will ensure that any
|
62
62
|
# statements used to generate the response have been made in a secure way by
|
63
63
|
# the owner of that asset. Conversely, if the source asset is an insecure
|
64
|
-
# HTTP website (that is, the URL starts with `http://` instead of
|
65
|
-
# the API cannot verify its statements securely, and it is not
|
66
|
-
# ensure that the website's statements have not been altered by a
|
67
|
-
# party. For more information, see the [Digital Asset Links technical
|
64
|
+
# HTTP website (that is, the URL starts with `http://` instead of
|
65
|
+
# `https://`), the API cannot verify its statements securely, and it is not
|
66
|
+
# possible to ensure that the website's statements have not been altered by a
|
67
|
+
# third party. For more information, see the [Digital Asset Links technical
|
68
|
+
# design
|
68
69
|
# specification](https://github.com/google/digitalassetlinks/blob/master/well-
|
69
70
|
# known/details.md).
|
70
71
|
# @param [String] relation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/cloud-dns
|
26
26
|
module DnsV2beta1
|
27
27
|
VERSION = 'V2beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190425'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/drive/
|
27
27
|
module DriveV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190501'
|
30
30
|
|
31
31
|
# See, edit, create, and delete all of your Google Drive files
|
32
32
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
@@ -425,17 +425,17 @@ module Google
|
|
425
425
|
class TeamDriveTheme
|
426
426
|
include Google::Apis::Core::Hashable
|
427
427
|
|
428
|
-
#
|
428
|
+
# Deprecated - use driveThemes/backgroundImageLink instead.
|
429
429
|
# Corresponds to the JSON property `backgroundImageLink`
|
430
430
|
# @return [String]
|
431
431
|
attr_accessor :background_image_link
|
432
432
|
|
433
|
-
#
|
433
|
+
# Deprecated - use driveThemes/colorRgb instead.
|
434
434
|
# Corresponds to the JSON property `colorRgb`
|
435
435
|
# @return [String]
|
436
436
|
attr_accessor :color_rgb
|
437
437
|
|
438
|
-
#
|
438
|
+
# Deprecated - use driveThemes/id instead.
|
439
439
|
# Corresponds to the JSON property `id`
|
440
440
|
# @return [String]
|
441
441
|
attr_accessor :id
|
@@ -761,7 +761,7 @@ module Google
|
|
761
761
|
# @return [String]
|
762
762
|
attr_accessor :self_link
|
763
763
|
|
764
|
-
#
|
764
|
+
# Deprecated: use the drive collection instead.
|
765
765
|
# Corresponds to the JSON property `teamDrive`
|
766
766
|
# @return [Google::Apis::DriveV2::TeamDrive]
|
767
767
|
attr_accessor :team_drive
|
@@ -3128,39 +3128,28 @@ module Google
|
|
3128
3128
|
class TeamDrivePermissionDetail
|
3129
3129
|
include Google::Apis::Core::Hashable
|
3130
3130
|
|
3131
|
-
#
|
3132
|
-
# more may be supported in the future.
|
3131
|
+
# Deprecated - use permissionDetails/additionalRoles instead.
|
3133
3132
|
# Corresponds to the JSON property `additionalRoles`
|
3134
3133
|
# @return [Array<String>]
|
3135
3134
|
attr_accessor :additional_roles
|
3136
3135
|
|
3137
|
-
#
|
3138
|
-
# an output-only field.
|
3136
|
+
# Deprecated - use permissionDetails/inherited instead.
|
3139
3137
|
# Corresponds to the JSON property `inherited`
|
3140
3138
|
# @return [Boolean]
|
3141
3139
|
attr_accessor :inherited
|
3142
3140
|
alias_method :inherited?, :inherited
|
3143
3141
|
|
3144
|
-
#
|
3145
|
-
# only field and is only populated for members of the Team Drive.
|
3142
|
+
# Deprecated - use permissionDetails/inheritedFrom instead.
|
3146
3143
|
# Corresponds to the JSON property `inheritedFrom`
|
3147
3144
|
# @return [String]
|
3148
3145
|
attr_accessor :inherited_from
|
3149
3146
|
|
3150
|
-
#
|
3151
|
-
# the following are currently possible:
|
3152
|
-
# - organizer
|
3153
|
-
# - fileOrganizer
|
3154
|
-
# - writer
|
3155
|
-
# - reader
|
3147
|
+
# Deprecated - use permissionDetails/role instead.
|
3156
3148
|
# Corresponds to the JSON property `role`
|
3157
3149
|
# @return [String]
|
3158
3150
|
attr_accessor :role
|
3159
3151
|
|
3160
|
-
#
|
3161
|
-
# future, the following are currently possible:
|
3162
|
-
# - file
|
3163
|
-
# - member
|
3152
|
+
# Deprecated - use permissionDetails/permissionType instead.
|
3164
3153
|
# Corresponds to the JSON property `teamDrivePermissionType`
|
3165
3154
|
# @return [String]
|
3166
3155
|
attr_accessor :team_drive_permission_type
|
@@ -3554,7 +3543,7 @@ module Google
|
|
3554
3543
|
end
|
3555
3544
|
end
|
3556
3545
|
|
3557
|
-
#
|
3546
|
+
# Deprecated: use the drive collection instead.
|
3558
3547
|
class TeamDrive
|
3559
3548
|
include Google::Apis::Core::Hashable
|
3560
3549
|
|
@@ -181,7 +181,9 @@ module Google
|
|
181
181
|
# @param [String] drive_id
|
182
182
|
# The shared drive from which the change will be returned.
|
183
183
|
# @param [Boolean] supports_all_drives
|
184
|
-
# Whether the requesting application supports both My Drives and
|
184
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
185
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
186
|
+
# Afterwards all applications are assumed to support shared drives.
|
185
187
|
# @param [Boolean] supports_team_drives
|
186
188
|
# Deprecated use supportsAllDrives instead.
|
187
189
|
# @param [String] team_drive_id
|
@@ -225,7 +227,9 @@ module Google
|
|
225
227
|
# The ID of the shared drive for which the starting pageToken for listing future
|
226
228
|
# changes from that shared drive will be returned.
|
227
229
|
# @param [Boolean] supports_all_drives
|
228
|
-
# Whether the requesting application supports both My Drives and
|
230
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
231
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
232
|
+
# Afterwards all applications are assumed to support shared drives.
|
229
233
|
# @param [Boolean] supports_team_drives
|
230
234
|
# Deprecated use supportsAllDrives instead.
|
231
235
|
# @param [String] team_drive_id
|
@@ -277,7 +281,9 @@ module Google
|
|
277
281
|
# Whether to include changes indicating that items have been removed from the
|
278
282
|
# list of changes, for example by deletion or loss of access.
|
279
283
|
# @param [Boolean] include_items_from_all_drives
|
280
|
-
# Whether both My Drive and shared drive items should be included
|
284
|
+
# Deprecated - Whether both My Drive and shared drive items should be included
|
285
|
+
# in results. This parameter will only be effective until June 1, 2020.
|
286
|
+
# Afterwards shared drive items will be included in the results.
|
281
287
|
# @param [Boolean] include_subscribed
|
282
288
|
# Whether to include changes outside the My Drive hierarchy in the result. When
|
283
289
|
# set to false, changes to files such as those in the Application Data folder or
|
@@ -297,7 +303,9 @@ module Google
|
|
297
303
|
# @param [Fixnum] start_change_id
|
298
304
|
# Deprecated - use pageToken instead.
|
299
305
|
# @param [Boolean] supports_all_drives
|
300
|
-
# Whether the requesting application supports both My Drives and
|
306
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
307
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
308
|
+
# Afterwards all applications are assumed to support shared drives.
|
301
309
|
# @param [Boolean] supports_team_drives
|
302
310
|
# Deprecated use supportsAllDrives instead.
|
303
311
|
# @param [String] team_drive_id
|
@@ -359,7 +367,9 @@ module Google
|
|
359
367
|
# Whether to include changes indicating that items have been removed from the
|
360
368
|
# list of changes, for example by deletion or loss of access.
|
361
369
|
# @param [Boolean] include_items_from_all_drives
|
362
|
-
# Whether both My Drive and shared drive items should be included
|
370
|
+
# Deprecated - Whether both My Drive and shared drive items should be included
|
371
|
+
# in results. This parameter will only be effective until June 1, 2020.
|
372
|
+
# Afterwards shared drive items will be included in the results.
|
363
373
|
# @param [Boolean] include_subscribed
|
364
374
|
# Whether to include changes outside the My Drive hierarchy in the result. When
|
365
375
|
# set to false, changes to files such as those in the Application Data folder or
|
@@ -379,7 +389,9 @@ module Google
|
|
379
389
|
# @param [Fixnum] start_change_id
|
380
390
|
# Deprecated - use pageToken instead.
|
381
391
|
# @param [Boolean] supports_all_drives
|
382
|
-
# Whether the requesting application supports both My Drives and
|
392
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
393
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
394
|
+
# Afterwards all applications are assumed to support shared drives.
|
383
395
|
# @param [Boolean] supports_team_drives
|
384
396
|
# Deprecated use supportsAllDrives instead.
|
385
397
|
# @param [String] team_drive_id
|
@@ -534,7 +546,9 @@ module Google
|
|
534
546
|
# The ID of the folder.
|
535
547
|
# @param [Google::Apis::DriveV2::ChildReference] child_reference_object
|
536
548
|
# @param [Boolean] supports_all_drives
|
537
|
-
# Whether the requesting application supports both My Drives and
|
549
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
550
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
551
|
+
# Afterwards all applications are assumed to support shared drives.
|
538
552
|
# @param [Boolean] supports_team_drives
|
539
553
|
# Deprecated use supportsAllDrives instead.
|
540
554
|
# @param [String] fields
|
@@ -1133,7 +1147,9 @@ module Google
|
|
1133
1147
|
# Whether to pin the head revision of the new copy. A file can have a maximum of
|
1134
1148
|
# 200 pinned revisions.
|
1135
1149
|
# @param [Boolean] supports_all_drives
|
1136
|
-
# Whether the requesting application supports both My Drives and
|
1150
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1151
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1152
|
+
# Afterwards all applications are assumed to support shared drives.
|
1137
1153
|
# @param [Boolean] supports_team_drives
|
1138
1154
|
# Deprecated use supportsAllDrives instead.
|
1139
1155
|
# @param [String] timed_text_language
|
@@ -1189,7 +1205,9 @@ module Google
|
|
1189
1205
|
# @param [String] file_id
|
1190
1206
|
# The ID of the file to delete.
|
1191
1207
|
# @param [Boolean] supports_all_drives
|
1192
|
-
# Whether the requesting application supports both My Drives and
|
1208
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1209
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1210
|
+
# Afterwards all applications are assumed to support shared drives.
|
1193
1211
|
# @param [Boolean] supports_team_drives
|
1194
1212
|
# Deprecated use supportsAllDrives instead.
|
1195
1213
|
# @param [String] fields
|
@@ -1341,7 +1359,9 @@ module Google
|
|
1341
1359
|
# Specifies the Revision ID that should be downloaded. Ignored unless alt=media
|
1342
1360
|
# is specified.
|
1343
1361
|
# @param [Boolean] supports_all_drives
|
1344
|
-
# Whether the requesting application supports both My Drives and
|
1362
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1363
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1364
|
+
# Afterwards all applications are assumed to support shared drives.
|
1345
1365
|
# @param [Boolean] supports_team_drives
|
1346
1366
|
# Deprecated use supportsAllDrives instead.
|
1347
1367
|
# @param [Boolean] update_viewed_date
|
@@ -1402,7 +1422,9 @@ module Google
|
|
1402
1422
|
# Whether to pin the head revision of the uploaded file. A file can have a
|
1403
1423
|
# maximum of 200 pinned revisions.
|
1404
1424
|
# @param [Boolean] supports_all_drives
|
1405
|
-
# Whether the requesting application supports both My Drives and
|
1425
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1426
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1427
|
+
# Afterwards all applications are assumed to support shared drives.
|
1406
1428
|
# @param [Boolean] supports_team_drives
|
1407
1429
|
# Deprecated use supportsAllDrives instead.
|
1408
1430
|
# @param [String] timed_text_language
|
@@ -1476,7 +1498,9 @@ module Google
|
|
1476
1498
|
# @param [String] drive_id
|
1477
1499
|
# ID of the shared drive to search.
|
1478
1500
|
# @param [Boolean] include_items_from_all_drives
|
1479
|
-
# Whether both My Drive and shared drive items should be included
|
1501
|
+
# Deprecated - Whether both My Drive and shared drive items should be included
|
1502
|
+
# in results. This parameter will only be effective until June 1, 2020.
|
1503
|
+
# Afterwards shared drive items will be included in the results.
|
1480
1504
|
# @param [Boolean] include_team_drive_items
|
1481
1505
|
# Deprecated use includeItemsFromAllDrives instead.
|
1482
1506
|
# @param [Fixnum] max_results
|
@@ -1500,7 +1524,9 @@ module Google
|
|
1500
1524
|
# A comma-separated list of spaces to query. Supported values are 'drive', '
|
1501
1525
|
# appDataFolder' and 'photos'.
|
1502
1526
|
# @param [Boolean] supports_all_drives
|
1503
|
-
# Whether the requesting application supports both My Drives and
|
1527
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1528
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1529
|
+
# Afterwards all applications are assumed to support shared drives.
|
1504
1530
|
# @param [Boolean] supports_team_drives
|
1505
1531
|
# Deprecated use supportsAllDrives instead.
|
1506
1532
|
# @param [String] team_drive_id
|
@@ -1581,7 +1607,9 @@ module Google
|
|
1581
1607
|
# and false is equivalent to modifiedDateBehavior=now. To prevent any changes
|
1582
1608
|
# to the modified date set modifiedDateBehavior=noChange.
|
1583
1609
|
# @param [Boolean] supports_all_drives
|
1584
|
-
# Whether the requesting application supports both My Drives and
|
1610
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1611
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1612
|
+
# Afterwards all applications are assumed to support shared drives.
|
1585
1613
|
# @param [Boolean] supports_team_drives
|
1586
1614
|
# Deprecated use supportsAllDrives instead.
|
1587
1615
|
# @param [String] timed_text_language
|
@@ -1643,7 +1671,9 @@ module Google
|
|
1643
1671
|
# @param [String] file_id
|
1644
1672
|
# The ID of the file to update.
|
1645
1673
|
# @param [Boolean] supports_all_drives
|
1646
|
-
# Whether the requesting application supports both My Drives and
|
1674
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1675
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1676
|
+
# Afterwards all applications are assumed to support shared drives.
|
1647
1677
|
# @param [Boolean] supports_team_drives
|
1648
1678
|
# Deprecated use supportsAllDrives instead.
|
1649
1679
|
# @param [String] fields
|
@@ -1683,7 +1713,9 @@ module Google
|
|
1683
1713
|
# @param [String] file_id
|
1684
1714
|
# The ID of the file to trash.
|
1685
1715
|
# @param [Boolean] supports_all_drives
|
1686
|
-
# Whether the requesting application supports both My Drives and
|
1716
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1717
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1718
|
+
# Afterwards all applications are assumed to support shared drives.
|
1687
1719
|
# @param [Boolean] supports_team_drives
|
1688
1720
|
# Deprecated use supportsAllDrives instead.
|
1689
1721
|
# @param [String] fields
|
@@ -1722,7 +1754,9 @@ module Google
|
|
1722
1754
|
# @param [String] file_id
|
1723
1755
|
# The ID of the file to untrash.
|
1724
1756
|
# @param [Boolean] supports_all_drives
|
1725
|
-
# Whether the requesting application supports both My Drives and
|
1757
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1758
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1759
|
+
# Afterwards all applications are assumed to support shared drives.
|
1726
1760
|
# @param [Boolean] supports_team_drives
|
1727
1761
|
# Deprecated use supportsAllDrives instead.
|
1728
1762
|
# @param [String] fields
|
@@ -1790,7 +1824,9 @@ module Google
|
|
1790
1824
|
# and false is equivalent to modifiedDateBehavior=now. To prevent any changes
|
1791
1825
|
# to the modified date set modifiedDateBehavior=noChange.
|
1792
1826
|
# @param [Boolean] supports_all_drives
|
1793
|
-
# Whether the requesting application supports both My Drives and
|
1827
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1828
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1829
|
+
# Afterwards all applications are assumed to support shared drives.
|
1794
1830
|
# @param [Boolean] supports_team_drives
|
1795
1831
|
# Deprecated use supportsAllDrives instead.
|
1796
1832
|
# @param [String] timed_text_language
|
@@ -1871,7 +1907,9 @@ module Google
|
|
1871
1907
|
# Specifies the Revision ID that should be downloaded. Ignored unless alt=media
|
1872
1908
|
# is specified.
|
1873
1909
|
# @param [Boolean] supports_all_drives
|
1874
|
-
# Whether the requesting application supports both My Drives and
|
1910
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
1911
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
1912
|
+
# Afterwards all applications are assumed to support shared drives.
|
1875
1913
|
# @param [Boolean] supports_team_drives
|
1876
1914
|
# Deprecated use supportsAllDrives instead.
|
1877
1915
|
# @param [Boolean] update_viewed_date
|
@@ -1997,7 +2035,9 @@ module Google
|
|
1997
2035
|
# The ID of the file.
|
1998
2036
|
# @param [Google::Apis::DriveV2::ParentReference] parent_reference_object
|
1999
2037
|
# @param [Boolean] supports_all_drives
|
2000
|
-
# Whether the requesting application supports both My Drives and
|
2038
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
2039
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
2040
|
+
# Afterwards all applications are assumed to support shared drives.
|
2001
2041
|
# @param [Boolean] supports_team_drives
|
2002
2042
|
# Deprecated use supportsAllDrives instead.
|
2003
2043
|
# @param [String] fields
|
@@ -2073,7 +2113,9 @@ module Google
|
|
2073
2113
|
# @param [String] permission_id
|
2074
2114
|
# The ID for the permission.
|
2075
2115
|
# @param [Boolean] supports_all_drives
|
2076
|
-
# Whether the requesting application supports both My Drives and
|
2116
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
2117
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
2118
|
+
# Afterwards all applications are assumed to support shared drives.
|
2077
2119
|
# @param [Boolean] supports_team_drives
|
2078
2120
|
# Deprecated use supportsAllDrives instead.
|
2079
2121
|
# @param [Boolean] use_domain_admin_access
|
@@ -2119,7 +2161,9 @@ module Google
|
|
2119
2161
|
# @param [String] permission_id
|
2120
2162
|
# The ID for the permission.
|
2121
2163
|
# @param [Boolean] supports_all_drives
|
2122
|
-
# Whether the requesting application supports both My Drives and
|
2164
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
2165
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
2166
|
+
# Afterwards all applications are assumed to support shared drives.
|
2123
2167
|
# @param [Boolean] supports_team_drives
|
2124
2168
|
# Deprecated use supportsAllDrives instead.
|
2125
2169
|
# @param [Boolean] use_domain_admin_access
|
@@ -2204,7 +2248,9 @@ module Google
|
|
2204
2248
|
# Whether to send notification emails when sharing to users or groups. This
|
2205
2249
|
# parameter is ignored and an email is sent if the role is owner.
|
2206
2250
|
# @param [Boolean] supports_all_drives
|
2207
|
-
# Whether the requesting application supports both My Drives and
|
2251
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
2252
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
2253
|
+
# Afterwards all applications are assumed to support shared drives.
|
2208
2254
|
# @param [Boolean] supports_team_drives
|
2209
2255
|
# Deprecated use supportsAllDrives instead.
|
2210
2256
|
# @param [Boolean] use_domain_admin_access
|
@@ -2260,7 +2306,9 @@ module Google
|
|
2260
2306
|
# The token for continuing a previous list request on the next page. This should
|
2261
2307
|
# be set to the value of 'nextPageToken' from the previous response.
|
2262
2308
|
# @param [Boolean] supports_all_drives
|
2263
|
-
# Whether the requesting application supports both My Drives and
|
2309
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
2310
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
2311
|
+
# Afterwards all applications are assumed to support shared drives.
|
2264
2312
|
# @param [Boolean] supports_team_drives
|
2265
2313
|
# Deprecated use supportsAllDrives instead.
|
2266
2314
|
# @param [Boolean] use_domain_admin_access
|
@@ -2312,7 +2360,9 @@ module Google
|
|
2312
2360
|
# @param [Boolean] remove_expiration
|
2313
2361
|
# Whether to remove the expiration date.
|
2314
2362
|
# @param [Boolean] supports_all_drives
|
2315
|
-
# Whether the requesting application supports both My Drives and
|
2363
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
2364
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
2365
|
+
# Afterwards all applications are assumed to support shared drives.
|
2316
2366
|
# @param [Boolean] supports_team_drives
|
2317
2367
|
# Deprecated use supportsAllDrives instead.
|
2318
2368
|
# @param [Boolean] transfer_ownership
|
@@ -2370,7 +2420,9 @@ module Google
|
|
2370
2420
|
# @param [Boolean] remove_expiration
|
2371
2421
|
# Whether to remove the expiration date.
|
2372
2422
|
# @param [Boolean] supports_all_drives
|
2373
|
-
# Whether the requesting application supports both My Drives and
|
2423
|
+
# Deprecated - Whether the requesting application supports both My Drives and
|
2424
|
+
# shared drives. This parameter will only be effective until June 1, 2020.
|
2425
|
+
# Afterwards all applications are assumed to support shared drives.
|
2374
2426
|
# @param [Boolean] supports_team_drives
|
2375
2427
|
# Deprecated use supportsAllDrives instead.
|
2376
2428
|
# @param [Boolean] transfer_ownership
|