google-api-client 0.36.1 → 0.36.2

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.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +45 -0
  3. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  4. data/generated/google/apis/androidenterprise_v1/classes.rb +29 -58
  5. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  6. data/generated/google/apis/androidmanagement_v1/classes.rb +188 -0
  7. data/generated/google/apis/androidmanagement_v1/representations.rb +67 -0
  8. data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
  9. data/generated/google/apis/bigquery_v2.rb +1 -1
  10. data/generated/google/apis/bigquery_v2/classes.rb +6 -0
  11. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  12. data/generated/google/apis/bigquery_v2/service.rb +19 -2
  13. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  14. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +6 -0
  15. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +1 -0
  16. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  17. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +6 -0
  18. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
  19. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  20. data/generated/google/apis/cloudbuild_v1alpha1.rb +34 -0
  21. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1174 -0
  22. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +435 -0
  23. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +223 -0
  24. data/generated/google/apis/compute_alpha.rb +1 -1
  25. data/generated/google/apis/compute_alpha/classes.rb +234 -240
  26. data/generated/google/apis/compute_alpha/representations.rb +7 -47
  27. data/generated/google/apis/compute_alpha/service.rb +1233 -1068
  28. data/generated/google/apis/compute_beta.rb +1 -1
  29. data/generated/google/apis/compute_beta/classes.rb +936 -164
  30. data/generated/google/apis/compute_beta/representations.rb +371 -0
  31. data/generated/google/apis/compute_beta/service.rb +1394 -899
  32. data/generated/google/apis/compute_v1.rb +1 -1
  33. data/generated/google/apis/compute_v1/classes.rb +479 -147
  34. data/generated/google/apis/compute_v1/representations.rb +127 -0
  35. data/generated/google/apis/compute_v1/service.rb +813 -748
  36. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  37. data/generated/google/apis/datacatalog_v1beta1/classes.rb +9 -7
  38. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  39. data/generated/google/apis/datacatalog_v1beta1/service.rb +8 -3
  40. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  41. data/generated/google/apis/dataflow_v1b3/classes.rb +69 -0
  42. data/generated/google/apis/dataflow_v1b3/representations.rb +34 -0
  43. data/generated/google/apis/dataproc_v1.rb +1 -1
  44. data/generated/google/apis/dataproc_v1/classes.rb +73 -43
  45. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  46. data/generated/google/apis/dataproc_v1beta2/classes.rb +73 -43
  47. data/generated/google/apis/dialogflow_v2.rb +1 -1
  48. data/generated/google/apis/dialogflow_v2/classes.rb +44 -11
  49. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  50. data/generated/google/apis/dialogflow_v2beta1/classes.rb +44 -11
  51. data/generated/google/apis/dialogflow_v2beta1/service.rb +20 -0
  52. data/generated/google/apis/dns_v1.rb +1 -1
  53. data/generated/google/apis/dns_v1/classes.rb +70 -0
  54. data/generated/google/apis/dns_v1/representations.rb +32 -0
  55. data/generated/google/apis/dns_v2beta1.rb +1 -1
  56. data/generated/google/apis/dns_v2beta1/classes.rb +70 -0
  57. data/generated/google/apis/dns_v2beta1/representations.rb +32 -0
  58. data/generated/google/apis/docs_v1.rb +1 -1
  59. data/generated/google/apis/docs_v1/classes.rb +152 -0
  60. data/generated/google/apis/docs_v1/representations.rb +56 -0
  61. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  62. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  63. data/generated/google/apis/driveactivity_v2.rb +1 -1
  64. data/generated/google/apis/driveactivity_v2/classes.rb +6 -0
  65. data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
  66. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  67. data/generated/google/apis/firestore_v1.rb +1 -1
  68. data/generated/google/apis/firestore_v1/classes.rb +1 -1
  69. data/generated/google/apis/firestore_v1/service.rb +24 -22
  70. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  71. data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
  72. data/generated/google/apis/firestore_v1beta1/service.rb +16 -14
  73. data/generated/google/apis/fitness_v1.rb +11 -11
  74. data/generated/google/apis/games_management_v1management.rb +1 -1
  75. data/generated/google/apis/games_management_v1management/service.rb +5 -7
  76. data/generated/google/apis/iam_v1.rb +1 -1
  77. data/generated/google/apis/iam_v1/classes.rb +83 -141
  78. data/generated/google/apis/iam_v1/representations.rb +0 -6
  79. data/generated/google/apis/iam_v1/service.rb +11 -21
  80. data/generated/google/apis/language_v1beta2.rb +1 -1
  81. data/generated/google/apis/language_v1beta2/classes.rb +15 -0
  82. data/generated/google/apis/language_v1beta2/representations.rb +2 -0
  83. data/generated/google/apis/logging_v2.rb +3 -2
  84. data/generated/google/apis/logging_v2/service.rb +2 -1
  85. data/generated/google/apis/{surveys_v2.rb → prod_tt_sasportal_v1alpha1.rb} +9 -15
  86. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1084 -0
  87. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +503 -0
  88. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1322 -0
  89. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  90. data/generated/google/apis/recommender_v1beta1/classes.rb +6 -0
  91. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  92. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  93. data/generated/google/apis/run_v1alpha1.rb +1 -1
  94. data/generated/google/apis/run_v1alpha1/classes.rb +424 -0
  95. data/generated/google/apis/run_v1alpha1/representations.rb +161 -0
  96. data/generated/google/apis/run_v1alpha1/service.rb +862 -46
  97. data/generated/google/apis/run_v1beta1.rb +1 -1
  98. data/generated/google/apis/run_v1beta1/classes.rb +1 -1
  99. data/generated/google/apis/sasportal_v1alpha1.rb +34 -0
  100. data/generated/google/apis/sasportal_v1alpha1/classes.rb +1084 -0
  101. data/generated/google/apis/sasportal_v1alpha1/representations.rb +503 -0
  102. data/generated/google/apis/sasportal_v1alpha1/service.rb +1322 -0
  103. data/generated/google/apis/securitycenter_v1.rb +1 -1
  104. data/generated/google/apis/securitycenter_v1/classes.rb +18 -0
  105. data/generated/google/apis/securitycenter_v1/representations.rb +3 -0
  106. data/generated/google/apis/securitycenter_v1/service.rb +6 -0
  107. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  108. data/generated/google/apis/servicemanagement_v1/classes.rb +16 -1
  109. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  110. data/generated/google/apis/sheets_v4.rb +1 -1
  111. data/generated/google/apis/sheets_v4/classes.rb +187 -2
  112. data/generated/google/apis/sheets_v4/representations.rb +47 -0
  113. data/generated/google/apis/spanner_v1.rb +1 -1
  114. data/generated/google/apis/spanner_v1/classes.rb +104 -51
  115. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  116. data/generated/google/apis/spanner_v1/service.rb +6 -1
  117. data/generated/google/apis/sql_v1beta4.rb +1 -1
  118. data/generated/google/apis/sql_v1beta4/classes.rb +75 -4
  119. data/generated/google/apis/sql_v1beta4/representations.rb +32 -0
  120. data/generated/google/apis/sql_v1beta4/service.rb +83 -2
  121. data/generated/google/apis/toolresults_v1.rb +31 -0
  122. data/generated/google/apis/toolresults_v1/classes.rb +696 -0
  123. data/generated/google/apis/toolresults_v1/representations.rb +438 -0
  124. data/generated/google/apis/toolresults_v1/service.rb +59 -0
  125. data/generated/google/apis/vision_v1.rb +1 -1
  126. data/generated/google/apis/vision_v1/service.rb +1 -1
  127. data/lib/google/apis/version.rb +1 -1
  128. metadata +19 -7
  129. data/generated/google/apis/surveys_v2/classes.rb +0 -691
  130. data/generated/google/apis/surveys_v2/representations.rb +0 -305
  131. data/generated/google/apis/surveys_v2/service.rb +0 -348
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/cloud-dns
26
26
  module DnsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190923'
28
+ REVISION = '20191205'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -412,6 +412,12 @@ module Google
412
412
  # @return [Array<String>]
413
413
  attr_accessor :name_servers
414
414
 
415
+ # The presence of this field indicates that DNS Peering is enabled for this zone.
416
+ # The value of this field contains the network to peer with.
417
+ # Corresponds to the JSON property `peeringConfig`
418
+ # @return [Google::Apis::DnsV1::ManagedZonePeeringConfig]
419
+ attr_accessor :peering_config
420
+
415
421
  # For privately visible zones, the set of Virtual Private Cloud resources that
416
422
  # the zone is visible from.
417
423
  # Corresponds to the JSON property `privateVisibilityConfig`
@@ -441,6 +447,7 @@ module Google
441
447
  @name = args[:name] if args.key?(:name)
442
448
  @name_server_set = args[:name_server_set] if args.key?(:name_server_set)
443
449
  @name_servers = args[:name_servers] if args.key?(:name_servers)
450
+ @peering_config = args[:peering_config] if args.key?(:peering_config)
444
451
  @private_visibility_config = args[:private_visibility_config] if args.key?(:private_visibility_config)
445
452
  @visibility = args[:visibility] if args.key?(:visibility)
446
453
  end
@@ -584,6 +591,69 @@ module Google
584
591
  end
585
592
  end
586
593
 
594
+ #
595
+ class ManagedZonePeeringConfig
596
+ include Google::Apis::Core::Hashable
597
+
598
+ # Identifies what kind of resource this is. Value: the fixed string "dns#
599
+ # managedZonePeeringConfig".
600
+ # Corresponds to the JSON property `kind`
601
+ # @return [String]
602
+ attr_accessor :kind
603
+
604
+ # The network with which to peer.
605
+ # Corresponds to the JSON property `targetNetwork`
606
+ # @return [Google::Apis::DnsV1::ManagedZonePeeringConfigTargetNetwork]
607
+ attr_accessor :target_network
608
+
609
+ def initialize(**args)
610
+ update!(**args)
611
+ end
612
+
613
+ # Update properties of this object
614
+ def update!(**args)
615
+ @kind = args[:kind] if args.key?(:kind)
616
+ @target_network = args[:target_network] if args.key?(:target_network)
617
+ end
618
+ end
619
+
620
+ #
621
+ class ManagedZonePeeringConfigTargetNetwork
622
+ include Google::Apis::Core::Hashable
623
+
624
+ # The time at which the zone was deactivated, in RFC 3339 date-time format. An
625
+ # empty string indicates that the peering connection is active. The producer
626
+ # network can deactivate a zone. The zone is automatically deactivated if the
627
+ # producer network that the zone targeted is deleted. Output only.
628
+ # Corresponds to the JSON property `deactivateTime`
629
+ # @return [String]
630
+ attr_accessor :deactivate_time
631
+
632
+ # Identifies what kind of resource this is. Value: the fixed string "dns#
633
+ # managedZonePeeringConfigTargetNetwork".
634
+ # Corresponds to the JSON property `kind`
635
+ # @return [String]
636
+ attr_accessor :kind
637
+
638
+ # The fully qualified URL of the VPC network to forward queries to. This should
639
+ # be formatted like https://www.googleapis.com/compute/v1/projects/`project`/
640
+ # global/networks/`network`
641
+ # Corresponds to the JSON property `networkUrl`
642
+ # @return [String]
643
+ attr_accessor :network_url
644
+
645
+ def initialize(**args)
646
+ update!(**args)
647
+ end
648
+
649
+ # Update properties of this object
650
+ def update!(**args)
651
+ @deactivate_time = args[:deactivate_time] if args.key?(:deactivate_time)
652
+ @kind = args[:kind] if args.key?(:kind)
653
+ @network_url = args[:network_url] if args.key?(:network_url)
654
+ end
655
+ end
656
+
587
657
  #
588
658
  class ManagedZonePrivateVisibilityConfig
589
659
  include Google::Apis::Core::Hashable
@@ -88,6 +88,18 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class ManagedZonePeeringConfig
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ManagedZonePeeringConfigTargetNetwork
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
91
103
  class ManagedZonePrivateVisibilityConfig
92
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
105
 
@@ -287,6 +299,8 @@ module Google
287
299
  property :name, as: 'name'
288
300
  property :name_server_set, as: 'nameServerSet'
289
301
  collection :name_servers, as: 'nameServers'
302
+ property :peering_config, as: 'peeringConfig', class: Google::Apis::DnsV1::ManagedZonePeeringConfig, decorator: Google::Apis::DnsV1::ManagedZonePeeringConfig::Representation
303
+
290
304
  property :private_visibility_config, as: 'privateVisibilityConfig', class: Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfig, decorator: Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfig::Representation
291
305
 
292
306
  property :visibility, as: 'visibility'
@@ -333,6 +347,24 @@ module Google
333
347
  end
334
348
  end
335
349
 
350
+ class ManagedZonePeeringConfig
351
+ # @private
352
+ class Representation < Google::Apis::Core::JsonRepresentation
353
+ property :kind, as: 'kind'
354
+ property :target_network, as: 'targetNetwork', class: Google::Apis::DnsV1::ManagedZonePeeringConfigTargetNetwork, decorator: Google::Apis::DnsV1::ManagedZonePeeringConfigTargetNetwork::Representation
355
+
356
+ end
357
+ end
358
+
359
+ class ManagedZonePeeringConfigTargetNetwork
360
+ # @private
361
+ class Representation < Google::Apis::Core::JsonRepresentation
362
+ property :deactivate_time, as: 'deactivateTime'
363
+ property :kind, as: 'kind'
364
+ property :network_url, as: 'networkUrl'
365
+ end
366
+ end
367
+
336
368
  class ManagedZonePrivateVisibilityConfig
337
369
  # @private
338
370
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/cloud-dns
26
26
  module DnsV2beta1
27
27
  VERSION = 'V2beta1'
28
- REVISION = '20190923'
28
+ REVISION = '20191205'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -412,6 +412,12 @@ module Google
412
412
  # @return [Array<String>]
413
413
  attr_accessor :name_servers
414
414
 
415
+ # The presence of this field indicates that DNS Peering is enabled for this zone.
416
+ # The value of this field contains the network to peer with.
417
+ # Corresponds to the JSON property `peeringConfig`
418
+ # @return [Google::Apis::DnsV2beta1::ManagedZonePeeringConfig]
419
+ attr_accessor :peering_config
420
+
415
421
  # For privately visible zones, the set of Virtual Private Cloud resources that
416
422
  # the zone is visible from.
417
423
  # Corresponds to the JSON property `privateVisibilityConfig`
@@ -441,6 +447,7 @@ module Google
441
447
  @name = args[:name] if args.key?(:name)
442
448
  @name_server_set = args[:name_server_set] if args.key?(:name_server_set)
443
449
  @name_servers = args[:name_servers] if args.key?(:name_servers)
450
+ @peering_config = args[:peering_config] if args.key?(:peering_config)
444
451
  @private_visibility_config = args[:private_visibility_config] if args.key?(:private_visibility_config)
445
452
  @visibility = args[:visibility] if args.key?(:visibility)
446
453
  end
@@ -584,6 +591,69 @@ module Google
584
591
  end
585
592
  end
586
593
 
594
+ #
595
+ class ManagedZonePeeringConfig
596
+ include Google::Apis::Core::Hashable
597
+
598
+ # Identifies what kind of resource this is. Value: the fixed string "dns#
599
+ # managedZonePeeringConfig".
600
+ # Corresponds to the JSON property `kind`
601
+ # @return [String]
602
+ attr_accessor :kind
603
+
604
+ # The network with which to peer.
605
+ # Corresponds to the JSON property `targetNetwork`
606
+ # @return [Google::Apis::DnsV2beta1::ManagedZonePeeringConfigTargetNetwork]
607
+ attr_accessor :target_network
608
+
609
+ def initialize(**args)
610
+ update!(**args)
611
+ end
612
+
613
+ # Update properties of this object
614
+ def update!(**args)
615
+ @kind = args[:kind] if args.key?(:kind)
616
+ @target_network = args[:target_network] if args.key?(:target_network)
617
+ end
618
+ end
619
+
620
+ #
621
+ class ManagedZonePeeringConfigTargetNetwork
622
+ include Google::Apis::Core::Hashable
623
+
624
+ # The time at which the zone was deactivated, in RFC 3339 date-time format. An
625
+ # empty string indicates that the peering connection is active. The producer
626
+ # network can deactivate a zone. The zone is automatically deactivated if the
627
+ # producer network that the zone targeted is deleted. Output only.
628
+ # Corresponds to the JSON property `deactivateTime`
629
+ # @return [String]
630
+ attr_accessor :deactivate_time
631
+
632
+ # Identifies what kind of resource this is. Value: the fixed string "dns#
633
+ # managedZonePeeringConfigTargetNetwork".
634
+ # Corresponds to the JSON property `kind`
635
+ # @return [String]
636
+ attr_accessor :kind
637
+
638
+ # The fully qualified URL of the VPC network to forward queries to. This should
639
+ # be formatted like https://www.googleapis.com/compute/v1/projects/`project`/
640
+ # global/networks/`network`
641
+ # Corresponds to the JSON property `networkUrl`
642
+ # @return [String]
643
+ attr_accessor :network_url
644
+
645
+ def initialize(**args)
646
+ update!(**args)
647
+ end
648
+
649
+ # Update properties of this object
650
+ def update!(**args)
651
+ @deactivate_time = args[:deactivate_time] if args.key?(:deactivate_time)
652
+ @kind = args[:kind] if args.key?(:kind)
653
+ @network_url = args[:network_url] if args.key?(:network_url)
654
+ end
655
+ end
656
+
587
657
  #
588
658
  class ManagedZonePrivateVisibilityConfig
589
659
  include Google::Apis::Core::Hashable
@@ -88,6 +88,18 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class ManagedZonePeeringConfig
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ManagedZonePeeringConfigTargetNetwork
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
91
103
  class ManagedZonePrivateVisibilityConfig
92
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
105
 
@@ -287,6 +299,8 @@ module Google
287
299
  property :name, as: 'name'
288
300
  property :name_server_set, as: 'nameServerSet'
289
301
  collection :name_servers, as: 'nameServers'
302
+ property :peering_config, as: 'peeringConfig', class: Google::Apis::DnsV2beta1::ManagedZonePeeringConfig, decorator: Google::Apis::DnsV2beta1::ManagedZonePeeringConfig::Representation
303
+
290
304
  property :private_visibility_config, as: 'privateVisibilityConfig', class: Google::Apis::DnsV2beta1::ManagedZonePrivateVisibilityConfig, decorator: Google::Apis::DnsV2beta1::ManagedZonePrivateVisibilityConfig::Representation
291
305
 
292
306
  property :visibility, as: 'visibility'
@@ -333,6 +347,24 @@ module Google
333
347
  end
334
348
  end
335
349
 
350
+ class ManagedZonePeeringConfig
351
+ # @private
352
+ class Representation < Google::Apis::Core::JsonRepresentation
353
+ property :kind, as: 'kind'
354
+ property :target_network, as: 'targetNetwork', class: Google::Apis::DnsV2beta1::ManagedZonePeeringConfigTargetNetwork, decorator: Google::Apis::DnsV2beta1::ManagedZonePeeringConfigTargetNetwork::Representation
355
+
356
+ end
357
+ end
358
+
359
+ class ManagedZonePeeringConfigTargetNetwork
360
+ # @private
361
+ class Representation < Google::Apis::Core::JsonRepresentation
362
+ property :deactivate_time, as: 'deactivateTime'
363
+ property :kind, as: 'kind'
364
+ property :network_url, as: 'networkUrl'
365
+ end
366
+ end
367
+
336
368
  class ManagedZonePrivateVisibilityConfig
337
369
  # @private
338
370
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/docs/
26
26
  module DocsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20191106'
28
+ REVISION = '20191216'
29
29
 
30
30
  # View and manage your Google Docs documents
31
31
  AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents'
@@ -975,6 +975,16 @@ module Google
975
975
  # @return [Google::Apis::DocsV1::Dimension]
976
976
  attr_accessor :margin_bottom
977
977
 
978
+ # A magnitude in a single direction in the specified units.
979
+ # Corresponds to the JSON property `marginFooter`
980
+ # @return [Google::Apis::DocsV1::Dimension]
981
+ attr_accessor :margin_footer
982
+
983
+ # A magnitude in a single direction in the specified units.
984
+ # Corresponds to the JSON property `marginHeader`
985
+ # @return [Google::Apis::DocsV1::Dimension]
986
+ attr_accessor :margin_header
987
+
978
988
  # A magnitude in a single direction in the specified units.
979
989
  # Corresponds to the JSON property `marginLeft`
980
990
  # @return [Google::Apis::DocsV1::Dimension]
@@ -1000,6 +1010,22 @@ module Google
1000
1010
  # @return [Google::Apis::DocsV1::Size]
1001
1011
  attr_accessor :page_size
1002
1012
 
1013
+ # Indicates whether DocumentStyle
1014
+ # margin_header,
1015
+ # SectionStyle
1016
+ # margin_header and
1017
+ # DocumentStyle
1018
+ # margin_footer,
1019
+ # SectionStyle
1020
+ # margin_footer are
1021
+ # respected. When false, the default values in the Docs editor for header and
1022
+ # footer margin are used.
1023
+ # This property is read-only.
1024
+ # Corresponds to the JSON property `useCustomHeaderFooterMargins`
1025
+ # @return [Boolean]
1026
+ attr_accessor :use_custom_header_footer_margins
1027
+ alias_method :use_custom_header_footer_margins?, :use_custom_header_footer_margins
1028
+
1003
1029
  # Indicates whether to use the even page header / footer IDs for the even
1004
1030
  # pages.
1005
1031
  # This property is read-only.
@@ -1030,11 +1056,14 @@ module Google
1030
1056
  @first_page_footer_id = args[:first_page_footer_id] if args.key?(:first_page_footer_id)
1031
1057
  @first_page_header_id = args[:first_page_header_id] if args.key?(:first_page_header_id)
1032
1058
  @margin_bottom = args[:margin_bottom] if args.key?(:margin_bottom)
1059
+ @margin_footer = args[:margin_footer] if args.key?(:margin_footer)
1060
+ @margin_header = args[:margin_header] if args.key?(:margin_header)
1033
1061
  @margin_left = args[:margin_left] if args.key?(:margin_left)
1034
1062
  @margin_right = args[:margin_right] if args.key?(:margin_right)
1035
1063
  @margin_top = args[:margin_top] if args.key?(:margin_top)
1036
1064
  @page_number_start = args[:page_number_start] if args.key?(:page_number_start)
1037
1065
  @page_size = args[:page_size] if args.key?(:page_size)
1066
+ @use_custom_header_footer_margins = args[:use_custom_header_footer_margins] if args.key?(:use_custom_header_footer_margins)
1038
1067
  @use_even_page_header_footer = args[:use_even_page_header_footer] if args.key?(:use_even_page_header_footer)
1039
1068
  @use_first_page_header_footer = args[:use_first_page_header_footer] if args.key?(:use_first_page_header_footer)
1040
1069
  end
@@ -2103,6 +2132,39 @@ module Google
2103
2132
  end
2104
2133
  end
2105
2134
 
2135
+ # Inserts a section break at the given location.
2136
+ # A newline character will be inserted before the section break.
2137
+ class InsertSectionBreakRequest
2138
+ include Google::Apis::Core::Hashable
2139
+
2140
+ # Location at the end of a body, header, footer or footnote. The location is
2141
+ # immediately before the last newline in the document segment.
2142
+ # Corresponds to the JSON property `endOfSegmentLocation`
2143
+ # @return [Google::Apis::DocsV1::EndOfSegmentLocation]
2144
+ attr_accessor :end_of_segment_location
2145
+
2146
+ # A particular location in the document.
2147
+ # Corresponds to the JSON property `location`
2148
+ # @return [Google::Apis::DocsV1::Location]
2149
+ attr_accessor :location
2150
+
2151
+ # The type of section to insert.
2152
+ # Corresponds to the JSON property `sectionType`
2153
+ # @return [String]
2154
+ attr_accessor :section_type
2155
+
2156
+ def initialize(**args)
2157
+ update!(**args)
2158
+ end
2159
+
2160
+ # Update properties of this object
2161
+ def update!(**args)
2162
+ @end_of_segment_location = args[:end_of_segment_location] if args.key?(:end_of_segment_location)
2163
+ @location = args[:location] if args.key?(:location)
2164
+ @section_type = args[:section_type] if args.key?(:section_type)
2165
+ end
2166
+ end
2167
+
2106
2168
  # Inserts an empty column into a table.
2107
2169
  class InsertTableColumnRequest
2108
2170
  include Google::Apis::Core::Hashable
@@ -3917,6 +3979,12 @@ module Google
3917
3979
  # @return [Google::Apis::DocsV1::InsertPageBreakRequest]
3918
3980
  attr_accessor :insert_page_break
3919
3981
 
3982
+ # Inserts a section break at the given location.
3983
+ # A newline character will be inserted before the section break.
3984
+ # Corresponds to the JSON property `insertSectionBreak`
3985
+ # @return [Google::Apis::DocsV1::InsertSectionBreakRequest]
3986
+ attr_accessor :insert_section_break
3987
+
3920
3988
  # Inserts a table at the specified location.
3921
3989
  # A newline character will be inserted before the inserted table.
3922
3990
  # Corresponds to the JSON property `insertTable`
@@ -3986,6 +4054,11 @@ module Google
3986
4054
  # @return [Google::Apis::DocsV1::UpdateParagraphStyleRequest]
3987
4055
  attr_accessor :update_paragraph_style
3988
4056
 
4057
+ # Updates the SectionStyle.
4058
+ # Corresponds to the JSON property `updateSectionStyle`
4059
+ # @return [Google::Apis::DocsV1::UpdateSectionStyleRequest]
4060
+ attr_accessor :update_section_style
4061
+
3989
4062
  # Updates the style of a range of table cells.
3990
4063
  # Corresponds to the JSON property `updateTableCellStyle`
3991
4064
  # @return [Google::Apis::DocsV1::UpdateTableCellStyleRequest]
@@ -4027,6 +4100,7 @@ module Google
4027
4100
  @delete_table_row = args[:delete_table_row] if args.key?(:delete_table_row)
4028
4101
  @insert_inline_image = args[:insert_inline_image] if args.key?(:insert_inline_image)
4029
4102
  @insert_page_break = args[:insert_page_break] if args.key?(:insert_page_break)
4103
+ @insert_section_break = args[:insert_section_break] if args.key?(:insert_section_break)
4030
4104
  @insert_table = args[:insert_table] if args.key?(:insert_table)
4031
4105
  @insert_table_column = args[:insert_table_column] if args.key?(:insert_table_column)
4032
4106
  @insert_table_row = args[:insert_table_row] if args.key?(:insert_table_row)
@@ -4038,6 +4112,7 @@ module Google
4038
4112
  @unmerge_table_cells = args[:unmerge_table_cells] if args.key?(:unmerge_table_cells)
4039
4113
  @update_document_style = args[:update_document_style] if args.key?(:update_document_style)
4040
4114
  @update_paragraph_style = args[:update_paragraph_style] if args.key?(:update_paragraph_style)
4115
+ @update_section_style = args[:update_section_style] if args.key?(:update_section_style)
4041
4116
  @update_table_cell_style = args[:update_table_cell_style] if args.key?(:update_table_cell_style)
4042
4117
  @update_table_column_properties = args[:update_table_column_properties] if args.key?(:update_table_column_properties)
4043
4118
  @update_table_row_style = args[:update_table_row_style] if args.key?(:update_table_row_style)
@@ -4213,6 +4288,41 @@ module Google
4213
4288
  # @return [String]
4214
4289
  attr_accessor :content_direction
4215
4290
 
4291
+ # A magnitude in a single direction in the specified units.
4292
+ # Corresponds to the JSON property `marginBottom`
4293
+ # @return [Google::Apis::DocsV1::Dimension]
4294
+ attr_accessor :margin_bottom
4295
+
4296
+ # A magnitude in a single direction in the specified units.
4297
+ # Corresponds to the JSON property `marginFooter`
4298
+ # @return [Google::Apis::DocsV1::Dimension]
4299
+ attr_accessor :margin_footer
4300
+
4301
+ # A magnitude in a single direction in the specified units.
4302
+ # Corresponds to the JSON property `marginHeader`
4303
+ # @return [Google::Apis::DocsV1::Dimension]
4304
+ attr_accessor :margin_header
4305
+
4306
+ # A magnitude in a single direction in the specified units.
4307
+ # Corresponds to the JSON property `marginLeft`
4308
+ # @return [Google::Apis::DocsV1::Dimension]
4309
+ attr_accessor :margin_left
4310
+
4311
+ # A magnitude in a single direction in the specified units.
4312
+ # Corresponds to the JSON property `marginRight`
4313
+ # @return [Google::Apis::DocsV1::Dimension]
4314
+ attr_accessor :margin_right
4315
+
4316
+ # A magnitude in a single direction in the specified units.
4317
+ # Corresponds to the JSON property `marginTop`
4318
+ # @return [Google::Apis::DocsV1::Dimension]
4319
+ attr_accessor :margin_top
4320
+
4321
+ # Output only. The type of section.
4322
+ # Corresponds to the JSON property `sectionType`
4323
+ # @return [String]
4324
+ attr_accessor :section_type
4325
+
4216
4326
  def initialize(**args)
4217
4327
  update!(**args)
4218
4328
  end
@@ -4222,6 +4332,13 @@ module Google
4222
4332
  @column_properties = args[:column_properties] if args.key?(:column_properties)
4223
4333
  @column_separator_style = args[:column_separator_style] if args.key?(:column_separator_style)
4224
4334
  @content_direction = args[:content_direction] if args.key?(:content_direction)
4335
+ @margin_bottom = args[:margin_bottom] if args.key?(:margin_bottom)
4336
+ @margin_footer = args[:margin_footer] if args.key?(:margin_footer)
4337
+ @margin_header = args[:margin_header] if args.key?(:margin_header)
4338
+ @margin_left = args[:margin_left] if args.key?(:margin_left)
4339
+ @margin_right = args[:margin_right] if args.key?(:margin_right)
4340
+ @margin_top = args[:margin_top] if args.key?(:margin_top)
4341
+ @section_type = args[:section_type] if args.key?(:section_type)
4225
4342
  end
4226
4343
  end
4227
4344
 
@@ -5759,6 +5876,41 @@ module Google
5759
5876
  end
5760
5877
  end
5761
5878
 
5879
+ # Updates the SectionStyle.
5880
+ class UpdateSectionStyleRequest
5881
+ include Google::Apis::Core::Hashable
5882
+
5883
+ # The fields that should be updated.
5884
+ # At least one field must be specified. The root `section_style` is
5885
+ # implied and must not be specified. A single `"*"` can be used as
5886
+ # short-hand for listing every field.
5887
+ # For example to update the left margin, set `fields` to `"margin_left"`.
5888
+ # Corresponds to the JSON property `fields`
5889
+ # @return [String]
5890
+ attr_accessor :fields
5891
+
5892
+ # Specifies a contiguous range of text.
5893
+ # Corresponds to the JSON property `range`
5894
+ # @return [Google::Apis::DocsV1::Range]
5895
+ attr_accessor :range
5896
+
5897
+ # The styling that applies to a section.
5898
+ # Corresponds to the JSON property `sectionStyle`
5899
+ # @return [Google::Apis::DocsV1::SectionStyle]
5900
+ attr_accessor :section_style
5901
+
5902
+ def initialize(**args)
5903
+ update!(**args)
5904
+ end
5905
+
5906
+ # Update properties of this object
5907
+ def update!(**args)
5908
+ @fields = args[:fields] if args.key?(:fields)
5909
+ @range = args[:range] if args.key?(:range)
5910
+ @section_style = args[:section_style] if args.key?(:section_style)
5911
+ end
5912
+ end
5913
+
5762
5914
  # Updates the style of a range of table cells.
5763
5915
  class UpdateTableCellStyleRequest
5764
5916
  include Google::Apis::Core::Hashable