google-api-client 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +28 -3
- data/api_names.yaml +1 -0
- data/api_names_out.yaml +418 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +2 -3
- data/generated/google/apis/adsense_v1_4/service.rb +1 -2
- data/generated/google/apis/adsensehost_v4_1.rb +3 -3
- data/generated/google/apis/adsensehost_v4_1/service.rb +2 -2
- data/generated/google/apis/analytics_v3.rb +2 -2
- data/generated/google/apis/analytics_v3/classes.rb +42 -0
- data/generated/google/apis/analytics_v3/representations.rb +6 -0
- data/generated/google/apis/analytics_v3/service.rb +3 -3
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/classes.rb +16 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +2 -0
- 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 +200 -13
- data/generated/google/apis/bigquery_v2/representations.rb +54 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +6 -0
- data/generated/google/apis/books_v1/representations.rb +1 -0
- data/generated/google/apis/books_v1/service.rb +4 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +2 -3
- data/generated/google/apis/cloudbuild_v1/classes.rb +7 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +1 -2
- data/generated/google/apis/clouddebugger_v2.rb +2 -2
- data/generated/google/apis/clouddebugger_v2/classes.rb +8 -1
- data/generated/google/apis/clouddebugger_v2/representations.rb +1 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +26 -6
- data/generated/google/apis/cloudlatencytest_v2.rb +2 -2
- data/generated/google/apis/cloudlatencytest_v2/service.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +2 -2
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +38 -0
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +355 -0
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +181 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +373 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/clouduseraccounts_beta.rb +3 -2
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +52 -30
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +1 -0
- data/generated/google/apis/clouduseraccounts_beta/service.rb +110 -57
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +324 -101
- data/generated/google/apis/compute_beta/representations.rb +78 -0
- data/generated/google/apis/compute_beta/service.rb +1599 -208
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +96 -79
- data/generated/google/apis/compute_v1/service.rb +199 -169
- data/generated/google/apis/content_v2.rb +2 -2
- data/generated/google/apis/content_v2/classes.rb +6 -0
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2/service.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +6 -6
- data/generated/google/apis/deploymentmanager_v2/service.rb +10 -10
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2/service.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +9 -2
- data/generated/google/apis/games_v1/representations.rb +1 -0
- data/generated/google/apis/genomics_v1.rb +4 -5
- data/generated/google/apis/genomics_v1/classes.rb +51 -0
- data/generated/google/apis/genomics_v1/representations.rb +17 -0
- data/generated/google/apis/genomics_v1/service.rb +44 -8
- data/generated/google/apis/gmail_v1.rb +2 -2
- data/generated/google/apis/gmail_v1/classes.rb +19 -0
- data/generated/google/apis/gmail_v1/representations.rb +13 -0
- data/generated/google/apis/gmail_v1/service.rb +43 -2
- data/generated/google/apis/iam_v1.rb +36 -0
- data/generated/google/apis/iam_v1/classes.rb +665 -0
- data/generated/google/apis/iam_v1/representations.rb +325 -0
- data/generated/google/apis/iam_v1/service.rb +520 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +306 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +85 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +42 -1
- data/generated/google/apis/pagespeedonline_v2.rb +2 -2
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/prediction_v1_6.rb +1 -1
- data/generated/google/apis/prediction_v1_6/classes.rb +1 -1
- data/generated/google/apis/qpx_express_v1.rb +2 -2
- data/generated/google/apis/qpx_express_v1/service.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +2 -3
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -2
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/site_verification_v1.rb +2 -2
- data/generated/google/apis/site_verification_v1/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +2 -2
- data/generated/google/apis/storage_v1/service.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +2 -2
- data/generated/google/apis/tagmanager_v1/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/service.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +8 -0
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/generated/google/apis/youtubereporting_v1.rb +3 -3
- data/generated/google/apis/youtubereporting_v1/classes.rb +1 -2
- data/generated/google/apis/youtubereporting_v1/service.rb +4 -4
- data/lib/google/apis/core/base_service.rb +84 -6
- data/lib/google/apis/version.rb +1 -1
- data/script/generate +2 -0
- data/spec/google/apis/core/service_spec.rb +66 -0
- metadata +10 -2
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/ad-exchange/buyer-rest
|
27
27
|
module AdexchangebuyerV1_4
|
28
28
|
VERSION = 'V1_4'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160229'
|
30
30
|
|
31
31
|
# Manage your Ad Exchange buyer account configuration
|
32
32
|
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
@@ -20,13 +20,12 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# AdSense Management API
|
22
22
|
#
|
23
|
-
#
|
24
|
-
# reports
|
23
|
+
# Accesses AdSense publishers' inventory and generates performance reports.
|
25
24
|
#
|
26
25
|
# @see https://developers.google.com/adsense/management/
|
27
26
|
module AdsenseV1_4
|
28
27
|
VERSION = 'V1_4'
|
29
|
-
REVISION = '
|
28
|
+
REVISION = '20160309'
|
30
29
|
|
31
30
|
# View and manage your AdSense data
|
32
31
|
AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense'
|
@@ -22,8 +22,7 @@ module Google
|
|
22
22
|
module AdsenseV1_4
|
23
23
|
# AdSense Management API
|
24
24
|
#
|
25
|
-
#
|
26
|
-
# reports
|
25
|
+
# Accesses AdSense publishers' inventory and generates performance reports.
|
27
26
|
#
|
28
27
|
# @example
|
29
28
|
# require 'google/apis/adsense_v1_4'
|
@@ -20,13 +20,13 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# AdSense Host API
|
22
22
|
#
|
23
|
-
#
|
24
|
-
#
|
23
|
+
# Generates performance reports, generates ad codes, and provides publisher
|
24
|
+
# management capabilities for AdSense Hosts.
|
25
25
|
#
|
26
26
|
# @see https://developers.google.com/adsense/host/
|
27
27
|
module AdsensehostV4_1
|
28
28
|
VERSION = 'V4_1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160309'
|
30
30
|
|
31
31
|
# View and manage your AdSense host data and associated accounts
|
32
32
|
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
|
@@ -22,8 +22,8 @@ module Google
|
|
22
22
|
module AdsensehostV4_1
|
23
23
|
# AdSense Host API
|
24
24
|
#
|
25
|
-
#
|
26
|
-
#
|
25
|
+
# Generates performance reports, generates ad codes, and provides publisher
|
26
|
+
# management capabilities for AdSense Hosts.
|
27
27
|
#
|
28
28
|
# @example
|
29
29
|
# require 'google/apis/adsensehost_v4_1'
|
@@ -20,12 +20,12 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Google Analytics API
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# Views and manages your Google Analytics data.
|
24
24
|
#
|
25
25
|
# @see https://developers.google.com/analytics/
|
26
26
|
module AnalyticsV3
|
27
27
|
VERSION = 'V3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160308'
|
29
29
|
|
30
30
|
# View and manage your Google Analytics data
|
31
31
|
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
|
@@ -62,6 +62,12 @@ module Google
|
|
62
62
|
# @return [String]
|
63
63
|
attr_accessor :self_link
|
64
64
|
|
65
|
+
# Indicates whether this account is starred or not.
|
66
|
+
# Corresponds to the JSON property `starred`
|
67
|
+
# @return [Boolean]
|
68
|
+
attr_accessor :starred
|
69
|
+
alias_method :starred?, :starred
|
70
|
+
|
65
71
|
# Time the account was last modified.
|
66
72
|
# Corresponds to the JSON property `updated`
|
67
73
|
# @return [DateTime]
|
@@ -80,6 +86,7 @@ module Google
|
|
80
86
|
@name = args[:name] if args.key?(:name)
|
81
87
|
@permissions = args[:permissions] if args.key?(:permissions)
|
82
88
|
@self_link = args[:self_link] if args.key?(:self_link)
|
89
|
+
@starred = args[:starred] if args.key?(:starred)
|
83
90
|
@updated = args[:updated] if args.key?(:updated)
|
84
91
|
end
|
85
92
|
|
@@ -255,6 +262,12 @@ module Google
|
|
255
262
|
# @return [String]
|
256
263
|
attr_accessor :name
|
257
264
|
|
265
|
+
# Indicates whether this account is starred or not.
|
266
|
+
# Corresponds to the JSON property `starred`
|
267
|
+
# @return [Boolean]
|
268
|
+
attr_accessor :starred
|
269
|
+
alias_method :starred?, :starred
|
270
|
+
|
258
271
|
# List of web properties under this account.
|
259
272
|
# Corresponds to the JSON property `webProperties`
|
260
273
|
# @return [Array<Google::Apis::AnalyticsV3::WebPropertySummary>]
|
@@ -269,6 +282,7 @@ module Google
|
|
269
282
|
@id = args[:id] if args.key?(:id)
|
270
283
|
@kind = args[:kind] if args.key?(:kind)
|
271
284
|
@name = args[:name] if args.key?(:name)
|
285
|
+
@starred = args[:starred] if args.key?(:starred)
|
272
286
|
@web_properties = args[:web_properties] if args.key?(:web_properties)
|
273
287
|
end
|
274
288
|
end
|
@@ -3600,6 +3614,12 @@ module Google
|
|
3600
3614
|
# @return [String]
|
3601
3615
|
attr_accessor :site_search_query_parameters
|
3602
3616
|
|
3617
|
+
# Indicates whether this view (profile) is starred or not.
|
3618
|
+
# Corresponds to the JSON property `starred`
|
3619
|
+
# @return [Boolean]
|
3620
|
+
attr_accessor :starred
|
3621
|
+
alias_method :starred?, :starred
|
3622
|
+
|
3603
3623
|
# Whether or not Analytics will strip search category parameters from the URLs
|
3604
3624
|
# in your reports.
|
3605
3625
|
# Corresponds to the JSON property `stripSiteSearchCategoryParameters`
|
@@ -3664,6 +3684,7 @@ module Google
|
|
3664
3684
|
@self_link = args[:self_link] if args.key?(:self_link)
|
3665
3685
|
@site_search_category_parameters = args[:site_search_category_parameters] if args.key?(:site_search_category_parameters)
|
3666
3686
|
@site_search_query_parameters = args[:site_search_query_parameters] if args.key?(:site_search_query_parameters)
|
3687
|
+
@starred = args[:starred] if args.key?(:starred)
|
3667
3688
|
@strip_site_search_category_parameters = args[:strip_site_search_category_parameters] if args.key?(:strip_site_search_category_parameters)
|
3668
3689
|
@strip_site_search_query_parameters = args[:strip_site_search_query_parameters] if args.key?(:strip_site_search_query_parameters)
|
3669
3690
|
@timezone = args[:timezone] if args.key?(:timezone)
|
@@ -3949,6 +3970,12 @@ module Google
|
|
3949
3970
|
# @return [String]
|
3950
3971
|
attr_accessor :name
|
3951
3972
|
|
3973
|
+
# Indicates whether this view (profile) is starred or not.
|
3974
|
+
# Corresponds to the JSON property `starred`
|
3975
|
+
# @return [Boolean]
|
3976
|
+
attr_accessor :starred
|
3977
|
+
alias_method :starred?, :starred
|
3978
|
+
|
3952
3979
|
# View (Profile) type. Supported types: WEB or APP.
|
3953
3980
|
# Corresponds to the JSON property `type`
|
3954
3981
|
# @return [String]
|
@@ -3963,6 +3990,7 @@ module Google
|
|
3963
3990
|
@id = args[:id] if args.key?(:id)
|
3964
3991
|
@kind = args[:kind] if args.key?(:kind)
|
3965
3992
|
@name = args[:name] if args.key?(:name)
|
3993
|
+
@starred = args[:starred] if args.key?(:starred)
|
3966
3994
|
@type = args[:type] if args.key?(:type)
|
3967
3995
|
end
|
3968
3996
|
end
|
@@ -4841,6 +4869,12 @@ module Google
|
|
4841
4869
|
# @return [Array<Google::Apis::AnalyticsV3::ProfileSummary>]
|
4842
4870
|
attr_accessor :profiles
|
4843
4871
|
|
4872
|
+
# Indicates whether this web property is starred or not.
|
4873
|
+
# Corresponds to the JSON property `starred`
|
4874
|
+
# @return [Boolean]
|
4875
|
+
attr_accessor :starred
|
4876
|
+
alias_method :starred?, :starred
|
4877
|
+
|
4844
4878
|
# Website url for this web property.
|
4845
4879
|
# Corresponds to the JSON property `websiteUrl`
|
4846
4880
|
# @return [String]
|
@@ -4858,6 +4892,7 @@ module Google
|
|
4858
4892
|
@level = args[:level] if args.key?(:level)
|
4859
4893
|
@name = args[:name] if args.key?(:name)
|
4860
4894
|
@profiles = args[:profiles] if args.key?(:profiles)
|
4895
|
+
@starred = args[:starred] if args.key?(:starred)
|
4861
4896
|
@website_url = args[:website_url] if args.key?(:website_url)
|
4862
4897
|
end
|
4863
4898
|
end
|
@@ -5006,6 +5041,12 @@ module Google
|
|
5006
5041
|
# @return [String]
|
5007
5042
|
attr_accessor :self_link
|
5008
5043
|
|
5044
|
+
# Indicates whether this web property is starred or not.
|
5045
|
+
# Corresponds to the JSON property `starred`
|
5046
|
+
# @return [Boolean]
|
5047
|
+
attr_accessor :starred
|
5048
|
+
alias_method :starred?, :starred
|
5049
|
+
|
5009
5050
|
# Time this web property was last modified.
|
5010
5051
|
# Corresponds to the JSON property `updated`
|
5011
5052
|
# @return [DateTime]
|
@@ -5036,6 +5077,7 @@ module Google
|
|
5036
5077
|
@permissions = args[:permissions] if args.key?(:permissions)
|
5037
5078
|
@profile_count = args[:profile_count] if args.key?(:profile_count)
|
5038
5079
|
@self_link = args[:self_link] if args.key?(:self_link)
|
5080
|
+
@starred = args[:starred] if args.key?(:starred)
|
5039
5081
|
@updated = args[:updated] if args.key?(:updated)
|
5040
5082
|
@website_url = args[:website_url] if args.key?(:website_url)
|
5041
5083
|
end
|
@@ -599,6 +599,7 @@ module Google
|
|
599
599
|
property :permissions, as: 'permissions', class: Google::Apis::AnalyticsV3::Account::Permissions, decorator: Google::Apis::AnalyticsV3::Account::Permissions::Representation
|
600
600
|
|
601
601
|
property :self_link, as: 'selfLink'
|
602
|
+
property :starred, as: 'starred'
|
602
603
|
property :updated, as: 'updated', type: DateTime
|
603
604
|
|
604
605
|
end
|
@@ -650,6 +651,7 @@ module Google
|
|
650
651
|
property :id, as: 'id'
|
651
652
|
property :kind, as: 'kind'
|
652
653
|
property :name, as: 'name'
|
654
|
+
property :starred, as: 'starred'
|
653
655
|
collection :web_properties, as: 'webProperties', class: Google::Apis::AnalyticsV3::WebPropertySummary, decorator: Google::Apis::AnalyticsV3::WebPropertySummary::Representation
|
654
656
|
|
655
657
|
end
|
@@ -1473,6 +1475,7 @@ module Google
|
|
1473
1475
|
property :self_link, as: 'selfLink'
|
1474
1476
|
property :site_search_category_parameters, as: 'siteSearchCategoryParameters'
|
1475
1477
|
property :site_search_query_parameters, as: 'siteSearchQueryParameters'
|
1478
|
+
property :starred, as: 'starred'
|
1476
1479
|
property :strip_site_search_category_parameters, as: 'stripSiteSearchCategoryParameters'
|
1477
1480
|
property :strip_site_search_query_parameters, as: 'stripSiteSearchQueryParameters'
|
1478
1481
|
property :timezone, as: 'timezone'
|
@@ -1555,6 +1558,7 @@ module Google
|
|
1555
1558
|
property :id, as: 'id'
|
1556
1559
|
property :kind, as: 'kind'
|
1557
1560
|
property :name, as: 'name'
|
1561
|
+
property :starred, as: 'starred'
|
1558
1562
|
property :type, as: 'type'
|
1559
1563
|
end
|
1560
1564
|
end
|
@@ -1777,6 +1781,7 @@ module Google
|
|
1777
1781
|
property :name, as: 'name'
|
1778
1782
|
collection :profiles, as: 'profiles', class: Google::Apis::AnalyticsV3::ProfileSummary, decorator: Google::Apis::AnalyticsV3::ProfileSummary::Representation
|
1779
1783
|
|
1784
|
+
property :starred, as: 'starred'
|
1780
1785
|
property :website_url, as: 'websiteUrl'
|
1781
1786
|
end
|
1782
1787
|
end
|
@@ -1817,6 +1822,7 @@ module Google
|
|
1817
1822
|
|
1818
1823
|
property :profile_count, as: 'profileCount'
|
1819
1824
|
property :self_link, as: 'selfLink'
|
1825
|
+
property :starred, as: 'starred'
|
1820
1826
|
property :updated, as: 'updated', type: DateTime
|
1821
1827
|
|
1822
1828
|
property :website_url, as: 'websiteUrl'
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
module AnalyticsV3
|
23
23
|
# Google Analytics API
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# Views and manages your Google Analytics data.
|
26
26
|
#
|
27
27
|
# @example
|
28
28
|
# require 'google/apis/analytics_v3'
|
@@ -1638,7 +1638,7 @@ module Google
|
|
1638
1638
|
execute_or_queue_command(command, &block)
|
1639
1639
|
end
|
1640
1640
|
|
1641
|
-
# Updates an existing
|
1641
|
+
# Updates an existing goal. This method supports patch semantics.
|
1642
1642
|
# @param [String] account_id
|
1643
1643
|
# Account ID to update the goal.
|
1644
1644
|
# @param [String] web_property_id
|
@@ -1685,7 +1685,7 @@ module Google
|
|
1685
1685
|
execute_or_queue_command(command, &block)
|
1686
1686
|
end
|
1687
1687
|
|
1688
|
-
# Updates an existing
|
1688
|
+
# Updates an existing goal.
|
1689
1689
|
# @param [String] account_id
|
1690
1690
|
# Account ID to update the goal.
|
1691
1691
|
# @param [String] web_property_id
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/android/work/play/emm-api
|
27
27
|
module AndroidenterpriseV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160302'
|
30
30
|
|
31
31
|
# Manage corporate Android devices
|
32
32
|
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/google-apps/activity/
|
26
26
|
module AppsactivityV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160129'
|
29
29
|
|
30
30
|
# View the activity history of your Google Apps
|
31
31
|
AUTH_ACTIVITY = 'https://www.googleapis.com/auth/activity'
|
@@ -367,11 +367,25 @@ module Google
|
|
367
367
|
class User
|
368
368
|
include Google::Apis::Core::Hashable
|
369
369
|
|
370
|
+
# A boolean which indicates whether the specified User was deleted. If true,
|
371
|
+
# name, photo and permission_id will be omitted.
|
372
|
+
# Corresponds to the JSON property `isDeleted`
|
373
|
+
# @return [Boolean]
|
374
|
+
attr_accessor :is_deleted
|
375
|
+
alias_method :is_deleted?, :is_deleted
|
376
|
+
|
370
377
|
# The displayable name of the user.
|
371
378
|
# Corresponds to the JSON property `name`
|
372
379
|
# @return [String]
|
373
380
|
attr_accessor :name
|
374
381
|
|
382
|
+
# The permission ID associated with this user. Equivalent to the Drive API's
|
383
|
+
# permission ID for this user, returned as part of the Drive Permissions
|
384
|
+
# resource.
|
385
|
+
# Corresponds to the JSON property `permissionId`
|
386
|
+
# @return [String]
|
387
|
+
attr_accessor :permission_id
|
388
|
+
|
375
389
|
# Photo information for a user.
|
376
390
|
# Corresponds to the JSON property `photo`
|
377
391
|
# @return [Google::Apis::AppsactivityV1::Photo]
|
@@ -383,7 +397,9 @@ module Google
|
|
383
397
|
|
384
398
|
# Update properties of this object
|
385
399
|
def update!(**args)
|
400
|
+
@is_deleted = args[:is_deleted] if args.key?(:is_deleted)
|
386
401
|
@name = args[:name] if args.key?(:name)
|
402
|
+
@permission_id = args[:permission_id] if args.key?(:permission_id)
|
387
403
|
@photo = args[:photo] if args.key?(:photo)
|
388
404
|
end
|
389
405
|
end
|
@@ -196,7 +196,9 @@ module Google
|
|
196
196
|
class User
|
197
197
|
# @private
|
198
198
|
class Representation < Google::Apis::Core::JsonRepresentation
|
199
|
+
property :is_deleted, as: 'isDeleted'
|
199
200
|
property :name, as: 'name'
|
201
|
+
property :permission_id, as: 'permissionId'
|
200
202
|
property :photo, as: 'photo', class: Google::Apis::AppsactivityV1::Photo, decorator: Google::Apis::AppsactivityV1::Photo::Representation
|
201
203
|
|
202
204
|
end
|
@@ -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 = '20160310'
|
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 = '20160304'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -22,6 +22,169 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module BigqueryV2
|
24
24
|
|
25
|
+
#
|
26
|
+
class BigtableColumn
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# [Optional] The encoding of the values when the type is not STRING. Acceptable
|
30
|
+
# encoding values are: TEXT - indicates values are alphanumeric text strings.
|
31
|
+
# BINARY - indicates values are encoded using HBase Bytes.toBytes family of
|
32
|
+
# functions. 'encoding' can also be set at the column family level. However, the
|
33
|
+
# setting at this level takes precedence if 'encoding' is set at both levels.
|
34
|
+
# Corresponds to the JSON property `encoding`
|
35
|
+
# @return [String]
|
36
|
+
attr_accessor :encoding
|
37
|
+
|
38
|
+
# [Optional] If the qualifier is not a valid BigQuery field identifier i.e. does
|
39
|
+
# not match [a-zA-Z][a-zA-Z0-9_]*, a valid identifier must be provided as the
|
40
|
+
# column field name and is used as field name in queries.
|
41
|
+
# Corresponds to the JSON property `fieldName`
|
42
|
+
# @return [String]
|
43
|
+
attr_accessor :field_name
|
44
|
+
|
45
|
+
# [Optional] If this is set, only the latest version of value in this column are
|
46
|
+
# exposed. 'onlyReadLatest' can also be set at the column family level. However,
|
47
|
+
# the setting at this level takes precedence if 'onlyReadLatest' is set at both
|
48
|
+
# levels.
|
49
|
+
# Corresponds to the JSON property `onlyReadLatest`
|
50
|
+
# @return [Boolean]
|
51
|
+
attr_accessor :only_read_latest
|
52
|
+
alias_method :only_read_latest?, :only_read_latest
|
53
|
+
|
54
|
+
# [Required] Qualifier of the column. Columns in the parent column family that
|
55
|
+
# has this exact qualifier are exposed as . field. If the qualifier is valid UTF-
|
56
|
+
# 8 string, it can be specified in the qualifier_string field. Otherwise, a base-
|
57
|
+
# 64 encoded value must be set to qualifier_encoded. The column field name is
|
58
|
+
# the same as the column qualifier. However, if the qualifier is not a valid
|
59
|
+
# BigQuery field identifier i.e. does not match [a-zA-Z][a-zA-Z0-9_]*, a valid
|
60
|
+
# identifier must be provided as field_name.
|
61
|
+
# Corresponds to the JSON property `qualifierEncoded`
|
62
|
+
# @return [String]
|
63
|
+
attr_accessor :qualifier_encoded
|
64
|
+
|
65
|
+
#
|
66
|
+
# Corresponds to the JSON property `qualifierString`
|
67
|
+
# @return [String]
|
68
|
+
attr_accessor :qualifier_string
|
69
|
+
|
70
|
+
# [Optional] The type to convert the value in cells of this column. The values
|
71
|
+
# are expected to be encoded using HBase Bytes.toBytes function when using the
|
72
|
+
# BINARY encoding value. Following BigQuery types are allowed (case-sensitive) -
|
73
|
+
# BYTES STRING INTEGER FLOAT BOOLEAN Defaut type is BYTES. 'type' can also be
|
74
|
+
# set at the column family level. However, the setting at this level takes
|
75
|
+
# precedence if 'type' is set at both levels.
|
76
|
+
# Corresponds to the JSON property `type`
|
77
|
+
# @return [String]
|
78
|
+
attr_accessor :type
|
79
|
+
|
80
|
+
def initialize(**args)
|
81
|
+
update!(**args)
|
82
|
+
end
|
83
|
+
|
84
|
+
# Update properties of this object
|
85
|
+
def update!(**args)
|
86
|
+
@encoding = args[:encoding] if args.key?(:encoding)
|
87
|
+
@field_name = args[:field_name] if args.key?(:field_name)
|
88
|
+
@only_read_latest = args[:only_read_latest] if args.key?(:only_read_latest)
|
89
|
+
@qualifier_encoded = args[:qualifier_encoded] if args.key?(:qualifier_encoded)
|
90
|
+
@qualifier_string = args[:qualifier_string] if args.key?(:qualifier_string)
|
91
|
+
@type = args[:type] if args.key?(:type)
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
#
|
96
|
+
class BigtableColumnFamily
|
97
|
+
include Google::Apis::Core::Hashable
|
98
|
+
|
99
|
+
# [Optional] Lists of columns that should be exposed as individual fields as
|
100
|
+
# opposed to a list of (column name, value) pairs. All columns whose qualifier
|
101
|
+
# matches a qualifier in this list can be accessed as .. Other columns can be
|
102
|
+
# accessed as a list through .Column field.
|
103
|
+
# Corresponds to the JSON property `columns`
|
104
|
+
# @return [Array<Google::Apis::BigqueryV2::BigtableColumn>]
|
105
|
+
attr_accessor :columns
|
106
|
+
|
107
|
+
# [Optional] The encoding of the values when the type is not STRING. Acceptable
|
108
|
+
# encoding values are: TEXT - indicates values are alphanumeric text strings.
|
109
|
+
# BINARY - indicates values are encoded using HBase Bytes.toBytes family of
|
110
|
+
# functions. This can be overridden for a specific column by listing that column
|
111
|
+
# in 'columns' and specifying an encoding for it.
|
112
|
+
# Corresponds to the JSON property `encoding`
|
113
|
+
# @return [String]
|
114
|
+
attr_accessor :encoding
|
115
|
+
|
116
|
+
# Identifier of the column family.
|
117
|
+
# Corresponds to the JSON property `familyId`
|
118
|
+
# @return [String]
|
119
|
+
attr_accessor :family_id
|
120
|
+
|
121
|
+
# [Optional] If this is set only the latest version of value are exposed for all
|
122
|
+
# columns in this column family. This can be overridden for a specific column by
|
123
|
+
# listing that column in 'columns' and specifying a different setting for that
|
124
|
+
# column.
|
125
|
+
# Corresponds to the JSON property `onlyReadLatest`
|
126
|
+
# @return [Boolean]
|
127
|
+
attr_accessor :only_read_latest
|
128
|
+
alias_method :only_read_latest?, :only_read_latest
|
129
|
+
|
130
|
+
# [Optional] The type to convert the value in cells of this column family. The
|
131
|
+
# values are expected to be encoded using HBase Bytes.toBytes function when
|
132
|
+
# using the BINARY encoding value. Following BigQuery types are allowed (case-
|
133
|
+
# sensitive) - BYTES STRING INTEGER FLOAT BOOLEAN Defaut type is BYTES. This can
|
134
|
+
# be overridden for a specific column by listing that column in 'columns' and
|
135
|
+
# specifying a type for it.
|
136
|
+
# Corresponds to the JSON property `type`
|
137
|
+
# @return [String]
|
138
|
+
attr_accessor :type
|
139
|
+
|
140
|
+
def initialize(**args)
|
141
|
+
update!(**args)
|
142
|
+
end
|
143
|
+
|
144
|
+
# Update properties of this object
|
145
|
+
def update!(**args)
|
146
|
+
@columns = args[:columns] if args.key?(:columns)
|
147
|
+
@encoding = args[:encoding] if args.key?(:encoding)
|
148
|
+
@family_id = args[:family_id] if args.key?(:family_id)
|
149
|
+
@only_read_latest = args[:only_read_latest] if args.key?(:only_read_latest)
|
150
|
+
@type = args[:type] if args.key?(:type)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
#
|
155
|
+
class BigtableOptions
|
156
|
+
include Google::Apis::Core::Hashable
|
157
|
+
|
158
|
+
# [Optional] List of column families to expose in the table schema along with
|
159
|
+
# their types. This list restricts the column families that can be referenced in
|
160
|
+
# queries and specifies their value types. You can use this list to do type
|
161
|
+
# conversions - see the 'type' field for more details. If you leave this list
|
162
|
+
# empty, all column families are present in the table schema and their values
|
163
|
+
# are read as BYTES. During a query only the column families referenced in that
|
164
|
+
# query are read from Bigtable.
|
165
|
+
# Corresponds to the JSON property `columnFamilies`
|
166
|
+
# @return [Array<Google::Apis::BigqueryV2::BigtableColumnFamily>]
|
167
|
+
attr_accessor :column_families
|
168
|
+
|
169
|
+
# [Optional] If field is true, then the column families that are not specified
|
170
|
+
# in columnFamilies list are not exposed in the table schema. Otherwise, they
|
171
|
+
# are read with BYTES type values. The default value is false.
|
172
|
+
# Corresponds to the JSON property `ignoreUnspecifiedColumnFamilies`
|
173
|
+
# @return [Boolean]
|
174
|
+
attr_accessor :ignore_unspecified_column_families
|
175
|
+
alias_method :ignore_unspecified_column_families?, :ignore_unspecified_column_families
|
176
|
+
|
177
|
+
def initialize(**args)
|
178
|
+
update!(**args)
|
179
|
+
end
|
180
|
+
|
181
|
+
# Update properties of this object
|
182
|
+
def update!(**args)
|
183
|
+
@column_families = args[:column_families] if args.key?(:column_families)
|
184
|
+
@ignore_unspecified_column_families = args[:ignore_unspecified_column_families] if args.key?(:ignore_unspecified_column_families)
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
25
188
|
#
|
26
189
|
class CsvOptions
|
27
190
|
include Google::Apis::Core::Hashable
|
@@ -527,9 +690,21 @@ module Google
|
|
527
690
|
class ExternalDataConfiguration
|
528
691
|
include Google::Apis::Core::Hashable
|
529
692
|
|
693
|
+
# [Experimental] Try to detect schema and format options automatically. Any
|
694
|
+
# option specified explicitly will be honored.
|
695
|
+
# Corresponds to the JSON property `autodetect`
|
696
|
+
# @return [Boolean]
|
697
|
+
attr_accessor :autodetect
|
698
|
+
alias_method :autodetect?, :autodetect
|
699
|
+
|
700
|
+
# [Optional] Additional options if sourceFormat is set to BIGTABLE.
|
701
|
+
# Corresponds to the JSON property `bigtableOptions`
|
702
|
+
# @return [Google::Apis::BigqueryV2::BigtableOptions]
|
703
|
+
attr_accessor :bigtable_options
|
704
|
+
|
530
705
|
# [Optional] The compression type of the data source. Possible values include
|
531
706
|
# GZIP and NONE. The default value is NONE. This setting is ignored for Google
|
532
|
-
# Cloud Datastore backups.
|
707
|
+
# Cloud Bigtable, Google Cloud Datastore backups and Avro formats.
|
533
708
|
# Corresponds to the JSON property `compression`
|
534
709
|
# @return [String]
|
535
710
|
attr_accessor :compression
|
@@ -545,7 +720,9 @@ module Google
|
|
545
720
|
# too many bad records, an invalid error is returned in the job result. The
|
546
721
|
# default value is false. The sourceFormat property determines what BigQuery
|
547
722
|
# treats as an extra value: CSV: Trailing columns JSON: Named values that don't
|
548
|
-
# match any column names Google Cloud
|
723
|
+
# match any column names Google Cloud Bigtable: This setting is ignored. Google
|
724
|
+
# Cloud Datastore backups: This setting is ignored. Avro: This setting is
|
725
|
+
# ignored.
|
549
726
|
# Corresponds to the JSON property `ignoreUnknownValues`
|
550
727
|
# @return [Boolean]
|
551
728
|
attr_accessor :ignore_unknown_values
|
@@ -554,31 +731,39 @@ module Google
|
|
554
731
|
# [Optional] The maximum number of bad records that BigQuery can ignore when
|
555
732
|
# reading data. If the number of bad records exceeds this value, an invalid
|
556
733
|
# error is returned in the job result. The default value is 0, which requires
|
557
|
-
# that all records are valid. This setting is ignored for Google Cloud
|
558
|
-
# backups.
|
734
|
+
# that all records are valid. This setting is ignored for Google Cloud Bigtable,
|
735
|
+
# Google Cloud Datastore backups and Avro formats.
|
559
736
|
# Corresponds to the JSON property `maxBadRecords`
|
560
737
|
# @return [Fixnum]
|
561
738
|
attr_accessor :max_bad_records
|
562
739
|
|
563
740
|
# [Optional] The schema for the data. Schema is required for CSV and JSON
|
564
|
-
# formats. Schema is disallowed for Google Cloud Datastore
|
741
|
+
# formats. Schema is disallowed for Google Cloud Bigtable, Cloud Datastore
|
742
|
+
# backups, and Avro formats.
|
565
743
|
# Corresponds to the JSON property `schema`
|
566
744
|
# @return [Google::Apis::BigqueryV2::TableSchema]
|
567
745
|
attr_accessor :schema
|
568
746
|
|
569
747
|
# [Required] The data format. For CSV files, specify "CSV". For newline-
|
570
|
-
# delimited JSON, specify "NEWLINE_DELIMITED_JSON". For
|
571
|
-
# backups, specify "DATASTORE_BACKUP".
|
748
|
+
# delimited JSON, specify "NEWLINE_DELIMITED_JSON". For Avro files, specify "
|
749
|
+
# AVRO". For Google Cloud Datastore backups, specify "DATASTORE_BACKUP". [
|
750
|
+
# Experimental] For Google Cloud Bigtable, specify "BIGTABLE". Please note that
|
751
|
+
# reading from Google Cloud Bigtable is experimental and has to be enabled for
|
752
|
+
# your project. Please contact Google Cloud Support to enable this for your
|
753
|
+
# project.
|
572
754
|
# Corresponds to the JSON property `sourceFormat`
|
573
755
|
# @return [String]
|
574
756
|
attr_accessor :source_format
|
575
757
|
|
576
|
-
# [Required] The fully-qualified URIs that point to your data in Google Cloud
|
577
|
-
# Storage
|
578
|
-
# after the 'bucket' name. Size limits related to load jobs
|
579
|
-
# data sources, plus an additional limit of 10 GB maximum size
|
580
|
-
# For Google Cloud
|
581
|
-
#
|
758
|
+
# [Required] The fully-qualified URIs that point to your data in Google Cloud.
|
759
|
+
# For Google Cloud Storage URIs: Each URI can contain one '*' wildcard character
|
760
|
+
# and it must come after the 'bucket' name. Size limits related to load jobs
|
761
|
+
# apply to external data sources, plus an additional limit of 10 GB maximum size
|
762
|
+
# across all URIs. For Google Cloud Bigtable URIs: Exactly one URI can be
|
763
|
+
# specified and it has be a fully specified and valid HTTPS URL for a Google
|
764
|
+
# Cloud Bigtable table. For Google Cloud Datastore backups, exactly one URI can
|
765
|
+
# be specified, and it must end with '.backup_info'. Also, the '*' wildcard
|
766
|
+
# character is not allowed.
|
582
767
|
# Corresponds to the JSON property `sourceUris`
|
583
768
|
# @return [Array<String>]
|
584
769
|
attr_accessor :source_uris
|
@@ -589,6 +774,8 @@ module Google
|
|
589
774
|
|
590
775
|
# Update properties of this object
|
591
776
|
def update!(**args)
|
777
|
+
@autodetect = args[:autodetect] if args.key?(:autodetect)
|
778
|
+
@bigtable_options = args[:bigtable_options] if args.key?(:bigtable_options)
|
592
779
|
@compression = args[:compression] if args.key?(:compression)
|
593
780
|
@csv_options = args[:csv_options] if args.key?(:csv_options)
|
594
781
|
@ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values)
|