google-api-client 0.9.20 → 0.9.21

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 (159) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +8 -4
  3. data/api_names.yaml +33179 -1058
  4. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +24 -6
  7. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +2 -0
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +14 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +2 -0
  11. data/generated/google/apis/adsense_v1_4.rb +1 -1
  12. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  13. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  14. data/generated/google/apis/analyticsreporting_v4/classes.rb +7 -0
  15. data/generated/google/apis/analyticsreporting_v4/representations.rb +1 -0
  16. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  17. data/generated/google/apis/androidenterprise_v1/classes.rb +96 -156
  18. data/generated/google/apis/androidenterprise_v1/representations.rb +18 -47
  19. data/generated/google/apis/androidenterprise_v1/service.rb +15 -459
  20. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  21. data/generated/google/apis/androidpublisher_v2/classes.rb +176 -0
  22. data/generated/google/apis/androidpublisher_v2/representations.rb +62 -0
  23. data/generated/google/apis/androidpublisher_v2/service.rb +60 -2
  24. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  25. data/generated/google/apis/appengine_v1beta5/classes.rb +300 -198
  26. data/generated/google/apis/appengine_v1beta5/representations.rb +36 -0
  27. data/generated/google/apis/appengine_v1beta5/service.rb +54 -49
  28. data/generated/google/apis/appsactivity_v1.rb +1 -1
  29. data/generated/google/apis/appstate_v1.rb +1 -1
  30. data/generated/google/apis/bigquery_v2.rb +1 -1
  31. data/generated/google/apis/bigquery_v2/classes.rb +50 -6
  32. data/generated/google/apis/bigquery_v2/representations.rb +5 -0
  33. data/generated/google/apis/books_v1.rb +1 -1
  34. data/generated/google/apis/books_v1/classes.rb +7 -2
  35. data/generated/google/apis/books_v1/representations.rb +1 -0
  36. data/generated/google/apis/calendar_v3.rb +1 -1
  37. data/generated/google/apis/classroom_v1.rb +1 -1
  38. data/generated/google/apis/classroom_v1/classes.rb +74 -74
  39. data/generated/google/apis/classroom_v1/representations.rb +29 -29
  40. data/generated/google/apis/classroom_v1/service.rb +132 -28
  41. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  42. data/generated/google/apis/cloudbuild_v1/classes.rb +47 -27
  43. data/generated/google/apis/cloudbuild_v1/representations.rb +20 -7
  44. data/generated/google/apis/cloudbuild_v1/service.rb +42 -0
  45. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  46. data/generated/google/apis/clouddebugger_v2/classes.rb +648 -578
  47. data/generated/google/apis/clouddebugger_v2/representations.rb +140 -140
  48. data/generated/google/apis/clouddebugger_v2/service.rb +161 -155
  49. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  50. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +563 -423
  51. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +116 -76
  52. data/generated/google/apis/cloudresourcemanager_v1/service.rb +318 -249
  53. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  54. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +396 -331
  55. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +79 -79
  56. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +317 -281
  57. data/generated/google/apis/compute_beta.rb +1 -1
  58. data/generated/google/apis/compute_beta/classes.rb +352 -80
  59. data/generated/google/apis/compute_beta/representations.rb +132 -19
  60. data/generated/google/apis/compute_beta/service.rb +214 -0
  61. data/generated/google/apis/compute_v1.rb +1 -1
  62. data/generated/google/apis/compute_v1/classes.rb +673 -73
  63. data/generated/google/apis/compute_v1/representations.rb +274 -9
  64. data/generated/google/apis/compute_v1/service.rb +1574 -2
  65. data/generated/google/apis/content_v2.rb +1 -1
  66. data/generated/google/apis/content_v2/classes.rb +7 -8
  67. data/generated/google/apis/content_v2/service.rb +125 -54
  68. data/generated/google/apis/dataflow_v1b3.rb +2 -3
  69. data/generated/google/apis/dataflow_v1b3/classes.rb +286 -114
  70. data/generated/google/apis/dataflow_v1b3/representations.rb +73 -0
  71. data/generated/google/apis/dataflow_v1b3/service.rb +37 -38
  72. data/generated/google/apis/datastore_v1.rb +1 -1
  73. data/generated/google/apis/datastore_v1/classes.rb +5 -0
  74. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  75. data/generated/google/apis/deploymentmanager_v2/classes.rb +37 -5
  76. data/generated/google/apis/deploymentmanager_v2/representations.rb +16 -0
  77. data/generated/google/apis/deploymentmanager_v2/service.rb +4 -1
  78. data/generated/google/apis/dns_v1.rb +1 -1
  79. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  80. data/generated/google/apis/drive_v2.rb +1 -1
  81. data/generated/google/apis/drive_v2/classes.rb +55 -21
  82. data/generated/google/apis/drive_v2/representations.rb +2 -0
  83. data/generated/google/apis/drive_v3.rb +1 -1
  84. data/generated/google/apis/drive_v3/classes.rb +41 -12
  85. data/generated/google/apis/drive_v3/representations.rb +2 -0
  86. data/generated/google/apis/fitness_v1.rb +31 -1
  87. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  88. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  89. data/generated/google/apis/games_management_v1management.rb +1 -1
  90. data/generated/google/apis/games_v1.rb +1 -1
  91. data/generated/google/apis/gmail_v1.rb +1 -1
  92. data/generated/google/apis/gmail_v1/classes.rb +32 -1
  93. data/generated/google/apis/gmail_v1/representations.rb +15 -0
  94. data/generated/google/apis/gmail_v1/service.rb +41 -2
  95. data/generated/google/apis/identitytoolkit_v3.rb +4 -1
  96. data/generated/google/apis/identitytoolkit_v3/classes.rb +7 -0
  97. data/generated/google/apis/identitytoolkit_v3/representations.rb +1 -0
  98. data/generated/google/apis/kgsearch_v1.rb +2 -3
  99. data/generated/google/apis/kgsearch_v1/classes.rb +10 -10
  100. data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
  101. data/generated/google/apis/kgsearch_v1/service.rb +28 -26
  102. data/generated/google/apis/language_v1beta1.rb +1 -1
  103. data/generated/google/apis/language_v1beta1/classes.rb +166 -8
  104. data/generated/google/apis/language_v1beta1/representations.rb +50 -0
  105. data/generated/google/apis/language_v1beta1/service.rb +32 -0
  106. data/generated/google/apis/logging_v2beta1.rb +6 -6
  107. data/generated/google/apis/logging_v2beta1/classes.rb +868 -789
  108. data/generated/google/apis/logging_v2beta1/representations.rb +179 -147
  109. data/generated/google/apis/logging_v2beta1/service.rb +378 -211
  110. data/generated/google/apis/monitoring_v3.rb +1 -1
  111. data/generated/google/apis/monitoring_v3/classes.rb +110 -112
  112. data/generated/google/apis/monitoring_v3/service.rb +68 -73
  113. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  114. data/generated/google/apis/plus_domains_v1.rb +1 -1
  115. data/generated/google/apis/plus_v1.rb +1 -1
  116. data/generated/google/apis/pubsub_v1.rb +1 -1
  117. data/generated/google/apis/pubsub_v1/classes.rb +380 -327
  118. data/generated/google/apis/pubsub_v1/representations.rb +79 -79
  119. data/generated/google/apis/pubsub_v1/service.rb +424 -396
  120. data/generated/google/apis/sheets_v4.rb +1 -1
  121. data/generated/google/apis/sheets_v4/classes.rb +175 -53
  122. data/generated/google/apis/sheets_v4/representations.rb +48 -13
  123. data/generated/google/apis/site_verification_v1.rb +1 -1
  124. data/generated/google/apis/slides_v1.rb +1 -1
  125. data/generated/google/apis/slides_v1/classes.rb +149 -31
  126. data/generated/google/apis/slides_v1/representations.rb +52 -9
  127. data/generated/google/apis/slides_v1/service.rb +5 -5
  128. data/generated/google/apis/speech_v1beta1.rb +1 -1
  129. data/generated/google/apis/speech_v1beta1/service.rb +3 -1
  130. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  131. data/generated/google/apis/sqladmin_v1beta4/classes.rb +54 -2
  132. data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -0
  133. data/generated/google/apis/sqladmin_v1beta4/service.rb +41 -0
  134. data/generated/google/apis/storage_v1.rb +1 -1
  135. data/generated/google/apis/storage_v1/classes.rb +7 -0
  136. data/generated/google/apis/storage_v1/representations.rb +2 -0
  137. data/generated/google/apis/tagmanager_v1.rb +5 -5
  138. data/generated/google/apis/vision_v1.rb +1 -1
  139. data/generated/google/apis/vision_v1/classes.rb +63 -59
  140. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  141. data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
  142. data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
  143. data/generated/google/apis/youtube_analytics_v1/service.rb +0 -76
  144. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  145. data/generated/google/apis/youtube_partner_v1/classes.rb +71 -0
  146. data/generated/google/apis/youtube_partner_v1/representations.rb +33 -0
  147. data/generated/google/apis/youtube_partner_v1/service.rb +52 -0
  148. data/generated/google/apis/youtube_v3.rb +1 -1
  149. data/generated/google/apis/youtube_v3/classes.rb +15 -2
  150. data/generated/google/apis/youtube_v3/representations.rb +3 -0
  151. data/generated/google/apis/youtube_v3/service.rb +4 -4
  152. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  153. data/generated/google/apis/youtubereporting_v1/classes.rb +146 -137
  154. data/generated/google/apis/youtubereporting_v1/representations.rb +33 -33
  155. data/generated/google/apis/youtubereporting_v1/service.rb +149 -145
  156. data/lib/google/apis/version.rb +1 -1
  157. data/samples/cli/lib/samples/calendar.rb +1 -1
  158. data/samples/cli/lib/samples/gmail.rb +74 -0
  159. metadata +29 -29
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeBeta
27
27
  VERSION = 'Beta'
28
- REVISION = '20161019'
28
+ REVISION = '20170118'
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'
@@ -69,7 +69,8 @@ module Google
69
69
  class Address
70
70
  include Google::Apis::Core::Hashable
71
71
 
72
- # The static external IP address represented by this resource.
72
+ # The static external IP address represented by this resource. Only IPv4 is
73
+ # supported.
73
74
  # Corresponds to the JSON property `address`
74
75
  # @return [String]
75
76
  attr_accessor :address
@@ -532,20 +533,25 @@ module Google
532
533
  end
533
534
  end
534
535
 
535
- # Enables "data access" audit logging for a service and specifies a list of
536
- # members that are log-exempted.
536
+ # Provides the configuration for non-admin_activity logging for a service.
537
+ # Controls exemptions and specific log sub-types.
537
538
  class AuditConfig
538
539
  include Google::Apis::Core::Hashable
539
540
 
541
+ # The configuration for each type of logging
542
+ # Corresponds to the JSON property `auditLogConfigs`
543
+ # @return [Array<Google::Apis::ComputeBeta::AuditLogConfig>]
544
+ attr_accessor :audit_log_configs
545
+
540
546
  # Specifies the identities that are exempted from "data access" audit logging
541
547
  # for the `service` specified above. Follows the same format of Binding.members.
542
548
  # Corresponds to the JSON property `exemptedMembers`
543
549
  # @return [Array<String>]
544
550
  attr_accessor :exempted_members
545
551
 
546
- # Specifies a service that will be enabled for "data access" audit logging. For
547
- # example, `resourcemanager`, `storage`, `compute`. `allServices` is a special
548
- # value that covers all services.
552
+ # Specifies a service that will be enabled for audit logging. For example, `
553
+ # resourcemanager`, `storage`, `compute`. `allServices` is a special value that
554
+ # covers all services.
549
555
  # Corresponds to the JSON property `service`
550
556
  # @return [String]
551
557
  attr_accessor :service
@@ -556,11 +562,38 @@ module Google
556
562
 
557
563
  # Update properties of this object
558
564
  def update!(**args)
565
+ @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
559
566
  @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
560
567
  @service = args[:service] if args.key?(:service)
561
568
  end
562
569
  end
563
570
 
571
+ # Provides the configuration for a sub-type of logging.
572
+ class AuditLogConfig
573
+ include Google::Apis::Core::Hashable
574
+
575
+ # Specifies the identities that are exempted from this type of logging Follows
576
+ # the same format of Binding.members.
577
+ # Corresponds to the JSON property `exemptedMembers`
578
+ # @return [Array<String>]
579
+ attr_accessor :exempted_members
580
+
581
+ # The log type that this config enables.
582
+ # Corresponds to the JSON property `logType`
583
+ # @return [String]
584
+ attr_accessor :log_type
585
+
586
+ def initialize(**args)
587
+ update!(**args)
588
+ end
589
+
590
+ # Update properties of this object
591
+ def update!(**args)
592
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
593
+ @log_type = args[:log_type] if args.key?(:log_type)
594
+ end
595
+ end
596
+
564
597
  # Represents an Autoscaler resource. Autoscalers allow you to automatically
565
598
  # scale virtual machine instances in managed instance groups according to an
566
599
  # autoscaling policy that you define. For more information, read Autoscaling
@@ -1255,6 +1288,11 @@ module Google
1255
1288
  # @return [Array<Google::Apis::ComputeBeta::Backend>]
1256
1289
  attr_accessor :backends
1257
1290
 
1291
+ # Message containing Cloud CDN configuration for a backend service.
1292
+ # Corresponds to the JSON property `cdnPolicy`
1293
+ # @return [Google::Apis::ComputeBeta::BackendServiceCdnPolicy]
1294
+ attr_accessor :cdn_policy
1295
+
1258
1296
  # Message containing connection draining configuration.
1259
1297
  # Corresponds to the JSON property `connectionDraining`
1260
1298
  # @return [Google::Apis::ComputeBeta::ConnectionDraining]
@@ -1295,6 +1333,11 @@ module Google
1295
1333
  # @return [Array<String>]
1296
1334
  attr_accessor :health_checks
1297
1335
 
1336
+ # Identity-Aware Proxy (Cloud Gatekeeper)
1337
+ # Corresponds to the JSON property `iap`
1338
+ # @return [Google::Apis::ComputeBeta::BackendServiceIap]
1339
+ attr_accessor :iap
1340
+
1298
1341
  # [Output Only] The unique identifier for the resource. This identifier is
1299
1342
  # defined by the server.
1300
1343
  # Corresponds to the JSON property `id`
@@ -1380,12 +1423,14 @@ module Google
1380
1423
  def update!(**args)
1381
1424
  @affinity_cookie_ttl_sec = args[:affinity_cookie_ttl_sec] if args.key?(:affinity_cookie_ttl_sec)
1382
1425
  @backends = args[:backends] if args.key?(:backends)
1426
+ @cdn_policy = args[:cdn_policy] if args.key?(:cdn_policy)
1383
1427
  @connection_draining = args[:connection_draining] if args.key?(:connection_draining)
1384
1428
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
1385
1429
  @description = args[:description] if args.key?(:description)
1386
1430
  @enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn)
1387
1431
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
1388
1432
  @health_checks = args[:health_checks] if args.key?(:health_checks)
1433
+ @iap = args[:iap] if args.key?(:iap)
1389
1434
  @id = args[:id] if args.key?(:id)
1390
1435
  @kind = args[:kind] if args.key?(:kind)
1391
1436
  @load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
@@ -1443,6 +1488,26 @@ module Google
1443
1488
  end
1444
1489
  end
1445
1490
 
1491
+ # Message containing Cloud CDN configuration for a backend service.
1492
+ class BackendServiceCdnPolicy
1493
+ include Google::Apis::Core::Hashable
1494
+
1495
+ # Message containing what to include in the cache key for a request for Cloud
1496
+ # CDN.
1497
+ # Corresponds to the JSON property `cacheKeyPolicy`
1498
+ # @return [Google::Apis::ComputeBeta::CacheKeyPolicy]
1499
+ attr_accessor :cache_key_policy
1500
+
1501
+ def initialize(**args)
1502
+ update!(**args)
1503
+ end
1504
+
1505
+ # Update properties of this object
1506
+ def update!(**args)
1507
+ @cache_key_policy = args[:cache_key_policy] if args.key?(:cache_key_policy)
1508
+ end
1509
+ end
1510
+
1446
1511
  #
1447
1512
  class BackendServiceGroupHealth
1448
1513
  include Google::Apis::Core::Hashable
@@ -1469,6 +1534,44 @@ module Google
1469
1534
  end
1470
1535
  end
1471
1536
 
1537
+ # Identity-Aware Proxy (Cloud Gatekeeper)
1538
+ class BackendServiceIap
1539
+ include Google::Apis::Core::Hashable
1540
+
1541
+ #
1542
+ # Corresponds to the JSON property `enabled`
1543
+ # @return [Boolean]
1544
+ attr_accessor :enabled
1545
+ alias_method :enabled?, :enabled
1546
+
1547
+ #
1548
+ # Corresponds to the JSON property `oauth2ClientId`
1549
+ # @return [String]
1550
+ attr_accessor :oauth2_client_id
1551
+
1552
+ #
1553
+ # Corresponds to the JSON property `oauth2ClientSecret`
1554
+ # @return [String]
1555
+ attr_accessor :oauth2_client_secret
1556
+
1557
+ #
1558
+ # Corresponds to the JSON property `oauth2ClientSecretSha256`
1559
+ # @return [String]
1560
+ attr_accessor :oauth2_client_secret_sha256
1561
+
1562
+ def initialize(**args)
1563
+ update!(**args)
1564
+ end
1565
+
1566
+ # Update properties of this object
1567
+ def update!(**args)
1568
+ @enabled = args[:enabled] if args.key?(:enabled)
1569
+ @oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
1570
+ @oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret)
1571
+ @oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256)
1572
+ end
1573
+ end
1574
+
1472
1575
  # Contains a list of BackendService resources.
1473
1576
  class BackendServiceList
1474
1577
  include Google::Apis::Core::Hashable
@@ -1669,6 +1772,62 @@ module Google
1669
1772
  end
1670
1773
  end
1671
1774
 
1775
+ # Message containing what to include in the cache key for a request for Cloud
1776
+ # CDN.
1777
+ class CacheKeyPolicy
1778
+ include Google::Apis::Core::Hashable
1779
+
1780
+ # If true, requests to different hosts will be cached separately.
1781
+ # Corresponds to the JSON property `includeHost`
1782
+ # @return [Boolean]
1783
+ attr_accessor :include_host
1784
+ alias_method :include_host?, :include_host
1785
+
1786
+ # If true, http and https requests will be cached separately.
1787
+ # Corresponds to the JSON property `includeProtocol`
1788
+ # @return [Boolean]
1789
+ attr_accessor :include_protocol
1790
+ alias_method :include_protocol?, :include_protocol
1791
+
1792
+ # If true, include query string parameters in the cache key according to
1793
+ # query_string_whitelist and query_string_blacklist. If neither is set, the
1794
+ # entire query string will be included. If false, the query string will be
1795
+ # excluded from the cache key entirely.
1796
+ # Corresponds to the JSON property `includeQueryString`
1797
+ # @return [Boolean]
1798
+ attr_accessor :include_query_string
1799
+ alias_method :include_query_string?, :include_query_string
1800
+
1801
+ # Names of query string parameters to exclude in cache keys. All other
1802
+ # parameters will be included. Either specify query_string_whitelist or
1803
+ # query_string_blacklist, not both. '&' and '=' will be percent encoded and not
1804
+ # treated as delimiters.
1805
+ # Corresponds to the JSON property `queryStringBlacklist`
1806
+ # @return [Array<String>]
1807
+ attr_accessor :query_string_blacklist
1808
+
1809
+ # Names of query string parameters to include in cache keys. All other
1810
+ # parameters will be excluded. Either specify query_string_whitelist or
1811
+ # query_string_blacklist, not both. '&' and '=' will be percent encoded and not
1812
+ # treated as delimiters.
1813
+ # Corresponds to the JSON property `queryStringWhitelist`
1814
+ # @return [Array<String>]
1815
+ attr_accessor :query_string_whitelist
1816
+
1817
+ def initialize(**args)
1818
+ update!(**args)
1819
+ end
1820
+
1821
+ # Update properties of this object
1822
+ def update!(**args)
1823
+ @include_host = args[:include_host] if args.key?(:include_host)
1824
+ @include_protocol = args[:include_protocol] if args.key?(:include_protocol)
1825
+ @include_query_string = args[:include_query_string] if args.key?(:include_query_string)
1826
+ @query_string_blacklist = args[:query_string_blacklist] if args.key?(:query_string_blacklist)
1827
+ @query_string_whitelist = args[:query_string_whitelist] if args.key?(:query_string_whitelist)
1828
+ end
1829
+ end
1830
+
1672
1831
  # A condition to be met.
1673
1832
  class Condition
1674
1833
  include Google::Apis::Core::Hashable
@@ -2640,7 +2799,7 @@ module Google
2640
2799
  # properties are set, the firewall will apply to traffic that has source IP
2641
2800
  # address within sourceRanges OR the source IP that belongs to a tag listed in
2642
2801
  # the sourceTags property. The connection does not need to match both properties
2643
- # for the firewall to apply.
2802
+ # for the firewall to apply. Only IPv4 is supported.
2644
2803
  # Corresponds to the JSON property `sourceRanges`
2645
2804
  # @return [Array<String>]
2646
2805
  attr_accessor :source_ranges
@@ -2780,7 +2939,7 @@ module Google
2780
2939
  # address belonging to the network/subnetwork configured for the forwarding rule.
2781
2940
  # A reserved address cannot be used. If the field is empty, the IP address will
2782
2941
  # be automatically allocated from the internal IP range of the subnetwork or
2783
- # network configured for this forwarding rule.
2942
+ # network configured for this forwarding rule. Only IPv4 is supported.
2784
2943
  # Corresponds to the JSON property `IPAddress`
2785
2944
  # @return [String]
2786
2945
  attr_accessor :ip_address
@@ -3151,7 +3310,9 @@ module Google
3151
3310
  include Google::Apis::Core::Hashable
3152
3311
 
3153
3312
  # The type of supported feature. Currenty only VIRTIO_SCSI_MULTIQUEUE is
3154
- # supported.
3313
+ # supported. For newer Windows images, the server might also populate this
3314
+ # property with the value WINDOWS to indicate that this is a Windows image. This
3315
+ # value is purely informational and does not enable or disable any features.
3155
3316
  # Corresponds to the JSON property `type`
3156
3317
  # @return [String]
3157
3318
  attr_accessor :type
@@ -3166,53 +3327,6 @@ module Google
3166
3327
  end
3167
3328
  end
3168
3329
 
3169
- #
3170
- class Http2HealthCheck
3171
- include Google::Apis::Core::Hashable
3172
-
3173
- # The value of the host header in the HTTP/2 health check request. If left empty
3174
- # (default value), the IP on behalf of which this health check is performed will
3175
- # be used.
3176
- # Corresponds to the JSON property `host`
3177
- # @return [String]
3178
- attr_accessor :host
3179
-
3180
- # The TCP port number for the health check request. The default value is 443.
3181
- # Corresponds to the JSON property `port`
3182
- # @return [Fixnum]
3183
- attr_accessor :port
3184
-
3185
- # Port name as defined in InstanceGroup#NamedPort#name. If both port and
3186
- # port_name are defined, port takes precedence.
3187
- # Corresponds to the JSON property `portName`
3188
- # @return [String]
3189
- attr_accessor :port_name
3190
-
3191
- # Specifies the type of proxy header to append before sending data to the
3192
- # backend, either NONE or PROXY_V1. The default is NONE.
3193
- # Corresponds to the JSON property `proxyHeader`
3194
- # @return [String]
3195
- attr_accessor :proxy_header
3196
-
3197
- # The request path of the HTTP/2 health check request. The default value is /.
3198
- # Corresponds to the JSON property `requestPath`
3199
- # @return [String]
3200
- attr_accessor :request_path
3201
-
3202
- def initialize(**args)
3203
- update!(**args)
3204
- end
3205
-
3206
- # Update properties of this object
3207
- def update!(**args)
3208
- @host = args[:host] if args.key?(:host)
3209
- @port = args[:port] if args.key?(:port)
3210
- @port_name = args[:port_name] if args.key?(:port_name)
3211
- @proxy_header = args[:proxy_header] if args.key?(:proxy_header)
3212
- @request_path = args[:request_path] if args.key?(:request_path)
3213
- end
3214
- end
3215
-
3216
3330
  #
3217
3331
  class HttpHealthCheck
3218
3332
  include Google::Apis::Core::Hashable
@@ -3335,11 +3449,6 @@ module Google
3335
3449
  # @return [Fixnum]
3336
3450
  attr_accessor :healthy_threshold
3337
3451
 
3338
- #
3339
- # Corresponds to the JSON property `http2HealthCheck`
3340
- # @return [Google::Apis::ComputeBeta::Http2HealthCheck]
3341
- attr_accessor :http2_health_check
3342
-
3343
3452
  #
3344
3453
  # Corresponds to the JSON property `httpHealthCheck`
3345
3454
  # @return [Google::Apis::ComputeBeta::HttpHealthCheck]
@@ -3393,13 +3502,18 @@ module Google
3393
3502
  # @return [Fixnum]
3394
3503
  attr_accessor :timeout_sec
3395
3504
 
3396
- # Specifies the type of the healthCheck, either TCP, UDP, SSL, HTTP, HTTPS or
3397
- # HTTP2. If not specified, the default is TCP. Exactly one of the protocol-
3398
- # specific health check field must be specified, which must match type field.
3505
+ # Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not
3506
+ # specified, the default is TCP. Exactly one of the protocol-specific health
3507
+ # check field must be specified, which must match type field.
3399
3508
  # Corresponds to the JSON property `type`
3400
3509
  # @return [String]
3401
3510
  attr_accessor :type
3402
3511
 
3512
+ #
3513
+ # Corresponds to the JSON property `udpHealthCheck`
3514
+ # @return [Google::Apis::ComputeBeta::UdpHealthCheck]
3515
+ attr_accessor :udp_health_check
3516
+
3403
3517
  # A so-far healthy instance will be marked unhealthy after this many consecutive
3404
3518
  # failures. The default value is 2.
3405
3519
  # Corresponds to the JSON property `unhealthyThreshold`
@@ -3416,7 +3530,6 @@ module Google
3416
3530
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
3417
3531
  @description = args[:description] if args.key?(:description)
3418
3532
  @healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
3419
- @http2_health_check = args[:http2_health_check] if args.key?(:http2_health_check)
3420
3533
  @http_health_check = args[:http_health_check] if args.key?(:http_health_check)
3421
3534
  @https_health_check = args[:https_health_check] if args.key?(:https_health_check)
3422
3535
  @id = args[:id] if args.key?(:id)
@@ -3427,6 +3540,7 @@ module Google
3427
3540
  @tcp_health_check = args[:tcp_health_check] if args.key?(:tcp_health_check)
3428
3541
  @timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
3429
3542
  @type = args[:type] if args.key?(:type)
3543
+ @udp_health_check = args[:udp_health_check] if args.key?(:udp_health_check)
3430
3544
  @unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold)
3431
3545
  end
3432
3546
  end
@@ -3921,11 +4035,14 @@ module Google
3921
4035
  attr_accessor :family
3922
4036
 
3923
4037
  # A list of features to enable on the guest OS. Applicable for bootable images
3924
- # only. Currently, only one feature is supported, VIRTIO_SCSCI_MULTIQUEUE, which
3925
- # allows each virtual CPU to have its own queue. For Windows images, you can
3926
- # only enable VIRTIO_SCSCI_MULTIQUEUE on images with driver version 1.2.0.1621
3927
- # or higher. Linux images with kernel versions 3.17 and higher will support
4038
+ # only. Currently, only one feature can be enabled, VIRTIO_SCSCI_MULTIQUEUE,
4039
+ # which allows each virtual CPU to have its own queue. For Windows images, you
4040
+ # can only enable VIRTIO_SCSCI_MULTIQUEUE on images with driver version 1.2.0.
4041
+ # 1621 or higher. Linux images with kernel versions 3.17 and higher will support
3928
4042
  # VIRTIO_SCSCI_MULTIQUEUE.
4043
+ # For new Windows images, the server might also populate this field with the
4044
+ # value WINDOWS, to indicate that this is a Windows image. This value is purely
4045
+ # informational and does not enable or disable any features.
3929
4046
  # Corresponds to the JSON property `guestOsFeatures`
3930
4047
  # @return [Array<Google::Apis::ComputeBeta::GuestOsFeature>]
3931
4048
  attr_accessor :guest_os_features
@@ -3988,8 +4105,8 @@ module Google
3988
4105
  # @return [String]
3989
4106
  attr_accessor :self_link
3990
4107
 
3991
- # URL of the The source disk used to create this image. This can be a full or
3992
- # valid partial URL. You must provide either this property or the rawDisk.source
4108
+ # URL of the source disk used to create this image. This can be a full or valid
4109
+ # partial URL. You must provide either this property or the rawDisk.source
3993
4110
  # property but not both to create an image. For example, the following are valid
3994
4111
  # values:
3995
4112
  # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
@@ -4655,6 +4772,14 @@ module Google
4655
4772
  # @return [String]
4656
4773
  attr_accessor :self_link
4657
4774
 
4775
+ # Service account will be used as credentials for all operations performed by
4776
+ # managed instance group on instances. The service accounts needs all
4777
+ # permissions required to create and delete instances. When not specified, the
4778
+ # service account `projectNumber`@cloudservices.gserviceaccount.com will be used.
4779
+ # Corresponds to the JSON property `serviceAccount`
4780
+ # @return [String]
4781
+ attr_accessor :service_account
4782
+
4658
4783
  # The URLs for all TargetPool resources to which instances in the instanceGroup
4659
4784
  # field are added. The target pools automatically apply to all of the instances
4660
4785
  # in the managed instance group.
@@ -4696,6 +4821,7 @@ module Google
4696
4821
  @named_ports = args[:named_ports] if args.key?(:named_ports)
4697
4822
  @region = args[:region] if args.key?(:region)
4698
4823
  @self_link = args[:self_link] if args.key?(:self_link)
4824
+ @service_account = args[:service_account] if args.key?(:service_account)
4699
4825
  @target_pools = args[:target_pools] if args.key?(:target_pools)
4700
4826
  @target_size = args[:target_size] if args.key?(:target_size)
4701
4827
  @zone = args[:zone] if args.key?(:zone)
@@ -4835,7 +4961,7 @@ module Google
4835
4961
  class InstanceGroupManagerAutoHealingPolicy
4836
4962
  include Google::Apis::Core::Hashable
4837
4963
 
4838
- # The URL for the HealthCheck that signals autohealing.
4964
+ # The URL for the health check that signals autohealing.
4839
4965
  # Corresponds to the JSON property `healthCheck`
4840
4966
  # @return [String]
4841
4967
  attr_accessor :health_check
@@ -5903,6 +6029,31 @@ module Google
5903
6029
  end
5904
6030
  end
5905
6031
 
6032
+ #
6033
+ class InstancesSetServiceAccountRequest
6034
+ include Google::Apis::Core::Hashable
6035
+
6036
+ # Email address of the service account.
6037
+ # Corresponds to the JSON property `email`
6038
+ # @return [String]
6039
+ attr_accessor :email
6040
+
6041
+ # The list of scopes to be made available for this service account.
6042
+ # Corresponds to the JSON property `scopes`
6043
+ # @return [Array<String>]
6044
+ attr_accessor :scopes
6045
+
6046
+ def initialize(**args)
6047
+ update!(**args)
6048
+ end
6049
+
6050
+ # Update properties of this object
6051
+ def update!(**args)
6052
+ @email = args[:email] if args.key?(:email)
6053
+ @scopes = args[:scopes] if args.key?(:scopes)
6054
+ end
6055
+ end
6056
+
5906
6057
  #
5907
6058
  class InstancesStartWithEncryptionKeyRequest
5908
6059
  include Google::Apis::Core::Hashable
@@ -6627,6 +6778,12 @@ module Google
6627
6778
  # @return [Array<Google::Apis::ComputeBeta::AccessConfig>]
6628
6779
  attr_accessor :access_configs
6629
6780
 
6781
+ # [Output Only] Type of the resource. Always compute#networkInterface for
6782
+ # network interfaces.
6783
+ # Corresponds to the JSON property `kind`
6784
+ # @return [String]
6785
+ attr_accessor :kind
6786
+
6630
6787
  # [Output Only] The name of the network interface, generated by the server. For
6631
6788
  # network devices, these are eth0, eth1, etc.
6632
6789
  # Corresponds to the JSON property `name`
@@ -6674,6 +6831,7 @@ module Google
6674
6831
  # Update properties of this object
6675
6832
  def update!(**args)
6676
6833
  @access_configs = args[:access_configs] if args.key?(:access_configs)
6834
+ @kind = args[:kind] if args.key?(:kind)
6677
6835
  @name = args[:name] if args.key?(:name)
6678
6836
  @network = args[:network] if args.key?(:network)
6679
6837
  @network_ip = args[:network_ip] if args.key?(:network_ip)
@@ -7457,6 +7615,27 @@ module Google
7457
7615
  end
7458
7616
  end
7459
7617
 
7618
+ #
7619
+ class ProjectsListXpnHostsRequest
7620
+ include Google::Apis::Core::Hashable
7621
+
7622
+ # Optional organization ID managed by Cloud Resource Manager, for which to list
7623
+ # XPN host projects. If not specified, the organization will be inferred from
7624
+ # the project.
7625
+ # Corresponds to the JSON property `organization`
7626
+ # @return [String]
7627
+ attr_accessor :organization
7628
+
7629
+ def initialize(**args)
7630
+ update!(**args)
7631
+ end
7632
+
7633
+ # Update properties of this object
7634
+ def update!(**args)
7635
+ @organization = args[:organization] if args.key?(:organization)
7636
+ end
7637
+ end
7638
+
7460
7639
  # A quotas entry.
7461
7640
  class Quota
7462
7641
  include Google::Apis::Core::Hashable
@@ -8045,7 +8224,8 @@ module Google
8045
8224
  # @return [String]
8046
8225
  attr_accessor :description
8047
8226
 
8048
- # The destination range of outgoing packets that this route applies to.
8227
+ # The destination range of outgoing packets that this route applies to. Only
8228
+ # IPv4 is supported.
8049
8229
  # Corresponds to the JSON property `destRange`
8050
8230
  # @return [String]
8051
8231
  attr_accessor :dest_range
@@ -8091,6 +8271,7 @@ module Google
8091
8271
  attr_accessor :next_hop_instance
8092
8272
 
8093
8273
  # The network IP address of an instance that should handle matching packets.
8274
+ # Only IPv4 is supported.
8094
8275
  # Corresponds to the JSON property `nextHopIp`
8095
8276
  # @return [String]
8096
8277
  attr_accessor :next_hop_ip
@@ -8439,7 +8620,8 @@ module Google
8439
8620
  # @return [String]
8440
8621
  attr_accessor :interface_name
8441
8622
 
8442
- # IP address of the interface inside Google Cloud Platform.
8623
+ # IP address of the interface inside Google Cloud Platform. Only IPv4 is
8624
+ # supported.
8443
8625
  # Corresponds to the JSON property `ipAddress`
8444
8626
  # @return [String]
8445
8627
  attr_accessor :ip_address
@@ -8456,7 +8638,7 @@ module Google
8456
8638
  # @return [Fixnum]
8457
8639
  attr_accessor :peer_asn
8458
8640
 
8459
- # IP address of the BGP interface outside Google cloud.
8641
+ # IP address of the BGP interface outside Google cloud. Only IPv4 is supported.
8460
8642
  # Corresponds to the JSON property `peerIpAddress`
8461
8643
  # @return [String]
8462
8644
  attr_accessor :peer_ip_address
@@ -9256,7 +9438,7 @@ module Google
9256
9438
  # @return [String]
9257
9439
  attr_accessor :name
9258
9440
 
9259
- # A write-only private key in PEM format. Only insert RPCs will include this
9441
+ # A write-only private key in PEM format. Only insert requests will include this
9260
9442
  # field.
9261
9443
  # Corresponds to the JSON property `privateKey`
9262
9444
  # @return [String]
@@ -9360,7 +9542,8 @@ module Google
9360
9542
 
9361
9543
  # The range of internal addresses that are owned by this subnetwork. Provide
9362
9544
  # this property when you create the subnetwork. For example, 10.0.0.0/8 or 192.
9363
- # 168.0.0/16. Ranges must be unique and non-overlapping within a network.
9545
+ # 168.0.0/16. Ranges must be unique and non-overlapping within a network. Only
9546
+ # IPv4 is supported.
9364
9547
  # Corresponds to the JSON property `ipCidrRange`
9365
9548
  # @return [String]
9366
9549
  attr_accessor :ip_cidr_range
@@ -11215,6 +11398,46 @@ module Google
11215
11398
  end
11216
11399
  end
11217
11400
 
11401
+ #
11402
+ class UdpHealthCheck
11403
+ include Google::Apis::Core::Hashable
11404
+
11405
+ # The UDP port number for the health check request.
11406
+ # Corresponds to the JSON property `port`
11407
+ # @return [Fixnum]
11408
+ attr_accessor :port
11409
+
11410
+ # Port name as defined in InstanceGroup#NamedPort#name. If both port and
11411
+ # port_name are defined, port takes precedence.
11412
+ # Corresponds to the JSON property `portName`
11413
+ # @return [String]
11414
+ attr_accessor :port_name
11415
+
11416
+ # Raw data of request to send in payload of UDP packet. It is an error if this
11417
+ # is empty. The request data can only be ASCII.
11418
+ # Corresponds to the JSON property `request`
11419
+ # @return [String]
11420
+ attr_accessor :request
11421
+
11422
+ # The bytes to match against the beginning of the response data. It is an error
11423
+ # if this is empty. The response data can only be ASCII.
11424
+ # Corresponds to the JSON property `response`
11425
+ # @return [String]
11426
+ attr_accessor :response
11427
+
11428
+ def initialize(**args)
11429
+ update!(**args)
11430
+ end
11431
+
11432
+ # Update properties of this object
11433
+ def update!(**args)
11434
+ @port = args[:port] if args.key?(:port)
11435
+ @port_name = args[:port_name] if args.key?(:port_name)
11436
+ @request = args[:request] if args.key?(:request)
11437
+ @response = args[:response] if args.key?(:response)
11438
+ end
11439
+ end
11440
+
11218
11441
  # A UrlMap resource. This resource defines the mapping from URL to the
11219
11442
  # BackendService resource, based on the "longest-match" of the URL's host and
11220
11443
  # path.
@@ -11564,7 +11787,7 @@ module Google
11564
11787
 
11565
11788
  # Local traffic selector to use when establishing the VPN tunnel with peer VPN
11566
11789
  # gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/
11567
- # 16. The ranges should be disjoint.
11790
+ # 16. The ranges should be disjoint. Only IPv4 is supported.
11568
11791
  # Corresponds to the JSON property `localTrafficSelector`
11569
11792
  # @return [Array<String>]
11570
11793
  attr_accessor :local_traffic_selector
@@ -11579,7 +11802,7 @@ module Google
11579
11802
  # @return [String]
11580
11803
  attr_accessor :name
11581
11804
 
11582
- # IP address of the peer VPN gateway.
11805
+ # IP address of the peer VPN gateway. Only IPv4 is supported.
11583
11806
  # Corresponds to the JSON property `peerIp`
11584
11807
  # @return [String]
11585
11808
  attr_accessor :peer_ip
@@ -11591,7 +11814,7 @@ module Google
11591
11814
 
11592
11815
  # Remote traffic selectors to use when establishing the VPN tunnel with peer VPN
11593
11816
  # gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/
11594
- # 16. The ranges should be disjoint.
11817
+ # 16. The ranges should be disjoint. Only IPv4 is supported.
11595
11818
  # Corresponds to the JSON property `remoteTrafficSelector`
11596
11819
  # @return [Array<String>]
11597
11820
  attr_accessor :remote_traffic_selector
@@ -11841,6 +12064,55 @@ module Google
11841
12064
  end
11842
12065
  end
11843
12066
 
12067
+ #
12068
+ class XpnHostList
12069
+ include Google::Apis::Core::Hashable
12070
+
12071
+ # [Output Only] The unique identifier for the resource. This identifier is
12072
+ # defined by the server.
12073
+ # Corresponds to the JSON property `id`
12074
+ # @return [String]
12075
+ attr_accessor :id
12076
+
12077
+ # [Output Only] A list of XPN host project URLs.
12078
+ # Corresponds to the JSON property `items`
12079
+ # @return [Array<Google::Apis::ComputeBeta::Project>]
12080
+ attr_accessor :items
12081
+
12082
+ # [Output Only] Type of resource. Always compute#xpnHostList for lists of XPN
12083
+ # hosts.
12084
+ # Corresponds to the JSON property `kind`
12085
+ # @return [String]
12086
+ attr_accessor :kind
12087
+
12088
+ # [Output Only] This token allows you to get the next page of results for list
12089
+ # requests. If the number of results is larger than maxResults, use the
12090
+ # nextPageToken as a value for the query parameter pageToken in the next list
12091
+ # request. Subsequent list requests will have their own nextPageToken to
12092
+ # continue paging through the results.
12093
+ # Corresponds to the JSON property `nextPageToken`
12094
+ # @return [String]
12095
+ attr_accessor :next_page_token
12096
+
12097
+ # [Output Only] Server-defined URL for this resource.
12098
+ # Corresponds to the JSON property `selfLink`
12099
+ # @return [String]
12100
+ attr_accessor :self_link
12101
+
12102
+ def initialize(**args)
12103
+ update!(**args)
12104
+ end
12105
+
12106
+ # Update properties of this object
12107
+ def update!(**args)
12108
+ @id = args[:id] if args.key?(:id)
12109
+ @items = args[:items] if args.key?(:items)
12110
+ @kind = args[:kind] if args.key?(:kind)
12111
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
12112
+ @self_link = args[:self_link] if args.key?(:self_link)
12113
+ end
12114
+ end
12115
+
11844
12116
  # A Zone resource.
11845
12117
  class Zone
11846
12118
  include Google::Apis::Core::Hashable