google-api-client 0.9.8 → 0.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +76 -1
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +22 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +32 -14
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +1 -1
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- 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 +10 -0
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +2 -2
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +28 -5
- data/generated/google/apis/compute_beta/representations.rb +3 -0
- data/generated/google/apis/compute_beta/service.rb +1 -2
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +680 -4
- data/generated/google/apis/compute_v1/representations.rb +274 -0
- data/generated/google/apis/compute_v1/service.rb +442 -2
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +6 -0
- data/generated/google/apis/drive_v2/representations.rb +2 -0
- data/generated/google/apis/drive_v2/service.rb +8 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +6 -0
- data/generated/google/apis/drive_v3/representations.rb +2 -0
- data/generated/google/apis/drive_v3/service.rb +4 -1
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
- 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/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +63 -0
- data/generated/google/apis/genomics_v1/representations.rb +31 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +30 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +5 -0
- data/generated/google/apis/monitoring_v3.rb +45 -0
- data/generated/google/apis/monitoring_v3/classes.rb +1404 -0
- data/generated/google/apis/monitoring_v3/representations.rb +533 -0
- data/generated/google/apis/monitoring_v3/service.rb +743 -0
- data/generated/google/apis/oauth2_v2.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/sheets_v4.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +10 -9
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +155 -0
- data/generated/google/apis/youtube_v3/representations.rb +81 -0
- data/generated/google/apis/youtube_v3/service.rb +6 -2
- data/lib/google/apis/errors.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/bigquery.rb +101 -0
- data/samples/cli/lib/samples/sheets.rb +61 -0
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9a7fcc0d0f4b2915d6df357002b2e9289a746fb
|
4
|
+
data.tar.gz: 9c349abd328cfea51ff9d7599bc61277190c02e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a50525ccc67745bb327484542c0b2b7a1a88c1000f116920edd684ffeb3dd38c67aa2a9104c59ce77a6225d018ce4f622a0e08728b009f3231820836afd7d900
|
7
|
+
data.tar.gz: 985f4f7ad2cb55d128f882609b26828bac002ee738d930285fccfecf7bb5f89e3ab640dfb0bc50a51224ce04a3027bc7ecf826eb4b364ce209bf13d1863e95b8
|
data/CHANGELOG.md
CHANGED
@@ -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 = '20160606'
|
30
30
|
|
31
31
|
# Manage your Ad Exchange buyer account configuration
|
32
32
|
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
@@ -556,6 +556,12 @@ module Google
|
|
556
556
|
# @return [String]
|
557
557
|
attr_accessor :kind
|
558
558
|
|
559
|
+
# Detected languages for this creative. Read-only. This field should not be set
|
560
|
+
# in requests.
|
561
|
+
# Corresponds to the JSON property `languages`
|
562
|
+
# @return [Array<String>]
|
563
|
+
attr_accessor :languages
|
564
|
+
|
559
565
|
# If nativeAd is set, HTMLSnippet and videoURL should not be set.
|
560
566
|
# Corresponds to the JSON property `nativeAd`
|
561
567
|
# @return [Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd]
|
@@ -638,6 +644,7 @@ module Google
|
|
638
644
|
@height = args[:height] if args.key?(:height)
|
639
645
|
@impression_tracking_url = args[:impression_tracking_url] if args.key?(:impression_tracking_url)
|
640
646
|
@kind = args[:kind] if args.key?(:kind)
|
647
|
+
@languages = args[:languages] if args.key?(:languages)
|
641
648
|
@native_ad = args[:native_ad] if args.key?(:native_ad)
|
642
649
|
@open_auction_status = args[:open_auction_status] if args.key?(:open_auction_status)
|
643
650
|
@product_categories = args[:product_categories] if args.key?(:product_categories)
|
@@ -654,6 +661,11 @@ module Google
|
|
654
661
|
class Correction
|
655
662
|
include Google::Apis::Core::Hashable
|
656
663
|
|
664
|
+
# All known serving contexts containing serving status information.
|
665
|
+
# Corresponds to the JSON property `contexts`
|
666
|
+
# @return [Array<Google::Apis::AdexchangebuyerV1_4::Creative::Correction::Context>]
|
667
|
+
attr_accessor :contexts
|
668
|
+
|
657
669
|
# Additional details about the correction.
|
658
670
|
# Corresponds to the JSON property `details`
|
659
671
|
# @return [Array<String>]
|
@@ -670,9 +682,50 @@ module Google
|
|
670
682
|
|
671
683
|
# Update properties of this object
|
672
684
|
def update!(**args)
|
685
|
+
@contexts = args[:contexts] if args.key?(:contexts)
|
673
686
|
@details = args[:details] if args.key?(:details)
|
674
687
|
@reason = args[:reason] if args.key?(:reason)
|
675
688
|
end
|
689
|
+
|
690
|
+
#
|
691
|
+
class Context
|
692
|
+
include Google::Apis::Core::Hashable
|
693
|
+
|
694
|
+
# Only set when contextType=AUCTION_TYPE. Represents the auction types this
|
695
|
+
# correction applies to.
|
696
|
+
# Corresponds to the JSON property `auctionType`
|
697
|
+
# @return [Array<String>]
|
698
|
+
attr_accessor :auction_type
|
699
|
+
|
700
|
+
# The type of context (e.g., location, platform, auction type, SSL-ness).
|
701
|
+
# Corresponds to the JSON property `contextType`
|
702
|
+
# @return [String]
|
703
|
+
attr_accessor :context_type
|
704
|
+
|
705
|
+
# Only set when contextType=LOCATION. Represents the geo criterias this
|
706
|
+
# correction applies to.
|
707
|
+
# Corresponds to the JSON property `geoCriteriaId`
|
708
|
+
# @return [Array<Fixnum>]
|
709
|
+
attr_accessor :geo_criteria_id
|
710
|
+
|
711
|
+
# Only set when contextType=PLATFORM. Represents the platforms this correction
|
712
|
+
# applies to.
|
713
|
+
# Corresponds to the JSON property `platform`
|
714
|
+
# @return [Array<String>]
|
715
|
+
attr_accessor :platform
|
716
|
+
|
717
|
+
def initialize(**args)
|
718
|
+
update!(**args)
|
719
|
+
end
|
720
|
+
|
721
|
+
# Update properties of this object
|
722
|
+
def update!(**args)
|
723
|
+
@auction_type = args[:auction_type] if args.key?(:auction_type)
|
724
|
+
@context_type = args[:context_type] if args.key?(:context_type)
|
725
|
+
@geo_criteria_id = args[:geo_criteria_id] if args.key?(:geo_criteria_id)
|
726
|
+
@platform = args[:platform] if args.key?(:platform)
|
727
|
+
end
|
728
|
+
end
|
676
729
|
end
|
677
730
|
|
678
731
|
# The filtering reasons for the creative. Read-only. This field should not be
|
@@ -1213,6 +1266,12 @@ module Google
|
|
1213
1266
|
# @return [String]
|
1214
1267
|
attr_accessor :currency_conversion_time_ms
|
1215
1268
|
|
1269
|
+
# The DFP line item id associated with this deal. For features like CPD, buyers
|
1270
|
+
# can retrieve the DFP line item for billing reconciliation.
|
1271
|
+
# Corresponds to the JSON property `dfpLineItemId`
|
1272
|
+
# @return [String]
|
1273
|
+
attr_accessor :dfp_line_item_id
|
1274
|
+
|
1216
1275
|
# The original contracted quantity (# impressions) for this deal. To ensure
|
1217
1276
|
# delivery, sometimes publisher will book the deal with a impression buffer,
|
1218
1277
|
# however clients are billed using the original contracted quantity.
|
@@ -1233,6 +1292,7 @@ module Google
|
|
1233
1292
|
# Update properties of this object
|
1234
1293
|
def update!(**args)
|
1235
1294
|
@currency_conversion_time_ms = args[:currency_conversion_time_ms] if args.key?(:currency_conversion_time_ms)
|
1295
|
+
@dfp_line_item_id = args[:dfp_line_item_id] if args.key?(:dfp_line_item_id)
|
1236
1296
|
@original_contracted_quantity = args[:original_contracted_quantity] if args.key?(:original_contracted_quantity)
|
1237
1297
|
@price = args[:price] if args.key?(:price)
|
1238
1298
|
end
|
@@ -1438,11 +1498,19 @@ module Google
|
|
1438
1498
|
# @return [Fixnum]
|
1439
1499
|
attr_accessor :id
|
1440
1500
|
|
1441
|
-
# Name of the dimension mainly for debugging purposes
|
1501
|
+
# Name of the dimension mainly for debugging purposes, except for the case of
|
1502
|
+
# CREATIVE_SIZE. For CREATIVE_SIZE, strings are used instead of ids.
|
1442
1503
|
# Corresponds to the JSON property `name`
|
1443
1504
|
# @return [String]
|
1444
1505
|
attr_accessor :name
|
1445
1506
|
|
1507
|
+
# Percent of total impressions for a dimension type. e.g. `dimension_type: '
|
1508
|
+
# GENDER', [`dimension_value: `id: 1, name: 'MALE', percentage: 60``]` Gender
|
1509
|
+
# MALE is 60% of all impressions which have gender.
|
1510
|
+
# Corresponds to the JSON property `percentage`
|
1511
|
+
# @return [Fixnum]
|
1512
|
+
attr_accessor :percentage
|
1513
|
+
|
1446
1514
|
def initialize(**args)
|
1447
1515
|
update!(**args)
|
1448
1516
|
end
|
@@ -1451,6 +1519,7 @@ module Google
|
|
1451
1519
|
def update!(**args)
|
1452
1520
|
@id = args[:id] if args.key?(:id)
|
1453
1521
|
@name = args[:name] if args.key?(:name)
|
1522
|
+
@percentage = args[:percentage] if args.key?(:percentage)
|
1454
1523
|
end
|
1455
1524
|
end
|
1456
1525
|
|
@@ -3138,6 +3207,11 @@ module Google
|
|
3138
3207
|
# @return [Google::Apis::AdexchangebuyerV1_4::TargetingValueSize]
|
3139
3208
|
attr_accessor :size
|
3140
3209
|
|
3210
|
+
# The skippable ad type for video size.
|
3211
|
+
# Corresponds to the JSON property `skippableAdType`
|
3212
|
+
# @return [String]
|
3213
|
+
attr_accessor :skippable_ad_type
|
3214
|
+
|
3141
3215
|
def initialize(**args)
|
3142
3216
|
update!(**args)
|
3143
3217
|
end
|
@@ -3147,6 +3221,7 @@ module Google
|
|
3147
3221
|
@companion_sizes = args[:companion_sizes] if args.key?(:companion_sizes)
|
3148
3222
|
@creative_size_type = args[:creative_size_type] if args.key?(:creative_size_type)
|
3149
3223
|
@size = args[:size] if args.key?(:size)
|
3224
|
+
@skippable_ad_type = args[:skippable_ad_type] if args.key?(:skippable_ad_type)
|
3150
3225
|
end
|
3151
3226
|
end
|
3152
3227
|
|
@@ -111,6 +111,12 @@ module Google
|
|
111
111
|
|
112
112
|
class Correction
|
113
113
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
114
|
+
|
115
|
+
class Context
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
114
120
|
|
115
121
|
include Google::Apis::Core::JsonObjectSupport
|
116
122
|
end
|
@@ -614,6 +620,7 @@ module Google
|
|
614
620
|
property :height, as: 'height'
|
615
621
|
collection :impression_tracking_url, as: 'impressionTrackingUrl'
|
616
622
|
property :kind, as: 'kind'
|
623
|
+
collection :languages, as: 'languages'
|
617
624
|
property :native_ad, as: 'nativeAd', class: Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd, decorator: Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd::Representation
|
618
625
|
|
619
626
|
property :open_auction_status, as: 'openAuctionStatus'
|
@@ -631,9 +638,21 @@ module Google
|
|
631
638
|
class Correction
|
632
639
|
# @private
|
633
640
|
class Representation < Google::Apis::Core::JsonRepresentation
|
641
|
+
collection :contexts, as: 'contexts', class: Google::Apis::AdexchangebuyerV1_4::Creative::Correction::Context, decorator: Google::Apis::AdexchangebuyerV1_4::Creative::Correction::Context::Representation
|
642
|
+
|
634
643
|
collection :details, as: 'details'
|
635
644
|
property :reason, as: 'reason'
|
636
645
|
end
|
646
|
+
|
647
|
+
class Context
|
648
|
+
# @private
|
649
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
650
|
+
collection :auction_type, as: 'auctionType'
|
651
|
+
property :context_type, as: 'contextType'
|
652
|
+
collection :geo_criteria_id, as: 'geoCriteriaId'
|
653
|
+
collection :platform, as: 'platform'
|
654
|
+
end
|
655
|
+
end
|
637
656
|
end
|
638
657
|
|
639
658
|
class FilteringReasons
|
@@ -792,6 +811,7 @@ module Google
|
|
792
811
|
# @private
|
793
812
|
class Representation < Google::Apis::Core::JsonRepresentation
|
794
813
|
property :currency_conversion_time_ms, as: 'currencyConversionTimeMs'
|
814
|
+
property :dfp_line_item_id, as: 'dfpLineItemId'
|
795
815
|
property :original_contracted_quantity, as: 'originalContractedQuantity'
|
796
816
|
property :price, as: 'price', class: Google::Apis::AdexchangebuyerV1_4::Price, decorator: Google::Apis::AdexchangebuyerV1_4::Price::Representation
|
797
817
|
|
@@ -866,6 +886,7 @@ module Google
|
|
866
886
|
class Representation < Google::Apis::Core::JsonRepresentation
|
867
887
|
property :id, as: 'id'
|
868
888
|
property :name, as: 'name'
|
889
|
+
property :percentage, as: 'percentage'
|
869
890
|
end
|
870
891
|
end
|
871
892
|
|
@@ -1292,6 +1313,7 @@ module Google
|
|
1292
1313
|
property :creative_size_type, as: 'creativeSizeType'
|
1293
1314
|
property :size, as: 'size', class: Google::Apis::AdexchangebuyerV1_4::TargetingValueSize, decorator: Google::Apis::AdexchangebuyerV1_4::TargetingValueSize::Representation
|
1294
1315
|
|
1316
|
+
property :skippable_ad_type, as: 'skippableAdType'
|
1295
1317
|
end
|
1296
1318
|
end
|
1297
1319
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/adsense/management/
|
26
26
|
module AdsenseV1_4
|
27
27
|
VERSION = 'V1_4'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160607'
|
29
29
|
|
30
30
|
# View and manage your AdSense data
|
31
31
|
AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense'
|
@@ -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 = '20160607'
|
30
30
|
|
31
31
|
# View and manage your AdSense host data and associated accounts
|
32
32
|
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/analytics/devguides/reporting/core/v4/
|
26
26
|
module AnalyticsreportingV4
|
27
27
|
VERSION = 'V4'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160601'
|
29
29
|
|
30
30
|
# View your Google Analytics data
|
31
31
|
AUTH_ANALYTICS_READONLY = 'https://www.googleapis.com/auth/analytics.readonly'
|
@@ -407,22 +407,29 @@ module Google
|
|
407
407
|
# The `reportRequest.dateRanges` field should not be specified for cohorts
|
408
408
|
# or Lifetime value requests.
|
409
409
|
# If a date range is not provided, the default date range is (startDate:
|
410
|
-
# current date - 7 days, endDate: current date - 1 day)
|
410
|
+
# current date - 7 days, endDate: current date - 1 day). Every
|
411
|
+
# [ReportRequest](#ReportRequest) within a `batchGet` method must
|
412
|
+
# contain the same `dateRanges` definition.
|
411
413
|
# Corresponds to the JSON property `dateRanges`
|
412
414
|
# @return [Array<Google::Apis::AnalyticsreportingV4::DateRange>]
|
413
415
|
attr_accessor :date_ranges
|
414
416
|
|
415
417
|
# Segment the data returned for the request. A segment definition helps look
|
416
418
|
# at a subset of the segment request. A request can contain up to four
|
417
|
-
# segments.
|
419
|
+
# segments. Every [ReportRequest](#ReportRequest) within a
|
420
|
+
# `batchGet` method must contain the same `segments` definition. Requests
|
418
421
|
# with segments must have the `ga:segment` dimension.
|
419
422
|
# Corresponds to the JSON property `segments`
|
420
423
|
# @return [Array<Google::Apis::AnalyticsreportingV4::Segment>]
|
421
424
|
attr_accessor :segments
|
422
425
|
|
423
|
-
# The desired
|
424
|
-
#
|
425
|
-
# `samplingLevel
|
426
|
+
# The desired report
|
427
|
+
# [sample](https://support.google.com/analytics/answer/2637192) size.
|
428
|
+
# If the the `samplingLevel` field is unspecified the `DEFAULT` sampling
|
429
|
+
# level is used. Every [ReportRequest](#ReportRequest) within a
|
430
|
+
# `batchGet` method must contain the same `samplingLevel` definition. See
|
431
|
+
# [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling)
|
432
|
+
# for details.
|
426
433
|
# Corresponds to the JSON property `samplingLevel`
|
427
434
|
# @return [String]
|
428
435
|
attr_accessor :sampling_level
|
@@ -471,7 +478,10 @@ module Google
|
|
471
478
|
attr_accessor :hide_value_ranges
|
472
479
|
alias_method :hide_value_ranges?, :hide_value_ranges
|
473
480
|
|
474
|
-
#
|
481
|
+
# The Analytics
|
482
|
+
# [view ID](https://support.google.com/analytics/answer/1009618)
|
483
|
+
# from which to retrieve data. Every [ReportRequest](#ReportRequest)
|
484
|
+
# within a `batchGet` method must contain the same `viewId`.
|
475
485
|
# Corresponds to the JSON property `viewId`
|
476
486
|
# @return [String]
|
477
487
|
attr_accessor :view_id
|
@@ -610,8 +620,13 @@ module Google
|
|
610
620
|
# @return [Fixnum]
|
611
621
|
attr_accessor :row_count
|
612
622
|
|
613
|
-
# If
|
614
|
-
#
|
623
|
+
# If the results are
|
624
|
+
# [sampled](https://support.google.com/analytics/answer/2637192),
|
625
|
+
# this returns the total number of
|
626
|
+
# samples present, one entry per date range. If the results are not sampled
|
627
|
+
# this field will not be defined. See
|
628
|
+
# [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling)
|
629
|
+
# for details.
|
615
630
|
# Corresponds to the JSON property `samplingSpaceSizes`
|
616
631
|
# @return [Array<String>]
|
617
632
|
attr_accessor :sampling_space_sizes
|
@@ -623,8 +638,12 @@ module Google
|
|
623
638
|
# @return [Array<Google::Apis::AnalyticsreportingV4::DateRangeValues>]
|
624
639
|
attr_accessor :maximums
|
625
640
|
|
626
|
-
# If
|
627
|
-
#
|
641
|
+
# If the results are
|
642
|
+
# [sampled](https://support.google.com/analytics/answer/2637192),
|
643
|
+
# this returns the total number of samples read, one entry per date range.
|
644
|
+
# If the results are not sampled this field will not be defined. See
|
645
|
+
# [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling)
|
646
|
+
# for details.
|
628
647
|
# Corresponds to the JSON property `samplesReadCounts`
|
629
648
|
# @return [Array<String>]
|
630
649
|
attr_accessor :samples_read_counts
|
@@ -684,7 +703,7 @@ module Google
|
|
684
703
|
|
685
704
|
# Requests, each request will have a separate response.
|
686
705
|
# There can be a maximum of 5 requests. All requests should have the same
|
687
|
-
# `
|
706
|
+
# `dateRanges`, `viewId`, `segments`, `samplingLevel`, and `cohortGroup`.
|
688
707
|
# Corresponds to the JSON property `reportRequests`
|
689
708
|
# @return [Array<Google::Apis::AnalyticsreportingV4::ReportRequest>]
|
690
709
|
attr_accessor :report_requests
|
@@ -880,8 +899,7 @@ module Google
|
|
880
899
|
class PivotHeaderEntry
|
881
900
|
include Google::Apis::Core::Hashable
|
882
901
|
|
883
|
-
# The name of the dimensions in the
|
884
|
-
# response.
|
902
|
+
# The name of the dimensions in the pivot response.
|
885
903
|
# Corresponds to the JSON property `dimensionNames`
|
886
904
|
# @return [Array<String>]
|
887
905
|
attr_accessor :dimension_names
|
@@ -1144,7 +1162,7 @@ module Google
|
|
1144
1162
|
# @return [Array<String>]
|
1145
1163
|
attr_accessor :dimensions
|
1146
1164
|
|
1147
|
-
# List of metrics for each requested DateRange
|
1165
|
+
# List of metrics for each requested DateRange.
|
1148
1166
|
# Corresponds to the JSON property `metrics`
|
1149
1167
|
# @return [Array<Google::Apis::AnalyticsreportingV4::DateRangeValues>]
|
1150
1168
|
attr_accessor :metrics
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/android/work/play/emm-api
|
26
26
|
module AndroidenterpriseV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160601'
|
29
29
|
|
30
30
|
# Manage corporate Android devices
|
31
31
|
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
@@ -1463,7 +1463,7 @@ module Google
|
|
1463
1463
|
# @return [String]
|
1464
1464
|
attr_accessor :kind
|
1465
1465
|
|
1466
|
-
# The user's primary email, e.g. "jsmith@example.com".
|
1466
|
+
# The user's primary email address, e.g. "jsmith@example.com".
|
1467
1467
|
# Corresponds to the JSON property `primaryEmail`
|
1468
1468
|
# @return [String]
|
1469
1469
|
attr_accessor :primary_email
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/android-publisher
|
26
26
|
module AndroidpublisherV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160602'
|
29
29
|
|
30
30
|
# View and manage your Google Play Developer account
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
@@ -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 = '20160531'
|
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 = '20160526'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -2760,6 +2760,15 @@ module Google
|
|
2760
2760
|
# @return [String]
|
2761
2761
|
attr_accessor :query
|
2762
2762
|
|
2763
|
+
# [Experimental] Specifies whether to use BigQuery's legacy SQL for this view.
|
2764
|
+
# The default value is true. If set to false, the view will use BigQuery's
|
2765
|
+
# standard SQL: https://cloud.google.com/bigquery/sql-reference/ Queries and
|
2766
|
+
# views that reference this view must use the same flag value.
|
2767
|
+
# Corresponds to the JSON property `useLegacySql`
|
2768
|
+
# @return [Boolean]
|
2769
|
+
attr_accessor :use_legacy_sql
|
2770
|
+
alias_method :use_legacy_sql?, :use_legacy_sql
|
2771
|
+
|
2763
2772
|
# [Experimental] Describes user-defined function resources used in the query.
|
2764
2773
|
# Corresponds to the JSON property `userDefinedFunctionResources`
|
2765
2774
|
# @return [Array<Google::Apis::BigqueryV2::UserDefinedFunctionResource>]
|
@@ -2772,6 +2781,7 @@ module Google
|
|
2772
2781
|
# Update properties of this object
|
2773
2782
|
def update!(**args)
|
2774
2783
|
@query = args[:query] if args.key?(:query)
|
2784
|
+
@use_legacy_sql = args[:use_legacy_sql] if args.key?(:use_legacy_sql)
|
2775
2785
|
@user_defined_function_resources = args[:user_defined_function_resources] if args.key?(:user_defined_function_resources)
|
2776
2786
|
end
|
2777
2787
|
end
|