google-api-client 0.22.0 → 0.23.0

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 (79) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +30 -0
  3. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  4. data/generated/google/apis/androidmanagement_v1/classes.rb +1 -2
  5. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  6. data/generated/google/apis/androidpublisher_v2/classes.rb +1 -2
  7. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  8. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -3
  9. data/generated/google/apis/appengine_v1.rb +1 -1
  10. data/generated/google/apis/appengine_v1/classes.rb +59 -1
  11. data/generated/google/apis/appengine_v1/representations.rb +18 -0
  12. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  13. data/generated/google/apis/cloudtasks_v2beta2/service.rb +0 -8
  14. data/generated/google/apis/compute_alpha.rb +1 -1
  15. data/generated/google/apis/compute_alpha/classes.rb +97 -12
  16. data/generated/google/apis/compute_alpha/representations.rb +23 -0
  17. data/generated/google/apis/compute_alpha/service.rb +41 -1
  18. data/generated/google/apis/compute_beta.rb +1 -1
  19. data/generated/google/apis/compute_beta/classes.rb +1616 -43
  20. data/generated/google/apis/compute_beta/representations.rb +685 -20
  21. data/generated/google/apis/compute_beta/service.rb +1286 -0
  22. data/generated/google/apis/compute_v1.rb +1 -1
  23. data/generated/google/apis/compute_v1/classes.rb +184 -3
  24. data/generated/google/apis/compute_v1/representations.rb +43 -0
  25. data/generated/google/apis/compute_v1/service.rb +108 -0
  26. data/generated/google/apis/content_v2.rb +1 -1
  27. data/generated/google/apis/content_v2/classes.rb +805 -102
  28. data/generated/google/apis/content_v2/representations.rb +393 -26
  29. data/generated/google/apis/content_v2/service.rb +242 -0
  30. data/generated/google/apis/content_v2sandbox.rb +1 -1
  31. data/generated/google/apis/content_v2sandbox/classes.rb +703 -0
  32. data/generated/google/apis/content_v2sandbox/representations.rb +367 -0
  33. data/generated/google/apis/content_v2sandbox/service.rb +242 -0
  34. data/generated/google/apis/dlp_v2.rb +1 -1
  35. data/generated/google/apis/dlp_v2/classes.rb +280 -2
  36. data/generated/google/apis/dlp_v2/representations.rb +120 -0
  37. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  38. data/generated/google/apis/genomics_v2alpha1/classes.rb +35 -0
  39. data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
  40. data/generated/google/apis/logging_v2.rb +1 -1
  41. data/generated/google/apis/logging_v2/classes.rb +2 -2
  42. data/generated/google/apis/monitoring_v3.rb +1 -1
  43. data/generated/google/apis/monitoring_v3/classes.rb +7 -0
  44. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  45. data/generated/google/apis/monitoring_v3/service.rb +5 -3
  46. data/generated/google/apis/pagespeedonline_v4.rb +1 -1
  47. data/generated/google/apis/pubsub_v1.rb +1 -1
  48. data/generated/google/apis/pubsub_v1/classes.rb +0 -8
  49. data/generated/google/apis/pubsub_v1/service.rb +4 -8
  50. data/generated/google/apis/script_v1.rb +1 -1
  51. data/generated/google/apis/script_v1/classes.rb +7 -8
  52. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  53. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -27
  54. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -15
  55. data/generated/google/apis/serviceuser_v1.rb +1 -1
  56. data/generated/google/apis/serviceuser_v1/classes.rb +0 -27
  57. data/generated/google/apis/serviceuser_v1/representations.rb +0 -15
  58. data/generated/google/apis/sheets_v4.rb +1 -1
  59. data/generated/google/apis/sheets_v4/service.rb +2 -1
  60. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  61. data/generated/google/apis/tpu_v1.rb +34 -0
  62. data/generated/google/apis/tpu_v1/classes.rb +736 -0
  63. data/generated/google/apis/tpu_v1/representations.rb +316 -0
  64. data/generated/google/apis/tpu_v1/service.rb +687 -0
  65. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  66. data/generated/google/apis/tpu_v1alpha1/classes.rb +26 -0
  67. data/generated/google/apis/tpu_v1alpha1/representations.rb +15 -0
  68. data/generated/google/apis/videointelligence_v1.rb +1 -1
  69. data/generated/google/apis/videointelligence_v1/classes.rb +0 -473
  70. data/generated/google/apis/videointelligence_v1/representations.rb +0 -222
  71. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  72. data/generated/google/apis/videointelligence_v1beta2/classes.rb +0 -473
  73. data/generated/google/apis/videointelligence_v1beta2/representations.rb +0 -222
  74. data/lib/google/apis/version.rb +1 -1
  75. metadata +6 -6
  76. data/generated/google/apis/photoslibrary_v1.rb +0 -49
  77. data/generated/google/apis/photoslibrary_v1/classes.rb +0 -1330
  78. data/generated/google/apis/photoslibrary_v1/representations.rb +0 -625
  79. data/generated/google/apis/photoslibrary_v1/service.rb +0 -399
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 22866da5c1ecb8543d71368e4876570b4266fa22
4
- data.tar.gz: 99be65b9a0049ff7342242557d43429176f6add1
3
+ metadata.gz: a6ea99706b4680e699a5a38a9ee4864865b7fb89
4
+ data.tar.gz: 51341dedfaa6531e6dc5ecdc65e4f3f7c1422782
5
5
  SHA512:
6
- metadata.gz: c970fb490afcae519b2041d73395c353f5f925ba6723631550002ba92b5959084194d0d4ef6458c823bb2871d1885b0d1e633c1201c5c48911f5161d1c5c3d97
7
- data.tar.gz: b94ff0ba92293f5e8b57bf13ee832001d29dd03cc9f1c354ad6416ee7e8f171f0a70bb6272c6fa31a8878f8e8d9d16687e5432d946c7ebdff9afd6702f7e21d9
6
+ metadata.gz: 376b01f59f3b64ac0152510f121ff53a2e05302157180f45df09e699b548fb78158989bd8ef2ee27893832e0c663a016778948996572f677020badd5e6378c5a
7
+ data.tar.gz: 97ad42f6e0fcc9c64fa9bca86b307252d97f51a331748821722aebcc6980f750419f141d16862c0ff7a712bcb2ff2fc429923a0bcc7632ed976671a823003826
@@ -1,3 +1,33 @@
1
+ # 0.23.0
2
+ * Breaking changes:
3
+ * Deleted `photoslibrary_v1`
4
+ * Backwards compatible changes:
5
+ * Added `tpu_v1`
6
+ * Updated `androidmanagement_v1`
7
+ * Updated `androidpublisher_v2`
8
+ * Updated `androidpublisher_v3`
9
+ * Updated `appengine_v1`
10
+ * Updated `cloudtasks_v2beta2`
11
+ * Updated `compute_alpha`
12
+ * Updated `compute_beta`
13
+ * Updated `compute_v1`
14
+ * Updated `content_v2`
15
+ * Updated `content_v2sandbox`
16
+ * Updated `dlp_v2`
17
+ * Updated `genomics_v2alpha1`
18
+ * Updated `logging_v2`
19
+ * Updated `monitoring_v3`
20
+ * Updated `pagespeedonline_v4`
21
+ * Updated `pubsub_v1`
22
+ * Updated `script_v1`
23
+ * Updated `servicemanagement_v1`
24
+ * Updated `serviceuser_v1`
25
+ * Updated `sheets_v4`
26
+ * Updated `storagetransfer_v1`
27
+ * Updated `tpu_v1alpha1`
28
+ * Updated `videointelligence_v1`
29
+ * Updated `videointelligence_v1beta2`
30
+
1
31
  # 0.22.0
2
32
  * Breaking changes:
3
33
  * Deleted `resourceviews_v1beta1`
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/android/management
27
27
  module AndroidmanagementV1
28
28
  VERSION = 'V1'
29
- REVISION = '20180524'
29
+ REVISION = '20180530'
30
30
 
31
31
  # Manage Android devices and apps for your customers
32
32
  AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
@@ -2191,8 +2191,7 @@ module Google
2191
2191
  attr_accessor :usb_file_transfer_disabled
2192
2192
  alias_method :usb_file_transfer_disabled?, :usb_file_transfer_disabled
2193
2193
 
2194
- # Allows admins to toggle whether USB storge is enabled or disabled on user's
2195
- # devices.
2194
+ # Whether USB storage is enabled.
2196
2195
  # Corresponds to the JSON property `usbMassStorageEnabled`
2197
2196
  # @return [Boolean]
2198
2197
  attr_accessor :usb_mass_storage_enabled
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android-publisher
26
26
  module AndroidpublisherV2
27
27
  VERSION = 'V2'
28
- REVISION = '20180515'
28
+ REVISION = '20180528'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -1659,8 +1659,7 @@ module Google
1659
1659
  class Track
1660
1660
  include Google::Apis::Core::Hashable
1661
1661
 
1662
- # Identifier for this track. One of "alpha", "beta", "production", "rollout" or "
1663
- # internal".
1662
+ # Identifier for this track.
1664
1663
  # Corresponds to the JSON property `track`
1665
1664
  # @return [String]
1666
1665
  attr_accessor :track
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android-publisher
26
26
  module AndroidpublisherV3
27
27
  VERSION = 'V3'
28
- REVISION = '20180516'
28
+ REVISION = '20180528'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -1639,8 +1639,7 @@ module Google
1639
1639
  # @return [Array<Google::Apis::AndroidpublisherV3::TrackRelease>]
1640
1640
  attr_accessor :releases
1641
1641
 
1642
- # Identifier for this track. One of "alpha", "beta", "production", "rollout" or "
1643
- # internal".
1642
+ # Identifier for this track.
1644
1643
  # Corresponds to the JSON property `track`
1645
1644
  # @return [String]
1646
1645
  attr_accessor :track
@@ -1677,7 +1676,7 @@ module Google
1677
1676
  # @return [String]
1678
1677
  attr_accessor :status
1679
1678
 
1680
- # Fraction of users who are eligible to receive the release. 0 <= fraction < 1.
1679
+ # Fraction of users who are eligible to receive the release. 0 < fraction < 1.
1681
1680
  # To be set, release status must be "inProgress" or "halted".
1682
1681
  # Corresponds to the JSON property `userFraction`
1683
1682
  # @return [Float]
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/appengine/docs/admin-api/
27
27
  module AppengineV1
28
28
  VERSION = 'V1'
29
- REVISION = '20180511'
29
+ REVISION = '20180525'
30
30
 
31
31
  # View and manage your applications deployed on Google App Engine
32
32
  AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
@@ -236,6 +236,11 @@ module Google
236
236
  # @return [String]
237
237
  attr_accessor :id
238
238
 
239
+ # A certificate managed by App Engine.
240
+ # Corresponds to the JSON property `managedCertificate`
241
+ # @return [Google::Apis::AppengineV1::ManagedCertificate]
242
+ attr_accessor :managed_certificate
243
+
239
244
  # Full path to the AuthorizedCertificate resource in the API. Example: apps/
240
245
  # myapp/authorizedCertificates/12345.@OutputOnly
241
246
  # Corresponds to the JSON property `name`
@@ -265,6 +270,7 @@ module Google
265
270
  @domain_names = args[:domain_names] if args.key?(:domain_names)
266
271
  @expire_time = args[:expire_time] if args.key?(:expire_time)
267
272
  @id = args[:id] if args.key?(:id)
273
+ @managed_certificate = args[:managed_certificate] if args.key?(:managed_certificate)
268
274
  @name = args[:name] if args.key?(:name)
269
275
  @visible_domain_mappings = args[:visible_domain_mappings] if args.key?(:visible_domain_mappings)
270
276
  end
@@ -1583,6 +1589,34 @@ module Google
1583
1589
  end
1584
1590
  end
1585
1591
 
1592
+ # A certificate managed by App Engine.
1593
+ class ManagedCertificate
1594
+ include Google::Apis::Core::Hashable
1595
+
1596
+ # Time at which the certificate was last renewed. The renewal process is fully
1597
+ # managed. Certificate renewal will automatically occur before the certificate
1598
+ # expires. Renewal errors can be tracked via ManagementStatus.@OutputOnly
1599
+ # Corresponds to the JSON property `lastRenewalTime`
1600
+ # @return [String]
1601
+ attr_accessor :last_renewal_time
1602
+
1603
+ # Status of certificate management. Refers to the most recent certificate
1604
+ # acquisition or renewal attempt.@OutputOnly
1605
+ # Corresponds to the JSON property `status`
1606
+ # @return [String]
1607
+ attr_accessor :status
1608
+
1609
+ def initialize(**args)
1610
+ update!(**args)
1611
+ end
1612
+
1613
+ # Update properties of this object
1614
+ def update!(**args)
1615
+ @last_renewal_time = args[:last_renewal_time] if args.key?(:last_renewal_time)
1616
+ @status = args[:status] if args.key?(:status)
1617
+ end
1618
+ end
1619
+
1586
1620
  # A service with manual scaling runs continuously, allowing you to perform
1587
1621
  # complex initialization and rely on the state of its memory over time.
1588
1622
  class ManualScaling
@@ -2310,11 +2344,33 @@ module Google
2310
2344
  include Google::Apis::Core::Hashable
2311
2345
 
2312
2346
  # ID of the AuthorizedCertificate resource configuring SSL for the application.
2313
- # Clearing this field will remove SSL support. Example: 12345.
2347
+ # Clearing this field will remove SSL support.By default, a managed certificate
2348
+ # is automatically created for every domain mapping. To omit SSL support or to
2349
+ # configure SSL manually, specify SslManagementType.MANUAL on a CREATE or UPDATE
2350
+ # request. You must be authorized to administer the AuthorizedCertificate
2351
+ # resource to manually map it to a DomainMapping resource. Example: 12345.
2314
2352
  # Corresponds to the JSON property `certificateId`
2315
2353
  # @return [String]
2316
2354
  attr_accessor :certificate_id
2317
2355
 
2356
+ # ID of the managed AuthorizedCertificate resource currently being provisioned,
2357
+ # if applicable. Until the new managed certificate has been successfully
2358
+ # provisioned, the previous SSL state will be preserved. Once the provisioning
2359
+ # process completes, the certificate_id field will reflect the new managed
2360
+ # certificate and this field will be left empty. To remove SSL support while
2361
+ # there is still a pending managed certificate, clear the certificate_id field
2362
+ # with an UpdateDomainMappingRequest.@OutputOnly
2363
+ # Corresponds to the JSON property `pendingManagedCertificateId`
2364
+ # @return [String]
2365
+ attr_accessor :pending_managed_certificate_id
2366
+
2367
+ # SSL management type for this domain. If AUTOMATIC, a managed certificate is
2368
+ # automatically provisioned. If MANUAL, certificate_id must be manually
2369
+ # specified in order to configure SSL for this domain.
2370
+ # Corresponds to the JSON property `sslManagementType`
2371
+ # @return [String]
2372
+ attr_accessor :ssl_management_type
2373
+
2318
2374
  def initialize(**args)
2319
2375
  update!(**args)
2320
2376
  end
@@ -2322,6 +2378,8 @@ module Google
2322
2378
  # Update properties of this object
2323
2379
  def update!(**args)
2324
2380
  @certificate_id = args[:certificate_id] if args.key?(:certificate_id)
2381
+ @pending_managed_certificate_id = args[:pending_managed_certificate_id] if args.key?(:pending_managed_certificate_id)
2382
+ @ssl_management_type = args[:ssl_management_type] if args.key?(:ssl_management_type)
2325
2383
  end
2326
2384
  end
2327
2385
 
@@ -274,6 +274,12 @@ module Google
274
274
  include Google::Apis::Core::JsonObjectSupport
275
275
  end
276
276
 
277
+ class ManagedCertificate
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
277
283
  class ManualScaling
278
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
285
 
@@ -480,6 +486,8 @@ module Google
480
486
  collection :domain_names, as: 'domainNames'
481
487
  property :expire_time, as: 'expireTime'
482
488
  property :id, as: 'id'
489
+ property :managed_certificate, as: 'managedCertificate', class: Google::Apis::AppengineV1::ManagedCertificate, decorator: Google::Apis::AppengineV1::ManagedCertificate::Representation
490
+
483
491
  property :name, as: 'name'
484
492
  collection :visible_domain_mappings, as: 'visibleDomainMappings'
485
493
  end
@@ -851,6 +859,14 @@ module Google
851
859
  end
852
860
  end
853
861
 
862
+ class ManagedCertificate
863
+ # @private
864
+ class Representation < Google::Apis::Core::JsonRepresentation
865
+ property :last_renewal_time, as: 'lastRenewalTime'
866
+ property :status, as: 'status'
867
+ end
868
+ end
869
+
854
870
  class ManualScaling
855
871
  # @private
856
872
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1026,6 +1042,8 @@ module Google
1026
1042
  # @private
1027
1043
  class Representation < Google::Apis::Core::JsonRepresentation
1028
1044
  property :certificate_id, as: 'certificateId'
1045
+ property :pending_managed_certificate_id, as: 'pendingManagedCertificateId'
1046
+ property :ssl_management_type, as: 'sslManagementType'
1029
1047
  end
1030
1048
  end
1031
1049
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/cloud-tasks/
27
27
  module CloudtasksV2beta2
28
28
  VERSION = 'V2beta2'
29
- REVISION = '20180503'
29
+ REVISION = '20180531'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -611,10 +611,6 @@ module Google
611
611
  # by a later LeaseTasks,
612
612
  # GetTask, or
613
613
  # ListTasks.
614
- # To acknowledge multiple tasks at the same time, use
615
- # [HTTP batching](/storage/docs/json_api/v1/how-tos/batch)
616
- # or the batching documentation for your client library, for example
617
- # https://developers.google.com/api-client-library/python/guide/batch.
618
614
  # @param [String] name
619
615
  # Required.
620
616
  # The task name. For example:
@@ -689,10 +685,6 @@ module Google
689
685
  end
690
686
 
691
687
  # Creates a task and adds it to a queue.
692
- # To add multiple tasks at the same time, use
693
- # [HTTP batching](/storage/docs/json_api/v1/how-tos/batch)
694
- # or the batching documentation for your client library, for example
695
- # https://developers.google.com/api-client-library/python/guide/batch.
696
688
  # Tasks cannot be updated after creation; there is no UpdateTask command.
697
689
  # * For [App Engine queues](google.cloud.tasks.v2beta2.AppEngineHttpTarget),
698
690
  # the maximum task size is 100KB.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeAlpha
27
27
  VERSION = 'Alpha'
28
- REVISION = '20180428'
28
+ REVISION = '20180518'
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'
@@ -1259,6 +1259,17 @@ module Google
1259
1259
  # @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
1260
1260
  attr_accessor :source_image_encryption_key
1261
1261
 
1262
+ # The source snapshot to create this disk. When creating a new instance, one of
1263
+ # initializeParams.sourceSnapshot or disks.source is required except for local
1264
+ # SSD.
1265
+ # To create a disk with a snapshot that you created, specify the snapshot name
1266
+ # in the following format:
1267
+ # global/snapshots/my-backup
1268
+ # If the source snapshot is deleted later, this field will not be set.
1269
+ # Corresponds to the JSON property `sourceSnapshot`
1270
+ # @return [String]
1271
+ attr_accessor :source_snapshot
1272
+
1262
1273
  def initialize(**args)
1263
1274
  update!(**args)
1264
1275
  end
@@ -1272,6 +1283,7 @@ module Google
1272
1283
  @labels = args[:labels] if args.key?(:labels)
1273
1284
  @source_image = args[:source_image] if args.key?(:source_image)
1274
1285
  @source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
1286
+ @source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
1275
1287
  end
1276
1288
  end
1277
1289
 
@@ -2979,6 +2991,12 @@ module Google
2979
2991
  # @return [String]
2980
2992
  attr_accessor :oauth2_client_id
2981
2993
 
2994
+ # [Input Only] OAuth client info required to generate client id to be used for
2995
+ # IAP.
2996
+ # Corresponds to the JSON property `oauth2ClientInfo`
2997
+ # @return [Google::Apis::ComputeAlpha::BackendServiceIapoAuth2ClientInfo]
2998
+ attr_accessor :oauth2_client_info
2999
+
2982
3000
  #
2983
3001
  # Corresponds to the JSON property `oauth2ClientSecret`
2984
3002
  # @return [String]
@@ -2997,11 +3015,44 @@ module Google
2997
3015
  def update!(**args)
2998
3016
  @enabled = args[:enabled] if args.key?(:enabled)
2999
3017
  @oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
3018
+ @oauth2_client_info = args[:oauth2_client_info] if args.key?(:oauth2_client_info)
3000
3019
  @oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret)
3001
3020
  @oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256)
3002
3021
  end
3003
3022
  end
3004
3023
 
3024
+ #
3025
+ class BackendServiceIapoAuth2ClientInfo
3026
+ include Google::Apis::Core::Hashable
3027
+
3028
+ # Application name to be used in OAuth consent screen.
3029
+ # Corresponds to the JSON property `applicationName`
3030
+ # @return [String]
3031
+ attr_accessor :application_name
3032
+
3033
+ # Name of the client to be generated. Optional - If not provided, the name will
3034
+ # be autogenerated by the backend.
3035
+ # Corresponds to the JSON property `clientName`
3036
+ # @return [String]
3037
+ attr_accessor :client_name
3038
+
3039
+ # Developer's information to be used in OAuth consent screen.
3040
+ # Corresponds to the JSON property `developerEmailAddress`
3041
+ # @return [String]
3042
+ attr_accessor :developer_email_address
3043
+
3044
+ def initialize(**args)
3045
+ update!(**args)
3046
+ end
3047
+
3048
+ # Update properties of this object
3049
+ def update!(**args)
3050
+ @application_name = args[:application_name] if args.key?(:application_name)
3051
+ @client_name = args[:client_name] if args.key?(:client_name)
3052
+ @developer_email_address = args[:developer_email_address] if args.key?(:developer_email_address)
3053
+ end
3054
+ end
3055
+
3005
3056
  # Contains a list of BackendService resources.
3006
3057
  class BackendServiceList
3007
3058
  include Google::Apis::Core::Hashable
@@ -3450,9 +3501,8 @@ module Google
3450
3501
  attr_accessor :status_message
3451
3502
 
3452
3503
  # The type of commitment, which affects the discount rate and the eligible
3453
- # resources. Type MEMORY_OPTIMIZED_VM specifies a commitment that will only
3454
- # apply to memory optimized VMs. Type NORMAL specifies a commitment that applies
3455
- # to all other resources.
3504
+ # resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply
3505
+ # to memory optimized machines.
3456
3506
  # Corresponds to the JSON property `type`
3457
3507
  # @return [String]
3458
3508
  attr_accessor :type
@@ -5279,9 +5329,7 @@ module Google
5279
5329
  alias_method :disabled?, :disabled
5280
5330
 
5281
5331
  # This field denotes whether to enable logging for a particular firewall rule.
5282
- # If logging is enabled, logs will be exported to the configured export
5283
- # destination for all firewall logs in the network. Logs may be exported to
5284
- # BigQuery or Pub/Sub.
5332
+ # If logging is enabled, logs will be exported to Stackdriver.
5285
5333
  # Corresponds to the JSON property `enableLogging`
5286
5334
  # @return [Boolean]
5287
5335
  attr_accessor :enable_logging
@@ -9073,6 +9121,11 @@ module Google
9073
9121
  # @return [Google::Apis::ComputeAlpha::ShieldedVmIntegrityPolicy]
9074
9122
  attr_accessor :shielded_vm_integrity_policy
9075
9123
 
9124
+ # Source machine image
9125
+ # Corresponds to the JSON property `sourceMachineImage`
9126
+ # @return [String]
9127
+ attr_accessor :source_machine_image
9128
+
9076
9129
  # [Output Only] Whether a VM has been restricted for start because Compute
9077
9130
  # Engine has detected suspicious activity.
9078
9131
  # Corresponds to the JSON property `startRestricted`
@@ -9135,6 +9188,7 @@ module Google
9135
9188
  @service_accounts = args[:service_accounts] if args.key?(:service_accounts)
9136
9189
  @shielded_vm_config = args[:shielded_vm_config] if args.key?(:shielded_vm_config)
9137
9190
  @shielded_vm_integrity_policy = args[:shielded_vm_integrity_policy] if args.key?(:shielded_vm_integrity_policy)
9191
+ @source_machine_image = args[:source_machine_image] if args.key?(:source_machine_image)
9138
9192
  @start_restricted = args[:start_restricted] if args.key?(:start_restricted)
9139
9193
  @status = args[:status] if args.key?(:status)
9140
9194
  @status_message = args[:status_message] if args.key?(:status_message)
@@ -9662,8 +9716,7 @@ module Google
9662
9716
 
9663
9717
  # Fingerprint of this resource. This field may be used in optimistic locking. It
9664
9718
  # will be ignored when inserting an InstanceGroupManager. An up-to-date
9665
- # fingerprint must be provided in order to update the InstanceGroupManager or
9666
- # the field need to be unset.
9719
+ # fingerprint must be provided in order to update the InstanceGroupManager.
9667
9720
  # Corresponds to the JSON property `fingerprint`
9668
9721
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
9669
9722
  # @return [String]
@@ -16264,6 +16317,11 @@ module Google
16264
16317
  # @return [Array<String>]
16265
16318
  attr_accessor :instances
16266
16319
 
16320
+ # The name of the node.
16321
+ # Corresponds to the JSON property `name`
16322
+ # @return [String]
16323
+ attr_accessor :name
16324
+
16267
16325
  # The type of this node.
16268
16326
  # Corresponds to the JSON property `nodeType`
16269
16327
  # @return [String]
@@ -16277,6 +16335,7 @@ module Google
16277
16335
  def update!(**args)
16278
16336
  @index = args[:index] if args.key?(:index)
16279
16337
  @instances = args[:instances] if args.key?(:instances)
16338
+ @name = args[:name] if args.key?(:name)
16280
16339
  @node_type = args[:node_type] if args.key?(:node_type)
16281
16340
  end
16282
16341
  end
@@ -16309,6 +16368,11 @@ module Google
16309
16368
  # @return [Array<Fixnum>]
16310
16369
  attr_accessor :node_indexes
16311
16370
 
16371
+ #
16372
+ # Corresponds to the JSON property `nodes`
16373
+ # @return [Array<String>]
16374
+ attr_accessor :nodes
16375
+
16312
16376
  def initialize(**args)
16313
16377
  update!(**args)
16314
16378
  end
@@ -16316,6 +16380,7 @@ module Google
16316
16380
  # Update properties of this object
16317
16381
  def update!(**args)
16318
16382
  @node_indexes = args[:node_indexes] if args.key?(:node_indexes)
16383
+ @nodes = args[:nodes] if args.key?(:nodes)
16319
16384
  end
16320
16385
  end
16321
16386
 
@@ -20873,8 +20938,7 @@ module Google
20873
20938
  # @return [String]
20874
20939
  attr_accessor :name
20875
20940
 
20876
- # A list of Nat services created in this router. The maximum number of Nat
20877
- # services within a Router is 3 for Alpha.
20941
+ # A list of Nat services created in this router.
20878
20942
  # Corresponds to the JSON property `nats`
20879
20943
  # @return [Array<Google::Apis::ComputeAlpha::RouterNat>]
20880
20944
  attr_accessor :nats
@@ -22024,7 +22088,7 @@ module Google
22024
22088
  end
22025
22089
 
22026
22090
  # A security policy is comprised of one or more rules. It can also be associated
22027
- # with one or more 'targets'.
22091
+ # with one or more 'targets'. Next available tag: 11
22028
22092
  class SecurityPolicy
22029
22093
  include Google::Apis::Core::Hashable
22030
22094
 
@@ -22062,6 +22126,24 @@ module Google
22062
22126
  # @return [String]
22063
22127
  attr_accessor :kind
22064
22128
 
22129
+ # A fingerprint for the labels being applied to this security policy, which is
22130
+ # essentially a hash of the labels set used for optimistic locking. The
22131
+ # fingerprint is initially generated by Compute Engine and changes after every
22132
+ # request to modify or update labels. You must always provide an up-to-date
22133
+ # fingerprint hash in order to update or change labels.
22134
+ # To see the latest fingerprint, make get() request to the security policy.
22135
+ # Corresponds to the JSON property `labelFingerprint`
22136
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
22137
+ # @return [String]
22138
+ attr_accessor :label_fingerprint
22139
+
22140
+ # Labels to apply to this security policy resource. These can be later modified
22141
+ # by the setLabels method. Each label key/value must comply with RFC1035. Label
22142
+ # values may be empty.
22143
+ # Corresponds to the JSON property `labels`
22144
+ # @return [Hash<String,String>]
22145
+ attr_accessor :labels
22146
+
22065
22147
  # Name of the resource. Provided by the client when the resource is created. The
22066
22148
  # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
22067
22149
  # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
@@ -22096,6 +22178,8 @@ module Google
22096
22178
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
22097
22179
  @id = args[:id] if args.key?(:id)
22098
22180
  @kind = args[:kind] if args.key?(:kind)
22181
+ @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
22182
+ @labels = args[:labels] if args.key?(:labels)
22099
22183
  @name = args[:name] if args.key?(:name)
22100
22184
  @rules = args[:rules] if args.key?(:rules)
22101
22185
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -22578,7 +22662,8 @@ module Google
22578
22662
  # @return [Hash<String,String>]
22579
22663
  attr_accessor :labels
22580
22664
 
22581
- # Integer license codes indicating which licenses are attached to this snapshot.
22665
+ # [Output Only] Integer license codes indicating which licenses are attached to
22666
+ # this snapshot.
22582
22667
  # Corresponds to the JSON property `licenseCodes`
22583
22668
  # @return [Array<Fixnum>]
22584
22669
  attr_accessor :license_codes