google-api-client 0.31.0 → 0.32.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.kokoro/continuous/linux.cfg +11 -1
- data/.kokoro/continuous/osx.cfg +5 -0
- data/.kokoro/continuous/windows.cfg +10 -0
- data/.kokoro/presubmit/linux.cfg +11 -1
- data/.kokoro/presubmit/osx.cfg +5 -0
- data/.kokoro/presubmit/windows.cfg +10 -0
- data/CHANGELOG.md +107 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +12 -1
- data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +241 -0
- data/generated/google/apis/bigquery_v2/representations.rb +115 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +62 -29
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +2 -2
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -26
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +7 -7
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +3 -3
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -175
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -65
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -140
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +37 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +497 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +236 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +713 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +307 -0
- data/generated/google/apis/binaryauthorization_v1/representations.rb +88 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +230 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +62 -29
- data/generated/google/apis/blogger_v3.rb +1 -1
- data/generated/google/apis/blogger_v3/service.rb +6 -6
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +72 -29
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1/service.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +62 -29
- data/generated/google/apis/cloudasset_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -2
- data/generated/google/apis/cloudfunctions_v1/service.rb +10 -7
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +7 -6
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +68 -35
- data/generated/google/apis/cloudiot_v1/service.rb +18 -17
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +77 -35
- data/generated/google/apis/cloudkms_v1/service.rb +33 -27
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +62 -29
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +354 -0
- data/generated/google/apis/cloudsearch_v1/representations.rb +196 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +314 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +62 -29
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +10 -10
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +3 -3
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +7 -10
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +38 -42
- data/generated/google/apis/compute_alpha/representations.rb +5 -16
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +10 -5
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1327 -4
- data/generated/google/apis/compute_v1/representations.rb +439 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +111 -0
- data/generated/google/apis/container_v1/representations.rb +51 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +76 -30
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +70 -30
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +0 -226
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +42 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +4 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +324 -38
- data/generated/google/apis/dataproc_v1/representations.rb +97 -0
- data/generated/google/apis/dataproc_v1/service.rb +613 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +100 -54
- data/generated/google/apis/dataproc_v1beta2/service.rb +29 -22
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +363 -167
- data/generated/google/apis/dialogflow_v2/representations.rb +160 -49
- data/generated/google/apis/dialogflow_v2/service.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +433 -178
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +199 -59
- data/generated/google/apis/dialogflow_v2beta1/service.rb +39 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +3 -4
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +2 -2
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +9 -4
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +8 -0
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1/service.rb +2 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +8 -0
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1/service.rb +2 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +41 -4
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +22 -14
- data/generated/google/apis/fitness_v1.rb +19 -19
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +136 -100
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +124 -119
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +87 -41
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +62 -29
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +62 -29
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +114 -49
- data/generated/google/apis/ml_v1/representations.rb +2 -0
- data/generated/google/apis/ml_v1/service.rb +12 -6
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +14 -10
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +12 -0
- data/generated/google/apis/oslogin_v1/representations.rb +2 -0
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +12 -0
- data/generated/google/apis/oslogin_v1alpha/representations.rb +2 -0
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +12 -0
- data/generated/google/apis/oslogin_v1beta/representations.rb +2 -0
- data/generated/google/apis/policytroubleshooter_v1beta.rb +34 -0
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +621 -0
- data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +203 -0
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +91 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +7 -4
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +60 -58
- data/generated/google/apis/recommender_v1beta1.rb +34 -0
- data/generated/google/apis/recommender_v1beta1/classes.rb +502 -0
- data/generated/google/apis/recommender_v1beta1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1beta1/service.rb +262 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +49 -1100
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -276
- data/generated/google/apis/remotebuildexecution_v1/service.rb +0 -77
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +12 -990
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -245
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +12 -990
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -245
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +3553 -33
- data/generated/google/apis/run_v1/representations.rb +1186 -4
- data/generated/google/apis/run_v1/service.rb +2509 -23
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +103 -140
- data/generated/google/apis/run_v1alpha1/representations.rb +5 -43
- data/generated/google/apis/run_v1beta1.rb +35 -0
- data/generated/google/apis/run_v1beta1/classes.rb +1209 -0
- data/generated/google/apis/run_v1beta1/representations.rb +421 -0
- data/generated/google/apis/run_v1beta1/service.rb +172 -0
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +62 -29
- data/generated/google/apis/safebrowsing_v4.rb +5 -2
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +70 -35
- data/generated/google/apis/securitycenter_v1/service.rb +13 -12
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +71 -35
- data/generated/google/apis/securitycenter_v1beta1/service.rb +13 -12
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +62 -29
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +62 -29
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +62 -29
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +11 -2
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +63 -33
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +11 -2
- 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 +11 -2
- 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 +11 -2
- 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 +11 -2
- 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 +78 -2
- data/generated/google/apis/spanner_v1/representations.rb +44 -0
- data/generated/google/apis/spanner_v1/service.rb +35 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +73 -19
- data/generated/google/apis/speech_v1/representations.rb +18 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +31 -35
- data/generated/google/apis/speech_v2beta.rb +1 -1
- data/generated/google/apis/speech_v2beta/classes.rb +6 -6
- data/generated/google/apis/speech_v2beta/representations.rb +2 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +1 -1
- data/generated/google/apis/storage_v1/representations.rb +2 -1
- data/generated/google/apis/storage_v1beta1.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +9 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +42 -0
- data/generated/google/apis/testing_v1/representations.rb +18 -0
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +6 -5
- data/generated/google/apis/texttospeech_v1/service.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +6 -5
- data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +22 -16
- data/generated/google/apis/translate_v3beta1/service.rb +31 -31
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +45 -10
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +6 -156
- data/generated/google/apis/vision_v1/representations.rb +0 -44
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -156
- data/generated/google/apis/vision_v1p1beta1/representations.rb +0 -44
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +6 -156
- data/generated/google/apis/vision_v1p2beta1/representations.rb +0 -44
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +21 -31
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +30 -42
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +0 -83
- data/generated/google/apis/youtube_partner_v1/representations.rb +0 -35
- data/generated/google/apis/youtube_partner_v1/service.rb +0 -100
- data/lib/google/apis/version.rb +1 -1
- metadata +18 -6
- data/generated/google/apis/dfareporting_v3_1.rb +0 -40
- data/generated/google/apis/dfareporting_v3_1/classes.rb +0 -11998
- data/generated/google/apis/dfareporting_v3_1/representations.rb +0 -4313
- data/generated/google/apis/dfareporting_v3_1/service.rb +0 -8688
@@ -359,7 +359,9 @@ module Google
|
|
359
359
|
end
|
360
360
|
|
361
361
|
# Deletes Item resource for the
|
362
|
-
# specified resource name.
|
362
|
+
# specified resource name. This API requires an admin or service account
|
363
|
+
# to execute. The service account used is the one whitelisted in the
|
364
|
+
# corresponding data source.
|
363
365
|
# @param [String] name
|
364
366
|
# Required. Name of the item to delete.
|
365
367
|
# Format: datasources/`source_id`/items/`item_id`
|
@@ -414,6 +416,8 @@ module Google
|
|
414
416
|
|
415
417
|
# Deletes all items in a queue. This method is useful for deleting stale
|
416
418
|
# items.
|
419
|
+
# This API requires an admin or service account to execute. The service
|
420
|
+
# account used is the one whitelisted in the corresponding data source.
|
417
421
|
# @param [String] name
|
418
422
|
# Name of the Data Source to delete items in a queue.
|
419
423
|
# Format: datasources/`source_id`
|
@@ -448,6 +452,8 @@ module Google
|
|
448
452
|
end
|
449
453
|
|
450
454
|
# Gets Item resource by item name.
|
455
|
+
# This API requires an admin or service account to execute. The service
|
456
|
+
# account used is the one whitelisted in the corresponding data source.
|
451
457
|
# @param [String] name
|
452
458
|
# Name of the item to get info.
|
453
459
|
# Format: datasources/`source_id`/items/`item_id`
|
@@ -491,6 +497,8 @@ module Google
|
|
491
497
|
# does not exist.
|
492
498
|
# This method does not support partial updates. Fields with no provided
|
493
499
|
# values are cleared out in the Cloud Search index.
|
500
|
+
# This API requires an admin or service account to execute. The service
|
501
|
+
# account used is the one whitelisted in the corresponding data source.
|
494
502
|
# @param [String] name
|
495
503
|
# Name of the Item. Format:
|
496
504
|
# datasources/`source_id`/items/`item_id`
|
@@ -527,6 +535,8 @@ module Google
|
|
527
535
|
end
|
528
536
|
|
529
537
|
# Lists all or a subset of Item resources.
|
538
|
+
# This API requires an admin or service account to execute. The service
|
539
|
+
# account used is the one whitelisted in the corresponding data source.
|
530
540
|
# @param [String] name
|
531
541
|
# Name of the Data Source to list Items. Format:
|
532
542
|
# datasources/`source_id`
|
@@ -534,9 +544,21 @@ module Google
|
|
534
544
|
# When set to true, the indexing system only populates the following fields:
|
535
545
|
# name,
|
536
546
|
# version,
|
547
|
+
# queue.
|
537
548
|
# metadata.hash,
|
549
|
+
# metadata.title,
|
550
|
+
# metadata.sourceRepositoryURL,
|
551
|
+
# metadata.objectType,
|
552
|
+
# metadata.createTime,
|
553
|
+
# metadata.updateTime,
|
554
|
+
# metadata.contentLanguage,
|
555
|
+
# metadata.mimeType,
|
538
556
|
# structured_data.hash,
|
539
|
-
# content.hash
|
557
|
+
# content.hash,
|
558
|
+
# itemType,
|
559
|
+
# itemStatus.code,
|
560
|
+
# itemStatus.processingError.code,
|
561
|
+
# itemStatus.repositoryError.type,
|
540
562
|
# <br />If this value is false, then all the fields are populated in Item.
|
541
563
|
# @param [String] connector_name
|
542
564
|
# Name of connector making this call.
|
@@ -606,6 +628,8 @@ module Google
|
|
606
628
|
# the type REQUEUE.
|
607
629
|
# Items automatically become available (unreserved) after 4 hours even if no
|
608
630
|
# update or push method is called.
|
631
|
+
# This API requires an admin or service account to execute. The service
|
632
|
+
# account used is the one whitelisted in the corresponding data source.
|
609
633
|
# @param [String] name
|
610
634
|
# Name of the Data Source to poll items.
|
611
635
|
# Format: datasources/`source_id`
|
@@ -640,6 +664,8 @@ module Google
|
|
640
664
|
end
|
641
665
|
|
642
666
|
# Pushes an item onto a queue for later polling and updating.
|
667
|
+
# This API requires an admin or service account to execute. The service
|
668
|
+
# account used is the one whitelisted in the corresponding data source.
|
643
669
|
# @param [String] name
|
644
670
|
# Name of the item to
|
645
671
|
# push into the indexing queue.<br />
|
@@ -679,6 +705,8 @@ module Google
|
|
679
705
|
# Unreserves all items from a queue, making them all eligible to be
|
680
706
|
# polled. This method is useful for resetting the indexing queue
|
681
707
|
# after a connector has been restarted.
|
708
|
+
# This API requires an admin or service account to execute. The service
|
709
|
+
# account used is the one whitelisted in the corresponding data source.
|
682
710
|
# @param [String] name
|
683
711
|
# Name of the Data Source to unreserve all items.
|
684
712
|
# Format: datasources/`source_id`
|
@@ -716,6 +744,8 @@ module Google
|
|
716
744
|
# than 100 KB, it's easier to embed the content
|
717
745
|
# inline within
|
718
746
|
# an index request.
|
747
|
+
# This API requires an admin or service account to execute. The service
|
748
|
+
# account used is the one whitelisted in the corresponding data source.
|
719
749
|
# @param [String] name
|
720
750
|
# Name of the Item to start a resumable upload.
|
721
751
|
# Format: datasources/`source_id`/items/`item_id`.
|
@@ -1391,6 +1421,141 @@ module Google
|
|
1391
1421
|
execute_or_queue_command(command, &block)
|
1392
1422
|
end
|
1393
1423
|
|
1424
|
+
# Get the query statistics for customer
|
1425
|
+
# @param [Fixnum] from_date_day
|
1426
|
+
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
1427
|
+
# @param [Fixnum] from_date_month
|
1428
|
+
# Month of date. Must be from 1 to 12.
|
1429
|
+
# @param [Fixnum] from_date_year
|
1430
|
+
# Year of date. Must be from 1 to 9999.
|
1431
|
+
# @param [Fixnum] to_date_day
|
1432
|
+
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
1433
|
+
# @param [Fixnum] to_date_month
|
1434
|
+
# Month of date. Must be from 1 to 12.
|
1435
|
+
# @param [Fixnum] to_date_year
|
1436
|
+
# Year of date. Must be from 1 to 9999.
|
1437
|
+
# @param [String] fields
|
1438
|
+
# Selector specifying which fields to include in a partial response.
|
1439
|
+
# @param [String] quota_user
|
1440
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1441
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1442
|
+
# @param [Google::Apis::RequestOptions] options
|
1443
|
+
# Request-specific options
|
1444
|
+
#
|
1445
|
+
# @yield [result, err] Result & error if block supplied
|
1446
|
+
# @yieldparam result [Google::Apis::CloudsearchV1::GetCustomerQueryStatsResponse] parsed result object
|
1447
|
+
# @yieldparam err [StandardError] error object if request failed
|
1448
|
+
#
|
1449
|
+
# @return [Google::Apis::CloudsearchV1::GetCustomerQueryStatsResponse]
|
1450
|
+
#
|
1451
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1452
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1453
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1454
|
+
def get_stat_query(from_date_day: nil, from_date_month: nil, from_date_year: nil, to_date_day: nil, to_date_month: nil, to_date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1455
|
+
command = make_simple_command(:get, 'v1/stats/query', options)
|
1456
|
+
command.response_representation = Google::Apis::CloudsearchV1::GetCustomerQueryStatsResponse::Representation
|
1457
|
+
command.response_class = Google::Apis::CloudsearchV1::GetCustomerQueryStatsResponse
|
1458
|
+
command.query['fromDate.day'] = from_date_day unless from_date_day.nil?
|
1459
|
+
command.query['fromDate.month'] = from_date_month unless from_date_month.nil?
|
1460
|
+
command.query['fromDate.year'] = from_date_year unless from_date_year.nil?
|
1461
|
+
command.query['toDate.day'] = to_date_day unless to_date_day.nil?
|
1462
|
+
command.query['toDate.month'] = to_date_month unless to_date_month.nil?
|
1463
|
+
command.query['toDate.year'] = to_date_year unless to_date_year.nil?
|
1464
|
+
command.query['fields'] = fields unless fields.nil?
|
1465
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1466
|
+
execute_or_queue_command(command, &block)
|
1467
|
+
end
|
1468
|
+
|
1469
|
+
# Get the # of search sessions for the customer
|
1470
|
+
# @param [Fixnum] from_date_day
|
1471
|
+
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
1472
|
+
# @param [Fixnum] from_date_month
|
1473
|
+
# Month of date. Must be from 1 to 12.
|
1474
|
+
# @param [Fixnum] from_date_year
|
1475
|
+
# Year of date. Must be from 1 to 9999.
|
1476
|
+
# @param [Fixnum] to_date_day
|
1477
|
+
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
1478
|
+
# @param [Fixnum] to_date_month
|
1479
|
+
# Month of date. Must be from 1 to 12.
|
1480
|
+
# @param [Fixnum] to_date_year
|
1481
|
+
# Year of date. Must be from 1 to 9999.
|
1482
|
+
# @param [String] fields
|
1483
|
+
# Selector specifying which fields to include in a partial response.
|
1484
|
+
# @param [String] quota_user
|
1485
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1486
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1487
|
+
# @param [Google::Apis::RequestOptions] options
|
1488
|
+
# Request-specific options
|
1489
|
+
#
|
1490
|
+
# @yield [result, err] Result & error if block supplied
|
1491
|
+
# @yieldparam result [Google::Apis::CloudsearchV1::GetCustomerSessionStatsResponse] parsed result object
|
1492
|
+
# @yieldparam err [StandardError] error object if request failed
|
1493
|
+
#
|
1494
|
+
# @return [Google::Apis::CloudsearchV1::GetCustomerSessionStatsResponse]
|
1495
|
+
#
|
1496
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1497
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1498
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1499
|
+
def get_stat_session(from_date_day: nil, from_date_month: nil, from_date_year: nil, to_date_day: nil, to_date_month: nil, to_date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1500
|
+
command = make_simple_command(:get, 'v1/stats/session', options)
|
1501
|
+
command.response_representation = Google::Apis::CloudsearchV1::GetCustomerSessionStatsResponse::Representation
|
1502
|
+
command.response_class = Google::Apis::CloudsearchV1::GetCustomerSessionStatsResponse
|
1503
|
+
command.query['fromDate.day'] = from_date_day unless from_date_day.nil?
|
1504
|
+
command.query['fromDate.month'] = from_date_month unless from_date_month.nil?
|
1505
|
+
command.query['fromDate.year'] = from_date_year unless from_date_year.nil?
|
1506
|
+
command.query['toDate.day'] = to_date_day unless to_date_day.nil?
|
1507
|
+
command.query['toDate.month'] = to_date_month unless to_date_month.nil?
|
1508
|
+
command.query['toDate.year'] = to_date_year unless to_date_year.nil?
|
1509
|
+
command.query['fields'] = fields unless fields.nil?
|
1510
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1511
|
+
execute_or_queue_command(command, &block)
|
1512
|
+
end
|
1513
|
+
|
1514
|
+
# Get the users statistics for customer
|
1515
|
+
# @param [Fixnum] from_date_day
|
1516
|
+
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
1517
|
+
# @param [Fixnum] from_date_month
|
1518
|
+
# Month of date. Must be from 1 to 12.
|
1519
|
+
# @param [Fixnum] from_date_year
|
1520
|
+
# Year of date. Must be from 1 to 9999.
|
1521
|
+
# @param [Fixnum] to_date_day
|
1522
|
+
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
1523
|
+
# @param [Fixnum] to_date_month
|
1524
|
+
# Month of date. Must be from 1 to 12.
|
1525
|
+
# @param [Fixnum] to_date_year
|
1526
|
+
# Year of date. Must be from 1 to 9999.
|
1527
|
+
# @param [String] fields
|
1528
|
+
# Selector specifying which fields to include in a partial response.
|
1529
|
+
# @param [String] quota_user
|
1530
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1531
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1532
|
+
# @param [Google::Apis::RequestOptions] options
|
1533
|
+
# Request-specific options
|
1534
|
+
#
|
1535
|
+
# @yield [result, err] Result & error if block supplied
|
1536
|
+
# @yieldparam result [Google::Apis::CloudsearchV1::GetCustomerUserStatsResponse] parsed result object
|
1537
|
+
# @yieldparam err [StandardError] error object if request failed
|
1538
|
+
#
|
1539
|
+
# @return [Google::Apis::CloudsearchV1::GetCustomerUserStatsResponse]
|
1540
|
+
#
|
1541
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1542
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1543
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1544
|
+
def get_stat_user(from_date_day: nil, from_date_month: nil, from_date_year: nil, to_date_day: nil, to_date_month: nil, to_date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1545
|
+
command = make_simple_command(:get, 'v1/stats/user', options)
|
1546
|
+
command.response_representation = Google::Apis::CloudsearchV1::GetCustomerUserStatsResponse::Representation
|
1547
|
+
command.response_class = Google::Apis::CloudsearchV1::GetCustomerUserStatsResponse
|
1548
|
+
command.query['fromDate.day'] = from_date_day unless from_date_day.nil?
|
1549
|
+
command.query['fromDate.month'] = from_date_month unless from_date_month.nil?
|
1550
|
+
command.query['fromDate.year'] = from_date_year unless from_date_year.nil?
|
1551
|
+
command.query['toDate.day'] = to_date_day unless to_date_day.nil?
|
1552
|
+
command.query['toDate.month'] = to_date_month unless to_date_month.nil?
|
1553
|
+
command.query['toDate.year'] = to_date_year unless to_date_year.nil?
|
1554
|
+
command.query['fields'] = fields unless fields.nil?
|
1555
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1556
|
+
execute_or_queue_command(command, &block)
|
1557
|
+
end
|
1558
|
+
|
1394
1559
|
# Gets indexed item statistics for a single data source.
|
1395
1560
|
# @param [String] name
|
1396
1561
|
# The resource id of the data source to retrieve statistics for,
|
@@ -1439,6 +1604,153 @@ module Google
|
|
1439
1604
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1440
1605
|
execute_or_queue_command(command, &block)
|
1441
1606
|
end
|
1607
|
+
|
1608
|
+
# Get the query statistics for search application
|
1609
|
+
# @param [String] name
|
1610
|
+
# The resource id of the search application query stats, in the following
|
1611
|
+
# format: searchapplications/`application_id`
|
1612
|
+
# @param [Fixnum] from_date_day
|
1613
|
+
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
1614
|
+
# @param [Fixnum] from_date_month
|
1615
|
+
# Month of date. Must be from 1 to 12.
|
1616
|
+
# @param [Fixnum] from_date_year
|
1617
|
+
# Year of date. Must be from 1 to 9999.
|
1618
|
+
# @param [Fixnum] to_date_day
|
1619
|
+
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
1620
|
+
# @param [Fixnum] to_date_month
|
1621
|
+
# Month of date. Must be from 1 to 12.
|
1622
|
+
# @param [Fixnum] to_date_year
|
1623
|
+
# Year of date. Must be from 1 to 9999.
|
1624
|
+
# @param [String] fields
|
1625
|
+
# Selector specifying which fields to include in a partial response.
|
1626
|
+
# @param [String] quota_user
|
1627
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1628
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1629
|
+
# @param [Google::Apis::RequestOptions] options
|
1630
|
+
# Request-specific options
|
1631
|
+
#
|
1632
|
+
# @yield [result, err] Result & error if block supplied
|
1633
|
+
# @yieldparam result [Google::Apis::CloudsearchV1::GetSearchApplicationQueryStatsResponse] parsed result object
|
1634
|
+
# @yieldparam err [StandardError] error object if request failed
|
1635
|
+
#
|
1636
|
+
# @return [Google::Apis::CloudsearchV1::GetSearchApplicationQueryStatsResponse]
|
1637
|
+
#
|
1638
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1639
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1640
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1641
|
+
def get_stat_query_searchapplication(name, from_date_day: nil, from_date_month: nil, from_date_year: nil, to_date_day: nil, to_date_month: nil, to_date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1642
|
+
command = make_simple_command(:get, 'v1/stats/query/{+name}', options)
|
1643
|
+
command.response_representation = Google::Apis::CloudsearchV1::GetSearchApplicationQueryStatsResponse::Representation
|
1644
|
+
command.response_class = Google::Apis::CloudsearchV1::GetSearchApplicationQueryStatsResponse
|
1645
|
+
command.params['name'] = name unless name.nil?
|
1646
|
+
command.query['fromDate.day'] = from_date_day unless from_date_day.nil?
|
1647
|
+
command.query['fromDate.month'] = from_date_month unless from_date_month.nil?
|
1648
|
+
command.query['fromDate.year'] = from_date_year unless from_date_year.nil?
|
1649
|
+
command.query['toDate.day'] = to_date_day unless to_date_day.nil?
|
1650
|
+
command.query['toDate.month'] = to_date_month unless to_date_month.nil?
|
1651
|
+
command.query['toDate.year'] = to_date_year unless to_date_year.nil?
|
1652
|
+
command.query['fields'] = fields unless fields.nil?
|
1653
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1654
|
+
execute_or_queue_command(command, &block)
|
1655
|
+
end
|
1656
|
+
|
1657
|
+
# Get the # of search sessions for the search application
|
1658
|
+
# @param [String] name
|
1659
|
+
# The resource id of the search application session stats, in the following
|
1660
|
+
# format: searchapplications/`application_id`
|
1661
|
+
# @param [Fixnum] from_date_day
|
1662
|
+
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
1663
|
+
# @param [Fixnum] from_date_month
|
1664
|
+
# Month of date. Must be from 1 to 12.
|
1665
|
+
# @param [Fixnum] from_date_year
|
1666
|
+
# Year of date. Must be from 1 to 9999.
|
1667
|
+
# @param [Fixnum] to_date_day
|
1668
|
+
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
1669
|
+
# @param [Fixnum] to_date_month
|
1670
|
+
# Month of date. Must be from 1 to 12.
|
1671
|
+
# @param [Fixnum] to_date_year
|
1672
|
+
# Year of date. Must be from 1 to 9999.
|
1673
|
+
# @param [String] fields
|
1674
|
+
# Selector specifying which fields to include in a partial response.
|
1675
|
+
# @param [String] quota_user
|
1676
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1677
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1678
|
+
# @param [Google::Apis::RequestOptions] options
|
1679
|
+
# Request-specific options
|
1680
|
+
#
|
1681
|
+
# @yield [result, err] Result & error if block supplied
|
1682
|
+
# @yieldparam result [Google::Apis::CloudsearchV1::GetSearchApplicationSessionStatsResponse] parsed result object
|
1683
|
+
# @yieldparam err [StandardError] error object if request failed
|
1684
|
+
#
|
1685
|
+
# @return [Google::Apis::CloudsearchV1::GetSearchApplicationSessionStatsResponse]
|
1686
|
+
#
|
1687
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1688
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1689
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1690
|
+
def get_stat_session_searchapplication(name, from_date_day: nil, from_date_month: nil, from_date_year: nil, to_date_day: nil, to_date_month: nil, to_date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1691
|
+
command = make_simple_command(:get, 'v1/stats/session/{+name}', options)
|
1692
|
+
command.response_representation = Google::Apis::CloudsearchV1::GetSearchApplicationSessionStatsResponse::Representation
|
1693
|
+
command.response_class = Google::Apis::CloudsearchV1::GetSearchApplicationSessionStatsResponse
|
1694
|
+
command.params['name'] = name unless name.nil?
|
1695
|
+
command.query['fromDate.day'] = from_date_day unless from_date_day.nil?
|
1696
|
+
command.query['fromDate.month'] = from_date_month unless from_date_month.nil?
|
1697
|
+
command.query['fromDate.year'] = from_date_year unless from_date_year.nil?
|
1698
|
+
command.query['toDate.day'] = to_date_day unless to_date_day.nil?
|
1699
|
+
command.query['toDate.month'] = to_date_month unless to_date_month.nil?
|
1700
|
+
command.query['toDate.year'] = to_date_year unless to_date_year.nil?
|
1701
|
+
command.query['fields'] = fields unless fields.nil?
|
1702
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1703
|
+
execute_or_queue_command(command, &block)
|
1704
|
+
end
|
1705
|
+
|
1706
|
+
# Get the users statistics for search application
|
1707
|
+
# @param [String] name
|
1708
|
+
# The resource id of the search application session stats, in the following
|
1709
|
+
# format: searchapplications/`application_id`
|
1710
|
+
# @param [Fixnum] from_date_day
|
1711
|
+
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
1712
|
+
# @param [Fixnum] from_date_month
|
1713
|
+
# Month of date. Must be from 1 to 12.
|
1714
|
+
# @param [Fixnum] from_date_year
|
1715
|
+
# Year of date. Must be from 1 to 9999.
|
1716
|
+
# @param [Fixnum] to_date_day
|
1717
|
+
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
1718
|
+
# @param [Fixnum] to_date_month
|
1719
|
+
# Month of date. Must be from 1 to 12.
|
1720
|
+
# @param [Fixnum] to_date_year
|
1721
|
+
# Year of date. Must be from 1 to 9999.
|
1722
|
+
# @param [String] fields
|
1723
|
+
# Selector specifying which fields to include in a partial response.
|
1724
|
+
# @param [String] quota_user
|
1725
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1726
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1727
|
+
# @param [Google::Apis::RequestOptions] options
|
1728
|
+
# Request-specific options
|
1729
|
+
#
|
1730
|
+
# @yield [result, err] Result & error if block supplied
|
1731
|
+
# @yieldparam result [Google::Apis::CloudsearchV1::GetSearchApplicationUserStatsResponse] parsed result object
|
1732
|
+
# @yieldparam err [StandardError] error object if request failed
|
1733
|
+
#
|
1734
|
+
# @return [Google::Apis::CloudsearchV1::GetSearchApplicationUserStatsResponse]
|
1735
|
+
#
|
1736
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1737
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1738
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1739
|
+
def get_stat_user_searchapplication(name, from_date_day: nil, from_date_month: nil, from_date_year: nil, to_date_day: nil, to_date_month: nil, to_date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1740
|
+
command = make_simple_command(:get, 'v1/stats/user/{+name}', options)
|
1741
|
+
command.response_representation = Google::Apis::CloudsearchV1::GetSearchApplicationUserStatsResponse::Representation
|
1742
|
+
command.response_class = Google::Apis::CloudsearchV1::GetSearchApplicationUserStatsResponse
|
1743
|
+
command.params['name'] = name unless name.nil?
|
1744
|
+
command.query['fromDate.day'] = from_date_day unless from_date_day.nil?
|
1745
|
+
command.query['fromDate.month'] = from_date_month unless from_date_month.nil?
|
1746
|
+
command.query['fromDate.year'] = from_date_year unless from_date_year.nil?
|
1747
|
+
command.query['toDate.day'] = to_date_day unless to_date_day.nil?
|
1748
|
+
command.query['toDate.month'] = to_date_month unless to_date_month.nil?
|
1749
|
+
command.query['toDate.year'] = to_date_year unless to_date_year.nil?
|
1750
|
+
command.query['fields'] = fields unless fields.nil?
|
1751
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1752
|
+
execute_or_queue_command(command, &block)
|
1753
|
+
end
|
1442
1754
|
|
1443
1755
|
protected
|
1444
1756
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/tasks/
|
26
26
|
module CloudtasksV2beta3
|
27
27
|
VERSION = 'V2beta3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190927'
|
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'
|
@@ -886,25 +886,34 @@ module Google
|
|
886
886
|
|
887
887
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
888
888
|
# specify access control policies for Cloud Platform resources.
|
889
|
-
# A `Policy`
|
890
|
-
# `members` to a `role
|
891
|
-
# Google
|
892
|
-
# defined by IAM.
|
889
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
890
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
891
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
892
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
893
|
+
# optionally specify a `condition`, which is a logic expression that further
|
894
|
+
# constrains the role binding based on attributes about the request and/or
|
895
|
+
# target resource.
|
893
896
|
# **JSON Example**
|
894
897
|
# `
|
895
898
|
# "bindings": [
|
896
899
|
# `
|
897
|
-
# "role": "roles/
|
900
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
898
901
|
# "members": [
|
899
902
|
# "user:mike@example.com",
|
900
903
|
# "group:admins@example.com",
|
901
904
|
# "domain:google.com",
|
902
|
-
# "serviceAccount:my-
|
905
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
903
906
|
# ]
|
904
907
|
# `,
|
905
908
|
# `
|
906
|
-
# "role": "roles/
|
907
|
-
# "members": ["user:
|
909
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
910
|
+
# "members": ["user:eve@example.com"],
|
911
|
+
# "condition": `
|
912
|
+
# "title": "expirable access",
|
913
|
+
# "description": "Does not grant access after Sep 2020",
|
914
|
+
# "expression": "request.time <
|
915
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
916
|
+
# `
|
908
917
|
# `
|
909
918
|
# ]
|
910
919
|
# `
|
@@ -914,17 +923,22 @@ module Google
|
|
914
923
|
# - user:mike@example.com
|
915
924
|
# - group:admins@example.com
|
916
925
|
# - domain:google.com
|
917
|
-
# - serviceAccount:my-
|
918
|
-
# role: roles/
|
926
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
927
|
+
# role: roles/resourcemanager.organizationAdmin
|
919
928
|
# - members:
|
920
|
-
# - user:
|
921
|
-
# role: roles/
|
929
|
+
# - user:eve@example.com
|
930
|
+
# role: roles/resourcemanager.organizationViewer
|
931
|
+
# condition:
|
932
|
+
# title: expirable access
|
933
|
+
# description: Does not grant access after Sep 2020
|
934
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
922
935
|
# For a description of IAM and its features, see the
|
923
936
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
924
937
|
class Policy
|
925
938
|
include Google::Apis::Core::Hashable
|
926
939
|
|
927
|
-
# Associates a list of `members` to a `role`.
|
940
|
+
# Associates a list of `members` to a `role`. Optionally may specify a
|
941
|
+
# `condition` that determines when binding is in effect.
|
928
942
|
# `bindings` with no members will result in an error.
|
929
943
|
# Corresponds to the JSON property `bindings`
|
930
944
|
# @return [Array<Google::Apis::CloudtasksV2beta3::Binding>]
|
@@ -938,7 +952,9 @@ module Google
|
|
938
952
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
939
953
|
# ensure that their change will be applied to the same version of the policy.
|
940
954
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
941
|
-
# policy is overwritten.
|
955
|
+
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
|
956
|
+
# 'setIamPolicy' will not fail even if either of incoming or stored policy
|
957
|
+
# does not meet the version requirements.
|
942
958
|
# Corresponds to the JSON property `etag`
|
943
959
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
944
960
|
# @return [String]
|
@@ -947,9 +963,13 @@ module Google
|
|
947
963
|
# Specifies the format of the policy.
|
948
964
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
949
965
|
# rejected.
|
950
|
-
#
|
951
|
-
#
|
952
|
-
#
|
966
|
+
# Operations affecting conditional bindings must specify version 3. This can
|
967
|
+
# be either setting a conditional policy, modifying a conditional binding,
|
968
|
+
# or removing a conditional binding from the stored conditional policy.
|
969
|
+
# Operations on non-conditional policies may specify any valid value or
|
970
|
+
# leave the field unset.
|
971
|
+
# If no etag is provided in the call to `setIamPolicy`, any version
|
972
|
+
# compliance checks on the incoming and/or stored policy is skipped.
|
953
973
|
# Corresponds to the JSON property `version`
|
954
974
|
# @return [Fixnum]
|
955
975
|
attr_accessor :version
|
@@ -1321,25 +1341,34 @@ module Google
|
|
1321
1341
|
|
1322
1342
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
1323
1343
|
# specify access control policies for Cloud Platform resources.
|
1324
|
-
# A `Policy`
|
1325
|
-
# `members` to a `role
|
1326
|
-
# Google
|
1327
|
-
# defined by IAM.
|
1344
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
1345
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
1346
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1347
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
1348
|
+
# optionally specify a `condition`, which is a logic expression that further
|
1349
|
+
# constrains the role binding based on attributes about the request and/or
|
1350
|
+
# target resource.
|
1328
1351
|
# **JSON Example**
|
1329
1352
|
# `
|
1330
1353
|
# "bindings": [
|
1331
1354
|
# `
|
1332
|
-
# "role": "roles/
|
1355
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
1333
1356
|
# "members": [
|
1334
1357
|
# "user:mike@example.com",
|
1335
1358
|
# "group:admins@example.com",
|
1336
1359
|
# "domain:google.com",
|
1337
|
-
# "serviceAccount:my-
|
1360
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
1338
1361
|
# ]
|
1339
1362
|
# `,
|
1340
1363
|
# `
|
1341
|
-
# "role": "roles/
|
1342
|
-
# "members": ["user:
|
1364
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
1365
|
+
# "members": ["user:eve@example.com"],
|
1366
|
+
# "condition": `
|
1367
|
+
# "title": "expirable access",
|
1368
|
+
# "description": "Does not grant access after Sep 2020",
|
1369
|
+
# "expression": "request.time <
|
1370
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
1371
|
+
# `
|
1343
1372
|
# `
|
1344
1373
|
# ]
|
1345
1374
|
# `
|
@@ -1349,11 +1378,15 @@ module Google
|
|
1349
1378
|
# - user:mike@example.com
|
1350
1379
|
# - group:admins@example.com
|
1351
1380
|
# - domain:google.com
|
1352
|
-
# - serviceAccount:my-
|
1353
|
-
# role: roles/
|
1381
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1382
|
+
# role: roles/resourcemanager.organizationAdmin
|
1354
1383
|
# - members:
|
1355
|
-
# - user:
|
1356
|
-
# role: roles/
|
1384
|
+
# - user:eve@example.com
|
1385
|
+
# role: roles/resourcemanager.organizationViewer
|
1386
|
+
# condition:
|
1387
|
+
# title: expirable access
|
1388
|
+
# description: Does not grant access after Sep 2020
|
1389
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1357
1390
|
# For a description of IAM and its features, see the
|
1358
1391
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
1359
1392
|
# Corresponds to the JSON property `policy`
|