google-api-client 0.32.1 → 0.34.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 +5 -5
- data/CHANGELOG.md +159 -0
- data/README.md +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -73
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -32
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +15 -2
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +16 -3
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +4 -3
- data/generated/google/apis/admin_directory_v1.rb +4 -1
- data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
- data/generated/google/apis/admin_reports_v1/service.rb +310 -64
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/androidpublisher_v3/classes.rb +12 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +2 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +10 -6
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +10 -6
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +25 -19
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +3 -2
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +62 -29
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/service.rb +2 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +14 -15
- data/generated/google/apis/cloudasset_v1/service.rb +1 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +65 -36
- data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +5 -3
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +14 -14
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +7 -3
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
- data/generated/google/apis/cloudidentity_v1/service.rb +2 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +13 -10
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/service.rb +3 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +5 -2
- data/generated/google/apis/cloudsearch_v1/service.rb +5 -2
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +22 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +22 -0
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +519 -152
- data/generated/google/apis/compute_alpha/representations.rb +108 -2
- data/generated/google/apis/compute_alpha/service.rb +1035 -640
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1016 -266
- data/generated/google/apis/compute_beta/representations.rb +284 -0
- data/generated/google/apis/compute_beta/service.rb +1242 -532
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +283 -125
- data/generated/google/apis/compute_v1/representations.rb +24 -0
- data/generated/google/apis/compute_v1/service.rb +759 -473
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +207 -5
- data/generated/google/apis/container_v1/representations.rb +85 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +125 -3
- data/generated/google/apis/container_v1beta1/representations.rb +22 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +23 -220
- data/generated/google/apis/content_v2/representations.rb +0 -115
- data/generated/google/apis/content_v2/service.rb +0 -160
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +57 -18
- data/generated/google/apis/content_v2_1/representations.rb +3 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +6 -9
- data/generated/google/apis/dataflow_v1b3/representations.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +156 -46
- data/generated/google/apis/datafusion_v1beta1/representations.rb +33 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +10 -1
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1/service.rb +85 -1
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +25 -7
- data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +33 -7
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +3 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +19 -11
- data/generated/google/apis/dlp_v2/representations.rb +1 -0
- data/generated/google/apis/dlp_v2/service.rb +43 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +175 -0
- data/generated/google/apis/docs_v1/representations.rb +77 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -1
- data/generated/google/apis/drive_v2/service.rb +3 -3
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +37 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +16 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +6 -26
- data/generated/google/apis/games_management_v1management/representations.rb +1 -14
- data/generated/google/apis/games_management_v1management/service.rb +0 -158
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +6 -292
- data/generated/google/apis/games_v1/representations.rb +1 -98
- data/generated/google/apis/games_v1/service.rb +0 -123
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +205 -9
- data/generated/google/apis/healthcare_v1beta1/representations.rb +101 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +198 -104
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +9 -2
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +187 -2
- data/generated/google/apis/iap_v1/representations.rb +102 -0
- data/generated/google/apis/iap_v1/service.rb +72 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +167 -0
- data/generated/google/apis/jobs_v2/representations.rb +40 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +179 -0
- data/generated/google/apis/jobs_v3/representations.rb +41 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +179 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +15 -7
- data/generated/google/apis/licensing_v1/service.rb +81 -37
- data/generated/google/apis/licensing_v1.rb +4 -4
- data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
- data/generated/google/apis/{urlshortener_v1.rb → lifesciences_v2beta.rb} +12 -11
- data/generated/google/apis/logging_v2/classes.rb +12 -0
- data/generated/google/apis/logging_v2/representations.rb +2 -0
- data/generated/google/apis/logging_v2/service.rb +10 -5
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +66 -23
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +7 -3
- data/generated/google/apis/ml_v1.rb +2 -2
- data/generated/google/apis/monitoring_v1/classes.rb +260 -0
- data/generated/google/apis/monitoring_v1/representations.rb +123 -0
- data/generated/google/apis/monitoring_v1/service.rb +64 -0
- data/generated/google/apis/monitoring_v1.rb +36 -0
- data/generated/google/apis/monitoring_v3/classes.rb +27 -13
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +2 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +10 -6
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/service.rb +9 -5
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +67 -63
- data/generated/google/apis/people_v1/service.rb +53 -44
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +5 -4
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +3 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/service.rb +2 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +24 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +4 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +24 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +4 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +24 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +4 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +0 -7
- data/generated/google/apis/run_v1/service.rb +156 -94
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +319 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +126 -0
- data/generated/google/apis/run_v1alpha1/service.rb +408 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +2 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -2
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +63 -0
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +0 -11
- data/generated/google/apis/servicecontrol_v1/representations.rb +0 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +33 -7
- data/generated/google/apis/servicemanagement_v1/representations.rb +24 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +31 -17
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +55 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +29 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +55 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +29 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +389 -0
- data/generated/google/apis/sheets_v4/representations.rb +79 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +9 -8
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +6 -6
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
- data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
- data/generated/google/apis/sql_v1beta4/classes.rb +2752 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +1131 -0
- data/generated/google/apis/sql_v1beta4/service.rb +1791 -0
- data/generated/google/apis/sql_v1beta4.rb +37 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +142 -1
- data/generated/google/apis/testing_v1/representations.rb +76 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +35 -36
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +35 -36
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +35 -36
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +35 -36
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +35 -36
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/google-api-client.gemspec +6 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +28 -30
- data/generated/google/apis/dfareporting_v3_2/classes.rb +0 -12299
- data/generated/google/apis/dfareporting_v3_2/representations.rb +0 -4397
- data/generated/google/apis/dfareporting_v3_2/service.rb +0 -8793
- data/generated/google/apis/dfareporting_v3_2.rb +0 -40
- data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
- data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
- data/generated/google/apis/urlshortener_v1/service.rb +0 -169
|
@@ -31,7 +31,7 @@ module Google
|
|
|
31
31
|
# Admin = Google::Apis::AdminReportsV1 # Alias the module
|
|
32
32
|
# service = Admin::ReportsService.new
|
|
33
33
|
#
|
|
34
|
-
# @see
|
|
34
|
+
# @see /admin-sdk/reports/
|
|
35
35
|
class ReportsService < Google::Apis::Core::BaseService
|
|
36
36
|
# @return [String]
|
|
37
37
|
# API key. Your API key identifies your project and provides you with API access,
|
|
@@ -52,34 +52,109 @@ module Google
|
|
|
52
52
|
@batch_path = 'batch/admin/reports_v1'
|
|
53
53
|
end
|
|
54
54
|
|
|
55
|
-
# Retrieves a list of activities for a specific customer and
|
|
55
|
+
# Retrieves a list of activities for a specific customer's account and
|
|
56
|
+
# application such as the Admin console application or the Google Drive
|
|
57
|
+
# application. For more information, see the guides for administrator and Google
|
|
58
|
+
# Drive activity reports. For more information about the activity report's
|
|
59
|
+
# parameters, see the activity parameters reference guides.
|
|
56
60
|
# @param [String] user_key
|
|
57
|
-
# Represents the profile
|
|
58
|
-
# filtered.
|
|
59
|
-
#
|
|
61
|
+
# Represents the profile ID or the user email for which the data should be
|
|
62
|
+
# filtered. Can be all for all information, or userKey for a user's unique G
|
|
63
|
+
# Suite profile ID or their primary email address.
|
|
60
64
|
# @param [String] application_name
|
|
61
65
|
# Application name for which the events are to be retrieved.
|
|
62
66
|
# @param [String] actor_ip_address
|
|
63
|
-
# IP Address of host where the event was performed.
|
|
64
|
-
#
|
|
67
|
+
# The Internet Protocol (IP) Address of host where the event was performed. This
|
|
68
|
+
# is an additional way to filter a report's summary using the IP address of the
|
|
69
|
+
# user whose activity is being reported. This IP address may or may not reflect
|
|
70
|
+
# the user's physical location. For example, the IP address can be the user's
|
|
71
|
+
# proxy server's address or a virtual private network (VPN) address. This
|
|
72
|
+
# parameter supports both IPv4 and IPv6 address versions.
|
|
65
73
|
# @param [String] customer_id
|
|
66
|
-
#
|
|
74
|
+
# The unique ID of the customer to retrieve data for.
|
|
67
75
|
# @param [String] end_time
|
|
68
|
-
#
|
|
76
|
+
# Sets the end of the range of time shown in the report. The date is in the RFC
|
|
77
|
+
# 3339 format, for example 2010-10-28T10:26:35.000Z. The default value is the
|
|
78
|
+
# approximate time of the API request. An API report has three basic time
|
|
79
|
+
# concepts:
|
|
80
|
+
# - Date of the API's request for a report: When the API created and retrieved
|
|
81
|
+
# the report.
|
|
82
|
+
# - Report's start time: The beginning of the timespan shown in the report. The
|
|
83
|
+
# startTime must be before the endTime (if specified) and the current time when
|
|
84
|
+
# the request is made, or the API returns an error.
|
|
85
|
+
# - Report's end time: The end of the timespan shown in the report. For example,
|
|
86
|
+
# the timespan of events summarized in a report can start in April and end in
|
|
87
|
+
# May. The report itself can be requested in August. If the endTime is not
|
|
88
|
+
# specified, the report returns all activities from the startTime until the
|
|
89
|
+
# current time or the most recent 180 days if the startTime is more than 180
|
|
90
|
+
# days in the past.
|
|
69
91
|
# @param [String] event_name
|
|
70
|
-
#
|
|
92
|
+
# The name of the event being queried by the API. Each eventName is related to a
|
|
93
|
+
# specific G Suite service or feature which the API organizes into types of
|
|
94
|
+
# events. An example is the Google Calendar events in the Admin console
|
|
95
|
+
# application's reports. The Calendar Settings type structure has all of the
|
|
96
|
+
# Calendar eventName activities reported by the API. When an administrator
|
|
97
|
+
# changes a Calendar setting, the API reports this activity in the Calendar
|
|
98
|
+
# Settings type and eventName parameters. For more information about eventName
|
|
99
|
+
# query strings and parameters, see the list of event names for various
|
|
100
|
+
# applications above in applicationName.
|
|
71
101
|
# @param [String] filters
|
|
72
|
-
#
|
|
73
|
-
#
|
|
102
|
+
# The filters query string is a comma-separated list. The list is composed of
|
|
103
|
+
# event parameters that are manipulated by relational operators. Event
|
|
104
|
+
# parameters are in the form [parameter1 name][relational operator][parameter1
|
|
105
|
+
# value],[parameter2 name][relational operator][parameter2 value],...
|
|
106
|
+
# These event parameters are associated with a specific eventName. An empty
|
|
107
|
+
# report is returned if the filtered request's parameter does not belong to the
|
|
108
|
+
# eventName. For more information about eventName parameters, see the list of
|
|
109
|
+
# event names for various applications above in applicationName.
|
|
110
|
+
# In the following Admin Activity example, the <> operator is URL-encoded in the
|
|
111
|
+
# request's query string (%3C%3E):
|
|
112
|
+
# GET...&eventName=CHANGE_CALENDAR_SETTING &filters=NEW_VALUE%3C%
|
|
113
|
+
# 3EREAD_ONLY_ACCESS
|
|
114
|
+
# In the following Drive example, the list can be a view or edit event's doc_id
|
|
115
|
+
# parameter with a value that is manipulated by an 'equal to' (==) or 'not equal
|
|
116
|
+
# to' (<>) relational operator. In the first example, the report returns each
|
|
117
|
+
# edited document's doc_id. In the second example, the report returns each
|
|
118
|
+
# viewed document's doc_id that equals the value 12345 and does not return any
|
|
119
|
+
# viewed document's which have a doc_id value of 98765. The <> operator is URL-
|
|
120
|
+
# encoded in the request's query string (%3C%3E):
|
|
121
|
+
# GET...&eventName=edit&filters=doc_id GET...&eventName=view&filters=doc_id==
|
|
122
|
+
# 12345,doc_id%3C%3E98765
|
|
123
|
+
# The relational operators include:
|
|
124
|
+
# - == - 'equal to'.
|
|
125
|
+
# - <> - 'not equal to'. It is URL-encoded (%3C%3E).
|
|
126
|
+
# - < - 'less than'. It is URL-encoded (%3C).
|
|
127
|
+
# - <= - 'less than or equal to'. It is URL-encoded (%3C=).
|
|
128
|
+
# - > - 'greater than'. It is URL-encoded (%3E).
|
|
129
|
+
# - >= - 'greater than or equal to'. It is URL-encoded (%3E=).
|
|
130
|
+
# Note: The API doesn't accept multiple values of a parameter. If a particular
|
|
131
|
+
# parameter is supplied more than once in the API request, the API only accepts
|
|
132
|
+
# the last value of that request parameter.
|
|
133
|
+
# In addition, if an invalid request parameter is supplied in the API request,
|
|
134
|
+
# the API ignores that request parameter and returns the response corresponding
|
|
135
|
+
# to the remaining valid request parameters. If no parameters are requested, all
|
|
136
|
+
# parameters are returned.
|
|
74
137
|
# @param [Fixnum] max_results
|
|
75
|
-
#
|
|
138
|
+
# Determines how many activity records are shown on each response page. For
|
|
139
|
+
# example, if the request sets maxResults=1 and the report has two activities,
|
|
140
|
+
# the report has two pages. The response's nextPageToken property has the token
|
|
141
|
+
# to the second page. The maxResults query string is optional in the request.
|
|
142
|
+
# The default value is 1000.
|
|
76
143
|
# @param [String] org_unit_id
|
|
77
|
-
# the organizational unit
|
|
78
|
-
#
|
|
144
|
+
# ID of the organizational unit to report on. Activity records will be shown
|
|
145
|
+
# only for users who belong to the specified organizational unit. Data before
|
|
146
|
+
# Dec 17, 2018 doesn't appear in the filtered results.
|
|
79
147
|
# @param [String] page_token
|
|
80
|
-
#
|
|
148
|
+
# The token to specify next page. A report with multiple pages has a
|
|
149
|
+
# nextPageToken property in the response. In your follow-on request getting the
|
|
150
|
+
# next page of the report, enter the nextPageToken value in the pageToken query
|
|
151
|
+
# string.
|
|
81
152
|
# @param [String] start_time
|
|
82
|
-
#
|
|
153
|
+
# Sets the beginning of the range of time shown in the report. The date is in
|
|
154
|
+
# the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The report returns
|
|
155
|
+
# all activities from startTime until endTime. The startTime must be before the
|
|
156
|
+
# endTime (if specified) and the current time when the request is made, or the
|
|
157
|
+
# API returns an error.
|
|
83
158
|
# @param [String] fields
|
|
84
159
|
# Selector specifying which fields to include in a partial response.
|
|
85
160
|
# @param [String] quota_user
|
|
@@ -120,35 +195,107 @@ module Google
|
|
|
120
195
|
execute_or_queue_command(command, &block)
|
|
121
196
|
end
|
|
122
197
|
|
|
123
|
-
#
|
|
198
|
+
# Start receiving notifications for account activities. For more information,
|
|
199
|
+
# see Receiving Push Notifications.
|
|
124
200
|
# @param [String] user_key
|
|
125
|
-
# Represents the profile
|
|
126
|
-
# filtered.
|
|
127
|
-
#
|
|
201
|
+
# Represents the profile ID or the user email for which the data should be
|
|
202
|
+
# filtered. Can be all for all information, or userKey for a user's unique G
|
|
203
|
+
# Suite profile ID or their primary email address.
|
|
128
204
|
# @param [String] application_name
|
|
129
205
|
# Application name for which the events are to be retrieved.
|
|
130
206
|
# @param [Google::Apis::AdminReportsV1::Channel] channel_object
|
|
131
207
|
# @param [String] actor_ip_address
|
|
132
|
-
# IP Address of host where the event was performed.
|
|
133
|
-
#
|
|
208
|
+
# The Internet Protocol (IP) Address of host where the event was performed. This
|
|
209
|
+
# is an additional way to filter a report's summary using the IP address of the
|
|
210
|
+
# user whose activity is being reported. This IP address may or may not reflect
|
|
211
|
+
# the user's physical location. For example, the IP address can be the user's
|
|
212
|
+
# proxy server's address or a virtual private network (VPN) address. This
|
|
213
|
+
# parameter supports both IPv4 and IPv6 address versions.
|
|
134
214
|
# @param [String] customer_id
|
|
135
|
-
#
|
|
215
|
+
# The unique ID of the customer to retrieve data for.
|
|
136
216
|
# @param [String] end_time
|
|
137
|
-
#
|
|
217
|
+
# Sets the end of the range of time shown in the report. The date is in the RFC
|
|
218
|
+
# 3339 format, for example 2010-10-28T10:26:35.000Z. The default value is the
|
|
219
|
+
# approximate time of the API request. An API report has three basic time
|
|
220
|
+
# concepts:
|
|
221
|
+
# - Date of the API's request for a report: When the API created and retrieved
|
|
222
|
+
# the report.
|
|
223
|
+
# - Report's start time: The beginning of the timespan shown in the report. The
|
|
224
|
+
# startTime must be before the endTime (if specified) and the current time when
|
|
225
|
+
# the request is made, or the API returns an error.
|
|
226
|
+
# - Report's end time: The end of the timespan shown in the report. For example,
|
|
227
|
+
# the timespan of events summarized in a report can start in April and end in
|
|
228
|
+
# May. The report itself can be requested in August. If the endTime is not
|
|
229
|
+
# specified, the report returns all activities from the startTime until the
|
|
230
|
+
# current time or the most recent 180 days if the startTime is more than 180
|
|
231
|
+
# days in the past.
|
|
138
232
|
# @param [String] event_name
|
|
139
|
-
#
|
|
233
|
+
# The name of the event being queried by the API. Each eventName is related to a
|
|
234
|
+
# specific G Suite service or feature which the API organizes into types of
|
|
235
|
+
# events. An example is the Google Calendar events in the Admin console
|
|
236
|
+
# application's reports. The Calendar Settings type structure has all of the
|
|
237
|
+
# Calendar eventName activities reported by the API. When an administrator
|
|
238
|
+
# changes a Calendar setting, the API reports this activity in the Calendar
|
|
239
|
+
# Settings type and eventName parameters. For more information about eventName
|
|
240
|
+
# query strings and parameters, see the list of event names for various
|
|
241
|
+
# applications above in applicationName.
|
|
140
242
|
# @param [String] filters
|
|
141
|
-
#
|
|
142
|
-
#
|
|
243
|
+
# The filters query string is a comma-separated list. The list is composed of
|
|
244
|
+
# event parameters that are manipulated by relational operators. Event
|
|
245
|
+
# parameters are in the form [parameter1 name][relational operator][parameter1
|
|
246
|
+
# value],[parameter2 name][relational operator][parameter2 value],...
|
|
247
|
+
# These event parameters are associated with a specific eventName. An empty
|
|
248
|
+
# report is returned if the filtered request's parameter does not belong to the
|
|
249
|
+
# eventName. For more information about eventName parameters, see the list of
|
|
250
|
+
# event names for various applications above in applicationName.
|
|
251
|
+
# In the following Admin Activity example, the <> operator is URL-encoded in the
|
|
252
|
+
# request's query string (%3C%3E):
|
|
253
|
+
# GET...&eventName=CHANGE_CALENDAR_SETTING &filters=NEW_VALUE%3C%
|
|
254
|
+
# 3EREAD_ONLY_ACCESS
|
|
255
|
+
# In the following Drive example, the list can be a view or edit event's doc_id
|
|
256
|
+
# parameter with a value that is manipulated by an 'equal to' (==) or 'not equal
|
|
257
|
+
# to' (<>) relational operator. In the first example, the report returns each
|
|
258
|
+
# edited document's doc_id. In the second example, the report returns each
|
|
259
|
+
# viewed document's doc_id that equals the value 12345 and does not return any
|
|
260
|
+
# viewed document's which have a doc_id value of 98765. The <> operator is URL-
|
|
261
|
+
# encoded in the request's query string (%3C%3E):
|
|
262
|
+
# GET...&eventName=edit&filters=doc_id GET...&eventName=view&filters=doc_id==
|
|
263
|
+
# 12345,doc_id%3C%3E98765
|
|
264
|
+
# The relational operators include:
|
|
265
|
+
# - == - 'equal to'.
|
|
266
|
+
# - <> - 'not equal to'. It is URL-encoded (%3C%3E).
|
|
267
|
+
# - < - 'less than'. It is URL-encoded (%3C).
|
|
268
|
+
# - <= - 'less than or equal to'. It is URL-encoded (%3C=).
|
|
269
|
+
# - > - 'greater than'. It is URL-encoded (%3E).
|
|
270
|
+
# - >= - 'greater than or equal to'. It is URL-encoded (%3E=).
|
|
271
|
+
# Note: The API doesn't accept multiple values of a parameter. If a particular
|
|
272
|
+
# parameter is supplied more than once in the API request, the API only accepts
|
|
273
|
+
# the last value of that request parameter.
|
|
274
|
+
# In addition, if an invalid request parameter is supplied in the API request,
|
|
275
|
+
# the API ignores that request parameter and returns the response corresponding
|
|
276
|
+
# to the remaining valid request parameters. If no parameters are requested, all
|
|
277
|
+
# parameters are returned.
|
|
143
278
|
# @param [Fixnum] max_results
|
|
144
|
-
#
|
|
279
|
+
# Determines how many activity records are shown on each response page. For
|
|
280
|
+
# example, if the request sets maxResults=1 and the report has two activities,
|
|
281
|
+
# the report has two pages. The response's nextPageToken property has the token
|
|
282
|
+
# to the second page. The maxResults query string is optional in the request.
|
|
283
|
+
# The default value is 1000.
|
|
145
284
|
# @param [String] org_unit_id
|
|
146
|
-
# the organizational unit
|
|
147
|
-
#
|
|
285
|
+
# ID of the organizational unit to report on. Activity records will be shown
|
|
286
|
+
# only for users who belong to the specified organizational unit. Data before
|
|
287
|
+
# Dec 17, 2018 doesn't appear in the filtered results.
|
|
148
288
|
# @param [String] page_token
|
|
149
|
-
#
|
|
289
|
+
# The token to specify next page. A report with multiple pages has a
|
|
290
|
+
# nextPageToken property in the response. In your follow-on request getting the
|
|
291
|
+
# next page of the report, enter the nextPageToken value in the pageToken query
|
|
292
|
+
# string.
|
|
150
293
|
# @param [String] start_time
|
|
151
|
-
#
|
|
294
|
+
# Sets the beginning of the range of time shown in the report. The date is in
|
|
295
|
+
# the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The report returns
|
|
296
|
+
# all activities from startTime until endTime. The startTime must be before the
|
|
297
|
+
# endTime (if specified) and the current time when the request is made, or the
|
|
298
|
+
# API returns an error.
|
|
152
299
|
# @param [String] fields
|
|
153
300
|
# Selector specifying which fields to include in a partial response.
|
|
154
301
|
# @param [String] quota_user
|
|
@@ -222,17 +369,35 @@ module Google
|
|
|
222
369
|
execute_or_queue_command(command, &block)
|
|
223
370
|
end
|
|
224
371
|
|
|
225
|
-
# Retrieves a report which is a collection of properties
|
|
226
|
-
# specific customer.
|
|
372
|
+
# Retrieves a report which is a collection of properties and statistics for a
|
|
373
|
+
# specific customer's account. For more information, see the Customers Usage
|
|
374
|
+
# Report guide. For more information about the customer report's parameters, see
|
|
375
|
+
# the Customers Usage parameters reference guides.
|
|
227
376
|
# @param [String] date
|
|
228
|
-
# Represents the date
|
|
377
|
+
# Represents the date the usage occurred. The timestamp is in the ISO 8601
|
|
378
|
+
# format, yyyy-mm-dd. We recommend you use your account's time zone for this.
|
|
229
379
|
# @param [String] customer_id
|
|
230
|
-
#
|
|
380
|
+
# The unique ID of the customer to retrieve data for.
|
|
231
381
|
# @param [String] page_token
|
|
232
|
-
# Token to specify next page.
|
|
382
|
+
# Token to specify next page. A report with multiple pages has a nextPageToken
|
|
383
|
+
# property in the response. For your follow-on requests getting all of the
|
|
384
|
+
# report's pages, enter the nextPageToken value in the pageToken query string.
|
|
233
385
|
# @param [String] parameters
|
|
234
|
-
#
|
|
235
|
-
#
|
|
386
|
+
# The parameters query string is a comma-separated list of event parameters that
|
|
387
|
+
# refine a report's results. The parameter is associated with a specific
|
|
388
|
+
# application. The application values for the Customers usage report include
|
|
389
|
+
# accounts, app_maker, apps_scripts, calendar, classroom, cros, docs, gmail,
|
|
390
|
+
# gplus, device_management, meet, and sites.
|
|
391
|
+
# A parameters query string is in the CSV form of app_name1:param_name1,
|
|
392
|
+
# app_name2:param_name2.
|
|
393
|
+
# Note: The API doesn't accept multiple values of a parameter. If a particular
|
|
394
|
+
# parameter is supplied more than once in the API request, the API only accepts
|
|
395
|
+
# the last value of that request parameter.
|
|
396
|
+
# In addition, if an invalid request parameter is supplied in the API request,
|
|
397
|
+
# the API ignores that request parameter and returns the response corresponding
|
|
398
|
+
# to the remaining valid request parameters.
|
|
399
|
+
# An example of an invalid request parameter is one that does not belong to the
|
|
400
|
+
# application. If no parameters are requested, all parameters are returned.
|
|
236
401
|
# @param [String] fields
|
|
237
402
|
# Selector specifying which fields to include in a partial response.
|
|
238
403
|
# @param [String] quota_user
|
|
@@ -266,25 +431,64 @@ module Google
|
|
|
266
431
|
execute_or_queue_command(command, &block)
|
|
267
432
|
end
|
|
268
433
|
|
|
269
|
-
# Retrieves a report which is a collection of properties
|
|
270
|
-
#
|
|
434
|
+
# Retrieves a report which is a collection of properties and statistics for
|
|
435
|
+
# entities used by users within the account. For more information, see the
|
|
436
|
+
# Entities Usage Report guide. For more information about the entities report's
|
|
437
|
+
# parameters, see the Entities Usage parameters reference guides.
|
|
271
438
|
# @param [String] entity_type
|
|
272
|
-
#
|
|
439
|
+
# Represents the type of entity for the report.
|
|
273
440
|
# @param [String] entity_key
|
|
274
|
-
# Represents the key of object
|
|
441
|
+
# Represents the key of the object to filter the data with.
|
|
275
442
|
# @param [String] date
|
|
276
|
-
# Represents the date
|
|
443
|
+
# Represents the date the usage occurred. The timestamp is in the ISO 8601
|
|
444
|
+
# format, yyyy-mm-dd. We recommend you use your account's time zone for this.
|
|
277
445
|
# @param [String] customer_id
|
|
278
|
-
#
|
|
446
|
+
# The unique ID of the customer to retrieve data for.
|
|
279
447
|
# @param [String] filters
|
|
280
|
-
#
|
|
448
|
+
# The filters query string is a comma-separated list of an application's event
|
|
449
|
+
# parameters where the parameter's value is manipulated by a relational operator.
|
|
450
|
+
# The filters query string includes the name of the application whose usage is
|
|
451
|
+
# returned in the report. The application values for the Entities usage report
|
|
452
|
+
# include accounts, docs, and gmail.
|
|
453
|
+
# Filters are in the form [application name]:[parameter name][relational
|
|
454
|
+
# operator][parameter value],....
|
|
455
|
+
# In this example, the <> 'not equal to' operator is URL-encoded in the request'
|
|
456
|
+
# s query string (%3C%3E):
|
|
457
|
+
# GET https://www.googleapis.com/admin/reports/v1/usage/gplus_communities/all/
|
|
458
|
+
# dates/2017-12-01 ?parameters=gplus:community_name,gplus:num_total_members &
|
|
459
|
+
# filters=gplus:num_total_members>0
|
|
460
|
+
# The relational operators include:
|
|
461
|
+
# - == - 'equal to'.
|
|
462
|
+
# - <> - 'not equal to'. It is URL-encoded (%3C%3E).
|
|
463
|
+
# - < - 'less than'. It is URL-encoded (%3C).
|
|
464
|
+
# - <= - 'less than or equal to'. It is URL-encoded (%3C=).
|
|
465
|
+
# - > - 'greater than'. It is URL-encoded (%3E).
|
|
466
|
+
# - >= - 'greater than or equal to'. It is URL-encoded (%3E=). Filters can only
|
|
467
|
+
# be applied to numeric parameters.
|
|
281
468
|
# @param [Fixnum] max_results
|
|
282
|
-
#
|
|
469
|
+
# Determines how many activity records are shown on each response page. For
|
|
470
|
+
# example, if the request sets maxResults=1 and the report has two activities,
|
|
471
|
+
# the report has two pages. The response's nextPageToken property has the token
|
|
472
|
+
# to the second page.
|
|
283
473
|
# @param [String] page_token
|
|
284
|
-
# Token to specify next page.
|
|
474
|
+
# Token to specify next page. A report with multiple pages has a nextPageToken
|
|
475
|
+
# property in the response. In your follow-on request getting the next page of
|
|
476
|
+
# the report, enter the nextPageToken value in the pageToken query string.
|
|
285
477
|
# @param [String] parameters
|
|
286
|
-
#
|
|
287
|
-
#
|
|
478
|
+
# The parameters query string is a comma-separated list of event parameters that
|
|
479
|
+
# refine a report's results. The parameter is associated with a specific
|
|
480
|
+
# application. The application values for the Entities usage report are only
|
|
481
|
+
# gplus.
|
|
482
|
+
# A parameter query string is in the CSV form of [app_name1:param_name1], [
|
|
483
|
+
# app_name2:param_name2]....
|
|
484
|
+
# Note: The API doesn't accept multiple values of a parameter. If a particular
|
|
485
|
+
# parameter is supplied more than once in the API request, the API only accepts
|
|
486
|
+
# the last value of that request parameter.
|
|
487
|
+
# In addition, if an invalid request parameter is supplied in the API request,
|
|
488
|
+
# the API ignores that request parameter and returns the response corresponding
|
|
489
|
+
# to the remaining valid request parameters.
|
|
490
|
+
# An example of an invalid request parameter is one that does not belong to the
|
|
491
|
+
# application. If no parameters are requested, all parameters are returned.
|
|
288
492
|
# @param [String] fields
|
|
289
493
|
# Selector specifying which fields to include in a partial response.
|
|
290
494
|
# @param [String] quota_user
|
|
@@ -322,27 +526,69 @@ module Google
|
|
|
322
526
|
execute_or_queue_command(command, &block)
|
|
323
527
|
end
|
|
324
528
|
|
|
325
|
-
# Retrieves a report which is a collection of properties
|
|
326
|
-
# of users.
|
|
529
|
+
# Retrieves a report which is a collection of properties and statistics for a
|
|
530
|
+
# set of users with the account. For more information, see the User Usage Report
|
|
531
|
+
# guide. For more information about the user report's parameters, see the Users
|
|
532
|
+
# Usage parameters reference guides.
|
|
327
533
|
# @param [String] user_key
|
|
328
|
-
# Represents the profile
|
|
329
|
-
# filtered.
|
|
534
|
+
# Represents the profile ID or the user email for which the data should be
|
|
535
|
+
# filtered. Can be all for all information, or userKey for a user's unique G
|
|
536
|
+
# Suite profile ID or their primary email address.
|
|
330
537
|
# @param [String] date
|
|
331
|
-
# Represents the date
|
|
538
|
+
# Represents the date the usage occurred. The timestamp is in the ISO 8601
|
|
539
|
+
# format, yyyy-mm-dd. We recommend you use your account's time zone for this.
|
|
332
540
|
# @param [String] customer_id
|
|
333
|
-
#
|
|
541
|
+
# The unique ID of the customer to retrieve data for.
|
|
334
542
|
# @param [String] filters
|
|
335
|
-
#
|
|
543
|
+
# The filters query string is a comma-separated list of an application's event
|
|
544
|
+
# parameters where the parameter's value is manipulated by a relational operator.
|
|
545
|
+
# The filters query string includes the name of the application whose usage is
|
|
546
|
+
# returned in the report. The application values for the Users Usage Report
|
|
547
|
+
# include accounts, docs, and gmail.
|
|
548
|
+
# Filters are in the form [application name]:[parameter name][relational
|
|
549
|
+
# operator][parameter value],....
|
|
550
|
+
# In this example, the <> 'not equal to' operator is URL-encoded in the request'
|
|
551
|
+
# s query string (%3C%3E):
|
|
552
|
+
# GET https://www.googleapis.com/admin/reports/v1/usage/users/all/dates/2013-03-
|
|
553
|
+
# 03 ?parameters=accounts:last_login_time &filters=accounts:last_login_time>2010-
|
|
554
|
+
# 10-28T10:26:35.000Z
|
|
555
|
+
# The relational operators include:
|
|
556
|
+
# - == - 'equal to'.
|
|
557
|
+
# - <> - 'not equal to'. It is URL-encoded (%3C%3E).
|
|
558
|
+
# - < - 'less than'. It is URL-encoded (%3C).
|
|
559
|
+
# - <= - 'less than or equal to'. It is URL-encoded (%3C=).
|
|
560
|
+
# - > - 'greater than'. It is URL-encoded (%3E).
|
|
561
|
+
# - >= - 'greater than or equal to'. It is URL-encoded (%3E=).
|
|
336
562
|
# @param [Fixnum] max_results
|
|
337
|
-
#
|
|
563
|
+
# Determines how many activity records are shown on each response page. For
|
|
564
|
+
# example, if the request sets maxResults=1 and the report has two activities,
|
|
565
|
+
# the report has two pages. The response's nextPageToken property has the token
|
|
566
|
+
# to the second page.
|
|
567
|
+
# The maxResults query string is optional.
|
|
338
568
|
# @param [String] org_unit_id
|
|
339
|
-
# the organizational unit
|
|
340
|
-
# to
|
|
569
|
+
# ID of the organizational unit to report on. User activity will be shown only
|
|
570
|
+
# for users who belong to the specified organizational unit. Data before Dec 17,
|
|
571
|
+
# 2018 doesn't appear in the filtered results.
|
|
341
572
|
# @param [String] page_token
|
|
342
|
-
# Token to specify next page.
|
|
573
|
+
# Token to specify next page. A report with multiple pages has a nextPageToken
|
|
574
|
+
# property in the response. In your follow-on request getting the next page of
|
|
575
|
+
# the report, enter the nextPageToken value in the pageToken query string.
|
|
343
576
|
# @param [String] parameters
|
|
344
|
-
#
|
|
345
|
-
#
|
|
577
|
+
# The parameters query string is a comma-separated list of event parameters that
|
|
578
|
+
# refine a report's results. The parameter is associated with a specific
|
|
579
|
+
# application. The application values for the Customers usage report include
|
|
580
|
+
# accounts, app_maker, apps_scripts, calendar, classroom, cros, docs, gmail,
|
|
581
|
+
# gplus, device_management, meet, and sites.
|
|
582
|
+
# A parameters query string is in the CSV form of app_name1:param_name1,
|
|
583
|
+
# app_name2:param_name2.
|
|
584
|
+
# Note: The API doesn't accept multiple values of a parameter.
|
|
585
|
+
# If a particular parameter is supplied more than once in the API request, the
|
|
586
|
+
# API only accepts the last value of that request parameter. In addition, if an
|
|
587
|
+
# invalid request parameter is supplied in the API request, the API ignores that
|
|
588
|
+
# request parameter and returns the response corresponding to the remaining
|
|
589
|
+
# valid request parameters.
|
|
590
|
+
# An example of an invalid request parameter is one that does not belong to the
|
|
591
|
+
# application. If no parameters are requested, all parameters are returned.
|
|
346
592
|
# @param [String] fields
|
|
347
593
|
# Selector specifying which fields to include in a partial response.
|
|
348
594
|
# @param [String] quota_user
|
|
@@ -23,10 +23,10 @@ module Google
|
|
|
23
23
|
# Fetches reports for the administrators of G Suite customers about the usage,
|
|
24
24
|
# collaboration, security, and risk for their users.
|
|
25
25
|
#
|
|
26
|
-
# @see
|
|
26
|
+
# @see /admin-sdk/reports/
|
|
27
27
|
module AdminReportsV1
|
|
28
28
|
VERSION = 'ReportsV1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20191014'
|
|
30
30
|
|
|
31
31
|
# View audit reports for your G Suite domain
|
|
32
32
|
AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly'
|
|
@@ -1184,6 +1184,11 @@ module Google
|
|
|
1184
1184
|
# @return [String]
|
|
1185
1185
|
attr_accessor :order_id
|
|
1186
1186
|
|
|
1187
|
+
# The inapp product SKU.
|
|
1188
|
+
# Corresponds to the JSON property `productId`
|
|
1189
|
+
# @return [String]
|
|
1190
|
+
attr_accessor :product_id
|
|
1191
|
+
|
|
1187
1192
|
# The purchase state of the order. Possible values are:
|
|
1188
1193
|
# - Purchased
|
|
1189
1194
|
# - Canceled
|
|
@@ -1198,6 +1203,11 @@ module Google
|
|
|
1198
1203
|
# @return [Fixnum]
|
|
1199
1204
|
attr_accessor :purchase_time_millis
|
|
1200
1205
|
|
|
1206
|
+
# The purchase token generated to identify this purchase.
|
|
1207
|
+
# Corresponds to the JSON property `purchaseToken`
|
|
1208
|
+
# @return [String]
|
|
1209
|
+
attr_accessor :purchase_token
|
|
1210
|
+
|
|
1201
1211
|
# The type of purchase of the inapp product. This field is only set if this
|
|
1202
1212
|
# purchase was not made using the standard in-app billing flow. Possible values
|
|
1203
1213
|
# are:
|
|
@@ -1219,8 +1229,10 @@ module Google
|
|
|
1219
1229
|
@developer_payload = args[:developer_payload] if args.key?(:developer_payload)
|
|
1220
1230
|
@kind = args[:kind] if args.key?(:kind)
|
|
1221
1231
|
@order_id = args[:order_id] if args.key?(:order_id)
|
|
1232
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
|
1222
1233
|
@purchase_state = args[:purchase_state] if args.key?(:purchase_state)
|
|
1223
1234
|
@purchase_time_millis = args[:purchase_time_millis] if args.key?(:purchase_time_millis)
|
|
1235
|
+
@purchase_token = args[:purchase_token] if args.key?(:purchase_token)
|
|
1224
1236
|
@purchase_type = args[:purchase_type] if args.key?(:purchase_type)
|
|
1225
1237
|
end
|
|
1226
1238
|
end
|
|
@@ -716,8 +716,10 @@ module Google
|
|
|
716
716
|
property :developer_payload, as: 'developerPayload'
|
|
717
717
|
property :kind, as: 'kind'
|
|
718
718
|
property :order_id, as: 'orderId'
|
|
719
|
+
property :product_id, as: 'productId'
|
|
719
720
|
property :purchase_state, as: 'purchaseState'
|
|
720
721
|
property :purchase_time_millis, :numeric_string => true, as: 'purchaseTimeMillis'
|
|
722
|
+
property :purchase_token, as: 'purchaseToken'
|
|
721
723
|
property :purchase_type, as: 'purchaseType'
|
|
722
724
|
end
|
|
723
725
|
end
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/android-publisher
|
|
26
26
|
module AndroidpublisherV3
|
|
27
27
|
VERSION = 'V3'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20191013'
|
|
29
29
|
|
|
30
30
|
# View and manage your Google Play Developer account
|
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
|
@@ -1427,12 +1427,16 @@ module Google
|
|
|
1427
1427
|
execute_or_queue_command(command, &block)
|
|
1428
1428
|
end
|
|
1429
1429
|
|
|
1430
|
-
# Stops a running instance.The instance
|
|
1431
|
-
# the scaling settings of the version.
|
|
1432
|
-
#
|
|
1433
|
-
#
|
|
1434
|
-
#
|
|
1435
|
-
#
|
|
1430
|
+
# Stops a running instance.The instance might be automatically recreated based
|
|
1431
|
+
# on the scaling settings of the version. For more information, see "How
|
|
1432
|
+
# Instances are Managed" (standard environment (https://cloud.google.com/
|
|
1433
|
+
# appengine/docs/standard/python/how-instances-are-managed) | flexible
|
|
1434
|
+
# environment (https://cloud.google.com/appengine/docs/flexible/python/how-
|
|
1435
|
+
# instances-are-managed)).To ensure that instances are not re-created and avoid
|
|
1436
|
+
# getting billed, you can stop all instances within the target version by
|
|
1437
|
+
# changing the serving status of the version to STOPPED with the apps.services.
|
|
1438
|
+
# versions.patch (https://cloud.google.com/appengine/docs/admin-api/reference/
|
|
1439
|
+
# rest/v1/apps.services.versions/patch) method.
|
|
1436
1440
|
# @param [String] apps_id
|
|
1437
1441
|
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
|
1438
1442
|
# default/versions/v1/instances/instance-1.
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
|
26
26
|
module AppengineV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20191016'
|
|
29
29
|
|
|
30
30
|
# View and manage your applications deployed on Google App Engine
|
|
31
31
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
|
@@ -1427,12 +1427,16 @@ module Google
|
|
|
1427
1427
|
execute_or_queue_command(command, &block)
|
|
1428
1428
|
end
|
|
1429
1429
|
|
|
1430
|
-
# Stops a running instance.The instance
|
|
1431
|
-
# the scaling settings of the version.
|
|
1432
|
-
#
|
|
1433
|
-
#
|
|
1434
|
-
#
|
|
1435
|
-
#
|
|
1430
|
+
# Stops a running instance.The instance might be automatically recreated based
|
|
1431
|
+
# on the scaling settings of the version. For more information, see "How
|
|
1432
|
+
# Instances are Managed" (standard environment (https://cloud.google.com/
|
|
1433
|
+
# appengine/docs/standard/python/how-instances-are-managed) | flexible
|
|
1434
|
+
# environment (https://cloud.google.com/appengine/docs/flexible/python/how-
|
|
1435
|
+
# instances-are-managed)).To ensure that instances are not re-created and avoid
|
|
1436
|
+
# getting billed, you can stop all instances within the target version by
|
|
1437
|
+
# changing the serving status of the version to STOPPED with the apps.services.
|
|
1438
|
+
# versions.patch (https://cloud.google.com/appengine/docs/admin-api/reference/
|
|
1439
|
+
# rest/v1/apps.services.versions/patch) method.
|
|
1436
1440
|
# @param [String] apps_id
|
|
1437
1441
|
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
|
1438
1442
|
# default/versions/v1/instances/instance-1.
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
|
26
26
|
module AppengineV1beta
|
|
27
27
|
VERSION = 'V1beta'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20191016'
|
|
29
29
|
|
|
30
30
|
# View and manage your applications deployed on Google App Engine
|
|
31
31
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|