google-api-client 0.34.1 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +16 -3
- data/CHANGELOG.md +114 -0
- data/OVERVIEW.md +36 -0
- data/README.md +49 -1
- data/Rakefile +1 -1
- data/docs/api-keys.md +20 -0
- data/docs/auth.md +53 -0
- data/docs/client-secrets.md +69 -0
- data/docs/getting-started.md +340 -0
- data/docs/installation.md +0 -0
- data/docs/logging.md +34 -0
- data/docs/media-upload.md +25 -0
- data/docs/oauth-installed.md +191 -0
- data/docs/oauth-server.md +135 -0
- data/docs/oauth-web.md +280 -0
- data/docs/oauth.md +268 -0
- data/docs/pagination.md +29 -0
- data/docs/performance.md +25 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +9 -0
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +9 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +93 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +49 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +46 -4
- data/generated/google/apis/bigquery_v2/representations.rb +17 -0
- data/generated/google/apis/bigquery_v2/service.rb +1 -5
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -5
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -4
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -21
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +116 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +35 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +61 -77
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +16 -17
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +112 -78
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
- data/generated/google/apis/{sqladmin_v1beta4.rb → billingbudgets_v1beta1.rb} +10 -13
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +392 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +191 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +233 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +6 -5
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -5
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +20 -0
- data/generated/google/apis/books_v1/representations.rb +3 -0
- 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 +18 -30
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -58
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +6 -5
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -5
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +17 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +8 -2
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +18 -18
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -2
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +4 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +13 -5
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +3 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +6 -5
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +6 -5
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -5
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
- data/generated/google/apis/cloudsearch_v1.rb +8 -8
- data/generated/google/apis/cloudsearch_v1/classes.rb +5 -130
- data/generated/google/apis/cloudsearch_v1/representations.rb +0 -75
- data/generated/google/apis/cloudsearch_v1/service.rb +42 -7
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +212 -5
- data/generated/google/apis/cloudtasks_v2/representations.rb +50 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -5
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -5
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +14 -19
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +75 -12
- data/generated/google/apis/compute_alpha/representations.rb +2 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +54 -10
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +54 -10
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +6 -5
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +6 -5
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +13 -4
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +13 -4
- data/generated/google/apis/datacatalog_v1beta1.rb +35 -0
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +1646 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +700 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +1982 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +75 -4
- data/generated/google/apis/dataproc_v1/representations.rb +22 -0
- data/generated/google/apis/dataproc_v1/service.rb +14 -7
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -4
- data/generated/google/apis/dataproc_v1beta2/service.rb +14 -7
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +21 -1
- data/generated/google/apis/dfareporting_v3_3/service.rb +6 -6
- data/generated/google/apis/dfareporting_v3_4.rb +40 -0
- data/generated/google/apis/dfareporting_v3_4/classes.rb +12717 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +4595 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +8685 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +484 -1
- data/generated/google/apis/dialogflow_v2/representations.rb +220 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +497 -1
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +221 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +68 -25
- data/generated/google/apis/dlp_v2/representations.rb +9 -4
- data/generated/google/apis/dlp_v2/service.rb +1925 -193
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +47 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +17 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +4 -8
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +34 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +826 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +372 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +371 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +12 -3
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +15 -0
- data/generated/google/apis/fcm_v1/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +3 -4
- data/generated/google/apis/firebase_v1beta1/service.rb +6 -6
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +25 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +47 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +8 -7
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +15 -1
- data/generated/google/apis/homegraph_v1/representations.rb +2 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +6 -5
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +18 -2
- data/generated/google/apis/logging_v2/representations.rb +2 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +173 -97
- data/generated/google/apis/ml_v1/representations.rb +58 -0
- data/generated/google/apis/ml_v1/service.rb +37 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +780 -6
- data/generated/google/apis/monitoring_v3/representations.rb +347 -0
- data/generated/google/apis/monitoring_v3/service.rb +382 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +8 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -5
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +8 -6
- data/generated/google/apis/pubsub_v1/service.rb +6 -7
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -5
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +10 -8
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +33 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +15 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +33 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +15 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +33 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +15 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +8 -169
- data/generated/google/apis/run_v1/representations.rb +0 -71
- data/generated/google/apis/run_v1/service.rb +229 -1207
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +9 -9
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -5
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +66 -11
- data/generated/google/apis/securitycenter_v1/representations.rb +19 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +16 -13
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +6 -5
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +6 -5
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +6 -5
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +3 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +8 -1
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +12 -9
- data/generated/google/apis/servicemanagement_v1/service.rb +1 -9
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +130 -13
- data/generated/google/apis/servicenetworking_v1/representations.rb +58 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +42 -3
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +3 -2
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +3 -2
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +3 -2
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +70 -30
- data/generated/google/apis/spanner_v1/service.rb +270 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +6 -0
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +6 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/service.rb +59 -10
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +112 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +112 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +112 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +112 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +112 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +62 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/core/api_command.rb +3 -0
- data/lib/google/apis/core/http_command.rb +10 -8
- data/lib/google/apis/version.rb +1 -1
- data/rakelib/devsite/devsite_builder.rb +1 -1
- metadata +33 -11
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +0 -2633
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +0 -1110
- data/generated/google/apis/sqladmin_v1beta4/service.rb +0 -1793
- data/generated/google/apis/storage_v1beta1.rb +0 -40
- data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
- data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
- data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
|
@@ -695,7 +695,8 @@ module Google
|
|
|
695
695
|
class PubsubMessage
|
|
696
696
|
include Google::Apis::Core::Hashable
|
|
697
697
|
|
|
698
|
-
#
|
|
698
|
+
# Attributes for this message. If this field is empty, the message must
|
|
699
|
+
# contain non-empty data.
|
|
699
700
|
# Corresponds to the JSON property `attributes`
|
|
700
701
|
# @return [Hash<String,String>]
|
|
701
702
|
attr_accessor :attributes
|
|
@@ -26,33 +26,33 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/cloud-search/docs/guides/
|
|
27
27
|
module CloudsearchV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20191112'
|
|
30
30
|
|
|
31
31
|
# Index and serve your organization's data with Cloud Search
|
|
32
32
|
AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'
|
|
33
33
|
|
|
34
|
-
#
|
|
34
|
+
# Index and serve your organization's data with Cloud Search
|
|
35
35
|
AUTH_CLOUD_SEARCH_DEBUG = 'https://www.googleapis.com/auth/cloud_search.debug'
|
|
36
36
|
|
|
37
|
-
#
|
|
37
|
+
# Index and serve your organization's data with Cloud Search
|
|
38
38
|
AUTH_CLOUD_SEARCH_INDEXING = 'https://www.googleapis.com/auth/cloud_search.indexing'
|
|
39
39
|
|
|
40
40
|
# Search your organization's data in the Cloud Search index
|
|
41
41
|
AUTH_CLOUD_SEARCH_QUERY = 'https://www.googleapis.com/auth/cloud_search.query'
|
|
42
42
|
|
|
43
|
-
#
|
|
43
|
+
# Index and serve your organization's data with Cloud Search
|
|
44
44
|
AUTH_CLOUD_SEARCH_SETTINGS = 'https://www.googleapis.com/auth/cloud_search.settings'
|
|
45
45
|
|
|
46
|
-
#
|
|
46
|
+
# Index and serve your organization's data with Cloud Search
|
|
47
47
|
AUTH_CLOUD_SEARCH_SETTINGS_INDEXING = 'https://www.googleapis.com/auth/cloud_search.settings.indexing'
|
|
48
48
|
|
|
49
|
-
#
|
|
49
|
+
# Index and serve your organization's data with Cloud Search
|
|
50
50
|
AUTH_CLOUD_SEARCH_SETTINGS_QUERY = 'https://www.googleapis.com/auth/cloud_search.settings.query'
|
|
51
51
|
|
|
52
|
-
#
|
|
52
|
+
# Index and serve your organization's data with Cloud Search
|
|
53
53
|
AUTH_CLOUD_SEARCH_STATS = 'https://www.googleapis.com/auth/cloud_search.stats'
|
|
54
54
|
|
|
55
|
-
#
|
|
55
|
+
# Index and serve your organization's data with Cloud Search
|
|
56
56
|
AUTH_CLOUD_SEARCH_STATS_INDEXING = 'https://www.googleapis.com/auth/cloud_search.stats.indexing'
|
|
57
57
|
end
|
|
58
58
|
end
|
|
@@ -1402,101 +1402,6 @@ module Google
|
|
|
1402
1402
|
end
|
|
1403
1403
|
end
|
|
1404
1404
|
|
|
1405
|
-
# Gmail Action restricts (i.e. read/replied/snoozed).
|
|
1406
|
-
class GmailActionRestrict
|
|
1407
|
-
include Google::Apis::Core::Hashable
|
|
1408
|
-
|
|
1409
|
-
#
|
|
1410
|
-
# Corresponds to the JSON property `type`
|
|
1411
|
-
# @return [String]
|
|
1412
|
-
attr_accessor :type
|
|
1413
|
-
|
|
1414
|
-
def initialize(**args)
|
|
1415
|
-
update!(**args)
|
|
1416
|
-
end
|
|
1417
|
-
|
|
1418
|
-
# Update properties of this object
|
|
1419
|
-
def update!(**args)
|
|
1420
|
-
@type = args[:type] if args.key?(:type)
|
|
1421
|
-
end
|
|
1422
|
-
end
|
|
1423
|
-
|
|
1424
|
-
# Gmail Attachment restricts (i.e. has:attachment, has:drive, filename:pdf).
|
|
1425
|
-
class GmailAttachmentRestrict
|
|
1426
|
-
include Google::Apis::Core::Hashable
|
|
1427
|
-
|
|
1428
|
-
#
|
|
1429
|
-
# Corresponds to the JSON property `type`
|
|
1430
|
-
# @return [String]
|
|
1431
|
-
attr_accessor :type
|
|
1432
|
-
|
|
1433
|
-
def initialize(**args)
|
|
1434
|
-
update!(**args)
|
|
1435
|
-
end
|
|
1436
|
-
|
|
1437
|
-
# Update properties of this object
|
|
1438
|
-
def update!(**args)
|
|
1439
|
-
@type = args[:type] if args.key?(:type)
|
|
1440
|
-
end
|
|
1441
|
-
end
|
|
1442
|
-
|
|
1443
|
-
# Gmail Folder restricts (i.e. in Drafts/Sent/Chats/User Generated Labels).
|
|
1444
|
-
class GmailFolderRestrict
|
|
1445
|
-
include Google::Apis::Core::Hashable
|
|
1446
|
-
|
|
1447
|
-
#
|
|
1448
|
-
# Corresponds to the JSON property `type`
|
|
1449
|
-
# @return [String]
|
|
1450
|
-
attr_accessor :type
|
|
1451
|
-
|
|
1452
|
-
def initialize(**args)
|
|
1453
|
-
update!(**args)
|
|
1454
|
-
end
|
|
1455
|
-
|
|
1456
|
-
# Update properties of this object
|
|
1457
|
-
def update!(**args)
|
|
1458
|
-
@type = args[:type] if args.key?(:type)
|
|
1459
|
-
end
|
|
1460
|
-
end
|
|
1461
|
-
|
|
1462
|
-
# Gmail Intelligent restricts (i.e. smartlabels, important).
|
|
1463
|
-
class GmailIntelligentRestrict
|
|
1464
|
-
include Google::Apis::Core::Hashable
|
|
1465
|
-
|
|
1466
|
-
#
|
|
1467
|
-
# Corresponds to the JSON property `type`
|
|
1468
|
-
# @return [String]
|
|
1469
|
-
attr_accessor :type
|
|
1470
|
-
|
|
1471
|
-
def initialize(**args)
|
|
1472
|
-
update!(**args)
|
|
1473
|
-
end
|
|
1474
|
-
|
|
1475
|
-
# Update properties of this object
|
|
1476
|
-
def update!(**args)
|
|
1477
|
-
@type = args[:type] if args.key?(:type)
|
|
1478
|
-
end
|
|
1479
|
-
end
|
|
1480
|
-
|
|
1481
|
-
# Gmail Time restricts (i.e. received today, this week).
|
|
1482
|
-
class GmailTimeRestrict
|
|
1483
|
-
include Google::Apis::Core::Hashable
|
|
1484
|
-
|
|
1485
|
-
#
|
|
1486
|
-
# Corresponds to the JSON property `type`
|
|
1487
|
-
# @return [String]
|
|
1488
|
-
attr_accessor :type
|
|
1489
|
-
|
|
1490
|
-
def initialize(**args)
|
|
1491
|
-
update!(**args)
|
|
1492
|
-
end
|
|
1493
|
-
|
|
1494
|
-
# Update properties of this object
|
|
1495
|
-
def update!(**args)
|
|
1496
|
-
@type = args[:type] if args.key?(:type)
|
|
1497
|
-
end
|
|
1498
|
-
end
|
|
1499
|
-
|
|
1500
1405
|
# Used to provide a search operator for html properties. This is optional.
|
|
1501
1406
|
# Search operators let users restrict the query to specific fields relevant
|
|
1502
1407
|
# to the type of item being searched.
|
|
@@ -2895,7 +2800,7 @@ module Google
|
|
|
2895
2800
|
attr_accessor :debug_options
|
|
2896
2801
|
|
|
2897
2802
|
# Maximum number of items to return.
|
|
2898
|
-
# <br />The maximum and the default value is
|
|
2803
|
+
# <br />The maximum value is 100 and the default value is 20.
|
|
2899
2804
|
# Corresponds to the JSON property `limit`
|
|
2900
2805
|
# @return [Fixnum]
|
|
2901
2806
|
attr_accessor :limit
|
|
@@ -3712,31 +3617,6 @@ module Google
|
|
|
3712
3617
|
# @return [Google::Apis::CloudsearchV1::DriveTimeSpanRestrict]
|
|
3713
3618
|
attr_accessor :drive_time_span_restrict
|
|
3714
3619
|
|
|
3715
|
-
# Gmail Action restricts (i.e. read/replied/snoozed).
|
|
3716
|
-
# Corresponds to the JSON property `gmailActionRestrict`
|
|
3717
|
-
# @return [Google::Apis::CloudsearchV1::GmailActionRestrict]
|
|
3718
|
-
attr_accessor :gmail_action_restrict
|
|
3719
|
-
|
|
3720
|
-
# Gmail Attachment restricts (i.e. has:attachment, has:drive, filename:pdf).
|
|
3721
|
-
# Corresponds to the JSON property `gmailAttachmentRestrict`
|
|
3722
|
-
# @return [Google::Apis::CloudsearchV1::GmailAttachmentRestrict]
|
|
3723
|
-
attr_accessor :gmail_attachment_restrict
|
|
3724
|
-
|
|
3725
|
-
# Gmail Folder restricts (i.e. in Drafts/Sent/Chats/User Generated Labels).
|
|
3726
|
-
# Corresponds to the JSON property `gmailFolderRestrict`
|
|
3727
|
-
# @return [Google::Apis::CloudsearchV1::GmailFolderRestrict]
|
|
3728
|
-
attr_accessor :gmail_folder_restrict
|
|
3729
|
-
|
|
3730
|
-
# Gmail Intelligent restricts (i.e. smartlabels, important).
|
|
3731
|
-
# Corresponds to the JSON property `gmailIntelligentRestrict`
|
|
3732
|
-
# @return [Google::Apis::CloudsearchV1::GmailIntelligentRestrict]
|
|
3733
|
-
attr_accessor :gmail_intelligent_restrict
|
|
3734
|
-
|
|
3735
|
-
# Gmail Time restricts (i.e. received today, this week).
|
|
3736
|
-
# Corresponds to the JSON property `gmailTimeRestrict`
|
|
3737
|
-
# @return [Google::Apis::CloudsearchV1::GmailTimeRestrict]
|
|
3738
|
-
attr_accessor :gmail_time_restrict
|
|
3739
|
-
|
|
3740
3620
|
# The search restrict (e.g. "after:2017-09-11 before:2017-09-12").
|
|
3741
3621
|
# Corresponds to the JSON property `searchOperator`
|
|
3742
3622
|
# @return [String]
|
|
@@ -3752,11 +3632,6 @@ module Google
|
|
|
3752
3632
|
@drive_location_restrict = args[:drive_location_restrict] if args.key?(:drive_location_restrict)
|
|
3753
3633
|
@drive_mime_type_restrict = args[:drive_mime_type_restrict] if args.key?(:drive_mime_type_restrict)
|
|
3754
3634
|
@drive_time_span_restrict = args[:drive_time_span_restrict] if args.key?(:drive_time_span_restrict)
|
|
3755
|
-
@gmail_action_restrict = args[:gmail_action_restrict] if args.key?(:gmail_action_restrict)
|
|
3756
|
-
@gmail_attachment_restrict = args[:gmail_attachment_restrict] if args.key?(:gmail_attachment_restrict)
|
|
3757
|
-
@gmail_folder_restrict = args[:gmail_folder_restrict] if args.key?(:gmail_folder_restrict)
|
|
3758
|
-
@gmail_intelligent_restrict = args[:gmail_intelligent_restrict] if args.key?(:gmail_intelligent_restrict)
|
|
3759
|
-
@gmail_time_restrict = args[:gmail_time_restrict] if args.key?(:gmail_time_restrict)
|
|
3760
3635
|
@search_operator = args[:search_operator] if args.key?(:search_operator)
|
|
3761
3636
|
end
|
|
3762
3637
|
end
|
|
@@ -4743,10 +4618,10 @@ module Google
|
|
|
4743
4618
|
class SuggestRequest
|
|
4744
4619
|
include Google::Apis::Core::Hashable
|
|
4745
4620
|
|
|
4746
|
-
# The sources to use for suggestions. If not specified,
|
|
4747
|
-
# from the current search application
|
|
4748
|
-
# Suggestions are
|
|
4749
|
-
#
|
|
4621
|
+
# The sources to use for suggestions. If not specified, the data sources
|
|
4622
|
+
# are taken from the current search application.
|
|
4623
|
+
# NOTE: Suggestions are supported only for third party data sources and
|
|
4624
|
+
# people (i.e. PredefinedSource.PERSON).
|
|
4750
4625
|
# Corresponds to the JSON property `dataSourceRestrictions`
|
|
4751
4626
|
# @return [Array<Google::Apis::CloudsearchV1::DataSourceRestriction>]
|
|
4752
4627
|
attr_accessor :data_source_restrictions
|
|
@@ -310,36 +310,6 @@ module Google
|
|
|
310
310
|
include Google::Apis::Core::JsonObjectSupport
|
|
311
311
|
end
|
|
312
312
|
|
|
313
|
-
class GmailActionRestrict
|
|
314
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
315
|
-
|
|
316
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
317
|
-
end
|
|
318
|
-
|
|
319
|
-
class GmailAttachmentRestrict
|
|
320
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
321
|
-
|
|
322
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
323
|
-
end
|
|
324
|
-
|
|
325
|
-
class GmailFolderRestrict
|
|
326
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
327
|
-
|
|
328
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
329
|
-
end
|
|
330
|
-
|
|
331
|
-
class GmailIntelligentRestrict
|
|
332
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
333
|
-
|
|
334
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
335
|
-
end
|
|
336
|
-
|
|
337
|
-
class GmailTimeRestrict
|
|
338
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
339
|
-
|
|
340
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
341
|
-
end
|
|
342
|
-
|
|
343
313
|
class HtmlOperatorOptions
|
|
344
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
345
315
|
|
|
@@ -1368,41 +1338,6 @@ module Google
|
|
|
1368
1338
|
end
|
|
1369
1339
|
end
|
|
1370
1340
|
|
|
1371
|
-
class GmailActionRestrict
|
|
1372
|
-
# @private
|
|
1373
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1374
|
-
property :type, as: 'type'
|
|
1375
|
-
end
|
|
1376
|
-
end
|
|
1377
|
-
|
|
1378
|
-
class GmailAttachmentRestrict
|
|
1379
|
-
# @private
|
|
1380
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1381
|
-
property :type, as: 'type'
|
|
1382
|
-
end
|
|
1383
|
-
end
|
|
1384
|
-
|
|
1385
|
-
class GmailFolderRestrict
|
|
1386
|
-
# @private
|
|
1387
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1388
|
-
property :type, as: 'type'
|
|
1389
|
-
end
|
|
1390
|
-
end
|
|
1391
|
-
|
|
1392
|
-
class GmailIntelligentRestrict
|
|
1393
|
-
# @private
|
|
1394
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1395
|
-
property :type, as: 'type'
|
|
1396
|
-
end
|
|
1397
|
-
end
|
|
1398
|
-
|
|
1399
|
-
class GmailTimeRestrict
|
|
1400
|
-
# @private
|
|
1401
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1402
|
-
property :type, as: 'type'
|
|
1403
|
-
end
|
|
1404
|
-
end
|
|
1405
|
-
|
|
1406
1341
|
class HtmlOperatorOptions
|
|
1407
1342
|
# @private
|
|
1408
1343
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2009,16 +1944,6 @@ module Google
|
|
|
2009
1944
|
|
|
2010
1945
|
property :drive_time_span_restrict, as: 'driveTimeSpanRestrict', class: Google::Apis::CloudsearchV1::DriveTimeSpanRestrict, decorator: Google::Apis::CloudsearchV1::DriveTimeSpanRestrict::Representation
|
|
2011
1946
|
|
|
2012
|
-
property :gmail_action_restrict, as: 'gmailActionRestrict', class: Google::Apis::CloudsearchV1::GmailActionRestrict, decorator: Google::Apis::CloudsearchV1::GmailActionRestrict::Representation
|
|
2013
|
-
|
|
2014
|
-
property :gmail_attachment_restrict, as: 'gmailAttachmentRestrict', class: Google::Apis::CloudsearchV1::GmailAttachmentRestrict, decorator: Google::Apis::CloudsearchV1::GmailAttachmentRestrict::Representation
|
|
2015
|
-
|
|
2016
|
-
property :gmail_folder_restrict, as: 'gmailFolderRestrict', class: Google::Apis::CloudsearchV1::GmailFolderRestrict, decorator: Google::Apis::CloudsearchV1::GmailFolderRestrict::Representation
|
|
2017
|
-
|
|
2018
|
-
property :gmail_intelligent_restrict, as: 'gmailIntelligentRestrict', class: Google::Apis::CloudsearchV1::GmailIntelligentRestrict, decorator: Google::Apis::CloudsearchV1::GmailIntelligentRestrict::Representation
|
|
2019
|
-
|
|
2020
|
-
property :gmail_time_restrict, as: 'gmailTimeRestrict', class: Google::Apis::CloudsearchV1::GmailTimeRestrict, decorator: Google::Apis::CloudsearchV1::GmailTimeRestrict::Representation
|
|
2021
|
-
|
|
2022
1947
|
property :search_operator, as: 'searchOperator'
|
|
2023
1948
|
end
|
|
2024
1949
|
end
|
|
@@ -49,6 +49,7 @@ module Google
|
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
# Checks whether an item is accessible by specified principal.
|
|
52
|
+
# **Note:** This API requires an admin account to execute.
|
|
52
53
|
# @param [String] name
|
|
53
54
|
# Item name, format:
|
|
54
55
|
# datasources/`source_id`/items/`item_id`
|
|
@@ -88,6 +89,7 @@ module Google
|
|
|
88
89
|
|
|
89
90
|
# Fetches the item whose viewUrl exactly matches that of the URL provided
|
|
90
91
|
# in the request.
|
|
92
|
+
# **Note:** This API requires an admin account to execute.
|
|
91
93
|
# @param [String] name
|
|
92
94
|
# Source name, format:
|
|
93
95
|
# datasources/`source_id`
|
|
@@ -122,6 +124,7 @@ module Google
|
|
|
122
124
|
end
|
|
123
125
|
|
|
124
126
|
# List all unmapped identities for a specific item.
|
|
127
|
+
# **Note:** This API requires an admin account to execute.
|
|
125
128
|
# @param [String] parent
|
|
126
129
|
# The name of the item, in the following format:
|
|
127
130
|
# datasources/`source_id`/items/`ID`
|
|
@@ -164,6 +167,7 @@ module Google
|
|
|
164
167
|
end
|
|
165
168
|
|
|
166
169
|
# Lists names of items associated with an unmapped identity.
|
|
170
|
+
# **Note:** This API requires an admin account to execute.
|
|
167
171
|
# @param [String] parent
|
|
168
172
|
# The name of the identity source, in the following format:
|
|
169
173
|
# identitysources/`source_id``
|
|
@@ -210,6 +214,7 @@ module Google
|
|
|
210
214
|
end
|
|
211
215
|
|
|
212
216
|
# Lists unmapped user identities for an identity source.
|
|
217
|
+
# **Note:** This API requires an admin account to execute.
|
|
213
218
|
# @param [String] parent
|
|
214
219
|
# The name of the identity source, in the following format:
|
|
215
220
|
# identitysources/`source_id`
|
|
@@ -255,6 +260,7 @@ module Google
|
|
|
255
260
|
end
|
|
256
261
|
|
|
257
262
|
# Deletes the schema of a data source.
|
|
263
|
+
# **Note:** This API requires an admin or service account to execute.
|
|
258
264
|
# @param [String] name
|
|
259
265
|
# Name of the data source to delete Schema. Format:
|
|
260
266
|
# datasources/`source_id`
|
|
@@ -290,6 +296,7 @@ module Google
|
|
|
290
296
|
end
|
|
291
297
|
|
|
292
298
|
# Gets the schema of a data source.
|
|
299
|
+
# **Note:** This API requires an admin or service account to execute.
|
|
293
300
|
# @param [String] name
|
|
294
301
|
# Name of the data source to get Schema. Format:
|
|
295
302
|
# datasources/`source_id`
|
|
@@ -324,7 +331,10 @@ module Google
|
|
|
324
331
|
execute_or_queue_command(command, &block)
|
|
325
332
|
end
|
|
326
333
|
|
|
327
|
-
# Updates the schema of a data source.
|
|
334
|
+
# Updates the schema of a data source. This method does not perform
|
|
335
|
+
# incremental updates to the schema. Instead, this method updates the schema
|
|
336
|
+
# by overwriting the entire schema.
|
|
337
|
+
# **Note:** This API requires an admin or service account to execute.
|
|
328
338
|
# @param [String] name
|
|
329
339
|
# Name of the data source to update Schema. Format:
|
|
330
340
|
# datasources/`source_id`
|
|
@@ -799,6 +809,7 @@ module Google
|
|
|
799
809
|
# For additional information, see
|
|
800
810
|
# [Create a content connector using the REST API](https://developers.google.com/
|
|
801
811
|
# cloud-search/docs/guides/content-connector#rest).
|
|
812
|
+
# **Note:** This API requires a service account to execute.
|
|
802
813
|
# @param [String] resource_name
|
|
803
814
|
# Name of the media that is being downloaded. See
|
|
804
815
|
# ReadRequest.resource_name.
|
|
@@ -878,6 +889,7 @@ module Google
|
|
|
878
889
|
# the most relevant results from a user query. The results can come from
|
|
879
890
|
# G Suite Apps, such as Gmail or Google Drive, or they can come from data
|
|
880
891
|
# that you have indexed from a third party.
|
|
892
|
+
# **Note:** This API requires a standard end user account to execute.
|
|
881
893
|
# @param [Google::Apis::CloudsearchV1::SearchRequest] search_request_object
|
|
882
894
|
# @param [String] fields
|
|
883
895
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -908,6 +920,7 @@ module Google
|
|
|
908
920
|
end
|
|
909
921
|
|
|
910
922
|
# Provides suggestions for autocompleting the query.
|
|
923
|
+
# **Note:** This API requires a standard end user account to execute.
|
|
911
924
|
# @param [Google::Apis::CloudsearchV1::SuggestRequest] suggest_request_object
|
|
912
925
|
# @param [String] fields
|
|
913
926
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -938,6 +951,7 @@ module Google
|
|
|
938
951
|
end
|
|
939
952
|
|
|
940
953
|
# Returns list of sources that user can use for Search and Suggest APIs.
|
|
954
|
+
# **Note:** This API requires a standard end user account to execute.
|
|
941
955
|
# @param [String] page_token
|
|
942
956
|
# Number of sources to return in the response.
|
|
943
957
|
# @param [Boolean] request_options_debug_options_enable_debugging
|
|
@@ -997,6 +1011,7 @@ module Google
|
|
|
997
1011
|
end
|
|
998
1012
|
|
|
999
1013
|
# Creates a datasource.
|
|
1014
|
+
# **Note:** This API requires an admin account to execute.
|
|
1000
1015
|
# @param [Google::Apis::CloudsearchV1::DataSource] data_source_object
|
|
1001
1016
|
# @param [String] fields
|
|
1002
1017
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1027,6 +1042,7 @@ module Google
|
|
|
1027
1042
|
end
|
|
1028
1043
|
|
|
1029
1044
|
# Deletes a datasource.
|
|
1045
|
+
# **Note:** This API requires an admin account to execute.
|
|
1030
1046
|
# @param [String] name
|
|
1031
1047
|
# Name of the datasource.
|
|
1032
1048
|
# Format: datasources/`source_id`.
|
|
@@ -1062,6 +1078,7 @@ module Google
|
|
|
1062
1078
|
end
|
|
1063
1079
|
|
|
1064
1080
|
# Gets a datasource.
|
|
1081
|
+
# **Note:** This API requires an admin account to execute.
|
|
1065
1082
|
# @param [String] name
|
|
1066
1083
|
# Name of the datasource resource.
|
|
1067
1084
|
# Format: datasources/`source_id`.
|
|
@@ -1097,6 +1114,7 @@ module Google
|
|
|
1097
1114
|
end
|
|
1098
1115
|
|
|
1099
1116
|
# Lists datasources.
|
|
1117
|
+
# **Note:** This API requires an admin account to execute.
|
|
1100
1118
|
# @param [Boolean] debug_options_enable_debugging
|
|
1101
1119
|
# If you are asked by Google to help with debugging, set this field.
|
|
1102
1120
|
# Otherwise, ignore this field.
|
|
@@ -1136,6 +1154,7 @@ module Google
|
|
|
1136
1154
|
end
|
|
1137
1155
|
|
|
1138
1156
|
# Updates a datasource.
|
|
1157
|
+
# **Note:** This API requires an admin account to execute.
|
|
1139
1158
|
# @param [String] name
|
|
1140
1159
|
# Name of the datasource resource.
|
|
1141
1160
|
# Format: datasources/`source_id`.
|
|
@@ -1171,6 +1190,7 @@ module Google
|
|
|
1171
1190
|
end
|
|
1172
1191
|
|
|
1173
1192
|
# Creates a search application.
|
|
1193
|
+
# **Note:** This API requires an admin account to execute.
|
|
1174
1194
|
# @param [Google::Apis::CloudsearchV1::SearchApplication] search_application_object
|
|
1175
1195
|
# @param [String] fields
|
|
1176
1196
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1201,6 +1221,7 @@ module Google
|
|
|
1201
1221
|
end
|
|
1202
1222
|
|
|
1203
1223
|
# Deletes a search application.
|
|
1224
|
+
# **Note:** This API requires an admin account to execute.
|
|
1204
1225
|
# @param [String] name
|
|
1205
1226
|
# The name of the search application to be deleted.
|
|
1206
1227
|
# <br />Format: applications/`application_id`.
|
|
@@ -1236,6 +1257,7 @@ module Google
|
|
|
1236
1257
|
end
|
|
1237
1258
|
|
|
1238
1259
|
# Gets the specified search application.
|
|
1260
|
+
# **Note:** This API requires an admin account to execute.
|
|
1239
1261
|
# @param [String] name
|
|
1240
1262
|
# Name of the search application.
|
|
1241
1263
|
# <br />Format: applications/`application_id`.
|
|
@@ -1271,6 +1293,7 @@ module Google
|
|
|
1271
1293
|
end
|
|
1272
1294
|
|
|
1273
1295
|
# Lists all search applications.
|
|
1296
|
+
# **Note:** This API requires an admin account to execute.
|
|
1274
1297
|
# @param [Boolean] debug_options_enable_debugging
|
|
1275
1298
|
# If you are asked by Google to help with debugging, set this field.
|
|
1276
1299
|
# Otherwise, ignore this field.
|
|
@@ -1310,6 +1333,7 @@ module Google
|
|
|
1310
1333
|
|
|
1311
1334
|
# Resets a search application to default settings. This will return an empty
|
|
1312
1335
|
# response.
|
|
1336
|
+
# **Note:** This API requires an admin account to execute.
|
|
1313
1337
|
# @param [String] name
|
|
1314
1338
|
# The name of the search application to be reset.
|
|
1315
1339
|
# <br />Format: applications/`application_id`.
|
|
@@ -1344,6 +1368,7 @@ module Google
|
|
|
1344
1368
|
end
|
|
1345
1369
|
|
|
1346
1370
|
# Updates a search application.
|
|
1371
|
+
# **Note:** This API requires an admin account to execute.
|
|
1347
1372
|
# @param [String] name
|
|
1348
1373
|
# Name of the Search Application.
|
|
1349
1374
|
# <br />Format: searchapplications/`application_id`.
|
|
@@ -1380,6 +1405,7 @@ module Google
|
|
|
1380
1405
|
# Gets indexed item statistics aggreggated across all data sources. This
|
|
1381
1406
|
# API only returns statistics for previous dates; it doesn't return
|
|
1382
1407
|
# statistics for the current day.
|
|
1408
|
+
# **Note:** This API requires a standard end user account to execute.
|
|
1383
1409
|
# @param [Fixnum] from_date_day
|
|
1384
1410
|
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
|
1385
1411
|
# @param [Fixnum] from_date_month
|
|
@@ -1424,7 +1450,8 @@ module Google
|
|
|
1424
1450
|
execute_or_queue_command(command, &block)
|
|
1425
1451
|
end
|
|
1426
1452
|
|
|
1427
|
-
# Get the query statistics for customer
|
|
1453
|
+
# Get the query statistics for customer.
|
|
1454
|
+
# **Note:** This API requires a standard end user account to execute.
|
|
1428
1455
|
# @param [Fixnum] from_date_day
|
|
1429
1456
|
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
|
1430
1457
|
# @param [Fixnum] from_date_month
|
|
@@ -1469,7 +1496,9 @@ module Google
|
|
|
1469
1496
|
execute_or_queue_command(command, &block)
|
|
1470
1497
|
end
|
|
1471
1498
|
|
|
1472
|
-
# Get the # of search sessions
|
|
1499
|
+
# Get the # of search sessions, % of successful sessions with a click query
|
|
1500
|
+
# statistics for customer.
|
|
1501
|
+
# **Note:** This API requires a standard end user account to execute.
|
|
1473
1502
|
# @param [Fixnum] from_date_day
|
|
1474
1503
|
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
|
1475
1504
|
# @param [Fixnum] from_date_month
|
|
@@ -1514,7 +1543,8 @@ module Google
|
|
|
1514
1543
|
execute_or_queue_command(command, &block)
|
|
1515
1544
|
end
|
|
1516
1545
|
|
|
1517
|
-
# Get the users statistics for customer
|
|
1546
|
+
# Get the users statistics for customer.
|
|
1547
|
+
# **Note:** This API requires a standard end user account to execute.
|
|
1518
1548
|
# @param [Fixnum] from_date_day
|
|
1519
1549
|
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
|
1520
1550
|
# @param [Fixnum] from_date_month
|
|
@@ -1560,6 +1590,7 @@ module Google
|
|
|
1560
1590
|
end
|
|
1561
1591
|
|
|
1562
1592
|
# Gets indexed item statistics for a single data source.
|
|
1593
|
+
# **Note:** This API requires a standard end user account to execute.
|
|
1563
1594
|
# @param [String] name
|
|
1564
1595
|
# The resource id of the data source to retrieve statistics for,
|
|
1565
1596
|
# in the following format: "datasources/`source_id`"
|
|
@@ -1608,7 +1639,8 @@ module Google
|
|
|
1608
1639
|
execute_or_queue_command(command, &block)
|
|
1609
1640
|
end
|
|
1610
1641
|
|
|
1611
|
-
# Get the query statistics for search application
|
|
1642
|
+
# Get the query statistics for search application.
|
|
1643
|
+
# **Note:** This API requires a standard end user account to execute.
|
|
1612
1644
|
# @param [String] name
|
|
1613
1645
|
# The resource id of the search application query stats, in the following
|
|
1614
1646
|
# format: searchapplications/`application_id`
|
|
@@ -1657,7 +1689,9 @@ module Google
|
|
|
1657
1689
|
execute_or_queue_command(command, &block)
|
|
1658
1690
|
end
|
|
1659
1691
|
|
|
1660
|
-
# Get the # of search sessions
|
|
1692
|
+
# Get the # of search sessions, % of successful sessions with a click query
|
|
1693
|
+
# statistics for search application.
|
|
1694
|
+
# **Note:** This API requires a standard end user account to execute.
|
|
1661
1695
|
# @param [String] name
|
|
1662
1696
|
# The resource id of the search application session stats, in the following
|
|
1663
1697
|
# format: searchapplications/`application_id`
|
|
@@ -1706,7 +1740,8 @@ module Google
|
|
|
1706
1740
|
execute_or_queue_command(command, &block)
|
|
1707
1741
|
end
|
|
1708
1742
|
|
|
1709
|
-
# Get the users statistics for search application
|
|
1743
|
+
# Get the users statistics for search application.
|
|
1744
|
+
# **Note:** This API requires a standard end user account to execute.
|
|
1710
1745
|
# @param [String] name
|
|
1711
1746
|
# The resource id of the search application session stats, in the following
|
|
1712
1747
|
# format: searchapplications/`application_id`
|