google-api-client 0.24.0 → 0.24.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +47 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +41 -0
  5. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  6. data/generated/google/apis/androidenterprise_v1/classes.rb +1 -1
  7. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  8. data/generated/google/apis/calendar_v3.rb +10 -1
  9. data/generated/google/apis/classroom_v1.rb +1 -1
  10. data/generated/google/apis/classroom_v1/classes.rb +18 -15
  11. data/generated/google/apis/cloudkms_v1.rb +3 -6
  12. data/generated/google/apis/cloudkms_v1/service.rb +2 -5
  13. data/generated/google/apis/compute_alpha.rb +1 -1
  14. data/generated/google/apis/compute_alpha/classes.rb +156 -144
  15. data/generated/google/apis/compute_alpha/representations.rb +66 -66
  16. data/generated/google/apis/compute_alpha/service.rb +7 -7
  17. data/generated/google/apis/compute_beta.rb +1 -1
  18. data/generated/google/apis/compute_beta/classes.rb +221 -10
  19. data/generated/google/apis/compute_beta/representations.rb +111 -2
  20. data/generated/google/apis/compute_beta/service.rb +39 -3
  21. data/generated/google/apis/compute_v1.rb +1 -1
  22. data/generated/google/apis/compute_v1/service.rb +3 -3
  23. data/generated/google/apis/container_v1.rb +1 -1
  24. data/generated/google/apis/container_v1/classes.rb +56 -0
  25. data/generated/google/apis/container_v1/representations.rb +19 -0
  26. data/generated/google/apis/container_v1beta1.rb +1 -1
  27. data/generated/google/apis/container_v1beta1/classes.rb +9 -6
  28. data/generated/google/apis/content_v2.rb +1 -1
  29. data/generated/google/apis/content_v2/classes.rb +76 -5
  30. data/generated/google/apis/content_v2/representations.rb +42 -0
  31. data/generated/google/apis/content_v2/service.rb +40 -0
  32. data/generated/google/apis/content_v2sandbox.rb +1 -1
  33. data/generated/google/apis/content_v2sandbox/classes.rb +70 -0
  34. data/generated/google/apis/content_v2sandbox/representations.rb +42 -0
  35. data/generated/google/apis/content_v2sandbox/service.rb +40 -0
  36. data/generated/google/apis/dataproc_v1.rb +1 -1
  37. data/generated/google/apis/dataproc_v1/classes.rb +1 -1
  38. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  39. data/generated/google/apis/dataproc_v1beta2/classes.rb +7 -1
  40. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  41. data/generated/google/apis/dataproc_v1beta2/service.rb +8 -2
  42. data/generated/google/apis/dialogflow_v2.rb +1 -1
  43. data/generated/google/apis/dialogflow_v2/classes.rb +23 -17
  44. data/generated/google/apis/dialogflow_v2/service.rb +9 -8
  45. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  46. data/generated/google/apis/dialogflow_v2beta1/classes.rb +23 -17
  47. data/generated/google/apis/dialogflow_v2beta1/service.rb +9 -8
  48. data/generated/google/apis/dlp_v2.rb +1 -1
  49. data/generated/google/apis/dlp_v2/classes.rb +178 -21
  50. data/generated/google/apis/dlp_v2/representations.rb +68 -0
  51. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  52. data/generated/google/apis/firestore_v1beta2/classes.rb +102 -0
  53. data/generated/google/apis/firestore_v1beta2/representations.rb +47 -0
  54. data/generated/google/apis/firestore_v1beta2/service.rb +144 -0
  55. data/generated/google/apis/games_v1.rb +1 -1
  56. data/generated/google/apis/games_v1/service.rb +8 -2
  57. data/generated/google/apis/genomics_v1.rb +1 -1
  58. data/generated/google/apis/genomics_v1/service.rb +18 -7
  59. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  60. data/generated/google/apis/genomics_v1alpha2/service.rb +18 -7
  61. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  62. data/generated/google/apis/genomics_v2alpha1/service.rb +21 -7
  63. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  64. data/generated/google/apis/iamcredentials_v1/service.rb +2 -2
  65. data/generated/google/apis/indexing_v3.rb +4 -1
  66. data/generated/google/apis/jobs_v2.rb +1 -1
  67. data/generated/google/apis/jobs_v2/classes.rb +35 -35
  68. data/generated/google/apis/jobs_v3.rb +1 -1
  69. data/generated/google/apis/jobs_v3p1beta1.rb +38 -0
  70. data/generated/google/apis/jobs_v3p1beta1/classes.rb +2910 -0
  71. data/generated/google/apis/jobs_v3p1beta1/representations.rb +966 -0
  72. data/generated/google/apis/jobs_v3p1beta1/service.rb +692 -0
  73. data/generated/google/apis/kgsearch_v1.rb +1 -1
  74. data/generated/google/apis/logging_v2.rb +1 -1
  75. data/generated/google/apis/logging_v2/service.rb +9 -9
  76. data/generated/google/apis/logging_v2beta1.rb +1 -1
  77. data/generated/google/apis/logging_v2beta1/service.rb +1 -1
  78. data/generated/google/apis/ml_v1.rb +1 -1
  79. data/generated/google/apis/ml_v1/classes.rb +10 -3
  80. data/generated/google/apis/ml_v1/representations.rb +1 -0
  81. data/generated/google/apis/monitoring_v3.rb +1 -1
  82. data/generated/google/apis/monitoring_v3/service.rb +1 -1
  83. data/generated/google/apis/people_v1.rb +1 -1
  84. data/generated/google/apis/people_v1/classes.rb +4 -3
  85. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  86. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +2 -242
  87. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -60
  88. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  89. data/generated/google/apis/servicecontrol_v1/classes.rb +4 -4
  90. data/generated/google/apis/serviceusage_v1.rb +1 -1
  91. data/generated/google/apis/serviceusage_v1/classes.rb +3 -242
  92. data/generated/google/apis/serviceusage_v1/representations.rb +0 -60
  93. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  94. data/generated/google/apis/serviceusage_v1beta1/classes.rb +4 -242
  95. data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -60
  96. data/generated/google/apis/spanner_v1.rb +1 -1
  97. data/generated/google/apis/spanner_v1/service.rb +11 -10
  98. data/generated/google/apis/speech_v1.rb +1 -1
  99. data/generated/google/apis/speech_v1/classes.rb +11 -8
  100. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  101. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  102. data/generated/google/apis/storagetransfer_v1/classes.rb +25 -21
  103. data/generated/google/apis/testing_v1.rb +1 -1
  104. data/generated/google/apis/testing_v1/classes.rb +26 -16
  105. data/generated/google/apis/testing_v1/representations.rb +1 -0
  106. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  107. data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -7
  108. data/lib/google/apis/version.rb +1 -1
  109. metadata +6 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 36b47183994aa68a65ee2192bf6e120f67d7e007
4
- data.tar.gz: a239b434907b99243aa64733c22f776140cd6115
3
+ metadata.gz: e5e064bd338997a2aef8cc0d33bd443de2e36b36
4
+ data.tar.gz: 30b0c03eca5e5fa0cbc447189e62beb80fd60787
5
5
  SHA512:
6
- metadata.gz: 640208bd7d09bbc595c80ebf9e3f04a256de76d811587b6a05f7a907d15347d618fa2cb6f913ebeebe98b8791a8ccdab828b3d8a8831483961e11c57c4e88d35
7
- data.tar.gz: 825b07451c99386ad1309738ac9c025443cd645cf359804f29367393e38ace7320802b5da279980d54522642b57632f80f0605e01a4fde6d15489aaab572e738
6
+ metadata.gz: 8907aa8078b16a6e4aaeb4678ad2eff1d1d6bab4958d9a8668b5be3aa18f82c312bf58c46d748d970eb2a975b671d86afca9cbfce1fe3c98cdeb89af01bd5c90
7
+ data.tar.gz: 1ac2a0583e11be9cbd19d6ea0db6a9e81dd812bdd2ad7317c2610e07f5c0adea16be58c3689248fb8ea237aa6278b2f0e83470c4a90db611af79aad1b2298b8c
@@ -1,3 +1,50 @@
1
+ # 0.24.1
2
+ * Backwards compatible changes:
3
+ * Added `jobs_v3p1beta1`
4
+ * Updated `adexchangebuyer2_v2beta1`
5
+ * Updated `androidenterprise_v1`
6
+ * Updated `androidmanagement_v1`
7
+ * Updated `calendar_v3`
8
+ * Updated `classroom_v1`
9
+ * Updated `cloudkms_v1`
10
+ * Updated `compute_alpha`
11
+ * Updated `compute_beta`
12
+ * Updated `compute_v1`
13
+ * Updated `container_v1`
14
+ * Updated `container_v1beta1`
15
+ * Updated `content_v2`
16
+ * Updated `content_v2sandbox`
17
+ * Updated `dataproc_v1`
18
+ * Updated `dataproc_v1beta2`
19
+ * Updated `dialogflow_v2`
20
+ * Updated `dialogflow_v2beta1`
21
+ * Updated `dlp_v2`
22
+ * Updated `firestore_v1beta2`
23
+ * Updated `games_v1`
24
+ * Updated `genomics_v1`
25
+ * Updated `genomics_v1alpha2`
26
+ * Updated `genomics_v2alpha1`
27
+ * Updated `iamcredentials_v1`
28
+ * Updated `indexing_v3`
29
+ * Updated `jobs_v2`
30
+ * Updated `jobs_v3`
31
+ * Updated `kgsearch_v1`
32
+ * Updated `logging_v2`
33
+ * Updated `logging_v2beta1`
34
+ * Updated `ml_v1`
35
+ * Updated `monitoring_v3`
36
+ * Updated `people_v1`
37
+ * Updated `serviceconsumermanagement_v1`
38
+ * Updated `servicecontrol_v1`
39
+ * Updated `serviceusage_v1`
40
+ * Updated `serviceusage_v1beta1`
41
+ * Updated `spanner_v1`
42
+ * Updated `speech_v1`
43
+ * Updated `sqladmin_v1beta4`
44
+ * Updated `storagetransfer_v1`
45
+ * Updated `testing_v1`
46
+ * Updated `toolresults_v1beta3`
47
+
1
48
  # 0.24.0
2
49
  * Breaking changes:
3
50
  * Deleted `adexchangeseller_v1`
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
27
27
  module Adexchangebuyer2V2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20180912'
29
+ REVISION = '20180917'
30
30
 
31
31
  # Manage your Ad Exchange buyer account configuration
32
32
  AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
@@ -1443,6 +1443,47 @@ module Google
1443
1443
  execute_or_queue_command(command, &block)
1444
1444
  end
1445
1445
 
1446
+ # Deletes a single creative.
1447
+ # A creative is deactivated upon deletion and does not count against active
1448
+ # snippet quota. A deleted creative should not be used in bidding (all bids
1449
+ # with that creative will be rejected).
1450
+ # @param [String] owner_name
1451
+ # Name of the buyer account that owns the creative.
1452
+ # Supports two cases:
1453
+ # - For the buyer account representing bidder 123:
1454
+ # `bidders/123/accounts/123/`
1455
+ # - For the child seat buyer account 456 whose bidder is 123:
1456
+ # `bidders/123/accounts/456/`
1457
+ # @param [String] creative_id
1458
+ # The ID of the creative to delete.
1459
+ # @param [String] fields
1460
+ # Selector specifying which fields to include in a partial response.
1461
+ # @param [String] quota_user
1462
+ # Available to use for quota purposes for server-side applications. Can be any
1463
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1464
+ # @param [Google::Apis::RequestOptions] options
1465
+ # Request-specific options
1466
+ #
1467
+ # @yield [result, err] Result & error if block supplied
1468
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object
1469
+ # @yieldparam err [StandardError] error object if request failed
1470
+ #
1471
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::Empty]
1472
+ #
1473
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1474
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1475
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1476
+ def delete_bidder_account_creative(owner_name, creative_id, fields: nil, quota_user: nil, options: nil, &block)
1477
+ command = make_simple_command(:delete, 'v2beta1/{+ownerName}/creatives/{creativeId}', options)
1478
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
1479
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
1480
+ command.params['ownerName'] = owner_name unless owner_name.nil?
1481
+ command.params['creativeId'] = creative_id unless creative_id.nil?
1482
+ command.query['fields'] = fields unless fields.nil?
1483
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1484
+ execute_or_queue_command(command, &block)
1485
+ end
1486
+
1446
1487
  # Creates the specified filter set for the account with the given account ID.
1447
1488
  # @param [String] owner_name
1448
1489
  # Name of the owner (bidder or account) of the filter set to be created.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android/work/play/emm-api
26
26
  module AndroidenterpriseV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180907'
28
+ REVISION = '20180912'
29
29
 
30
30
  # Manage corporate Android devices
31
31
  AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
@@ -174,7 +174,7 @@ module Google
174
174
  class AdministratorWebTokenSpecStoreBuilder
175
175
  include Google::Apis::Core::Hashable
176
176
 
177
- # Whether the Store Builder is be displayed. Default is true.
177
+ # Whether the Store Builder page is displayed. Default is true.
178
178
  # Corresponds to the JSON property `enabled`
179
179
  # @return [Boolean]
180
180
  attr_accessor :enabled
@@ -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 = '20180829'
29
+ REVISION = '20180910'
30
30
 
31
31
  # Manage Android devices and apps for your customers
32
32
  AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
@@ -25,13 +25,22 @@ module Google
25
25
  # @see https://developers.google.com/google-apps/calendar/firstapp
26
26
  module CalendarV3
27
27
  VERSION = 'V3'
28
- REVISION = '20180906'
28
+ REVISION = '20180909'
29
29
 
30
30
  # Manage your calendars
31
31
  AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
32
32
 
33
+ # View and edit events on all your calendars
34
+ AUTH_CALENDAR_EVENTS = 'https://www.googleapis.com/auth/calendar.events'
35
+
36
+ # View events on all your calendars
37
+ AUTH_CALENDAR_EVENTS_READONLY = 'https://www.googleapis.com/auth/calendar.events.readonly'
38
+
33
39
  # View your calendars
34
40
  AUTH_CALENDAR_READONLY = 'https://www.googleapis.com/auth/calendar.readonly'
41
+
42
+ # View your Calendar settings
43
+ AUTH_CALENDAR_SETTINGS_READONLY = 'https://www.googleapis.com/auth/calendar.settings.readonly'
35
44
  end
36
45
  end
37
46
  end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/classroom/
26
26
  module ClassroomV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180908'
28
+ REVISION = '20180919'
29
29
 
30
30
  # View and manage announcements in Google Classroom
31
31
  AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements'
@@ -573,13 +573,14 @@ module Google
573
573
  # @return [String]
574
574
  attr_accessor :description
575
575
 
576
- # Represents a whole calendar date, for example date of birth. The time of day
576
+ # Represents a whole or partial calendar date, e.g. a birthday. The time of day
577
577
  # and time zone are either specified elsewhere or are not significant. The date
578
- # is relative to the Proleptic Gregorian Calendar. The day can be 0 to
579
- # represent a year and month where the day is not significant, for example
580
- # credit card expiration date. The year can be 0 to represent a month and day
581
- # independent of year, for example anniversary date. Related types are
582
- # google.type.TimeOfDay and `google.protobuf.Timestamp`.
578
+ # is relative to the Proleptic Gregorian Calendar. This can represent:
579
+ # * A full date, with non-zero year, month and day values
580
+ # * A month and day value, with a zero year, e.g. an anniversary
581
+ # * A year on its own, with zero month and day values
582
+ # * A year and month value, with a zero day, e.g. a credit card expiration date
583
+ # Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
583
584
  # Corresponds to the JSON property `dueDate`
584
585
  # @return [Google::Apis::ClassroomV1::Date]
585
586
  attr_accessor :due_date
@@ -706,24 +707,26 @@ module Google
706
707
  end
707
708
  end
708
709
 
709
- # Represents a whole calendar date, for example date of birth. The time of day
710
+ # Represents a whole or partial calendar date, e.g. a birthday. The time of day
710
711
  # and time zone are either specified elsewhere or are not significant. The date
711
- # is relative to the Proleptic Gregorian Calendar. The day can be 0 to
712
- # represent a year and month where the day is not significant, for example
713
- # credit card expiration date. The year can be 0 to represent a month and day
714
- # independent of year, for example anniversary date. Related types are
715
- # google.type.TimeOfDay and `google.protobuf.Timestamp`.
712
+ # is relative to the Proleptic Gregorian Calendar. This can represent:
713
+ # * A full date, with non-zero year, month and day values
714
+ # * A month and day value, with a zero year, e.g. an anniversary
715
+ # * A year on its own, with zero month and day values
716
+ # * A year and month value, with a zero day, e.g. a credit card expiration date
717
+ # Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
716
718
  class Date
717
719
  include Google::Apis::Core::Hashable
718
720
 
719
721
  # Day of month. Must be from 1 to 31 and valid for the year and month, or 0
720
- # if specifying a year/month where the day is not significant.
722
+ # if specifying a year by itself or a year and month where the day is not
723
+ # significant.
721
724
  # Corresponds to the JSON property `day`
722
725
  # @return [Fixnum]
723
726
  attr_accessor :day
724
727
 
725
- # Month of year. Must be from 1 to 12, or 0 if specifying a date without a
726
- # month.
728
+ # Month of year. Must be from 1 to 12, or 0 if specifying a year without a
729
+ # month and day.
727
730
  # Corresponds to the JSON property `month`
728
731
  # @return [Fixnum]
729
732
  attr_accessor :month
@@ -20,16 +20,13 @@ module Google
20
20
  module Apis
21
21
  # Cloud Key Management Service (KMS) API
22
22
  #
23
- # Cloud KMS allows you to keep cryptographic keys in one central cloud service,
24
- # for direct use by other cloud resources and applications. With Cloud KMS you
25
- # are the ultimate custodian of your data, you can manage encryption in the
26
- # cloud the same way you do on-premises, and you have a provable and monitorable
27
- # root of trust over your data.
23
+ # Manages keys and performs cryptographic operations in a central cloud service,
24
+ # for direct use by other cloud resources and applications.
28
25
  #
29
26
  # @see https://cloud.google.com/kms/
30
27
  module CloudkmsV1
31
28
  VERSION = 'V1'
32
- REVISION = '20180830'
29
+ REVISION = '20180918'
33
30
 
34
31
  # View and manage your data across Google Cloud Platform services
35
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,11 +22,8 @@ module Google
22
22
  module CloudkmsV1
23
23
  # Cloud Key Management Service (KMS) API
24
24
  #
25
- # Cloud KMS allows you to keep cryptographic keys in one central cloud service,
26
- # for direct use by other cloud resources and applications. With Cloud KMS you
27
- # are the ultimate custodian of your data, you can manage encryption in the
28
- # cloud the same way you do on-premises, and you have a provable and monitorable
29
- # root of trust over your data.
25
+ # Manages keys and performs cryptographic operations in a central cloud service,
26
+ # for direct use by other cloud resources and applications.
30
27
  #
31
28
  # @example
32
29
  # require 'google/apis/cloudkms_v1'
@@ -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 = '20180817'
28
+ REVISION = '20180828'
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'
@@ -1134,6 +1134,38 @@ module Google
1134
1134
  end
1135
1135
  end
1136
1136
 
1137
+ # AllocationAffinity is the configuration of desired allocation which this
1138
+ # instance could take capacity from.
1139
+ class AllocationAffinity
1140
+ include Google::Apis::Core::Hashable
1141
+
1142
+ #
1143
+ # Corresponds to the JSON property `consumeAllocationType`
1144
+ # @return [String]
1145
+ attr_accessor :consume_allocation_type
1146
+
1147
+ # Corresponds to the label key of allocation resource.
1148
+ # Corresponds to the JSON property `key`
1149
+ # @return [String]
1150
+ attr_accessor :key
1151
+
1152
+ # Corresponds to the label values of allocation resource.
1153
+ # Corresponds to the JSON property `values`
1154
+ # @return [Array<String>]
1155
+ attr_accessor :values
1156
+
1157
+ def initialize(**args)
1158
+ update!(**args)
1159
+ end
1160
+
1161
+ # Update properties of this object
1162
+ def update!(**args)
1163
+ @consume_allocation_type = args[:consume_allocation_type] if args.key?(:consume_allocation_type)
1164
+ @key = args[:key] if args.key?(:key)
1165
+ @values = args[:values] if args.key?(:values)
1166
+ end
1167
+ end
1168
+
1137
1169
  # Contains a list of allocations.
1138
1170
  class AllocationAggregatedList
1139
1171
  include Google::Apis::Core::Hashable
@@ -1251,106 +1283,8 @@ module Google
1251
1283
  end
1252
1284
  end
1253
1285
 
1254
- # This allocation type allows to pre allocate specific instance configuration.
1255
- class AllocationSpecificSkuAllocation
1256
- include Google::Apis::Core::Hashable
1257
-
1258
- # Specifies number of resources that are allocated.
1259
- # Corresponds to the JSON property `count`
1260
- # @return [Fixnum]
1261
- attr_accessor :count
1262
-
1263
- # [OutputOnly] Indicates how many resource are in use.
1264
- # Corresponds to the JSON property `inUseCount`
1265
- # @return [Fixnum]
1266
- attr_accessor :in_use_count
1267
-
1268
- # Properties of the SKU instances being reserved.
1269
- # Corresponds to the JSON property `instanceProperties`
1270
- # @return [Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocationAllocatedInstanceProperties]
1271
- attr_accessor :instance_properties
1272
-
1273
- def initialize(**args)
1274
- update!(**args)
1275
- end
1276
-
1277
- # Update properties of this object
1278
- def update!(**args)
1279
- @count = args[:count] if args.key?(:count)
1280
- @in_use_count = args[:in_use_count] if args.key?(:in_use_count)
1281
- @instance_properties = args[:instance_properties] if args.key?(:instance_properties)
1282
- end
1283
- end
1284
-
1285
- # Properties of the SKU instances being reserved.
1286
- class AllocationSpecificSkuAllocationAllocatedInstanceProperties
1287
- include Google::Apis::Core::Hashable
1288
-
1289
- # Specifies accelerator type and count.
1290
- # Corresponds to the JSON property `guestAccelerators`
1291
- # @return [Array<Google::Apis::ComputeAlpha::AcceleratorConfig>]
1292
- attr_accessor :guest_accelerators
1293
-
1294
- # Specifies amount of local ssd to reserve with each instance. The type of disk
1295
- # is local-ssd.
1296
- # Corresponds to the JSON property `localSsds`
1297
- # @return [Array<Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocationAllocatedInstancePropertiesAllocatedDisk>]
1298
- attr_accessor :local_ssds
1299
-
1300
- # Specifies type of machine (name only) which has fixed number of vCPUs and
1301
- # fixed amount of memory. This also includes specifying custom machine type
1302
- # following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
1303
- # Corresponds to the JSON property `machineType`
1304
- # @return [String]
1305
- attr_accessor :machine_type
1306
-
1307
- # Minimum cpu platform the allocation.
1308
- # Corresponds to the JSON property `minCpuPlatform`
1309
- # @return [String]
1310
- attr_accessor :min_cpu_platform
1311
-
1312
- def initialize(**args)
1313
- update!(**args)
1314
- end
1315
-
1316
- # Update properties of this object
1317
- def update!(**args)
1318
- @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
1319
- @local_ssds = args[:local_ssds] if args.key?(:local_ssds)
1320
- @machine_type = args[:machine_type] if args.key?(:machine_type)
1321
- @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
1322
- end
1323
- end
1324
-
1325
1286
  #
1326
- class AllocationSpecificSkuAllocationAllocatedInstancePropertiesAllocatedDisk
1327
- include Google::Apis::Core::Hashable
1328
-
1329
- # Specifies the size of the disk in base-2 GB.
1330
- # Corresponds to the JSON property `diskSizeGb`
1331
- # @return [Fixnum]
1332
- attr_accessor :disk_size_gb
1333
-
1334
- # Specifies the disk interface to use for attaching this disk, which is either
1335
- # SCSI or NVME. The default is SCSI. For performance characteristics of SCSI
1336
- # over NVMe, see Local SSD performance.
1337
- # Corresponds to the JSON property `interface`
1338
- # @return [String]
1339
- attr_accessor :interface
1340
-
1341
- def initialize(**args)
1342
- update!(**args)
1343
- end
1344
-
1345
- # Update properties of this object
1346
- def update!(**args)
1347
- @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
1348
- @interface = args[:interface] if args.key?(:interface)
1349
- end
1350
- end
1351
-
1352
- #
1353
- class AllocationsList
1287
+ class AllocationList
1354
1288
  include Google::Apis::Core::Hashable
1355
1289
 
1356
1290
  # [Output Only] The unique identifier for the resource. This identifier is
@@ -1386,7 +1320,7 @@ module Google
1386
1320
 
1387
1321
  # [Output Only] Informational warning message.
1388
1322
  # Corresponds to the JSON property `warning`
1389
- # @return [Google::Apis::ComputeAlpha::AllocationsList::Warning]
1323
+ # @return [Google::Apis::ComputeAlpha::AllocationList::Warning]
1390
1324
  attr_accessor :warning
1391
1325
 
1392
1326
  def initialize(**args)
@@ -1416,7 +1350,7 @@ module Google
1416
1350
  # [Output Only] Metadata about this warning in key: value format. For example:
1417
1351
  # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
1418
1352
  # Corresponds to the JSON property `data`
1419
- # @return [Array<Google::Apis::ComputeAlpha::AllocationsList::Warning::Datum>]
1353
+ # @return [Array<Google::Apis::ComputeAlpha::AllocationList::Warning::Datum>]
1420
1354
  attr_accessor :data
1421
1355
 
1422
1356
  # [Output Only] A human-readable description of the warning code.
@@ -1468,6 +1402,104 @@ module Google
1468
1402
  end
1469
1403
  end
1470
1404
 
1405
+ # This allocation type allows to pre allocate specific instance configuration.
1406
+ class AllocationSpecificSkuAllocation
1407
+ include Google::Apis::Core::Hashable
1408
+
1409
+ # Specifies number of resources that are allocated.
1410
+ # Corresponds to the JSON property `count`
1411
+ # @return [Fixnum]
1412
+ attr_accessor :count
1413
+
1414
+ # [OutputOnly] Indicates how many resource are in use.
1415
+ # Corresponds to the JSON property `inUseCount`
1416
+ # @return [Fixnum]
1417
+ attr_accessor :in_use_count
1418
+
1419
+ # Properties of the SKU instances being reserved.
1420
+ # Corresponds to the JSON property `instanceProperties`
1421
+ # @return [Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocationAllocatedInstanceProperties]
1422
+ attr_accessor :instance_properties
1423
+
1424
+ def initialize(**args)
1425
+ update!(**args)
1426
+ end
1427
+
1428
+ # Update properties of this object
1429
+ def update!(**args)
1430
+ @count = args[:count] if args.key?(:count)
1431
+ @in_use_count = args[:in_use_count] if args.key?(:in_use_count)
1432
+ @instance_properties = args[:instance_properties] if args.key?(:instance_properties)
1433
+ end
1434
+ end
1435
+
1436
+ # Properties of the SKU instances being reserved.
1437
+ class AllocationSpecificSkuAllocationAllocatedInstanceProperties
1438
+ include Google::Apis::Core::Hashable
1439
+
1440
+ # Specifies accelerator type and count.
1441
+ # Corresponds to the JSON property `guestAccelerators`
1442
+ # @return [Array<Google::Apis::ComputeAlpha::AcceleratorConfig>]
1443
+ attr_accessor :guest_accelerators
1444
+
1445
+ # Specifies amount of local ssd to reserve with each instance. The type of disk
1446
+ # is local-ssd.
1447
+ # Corresponds to the JSON property `localSsds`
1448
+ # @return [Array<Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocationAllocatedInstancePropertiesAllocatedDisk>]
1449
+ attr_accessor :local_ssds
1450
+
1451
+ # Specifies type of machine (name only) which has fixed number of vCPUs and
1452
+ # fixed amount of memory. This also includes specifying custom machine type
1453
+ # following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
1454
+ # Corresponds to the JSON property `machineType`
1455
+ # @return [String]
1456
+ attr_accessor :machine_type
1457
+
1458
+ # Minimum cpu platform the allocation.
1459
+ # Corresponds to the JSON property `minCpuPlatform`
1460
+ # @return [String]
1461
+ attr_accessor :min_cpu_platform
1462
+
1463
+ def initialize(**args)
1464
+ update!(**args)
1465
+ end
1466
+
1467
+ # Update properties of this object
1468
+ def update!(**args)
1469
+ @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
1470
+ @local_ssds = args[:local_ssds] if args.key?(:local_ssds)
1471
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
1472
+ @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
1473
+ end
1474
+ end
1475
+
1476
+ #
1477
+ class AllocationSpecificSkuAllocationAllocatedInstancePropertiesAllocatedDisk
1478
+ include Google::Apis::Core::Hashable
1479
+
1480
+ # Specifies the size of the disk in base-2 GB.
1481
+ # Corresponds to the JSON property `diskSizeGb`
1482
+ # @return [Fixnum]
1483
+ attr_accessor :disk_size_gb
1484
+
1485
+ # Specifies the disk interface to use for attaching this disk, which is either
1486
+ # SCSI or NVME. The default is SCSI. For performance characteristics of SCSI
1487
+ # over NVMe, see Local SSD performance.
1488
+ # Corresponds to the JSON property `interface`
1489
+ # @return [String]
1490
+ attr_accessor :interface
1491
+
1492
+ def initialize(**args)
1493
+ update!(**args)
1494
+ end
1495
+
1496
+ # Update properties of this object
1497
+ def update!(**args)
1498
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
1499
+ @interface = args[:interface] if args.key?(:interface)
1500
+ end
1501
+ end
1502
+
1471
1503
  #
1472
1504
  class AllocationsScopedList
1473
1505
  include Google::Apis::Core::Hashable
@@ -8690,7 +8722,7 @@ module Google
8690
8722
  # AllocationAffinity is the configuration of desired allocation which this
8691
8723
  # instance could take capacity from.
8692
8724
  # Corresponds to the JSON property `allocationAffinity`
8693
- # @return [Google::Apis::ComputeAlpha::InstanceAllocationAffinity]
8725
+ # @return [Google::Apis::ComputeAlpha::AllocationAffinity]
8694
8726
  attr_accessor :allocation_affinity
8695
8727
 
8696
8728
  # Allows this instance to send and receive packets with non-matching destination
@@ -9054,38 +9086,6 @@ module Google
9054
9086
  end
9055
9087
  end
9056
9088
 
9057
- # AllocationAffinity is the configuration of desired allocation which this
9058
- # instance could take capacity from.
9059
- class InstanceAllocationAffinity
9060
- include Google::Apis::Core::Hashable
9061
-
9062
- #
9063
- # Corresponds to the JSON property `consumeAllocationType`
9064
- # @return [String]
9065
- attr_accessor :consume_allocation_type
9066
-
9067
- # Corresponds to the label key of Allocation resource.
9068
- # Corresponds to the JSON property `key`
9069
- # @return [String]
9070
- attr_accessor :key
9071
-
9072
- # Corresponds to the label values of allocation resource.
9073
- # Corresponds to the JSON property `values`
9074
- # @return [Array<String>]
9075
- attr_accessor :values
9076
-
9077
- def initialize(**args)
9078
- update!(**args)
9079
- end
9080
-
9081
- # Update properties of this object
9082
- def update!(**args)
9083
- @consume_allocation_type = args[:consume_allocation_type] if args.key?(:consume_allocation_type)
9084
- @key = args[:key] if args.key?(:key)
9085
- @values = args[:values] if args.key?(:values)
9086
- end
9087
- end
9088
-
9089
9089
  # InstanceGroups (== resource_for beta.instanceGroups ==) (== resource_for v1.
9090
9090
  # instanceGroups ==) (== resource_for beta.regionInstanceGroups ==) (==
9091
9091
  # resource_for v1.regionInstanceGroups ==)
@@ -10050,6 +10050,15 @@ module Google
10050
10050
  attr_accessor :is_stable
10051
10051
  alias_method :is_stable?, :is_stable
10052
10052
 
10053
+ # [Output Only] A bit indicating whether version target has been reached in this
10054
+ # managed instance group, i.e. all instances are in their target version.
10055
+ # Instances' target version are specified by version field on Instance Group
10056
+ # Manager.
10057
+ # Corresponds to the JSON property `versionTargetReached`
10058
+ # @return [Boolean]
10059
+ attr_accessor :version_target_reached
10060
+ alias_method :version_target_reached?, :version_target_reached
10061
+
10053
10062
  def initialize(**args)
10054
10063
  update!(**args)
10055
10064
  end
@@ -10057,6 +10066,7 @@ module Google
10057
10066
  # Update properties of this object
10058
10067
  def update!(**args)
10059
10068
  @is_stable = args[:is_stable] if args.key?(:is_stable)
10069
+ @version_target_reached = args[:version_target_reached] if args.key?(:version_target_reached)
10060
10070
  end
10061
10071
  end
10062
10072
 
@@ -13069,6 +13079,13 @@ module Google
13069
13079
  # @return [String]
13070
13080
  attr_accessor :self_link
13071
13081
 
13082
+ # [Output Only] The status of this InterconnectLocation. If the status is
13083
+ # AVAILABLE, new Interconnects may be provisioned in this InterconnectLocation.
13084
+ # Otherwise, no new Interconnects may be provisioned.
13085
+ # Corresponds to the JSON property `status`
13086
+ # @return [String]
13087
+ attr_accessor :status
13088
+
13072
13089
  def initialize(**args)
13073
13090
  update!(**args)
13074
13091
  end
@@ -13089,6 +13106,7 @@ module Google
13089
13106
  @peeringdb_facility_id = args[:peeringdb_facility_id] if args.key?(:peeringdb_facility_id)
13090
13107
  @region_infos = args[:region_infos] if args.key?(:region_infos)
13091
13108
  @self_link = args[:self_link] if args.key?(:self_link)
13109
+ @status = args[:status] if args.key?(:status)
13092
13110
  end
13093
13111
  end
13094
13112
 
@@ -15465,24 +15483,25 @@ module Google
15465
15483
  include Google::Apis::Core::Hashable
15466
15484
 
15467
15485
  # The default port used if the port number is not specified in the network
15468
- # endpoint.
15486
+ # endpoint. [Deprecated] This field is deprecated.
15469
15487
  # Corresponds to the JSON property `defaultPort`
15470
15488
  # @return [Fixnum]
15471
15489
  attr_accessor :default_port
15472
15490
 
15473
15491
  # The URL of the network to which all network endpoints in the NEG belong. Uses "
15474
- # default" project network if unspecified.
15492
+ # default" project network if unspecified. [Deprecated] This field is deprecated.
15475
15493
  # Corresponds to the JSON property `network`
15476
15494
  # @return [String]
15477
15495
  attr_accessor :network
15478
15496
 
15479
15497
  # Optional URL of the subnetwork to which all network endpoints in the NEG
15480
- # belong.
15498
+ # belong. [Deprecated] This field is deprecated.
15481
15499
  # Corresponds to the JSON property `subnetwork`
15482
15500
  # @return [String]
15483
15501
  attr_accessor :subnetwork
15484
15502
 
15485
15503
  # [Output Only] The URL of the zone where the network endpoint group is located.
15504
+ # [Deprecated] This field is deprecated.
15486
15505
  # Corresponds to the JSON property `zone`
15487
15506
  # @return [String]
15488
15507
  attr_accessor :zone
@@ -16342,12 +16361,6 @@ module Google
16342
16361
  # @return [String]
16343
16362
  attr_accessor :node_template
16344
16363
 
16345
- # [Deprecated] Use nodeGroups.listNodes instead. [Output Only] A list of nodes
16346
- # in this node group.
16347
- # Corresponds to the JSON property `nodes`
16348
- # @return [Array<Google::Apis::ComputeAlpha::NodeGroupNode>]
16349
- attr_accessor :nodes
16350
-
16351
16364
  # [Output Only] Server-defined URL for the resource.
16352
16365
  # Corresponds to the JSON property `selfLink`
16353
16366
  # @return [String]
@@ -16381,7 +16394,6 @@ module Google
16381
16394
  @kind = args[:kind] if args.key?(:kind)
16382
16395
  @name = args[:name] if args.key?(:name)
16383
16396
  @node_template = args[:node_template] if args.key?(:node_template)
16384
- @nodes = args[:nodes] if args.key?(:nodes)
16385
16397
  @self_link = args[:self_link] if args.key?(:self_link)
16386
16398
  @size = args[:size] if args.key?(:size)
16387
16399
  @status = args[:status] if args.key?(:status)