google-api-client 0.9.pre2 → 0.9.pre3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +1 -1
- data/api_names_out.yaml +68 -5
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +3 -3
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +5 -5
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +34 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +5 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +10 -10
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +19 -19
- data/generated/google/apis/analytics_v3/service.rb +35 -35
- data/generated/google/apis/androidenterprise_v1/service.rb +6 -6
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +16 -6
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/bigquery_v2/service.rb +4 -4
- data/generated/google/apis/blogger_v3/service.rb +7 -7
- data/generated/google/apis/books_v1/service.rb +47 -47
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +43 -27
- data/generated/google/apis/calendar_v3/service.rb +20 -10
- data/generated/google/apis/civicinfo_v2/service.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +8 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +372 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +155 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +109 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +21 -18
- data/generated/google/apis/compute_v1/representations.rb +0 -1
- data/generated/google/apis/compute_v1/service.rb +459 -819
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +25 -15
- data/generated/google/apis/content_v2/representations.rb +2 -0
- data/generated/google/apis/content_v2/service.rb +2 -1
- data/generated/google/apis/coordinate_v1/service.rb +11 -11
- data/generated/google/apis/customsearch_v1/service.rb +3 -3
- data/generated/google/apis/deploymentmanager_v2beta2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +50 -90
- data/generated/google/apis/dfareporting_v2_1.rb +1 -1
- data/generated/google/apis/dfareporting_v2_1/classes.rb +4 -4
- data/generated/google/apis/dfareporting_v2_1/service.rb +65 -62
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +11 -11
- data/generated/google/apis/drive_v2.rb +4 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -2
- data/generated/google/apis/drive_v2/service.rb +15 -9
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +44 -31
- data/generated/google/apis/fitness_v1/representations.rb +0 -2
- data/generated/google/apis/fitness_v1/service.rb +5 -1
- data/generated/google/apis/fusiontables_v2/service.rb +9 -9
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +18 -18
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +56 -53
- data/generated/google/apis/genomics_v1/service.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/mapsengine_v1/service.rb +8 -8
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +3 -3
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +6 -6
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +21 -20
- data/generated/google/apis/pubsub_v1beta2/service.rb +13 -13
- data/generated/google/apis/replicapool_v1beta2/service.rb +3 -3
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +8 -1
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +1 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -5
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +2 -2
- data/generated/google/apis/sqladmin_v1beta4/service.rb +4 -4
- data/generated/google/apis/storage_v1/service.rb +6 -6
- data/generated/google/apis/taskqueue_v1beta2/service.rb +9 -9
- data/generated/google/apis/translate_v2/service.rb +6 -6
- data/generated/google/apis/urlshortener_v1/service.rb +3 -3
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +11 -11
- data/generated/google/apis/webmasters_v3/service.rb +3 -3
- data/generated/google/apis/youtube_analytics_v1/service.rb +25 -25
- data/generated/google/apis/youtube_v3/service.rb +305 -305
- data/lib/google/apis/generator/model.rb +10 -0
- data/lib/google/apis/generator/templates/_method.tmpl +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/adsense/host/
|
27
27
|
module AdsensehostV4_1
|
28
28
|
VERSION = 'V4_1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20150726'
|
30
30
|
|
31
31
|
# View and manage your AdSense host data and associated accounts
|
32
32
|
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
|
@@ -113,7 +113,7 @@ module Google
|
|
113
113
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
114
114
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
115
115
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
116
|
-
def list_accounts(filter_ad_client_id
|
116
|
+
def list_accounts(filter_ad_client_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
117
117
|
path = 'accounts'
|
118
118
|
command = make_simple_command(:get, path, options)
|
119
119
|
command.response_representation = Google::Apis::AdsensehostV4_1::Accounts::Representation
|
@@ -436,9 +436,9 @@ module Google
|
|
436
436
|
# Account which contains the ad client.
|
437
437
|
# @param [String] ad_client_id
|
438
438
|
# Ad client which contains the ad unit.
|
439
|
-
# @param [Google::Apis::AdsensehostV4_1::AdUnit] ad_unit_object
|
440
439
|
# @param [String] ad_unit_id
|
441
440
|
# Ad unit to get.
|
441
|
+
# @param [Google::Apis::AdsensehostV4_1::AdUnit] ad_unit_object
|
442
442
|
# @param [String] fields
|
443
443
|
# Selector specifying which fields to include in a partial response.
|
444
444
|
# @param [String] quota_user
|
@@ -460,7 +460,7 @@ module Google
|
|
460
460
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
461
461
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
462
462
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
463
|
-
def patch_account_ad_unit(account_id, ad_client_id, ad_unit_object = nil,
|
463
|
+
def patch_account_ad_unit(account_id, ad_client_id, ad_unit_id, ad_unit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
464
464
|
path = 'accounts/{accountId}/adclients/{adClientId}/adunits'
|
465
465
|
command = make_simple_command(:patch, path, options)
|
466
466
|
command.request_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
|
@@ -523,10 +523,12 @@ module Google
|
|
523
523
|
# specify "alt=csv" as a query parameter.
|
524
524
|
# @param [String] account_id
|
525
525
|
# Hosted account upon which to report.
|
526
|
-
# @param [
|
527
|
-
#
|
526
|
+
# @param [String] start_date
|
527
|
+
# Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
|
528
528
|
# @param [String] end_date
|
529
529
|
# End of the date range to report on in "YYYY-MM-DD" format, inclusive.
|
530
|
+
# @param [Array<String>, String] dimension
|
531
|
+
# Dimensions to base the report on.
|
530
532
|
# @param [Array<String>, String] filter
|
531
533
|
# Filters to be run on the report.
|
532
534
|
# @param [String] locale
|
@@ -540,8 +542,6 @@ module Google
|
|
540
542
|
# The name of a dimension or metric to sort the resulting report on, optionally
|
541
543
|
# prefixed with "+" to sort ascending or "-" to sort descending. If no prefix is
|
542
544
|
# specified, the column is sorted ascending.
|
543
|
-
# @param [String] start_date
|
544
|
-
# Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
|
545
545
|
# @param [Fixnum] start_index
|
546
546
|
# Index of the first row of report data to return.
|
547
547
|
# @param [String] fields
|
@@ -565,7 +565,7 @@ module Google
|
|
565
565
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
566
566
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
567
567
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
568
|
-
def generate_account_report(account_id,
|
568
|
+
def generate_account_report(account_id, start_date, end_date, dimension: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
569
569
|
path = 'accounts/{accountId}/reports'
|
570
570
|
command = make_simple_command(:get, path, options)
|
571
571
|
command.response_representation = Google::Apis::AdsensehostV4_1::Report::Representation
|
@@ -667,12 +667,12 @@ module Google
|
|
667
667
|
# user.
|
668
668
|
# @param [Array<String>, String] product_code
|
669
669
|
# Products to associate with the user.
|
670
|
+
# @param [String] website_url
|
671
|
+
# The URL of the user's hosted website.
|
670
672
|
# @param [String] user_locale
|
671
673
|
# The preferred locale of the user.
|
672
674
|
# @param [String] website_locale
|
673
675
|
# The locale of the user's hosted website.
|
674
|
-
# @param [String] website_url
|
675
|
-
# The URL of the user's hosted website.
|
676
676
|
# @param [String] fields
|
677
677
|
# Selector specifying which fields to include in a partial response.
|
678
678
|
# @param [String] quota_user
|
@@ -694,7 +694,7 @@ module Google
|
|
694
694
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
695
695
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
696
696
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
697
|
-
def start_association_session(product_code
|
697
|
+
def start_association_session(product_code, website_url, user_locale: nil, website_locale: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
698
698
|
path = 'associationsessions/start'
|
699
699
|
command = make_simple_command(:get, path, options)
|
700
700
|
command.response_representation = Google::Apis::AdsensehostV4_1::AssociationSession::Representation
|
@@ -734,7 +734,7 @@ module Google
|
|
734
734
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
735
735
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
736
736
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
737
|
-
def verify_association_session(token
|
737
|
+
def verify_association_session(token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
738
738
|
path = 'associationsessions/verify'
|
739
739
|
command = make_simple_command(:get, path, options)
|
740
740
|
command.response_representation = Google::Apis::AdsensehostV4_1::AssociationSession::Representation
|
@@ -912,9 +912,9 @@ module Google
|
|
912
912
|
# patch semantics.
|
913
913
|
# @param [String] ad_client_id
|
914
914
|
# Ad client in which the custom channel will be updated.
|
915
|
-
# @param [Google::Apis::AdsensehostV4_1::CustomChannel] custom_channel_object
|
916
915
|
# @param [String] custom_channel_id
|
917
916
|
# Custom channel to get.
|
917
|
+
# @param [Google::Apis::AdsensehostV4_1::CustomChannel] custom_channel_object
|
918
918
|
# @param [String] fields
|
919
919
|
# Selector specifying which fields to include in a partial response.
|
920
920
|
# @param [String] quota_user
|
@@ -936,7 +936,7 @@ module Google
|
|
936
936
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
937
937
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
938
938
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
939
|
-
def patch_custom_channel(ad_client_id, custom_channel_object = nil,
|
939
|
+
def patch_custom_channel(ad_client_id, custom_channel_id, custom_channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
940
940
|
path = 'adclients/{adClientId}/customchannels'
|
941
941
|
command = make_simple_command(:patch, path, options)
|
942
942
|
command.request_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
|
@@ -993,10 +993,12 @@ module Google
|
|
993
993
|
# Generate an AdSense report based on the report request sent in the query
|
994
994
|
# parameters. Returns the result as JSON; to retrieve output in CSV format
|
995
995
|
# specify "alt=csv" as a query parameter.
|
996
|
-
# @param [
|
997
|
-
#
|
996
|
+
# @param [String] start_date
|
997
|
+
# Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
|
998
998
|
# @param [String] end_date
|
999
999
|
# End of the date range to report on in "YYYY-MM-DD" format, inclusive.
|
1000
|
+
# @param [Array<String>, String] dimension
|
1001
|
+
# Dimensions to base the report on.
|
1000
1002
|
# @param [Array<String>, String] filter
|
1001
1003
|
# Filters to be run on the report.
|
1002
1004
|
# @param [String] locale
|
@@ -1010,8 +1012,6 @@ module Google
|
|
1010
1012
|
# The name of a dimension or metric to sort the resulting report on, optionally
|
1011
1013
|
# prefixed with "+" to sort ascending or "-" to sort descending. If no prefix is
|
1012
1014
|
# specified, the column is sorted ascending.
|
1013
|
-
# @param [String] start_date
|
1014
|
-
# Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
|
1015
1015
|
# @param [Fixnum] start_index
|
1016
1016
|
# Index of the first row of report data to return.
|
1017
1017
|
# @param [String] fields
|
@@ -1035,7 +1035,7 @@ module Google
|
|
1035
1035
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1036
1036
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1037
1037
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1038
|
-
def generate_report(
|
1038
|
+
def generate_report(start_date, end_date, dimension: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1039
1039
|
path = 'reports'
|
1040
1040
|
command = make_simple_command(:get, path, options)
|
1041
1041
|
command.response_representation = Google::Apis::AdsensehostV4_1::Report::Representation
|
@@ -53,23 +53,27 @@ module Google
|
|
53
53
|
end
|
54
54
|
|
55
55
|
# Returns Analytics data for a view (profile).
|
56
|
-
# @param [String]
|
57
|
-
#
|
56
|
+
# @param [String] ids
|
57
|
+
# Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX,
|
58
|
+
# where XXXX is the Analytics view (profile) ID.
|
59
|
+
# @param [String] start_date
|
60
|
+
# Start date for fetching Analytics data. Requests can specify a start date
|
61
|
+
# formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or
|
62
|
+
# 7daysAgo). The default value is 7daysAgo.
|
58
63
|
# @param [String] end_date
|
59
64
|
# End date for fetching Analytics data. Request can should specify an end date
|
60
65
|
# formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or
|
61
66
|
# 7daysAgo). The default value is yesterday.
|
67
|
+
# @param [String] metrics
|
68
|
+
# A comma-separated list of Analytics metrics. E.g., 'ga:sessions,ga:pageviews'.
|
69
|
+
# At least one metric must be specified.
|
70
|
+
# @param [String] dimensions
|
71
|
+
# A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'.
|
62
72
|
# @param [String] filters
|
63
73
|
# A comma-separated list of dimension or metric filters to be applied to
|
64
74
|
# Analytics data.
|
65
|
-
# @param [String] ids
|
66
|
-
# Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX,
|
67
|
-
# where XXXX is the Analytics view (profile) ID.
|
68
75
|
# @param [Fixnum] max_results
|
69
76
|
# The maximum number of entries to include in this feed.
|
70
|
-
# @param [String] metrics
|
71
|
-
# A comma-separated list of Analytics metrics. E.g., 'ga:sessions,ga:pageviews'.
|
72
|
-
# At least one metric must be specified.
|
73
77
|
# @param [String] output
|
74
78
|
# The selected format for the response. Default format is JSON.
|
75
79
|
# @param [String] sampling_level
|
@@ -79,10 +83,6 @@ module Google
|
|
79
83
|
# @param [String] sort
|
80
84
|
# A comma-separated list of dimensions or metrics that determine the sort order
|
81
85
|
# for Analytics data.
|
82
|
-
# @param [String] start_date
|
83
|
-
# Start date for fetching Analytics data. Requests can specify a start date
|
84
|
-
# formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or
|
85
|
-
# 7daysAgo). The default value is 7daysAgo.
|
86
86
|
# @param [Fixnum] start_index
|
87
87
|
# An index of the first entity to retrieve. Use this parameter as a pagination
|
88
88
|
# mechanism along with the max-results parameter.
|
@@ -107,7 +107,7 @@ module Google
|
|
107
107
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
108
108
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
109
109
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
110
|
-
def get_ga_data(
|
110
|
+
def get_ga_data(ids, start_date, end_date, metrics, dimensions: nil, filters: nil, max_results: nil, output: nil, sampling_level: nil, segment: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
111
111
|
path = 'data/ga'
|
112
112
|
command = make_simple_command(:get, path, options)
|
113
113
|
command.response_representation = Google::Apis::AnalyticsV3::GaData::Representation
|
@@ -131,34 +131,34 @@ module Google
|
|
131
131
|
end
|
132
132
|
|
133
133
|
# Returns Analytics Multi-Channel Funnels data for a view (profile).
|
134
|
-
# @param [String]
|
135
|
-
#
|
136
|
-
#
|
134
|
+
# @param [String] ids
|
135
|
+
# Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX,
|
136
|
+
# where XXXX is the Analytics view (profile) ID.
|
137
|
+
# @param [String] start_date
|
138
|
+
# Start date for fetching Analytics data. Requests can specify a start date
|
139
|
+
# formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or
|
140
|
+
# 7daysAgo). The default value is 7daysAgo.
|
137
141
|
# @param [String] end_date
|
138
142
|
# End date for fetching Analytics data. Requests can specify a start date
|
139
143
|
# formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or
|
140
144
|
# 7daysAgo). The default value is 7daysAgo.
|
145
|
+
# @param [String] metrics
|
146
|
+
# A comma-separated list of Multi-Channel Funnels metrics. E.g., 'mcf:
|
147
|
+
# totalConversions,mcf:totalConversionValue'. At least one metric must be
|
148
|
+
# specified.
|
149
|
+
# @param [String] dimensions
|
150
|
+
# A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,
|
151
|
+
# mcf:medium'.
|
141
152
|
# @param [String] filters
|
142
153
|
# A comma-separated list of dimension or metric filters to be applied to the
|
143
154
|
# Analytics data.
|
144
|
-
# @param [String] ids
|
145
|
-
# Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX,
|
146
|
-
# where XXXX is the Analytics view (profile) ID.
|
147
155
|
# @param [Fixnum] max_results
|
148
156
|
# The maximum number of entries to include in this feed.
|
149
|
-
# @param [String] metrics
|
150
|
-
# A comma-separated list of Multi-Channel Funnels metrics. E.g., 'mcf:
|
151
|
-
# totalConversions,mcf:totalConversionValue'. At least one metric must be
|
152
|
-
# specified.
|
153
157
|
# @param [String] sampling_level
|
154
158
|
# The desired sampling level.
|
155
159
|
# @param [String] sort
|
156
160
|
# A comma-separated list of dimensions or metrics that determine the sort order
|
157
161
|
# for the Analytics data.
|
158
|
-
# @param [String] start_date
|
159
|
-
# Start date for fetching Analytics data. Requests can specify a start date
|
160
|
-
# formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or
|
161
|
-
# 7daysAgo). The default value is 7daysAgo.
|
162
162
|
# @param [Fixnum] start_index
|
163
163
|
# An index of the first entity to retrieve. Use this parameter as a pagination
|
164
164
|
# mechanism along with the max-results parameter.
|
@@ -183,7 +183,7 @@ module Google
|
|
183
183
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
184
184
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
185
185
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
186
|
-
def get_mcf_data(
|
186
|
+
def get_mcf_data(ids, start_date, end_date, metrics, dimensions: nil, filters: nil, max_results: nil, sampling_level: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
187
187
|
path = 'data/mcf'
|
188
188
|
command = make_simple_command(:get, path, options)
|
189
189
|
command.response_representation = Google::Apis::AnalyticsV3::McfData::Representation
|
@@ -205,19 +205,19 @@ module Google
|
|
205
205
|
end
|
206
206
|
|
207
207
|
# Returns real time data for a view (profile).
|
208
|
+
# @param [String] ids
|
209
|
+
# Unique table ID for retrieving real time data. Table ID is of the form ga:XXXX,
|
210
|
+
# where XXXX is the Analytics view (profile) ID.
|
211
|
+
# @param [String] metrics
|
212
|
+
# A comma-separated list of real time metrics. E.g., 'rt:activeUsers'. At least
|
213
|
+
# one metric must be specified.
|
208
214
|
# @param [String] dimensions
|
209
215
|
# A comma-separated list of real time dimensions. E.g., 'rt:medium,rt:city'.
|
210
216
|
# @param [String] filters
|
211
217
|
# A comma-separated list of dimension or metric filters to be applied to real
|
212
218
|
# time data.
|
213
|
-
# @param [String] ids
|
214
|
-
# Unique table ID for retrieving real time data. Table ID is of the form ga:XXXX,
|
215
|
-
# where XXXX is the Analytics view (profile) ID.
|
216
219
|
# @param [Fixnum] max_results
|
217
220
|
# The maximum number of entries to include in this feed.
|
218
|
-
# @param [String] metrics
|
219
|
-
# A comma-separated list of real time metrics. E.g., 'rt:activeUsers'. At least
|
220
|
-
# one metric must be specified.
|
221
221
|
# @param [String] sort
|
222
222
|
# A comma-separated list of dimensions or metrics that determine the sort order
|
223
223
|
# for real time data.
|
@@ -242,7 +242,7 @@ module Google
|
|
242
242
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
243
243
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
244
244
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
245
|
-
def get_realtime_data(
|
245
|
+
def get_realtime_data(ids, metrics, dimensions: nil, filters: nil, max_results: nil, sort: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
246
246
|
path = 'data/realtime'
|
247
247
|
command = make_simple_command(:get, path, options)
|
248
248
|
command.response_representation = Google::Apis::AnalyticsV3::RealtimeData::Representation
|
@@ -720,9 +720,9 @@ module Google
|
|
720
720
|
end
|
721
721
|
|
722
722
|
# Enrolls an enterprise with the calling MDM.
|
723
|
-
# @param [Google::Apis::AndroidenterpriseV1::Enterprise] enterprise_object
|
724
723
|
# @param [String] token
|
725
724
|
# The token provided by the enterprise to register the MDM.
|
725
|
+
# @param [Google::Apis::AndroidenterpriseV1::Enterprise] enterprise_object
|
726
726
|
# @param [String] fields
|
727
727
|
# Selector specifying which fields to include in a partial response.
|
728
728
|
# @param [String] quota_user
|
@@ -744,7 +744,7 @@ module Google
|
|
744
744
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
745
745
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
746
746
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
747
|
-
def enroll_enterprise(enterprise_object = nil,
|
747
|
+
def enroll_enterprise(token, enterprise_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
748
748
|
path = 'enterprises/enroll'
|
749
749
|
command = make_simple_command(:post, path, options)
|
750
750
|
command.request_representation = Google::Apis::AndroidenterpriseV1::Enterprise::Representation
|
@@ -796,9 +796,9 @@ module Google
|
|
796
796
|
|
797
797
|
# Establishes the binding between the MDM and an enterprise. This is now
|
798
798
|
# deprecated; use enroll instead.
|
799
|
-
# @param [Google::Apis::AndroidenterpriseV1::Enterprise] enterprise_object
|
800
799
|
# @param [String] token
|
801
800
|
# The token provided by the enterprise to register the MDM.
|
801
|
+
# @param [Google::Apis::AndroidenterpriseV1::Enterprise] enterprise_object
|
802
802
|
# @param [String] fields
|
803
803
|
# Selector specifying which fields to include in a partial response.
|
804
804
|
# @param [String] quota_user
|
@@ -820,7 +820,7 @@ module Google
|
|
820
820
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
821
821
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
822
822
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
823
|
-
def insert_enterprise(enterprise_object = nil,
|
823
|
+
def insert_enterprise(token, enterprise_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
824
824
|
path = 'enterprises'
|
825
825
|
command = make_simple_command(:post, path, options)
|
826
826
|
command.request_representation = Google::Apis::AndroidenterpriseV1::Enterprise::Representation
|
@@ -858,7 +858,7 @@ module Google
|
|
858
858
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
859
859
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
860
860
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
861
|
-
def list_enterprises(domain
|
861
|
+
def list_enterprises(domain, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
862
862
|
path = 'enterprises'
|
863
863
|
command = make_simple_command(:get, path, options)
|
864
864
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ListEnterprisesResponse::Representation
|
@@ -1921,7 +1921,7 @@ module Google
|
|
1921
1921
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1922
1922
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1923
1923
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1924
|
-
def list_users(enterprise_id, email
|
1924
|
+
def list_users(enterprise_id, email, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1925
1925
|
path = 'enterprises/{enterpriseId}/users'
|
1926
1926
|
command = make_simple_command(:get, path, options)
|
1927
1927
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ListUsersResponse::Representation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/games/services/web/api/states
|
26
26
|
module AppstateV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20150728'
|
29
29
|
|
30
30
|
# View and manage your data for this application
|
31
31
|
AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/bigquery/
|
26
26
|
module BigqueryV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20150723'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -168,8 +168,8 @@ module Google
|
|
168
168
|
# @return [String]
|
169
169
|
attr_accessor :last_modified_time
|
170
170
|
|
171
|
-
# [Experimental] The location where the
|
172
|
-
#
|
171
|
+
# [Experimental] The geographic location where the dataset should reside.
|
172
|
+
# Possible values include EU and US. The default value is US.
|
173
173
|
# Corresponds to the JSON property `location`
|
174
174
|
# @return [String]
|
175
175
|
attr_accessor :location
|
@@ -1585,9 +1585,10 @@ module Google
|
|
1585
1585
|
# @return [Google::Apis::BigqueryV2::DatasetReference]
|
1586
1586
|
attr_accessor :default_dataset
|
1587
1587
|
|
1588
|
-
# [Optional] If set,
|
1589
|
-
#
|
1590
|
-
#
|
1588
|
+
# [Optional] If set to true, BigQuery doesn't run the job. Instead, if the query
|
1589
|
+
# is valid, BigQuery returns statistics about the job such as how many bytes
|
1590
|
+
# would be processed. If the query is invalid, an error returns. The default
|
1591
|
+
# value is false.
|
1591
1592
|
# Corresponds to the JSON property `dryRun`
|
1592
1593
|
# @return [Boolean]
|
1593
1594
|
attr_accessor :dry_run
|
@@ -1760,6 +1761,13 @@ module Google
|
|
1760
1761
|
# @return [String]
|
1761
1762
|
attr_accessor :expiration_time
|
1762
1763
|
|
1764
|
+
# [Experimental] Describes the data format, location, and other properties of a
|
1765
|
+
# table stored outside of BigQuery. By defining these properties, the data
|
1766
|
+
# source can then be queried as if it were a standard BigQuery table.
|
1767
|
+
# Corresponds to the JSON property `externalDataConfiguration`
|
1768
|
+
# @return [Google::Apis::BigqueryV2::ExternalDataConfiguration]
|
1769
|
+
attr_accessor :external_data_configuration
|
1770
|
+
|
1763
1771
|
# [Optional] A descriptive name for this table.
|
1764
1772
|
# Corresponds to the JSON property `friendlyName`
|
1765
1773
|
# @return [String]
|
@@ -1781,7 +1789,8 @@ module Google
|
|
1781
1789
|
# @return [String]
|
1782
1790
|
attr_accessor :last_modified_time
|
1783
1791
|
|
1784
|
-
# [
|
1792
|
+
# [Output-only] The geographic location where the table resides. This value is
|
1793
|
+
# inherited from the dataset.
|
1785
1794
|
# Corresponds to the JSON property `location`
|
1786
1795
|
# @return [String]
|
1787
1796
|
attr_accessor :location
|
@@ -1835,6 +1844,7 @@ module Google
|
|
1835
1844
|
@description = args[:description] unless args[:description].nil?
|
1836
1845
|
@etag = args[:etag] unless args[:etag].nil?
|
1837
1846
|
@expiration_time = args[:expiration_time] unless args[:expiration_time].nil?
|
1847
|
+
@external_data_configuration = args[:external_data_configuration] unless args[:external_data_configuration].nil?
|
1838
1848
|
@friendly_name = args[:friendly_name] unless args[:friendly_name].nil?
|
1839
1849
|
@id = args[:id] unless args[:id].nil?
|
1840
1850
|
@kind = args[:kind] unless args[:kind].nil?
|
@@ -614,6 +614,8 @@ module Google
|
|
614
614
|
property :description, as: 'description'
|
615
615
|
property :etag, as: 'etag'
|
616
616
|
property :expiration_time, as: 'expirationTime'
|
617
|
+
property :external_data_configuration, as: 'externalDataConfiguration', class: Google::Apis::BigqueryV2::ExternalDataConfiguration, decorator: Google::Apis::BigqueryV2::ExternalDataConfiguration::Representation
|
618
|
+
|
617
619
|
property :friendly_name, as: 'friendlyName'
|
618
620
|
property :id, as: 'id'
|
619
621
|
property :kind, as: 'kind'
|
@@ -493,10 +493,10 @@ module Google
|
|
493
493
|
execute_or_queue_command(command, &block)
|
494
494
|
end
|
495
495
|
|
496
|
-
# Lists all jobs that you started in the specified project.
|
497
|
-
#
|
498
|
-
#
|
499
|
-
# Owner project role if you set the allUsers property.
|
496
|
+
# Lists all jobs that you started in the specified project. Job information is
|
497
|
+
# available for a six month period after creation. The job list is sorted in
|
498
|
+
# reverse chronological order, by job creation time. Requires the Can View
|
499
|
+
# project role, or the Is Owner project role if you set the allUsers property.
|
500
500
|
# @param [String] project_id
|
501
501
|
# Project ID of the jobs to list
|
502
502
|
# @param [Boolean] all_users
|