google-api-client 0.9.19 → 0.9.20
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 +5 -1
- data/api_names.yaml +2 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +20 -3
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +2 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +9 -7
- data/generated/google/apis/androidenterprise_v1/service.rb +7 -1
- data/generated/google/apis/appengine_v1beta5.rb +7 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +86 -25
- data/generated/google/apis/appengine_v1beta5/representations.rb +31 -12
- data/generated/google/apis/appengine_v1beta5/service.rb +33 -33
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +1 -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 +27 -18
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +243 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +64 -0
- data/generated/google/apis/classroom_v1/service.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +8 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +443 -13
- data/generated/google/apis/compute_beta/representations.rb +155 -0
- data/generated/google/apis/compute_beta/service.rb +383 -2
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +43 -13
- data/generated/google/apis/compute_v1/representations.rb +13 -0
- data/generated/google/apis/compute_v1/service.rb +89 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +48 -0
- data/generated/google/apis/content_v2/representations.rb +18 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +44 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +18 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +367 -7
- data/generated/google/apis/dataproc_v1.rb +2 -2
- data/generated/google/apis/dataproc_v1/classes.rb +213 -68
- data/generated/google/apis/dataproc_v1/representations.rb +38 -0
- data/generated/google/apis/dataproc_v1/service.rb +78 -48
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +3 -3
- data/generated/google/apis/deploymentmanager_v2/service.rb +55 -5
- data/generated/google/apis/dfareporting_v2_6.rb +1 -1
- data/generated/google/apis/dfareporting_v2_6/classes.rb +4 -3
- data/generated/google/apis/dfareporting_v2_6/service.rb +48 -29
- 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 +7 -0
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +7 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- 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 +9 -2
- data/generated/google/apis/genomics_v1/representations.rb +1 -0
- data/generated/google/apis/genomics_v1/service.rb +2 -1
- data/generated/google/apis/gmail_v1.rb +4 -1
- data/generated/google/apis/gmail_v1/classes.rb +8 -10
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +39 -6
- data/generated/google/apis/identitytoolkit_v3/representations.rb +6 -1
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +3 -2
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +22 -18
- data/generated/google/apis/logging_v2beta1/service.rb +17 -3
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +26 -24
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_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/sheets_v4/classes.rb +771 -75
- data/generated/google/apis/sheets_v4/representations.rb +125 -10
- data/generated/google/apis/sheets_v4/service.rb +39 -2
- data/generated/google/apis/slides_v1.rb +49 -0
- data/generated/google/apis/slides_v1/classes.rb +3926 -0
- data/generated/google/apis/slides_v1/representations.rb +1722 -0
- data/generated/google/apis/slides_v1/service.rb +202 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/service.rb +25 -25
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1.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 +1 -1
- 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 +20 -19
- data/generated/google/apis/youtube_v3/representations.rb +3 -4
- data/generated/google/apis/youtube_v3/service.rb +35 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
|
@@ -196,6 +196,12 @@ module Google
|
|
|
196
196
|
include Google::Apis::Core::JsonObjectSupport
|
|
197
197
|
end
|
|
198
198
|
|
|
199
|
+
class AddBandingResponse
|
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
|
+
|
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
203
|
+
end
|
|
204
|
+
|
|
199
205
|
class TextFormatRun
|
|
200
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
207
|
|
|
@@ -502,6 +508,12 @@ module Google
|
|
|
502
508
|
include Google::Apis::Core::JsonObjectSupport
|
|
503
509
|
end
|
|
504
510
|
|
|
511
|
+
class DeleteBandingRequest
|
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
513
|
+
|
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
515
|
+
end
|
|
516
|
+
|
|
505
517
|
class BasicFilter
|
|
506
518
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
507
519
|
|
|
@@ -544,6 +556,12 @@ module Google
|
|
|
544
556
|
include Google::Apis::Core::JsonObjectSupport
|
|
545
557
|
end
|
|
546
558
|
|
|
559
|
+
class AddBandingRequest
|
|
560
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
561
|
+
|
|
562
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
563
|
+
end
|
|
564
|
+
|
|
547
565
|
class AppendCellsRequest
|
|
548
566
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
549
567
|
|
|
@@ -580,13 +598,13 @@ module Google
|
|
|
580
598
|
include Google::Apis::Core::JsonObjectSupport
|
|
581
599
|
end
|
|
582
600
|
|
|
583
|
-
class
|
|
601
|
+
class UpdateEmbeddedObjectPositionRequest
|
|
584
602
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
585
603
|
|
|
586
604
|
include Google::Apis::Core::JsonObjectSupport
|
|
587
605
|
end
|
|
588
606
|
|
|
589
|
-
class
|
|
607
|
+
class SetBasicFilterRequest
|
|
590
608
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
591
609
|
|
|
592
610
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -604,6 +622,12 @@ module Google
|
|
|
604
622
|
include Google::Apis::Core::JsonObjectSupport
|
|
605
623
|
end
|
|
606
624
|
|
|
625
|
+
class BandingProperties
|
|
626
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
627
|
+
|
|
628
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
629
|
+
end
|
|
630
|
+
|
|
607
631
|
class PivotGroup
|
|
608
632
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
609
633
|
|
|
@@ -622,6 +646,12 @@ module Google
|
|
|
622
646
|
include Google::Apis::Core::JsonObjectSupport
|
|
623
647
|
end
|
|
624
648
|
|
|
649
|
+
class UpdateBandingRequest
|
|
650
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
651
|
+
|
|
652
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
653
|
+
end
|
|
654
|
+
|
|
625
655
|
class ChartData
|
|
626
656
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
627
657
|
|
|
@@ -760,6 +790,12 @@ module Google
|
|
|
760
790
|
include Google::Apis::Core::JsonObjectSupport
|
|
761
791
|
end
|
|
762
792
|
|
|
793
|
+
class BandedRange
|
|
794
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
795
|
+
|
|
796
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
797
|
+
end
|
|
798
|
+
|
|
763
799
|
class DeleteConditionalFormatRuleResponse
|
|
764
800
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
765
801
|
|
|
@@ -910,11 +946,13 @@ module Google
|
|
|
910
946
|
class UpdateValuesResponse
|
|
911
947
|
# @private
|
|
912
948
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
913
|
-
property :updated_range, as: 'updatedRange'
|
|
914
949
|
property :updated_columns, as: 'updatedColumns'
|
|
950
|
+
property :updated_cells, as: 'updatedCells'
|
|
951
|
+
property :updated_data, as: 'updatedData', class: Google::Apis::SheetsV4::ValueRange, decorator: Google::Apis::SheetsV4::ValueRange::Representation
|
|
952
|
+
|
|
953
|
+
property :updated_range, as: 'updatedRange'
|
|
915
954
|
property :spreadsheet_id, as: 'spreadsheetId'
|
|
916
955
|
property :updated_rows, as: 'updatedRows'
|
|
917
|
-
property :updated_cells, as: 'updatedCells'
|
|
918
956
|
end
|
|
919
957
|
end
|
|
920
958
|
|
|
@@ -1032,6 +1070,8 @@ module Google
|
|
|
1032
1070
|
|
|
1033
1071
|
property :delete_conditional_format_rule, as: 'deleteConditionalFormatRule', class: Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse, decorator: Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse::Representation
|
|
1034
1072
|
|
|
1073
|
+
property :add_banding, as: 'addBanding', class: Google::Apis::SheetsV4::AddBandingResponse, decorator: Google::Apis::SheetsV4::AddBandingResponse::Representation
|
|
1074
|
+
|
|
1035
1075
|
property :duplicate_sheet, as: 'duplicateSheet', class: Google::Apis::SheetsV4::DuplicateSheetResponse, decorator: Google::Apis::SheetsV4::DuplicateSheetResponse::Representation
|
|
1036
1076
|
|
|
1037
1077
|
property :duplicate_filter_view, as: 'duplicateFilterView', class: Google::Apis::SheetsV4::DuplicateFilterViewResponse, decorator: Google::Apis::SheetsV4::DuplicateFilterViewResponse::Representation
|
|
@@ -1075,6 +1115,14 @@ module Google
|
|
|
1075
1115
|
end
|
|
1076
1116
|
end
|
|
1077
1117
|
|
|
1118
|
+
class AddBandingResponse
|
|
1119
|
+
# @private
|
|
1120
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1121
|
+
property :banded_range, as: 'bandedRange', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation
|
|
1122
|
+
|
|
1123
|
+
end
|
|
1124
|
+
end
|
|
1125
|
+
|
|
1078
1126
|
class TextFormatRun
|
|
1079
1127
|
# @private
|
|
1080
1128
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1173,6 +1221,9 @@ module Google
|
|
|
1173
1221
|
property :value_input_option, as: 'valueInputOption'
|
|
1174
1222
|
collection :data, as: 'data', class: Google::Apis::SheetsV4::ValueRange, decorator: Google::Apis::SheetsV4::ValueRange::Representation
|
|
1175
1223
|
|
|
1224
|
+
property :response_value_render_option, as: 'responseValueRenderOption'
|
|
1225
|
+
property :response_date_time_render_option, as: 'responseDateTimeRenderOption'
|
|
1226
|
+
property :include_values_in_response, as: 'includeValuesInResponse'
|
|
1176
1227
|
end
|
|
1177
1228
|
end
|
|
1178
1229
|
|
|
@@ -1411,8 +1462,11 @@ module Google
|
|
|
1411
1462
|
class BatchUpdateSpreadsheetRequest
|
|
1412
1463
|
# @private
|
|
1413
1464
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1465
|
+
property :include_spreadsheet_in_response, as: 'includeSpreadsheetInResponse'
|
|
1414
1466
|
collection :requests, as: 'requests', class: Google::Apis::SheetsV4::Request, decorator: Google::Apis::SheetsV4::Request::Representation
|
|
1415
1467
|
|
|
1468
|
+
collection :response_ranges, as: 'responseRanges'
|
|
1469
|
+
property :response_include_grid_data, as: 'responseIncludeGridData'
|
|
1416
1470
|
end
|
|
1417
1471
|
end
|
|
1418
1472
|
|
|
@@ -1608,6 +1662,13 @@ module Google
|
|
|
1608
1662
|
end
|
|
1609
1663
|
end
|
|
1610
1664
|
|
|
1665
|
+
class DeleteBandingRequest
|
|
1666
|
+
# @private
|
|
1667
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1668
|
+
property :banded_range_id, as: 'bandedRangeId'
|
|
1669
|
+
end
|
|
1670
|
+
end
|
|
1671
|
+
|
|
1611
1672
|
class BasicFilter
|
|
1612
1673
|
# @private
|
|
1613
1674
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1672,6 +1733,14 @@ module Google
|
|
|
1672
1733
|
end
|
|
1673
1734
|
end
|
|
1674
1735
|
|
|
1736
|
+
class AddBandingRequest
|
|
1737
|
+
# @private
|
|
1738
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1739
|
+
property :banded_range, as: 'bandedRange', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation
|
|
1740
|
+
|
|
1741
|
+
end
|
|
1742
|
+
end
|
|
1743
|
+
|
|
1675
1744
|
class AppendCellsRequest
|
|
1676
1745
|
# @private
|
|
1677
1746
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1736,21 +1805,21 @@ module Google
|
|
|
1736
1805
|
end
|
|
1737
1806
|
end
|
|
1738
1807
|
|
|
1739
|
-
class
|
|
1808
|
+
class UpdateEmbeddedObjectPositionRequest
|
|
1740
1809
|
# @private
|
|
1741
1810
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1742
|
-
property :
|
|
1811
|
+
property :new_position, as: 'newPosition', class: Google::Apis::SheetsV4::EmbeddedObjectPosition, decorator: Google::Apis::SheetsV4::EmbeddedObjectPosition::Representation
|
|
1743
1812
|
|
|
1813
|
+
property :object_id_prop, as: 'objectId'
|
|
1814
|
+
property :fields, as: 'fields'
|
|
1744
1815
|
end
|
|
1745
1816
|
end
|
|
1746
1817
|
|
|
1747
|
-
class
|
|
1818
|
+
class SetBasicFilterRequest
|
|
1748
1819
|
# @private
|
|
1749
1820
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1750
|
-
property :
|
|
1821
|
+
property :filter, as: 'filter', class: Google::Apis::SheetsV4::BasicFilter, decorator: Google::Apis::SheetsV4::BasicFilter::Representation
|
|
1751
1822
|
|
|
1752
|
-
property :object_id_prop, as: 'objectId'
|
|
1753
|
-
property :fields, as: 'fields'
|
|
1754
1823
|
end
|
|
1755
1824
|
end
|
|
1756
1825
|
|
|
@@ -1770,6 +1839,20 @@ module Google
|
|
|
1770
1839
|
end
|
|
1771
1840
|
end
|
|
1772
1841
|
|
|
1842
|
+
class BandingProperties
|
|
1843
|
+
# @private
|
|
1844
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1845
|
+
property :footer_color, as: 'footerColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
|
1846
|
+
|
|
1847
|
+
property :header_color, as: 'headerColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
|
1848
|
+
|
|
1849
|
+
property :second_band_color, as: 'secondBandColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
|
1850
|
+
|
|
1851
|
+
property :first_band_color, as: 'firstBandColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
|
1852
|
+
|
|
1853
|
+
end
|
|
1854
|
+
end
|
|
1855
|
+
|
|
1773
1856
|
class PivotGroup
|
|
1774
1857
|
# @private
|
|
1775
1858
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1801,6 +1884,15 @@ module Google
|
|
|
1801
1884
|
end
|
|
1802
1885
|
end
|
|
1803
1886
|
|
|
1887
|
+
class UpdateBandingRequest
|
|
1888
|
+
# @private
|
|
1889
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1890
|
+
property :banded_range, as: 'bandedRange', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation
|
|
1891
|
+
|
|
1892
|
+
property :fields, as: 'fields'
|
|
1893
|
+
end
|
|
1894
|
+
end
|
|
1895
|
+
|
|
1804
1896
|
class ChartData
|
|
1805
1897
|
# @private
|
|
1806
1898
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1828,6 +1920,8 @@ module Google
|
|
|
1828
1920
|
|
|
1829
1921
|
collection :data, as: 'data', class: Google::Apis::SheetsV4::GridData, decorator: Google::Apis::SheetsV4::GridData::Representation
|
|
1830
1922
|
|
|
1923
|
+
collection :banded_ranges, as: 'bandedRanges', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation
|
|
1924
|
+
|
|
1831
1925
|
end
|
|
1832
1926
|
end
|
|
1833
1927
|
|
|
@@ -1872,6 +1966,8 @@ module Google
|
|
|
1872
1966
|
# @private
|
|
1873
1967
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1874
1968
|
property :spreadsheet_id, as: 'spreadsheetId'
|
|
1969
|
+
property :updated_spreadsheet, as: 'updatedSpreadsheet', class: Google::Apis::SheetsV4::Spreadsheet, decorator: Google::Apis::SheetsV4::Spreadsheet::Representation
|
|
1970
|
+
|
|
1875
1971
|
collection :replies, as: 'replies', class: Google::Apis::SheetsV4::Response, decorator: Google::Apis::SheetsV4::Response::Representation
|
|
1876
1972
|
|
|
1877
1973
|
end
|
|
@@ -2061,10 +2157,16 @@ module Google
|
|
|
2061
2157
|
|
|
2062
2158
|
property :merge_cells, as: 'mergeCells', class: Google::Apis::SheetsV4::MergeCellsRequest, decorator: Google::Apis::SheetsV4::MergeCellsRequest::Representation
|
|
2063
2159
|
|
|
2160
|
+
property :update_banding, as: 'updateBanding', class: Google::Apis::SheetsV4::UpdateBandingRequest, decorator: Google::Apis::SheetsV4::UpdateBandingRequest::Representation
|
|
2161
|
+
|
|
2064
2162
|
property :add_chart, as: 'addChart', class: Google::Apis::SheetsV4::AddChartRequest, decorator: Google::Apis::SheetsV4::AddChartRequest::Representation
|
|
2065
2163
|
|
|
2066
2164
|
property :delete_conditional_format_rule, as: 'deleteConditionalFormatRule', class: Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest::Representation
|
|
2067
2165
|
|
|
2166
|
+
property :add_banding, as: 'addBanding', class: Google::Apis::SheetsV4::AddBandingRequest, decorator: Google::Apis::SheetsV4::AddBandingRequest::Representation
|
|
2167
|
+
|
|
2168
|
+
property :delete_banding, as: 'deleteBanding', class: Google::Apis::SheetsV4::DeleteBandingRequest, decorator: Google::Apis::SheetsV4::DeleteBandingRequest::Representation
|
|
2169
|
+
|
|
2068
2170
|
property :update_chart_spec, as: 'updateChartSpec', class: Google::Apis::SheetsV4::UpdateChartSpecRequest, decorator: Google::Apis::SheetsV4::UpdateChartSpecRequest::Representation
|
|
2069
2171
|
|
|
2070
2172
|
property :delete_dimension, as: 'deleteDimension', class: Google::Apis::SheetsV4::DeleteDimensionRequest, decorator: Google::Apis::SheetsV4::DeleteDimensionRequest::Representation
|
|
@@ -2127,6 +2229,19 @@ module Google
|
|
|
2127
2229
|
end
|
|
2128
2230
|
end
|
|
2129
2231
|
|
|
2232
|
+
class BandedRange
|
|
2233
|
+
# @private
|
|
2234
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2235
|
+
property :banded_range_id, as: 'bandedRangeId'
|
|
2236
|
+
property :row_properties, as: 'rowProperties', class: Google::Apis::SheetsV4::BandingProperties, decorator: Google::Apis::SheetsV4::BandingProperties::Representation
|
|
2237
|
+
|
|
2238
|
+
property :column_properties, as: 'columnProperties', class: Google::Apis::SheetsV4::BandingProperties, decorator: Google::Apis::SheetsV4::BandingProperties::Representation
|
|
2239
|
+
|
|
2240
|
+
property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
|
|
2241
|
+
|
|
2242
|
+
end
|
|
2243
|
+
end
|
|
2244
|
+
|
|
2130
2245
|
class DeleteConditionalFormatRuleResponse
|
|
2131
2246
|
# @private
|
|
2132
2247
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -223,10 +223,12 @@ module Google
|
|
|
223
223
|
# The A1 notation of the values to retrieve.
|
|
224
224
|
# @param [String] value_render_option
|
|
225
225
|
# How values should be represented in the output.
|
|
226
|
+
# The default render option is ValueRenderOption.FORMATTED_VALUE.
|
|
226
227
|
# @param [String] date_time_render_option
|
|
227
228
|
# How dates, times, and durations should be represented in the output.
|
|
228
229
|
# This is ignored if value_render_option is
|
|
229
230
|
# FORMATTED_VALUE.
|
|
231
|
+
# The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
|
|
230
232
|
# @param [String] major_dimension
|
|
231
233
|
# The major dimension that results should use.
|
|
232
234
|
# For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,
|
|
@@ -309,10 +311,12 @@ module Google
|
|
|
309
311
|
# The A1 notation of the values to retrieve.
|
|
310
312
|
# @param [String] value_render_option
|
|
311
313
|
# How values should be represented in the output.
|
|
314
|
+
# The default render option is ValueRenderOption.FORMATTED_VALUE.
|
|
312
315
|
# @param [String] date_time_render_option
|
|
313
316
|
# How dates, times, and durations should be represented in the output.
|
|
314
317
|
# This is ignored if value_render_option is
|
|
315
318
|
# FORMATTED_VALUE.
|
|
319
|
+
# The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
|
|
316
320
|
# @param [String] major_dimension
|
|
317
321
|
# The major dimension that results should use.
|
|
318
322
|
# For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,
|
|
@@ -370,8 +374,20 @@ module Google
|
|
|
370
374
|
# The A1 notation of a range to search for a logical table of data.
|
|
371
375
|
# Values will be appended after the last row of the table.
|
|
372
376
|
# @param [Google::Apis::SheetsV4::ValueRange] value_range_object
|
|
377
|
+
# @param [String] response_value_render_option
|
|
378
|
+
# Determines how values in the response should be rendered.
|
|
379
|
+
# The default render option is ValueRenderOption.FORMATTED_VALUE.
|
|
373
380
|
# @param [String] value_input_option
|
|
374
381
|
# How the input data should be interpreted.
|
|
382
|
+
# @param [String] response_date_time_render_option
|
|
383
|
+
# Determines how dates, times, and durations in the response should be
|
|
384
|
+
# rendered. This is ignored if response_value_render_option is
|
|
385
|
+
# FORMATTED_VALUE.
|
|
386
|
+
# The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
|
|
387
|
+
# @param [Boolean] include_values_in_response
|
|
388
|
+
# Determines if the update response should include the values
|
|
389
|
+
# of the cells that were appended. By default, responses
|
|
390
|
+
# do not include the updated values.
|
|
375
391
|
# @param [String] insert_data_option
|
|
376
392
|
# How the input data should be inserted.
|
|
377
393
|
# @param [String] quota_user
|
|
@@ -391,7 +407,7 @@ module Google
|
|
|
391
407
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
392
408
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
393
409
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
394
|
-
def append_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, value_input_option: nil, insert_data_option: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
410
|
+
def append_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, response_value_render_option: nil, value_input_option: nil, response_date_time_render_option: nil, include_values_in_response: nil, insert_data_option: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
395
411
|
command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values/{range}:append', options)
|
|
396
412
|
command.request_representation = Google::Apis::SheetsV4::ValueRange::Representation
|
|
397
413
|
command.request_object = value_range_object
|
|
@@ -399,7 +415,10 @@ module Google
|
|
|
399
415
|
command.response_class = Google::Apis::SheetsV4::AppendValuesResponse
|
|
400
416
|
command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
|
|
401
417
|
command.params['range'] = range unless range.nil?
|
|
418
|
+
command.query['responseValueRenderOption'] = response_value_render_option unless response_value_render_option.nil?
|
|
402
419
|
command.query['valueInputOption'] = value_input_option unless value_input_option.nil?
|
|
420
|
+
command.query['responseDateTimeRenderOption'] = response_date_time_render_option unless response_date_time_render_option.nil?
|
|
421
|
+
command.query['includeValuesInResponse'] = include_values_in_response unless include_values_in_response.nil?
|
|
403
422
|
command.query['insertDataOption'] = insert_data_option unless insert_data_option.nil?
|
|
404
423
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
405
424
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -414,8 +433,23 @@ module Google
|
|
|
414
433
|
# @param [String] range
|
|
415
434
|
# The A1 notation of the values to update.
|
|
416
435
|
# @param [Google::Apis::SheetsV4::ValueRange] value_range_object
|
|
436
|
+
# @param [String] response_value_render_option
|
|
437
|
+
# Determines how values in the response should be rendered.
|
|
438
|
+
# The default render option is ValueRenderOption.FORMATTED_VALUE.
|
|
417
439
|
# @param [String] value_input_option
|
|
418
440
|
# How the input data should be interpreted.
|
|
441
|
+
# @param [String] response_date_time_render_option
|
|
442
|
+
# Determines how dates, times, and durations in the response should be
|
|
443
|
+
# rendered. This is ignored if response_value_render_option is
|
|
444
|
+
# FORMATTED_VALUE.
|
|
445
|
+
# The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
|
|
446
|
+
# @param [Boolean] include_values_in_response
|
|
447
|
+
# Determines if the update response should include the values
|
|
448
|
+
# of the cells that were updated. By default, responses
|
|
449
|
+
# do not include the updated values.
|
|
450
|
+
# If the range to write was larger than than the range actually written,
|
|
451
|
+
# the response will include all values in the requested range (excluding
|
|
452
|
+
# trailing empty rows and columns).
|
|
419
453
|
# @param [String] quota_user
|
|
420
454
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
421
455
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
@@ -433,7 +467,7 @@ module Google
|
|
|
433
467
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
434
468
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
435
469
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
436
|
-
def update_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, value_input_option: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
470
|
+
def update_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, response_value_render_option: nil, value_input_option: nil, response_date_time_render_option: nil, include_values_in_response: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
437
471
|
command = make_simple_command(:put, 'v4/spreadsheets/{spreadsheetId}/values/{range}', options)
|
|
438
472
|
command.request_representation = Google::Apis::SheetsV4::ValueRange::Representation
|
|
439
473
|
command.request_object = value_range_object
|
|
@@ -441,7 +475,10 @@ module Google
|
|
|
441
475
|
command.response_class = Google::Apis::SheetsV4::UpdateValuesResponse
|
|
442
476
|
command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
|
|
443
477
|
command.params['range'] = range unless range.nil?
|
|
478
|
+
command.query['responseValueRenderOption'] = response_value_render_option unless response_value_render_option.nil?
|
|
444
479
|
command.query['valueInputOption'] = value_input_option unless value_input_option.nil?
|
|
480
|
+
command.query['responseDateTimeRenderOption'] = response_date_time_render_option unless response_date_time_render_option.nil?
|
|
481
|
+
command.query['includeValuesInResponse'] = include_values_in_response unless include_values_in_response.nil?
|
|
445
482
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
446
483
|
command.query['fields'] = fields unless fields.nil?
|
|
447
484
|
execute_or_queue_command(command, &block)
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Copyright 2015 Google Inc.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
require 'google/apis/slides_v1/service.rb'
|
|
16
|
+
require 'google/apis/slides_v1/classes.rb'
|
|
17
|
+
require 'google/apis/slides_v1/representations.rb'
|
|
18
|
+
|
|
19
|
+
module Google
|
|
20
|
+
module Apis
|
|
21
|
+
# Google Slides API
|
|
22
|
+
#
|
|
23
|
+
# An API for creating and editing Google Slides presentations.
|
|
24
|
+
#
|
|
25
|
+
# @see https://developers.google.com/slides/
|
|
26
|
+
module SlidesV1
|
|
27
|
+
VERSION = 'V1'
|
|
28
|
+
REVISION = '20161102'
|
|
29
|
+
|
|
30
|
+
# View and manage the files in your Google Drive
|
|
31
|
+
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
|
32
|
+
|
|
33
|
+
# View your Google Spreadsheets
|
|
34
|
+
AUTH_SPREADSHEETS_READONLY = 'https://www.googleapis.com/auth/spreadsheets.readonly'
|
|
35
|
+
|
|
36
|
+
# View and manage your Google Slides presentations
|
|
37
|
+
AUTH_PRESENTATIONS = 'https://www.googleapis.com/auth/presentations'
|
|
38
|
+
|
|
39
|
+
# View your Google Slides presentations
|
|
40
|
+
AUTH_PRESENTATIONS_READONLY = 'https://www.googleapis.com/auth/presentations.readonly'
|
|
41
|
+
|
|
42
|
+
# View the files in your Google Drive
|
|
43
|
+
AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly'
|
|
44
|
+
|
|
45
|
+
# View and manage your spreadsheets in Google Drive
|
|
46
|
+
AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets'
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|