google-api-client 0.36.0 → 0.36.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +69 -0
  3. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  4. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
  5. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  6. data/generated/google/apis/androidmanagement_v1/classes.rb +7 -4
  7. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  8. data/generated/google/apis/androidpublisher_v3/classes.rb +32 -32
  9. data/generated/google/apis/androidpublisher_v3/representations.rb +17 -17
  10. data/generated/google/apis/bigquery_v2.rb +1 -1
  11. data/generated/google/apis/bigquery_v2/classes.rb +2 -1
  12. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  13. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +81 -41
  14. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
  15. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +8 -8
  16. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  17. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +60 -30
  18. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  19. data/generated/google/apis/bigtableadmin_v2/classes.rb +75 -40
  20. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
  21. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  22. data/generated/google/apis/binaryauthorization_v1/classes.rb +75 -41
  23. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  24. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +75 -41
  25. data/generated/google/apis/chat_v1.rb +1 -1
  26. data/generated/google/apis/chat_v1/service.rb +5 -2
  27. data/generated/google/apis/cloudasset_v1.rb +1 -1
  28. data/generated/google/apis/cloudasset_v1/classes.rb +206 -0
  29. data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
  30. data/generated/google/apis/cloudasset_v1/service.rb +174 -0
  31. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  32. data/generated/google/apis/cloudbilling_v1/classes.rb +59 -41
  33. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  34. data/generated/google/apis/cloudbuild_v1/classes.rb +9 -5
  35. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  36. data/generated/google/apis/cloudfunctions_v1/classes.rb +75 -41
  37. data/generated/google/apis/cloudiot_v1.rb +1 -1
  38. data/generated/google/apis/cloudiot_v1/classes.rb +75 -41
  39. data/generated/google/apis/cloudkms_v1.rb +1 -1
  40. data/generated/google/apis/cloudkms_v1/classes.rb +104 -41
  41. data/generated/google/apis/cloudkms_v1/representations.rb +15 -0
  42. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  43. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +75 -41
  44. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  45. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +75 -41
  46. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  47. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  48. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +75 -41
  49. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  50. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +75 -41
  51. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  52. data/generated/google/apis/cloudsearch_v1/classes.rb +3 -2
  53. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  54. data/generated/google/apis/cloudtasks_v2/classes.rb +81 -47
  55. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  56. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +75 -41
  57. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  58. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +81 -47
  59. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  60. data/generated/google/apis/cloudtrace_v2/classes.rb +5 -3
  61. data/generated/google/apis/compute_alpha.rb +1 -1
  62. data/generated/google/apis/compute_alpha/classes.rb +68 -47
  63. data/generated/google/apis/compute_alpha/representations.rb +2 -1
  64. data/generated/google/apis/compute_alpha/service.rb +54 -0
  65. data/generated/google/apis/compute_beta.rb +1 -1
  66. data/generated/google/apis/compute_beta/classes.rb +597 -40
  67. data/generated/google/apis/compute_beta/representations.rb +164 -0
  68. data/generated/google/apis/compute_beta/service.rb +343 -1
  69. data/generated/google/apis/compute_v1.rb +1 -1
  70. data/generated/google/apis/compute_v1/classes.rb +54 -39
  71. data/generated/google/apis/compute_v1/representations.rb +1 -0
  72. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  73. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +75 -41
  74. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  75. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +77 -43
  76. data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
  77. data/generated/google/apis/content_v2.rb +1 -1
  78. data/generated/google/apis/content_v2/classes.rb +46 -42
  79. data/generated/google/apis/content_v2_1.rb +1 -1
  80. data/generated/google/apis/content_v2_1/classes.rb +46 -42
  81. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  82. data/generated/google/apis/datacatalog_v1beta1/classes.rb +75 -41
  83. data/generated/google/apis/datastore_v1.rb +1 -1
  84. data/generated/google/apis/datastore_v1/classes.rb +16 -22
  85. data/generated/google/apis/datastore_v1/service.rb +10 -10
  86. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  87. data/generated/google/apis/datastore_v1beta3/classes.rb +5 -4
  88. data/generated/google/apis/datastore_v1beta3/service.rb +8 -8
  89. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  90. data/generated/google/apis/dfareporting_v3_4/classes.rb +88 -88
  91. data/generated/google/apis/dfareporting_v3_4/representations.rb +39 -39
  92. data/generated/google/apis/dialogflow_v2.rb +1 -1
  93. data/generated/google/apis/dialogflow_v2/classes.rb +1 -1
  94. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  95. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1 -1
  96. data/generated/google/apis/dlp_v2.rb +1 -1
  97. data/generated/google/apis/dlp_v2/classes.rb +77 -0
  98. data/generated/google/apis/dlp_v2/representations.rb +42 -0
  99. data/generated/google/apis/file_v1.rb +1 -1
  100. data/generated/google/apis/file_v1/classes.rb +59 -12
  101. data/generated/google/apis/file_v1/representations.rb +19 -2
  102. data/generated/google/apis/file_v1/service.rb +8 -4
  103. data/generated/google/apis/file_v1beta1.rb +1 -1
  104. data/generated/google/apis/file_v1beta1/classes.rb +59 -12
  105. data/generated/google/apis/file_v1beta1/representations.rb +19 -2
  106. data/generated/google/apis/file_v1beta1/service.rb +8 -4
  107. data/generated/google/apis/firebaserules_v1.rb +1 -1
  108. data/generated/google/apis/firebaserules_v1/classes.rb +75 -0
  109. data/generated/google/apis/firebaserules_v1/representations.rb +35 -0
  110. data/generated/google/apis/gmail_v1.rb +1 -1
  111. data/generated/google/apis/gmail_v1/classes.rb +6 -2
  112. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  113. data/generated/google/apis/iamcredentials_v1/classes.rb +7 -4
  114. data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
  115. data/generated/google/apis/iap_v1.rb +1 -1
  116. data/generated/google/apis/iap_v1/classes.rb +225 -40
  117. data/generated/google/apis/iap_v1/representations.rb +84 -0
  118. data/generated/google/apis/iap_v1/service.rb +292 -0
  119. data/generated/google/apis/iap_v1beta1.rb +1 -1
  120. data/generated/google/apis/iap_v1beta1/classes.rb +75 -40
  121. data/generated/google/apis/logging_v2.rb +1 -1
  122. data/generated/google/apis/logging_v2/classes.rb +29 -41
  123. data/generated/google/apis/ml_v1.rb +1 -1
  124. data/generated/google/apis/ml_v1/classes.rb +14 -21
  125. data/generated/google/apis/ml_v1/service.rb +15 -18
  126. data/generated/google/apis/monitoring_v1.rb +1 -1
  127. data/generated/google/apis/monitoring_v1/classes.rb +15 -11
  128. data/generated/google/apis/monitoring_v3.rb +1 -1
  129. data/generated/google/apis/monitoring_v3/classes.rb +6 -10
  130. data/generated/google/apis/monitoring_v3/representations.rb +0 -1
  131. data/generated/google/apis/{fusiontables_v1.rb → policytroubleshooter_v1.rb} +10 -13
  132. data/generated/google/apis/policytroubleshooter_v1/classes.rb +700 -0
  133. data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
  134. data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
  135. data/generated/google/apis/pubsub_v1.rb +1 -1
  136. data/generated/google/apis/pubsub_v1/classes.rb +75 -41
  137. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  138. data/generated/google/apis/pubsub_v1beta2/classes.rb +75 -41
  139. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  140. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  141. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  142. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  143. data/generated/google/apis/run_v1.rb +1 -1
  144. data/generated/google/apis/run_v1/classes.rb +75 -41
  145. data/generated/google/apis/run_v1alpha1.rb +1 -1
  146. data/generated/google/apis/run_v1alpha1/classes.rb +82 -41
  147. data/generated/google/apis/run_v1alpha1/representations.rb +2 -0
  148. data/generated/google/apis/{fusiontables_v2.rb → secretmanager_v1beta1.rb} +11 -14
  149. data/generated/google/apis/secretmanager_v1beta1/classes.rb +936 -0
  150. data/generated/google/apis/secretmanager_v1beta1/representations.rb +388 -0
  151. data/generated/google/apis/secretmanager_v1beta1/service.rb +674 -0
  152. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  153. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +85 -1
  154. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -0
  155. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  156. data/generated/google/apis/servicecontrol_v1/classes.rb +4 -3
  157. data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
  158. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  159. data/generated/google/apis/servicenetworking_v1/classes.rb +38 -1
  160. data/generated/google/apis/servicenetworking_v1/representations.rb +14 -0
  161. data/generated/google/apis/servicenetworking_v1/service.rb +35 -0
  162. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  163. data/generated/google/apis/servicenetworking_v1beta/classes.rb +16 -1
  164. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
  165. data/generated/google/apis/serviceusage_v1.rb +1 -1
  166. data/generated/google/apis/serviceusage_v1/classes.rb +16 -1
  167. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  168. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  169. data/generated/google/apis/serviceusage_v1beta1/classes.rb +16 -1
  170. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  171. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  172. data/generated/google/apis/storagetransfer_v1/service.rb +4 -2
  173. data/generated/google/apis/testing_v1.rb +1 -1
  174. data/generated/google/apis/testing_v1/classes.rb +2 -2
  175. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  176. data/generated/google/apis/toolresults_v1beta3/classes.rb +374 -2
  177. data/generated/google/apis/toolresults_v1beta3/representations.rb +109 -0
  178. data/generated/google/apis/toolresults_v1beta3/service.rb +98 -0
  179. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  180. data/lib/google/apis/version.rb +1 -1
  181. metadata +11 -11
  182. data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
  183. data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
  184. data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
  185. data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
  186. data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
  187. data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeV1
27
27
  VERSION = 'V1'
28
- REVISION = '20191014'
28
+ REVISION = '20191025'
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'
@@ -1548,12 +1548,13 @@ module Google
1548
1548
  attr_accessor :self_link
1549
1549
 
1550
1550
  # [Output Only] The status of the autoscaler configuration. Current set of
1551
- # possible values: PENDING: Autoscaler backend hasn't read new/updated
1552
- # configuration DELETING: Configuration is being deleted ACTIVE: Configuration
1553
- # is acknowledged to be effective. Some warnings might or might not be present
1554
- # in the status_details field. ERROR: Configuration has errors. Actionable for
1555
- # users. Details are present in the status_details field. New values might be
1556
- # added in the future.
1551
+ # possible values:
1552
+ # - PENDING: Autoscaler backend hasn't read new/updated configuration.
1553
+ # - DELETING: Configuration is being deleted.
1554
+ # - ACTIVE: Configuration is acknowledged to be effective. Some warnings might
1555
+ # be present in the statusDetails field.
1556
+ # - ERROR: Configuration has errors. Actionable for users. Details are present
1557
+ # in the statusDetails field. New values might be added in the future.
1557
1558
  # Corresponds to the JSON property `status`
1558
1559
  # @return [String]
1559
1560
  attr_accessor :status
@@ -1842,38 +1843,45 @@ module Google
1842
1843
  # @return [String]
1843
1844
  attr_accessor :message
1844
1845
 
1845
- # The type of error, warning or notice returned. Current set of possible values:
1846
- # ALL_INSTANCES_UNHEALTHY (WARNING): All instances in the instance group are
1847
- # unhealthy (not in RUNNING state). BACKEND_SERVICE_DOES_NOT_EXIST (ERROR):
1848
- # There is no backend service attached to the instance group.
1849
- # CAPPED_AT_MAX_NUM_REPLICAS (WARNING): Autoscaler recommends size bigger than
1850
- # maxNumReplicas. CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING): The custom
1851
- # metric samples are not exported often enough to be a credible base for
1852
- # autoscaling. CUSTOM_METRIC_INVALID (ERROR): The custom metric that was
1853
- # specified does not exist or does not have the necessary labels. MIN_EQUALS_MAX
1854
- # (WARNING): The minNumReplicas is equal to maxNumReplicas. This means the
1855
- # autoscaler cannot add or remove instances from the instance group.
1856
- # MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING): The autoscaler did not receive
1846
+ # The type of error, warning, or notice returned. Current set of possible values:
1847
+ #
1848
+ # - ALL_INSTANCES_UNHEALTHY (WARNING): All instances in the instance group are
1849
+ # unhealthy (not in RUNNING state).
1850
+ # - BACKEND_SERVICE_DOES_NOT_EXIST (ERROR): There is no backend service attached
1851
+ # to the instance group.
1852
+ # - CAPPED_AT_MAX_NUM_REPLICAS (WARNING): Autoscaler recommends a size greater
1853
+ # than maxNumReplicas.
1854
+ # - CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING): The custom metric samples
1855
+ # are not exported often enough to be a credible base for autoscaling.
1856
+ # - CUSTOM_METRIC_INVALID (ERROR): The custom metric that was specified does not
1857
+ # exist or does not have the necessary labels.
1858
+ # - MIN_EQUALS_MAX (WARNING): The minNumReplicas is equal to maxNumReplicas.
1859
+ # This means the autoscaler cannot add or remove instances from the instance
1860
+ # group.
1861
+ # - MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING): The autoscaler did not receive
1857
1862
  # any data from the custom metric configured for autoscaling.
1858
- # MISSING_LOAD_BALANCING_DATA_POINTS (WARNING): The autoscaler is configured to
1859
- # scale based on a load balancing signal but the instance group has not received
1860
- # any requests from the load balancer. MODE_OFF (WARNING): Autoscaling is turned
1861
- # off. The number of instances in the group won't change automatically. The
1862
- # autoscaling configuration is preserved. MODE_ONLY_UP (WARNING): Autoscaling is
1863
- # in the "Autoscale only up" mode. Instances in the group will be only added.
1864
- # MORE_THAN_ONE_BACKEND_SERVICE (ERROR): The instance group cannot be autoscaled
1865
- # because it has more than one backend service attached to it.
1866
- # NOT_ENOUGH_QUOTA_AVAILABLE (ERROR): Exceeded quota for necessary resources,
1867
- # such as CPU, number of instances and so on. REGION_RESOURCE_STOCKOUT (ERROR):
1868
- # Showed only for regional autoscalers: there is a resource stockout in the
1869
- # chosen region. SCALING_TARGET_DOES_NOT_EXIST (ERROR): The target to be scaled
1870
- # does not exist. UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION (ERROR):
1871
- # Autoscaling does not work with an HTTP/S load balancer that has been
1872
- # configured for maxRate. ZONE_RESOURCE_STOCKOUT (ERROR): For zonal autoscalers:
1873
- # there is a resource stockout in the chosen zone. For regional autoscalers: in
1874
- # at least one of the zones you're using there is a resource stockout. New
1875
- # values might be added in the future. Some of the values might not be available
1876
- # in all API versions.
1863
+ # - MISSING_LOAD_BALANCING_DATA_POINTS (WARNING): The autoscaler is configured
1864
+ # to scale based on a load balancing signal but the instance group has not
1865
+ # received any requests from the load balancer.
1866
+ # - MODE_OFF (WARNING): Autoscaling is turned off. The number of instances in
1867
+ # the group won't change automatically. The autoscaling configuration is
1868
+ # preserved.
1869
+ # - MODE_ONLY_UP (WARNING): Autoscaling is in the "Autoscale only up" mode. The
1870
+ # autoscaler can add instances but not remove any.
1871
+ # - MORE_THAN_ONE_BACKEND_SERVICE (ERROR): The instance group cannot be
1872
+ # autoscaled because it has more than one backend service attached to it.
1873
+ # - NOT_ENOUGH_QUOTA_AVAILABLE (ERROR): There is insufficient quota for the
1874
+ # necessary resources, such as CPU or number of instances.
1875
+ # - REGION_RESOURCE_STOCKOUT (ERROR): Shown only for regional autoscalers: there
1876
+ # is a resource stockout in the chosen region.
1877
+ # - SCALING_TARGET_DOES_NOT_EXIST (ERROR): The target to be scaled does not
1878
+ # exist.
1879
+ # - UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION (ERROR): Autoscaling does
1880
+ # not work with an HTTP/S load balancer that has been configured for maxRate.
1881
+ # - ZONE_RESOURCE_STOCKOUT (ERROR): For zonal autoscalers: there is a resource
1882
+ # stockout in the chosen zone. For regional autoscalers: in at least one of the
1883
+ # zones you're using there is a resource stockout. New values might be added in
1884
+ # the future. Some of the values might not be available in all API versions.
1877
1885
  # Corresponds to the JSON property `type`
1878
1886
  # @return [String]
1879
1887
  attr_accessor :type
@@ -9123,6 +9131,12 @@ module Google
9123
9131
  # @return [String]
9124
9132
  attr_accessor :status
9125
9133
 
9134
+ # Cloud Storage bucket storage location of the image (regional or multi-regional)
9135
+ # .
9136
+ # Corresponds to the JSON property `storageLocations`
9137
+ # @return [Array<String>]
9138
+ attr_accessor :storage_locations
9139
+
9126
9140
  def initialize(**args)
9127
9141
  update!(**args)
9128
9142
  end
@@ -9157,6 +9171,7 @@ module Google
9157
9171
  @source_snapshot_id = args[:source_snapshot_id] if args.key?(:source_snapshot_id)
9158
9172
  @source_type = args[:source_type] if args.key?(:source_type)
9159
9173
  @status = args[:status] if args.key?(:status)
9174
+ @storage_locations = args[:storage_locations] if args.key?(:storage_locations)
9160
9175
  end
9161
9176
 
9162
9177
  # The parameters of the raw disk image.
@@ -23429,8 +23444,8 @@ module Google
23429
23444
  class Snapshot
23430
23445
  include Google::Apis::Core::Hashable
23431
23446
 
23432
- # [Output Only] Set to true if snapshots are automatically by applying resource
23433
- # policy on the target disk.
23447
+ # [Output Only] Set to true if snapshots are automatically created by applying
23448
+ # resource policy on the target disk.
23434
23449
  # Corresponds to the JSON property `autoCreated`
23435
23450
  # @return [Boolean]
23436
23451
  attr_accessor :auto_created
@@ -6345,6 +6345,7 @@ module Google
6345
6345
  property :source_snapshot_id, as: 'sourceSnapshotId'
6346
6346
  property :source_type, as: 'sourceType'
6347
6347
  property :status, as: 'status'
6348
+ collection :storage_locations, as: 'storageLocations'
6348
6349
  end
6349
6350
 
6350
6351
  class RawDisk
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-analysis/api/reference/rest/
27
27
  module ContaineranalysisV1alpha1
28
28
  VERSION = 'V1alpha1'
29
- REVISION = '20191118'
29
+ REVISION = '20191209'
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'
@@ -210,6 +210,23 @@ module Google
210
210
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
211
211
  # * `group:`emailid``: An email address that represents a Google group.
212
212
  # For example, `admins@example.com`.
213
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
214
+ # identifier) representing a user that has been recently deleted. For
215
+ # example, `alice@example.com?uid=123456789012345678901`. If the user is
216
+ # recovered, this value reverts to `user:`emailid`` and the recovered user
217
+ # retains the role in the binding.
218
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
219
+ # unique identifier) representing a service account that has been recently
220
+ # deleted. For example,
221
+ # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
222
+ # If the service account is undeleted, this value reverts to
223
+ # `serviceAccount:`emailid`` and the undeleted service account retains the
224
+ # role in the binding.
225
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
226
+ # identifier) representing a Google group that has been recently
227
+ # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
228
+ # the group is recovered, this value reverts to `group:`emailid`` and the
229
+ # recovered group retains the role in the binding.
213
230
  # * `domain:`domain``: The G Suite domain (primary) that represents all the
214
231
  # users of that domain. For example, `google.com` or `example.com`.
215
232
  # Corresponds to the JSON property `members`
@@ -1937,16 +1954,18 @@ module Google
1937
1954
  end
1938
1955
  end
1939
1956
 
1940
- # Defines an Identity and Access Management (IAM) policy. It is used to
1941
- # specify access control policies for Cloud Platform resources.
1957
+ # An Identity and Access Management (IAM) policy, which specifies access
1958
+ # controls for Google Cloud resources.
1942
1959
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1943
1960
  # `members` to a single `role`. Members can be user accounts, service accounts,
1944
1961
  # Google groups, and domains (such as G Suite). A `role` is a named list of
1945
- # permissions (defined by IAM or configured by users). A `binding` can
1946
- # optionally specify a `condition`, which is a logic expression that further
1947
- # constrains the role binding based on attributes about the request and/or
1948
- # target resource.
1949
- # **JSON Example**
1962
+ # permissions; each `role` can be an IAM predefined role or a user-created
1963
+ # custom role.
1964
+ # Optionally, a `binding` can specify a `condition`, which is a logical
1965
+ # expression that allows access to a resource only if the expression evaluates
1966
+ # to `true`. A condition can add constraints based on attributes of the
1967
+ # request, the resource, or both.
1968
+ # **JSON example:**
1950
1969
  # `
1951
1970
  # "bindings": [
1952
1971
  # `
@@ -1964,13 +1983,15 @@ module Google
1964
1983
  # "condition": `
1965
1984
  # "title": "expirable access",
1966
1985
  # "description": "Does not grant access after Sep 2020",
1967
- # "expression": "request.time <
1968
- # timestamp('2020-10-01T00:00:00.000Z')",
1986
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1987
+ # ",
1969
1988
  # `
1970
1989
  # `
1971
- # ]
1990
+ # ],
1991
+ # "etag": "BwWWja0YfJA=",
1992
+ # "version": 3
1972
1993
  # `
1973
- # **YAML Example**
1994
+ # **YAML example:**
1974
1995
  # bindings:
1975
1996
  # - members:
1976
1997
  # - user:mike@example.com
@@ -1985,14 +2006,16 @@ module Google
1985
2006
  # title: expirable access
1986
2007
  # description: Does not grant access after Sep 2020
1987
2008
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2009
+ # - etag: BwWWja0YfJA=
2010
+ # - version: 3
1988
2011
  # For a description of IAM and its features, see the
1989
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
2012
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1990
2013
  class Policy
1991
2014
  include Google::Apis::Core::Hashable
1992
2015
 
1993
- # Associates a list of `members` to a `role`. Optionally may specify a
1994
- # `condition` that determines when binding is in effect.
1995
- # `bindings` with no members will result in an error.
2016
+ # Associates a list of `members` to a `role`. Optionally, may specify a
2017
+ # `condition` that determines how and when the `bindings` are applied. Each
2018
+ # of the `bindings` must contain at least one member.
1996
2019
  # Corresponds to the JSON property `bindings`
1997
2020
  # @return [Array<Google::Apis::ContaineranalysisV1alpha1::Binding>]
1998
2021
  attr_accessor :bindings
@@ -2004,26 +2027,31 @@ module Google
2004
2027
  # conditions: An `etag` is returned in the response to `getIamPolicy`, and
2005
2028
  # systems are expected to put that etag in the request to `setIamPolicy` to
2006
2029
  # ensure that their change will be applied to the same version of the policy.
2007
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
2008
- # policy is overwritten. Due to blind-set semantics of an etag-less policy,
2009
- # 'setIamPolicy' will not fail even if the incoming policy version does not
2010
- # meet the requirements for modifying the stored policy.
2030
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
2031
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
2032
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
2033
+ # the conditions in the version `3` policy are lost.
2011
2034
  # Corresponds to the JSON property `etag`
2012
2035
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2013
2036
  # @return [String]
2014
2037
  attr_accessor :etag
2015
2038
 
2016
2039
  # Specifies the format of the policy.
2017
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
2018
- # rejected.
2019
- # Operations affecting conditional bindings must specify version 3. This can
2020
- # be either setting a conditional policy, modifying a conditional binding,
2021
- # or removing a binding (conditional or unconditional) from the stored
2022
- # conditional policy.
2023
- # Operations on non-conditional policies may specify any valid value or
2024
- # leave the field unset.
2025
- # If no etag is provided in the call to `setIamPolicy`, version compliance
2026
- # checks against the stored policy is skipped.
2040
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
2041
+ # are rejected.
2042
+ # Any operation that affects conditional role bindings must specify version
2043
+ # `3`. This requirement applies to the following operations:
2044
+ # * Getting a policy that includes a conditional role binding
2045
+ # * Adding a conditional role binding to a policy
2046
+ # * Changing a conditional role binding in a policy
2047
+ # * Removing any role binding, with or without a condition, from a policy
2048
+ # that includes conditions
2049
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
2050
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
2051
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
2052
+ # the conditions in the version `3` policy are lost.
2053
+ # If a policy does not include any conditions, operations on that policy may
2054
+ # specify any valid version or leave the field unset.
2027
2055
  # Corresponds to the JSON property `version`
2028
2056
  # @return [Fixnum]
2029
2057
  attr_accessor :version
@@ -2190,16 +2218,18 @@ module Google
2190
2218
  class SetIamPolicyRequest
2191
2219
  include Google::Apis::Core::Hashable
2192
2220
 
2193
- # Defines an Identity and Access Management (IAM) policy. It is used to
2194
- # specify access control policies for Cloud Platform resources.
2221
+ # An Identity and Access Management (IAM) policy, which specifies access
2222
+ # controls for Google Cloud resources.
2195
2223
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
2196
2224
  # `members` to a single `role`. Members can be user accounts, service accounts,
2197
2225
  # Google groups, and domains (such as G Suite). A `role` is a named list of
2198
- # permissions (defined by IAM or configured by users). A `binding` can
2199
- # optionally specify a `condition`, which is a logic expression that further
2200
- # constrains the role binding based on attributes about the request and/or
2201
- # target resource.
2202
- # **JSON Example**
2226
+ # permissions; each `role` can be an IAM predefined role or a user-created
2227
+ # custom role.
2228
+ # Optionally, a `binding` can specify a `condition`, which is a logical
2229
+ # expression that allows access to a resource only if the expression evaluates
2230
+ # to `true`. A condition can add constraints based on attributes of the
2231
+ # request, the resource, or both.
2232
+ # **JSON example:**
2203
2233
  # `
2204
2234
  # "bindings": [
2205
2235
  # `
@@ -2217,13 +2247,15 @@ module Google
2217
2247
  # "condition": `
2218
2248
  # "title": "expirable access",
2219
2249
  # "description": "Does not grant access after Sep 2020",
2220
- # "expression": "request.time <
2221
- # timestamp('2020-10-01T00:00:00.000Z')",
2250
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
2251
+ # ",
2222
2252
  # `
2223
2253
  # `
2224
- # ]
2254
+ # ],
2255
+ # "etag": "BwWWja0YfJA=",
2256
+ # "version": 3
2225
2257
  # `
2226
- # **YAML Example**
2258
+ # **YAML example:**
2227
2259
  # bindings:
2228
2260
  # - members:
2229
2261
  # - user:mike@example.com
@@ -2238,8 +2270,10 @@ module Google
2238
2270
  # title: expirable access
2239
2271
  # description: Does not grant access after Sep 2020
2240
2272
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2273
+ # - etag: BwWWja0YfJA=
2274
+ # - version: 3
2241
2275
  # For a description of IAM and its features, see the
2242
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
2276
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
2243
2277
  # Corresponds to the JSON property `policy`
2244
2278
  # @return [Google::Apis::ContaineranalysisV1alpha1::Policy]
2245
2279
  attr_accessor :policy
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-analysis/api/reference/rest/
27
27
  module ContaineranalysisV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20191118'
29
+ REVISION = '20191209'
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'
@@ -187,7 +187,7 @@ module Google
187
187
  class BatchCreateNotesRequest
188
188
  include Google::Apis::Core::Hashable
189
189
 
190
- # The notes to create. Max allowed length is 1000.
190
+ # Required. The notes to create. Max allowed length is 1000.
191
191
  # Corresponds to the JSON property `notes`
192
192
  # @return [Hash<String,Google::Apis::ContaineranalysisV1beta1::Note>]
193
193
  attr_accessor :notes
@@ -225,7 +225,7 @@ module Google
225
225
  class BatchCreateOccurrencesRequest
226
226
  include Google::Apis::Core::Hashable
227
227
 
228
- # The occurrences to create. Max allowed length is 1000.
228
+ # Required. The occurrences to create. Max allowed length is 1000.
229
229
  # Corresponds to the JSON property `occurrences`
230
230
  # @return [Array<Google::Apis::ContaineranalysisV1beta1::Occurrence>]
231
231
  attr_accessor :occurrences
@@ -283,6 +283,23 @@ module Google
283
283
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
284
284
  # * `group:`emailid``: An email address that represents a Google group.
285
285
  # For example, `admins@example.com`.
286
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
287
+ # identifier) representing a user that has been recently deleted. For
288
+ # example, `alice@example.com?uid=123456789012345678901`. If the user is
289
+ # recovered, this value reverts to `user:`emailid`` and the recovered user
290
+ # retains the role in the binding.
291
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
292
+ # unique identifier) representing a service account that has been recently
293
+ # deleted. For example,
294
+ # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
295
+ # If the service account is undeleted, this value reverts to
296
+ # `serviceAccount:`emailid`` and the undeleted service account retains the
297
+ # role in the binding.
298
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
299
+ # identifier) representing a Google group that has been recently
300
+ # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
301
+ # the group is recovered, this value reverts to `group:`emailid`` and the
302
+ # recovered group retains the role in the binding.
286
303
  # * `domain:`domain``: The G Suite domain (primary) that represents all the
287
304
  # users of that domain. For example, `google.com` or `example.com`.
288
305
  # Corresponds to the JSON property `members`
@@ -2125,16 +2142,18 @@ module Google
2125
2142
  end
2126
2143
  end
2127
2144
 
2128
- # Defines an Identity and Access Management (IAM) policy. It is used to
2129
- # specify access control policies for Cloud Platform resources.
2145
+ # An Identity and Access Management (IAM) policy, which specifies access
2146
+ # controls for Google Cloud resources.
2130
2147
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
2131
2148
  # `members` to a single `role`. Members can be user accounts, service accounts,
2132
2149
  # Google groups, and domains (such as G Suite). A `role` is a named list of
2133
- # permissions (defined by IAM or configured by users). A `binding` can
2134
- # optionally specify a `condition`, which is a logic expression that further
2135
- # constrains the role binding based on attributes about the request and/or
2136
- # target resource.
2137
- # **JSON Example**
2150
+ # permissions; each `role` can be an IAM predefined role or a user-created
2151
+ # custom role.
2152
+ # Optionally, a `binding` can specify a `condition`, which is a logical
2153
+ # expression that allows access to a resource only if the expression evaluates
2154
+ # to `true`. A condition can add constraints based on attributes of the
2155
+ # request, the resource, or both.
2156
+ # **JSON example:**
2138
2157
  # `
2139
2158
  # "bindings": [
2140
2159
  # `
@@ -2152,13 +2171,15 @@ module Google
2152
2171
  # "condition": `
2153
2172
  # "title": "expirable access",
2154
2173
  # "description": "Does not grant access after Sep 2020",
2155
- # "expression": "request.time <
2156
- # timestamp('2020-10-01T00:00:00.000Z')",
2174
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
2175
+ # ",
2157
2176
  # `
2158
2177
  # `
2159
- # ]
2178
+ # ],
2179
+ # "etag": "BwWWja0YfJA=",
2180
+ # "version": 3
2160
2181
  # `
2161
- # **YAML Example**
2182
+ # **YAML example:**
2162
2183
  # bindings:
2163
2184
  # - members:
2164
2185
  # - user:mike@example.com
@@ -2173,14 +2194,16 @@ module Google
2173
2194
  # title: expirable access
2174
2195
  # description: Does not grant access after Sep 2020
2175
2196
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2197
+ # - etag: BwWWja0YfJA=
2198
+ # - version: 3
2176
2199
  # For a description of IAM and its features, see the
2177
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
2200
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
2178
2201
  class Policy
2179
2202
  include Google::Apis::Core::Hashable
2180
2203
 
2181
- # Associates a list of `members` to a `role`. Optionally may specify a
2182
- # `condition` that determines when binding is in effect.
2183
- # `bindings` with no members will result in an error.
2204
+ # Associates a list of `members` to a `role`. Optionally, may specify a
2205
+ # `condition` that determines how and when the `bindings` are applied. Each
2206
+ # of the `bindings` must contain at least one member.
2184
2207
  # Corresponds to the JSON property `bindings`
2185
2208
  # @return [Array<Google::Apis::ContaineranalysisV1beta1::Binding>]
2186
2209
  attr_accessor :bindings
@@ -2192,26 +2215,31 @@ module Google
2192
2215
  # conditions: An `etag` is returned in the response to `getIamPolicy`, and
2193
2216
  # systems are expected to put that etag in the request to `setIamPolicy` to
2194
2217
  # ensure that their change will be applied to the same version of the policy.
2195
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
2196
- # policy is overwritten. Due to blind-set semantics of an etag-less policy,
2197
- # 'setIamPolicy' will not fail even if the incoming policy version does not
2198
- # meet the requirements for modifying the stored policy.
2218
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
2219
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
2220
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
2221
+ # the conditions in the version `3` policy are lost.
2199
2222
  # Corresponds to the JSON property `etag`
2200
2223
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2201
2224
  # @return [String]
2202
2225
  attr_accessor :etag
2203
2226
 
2204
2227
  # Specifies the format of the policy.
2205
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
2206
- # rejected.
2207
- # Operations affecting conditional bindings must specify version 3. This can
2208
- # be either setting a conditional policy, modifying a conditional binding,
2209
- # or removing a binding (conditional or unconditional) from the stored
2210
- # conditional policy.
2211
- # Operations on non-conditional policies may specify any valid value or
2212
- # leave the field unset.
2213
- # If no etag is provided in the call to `setIamPolicy`, version compliance
2214
- # checks against the stored policy is skipped.
2228
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
2229
+ # are rejected.
2230
+ # Any operation that affects conditional role bindings must specify version
2231
+ # `3`. This requirement applies to the following operations:
2232
+ # * Getting a policy that includes a conditional role binding
2233
+ # * Adding a conditional role binding to a policy
2234
+ # * Changing a conditional role binding in a policy
2235
+ # * Removing any role binding, with or without a condition, from a policy
2236
+ # that includes conditions
2237
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
2238
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
2239
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
2240
+ # the conditions in the version `3` policy are lost.
2241
+ # If a policy does not include any conditions, operations on that policy may
2242
+ # specify any valid version or leave the field unset.
2215
2243
  # Corresponds to the JSON property `version`
2216
2244
  # @return [Fixnum]
2217
2245
  attr_accessor :version
@@ -2391,16 +2419,18 @@ module Google
2391
2419
  class SetIamPolicyRequest
2392
2420
  include Google::Apis::Core::Hashable
2393
2421
 
2394
- # Defines an Identity and Access Management (IAM) policy. It is used to
2395
- # specify access control policies for Cloud Platform resources.
2422
+ # An Identity and Access Management (IAM) policy, which specifies access
2423
+ # controls for Google Cloud resources.
2396
2424
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
2397
2425
  # `members` to a single `role`. Members can be user accounts, service accounts,
2398
2426
  # Google groups, and domains (such as G Suite). A `role` is a named list of
2399
- # permissions (defined by IAM or configured by users). A `binding` can
2400
- # optionally specify a `condition`, which is a logic expression that further
2401
- # constrains the role binding based on attributes about the request and/or
2402
- # target resource.
2403
- # **JSON Example**
2427
+ # permissions; each `role` can be an IAM predefined role or a user-created
2428
+ # custom role.
2429
+ # Optionally, a `binding` can specify a `condition`, which is a logical
2430
+ # expression that allows access to a resource only if the expression evaluates
2431
+ # to `true`. A condition can add constraints based on attributes of the
2432
+ # request, the resource, or both.
2433
+ # **JSON example:**
2404
2434
  # `
2405
2435
  # "bindings": [
2406
2436
  # `
@@ -2418,13 +2448,15 @@ module Google
2418
2448
  # "condition": `
2419
2449
  # "title": "expirable access",
2420
2450
  # "description": "Does not grant access after Sep 2020",
2421
- # "expression": "request.time <
2422
- # timestamp('2020-10-01T00:00:00.000Z')",
2451
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
2452
+ # ",
2423
2453
  # `
2424
2454
  # `
2425
- # ]
2455
+ # ],
2456
+ # "etag": "BwWWja0YfJA=",
2457
+ # "version": 3
2426
2458
  # `
2427
- # **YAML Example**
2459
+ # **YAML example:**
2428
2460
  # bindings:
2429
2461
  # - members:
2430
2462
  # - user:mike@example.com
@@ -2439,8 +2471,10 @@ module Google
2439
2471
  # title: expirable access
2440
2472
  # description: Does not grant access after Sep 2020
2441
2473
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2474
+ # - etag: BwWWja0YfJA=
2475
+ # - version: 3
2442
2476
  # For a description of IAM and its features, see the
2443
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
2477
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
2444
2478
  # Corresponds to the JSON property `policy`
2445
2479
  # @return [Google::Apis::ContaineranalysisV1beta1::Policy]
2446
2480
  attr_accessor :policy