google-api-client 0.49.0 → 0.50.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (200) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +81 -0
  3. data/generated/google/apis/accessapproval_v1.rb +1 -1
  4. data/generated/google/apis/accessapproval_v1/service.rb +12 -9
  5. data/generated/google/apis/admob_v1.rb +4 -1
  6. data/generated/google/apis/admob_v1/service.rb +4 -0
  7. data/generated/google/apis/admob_v1beta.rb +38 -0
  8. data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
  9. data/generated/google/apis/admob_v1beta/representations.rb +472 -0
  10. data/generated/google/apis/admob_v1beta/service.rb +279 -0
  11. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  12. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +8 -32
  13. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +0 -16
  14. data/generated/google/apis/analyticsdata_v1alpha/service.rb +3 -32
  15. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  16. data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
  17. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  18. data/generated/google/apis/apigee_v1.rb +1 -1
  19. data/generated/google/apis/apigee_v1/classes.rb +114 -11
  20. data/generated/google/apis/apigee_v1/representations.rb +39 -1
  21. data/generated/google/apis/apigee_v1/service.rb +370 -2
  22. data/generated/google/apis/area120tables_v1alpha1.rb +1 -1
  23. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  24. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -6
  25. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -1
  26. data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
  27. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +22 -10
  28. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +2 -0
  29. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +1 -5
  30. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  31. data/generated/google/apis/billingbudgets_v1/classes.rb +6 -6
  32. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  33. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +6 -6
  34. data/generated/google/apis/cloudasset_v1.rb +1 -1
  35. data/generated/google/apis/cloudasset_v1/classes.rb +425 -6
  36. data/generated/google/apis/cloudasset_v1/representations.rb +170 -1
  37. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  38. data/generated/google/apis/cloudasset_v1beta1/classes.rb +0 -6
  39. data/generated/google/apis/cloudasset_v1beta1/representations.rb +0 -1
  40. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  41. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +0 -6
  42. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +0 -1
  43. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  44. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +0 -6
  45. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +0 -1
  46. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  47. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +0 -6
  48. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +0 -1
  49. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  50. data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -6
  51. data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -1
  52. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  53. data/generated/google/apis/cloudidentity_v1/service.rb +7 -3
  54. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  55. data/generated/google/apis/cloudidentity_v1beta1/service.rb +7 -3
  56. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  57. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +323 -6
  58. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +248 -1
  59. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  60. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +323 -6
  61. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +248 -1
  62. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  63. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +323 -6
  64. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +248 -1
  65. data/generated/google/apis/cloudresourcemanager_v2/service.rb +5 -5
  66. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  67. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +323 -6
  68. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +248 -1
  69. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +5 -5
  70. data/generated/google/apis/compute_v1.rb +1 -1
  71. data/generated/google/apis/compute_v1/classes.rb +35 -13
  72. data/generated/google/apis/compute_v1/representations.rb +2 -0
  73. data/generated/google/apis/compute_v1/service.rb +2 -1
  74. data/generated/google/apis/content_v2.rb +1 -1
  75. data/generated/google/apis/content_v2/service.rb +3 -1
  76. data/generated/google/apis/content_v2_1.rb +1 -1
  77. data/generated/google/apis/content_v2_1/classes.rb +446 -4
  78. data/generated/google/apis/content_v2_1/representations.rb +136 -0
  79. data/generated/google/apis/content_v2_1/service.rb +36 -1
  80. data/generated/google/apis/deploymentmanager_v2.rb +2 -2
  81. data/generated/google/apis/deploymentmanager_v2/service.rb +1 -1
  82. data/generated/google/apis/deploymentmanager_v2beta.rb +2 -2
  83. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1 -1
  84. data/generated/google/apis/dialogflow_v2.rb +1 -1
  85. data/generated/google/apis/dialogflow_v2/classes.rb +0 -31
  86. data/generated/google/apis/dialogflow_v2/representations.rb +0 -15
  87. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  88. data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -31
  89. data/generated/google/apis/dialogflow_v2beta1/representations.rb +0 -15
  90. data/generated/google/apis/dialogflow_v2beta1/service.rb +12 -6
  91. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  92. data/generated/google/apis/dialogflow_v3beta1/classes.rb +0 -31
  93. data/generated/google/apis/dialogflow_v3beta1/representations.rb +0 -15
  94. data/generated/google/apis/displayvideo_v1.rb +1 -1
  95. data/generated/google/apis/displayvideo_v1/classes.rb +5 -5
  96. data/generated/google/apis/displayvideo_v1/service.rb +1 -1
  97. data/generated/google/apis/dlp_v2.rb +1 -1
  98. data/generated/google/apis/dlp_v2/classes.rb +6 -0
  99. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  100. data/generated/google/apis/domains_v1alpha2.rb +1 -1
  101. data/generated/google/apis/domains_v1alpha2/classes.rb +0 -6
  102. data/generated/google/apis/domains_v1alpha2/representations.rb +0 -1
  103. data/generated/google/apis/domains_v1beta1.rb +1 -1
  104. data/generated/google/apis/domains_v1beta1/classes.rb +0 -6
  105. data/generated/google/apis/domains_v1beta1/representations.rb +0 -1
  106. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  107. data/generated/google/apis/drive_v2.rb +1 -1
  108. data/generated/google/apis/drive_v2/classes.rb +2 -2
  109. data/generated/google/apis/drive_v3.rb +1 -1
  110. data/generated/google/apis/drive_v3/classes.rb +2 -2
  111. data/generated/google/apis/healthcare_v1.rb +1 -1
  112. data/generated/google/apis/healthcare_v1/classes.rb +6 -0
  113. data/generated/google/apis/healthcare_v1/representations.rb +1 -0
  114. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  115. data/generated/google/apis/healthcare_v1beta1/classes.rb +12 -54
  116. data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -29
  117. data/generated/google/apis/logging_v2.rb +1 -1
  118. data/generated/google/apis/logging_v2/classes.rb +4 -2
  119. data/generated/google/apis/logging_v2/service.rb +20 -20
  120. data/generated/google/apis/managedidentities_v1.rb +1 -1
  121. data/generated/google/apis/managedidentities_v1/classes.rb +345 -4
  122. data/generated/google/apis/managedidentities_v1/representations.rb +149 -0
  123. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  124. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +345 -4
  125. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +149 -0
  126. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  127. data/generated/google/apis/managedidentities_v1beta1/classes.rb +345 -4
  128. data/generated/google/apis/managedidentities_v1beta1/representations.rb +149 -0
  129. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  130. data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
  131. data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
  132. data/generated/google/apis/notebooks_v1.rb +34 -0
  133. data/generated/google/apis/notebooks_v1/classes.rb +1461 -0
  134. data/generated/google/apis/notebooks_v1/representations.rb +581 -0
  135. data/generated/google/apis/notebooks_v1/service.rb +1042 -0
  136. data/generated/google/apis/people_v1.rb +1 -1
  137. data/generated/google/apis/people_v1/service.rb +9 -6
  138. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  139. data/generated/google/apis/policytroubleshooter_v1/classes.rb +0 -6
  140. data/generated/google/apis/policytroubleshooter_v1/representations.rb +0 -1
  141. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  142. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +0 -6
  143. data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +0 -1
  144. data/generated/google/apis/privateca_v1beta1.rb +1 -1
  145. data/generated/google/apis/privateca_v1beta1/classes.rb +0 -6
  146. data/generated/google/apis/privateca_v1beta1/representations.rb +0 -1
  147. data/generated/google/apis/privateca_v1beta1/service.rb +0 -52
  148. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  149. data/generated/google/apis/realtimebidding_v1/classes.rb +545 -0
  150. data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
  151. data/generated/google/apis/realtimebidding_v1/service.rb +450 -0
  152. data/generated/google/apis/redis_v1.rb +1 -1
  153. data/generated/google/apis/redis_v1/classes.rb +58 -0
  154. data/generated/google/apis/redis_v1/representations.rb +20 -0
  155. data/generated/google/apis/redis_v1beta1.rb +1 -1
  156. data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
  157. data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
  158. data/generated/google/apis/run_v1.rb +1 -1
  159. data/generated/google/apis/run_v1/classes.rb +0 -6
  160. data/generated/google/apis/run_v1/representations.rb +0 -1
  161. data/generated/google/apis/run_v1alpha1.rb +1 -1
  162. data/generated/google/apis/run_v1alpha1/classes.rb +0 -6
  163. data/generated/google/apis/run_v1alpha1/representations.rb +0 -1
  164. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  165. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -6
  166. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
  167. data/generated/google/apis/secretmanager_v1.rb +1 -1
  168. data/generated/google/apis/secretmanager_v1/classes.rb +0 -6
  169. data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
  170. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  171. data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -6
  172. data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
  173. data/generated/google/apis/securitycenter_v1.rb +1 -1
  174. data/generated/google/apis/securitycenter_v1/classes.rb +0 -6
  175. data/generated/google/apis/securitycenter_v1/representations.rb +0 -1
  176. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  177. data/generated/google/apis/securitycenter_v1beta1/classes.rb +0 -6
  178. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -1
  179. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  180. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +26 -6
  181. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  182. data/generated/google/apis/servicemanagement_v1/classes.rb +1 -7
  183. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  184. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  185. data/generated/google/apis/servicenetworking_v1/service.rb +38 -0
  186. data/generated/google/apis/storage_v1.rb +1 -1
  187. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  188. data/generated/google/apis/storagetransfer_v1/classes.rb +31 -16
  189. data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
  190. data/generated/google/apis/storagetransfer_v1/service.rb +3 -3
  191. data/generated/google/apis/transcoder_v1beta1.rb +34 -0
  192. data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
  193. data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -0
  194. data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
  195. data/generated/google/apis/translate_v3.rb +1 -1
  196. data/generated/google/apis/translate_v3beta1.rb +1 -1
  197. data/generated/google/apis/youtube_v3.rb +1 -1
  198. data/generated/google/apis/youtube_v3/service.rb +6 -6
  199. data/lib/google/apis/version.rb +1 -1
  200. metadata +15 -3
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://tables.area120.google.com
26
26
  module Area120tablesV1alpha1
27
27
  VERSION = 'V1alpha1'
28
- REVISION = '20201104'
28
+ REVISION = '20201112'
29
29
 
30
30
  # See, edit, create, and delete all of your Google Drive files
31
31
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/artifacts/docs/
27
27
  module ArtifactregistryV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20201030'
29
+ REVISION = '20201107'
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'
@@ -26,11 +26,6 @@ module Google
26
26
  class Binding
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- #
30
- # Corresponds to the JSON property `bindingId`
31
- # @return [String]
32
- attr_accessor :binding_id
33
-
34
29
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
35
30
  # CEL is a C-like expression language. The syntax and semantics of CEL are
36
31
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -92,7 +87,6 @@ module Google
92
87
 
93
88
  # Update properties of this object
94
89
  def update!(**args)
95
- @binding_id = args[:binding_id] if args.key?(:binding_id)
96
90
  @condition = args[:condition] if args.key?(:condition)
97
91
  @members = args[:members] if args.key?(:members)
98
92
  @role = args[:role] if args.key?(:role)
@@ -187,7 +187,6 @@ module Google
187
187
  class Binding
188
188
  # @private
189
189
  class Representation < Google::Apis::Core::JsonRepresentation
190
- property :binding_id, as: 'bindingId'
191
190
  property :condition, as: 'condition', class: Google::Apis::ArtifactregistryV1beta1::Expr, decorator: Google::Apis::ArtifactregistryV1beta1::Expr::Representation
192
191
 
193
192
  collection :members, as: 'members'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com
26
26
  module AssuredworkloadsV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20201029'
28
+ REVISION = '20201105'
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'
@@ -123,15 +123,20 @@ module Google
123
123
  attr_accessor :labels
124
124
 
125
125
  # Optional. The resource name of the workload. Format: organizations/`
126
- # organization`/locations/`location`/workloads/`workload` Read-only. The UI
127
- # extracts the location and workload name from this string, since they aren't
128
- # set directly on the workload object. If the format of this field changes, the
129
- # UI should likely be updated. LINT.IfChange LINT.ThenChange(//depot/google3/
130
- # cloud/console/web/compliance/assurant/common/workload_helper.ts)
126
+ # organization`/locations/`location`/workloads/`workload` Read-only.
131
127
  # Corresponds to the JSON property `name`
132
128
  # @return [String]
133
129
  attr_accessor :name
134
130
 
131
+ # Input only. The parent resource for the resources managed by this Assured
132
+ # Workload. May be either an organization or a folder. Must be the same or a
133
+ # child of the Workload parent. If not specified all resources are created under
134
+ # the Workload parent. Formats: folders/`folder_id` organizations/`
135
+ # organization_id`
136
+ # Corresponds to the JSON property `provisionedResourcesParent`
137
+ # @return [String]
138
+ attr_accessor :provisioned_resources_parent
139
+
135
140
  # Output only. The resources associated with this workload. These resources will
136
141
  # be created when creating the workload. If any of the projects already exist,
137
142
  # the workload creation will fail. Always read only.
@@ -156,6 +161,7 @@ module Google
156
161
  @il4_settings = args[:il4_settings] if args.key?(:il4_settings)
157
162
  @labels = args[:labels] if args.key?(:labels)
158
163
  @name = args[:name] if args.key?(:name)
164
+ @provisioned_resources_parent = args[:provisioned_resources_parent] if args.key?(:provisioned_resources_parent)
159
165
  @resources = args[:resources] if args.key?(:resources)
160
166
  end
161
167
  end
@@ -416,15 +422,20 @@ module Google
416
422
  attr_accessor :labels
417
423
 
418
424
  # Optional. The resource name of the workload. Format: organizations/`
419
- # organization`/locations/`location`/workloads/`workload` Read-only. The UI
420
- # extracts the location and workload name from this string, since they aren't
421
- # set directly on the workload object. If the format of this field changes, the
422
- # UI should likely be updated. LINT.IfChange LINT.ThenChange(//depot/google3/
423
- # cloud/console/web/compliance/assurant/common/workload_helper.ts)
425
+ # organization`/locations/`location`/workloads/`workload` Read-only.
424
426
  # Corresponds to the JSON property `name`
425
427
  # @return [String]
426
428
  attr_accessor :name
427
429
 
430
+ # Input only. The parent resource for the resources managed by this Assured
431
+ # Workload. May be either an organization or a folder. Must be the same or a
432
+ # child of the Workload parent. If not specified all resources are created under
433
+ # the Workload parent. Formats: folders/`folder_id` organizations/`
434
+ # organization_id`
435
+ # Corresponds to the JSON property `provisionedResourcesParent`
436
+ # @return [String]
437
+ attr_accessor :provisioned_resources_parent
438
+
428
439
  # Output only. The resources associated with this workload. These resources will
429
440
  # be created when creating the workload. If any of the projects already exist,
430
441
  # the workload creation will fail. Always read only.
@@ -449,6 +460,7 @@ module Google
449
460
  @il4_settings = args[:il4_settings] if args.key?(:il4_settings)
450
461
  @labels = args[:labels] if args.key?(:labels)
451
462
  @name = args[:name] if args.key?(:name)
463
+ @provisioned_resources_parent = args[:provisioned_resources_parent] if args.key?(:provisioned_resources_parent)
452
464
  @resources = args[:resources] if args.key?(:resources)
453
465
  end
454
466
  end
@@ -176,6 +176,7 @@ module Google
176
176
 
177
177
  hash :labels, as: 'labels'
178
178
  property :name, as: 'name'
179
+ property :provisioned_resources_parent, as: 'provisionedResourcesParent'
179
180
  collection :resources, as: 'resources', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadResourceInfo, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1WorkloadResourceInfo::Representation
180
181
 
181
182
  end
@@ -266,6 +267,7 @@ module Google
266
267
 
267
268
  hash :labels, as: 'labels'
268
269
  property :name, as: 'name'
270
+ property :provisioned_resources_parent, as: 'provisionedResourcesParent'
269
271
  collection :resources, as: 'resources', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo::Representation
270
272
 
271
273
  end
@@ -282,11 +282,7 @@ module Google
282
282
  # Workload. Only one update operation per workload can be in progress.
283
283
  # @param [String] name
284
284
  # Optional. The resource name of the workload. Format: organizations/`
285
- # organization`/locations/`location`/workloads/`workload` Read-only. The UI
286
- # extracts the location and workload name from this string, since they aren't
287
- # set directly on the workload object. If the format of this field changes, the
288
- # UI should likely be updated. LINT.IfChange LINT.ThenChange(//depot/google3/
289
- # cloud/console/web/compliance/assurant/common/workload_helper.ts)
285
+ # organization`/locations/`location`/workloads/`workload` Read-only.
290
286
  # @param [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1Workload] google_cloud_assuredworkloads_v1beta1_workload_object
291
287
  # @param [String] update_mask
292
288
  # Required. The list of fields to be updated.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/billing/docs/how-to/budget-api-overview
27
27
  module BillingbudgetsV1
28
28
  VERSION = 'V1'
29
- REVISION = '20201026'
29
+ REVISION = '20201107'
30
30
 
31
31
  # View and manage your Google Cloud Platform billing accounts
32
32
  AUTH_CLOUD_BILLING = 'https://www.googleapis.com/auth/cloud-billing'
@@ -119,12 +119,12 @@ module Google
119
119
  class GoogleCloudBillingBudgetsV1Filter
120
120
  include Google::Apis::Core::Hashable
121
121
 
122
- # Optional. A list of credit types to be subtracted from gross cost to determine
123
- # the spend for threshold calculations if and only if credit_types_treatment is
124
- # INCLUDE_SPECIFIED_CREDITS. If credit_types_treatment is not
125
- # INCLUDE_SPECIFIED_CREDITS, this field must be empty. See credits.type on https:
126
- # //cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#data-schema
127
- # for a list of acceptable credit type values in this field.
122
+ # Optional. If Filter.credit_types_treatment is INCLUDE_SPECIFIED_CREDITS, this
123
+ # is a list of credit types to be subtracted from gross cost to determine the
124
+ # spend for threshold calculations. If Filter.credit_types_treatment is **not**
125
+ # INCLUDE_SPECIFIED_CREDITS, this field must be empty. See [a list of acceptable
126
+ # credit type values](https://cloud.google.com/billing/docs/how-to/export-data-
127
+ # bigquery-tables#credits-type).
128
128
  # Corresponds to the JSON property `creditTypes`
129
129
  # @return [Array<String>]
130
130
  attr_accessor :credit_types
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/billing/docs/how-to/budget-api-overview
27
27
  module BillingbudgetsV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20201026'
29
+ REVISION = '20201107'
30
30
 
31
31
  # View and manage your Google Cloud Platform billing accounts
32
32
  AUTH_CLOUD_BILLING = 'https://www.googleapis.com/auth/cloud-billing'
@@ -199,12 +199,12 @@ module Google
199
199
  class GoogleCloudBillingBudgetsV1beta1Filter
200
200
  include Google::Apis::Core::Hashable
201
201
 
202
- # Optional. A list of credit types to be subtracted from gross cost to determine
203
- # the spend for threshold calculations if and only if credit_types_treatment is
204
- # INCLUDE_SPECIFIED_CREDITS. If credit_types_treatment is not
205
- # INCLUDE_SPECIFIED_CREDITS, this field must be empty. See credits.type at https:
206
- # //cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#data-schema
207
- # for a list of acceptable credit type values in this field.
202
+ # Optional. If Filter.credit_types_treatment is INCLUDE_SPECIFIED_CREDITS, this
203
+ # is a list of credit types to be subtracted from gross cost to determine the
204
+ # spend for threshold calculations. If Filter.credit_types_treatment is **not**
205
+ # INCLUDE_SPECIFIED_CREDITS, this field must be empty. See [a list of acceptable
206
+ # credit type values](https://cloud.google.com/billing/docs/how-to/export-data-
207
+ # bigquery-tables#credits-type).
208
208
  # Corresponds to the JSON property `creditTypes`
209
209
  # @return [Array<String>]
210
210
  attr_accessor :credit_types
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/asset-inventory/docs/quickstart
26
26
  module CloudassetV1
27
27
  VERSION = 'V1'
28
- REVISION = '20201030'
28
+ REVISION = '20201106'
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'
@@ -199,6 +199,11 @@ module Google
199
199
  # @return [Array<Google::Apis::CloudassetV1::GoogleCloudOrgpolicyV1Policy>]
200
200
  attr_accessor :org_policy
201
201
 
202
+ # The inventory details of a VM.
203
+ # Corresponds to the JSON property `osInventory`
204
+ # @return [Google::Apis::CloudassetV1::Inventory]
205
+ attr_accessor :os_inventory
206
+
202
207
  # A representation of a Google Cloud resource.
203
208
  # Corresponds to the JSON property `resource`
204
209
  # @return [Google::Apis::CloudassetV1::Resource]
@@ -236,6 +241,7 @@ module Google
236
241
  @iam_policy = args[:iam_policy] if args.key?(:iam_policy)
237
242
  @name = args[:name] if args.key?(:name)
238
243
  @org_policy = args[:org_policy] if args.key?(:org_policy)
244
+ @os_inventory = args[:os_inventory] if args.key?(:os_inventory)
239
245
  @resource = args[:resource] if args.key?(:resource)
240
246
  @service_perimeter = args[:service_perimeter] if args.key?(:service_perimeter)
241
247
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -407,11 +413,6 @@ module Google
407
413
  class Binding
408
414
  include Google::Apis::Core::Hashable
409
415
 
410
- #
411
- # Corresponds to the JSON property `bindingId`
412
- # @return [String]
413
- attr_accessor :binding_id
414
-
415
416
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
416
417
  # CEL is a C-like expression language. The syntax and semantics of CEL are
417
418
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -473,7 +474,6 @@ module Google
473
474
 
474
475
  # Update properties of this object
475
476
  def update!(**args)
476
- @binding_id = args[:binding_id] if args.key?(:binding_id)
477
477
  @condition = args[:condition] if args.key?(:condition)
478
478
  @members = args[:members] if args.key?(:members)
479
479
  @role = args[:role] if args.key?(:role)
@@ -2124,6 +2124,88 @@ module Google
2124
2124
  end
2125
2125
  end
2126
2126
 
2127
+ # The inventory details of a VM.
2128
+ class Inventory
2129
+ include Google::Apis::Core::Hashable
2130
+
2131
+ # Inventory items related to the VM keyed by an opaque unique identifier for
2132
+ # each inventory item. The identifier is unique to each distinct and addressable
2133
+ # inventory item and will change, when there is a new package version.
2134
+ # Corresponds to the JSON property `items`
2135
+ # @return [Hash<String,Google::Apis::CloudassetV1::Item>]
2136
+ attr_accessor :items
2137
+
2138
+ # Operating system information for the VM.
2139
+ # Corresponds to the JSON property `osInfo`
2140
+ # @return [Google::Apis::CloudassetV1::OsInfo]
2141
+ attr_accessor :os_info
2142
+
2143
+ def initialize(**args)
2144
+ update!(**args)
2145
+ end
2146
+
2147
+ # Update properties of this object
2148
+ def update!(**args)
2149
+ @items = args[:items] if args.key?(:items)
2150
+ @os_info = args[:os_info] if args.key?(:os_info)
2151
+ end
2152
+ end
2153
+
2154
+ # A single piece of inventory on a VM.
2155
+ class Item
2156
+ include Google::Apis::Core::Hashable
2157
+
2158
+ # Software package information of the operating system.
2159
+ # Corresponds to the JSON property `availablePackage`
2160
+ # @return [Google::Apis::CloudassetV1::SoftwarePackage]
2161
+ attr_accessor :available_package
2162
+
2163
+ # When this inventory item was first detected.
2164
+ # Corresponds to the JSON property `createTime`
2165
+ # @return [String]
2166
+ attr_accessor :create_time
2167
+
2168
+ # Identifier for this item, unique across items for this VM.
2169
+ # Corresponds to the JSON property `id`
2170
+ # @return [String]
2171
+ attr_accessor :id
2172
+
2173
+ # Software package information of the operating system.
2174
+ # Corresponds to the JSON property `installedPackage`
2175
+ # @return [Google::Apis::CloudassetV1::SoftwarePackage]
2176
+ attr_accessor :installed_package
2177
+
2178
+ # The origin of this inventory item.
2179
+ # Corresponds to the JSON property `originType`
2180
+ # @return [String]
2181
+ attr_accessor :origin_type
2182
+
2183
+ # The specific type of inventory, correlating to its specific details.
2184
+ # Corresponds to the JSON property `type`
2185
+ # @return [String]
2186
+ attr_accessor :type
2187
+
2188
+ # When this inventory item was last modified.
2189
+ # Corresponds to the JSON property `updateTime`
2190
+ # @return [String]
2191
+ attr_accessor :update_time
2192
+
2193
+ def initialize(**args)
2194
+ update!(**args)
2195
+ end
2196
+
2197
+ # Update properties of this object
2198
+ def update!(**args)
2199
+ @available_package = args[:available_package] if args.key?(:available_package)
2200
+ @create_time = args[:create_time] if args.key?(:create_time)
2201
+ @id = args[:id] if args.key?(:id)
2202
+ @installed_package = args[:installed_package] if args.key?(:installed_package)
2203
+ @origin_type = args[:origin_type] if args.key?(:origin_type)
2204
+ @type = args[:type] if args.key?(:type)
2205
+ @update_time = args[:update_time] if args.key?(:update_time)
2206
+ end
2207
+ end
2208
+
2127
2209
  #
2128
2210
  class ListFeedsResponse
2129
2211
  include Google::Apis::Core::Hashable
@@ -2297,6 +2379,68 @@ module Google
2297
2379
  end
2298
2380
  end
2299
2381
 
2382
+ # Operating system information for the VM.
2383
+ class OsInfo
2384
+ include Google::Apis::Core::Hashable
2385
+
2386
+ # The system architecture of the operating system.
2387
+ # Corresponds to the JSON property `architecture`
2388
+ # @return [String]
2389
+ attr_accessor :architecture
2390
+
2391
+ # The VM hostname.
2392
+ # Corresponds to the JSON property `hostname`
2393
+ # @return [String]
2394
+ attr_accessor :hostname
2395
+
2396
+ # The kernel release of the operating system.
2397
+ # Corresponds to the JSON property `kernelRelease`
2398
+ # @return [String]
2399
+ attr_accessor :kernel_release
2400
+
2401
+ # The kernel version of the operating system.
2402
+ # Corresponds to the JSON property `kernelVersion`
2403
+ # @return [String]
2404
+ attr_accessor :kernel_version
2405
+
2406
+ # The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft
2407
+ # Window Server 2019 Datacenter'.
2408
+ # Corresponds to the JSON property `longName`
2409
+ # @return [String]
2410
+ attr_accessor :long_name
2411
+
2412
+ # The current version of the OS Config agent running on the VM.
2413
+ # Corresponds to the JSON property `osconfigAgentVersion`
2414
+ # @return [String]
2415
+ attr_accessor :osconfig_agent_version
2416
+
2417
+ # The operating system short name. For example, 'windows' or 'debian'.
2418
+ # Corresponds to the JSON property `shortName`
2419
+ # @return [String]
2420
+ attr_accessor :short_name
2421
+
2422
+ # The version of the operating system.
2423
+ # Corresponds to the JSON property `version`
2424
+ # @return [String]
2425
+ attr_accessor :version
2426
+
2427
+ def initialize(**args)
2428
+ update!(**args)
2429
+ end
2430
+
2431
+ # Update properties of this object
2432
+ def update!(**args)
2433
+ @architecture = args[:architecture] if args.key?(:architecture)
2434
+ @hostname = args[:hostname] if args.key?(:hostname)
2435
+ @kernel_release = args[:kernel_release] if args.key?(:kernel_release)
2436
+ @kernel_version = args[:kernel_version] if args.key?(:kernel_version)
2437
+ @long_name = args[:long_name] if args.key?(:long_name)
2438
+ @osconfig_agent_version = args[:osconfig_agent_version] if args.key?(:osconfig_agent_version)
2439
+ @short_name = args[:short_name] if args.key?(:short_name)
2440
+ @version = args[:version] if args.key?(:version)
2441
+ end
2442
+ end
2443
+
2300
2444
  # Output configuration for export assets destination.
2301
2445
  class OutputConfig
2302
2446
  include Google::Apis::Core::Hashable
@@ -2727,6 +2871,77 @@ module Google
2727
2871
  end
2728
2872
  end
2729
2873
 
2874
+ # Software package information of the operating system.
2875
+ class SoftwarePackage
2876
+ include Google::Apis::Core::Hashable
2877
+
2878
+ # Information related to the a standard versioned package. This includes package
2879
+ # info for APT, Yum, Zypper, and Googet package managers.
2880
+ # Corresponds to the JSON property `aptPackage`
2881
+ # @return [Google::Apis::CloudassetV1::VersionedPackage]
2882
+ attr_accessor :apt_package
2883
+
2884
+ # Information related to the a standard versioned package. This includes package
2885
+ # info for APT, Yum, Zypper, and Googet package managers.
2886
+ # Corresponds to the JSON property `cosPackage`
2887
+ # @return [Google::Apis::CloudassetV1::VersionedPackage]
2888
+ attr_accessor :cos_package
2889
+
2890
+ # Information related to the a standard versioned package. This includes package
2891
+ # info for APT, Yum, Zypper, and Googet package managers.
2892
+ # Corresponds to the JSON property `googetPackage`
2893
+ # @return [Google::Apis::CloudassetV1::VersionedPackage]
2894
+ attr_accessor :googet_package
2895
+
2896
+ # Information related to a Quick Fix Engineering package. Fields are taken from
2897
+ # Windows QuickFixEngineering Interface and match the source names: https://docs.
2898
+ # microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering
2899
+ # Corresponds to the JSON property `qfePackage`
2900
+ # @return [Google::Apis::CloudassetV1::WindowsQuickFixEngineeringPackage]
2901
+ attr_accessor :qfe_package
2902
+
2903
+ # Details related to a Windows Update package. Field data and names are taken
2904
+ # from Windows Update API IUpdate Interface: https://docs.microsoft.com/en-us/
2905
+ # windows/win32/api/_wua/ Descriptive fields like title, and description are
2906
+ # localized based on the locale of the VM being updated.
2907
+ # Corresponds to the JSON property `wuaPackage`
2908
+ # @return [Google::Apis::CloudassetV1::WindowsUpdatePackage]
2909
+ attr_accessor :wua_package
2910
+
2911
+ # Information related to the a standard versioned package. This includes package
2912
+ # info for APT, Yum, Zypper, and Googet package managers.
2913
+ # Corresponds to the JSON property `yumPackage`
2914
+ # @return [Google::Apis::CloudassetV1::VersionedPackage]
2915
+ attr_accessor :yum_package
2916
+
2917
+ # Information related to the a standard versioned package. This includes package
2918
+ # info for APT, Yum, Zypper, and Googet package managers.
2919
+ # Corresponds to the JSON property `zypperPackage`
2920
+ # @return [Google::Apis::CloudassetV1::VersionedPackage]
2921
+ attr_accessor :zypper_package
2922
+
2923
+ # Details related to a Zypper Patch.
2924
+ # Corresponds to the JSON property `zypperPatch`
2925
+ # @return [Google::Apis::CloudassetV1::ZypperPatch]
2926
+ attr_accessor :zypper_patch
2927
+
2928
+ def initialize(**args)
2929
+ update!(**args)
2930
+ end
2931
+
2932
+ # Update properties of this object
2933
+ def update!(**args)
2934
+ @apt_package = args[:apt_package] if args.key?(:apt_package)
2935
+ @cos_package = args[:cos_package] if args.key?(:cos_package)
2936
+ @googet_package = args[:googet_package] if args.key?(:googet_package)
2937
+ @qfe_package = args[:qfe_package] if args.key?(:qfe_package)
2938
+ @wua_package = args[:wua_package] if args.key?(:wua_package)
2939
+ @yum_package = args[:yum_package] if args.key?(:yum_package)
2940
+ @zypper_package = args[:zypper_package] if args.key?(:zypper_package)
2941
+ @zypper_patch = args[:zypper_patch] if args.key?(:zypper_patch)
2942
+ end
2943
+ end
2944
+
2730
2945
  # The `Status` type defines a logical error model that is suitable for different
2731
2946
  # programming environments, including REST APIs and RPC APIs. It is used by [
2732
2947
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -2876,6 +3091,210 @@ module Google
2876
3091
  @update_mask = args[:update_mask] if args.key?(:update_mask)
2877
3092
  end
2878
3093
  end
3094
+
3095
+ # Information related to the a standard versioned package. This includes package
3096
+ # info for APT, Yum, Zypper, and Googet package managers.
3097
+ class VersionedPackage
3098
+ include Google::Apis::Core::Hashable
3099
+
3100
+ # The system architecture this package is intended for.
3101
+ # Corresponds to the JSON property `architecture`
3102
+ # @return [String]
3103
+ attr_accessor :architecture
3104
+
3105
+ # The name of the package.
3106
+ # Corresponds to the JSON property `packageName`
3107
+ # @return [String]
3108
+ attr_accessor :package_name
3109
+
3110
+ # The version of the package.
3111
+ # Corresponds to the JSON property `version`
3112
+ # @return [String]
3113
+ attr_accessor :version
3114
+
3115
+ def initialize(**args)
3116
+ update!(**args)
3117
+ end
3118
+
3119
+ # Update properties of this object
3120
+ def update!(**args)
3121
+ @architecture = args[:architecture] if args.key?(:architecture)
3122
+ @package_name = args[:package_name] if args.key?(:package_name)
3123
+ @version = args[:version] if args.key?(:version)
3124
+ end
3125
+ end
3126
+
3127
+ # Information related to a Quick Fix Engineering package. Fields are taken from
3128
+ # Windows QuickFixEngineering Interface and match the source names: https://docs.
3129
+ # microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering
3130
+ class WindowsQuickFixEngineeringPackage
3131
+ include Google::Apis::Core::Hashable
3132
+
3133
+ # A short textual description of the QFE update.
3134
+ # Corresponds to the JSON property `caption`
3135
+ # @return [String]
3136
+ attr_accessor :caption
3137
+
3138
+ # A textual description of the QFE update.
3139
+ # Corresponds to the JSON property `description`
3140
+ # @return [String]
3141
+ attr_accessor :description
3142
+
3143
+ # Unique identifier associated with a particular QFE update.
3144
+ # Corresponds to the JSON property `hotFixId`
3145
+ # @return [String]
3146
+ attr_accessor :hot_fix_id
3147
+
3148
+ # Date that the QFE update was installed. Mapped from installed_on field.
3149
+ # Corresponds to the JSON property `installTime`
3150
+ # @return [String]
3151
+ attr_accessor :install_time
3152
+
3153
+ def initialize(**args)
3154
+ update!(**args)
3155
+ end
3156
+
3157
+ # Update properties of this object
3158
+ def update!(**args)
3159
+ @caption = args[:caption] if args.key?(:caption)
3160
+ @description = args[:description] if args.key?(:description)
3161
+ @hot_fix_id = args[:hot_fix_id] if args.key?(:hot_fix_id)
3162
+ @install_time = args[:install_time] if args.key?(:install_time)
3163
+ end
3164
+ end
3165
+
3166
+ # Categories specified by the Windows Update.
3167
+ class WindowsUpdateCategory
3168
+ include Google::Apis::Core::Hashable
3169
+
3170
+ # The identifier of the windows update category.
3171
+ # Corresponds to the JSON property `id`
3172
+ # @return [String]
3173
+ attr_accessor :id
3174
+
3175
+ # The name of the windows update category.
3176
+ # Corresponds to the JSON property `name`
3177
+ # @return [String]
3178
+ attr_accessor :name
3179
+
3180
+ def initialize(**args)
3181
+ update!(**args)
3182
+ end
3183
+
3184
+ # Update properties of this object
3185
+ def update!(**args)
3186
+ @id = args[:id] if args.key?(:id)
3187
+ @name = args[:name] if args.key?(:name)
3188
+ end
3189
+ end
3190
+
3191
+ # Details related to a Windows Update package. Field data and names are taken
3192
+ # from Windows Update API IUpdate Interface: https://docs.microsoft.com/en-us/
3193
+ # windows/win32/api/_wua/ Descriptive fields like title, and description are
3194
+ # localized based on the locale of the VM being updated.
3195
+ class WindowsUpdatePackage
3196
+ include Google::Apis::Core::Hashable
3197
+
3198
+ # The categories that are associated with this update package.
3199
+ # Corresponds to the JSON property `categories`
3200
+ # @return [Array<Google::Apis::CloudassetV1::WindowsUpdateCategory>]
3201
+ attr_accessor :categories
3202
+
3203
+ # The localized description of the update package.
3204
+ # Corresponds to the JSON property `description`
3205
+ # @return [String]
3206
+ attr_accessor :description
3207
+
3208
+ # A collection of Microsoft Knowledge Base article IDs that are associated with
3209
+ # the update package.
3210
+ # Corresponds to the JSON property `kbArticleIds`
3211
+ # @return [Array<String>]
3212
+ attr_accessor :kb_article_ids
3213
+
3214
+ # The last published date of the update, in (UTC) date and time.
3215
+ # Corresponds to the JSON property `lastDeploymentChangeTime`
3216
+ # @return [String]
3217
+ attr_accessor :last_deployment_change_time
3218
+
3219
+ # A collection of URLs that provide more information about the update package.
3220
+ # Corresponds to the JSON property `moreInfoUrls`
3221
+ # @return [Array<String>]
3222
+ attr_accessor :more_info_urls
3223
+
3224
+ # The revision number of this update package.
3225
+ # Corresponds to the JSON property `revisionNumber`
3226
+ # @return [Fixnum]
3227
+ attr_accessor :revision_number
3228
+
3229
+ # A hyperlink to the language-specific support information for the update.
3230
+ # Corresponds to the JSON property `supportUrl`
3231
+ # @return [String]
3232
+ attr_accessor :support_url
3233
+
3234
+ # The localized title of the update package.
3235
+ # Corresponds to the JSON property `title`
3236
+ # @return [String]
3237
+ attr_accessor :title
3238
+
3239
+ # Gets the identifier of an update package. Stays the same across revisions.
3240
+ # Corresponds to the JSON property `updateId`
3241
+ # @return [String]
3242
+ attr_accessor :update_id
3243
+
3244
+ def initialize(**args)
3245
+ update!(**args)
3246
+ end
3247
+
3248
+ # Update properties of this object
3249
+ def update!(**args)
3250
+ @categories = args[:categories] if args.key?(:categories)
3251
+ @description = args[:description] if args.key?(:description)
3252
+ @kb_article_ids = args[:kb_article_ids] if args.key?(:kb_article_ids)
3253
+ @last_deployment_change_time = args[:last_deployment_change_time] if args.key?(:last_deployment_change_time)
3254
+ @more_info_urls = args[:more_info_urls] if args.key?(:more_info_urls)
3255
+ @revision_number = args[:revision_number] if args.key?(:revision_number)
3256
+ @support_url = args[:support_url] if args.key?(:support_url)
3257
+ @title = args[:title] if args.key?(:title)
3258
+ @update_id = args[:update_id] if args.key?(:update_id)
3259
+ end
3260
+ end
3261
+
3262
+ # Details related to a Zypper Patch.
3263
+ class ZypperPatch
3264
+ include Google::Apis::Core::Hashable
3265
+
3266
+ # The category of the patch.
3267
+ # Corresponds to the JSON property `category`
3268
+ # @return [String]
3269
+ attr_accessor :category
3270
+
3271
+ # The name of the patch.
3272
+ # Corresponds to the JSON property `patchName`
3273
+ # @return [String]
3274
+ attr_accessor :patch_name
3275
+
3276
+ # The severity specified for this patch
3277
+ # Corresponds to the JSON property `severity`
3278
+ # @return [String]
3279
+ attr_accessor :severity
3280
+
3281
+ # Any summary information provided about this patch.
3282
+ # Corresponds to the JSON property `summary`
3283
+ # @return [String]
3284
+ attr_accessor :summary
3285
+
3286
+ def initialize(**args)
3287
+ update!(**args)
3288
+ end
3289
+
3290
+ # Update properties of this object
3291
+ def update!(**args)
3292
+ @category = args[:category] if args.key?(:category)
3293
+ @patch_name = args[:patch_name] if args.key?(:patch_name)
3294
+ @severity = args[:severity] if args.key?(:severity)
3295
+ @summary = args[:summary] if args.key?(:summary)
3296
+ end
3297
+ end
2879
3298
  end
2880
3299
  end
2881
3300
  end