google-api-client 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/README.md +34 -0
  4. data/api_names.yaml +3 -0
  5. data/api_names_out.yaml +1058 -20
  6. data/bin/generate-api +1 -1
  7. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +203 -6
  9. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +78 -0
  10. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +36 -0
  11. data/generated/google/apis/admin_directory_v1.rb +1 -1
  12. data/generated/google/apis/adsense_v1_4.rb +1 -1
  13. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  14. data/generated/google/apis/androidenterprise_v1.rb +2 -3
  15. data/generated/google/apis/androidenterprise_v1/classes.rb +11 -4
  16. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  17. data/generated/google/apis/androidenterprise_v1/service.rb +5 -6
  18. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  19. data/generated/google/apis/androidpublisher_v2/classes.rb +47 -0
  20. data/generated/google/apis/androidpublisher_v2/representations.rb +6 -0
  21. data/generated/google/apis/appengine_v1beta5.rb +2 -3
  22. data/generated/google/apis/appengine_v1beta5/classes.rb +143 -8
  23. data/generated/google/apis/appengine_v1beta5/representations.rb +42 -0
  24. data/generated/google/apis/appengine_v1beta5/service.rb +48 -6
  25. data/generated/google/apis/appstate_v1.rb +1 -1
  26. data/generated/google/apis/bigquery_v2.rb +1 -1
  27. data/generated/google/apis/bigquery_v2/classes.rb +68 -14
  28. data/generated/google/apis/bigquery_v2/representations.rb +30 -0
  29. data/generated/google/apis/books_v1.rb +1 -1
  30. data/generated/google/apis/books_v1/classes.rb +68 -3
  31. data/generated/google/apis/books_v1/representations.rb +21 -0
  32. data/generated/google/apis/calendar_v3.rb +2 -2
  33. data/generated/google/apis/calendar_v3/service.rb +1 -1
  34. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  35. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  36. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  37. data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
  38. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  39. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
  40. data/generated/google/apis/clouduseraccounts_beta.rb +1 -1
  41. data/generated/google/apis/clouduseraccounts_beta/classes.rb +1 -1
  42. data/generated/google/apis/compute_beta.rb +1 -1
  43. data/generated/google/apis/compute_beta/classes.rb +138 -108
  44. data/generated/google/apis/compute_beta/representations.rb +16 -18
  45. data/generated/google/apis/compute_beta/service.rb +52 -2
  46. data/generated/google/apis/compute_v1.rb +1 -1
  47. data/generated/google/apis/compute_v1/classes.rb +55 -74
  48. data/generated/google/apis/compute_v1/representations.rb +14 -18
  49. data/generated/google/apis/compute_v1/service.rb +45 -1
  50. data/generated/google/apis/container_v1.rb +3 -3
  51. data/generated/google/apis/container_v1/classes.rb +200 -42
  52. data/generated/google/apis/container_v1/representations.rb +54 -0
  53. data/generated/google/apis/container_v1/service.rb +31 -30
  54. data/generated/google/apis/content_v2.rb +1 -1
  55. data/generated/google/apis/datastore_v1beta2.rb +2 -2
  56. data/generated/google/apis/datastore_v1beta2/service.rb +1 -1
  57. data/generated/google/apis/deploymentmanager_v2.rb +2 -3
  58. data/generated/google/apis/deploymentmanager_v2/classes.rb +7 -1
  59. data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -0
  60. data/generated/google/apis/deploymentmanager_v2/service.rb +26 -27
  61. data/generated/google/apis/dfareporting_v2_3.rb +2 -2
  62. data/generated/google/apis/dfareporting_v2_3/classes.rb +1 -1
  63. data/generated/google/apis/dfareporting_v2_3/service.rb +2 -2
  64. data/generated/google/apis/dns_v1.rb +1 -1
  65. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  66. data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
  67. data/generated/google/apis/drive_v2.rb +1 -1
  68. data/generated/google/apis/drive_v2/classes.rb +10 -4
  69. data/generated/google/apis/drive_v2/representations.rb +1 -0
  70. data/generated/google/apis/drive_v3.rb +1 -1
  71. data/generated/google/apis/drive_v3/classes.rb +7 -0
  72. data/generated/google/apis/drive_v3/representations.rb +1 -0
  73. data/generated/google/apis/fusiontables_v2.rb +1 -1
  74. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  75. data/generated/google/apis/games_management_v1management.rb +1 -1
  76. data/generated/google/apis/games_v1.rb +1 -1
  77. data/generated/google/apis/genomics_v1.rb +2 -2
  78. data/generated/google/apis/genomics_v1/classes.rb +770 -82
  79. data/generated/google/apis/genomics_v1/representations.rb +287 -24
  80. data/generated/google/apis/genomics_v1/service.rb +412 -13
  81. data/generated/google/apis/gmail_v1.rb +1 -1
  82. data/generated/google/apis/groupssettings_v1.rb +1 -1
  83. data/generated/google/apis/groupssettings_v1/classes.rb +13 -6
  84. data/generated/google/apis/groupssettings_v1/representations.rb +1 -0
  85. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  86. data/generated/google/apis/identitytoolkit_v3/classes.rb +50 -0
  87. data/generated/google/apis/identitytoolkit_v3/representations.rb +10 -0
  88. data/generated/google/apis/logging_v2beta1.rb +2 -3
  89. data/generated/google/apis/logging_v2beta1/classes.rb +219 -63
  90. data/generated/google/apis/logging_v2beta1/representations.rb +24 -1
  91. data/generated/google/apis/logging_v2beta1/service.rb +25 -32
  92. data/generated/google/apis/oauth2_v2.rb +2 -2
  93. data/generated/google/apis/oauth2_v2/service.rb +1 -1
  94. data/generated/google/apis/plus_domains_v1.rb +1 -1
  95. data/generated/google/apis/plus_v1.rb +1 -1
  96. data/generated/google/apis/pubsub_v1.rb +1 -1
  97. data/generated/google/apis/pubsub_v1/classes.rb +20 -12
  98. data/generated/google/apis/pubsub_v1/service.rb +32 -35
  99. data/generated/google/apis/reseller_v1.rb +1 -1
  100. data/generated/google/apis/reseller_v1/classes.rb +23 -9
  101. data/generated/google/apis/reseller_v1/representations.rb +2 -0
  102. data/generated/google/apis/sheets_v1.rb +43 -0
  103. data/generated/google/apis/sheets_v1/classes.rb +4542 -0
  104. data/generated/google/apis/sheets_v1/representations.rb +1703 -0
  105. data/generated/google/apis/sheets_v1/service.rb +363 -0
  106. data/generated/google/apis/sqladmin_v1beta4.rb +3 -2
  107. data/generated/google/apis/sqladmin_v1beta4/classes.rb +4 -3
  108. data/generated/google/apis/sqladmin_v1beta4/service.rb +2 -1
  109. data/generated/google/apis/storage_v1.rb +1 -1
  110. data/generated/google/apis/vision_v1.rb +2 -2
  111. data/generated/google/apis/vision_v1/classes.rb +11 -11
  112. data/generated/google/apis/vision_v1/service.rb +1 -1
  113. data/generated/google/apis/webmasters_v3.rb +2 -2
  114. data/generated/google/apis/webmasters_v3/classes.rb +7 -0
  115. data/generated/google/apis/webmasters_v3/representations.rb +1 -0
  116. data/generated/google/apis/webmasters_v3/service.rb +1 -1
  117. data/generated/google/apis/youtube_partner_v1.rb +37 -0
  118. data/generated/google/apis/youtube_partner_v1/classes.rb +3656 -0
  119. data/generated/google/apis/youtube_partner_v1/representations.rb +1452 -0
  120. data/generated/google/apis/youtube_partner_v1/service.rb +3165 -0
  121. data/generated/google/apis/youtube_v3.rb +3 -2
  122. data/generated/google/apis/youtube_v3/classes.rb +100 -3
  123. data/generated/google/apis/youtube_v3/representations.rb +50 -0
  124. data/generated/google/apis/youtube_v3/service.rb +2 -1
  125. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  126. data/generated/google/apis/youtubereporting_v1/classes.rb +17 -0
  127. data/generated/google/apis/youtubereporting_v1/representations.rb +2 -0
  128. data/generated/google/apis/youtubereporting_v1/service.rb +21 -3
  129. data/google-api-client.gemspec +2 -0
  130. data/lib/google/apis.rb +12 -2
  131. data/lib/google/apis/version.rb +1 -1
  132. data/script/generate +5 -2
  133. data/spec/google/apis/logging_spec.rb +55 -0
  134. metadata +12 -4
@@ -520,6 +520,12 @@ module Google
520
520
  include Google::Apis::Core::JsonObjectSupport
521
521
  end
522
522
 
523
+ class FamilySharing
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
523
529
  class RentalPeriod
524
530
  class Representation < Google::Apis::Core::JsonRepresentation; end
525
531
 
@@ -1188,6 +1194,9 @@ module Google
1188
1194
  # @private
1189
1195
  class Representation < Google::Apis::Core::JsonRepresentation
1190
1196
  property :body, as: 'body'
1197
+ collection :crm_experiment_ids, as: 'crmExperimentIds'
1198
+ property :doc_id, as: 'doc_id'
1199
+ property :doc_type, as: 'doc_type'
1191
1200
  property :dont_show_notification, as: 'dont_show_notification'
1192
1201
  property :icon_url, as: 'iconUrl'
1193
1202
  property :kind, as: 'kind'
@@ -1529,9 +1538,12 @@ module Google
1529
1538
  property :copy, as: 'copy', class: Google::Apis::BooksV1::Volume::UserInfo::Copy, decorator: Google::Apis::BooksV1::Volume::UserInfo::Copy::Representation
1530
1539
 
1531
1540
  property :entitlement_type, as: 'entitlementType'
1541
+ property :family_sharing, as: 'familySharing', class: Google::Apis::BooksV1::Volume::UserInfo::FamilySharing, decorator: Google::Apis::BooksV1::Volume::UserInfo::FamilySharing::Representation
1542
+
1532
1543
  property :is_family_shared_from_user, as: 'isFamilySharedFromUser'
1533
1544
  property :is_family_shared_to_user, as: 'isFamilySharedToUser'
1534
1545
  property :is_family_sharing_allowed, as: 'isFamilySharingAllowed'
1546
+ property :is_family_sharing_disabled_by_fop, as: 'isFamilySharingDisabledByFop'
1535
1547
  property :is_in_my_books, as: 'isInMyBooks'
1536
1548
  property :is_preordered, as: 'isPreordered'
1537
1549
  property :is_purchased, as: 'isPurchased'
@@ -1560,6 +1572,15 @@ module Google
1560
1572
  end
1561
1573
  end
1562
1574
 
1575
+ class FamilySharing
1576
+ # @private
1577
+ class Representation < Google::Apis::Core::JsonRepresentation
1578
+ property :family_role, as: 'familyRole'
1579
+ property :is_sharing_allowed, as: 'isSharingAllowed'
1580
+ property :is_sharing_disabled_by_fop, as: 'isSharingDisabledByFop'
1581
+ end
1582
+ end
1583
+
1563
1584
  class RentalPeriod
1564
1585
  # @private
1565
1586
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -20,12 +20,12 @@ module Google
20
20
  module Apis
21
21
  # Calendar API
22
22
  #
23
- # Lets you manipulate events and other calendar data.
23
+ # Manipulates events and other calendar data.
24
24
  #
25
25
  # @see https://developers.google.com/google-apps/calendar/firstapp
26
26
  module CalendarV3
27
27
  VERSION = 'V3'
28
- REVISION = '20160306'
28
+ REVISION = '20160410'
29
29
 
30
30
  # Manage your calendars
31
31
  AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
@@ -22,7 +22,7 @@ module Google
22
22
  module CalendarV3
23
23
  # Calendar API
24
24
  #
25
- # Lets you manipulate events and other calendar data.
25
+ # Manipulates events and other calendar data.
26
26
  #
27
27
  # @example
28
28
  # require 'google/apis/calendar_v3'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/container-builder/docs/
26
26
  module CloudbuildV1
27
27
  VERSION = 'V1'
28
- REVISION = '20160310'
28
+ REVISION = '20160413'
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'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/monitoring/v2beta2/
26
26
  module CloudmonitoringV2beta2
27
27
  VERSION = 'V2beta2'
28
- REVISION = '20160228'
28
+ REVISION = '20160403'
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'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/resource-manager
27
27
  module CloudresourcemanagerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20160225'
29
+ REVISION = '20160316'
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'
@@ -29,10 +29,10 @@ module Google
29
29
  # require 'google/apis/cloudresourcemanager_v1'
30
30
  #
31
31
  # Cloudresourcemanager = Google::Apis::CloudresourcemanagerV1 # Alias the module
32
- # service = Cloudresourcemanager::CloudresourcemanagerService.new
32
+ # service = Cloudresourcemanager::CloudResourceManagerService.new
33
33
  #
34
34
  # @see https://cloud.google.com/resource-manager
35
- class CloudresourcemanagerService < Google::Apis::Core::BaseService
35
+ class CloudResourceManagerService < Google::Apis::Core::BaseService
36
36
  # @return [String]
37
37
  # API key. Your API key identifies your project and provides you with API access,
38
38
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/resource-manager
27
27
  module CloudresourcemanagerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20160225'
29
+ REVISION = '20160316'
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'
@@ -29,10 +29,10 @@ module Google
29
29
  # require 'google/apis/cloudresourcemanager_v1beta1'
30
30
  #
31
31
  # Cloudresourcemanager = Google::Apis::CloudresourcemanagerV1beta1 # Alias the module
32
- # service = Cloudresourcemanager::CloudresourcemanagerService.new
32
+ # service = Cloudresourcemanager::CloudResourceManagerService.new
33
33
  #
34
34
  # @see https://cloud.google.com/resource-manager
35
- class CloudresourcemanagerService < Google::Apis::Core::BaseService
35
+ class CloudResourceManagerService < Google::Apis::Core::BaseService
36
36
  # @return [String]
37
37
  # API key. Your API key identifies your project and provides you with API access,
38
38
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/compute/docs/access/user-accounts/api/latest/
27
27
  module ClouduseraccountsBeta
28
28
  VERSION = 'Beta'
29
- REVISION = '20160301'
29
+ REVISION = '20160316'
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'
@@ -401,7 +401,7 @@ module Google
401
401
  # @return [String]
402
402
  attr_accessor :insert_time
403
403
 
404
- # [Output Only] Type of the resource. Always compute#operation for operation
404
+ # [Output Only] Type of the resource. Always compute#operation for Operation
405
405
  # resources.
406
406
  # Corresponds to the JSON property `kind`
407
407
  # @return [String]
@@ -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 = '20160302'
28
+ REVISION = '20160407'
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'
@@ -485,16 +485,21 @@ module Google
485
485
  # @return [String]
486
486
  attr_accessor :disk_type
487
487
 
488
- # A source image used to create the disk. You can provide a private (custom)
489
- # image, and Compute Engine will use the corresponding image from your project.
490
- # For example:
488
+ # The source image used to create this disk. If the source image is deleted,
489
+ # this field will not be set.
490
+ # To create a disk with one of the public operating system images, specify the
491
+ # image by its family name. For example, specify family/debian-8 to use the
492
+ # latest Debian 8 image:
493
+ # projects/debian-cloud/global/images/family/debian-8
494
+ # Alternatively, use a specific version of a public operating system image:
495
+ # projects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD
496
+ # To create a disk with a private image that you created, specify the image name
497
+ # in the following format:
491
498
  # global/images/my-private-image
492
- # Or you can provide an image from a publicly-available project. For example, to
493
- # use a Debian image from the debian-cloud project, make sure to include the
494
- # project in the URL:
495
- # projects/debian-cloud/global/images/debian-7-wheezy-vYYYYMMDD
496
- # where vYYYYMMDD is the image version. The fully-qualified URL will also work
497
- # in both cases.
499
+ # You can also specify a private image by its image family, which returns the
500
+ # latest version of the image in that family. Replace the image name with family/
501
+ # family-name:
502
+ # global/images/family/my-private-family
498
503
  # Corresponds to the JSON property `sourceImage`
499
504
  # @return [String]
500
505
  attr_accessor :source_image
@@ -1092,6 +1097,12 @@ module Google
1092
1097
  # @return [String]
1093
1098
  attr_accessor :protocol
1094
1099
 
1100
+ # [Output Only] URL of the region where the regional backend service resides.
1101
+ # This field is not applicable to global backend services.
1102
+ # Corresponds to the JSON property `region`
1103
+ # @return [String]
1104
+ attr_accessor :region
1105
+
1095
1106
  # [Output Only] Server-defined URL for the resource.
1096
1107
  # Corresponds to the JSON property `selfLink`
1097
1108
  # @return [String]
@@ -1121,6 +1132,7 @@ module Google
1121
1132
  @port = args[:port] if args.key?(:port)
1122
1133
  @port_name = args[:port_name] if args.key?(:port_name)
1123
1134
  @protocol = args[:protocol] if args.key?(:protocol)
1135
+ @region = args[:region] if args.key?(:region)
1124
1136
  @self_link = args[:self_link] if args.key?(:self_link)
1125
1137
  @timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
1126
1138
  end
@@ -1346,16 +1358,20 @@ module Google
1346
1358
  # A fingerprint for the labels being applied to this disk, which is essentially
1347
1359
  # a hash of the labels set used for optimistic locking. The fingerprint is
1348
1360
  # initially generated by Compute Engine and changes after every request to
1349
- # modify or update metadata. You must always provide an up-to-date fingerprint
1361
+ # modify or update labels. You must always provide an up-to-date fingerprint
1350
1362
  # hash in order to update or change labels.
1351
- # To see the latest fingerprint, make get() request to the disk.
1363
+ # To see the latest fingerprint, make a get() request to retrieve a disk.
1352
1364
  # Corresponds to the JSON property `labelFingerprint`
1353
1365
  # @return [String]
1354
1366
  attr_accessor :label_fingerprint
1355
1367
 
1356
- # Labels to apply to this disk. These can be later modified by the setLabels
1357
- # method. Each label key & value must comply with RFC1035. Label values may be
1358
- # empty.
1368
+ # Labels to apply to this disk. These can be later modified by the setLabels()
1369
+ # method. Each label key & value must comply with RFC1035. Specifically, the
1370
+ # name must be 1-63 characters long and match the regular expression [a-z]([-a-
1371
+ # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
1372
+ # and all following characters must be a dash, lowercase letter, or digit,
1373
+ # except the last character, which cannot be a dash. A label value can also be
1374
+ # empty (e.g. "example-label": "").
1359
1375
  # Corresponds to the JSON property `labels`
1360
1376
  # @return [Hash<String,String>]
1361
1377
  attr_accessor :labels
@@ -1405,26 +1421,21 @@ module Google
1405
1421
  # @return [String]
1406
1422
  attr_accessor :size_gb
1407
1423
 
1408
- # The source image used to create this disk. If the source image is deleted from
1409
- # the system, this field will not be set, even if an image with the same name
1410
- # has been re-created.
1411
- # When creating a disk, you can provide a private (custom) image using the
1412
- # following input, and Compute Engine will use the corresponding image from your
1413
- # project. For example:
1424
+ # The source image used to create this disk. If the source image is deleted,
1425
+ # this field will not be set.
1426
+ # To create a disk with one of the public operating system images, specify the
1427
+ # image by its family name. For example, specify family/debian-8 to use the
1428
+ # latest Debian 8 image:
1429
+ # projects/debian-cloud/global/images/family/debian-8
1430
+ # Alternatively, use a specific version of a public operating system image:
1431
+ # projects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD
1432
+ # To create a disk with a private image that you created, specify the image name
1433
+ # in the following format:
1414
1434
  # global/images/my-private-image
1415
- # Or you can provide an image from a publicly-available project. For example, to
1416
- # use a Debian image from the debian-cloud project, make sure to include the
1417
- # project in the URL:
1418
- # projects/debian-cloud/global/images/debian-7-wheezy-vYYYYMMDD
1419
- # where vYYYYMMDD is the image version. The fully-qualified URL will also work
1420
- # in both cases.
1421
- # You can also specify the latest image for a private image family by replacing
1422
- # the image name suffix with family/family-name. For example:
1435
+ # You can also specify a private image by its image family, which returns the
1436
+ # latest version of the image in that family. Replace the image name with family/
1437
+ # family-name:
1423
1438
  # global/images/family/my-private-family
1424
- # Or you can specify an image family from a publicly-available project. For
1425
- # example, to use the latest Debian 7 from the debian-cloud project, make sure
1426
- # to include the project in the URL:
1427
- # projects/debian-cloud/global/images/family/debian-7
1428
1439
  # Corresponds to the JSON property `sourceImage`
1429
1440
  # @return [String]
1430
1441
  attr_accessor :source_image
@@ -2478,13 +2489,16 @@ module Google
2478
2489
  class GlobalSetLabelsRequest
2479
2490
  include Google::Apis::Core::Hashable
2480
2491
 
2481
- # Fingerprint of the previous set of labels for this resource, used to detect
2482
- # conflicts.
2492
+ # The fingerprint of the previous set of labels for this resource, used to
2493
+ # detect conflicts. The fingerprint is initially generated by Compute Engine and
2494
+ # changes after every request to modify or update labels. You must always
2495
+ # provide an up-to-date fingerprint hash when updating or changing labels. Make
2496
+ # a get() request to the resource to get the latest fingerprint.
2483
2497
  # Corresponds to the JSON property `labelFingerprint`
2484
2498
  # @return [String]
2485
2499
  attr_accessor :label_fingerprint
2486
2500
 
2487
- # The new labels for the resource.
2501
+ # The labels to set for this resource.
2488
2502
  # Corresponds to the JSON property `labels`
2489
2503
  # @return [Hash<String,String>]
2490
2504
  attr_accessor :labels
@@ -2933,8 +2947,9 @@ module Google
2933
2947
  # @return [String]
2934
2948
  attr_accessor :disk_size_gb
2935
2949
 
2936
- # Image family for the resource; provided by the client when the resource is
2937
- # created.
2950
+ # The name of the image family to which this image belongs. You can create disks
2951
+ # by specifying an image family instead of a specific image name. The image
2952
+ # family always returns its latest image that is not deprecated.
2938
2953
  # Corresponds to the JSON property `family`
2939
2954
  # @return [String]
2940
2955
  attr_accessor :family
@@ -2956,18 +2971,22 @@ module Google
2956
2971
  attr_accessor :kind
2957
2972
 
2958
2973
  # A fingerprint for the labels being applied to this image, which is essentially
2959
- # a hash of the labels set used for optimistic locking. The fingerprint is
2960
- # initially generated by Compute Engine and changes after every request to
2961
- # modify or update metadata. You must always provide an up-to-date fingerprint
2962
- # hash in order to update or change labels.
2963
- # To see the latest fingerprint, make get() request to retrieve the image.
2974
+ # a hash of the labels used for optimistic locking. The fingerprint is initially
2975
+ # generated by Compute Engine and changes after every request to modify or
2976
+ # update labels. You must always provide an up-to-date fingerprint hash in order
2977
+ # to update or change labels.
2978
+ # To see the latest fingerprint, make a get() request to retrieve an image.
2964
2979
  # Corresponds to the JSON property `labelFingerprint`
2965
2980
  # @return [String]
2966
2981
  attr_accessor :label_fingerprint
2967
2982
 
2968
- # Labels to apply to this image. These can be later modified by the setLabels
2969
- # method. Each label key & value must comply with RFC1035. Label values may be
2970
- # empty.
2983
+ # Labels to apply to this image. These can be later modified by the setLabels()
2984
+ # method. Each label key & value must comply with RFC1035. Specifically, the
2985
+ # name must be 1-63 characters long and match the regular expression [a-z]([-a-
2986
+ # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
2987
+ # and all following characters must be a dash, lowercase letter, or digit,
2988
+ # except the last character, which cannot be a dash. A label value can also be
2989
+ # empty (e.g. "example-label": "").
2971
2990
  # Corresponds to the JSON property `labels`
2972
2991
  # @return [Hash<String,String>]
2973
2992
  attr_accessor :labels
@@ -3706,6 +3725,14 @@ module Google
3706
3725
  # @return [Fixnum]
3707
3726
  attr_accessor :creating
3708
3727
 
3728
+ # [Output Only] The number of instances that the managed instance group will
3729
+ # attempt to create. The group attempts to create each instance only once. If
3730
+ # the group fails to create one of these instances, it decreases the group's
3731
+ # target_size value accordingly.
3732
+ # Corresponds to the JSON property `creatingWithoutRetries`
3733
+ # @return [Fixnum]
3734
+ attr_accessor :creating_without_retries
3735
+
3709
3736
  # [Output Only] The number of instances in the managed instance group that are
3710
3737
  # scheduled to be deleted or are currently being deleted.
3711
3738
  # Corresponds to the JSON property `deleting`
@@ -3747,6 +3774,7 @@ module Google
3747
3774
  def update!(**args)
3748
3775
  @abandoning = args[:abandoning] if args.key?(:abandoning)
3749
3776
  @creating = args[:creating] if args.key?(:creating)
3777
+ @creating_without_retries = args[:creating_without_retries] if args.key?(:creating_without_retries)
3750
3778
  @deleting = args[:deleting] if args.key?(:deleting)
3751
3779
  @none = args[:none] if args.key?(:none)
3752
3780
  @recreating = args[:recreating] if args.key?(:recreating)
@@ -3960,6 +3988,46 @@ module Google
3960
3988
  end
3961
3989
  end
3962
3990
 
3991
+ #
3992
+ class InstanceGroupManagersResizeAdvancedRequest
3993
+ include Google::Apis::Core::Hashable
3994
+
3995
+ # If this flag is true, we will attempt to create all instances resized up with
3996
+ # this request only once. In case of an error during creation, we will not
3997
+ # create this instance, and we will decrease the target_size. If the flag is
3998
+ # false, we will keep trying to create each instance until we succeed.
3999
+ # This flag matters only in the first attempt of creation of an instance. If an
4000
+ # instance creation with this flag succeeds, the instance behaves the same way
4001
+ # as all the other instances created with the flag set to false. In particular,
4002
+ # consecutive instance creations (in case an instance dies and needs to be
4003
+ # recreated) will not fail after the first attempt.
4004
+ # This flag is applicable only to the current resize request. It does not
4005
+ # influence other resize requests in any way.
4006
+ # You can see which instances is being creating in which mode by calling the
4007
+ # listManagedInstances API.
4008
+ # Corresponds to the JSON property `noCreationRetries`
4009
+ # @return [Boolean]
4010
+ attr_accessor :no_creation_retries
4011
+ alias_method :no_creation_retries?, :no_creation_retries
4012
+
4013
+ # The number of running instances that the managed instance group should
4014
+ # maintain at any given time. The group automatically adds or removes instances
4015
+ # to maintain the number of instances specified by this parameter.
4016
+ # Corresponds to the JSON property `targetSize`
4017
+ # @return [Fixnum]
4018
+ attr_accessor :target_size
4019
+
4020
+ def initialize(**args)
4021
+ update!(**args)
4022
+ end
4023
+
4024
+ # Update properties of this object
4025
+ def update!(**args)
4026
+ @no_creation_retries = args[:no_creation_retries] if args.key?(:no_creation_retries)
4027
+ @target_size = args[:target_size] if args.key?(:target_size)
4028
+ end
4029
+ end
4030
+
3963
4031
  #
3964
4032
  class InstanceGroupManagersScopedList
3965
4033
  include Google::Apis::Core::Hashable
@@ -5591,7 +5659,7 @@ module Google
5591
5659
  # @return [String]
5592
5660
  attr_accessor :insert_time
5593
5661
 
5594
- # [Output Only] Type of the resource. Always compute#operation for operation
5662
+ # [Output Only] Type of the resource. Always compute#operation for Operation
5595
5663
  # resources.
5596
5664
  # Corresponds to the JSON property `kind`
5597
5665
  # @return [String]
@@ -6729,10 +6797,9 @@ module Google
6729
6797
  class RouterBgp
6730
6798
  include Google::Apis::Core::Hashable
6731
6799
 
6732
- # Local BGP Autonomous System Number (ASN). Can be a constant public ASN value
6733
- # for Google, or a customer-specified private ASN. In either case, the value
6734
- # will be fixed for this router resource. All VPN tunnels that link to this
6735
- # router will have the same local ASN.
6800
+ # Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN,
6801
+ # either 16-bit or 32-bit. The value will be fixed for this router resource. All
6802
+ # VPN tunnels that link to this router will have the same local ASN.
6736
6803
  # Corresponds to the JSON property `asn`
6737
6804
  # @return [Fixnum]
6738
6805
  attr_accessor :asn
@@ -6807,9 +6874,10 @@ module Google
6807
6874
  class RouterInterface
6808
6875
  include Google::Apis::Core::Hashable
6809
6876
 
6810
- # IP address and range of the interface. The value should be a CIDR-formatted
6811
- # string, for example: 169.254.0.1/30. NOTE: Do NOT truncate address, as it
6812
- # represents IP address of interface.
6877
+ # IP address and range of the interface. The IP range must be in the RFC3927
6878
+ # link-local IP space. The value must be a CIDR-formatted string, for example:
6879
+ # 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP
6880
+ # address of the interface.
6813
6881
  # Corresponds to the JSON property `ipRange`
6814
6882
  # @return [String]
6815
6883
  attr_accessor :ip_range
@@ -6936,7 +7004,7 @@ module Google
6936
7004
  # @return [String]
6937
7005
  attr_accessor :linked_vpn_tunnel
6938
7006
 
6939
- # Name of this BGP peer. Unique within the routes resource.
7007
+ # Name of this BGP peer. Unique within the Routers resource.
6940
7008
  # Corresponds to the JSON property `name`
6941
7009
  # @return [String]
6942
7010
  attr_accessor :name
@@ -7254,16 +7322,20 @@ module Google
7254
7322
  # A fingerprint for the labels being applied to this snapshot, which is
7255
7323
  # essentially a hash of the labels set used for optimistic locking. The
7256
7324
  # fingerprint is initially generated by Compute Engine and changes after every
7257
- # request to modify or update metadata. You must always provide an up-to-date
7325
+ # request to modify or update labels. You must always provide an up-to-date
7258
7326
  # fingerprint hash in order to update or change labels.
7259
- # To see the latest fingerprint, make get() request to the snapshot.
7327
+ # To see the latest fingerprint, make a get() request to retrieve a snapshot.
7260
7328
  # Corresponds to the JSON property `labelFingerprint`
7261
7329
  # @return [String]
7262
7330
  attr_accessor :label_fingerprint
7263
7331
 
7264
- # Labels to apply to this snapshot. These can be later modified by the setLabels
7265
- # method. Each label key & value must comply with RFC1035. Label values may be
7266
- # empty.
7332
+ # Labels to apply to this snapshot. These can be later modified by the setLabels(
7333
+ # ) method. Each label key & value must comply with RFC1035. Specifically, the
7334
+ # name must be 1-63 characters long and match the regular expression [a-z]([-a-
7335
+ # z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
7336
+ # and all following characters must be a dash, lowercase letter, or digit,
7337
+ # except the last character, which cannot be a dash. A label value can also be
7338
+ # empty (e.g. "example-label": "").
7267
7339
  # Corresponds to the JSON property `labels`
7268
7340
  # @return [Hash<String,String>]
7269
7341
  attr_accessor :labels
@@ -7585,7 +7657,7 @@ module Google
7585
7657
  # @return [String]
7586
7658
  attr_accessor :network
7587
7659
 
7588
- # [Output Only] URL of the region where the Subnetwork resides.
7660
+ # URL of the region where the Subnetwork resides.
7589
7661
  # Corresponds to the JSON property `region`
7590
7662
  # @return [String]
7591
7663
  attr_accessor :region
@@ -9804,13 +9876,6 @@ module Google
9804
9876
  # @return [String]
9805
9877
  attr_accessor :kind
9806
9878
 
9807
- # [Output Only] Any scheduled maintenance windows for this zone. When the zone
9808
- # is in a maintenance window, all resources which reside in the zone will be
9809
- # unavailable. For more information, see Maintenance Windows
9810
- # Corresponds to the JSON property `maintenanceWindows`
9811
- # @return [Array<Google::Apis::ComputeBeta::Zone::MaintenanceWindow>]
9812
- attr_accessor :maintenance_windows
9813
-
9814
9879
  # [Output Only] Name of the resource.
9815
9880
  # Corresponds to the JSON property `name`
9816
9881
  # @return [String]
@@ -9842,49 +9907,11 @@ module Google
9842
9907
  @description = args[:description] if args.key?(:description)
9843
9908
  @id = args[:id] if args.key?(:id)
9844
9909
  @kind = args[:kind] if args.key?(:kind)
9845
- @maintenance_windows = args[:maintenance_windows] if args.key?(:maintenance_windows)
9846
9910
  @name = args[:name] if args.key?(:name)
9847
9911
  @region = args[:region] if args.key?(:region)
9848
9912
  @self_link = args[:self_link] if args.key?(:self_link)
9849
9913
  @status = args[:status] if args.key?(:status)
9850
9914
  end
9851
-
9852
- #
9853
- class MaintenanceWindow
9854
- include Google::Apis::Core::Hashable
9855
-
9856
- # [Output Only] Starting time of the maintenance window, in RFC3339 format.
9857
- # Corresponds to the JSON property `beginTime`
9858
- # @return [String]
9859
- attr_accessor :begin_time
9860
-
9861
- # [Output Only] Textual description of the maintenance window.
9862
- # Corresponds to the JSON property `description`
9863
- # @return [String]
9864
- attr_accessor :description
9865
-
9866
- # [Output Only] Ending time of the maintenance window, in RFC3339 format.
9867
- # Corresponds to the JSON property `endTime`
9868
- # @return [String]
9869
- attr_accessor :end_time
9870
-
9871
- # [Output Only] Name of the maintenance window.
9872
- # Corresponds to the JSON property `name`
9873
- # @return [String]
9874
- attr_accessor :name
9875
-
9876
- def initialize(**args)
9877
- update!(**args)
9878
- end
9879
-
9880
- # Update properties of this object
9881
- def update!(**args)
9882
- @begin_time = args[:begin_time] if args.key?(:begin_time)
9883
- @description = args[:description] if args.key?(:description)
9884
- @end_time = args[:end_time] if args.key?(:end_time)
9885
- @name = args[:name] if args.key?(:name)
9886
- end
9887
- end
9888
9915
  end
9889
9916
 
9890
9917
  # Contains a list of zone resources.
@@ -9938,13 +9965,16 @@ module Google
9938
9965
  class ZoneSetLabelsRequest
9939
9966
  include Google::Apis::Core::Hashable
9940
9967
 
9941
- # Fingerprint of the previous set of labels for this resource, used to detect
9942
- # conflicts.
9968
+ # The fingerprint of the previous set of labels for this resource, used to
9969
+ # detect conflicts. The fingerprint is initially generated by Compute Engine and
9970
+ # changes after every request to modify or update labels. You must always
9971
+ # provide an up-to-date fingerprint hash in order to update or change labels.
9972
+ # Make a get() request to the resource to get the latest fingerprint.
9943
9973
  # Corresponds to the JSON property `labelFingerprint`
9944
9974
  # @return [String]
9945
9975
  attr_accessor :label_fingerprint
9946
9976
 
9947
- # The new labels for the resource.
9977
+ # The labels to set for this resource.
9948
9978
  # Corresponds to the JSON property `labels`
9949
9979
  # @return [Hash<String,String>]
9950
9980
  attr_accessor :labels