google-api-client 0.51.0 → 0.52.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release-please.yml +23 -45
  3. data/CHANGELOG.md +100 -0
  4. data/README.md +2 -2
  5. data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
  6. data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
  7. data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
  8. data/generated/google/apis/admin_directory_v1.rb +2 -2
  9. data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
  10. data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
  11. data/generated/google/apis/admin_directory_v1/service.rb +323 -183
  12. data/generated/google/apis/admin_reports_v1.rb +2 -2
  13. data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
  14. data/generated/google/apis/admin_reports_v1/service.rb +198 -179
  15. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  16. data/generated/google/apis/analytics_v3/service.rb +1 -1
  17. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  18. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +2 -2
  19. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +5 -12
  20. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  21. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +11 -11
  22. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  23. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  24. data/generated/google/apis/apigateway_v1beta/classes.rb +3 -9
  25. data/generated/google/apis/apigateway_v1beta/representations.rb +0 -1
  26. data/generated/google/apis/apigee_v1.rb +1 -1
  27. data/generated/google/apis/apigee_v1/classes.rb +71 -0
  28. data/generated/google/apis/apigee_v1/representations.rb +42 -0
  29. data/generated/google/apis/apigee_v1/service.rb +206 -0
  30. data/generated/google/apis/appengine_v1.rb +1 -1
  31. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  32. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  33. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  34. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +2 -2
  35. data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
  36. data/generated/google/apis/artifactregistry_v1beta2.rb +1 -1
  37. data/generated/google/apis/artifactregistry_v1beta2/classes.rb +2 -2
  38. data/generated/google/apis/artifactregistry_v1beta2/service.rb +4 -1
  39. data/generated/google/apis/cloudasset_v1.rb +1 -1
  40. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  41. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  42. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  43. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  44. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
  45. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  46. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  47. data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
  48. data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
  49. data/generated/google/apis/cloudidentity_v1/service.rb +202 -2
  50. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  51. data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -2
  52. data/generated/google/apis/cloudkms_v1.rb +1 -1
  53. data/generated/google/apis/cloudkms_v1/classes.rb +0 -6
  54. data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
  55. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  56. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
  57. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
  58. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
  59. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  60. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -0
  61. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -0
  62. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  63. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -0
  64. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -0
  65. data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
  66. data/generated/google/apis/composer_v1beta1.rb +1 -1
  67. data/generated/google/apis/composer_v1beta1/classes.rb +64 -0
  68. data/generated/google/apis/composer_v1beta1/representations.rb +18 -0
  69. data/generated/google/apis/compute_alpha.rb +1 -1
  70. data/generated/google/apis/compute_alpha/classes.rb +1071 -341
  71. data/generated/google/apis/compute_alpha/representations.rb +248 -19
  72. data/generated/google/apis/compute_alpha/service.rb +291 -15
  73. data/generated/google/apis/compute_beta.rb +1 -1
  74. data/generated/google/apis/compute_beta/classes.rb +926 -283
  75. data/generated/google/apis/compute_beta/representations.rb +221 -18
  76. data/generated/google/apis/compute_beta/service.rb +24 -15
  77. data/generated/google/apis/compute_v1.rb +1 -1
  78. data/generated/google/apis/compute_v1/classes.rb +419 -158
  79. data/generated/google/apis/compute_v1/representations.rb +55 -0
  80. data/generated/google/apis/compute_v1/service.rb +9 -7
  81. data/generated/google/apis/container_v1.rb +1 -1
  82. data/generated/google/apis/container_v1/classes.rb +48 -9
  83. data/generated/google/apis/container_v1/representations.rb +17 -0
  84. data/generated/google/apis/container_v1/service.rb +4 -2
  85. data/generated/google/apis/container_v1beta1.rb +1 -1
  86. data/generated/google/apis/container_v1beta1/classes.rb +24 -13
  87. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  88. data/generated/google/apis/container_v1beta1/service.rb +6 -2
  89. data/generated/google/apis/content_v2_1.rb +1 -1
  90. data/generated/google/apis/content_v2_1/classes.rb +16 -7
  91. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  92. data/generated/google/apis/datamigration_v1beta1.rb +1 -1
  93. data/generated/google/apis/datamigration_v1beta1/classes.rb +0 -6
  94. data/generated/google/apis/datamigration_v1beta1/representations.rb +0 -1
  95. data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
  96. data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
  97. data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
  98. data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
  99. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  100. data/generated/google/apis/deploymentmanager_v2/service.rb +5 -25
  101. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  102. data/generated/google/apis/deploymentmanager_v2beta/service.rb +8 -40
  103. data/generated/google/apis/dialogflow_v2.rb +1 -1
  104. data/generated/google/apis/dialogflow_v2/classes.rb +692 -0
  105. data/generated/google/apis/dialogflow_v2/representations.rb +326 -0
  106. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  107. data/generated/google/apis/dialogflow_v2beta1/classes.rb +692 -0
  108. data/generated/google/apis/dialogflow_v2beta1/representations.rb +326 -0
  109. data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
  110. data/generated/google/apis/dialogflow_v3/classes.rb +8943 -0
  111. data/generated/google/apis/dialogflow_v3/representations.rb +3773 -0
  112. data/generated/google/apis/dialogflow_v3/service.rb +3006 -0
  113. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  114. data/generated/google/apis/dialogflow_v3beta1/classes.rb +784 -0
  115. data/generated/google/apis/dialogflow_v3beta1/representations.rb +360 -0
  116. data/generated/google/apis/dialogflow_v3beta1/service.rb +173 -0
  117. data/generated/google/apis/dlp_v2.rb +1 -1
  118. data/generated/google/apis/dlp_v2/service.rb +294 -1
  119. data/generated/google/apis/dns_v1.rb +1 -1
  120. data/generated/google/apis/dns_v1/classes.rb +65 -0
  121. data/generated/google/apis/dns_v1/representations.rb +32 -0
  122. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  123. data/generated/google/apis/documentai_v1beta2/classes.rb +220 -102
  124. data/generated/google/apis/documentai_v1beta2/representations.rb +105 -9
  125. data/generated/google/apis/documentai_v1beta3.rb +1 -1
  126. data/generated/google/apis/documentai_v1beta3/classes.rb +241 -117
  127. data/generated/google/apis/documentai_v1beta3/representations.rb +105 -9
  128. data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
  129. data/generated/google/apis/eventarc_v1beta1.rb +1 -1
  130. data/generated/google/apis/eventarc_v1beta1/classes.rb +8 -9
  131. data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
  132. data/generated/google/apis/file_v1.rb +1 -1
  133. data/generated/google/apis/file_v1/classes.rb +61 -0
  134. data/generated/google/apis/file_v1/representations.rb +19 -0
  135. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  136. data/generated/google/apis/genomics_v2alpha1/classes.rb +11 -7
  137. data/generated/google/apis/healthcare_v1.rb +1 -1
  138. data/generated/google/apis/healthcare_v1/classes.rb +0 -6
  139. data/generated/google/apis/healthcare_v1/representations.rb +0 -1
  140. data/generated/google/apis/healthcare_v1/service.rb +13 -12
  141. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  142. data/generated/google/apis/healthcare_v1beta1/classes.rb +45 -19
  143. data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -1
  144. data/generated/google/apis/healthcare_v1beta1/service.rb +37 -37
  145. data/generated/google/apis/iap_v1.rb +1 -1
  146. data/generated/google/apis/iap_v1/classes.rb +0 -6
  147. data/generated/google/apis/iap_v1/representations.rb +0 -1
  148. data/generated/google/apis/iap_v1beta1.rb +1 -1
  149. data/generated/google/apis/iap_v1beta1/classes.rb +0 -6
  150. data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
  151. data/generated/google/apis/metastore_v1beta.rb +35 -0
  152. data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
  153. data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
  154. data/generated/google/apis/metastore_v1beta/service.rb +800 -0
  155. data/generated/google/apis/ml_v1.rb +1 -1
  156. data/generated/google/apis/ml_v1/classes.rb +51 -18
  157. data/generated/google/apis/ml_v1/representations.rb +16 -0
  158. data/generated/google/apis/monitoring_v3.rb +1 -1
  159. data/generated/google/apis/monitoring_v3/classes.rb +8 -4
  160. data/generated/google/apis/privateca_v1beta1.rb +1 -1
  161. data/generated/google/apis/privateca_v1beta1/classes.rb +2 -1
  162. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  163. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +37 -0
  164. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +18 -0
  165. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  166. data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
  167. data/generated/google/apis/redis_v1.rb +1 -1
  168. data/generated/google/apis/redis_v1/classes.rb +2 -2
  169. data/generated/google/apis/redis_v1beta1.rb +1 -1
  170. data/generated/google/apis/redis_v1beta1/classes.rb +2 -2
  171. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  172. data/generated/google/apis/safebrowsing_v4/classes.rb +277 -277
  173. data/generated/google/apis/safebrowsing_v4/representations.rb +128 -128
  174. data/generated/google/apis/safebrowsing_v4/service.rb +44 -44
  175. data/generated/google/apis/searchconsole_v1.rb +1 -1
  176. data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
  177. data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
  178. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  179. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +11 -10
  180. data/generated/google/apis/servicecontrol_v1.rb +3 -3
  181. data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
  182. data/generated/google/apis/servicecontrol_v2.rb +3 -3
  183. data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
  184. data/generated/google/apis/servicedirectory_v1.rb +35 -0
  185. data/generated/google/apis/servicedirectory_v1/classes.rb +721 -0
  186. data/generated/google/apis/servicedirectory_v1/representations.rb +304 -0
  187. data/generated/google/apis/servicedirectory_v1/service.rb +957 -0
  188. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  189. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
  190. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  191. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
  192. data/generated/google/apis/serviceusage_v1.rb +1 -1
  193. data/generated/google/apis/serviceusage_v1/classes.rb +11 -10
  194. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  195. data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -10
  196. data/generated/google/apis/slides_v1.rb +1 -1
  197. data/generated/google/apis/slides_v1/classes.rb +9 -3
  198. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  199. data/generated/google/apis/speech_v1p1beta1/classes.rb +0 -22
  200. data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -2
  201. data/generated/google/apis/testing_v1.rb +1 -1
  202. data/generated/google/apis/testing_v1/classes.rb +1 -1
  203. data/generated/google/apis/trafficdirector_v2.rb +2 -2
  204. data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
  205. data/generated/google/apis/transcoder_v1beta1.rb +1 -1
  206. data/generated/google/apis/transcoder_v1beta1/classes.rb +12 -2
  207. data/generated/google/apis/transcoder_v1beta1/representations.rb +1 -0
  208. data/generated/google/apis/translate_v3.rb +1 -1
  209. data/generated/google/apis/translate_v3/classes.rb +1 -1
  210. data/generated/google/apis/translate_v3beta1.rb +1 -1
  211. data/generated/google/apis/translate_v3beta1/classes.rb +1 -1
  212. data/generated/google/apis/workflows_v1beta.rb +1 -1
  213. data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
  214. data/lib/google/apis/version.rb +1 -1
  215. metadata +15 -7
  216. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
  217. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
  218. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
@@ -949,6 +949,7 @@ module Google
949
949
 
950
950
  property :desired_private_cluster_config, as: 'desiredPrivateClusterConfig', class: Google::Apis::ContainerV1beta1::PrivateClusterConfig, decorator: Google::Apis::ContainerV1beta1::PrivateClusterConfig::Representation
951
951
 
952
+ property :desired_private_ipv6_google_access, as: 'desiredPrivateIpv6GoogleAccess'
952
953
  property :desired_release_channel, as: 'desiredReleaseChannel', class: Google::Apis::ContainerV1beta1::ReleaseChannel, decorator: Google::Apis::ContainerV1beta1::ReleaseChannel::Representation
953
954
 
954
955
  property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig::Representation
@@ -1321,6 +1322,7 @@ module Google
1321
1322
 
1322
1323
  property :enable_intra_node_visibility, as: 'enableIntraNodeVisibility'
1323
1324
  property :network, as: 'network'
1325
+ property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
1324
1326
  property :subnetwork, as: 'subnetwork'
1325
1327
  end
1326
1328
  end
@@ -1108,7 +1108,9 @@ module Google
1108
1108
  execute_or_queue_command(command, &block)
1109
1109
  end
1110
1110
 
1111
- # Sets the size for a specific node pool.
1111
+ # SetNodePoolSizeRequest sets the size of a node pool. The new size will be used
1112
+ # for all replicas, including future replicas created by modifying NodePool.
1113
+ # locations.
1112
1114
  # @param [String] name
1113
1115
  # The name (project, location, cluster, node pool id) of the node pool to set
1114
1116
  # size. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
@@ -2463,7 +2465,9 @@ module Google
2463
2465
  execute_or_queue_command(command, &block)
2464
2466
  end
2465
2467
 
2466
- # Sets the size for a specific node pool.
2468
+ # SetNodePoolSizeRequest sets the size of a node pool. The new size will be used
2469
+ # for all replicas, including future replicas created by modifying NodePool.
2470
+ # locations.
2467
2471
  # @param [String] project_id
2468
2472
  # Required. Deprecated. The Google Developers Console [project ID or project
2469
2473
  # number](https://support.google.com/cloud/answer/6158840). This field has been
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/shopping-content/v2/
26
26
  module ContentV2_1
27
27
  VERSION = 'V2_1'
28
- REVISION = '20201113'
28
+ REVISION = '20201204'
29
29
 
30
30
  # Manage your product listings and accounts for Google Shopping
31
31
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -334,17 +334,17 @@ module Google
334
334
  class AccountLabel
335
335
  include Google::Apis::Core::Hashable
336
336
 
337
- # Output only. Immutable. The ID of account this label belongs to.
337
+ # Immutable. The ID of account this label belongs to.
338
338
  # Corresponds to the JSON property `accountId`
339
339
  # @return [Fixnum]
340
340
  attr_accessor :account_id
341
341
 
342
- # Description for this label.
342
+ # The description of this label.
343
343
  # Corresponds to the JSON property `description`
344
344
  # @return [String]
345
345
  attr_accessor :description
346
346
 
347
- # Output only. Immutable. The ID of the label.
347
+ # Output only. The ID of the label.
348
348
  # Corresponds to the JSON property `labelId`
349
349
  # @return [Fixnum]
350
350
  attr_accessor :label_id
@@ -943,7 +943,9 @@ module Google
943
943
  # @return [String]
944
944
  attr_accessor :linked_account_id
945
945
 
946
- # List of provided services.
946
+ # Provided services. Acceptable values are: - "`shoppingAdsProductManagement`" -
947
+ # "`shoppingAdsOther`" - "`shoppingActionsProductManagement`" - "`
948
+ # shoppingActionsOrderManagement`" - "`shoppingActionsOther`"
947
949
  # Corresponds to the JSON property `services`
948
950
  # @return [Array<String>]
949
951
  attr_accessor :services
@@ -3397,7 +3399,7 @@ module Google
3397
3399
  # @return [Google::Apis::ContentV2_1::Errors]
3398
3400
  attr_accessor :errors
3399
3401
 
3400
- # The the list of accessible GMB accounts.
3402
+ # The list of accessible GMB accounts.
3401
3403
  # Corresponds to the JSON property `gmbAccounts`
3402
3404
  # @return [Google::Apis::ContentV2_1::GmbAccounts]
3403
3405
  attr_accessor :gmb_accounts
@@ -10924,6 +10926,12 @@ module Google
10924
10926
  # @return [Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher]
10925
10927
  attr_accessor :offer_id_matcher
10926
10928
 
10929
+ # When true, the rule won't be applied to offers with active promotions.
10930
+ # Corresponds to the JSON property `skipWhenOnPromotion`
10931
+ # @return [Boolean]
10932
+ attr_accessor :skip_when_on_promotion
10933
+ alias_method :skip_when_on_promotion?, :skip_when_on_promotion
10934
+
10927
10935
  def initialize(**args)
10928
10936
  update!(**args)
10929
10937
  end
@@ -10934,6 +10942,7 @@ module Google
10934
10942
  @item_group_id_matcher = args[:item_group_id_matcher] if args.key?(:item_group_id_matcher)
10935
10943
  @matcher_option = args[:matcher_option] if args.key?(:matcher_option)
10936
10944
  @offer_id_matcher = args[:offer_id_matcher] if args.key?(:offer_id_matcher)
10945
+ @skip_when_on_promotion = args[:skip_when_on_promotion] if args.key?(:skip_when_on_promotion)
10937
10946
  end
10938
10947
  end
10939
10948
 
@@ -11340,7 +11349,7 @@ module Google
11340
11349
  attr_accessor :delivery_date
11341
11350
 
11342
11351
  # Type of the return method. Acceptable values are: - "`byMail`" - "`
11343
- # contactCustomerSupport`" - "`returnless`"
11352
+ # contactCustomerSupport`" - "`returnless`" - "`inStore`"
11344
11353
  # Corresponds to the JSON property `returnMethodType`
11345
11354
  # @return [String]
11346
11355
  attr_accessor :return_method_type
@@ -11938,7 +11947,7 @@ module Google
11938
11947
  # qualityNotExpected`" - "`receivedTooLate`" - "`storePackageMissing`" - "`
11939
11948
  # transitPackageMissing`" - "`unsuccessfulDeliveryUndeliverable`" - "`
11940
11949
  # wrongChargeInStore`" - "`wrongItem`" - "`returns`" - "`undeliverable`" - "`
11941
- # refundFromMerchant`" - "`returnLabelShippingFee`"
11950
+ # refundFromMerchant`" - "`returnLabelShippingFee`" - "`pspFee`"
11942
11951
  # Corresponds to the JSON property `description`
11943
11952
  # @return [String]
11944
11953
  attr_accessor :description
@@ -4932,6 +4932,7 @@ module Google
4932
4932
  property :matcher_option, as: 'matcherOption'
4933
4933
  property :offer_id_matcher, as: 'offerIdMatcher', class: Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher, decorator: Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher::Representation
4934
4934
 
4935
+ property :skip_when_on_promotion, as: 'skipWhenOnPromotion'
4935
4936
  end
4936
4937
  end
4937
4938
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/datamigration/
26
26
  module DatamigrationV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20201028'
28
+ REVISION = '20201202'
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'
@@ -97,11 +97,6 @@ module Google
97
97
  class Binding
98
98
  include Google::Apis::Core::Hashable
99
99
 
100
- #
101
- # Corresponds to the JSON property `bindingId`
102
- # @return [String]
103
- attr_accessor :binding_id
104
-
105
100
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
106
101
  # CEL is a C-like expression language. The syntax and semantics of CEL are
107
102
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -163,7 +158,6 @@ module Google
163
158
 
164
159
  # Update properties of this object
165
160
  def update!(**args)
166
- @binding_id = args[:binding_id] if args.key?(:binding_id)
167
161
  @condition = args[:condition] if args.key?(:condition)
168
162
  @members = args[:members] if args.key?(:members)
169
163
  @role = args[:role] if args.key?(:role)
@@ -288,7 +288,6 @@ module Google
288
288
  class Binding
289
289
  # @private
290
290
  class Representation < Google::Apis::Core::JsonRepresentation
291
- property :binding_id, as: 'bindingId'
292
291
  property :condition, as: 'condition', class: Google::Apis::DatamigrationV1beta1::Expr, decorator: Google::Apis::DatamigrationV1beta1::Expr::Representation
293
292
 
294
293
  collection :members, as: 'members'
@@ -18,15 +18,16 @@ require 'google/apis/deploymentmanager_alpha/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # Google Cloud Deployment Manager Alpha API
21
+ # Cloud Deployment Manager V2 API
22
22
  #
23
- # The Deployment Manager API allows users to declaratively configure, deploy and
24
- # run complex solutions on the Google Cloud Platform.
23
+ # The Google Cloud Deployment Manager v2 API provides services for configuring,
24
+ # deploying, and viewing Google Cloud services and APIs via templates which
25
+ # specify deployments of Cloud resources.
25
26
  #
26
- # @see https://cloud.google.com/deployment-manager/
27
+ # @see https://cloud.google.com/deployment-manager
27
28
  module DeploymentmanagerAlpha
28
29
  VERSION = 'Alpha'
29
- REVISION = '20200519'
30
+ REVISION = '20201203'
30
31
 
31
32
  # View and manage your data across Google Cloud Platform services
32
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -31,7 +31,9 @@ module Google
31
31
  # @return [String]
32
32
  attr_accessor :method_match
33
33
 
34
- #
34
+ # Deployment manager will poll instances for this API resource setting a RUNNING
35
+ # state, and blocking until polling conditions tell whether the resource is
36
+ # completed or failed.
35
37
  # Corresponds to the JSON property `pollingOptions`
36
38
  # @return [Google::Apis::DeploymentmanagerAlpha::PollingOptions]
37
39
  attr_accessor :polling_options
@@ -49,21 +51,19 @@ module Google
49
51
 
50
52
  # Specifies the audit configuration for a service. The configuration determines
51
53
  # which permission types are logged, and what identities, if any, are exempted
52
- # from logging. An AuditConfig must have one or more AuditLogConfigs.
53
- # If there are AuditConfigs for both `allServices` and a specific service, the
54
- # union of the two AuditConfigs is used for that service: the log_types
55
- # specified in each AuditConfig are enabled, and the exempted_members in each
56
- # AuditLogConfig are exempted.
57
- # Example Policy with multiple AuditConfigs:
58
- # ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
59
- # log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] `, ` "
60
- # log_type": "DATA_WRITE", `, ` "log_type": "ADMIN_READ", ` ] `, ` "service": "
61
- # sampleservice.googleapis.com" "audit_log_configs": [ ` "log_type": "DATA_READ",
62
- # `, ` "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com"
63
- # ] ` ] ` ] `
64
- # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
65
- # logging. It also exempts jose@example.com from DATA_READ logging, and aliya@
66
- # example.com from DATA_WRITE logging.
54
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
55
+ # are AuditConfigs for both `allServices` and a specific service, the union of
56
+ # the two AuditConfigs is used for that service: the log_types specified in each
57
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
58
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
59
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
60
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
61
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
62
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
63
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
64
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
65
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
66
+ # DATA_WRITE logging.
67
67
  class AuditConfig
68
68
  include Google::Apis::Core::Hashable
69
69
 
@@ -72,11 +72,6 @@ module Google
72
72
  # @return [Array<Google::Apis::DeploymentmanagerAlpha::AuditLogConfig>]
73
73
  attr_accessor :audit_log_configs
74
74
 
75
- #
76
- # Corresponds to the JSON property `exemptedMembers`
77
- # @return [Array<String>]
78
- attr_accessor :exempted_members
79
-
80
75
  # Specifies a service that will be enabled for audit logging. For example, `
81
76
  # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
82
77
  # value that covers all services.
@@ -91,31 +86,24 @@ module Google
91
86
  # Update properties of this object
92
87
  def update!(**args)
93
88
  @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
94
- @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
95
89
  @service = args[:service] if args.key?(:service)
96
90
  end
97
91
  end
98
92
 
99
- # Provides the configuration for logging a type of permissions. Example:
100
- # ` "audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "
101
- # user:jose@example.com" ] `, ` "log_type": "DATA_WRITE", ` ] `
102
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@
103
- # example.com from DATA_READ logging.
93
+ # Provides the configuration for logging a type of permissions. Example: ` "
94
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
95
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
96
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
97
+ # DATA_READ logging.
104
98
  class AuditLogConfig
105
99
  include Google::Apis::Core::Hashable
106
100
 
107
101
  # Specifies the identities that do not cause logging for this type of permission.
108
- # Follows the same format of [Binding.members][].
102
+ # Follows the same format of Binding.members.
109
103
  # Corresponds to the JSON property `exemptedMembers`
110
104
  # @return [Array<String>]
111
105
  attr_accessor :exempted_members
112
106
 
113
- #
114
- # Corresponds to the JSON property `ignoreChildExemptions`
115
- # @return [Boolean]
116
- attr_accessor :ignore_child_exemptions
117
- alias_method :ignore_child_exemptions?, :ignore_child_exemptions
118
-
119
107
  # The log type that this config enables.
120
108
  # Corresponds to the JSON property `logType`
121
109
  # @return [String]
@@ -128,19 +116,34 @@ module Google
128
116
  # Update properties of this object
129
117
  def update!(**args)
130
118
  @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
131
- @ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
132
119
  @log_type = args[:log_type] if args.key?(:log_type)
133
120
  end
134
121
  end
135
122
 
136
- # Authorization-related information used by Cloud Audit Logging.
137
- class AuthorizationLoggingOptions
123
+ # BaseType that describes a service-backed Type.
124
+ class BaseType
138
125
  include Google::Apis::Core::Hashable
139
126
 
140
- # The type of the permission that was checked.
141
- # Corresponds to the JSON property `permissionType`
127
+ # Allows resource handling overrides for specific collections
128
+ # Corresponds to the JSON property `collectionOverrides`
129
+ # @return [Array<Google::Apis::DeploymentmanagerAlpha::CollectionOverride>]
130
+ attr_accessor :collection_overrides
131
+
132
+ # The credential used by Deployment Manager and TypeProvider. Only one of the
133
+ # options is permitted.
134
+ # Corresponds to the JSON property `credential`
135
+ # @return [Google::Apis::DeploymentmanagerAlpha::Credential]
136
+ attr_accessor :credential
137
+
138
+ # Descriptor Url for the this type.
139
+ # Corresponds to the JSON property `descriptorUrl`
142
140
  # @return [String]
143
- attr_accessor :permission_type
141
+ attr_accessor :descriptor_url
142
+
143
+ # Options allows customized resource handling by Deployment Manager.
144
+ # Corresponds to the JSON property `options`
145
+ # @return [Google::Apis::DeploymentmanagerAlpha::Options]
146
+ attr_accessor :options
144
147
 
145
148
  def initialize(**args)
146
149
  update!(**args)
@@ -148,7 +151,10 @@ module Google
148
151
 
149
152
  # Update properties of this object
150
153
  def update!(**args)
151
- @permission_type = args[:permission_type] if args.key?(:permission_type)
154
+ @collection_overrides = args[:collection_overrides] if args.key?(:collection_overrides)
155
+ @credential = args[:credential] if args.key?(:credential)
156
+ @descriptor_url = args[:descriptor_url] if args.key?(:descriptor_url)
157
+ @options = args[:options] if args.key?(:options)
152
158
  end
153
159
  end
154
160
 
@@ -183,58 +189,49 @@ module Google
183
189
 
184
190
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
185
191
  # CEL is a C-like expression language. The syntax and semantics of CEL are
186
- # documented at https://github.com/google/cel-spec.
187
- # Example (Comparison):
188
- # title: "Summary size limit" description: "Determines if a summary is less than
189
- # 100 chars" expression: "document.summary.size() < 100"
190
- # Example (Equality):
191
- # title: "Requestor is owner" description: "Determines if requestor is the
192
- # document owner" expression: "document.owner == request.auth.claims.email"
193
- # Example (Logic):
194
- # title: "Public documents" description: "Determine whether the document should
195
- # be publicly visible" expression: "document.type != 'private' && document.type !
196
- # = 'internal'"
197
- # Example (Data Manipulation):
198
- # title: "Notification string" description: "Create a notification string with a
199
- # timestamp." expression: "'New message received at ' + string(document.
200
- # create_time)"
201
- # The exact variables and functions that may be referenced within an expression
202
- # are determined by the service that evaluates it. See the service documentation
203
- # for additional information.
192
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
193
+ # "Summary size limit" description: "Determines if a summary is less than 100
194
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
195
+ # Requestor is owner" description: "Determines if requestor is the document
196
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
197
+ # Logic): title: "Public documents" description: "Determine whether the document
198
+ # should be publicly visible" expression: "document.type != 'private' &&
199
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
200
+ # string" description: "Create a notification string with a timestamp."
201
+ # expression: "'New message received at ' + string(document.create_time)" The
202
+ # exact variables and functions that may be referenced within an expression are
203
+ # determined by the service that evaluates it. See the service documentation for
204
+ # additional information.
204
205
  # Corresponds to the JSON property `condition`
205
206
  # @return [Google::Apis::DeploymentmanagerAlpha::Expr]
206
207
  attr_accessor :condition
207
208
 
208
209
  # Specifies the identities requesting access for a Cloud Platform resource. `
209
- # members` can have the following values:
210
- # * `allUsers`: A special identifier that represents anyone who is on the
211
- # internet; with or without a Google account.
212
- # * `allAuthenticatedUsers`: A special identifier that represents anyone who is
213
- # authenticated with a Google account or a service account.
214
- # * `user:`emailid``: An email address that represents a specific Google account.
215
- # For example, `alice@example.com` .
216
- # * `serviceAccount:`emailid``: An email address that represents a service
217
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
218
- # * `group:`emailid``: An email address that represents a Google group. For
219
- # example, `admins@example.com`.
220
- # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
221
- # identifier) representing a user that has been recently deleted. For example, `
222
- # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
223
- # value reverts to `user:`emailid`` and the recovered user retains the role in
224
- # the binding.
225
- # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
226
- # unique identifier) representing a service account that has been recently
227
- # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
228
- # 123456789012345678901`. If the service account is undeleted, this value
229
- # reverts to `serviceAccount:`emailid`` and the undeleted service account
230
- # retains the role in the binding.
231
- # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
210
+ # members` can have the following values: * `allUsers`: A special identifier
211
+ # that represents anyone who is on the internet; with or without a Google
212
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
213
+ # anyone who is authenticated with a Google account or a service account. * `
214
+ # user:`emailid``: An email address that represents a specific Google account.
215
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
216
+ # address that represents a service account. For example, `my-other-app@appspot.
217
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
218
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
219
+ # `uniqueid``: An email address (plus unique identifier) representing a user
220
+ # that has been recently deleted. For example, `alice@example.com?uid=
221
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
222
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
223
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
224
+ # identifier) representing a service account that has been recently deleted. For
225
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
226
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
227
+ # emailid`` and the undeleted service account retains the role in the binding. *
228
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
232
229
  # identifier) representing a Google group that has been recently deleted. For
233
230
  # example, `admins@example.com?uid=123456789012345678901`. If the group is
234
231
  # recovered, this value reverts to `group:`emailid`` and the recovered group
235
- # retains the role in the binding.
236
- # * `domain:`domain``: The G Suite domain (primary) that represents all the
237
- # users of that domain. For example, `google.com` or `example.com`.
232
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
233
+ # primary) that represents all the users of that domain. For example, `google.
234
+ # com` or `example.com`.
238
235
  # Corresponds to the JSON property `members`
239
236
  # @return [Array<String>]
240
237
  attr_accessor :members
@@ -325,21 +322,16 @@ module Google
325
322
  # @return [String]
326
323
  attr_accessor :name
327
324
 
328
- # Represents an Operation resource.
329
- # Google Compute Engine has three Operation resources:
330
- # * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
331
- # Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
332
- # Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
333
- # You can use an operation resource to manage asynchronous API requests. For
334
- # more information, read Handling API responses.
335
- # Operations can be global, regional or zonal.
336
- # - For global operations, use the `globalOperations` resource.
337
- # - For regional operations, use the `regionOperations` resource.
338
- # - For zonal operations, use the `zonalOperations` resource.
339
- # For more information, read Global, Regional, and Zonal Resources. (==
340
- # resource_for `$api_version`.globalOperations ==) (== resource_for `$
341
- # api_version`.regionOperations ==) (== resource_for `$api_version`.
342
- # zoneOperations ==)
325
+ # Represents an Operation resource. Google Compute Engine has three Operation
326
+ # resources: * [Global](/compute/docs/reference/rest/`$api_version`/
327
+ # globalOperations) * [Regional](/compute/docs/reference/rest/`$api_version`/
328
+ # regionOperations) * [Zonal](/compute/docs/reference/rest/`$api_version`/
329
+ # zoneOperations) You can use an operation resource to manage asynchronous API
330
+ # requests. For more information, read Handling API responses. Operations can be
331
+ # global, regional or zonal. - For global operations, use the `globalOperations`
332
+ # resource. - For regional operations, use the `regionOperations` resource. -
333
+ # For zonal operations, use the `zonalOperations` resource. For more information,
334
+ # read Global, Regional, and Zonal Resources.
343
335
  # Corresponds to the JSON property `operation`
344
336
  # @return [Google::Apis::DeploymentmanagerAlpha::Operation]
345
337
  attr_accessor :operation
@@ -377,16 +369,16 @@ module Google
377
369
  end
378
370
  end
379
371
 
380
- #
372
+ # Label object for CompositeTypes
381
373
  class CompositeTypeLabelEntry
382
374
  include Google::Apis::Core::Hashable
383
375
 
384
- #
376
+ # Key of the label
385
377
  # Corresponds to the JSON property `key`
386
378
  # @return [String]
387
379
  attr_accessor :key
388
380
 
389
- #
381
+ # Value of the label
390
382
  # Corresponds to the JSON property `value`
391
383
  # @return [String]
392
384
  attr_accessor :value
@@ -428,50 +420,6 @@ module Google
428
420
  end
429
421
  end
430
422
 
431
- # A condition to be met.
432
- class Condition
433
- include Google::Apis::Core::Hashable
434
-
435
- # Trusted attributes supplied by the IAM system.
436
- # Corresponds to the JSON property `iam`
437
- # @return [String]
438
- attr_accessor :iam
439
-
440
- # An operator to apply the subject with.
441
- # Corresponds to the JSON property `op`
442
- # @return [String]
443
- attr_accessor :op
444
-
445
- # Trusted attributes discharged by the service.
446
- # Corresponds to the JSON property `svc`
447
- # @return [String]
448
- attr_accessor :svc
449
-
450
- # Trusted attributes supplied by any service that owns resources and uses the
451
- # IAM system for access control.
452
- # Corresponds to the JSON property `sys`
453
- # @return [String]
454
- attr_accessor :sys
455
-
456
- # The objects of the condition.
457
- # Corresponds to the JSON property `values`
458
- # @return [Array<String>]
459
- attr_accessor :values
460
-
461
- def initialize(**args)
462
- update!(**args)
463
- end
464
-
465
- # Update properties of this object
466
- def update!(**args)
467
- @iam = args[:iam] if args.key?(:iam)
468
- @op = args[:op] if args.key?(:op)
469
- @svc = args[:svc] if args.key?(:svc)
470
- @sys = args[:sys] if args.key?(:sys)
471
- @values = args[:values] if args.key?(:values)
472
- end
473
- end
474
-
475
423
  #
476
424
  class ConfigFile
477
425
  include Google::Apis::Core::Hashable
@@ -491,44 +439,6 @@ module Google
491
439
  end
492
440
  end
493
441
 
494
- # BaseType that describes a service-backed Type.
495
- class ConfigurableService
496
- include Google::Apis::Core::Hashable
497
-
498
- # Allows resource handling overrides for specific collections
499
- # Corresponds to the JSON property `collectionOverrides`
500
- # @return [Array<Google::Apis::DeploymentmanagerAlpha::CollectionOverride>]
501
- attr_accessor :collection_overrides
502
-
503
- # The credential used by Deployment Manager and TypeProvider. Only one of the
504
- # options is permitted.
505
- # Corresponds to the JSON property `credential`
506
- # @return [Google::Apis::DeploymentmanagerAlpha::Credential]
507
- attr_accessor :credential
508
-
509
- # Descriptor Url for the this type.
510
- # Corresponds to the JSON property `descriptorUrl`
511
- # @return [String]
512
- attr_accessor :descriptor_url
513
-
514
- # Options allows customized resource handling by Deployment Manager.
515
- # Corresponds to the JSON property `options`
516
- # @return [Google::Apis::DeploymentmanagerAlpha::Options]
517
- attr_accessor :options
518
-
519
- def initialize(**args)
520
- update!(**args)
521
- end
522
-
523
- # Update properties of this object
524
- def update!(**args)
525
- @collection_overrides = args[:collection_overrides] if args.key?(:collection_overrides)
526
- @credential = args[:credential] if args.key?(:credential)
527
- @descriptor_url = args[:descriptor_url] if args.key?(:descriptor_url)
528
- @options = args[:options] if args.key?(:options)
529
- end
530
- end
531
-
532
442
  # The credential used by Deployment Manager and TypeProvider. Only one of the
533
443
  # options is permitted.
534
444
  class Credential
@@ -581,8 +491,8 @@ module Google
581
491
  # update()`, `stop()`, and `cancelPreview()` requests. A fingerprint is a
582
492
  # randomly generated value that must be provided with `update()`, `stop()`, and `
583
493
  # cancelPreview()` requests to perform optimistic locking. This ensures
584
- # optimistic concurrency so that only one request happens at a time.
585
- # The fingerprint is initially generated by Deployment Manager and changes after
494
+ # optimistic concurrency so that only one request happens at a time. The
495
+ # fingerprint is initially generated by Deployment Manager and changes after
586
496
  # every request to modify data. To get the latest fingerprint value, perform a `
587
497
  # get()` request to a deployment.
588
498
  # Corresponds to the JSON property `fingerprint`
@@ -600,11 +510,11 @@ module Google
600
510
  # @return [String]
601
511
  attr_accessor :insert_time
602
512
 
603
- # Map of labels; provided by the client when the resource is created or updated.
604
- # Specifically: Label keys must be between 1 and 63 characters long and must
605
- # conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`
606
- # Label values must be between 0 and 63 characters long and must conform to the
607
- # regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
513
+ # Map of One Platform labels; provided by the client when the resource is
514
+ # created or updated. Specifically: Label keys must be between 1 and 63
515
+ # characters long and must conform to the following regular expression: `[a-z]([-
516
+ # a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and
517
+ # must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
608
518
  # Corresponds to the JSON property `labels`
609
519
  # @return [Array<Google::Apis::DeploymentmanagerAlpha::DeploymentLabelEntry>]
610
520
  attr_accessor :labels
@@ -626,21 +536,16 @@ module Google
626
536
  # @return [String]
627
537
  attr_accessor :name
628
538
 
629
- # Represents an Operation resource.
630
- # Google Compute Engine has three Operation resources:
631
- # * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
632
- # Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
633
- # Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
634
- # You can use an operation resource to manage asynchronous API requests. For
635
- # more information, read Handling API responses.
636
- # Operations can be global, regional or zonal.
637
- # - For global operations, use the `globalOperations` resource.
638
- # - For regional operations, use the `regionOperations` resource.
639
- # - For zonal operations, use the `zonalOperations` resource.
640
- # For more information, read Global, Regional, and Zonal Resources. (==
641
- # resource_for `$api_version`.globalOperations ==) (== resource_for `$
642
- # api_version`.regionOperations ==) (== resource_for `$api_version`.
643
- # zoneOperations ==)
539
+ # Represents an Operation resource. Google Compute Engine has three Operation
540
+ # resources: * [Global](/compute/docs/reference/rest/`$api_version`/
541
+ # globalOperations) * [Regional](/compute/docs/reference/rest/`$api_version`/
542
+ # regionOperations) * [Zonal](/compute/docs/reference/rest/`$api_version`/
543
+ # zoneOperations) You can use an operation resource to manage asynchronous API
544
+ # requests. For more information, read Handling API responses. Operations can be
545
+ # global, regional or zonal. - For global operations, use the `globalOperations`
546
+ # resource. - For regional operations, use the `regionOperations` resource. -
547
+ # For zonal operations, use the `zonalOperations` resource. For more information,
548
+ # read Global, Regional, and Zonal Resources.
644
549
  # Corresponds to the JSON property `operation`
645
550
  # @return [Google::Apis::DeploymentmanagerAlpha::Operation]
646
551
  attr_accessor :operation
@@ -655,12 +560,14 @@ module Google
655
560
  # @return [String]
656
561
  attr_accessor :self_link
657
562
 
658
- #
563
+ # [Input Only] The parameters that define your deployment, including the
564
+ # deployment configuration and relevant templates.
659
565
  # Corresponds to the JSON property `target`
660
566
  # @return [Google::Apis::DeploymentmanagerAlpha::TargetConfiguration]
661
567
  attr_accessor :target
662
568
 
663
- #
569
+ # Output only. If Deployment Manager is currently updating or previewing an
570
+ # update to this deployment, the updated configuration appears here.
664
571
  # Corresponds to the JSON property `update`
665
572
  # @return [Google::Apis::DeploymentmanagerAlpha::DeploymentUpdate]
666
573
  attr_accessor :update
@@ -693,16 +600,16 @@ module Google
693
600
  end
694
601
  end
695
602
 
696
- #
603
+ # Label object for Deployments
697
604
  class DeploymentLabelEntry
698
605
  include Google::Apis::Core::Hashable
699
606
 
700
- #
607
+ # Key of the label
701
608
  # Corresponds to the JSON property `key`
702
609
  # @return [String]
703
610
  attr_accessor :key
704
611
 
705
- #
612
+ # Value of the label
706
613
  # Corresponds to the JSON property `value`
707
614
  # @return [String]
708
615
  attr_accessor :value
@@ -759,7 +666,7 @@ module Google
759
666
  # @return [String]
760
667
  attr_accessor :description
761
668
 
762
- # Output only. Map of labels; provided by the client when the resource is
669
+ # Map of One Platform labels; provided by the client when the resource is
763
670
  # created or updated. Specifically: Label keys must be between 1 and 63
764
671
  # characters long and must conform to the following regular expression: `[a-z]([-
765
672
  # a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and
@@ -787,16 +694,16 @@ module Google
787
694
  end
788
695
  end
789
696
 
790
- #
697
+ # Label object for DeploymentUpdate
791
698
  class DeploymentUpdateLabelEntry
792
699
  include Google::Apis::Core::Hashable
793
700
 
794
- #
701
+ # Key of the label
795
702
  # Corresponds to the JSON property `key`
796
703
  # @return [String]
797
704
  attr_accessor :key
798
705
 
799
- #
706
+ # Value of the label
800
707
  # Corresponds to the JSON property `value`
801
708
  # @return [String]
802
709
  attr_accessor :value
@@ -821,10 +728,10 @@ module Google
821
728
  # to perform optimistic locking. This ensures optimistic concurrency so that the
822
729
  # deployment does not have conflicting requests (e.g. if someone attempts to
823
730
  # make a new update request while another user attempts to cancel a preview,
824
- # this would prevent one of the requests).
825
- # The fingerprint is initially generated by Deployment Manager and changes after
826
- # every request to modify a deployment. To get the latest fingerprint value,
827
- # perform a `get()` request on the deployment.
731
+ # this would prevent one of the requests). The fingerprint is initially
732
+ # generated by Deployment Manager and changes after every request to modify a
733
+ # deployment. To get the latest fingerprint value, perform a `get()` request on
734
+ # the deployment.
828
735
  # Corresponds to the JSON property `fingerprint`
829
736
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
830
737
  # @return [String]
@@ -875,10 +782,9 @@ module Google
875
782
  # optimistic locking. This ensures optimistic concurrency so that the deployment
876
783
  # does not have conflicting requests (e.g. if someone attempts to make a new
877
784
  # update request while another user attempts to stop an ongoing update request,
878
- # this would prevent a collision).
879
- # The fingerprint is initially generated by Deployment Manager and changes after
880
- # every request to modify a deployment. To get the latest fingerprint value,
881
- # perform a `get()` request on the deployment.
785
+ # this would prevent a collision). The fingerprint is initially generated by
786
+ # Deployment Manager and changes after every request to modify a deployment. To
787
+ # get the latest fingerprint value, perform a `get()` request on the deployment.
882
788
  # Corresponds to the JSON property `fingerprint`
883
789
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
884
790
  # @return [String]
@@ -922,24 +828,19 @@ module Google
922
828
 
923
829
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
924
830
  # CEL is a C-like expression language. The syntax and semantics of CEL are
925
- # documented at https://github.com/google/cel-spec.
926
- # Example (Comparison):
927
- # title: "Summary size limit" description: "Determines if a summary is less than
928
- # 100 chars" expression: "document.summary.size() < 100"
929
- # Example (Equality):
930
- # title: "Requestor is owner" description: "Determines if requestor is the
931
- # document owner" expression: "document.owner == request.auth.claims.email"
932
- # Example (Logic):
933
- # title: "Public documents" description: "Determine whether the document should
934
- # be publicly visible" expression: "document.type != 'private' && document.type !
935
- # = 'internal'"
936
- # Example (Data Manipulation):
937
- # title: "Notification string" description: "Create a notification string with a
938
- # timestamp." expression: "'New message received at ' + string(document.
939
- # create_time)"
940
- # The exact variables and functions that may be referenced within an expression
941
- # are determined by the service that evaluates it. See the service documentation
942
- # for additional information.
831
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
832
+ # "Summary size limit" description: "Determines if a summary is less than 100
833
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
834
+ # Requestor is owner" description: "Determines if requestor is the document
835
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
836
+ # Logic): title: "Public documents" description: "Determine whether the document
837
+ # should be publicly visible" expression: "document.type != 'private' &&
838
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
839
+ # string" description: "Create a notification string with a timestamp."
840
+ # expression: "'New message received at ' + string(document.create_time)" The
841
+ # exact variables and functions that may be referenced within an expression are
842
+ # determined by the service that evaluates it. See the service documentation for
843
+ # additional information.
943
844
  class Expr
944
845
  include Google::Apis::Core::Hashable
945
846
 
@@ -997,35 +898,32 @@ module Google
997
898
  attr_accessor :etag
998
899
 
999
900
  # An Identity and Access Management (IAM) policy, which specifies access
1000
- # controls for Google Cloud resources.
1001
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more `
1002
- # members` to a single `role`. Members can be user accounts, service accounts,
1003
- # Google groups, and domains (such as G Suite). A `role` is a named list of
1004
- # permissions; each `role` can be an IAM predefined role or a user-created
1005
- # custom role.
1006
- # For some types of Google Cloud resources, a `binding` can also specify a `
1007
- # condition`, which is a logical expression that allows access to a resource
1008
- # only if the expression evaluates to `true`. A condition can add constraints
1009
- # based on attributes of the request, the resource, or both. To learn which
1010
- # resources support conditions in their IAM policies, see the [IAM documentation]
1011
- # (https://cloud.google.com/iam/help/conditions/resource-policies).
1012
- # **JSON example:**
1013
- # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
1014
- # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1015
- # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1016
- # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1017
- # ], "condition": ` "title": "expirable access", "description": "Does not grant
1018
- # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1019
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
1020
- # **YAML example:**
1021
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
1022
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1023
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1024
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1025
- # access description: Does not grant access after Sep 2020 expression: request.
1026
- # time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
1027
- # For a description of IAM and its features, see the [IAM documentation](https://
1028
- # cloud.google.com/iam/docs/).
901
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
902
+ # A `binding` binds one or more `members` to a single `role`. Members can be
903
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
904
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
905
+ # role or a user-created custom role. For some types of Google Cloud resources,
906
+ # a `binding` can also specify a `condition`, which is a logical expression that
907
+ # allows access to a resource only if the expression evaluates to `true`. A
908
+ # condition can add constraints based on attributes of the request, the resource,
909
+ # or both. To learn which resources support conditions in their IAM policies,
910
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
911
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
912
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
913
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
914
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
915
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
916
+ # title": "expirable access", "description": "Does not grant access after Sep
917
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
918
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
919
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
920
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
921
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
922
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
923
+ # description: Does not grant access after Sep 2020 expression: request.time <
924
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
925
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
926
+ # google.com/iam/docs/).
1029
927
  # Corresponds to the JSON property `policy`
1030
928
  # @return [Google::Apis::DeploymentmanagerAlpha::Policy]
1031
929
  attr_accessor :policy
@@ -1105,171 +1003,11 @@ module Google
1105
1003
  end
1106
1004
  end
1107
1005
 
1108
- # Specifies what kind of log the caller must write
1109
- class LogConfig
1110
- include Google::Apis::Core::Hashable
1111
-
1112
- # Write a Cloud Audit log
1113
- # Corresponds to the JSON property `cloudAudit`
1114
- # @return [Google::Apis::DeploymentmanagerAlpha::LogConfigCloudAuditOptions]
1115
- attr_accessor :cloud_audit
1116
-
1117
- # Increment a streamz counter with the specified metric and field names.
1118
- # Metric names should start with a '/', generally be lowercase-only, and end in "
1119
- # _count". Field names should not contain an initial slash. The actual exported
1120
- # metric names will have "/iam/policy" prepended.
1121
- # Field names correspond to IAM request parameters and field values are their
1122
- # respective values.
1123
- # Supported field names: - "authority", which is "[token]" if IAMContext.token
1124
- # is present, otherwise the value of IAMContext.authority_selector if present,
1125
- # and otherwise a representation of IAMContext.principal; or - "iam_principal",
1126
- # a representation of IAMContext.principal even if a token or authority selector
1127
- # is present; or - "" (empty string), resulting in a counter with no fields.
1128
- # Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
1129
- # increment counter /iam/policy/debug_access_count `iam_principal=[value of
1130
- # IAMContext.principal]`
1131
- # Corresponds to the JSON property `counter`
1132
- # @return [Google::Apis::DeploymentmanagerAlpha::LogConfigCounterOptions]
1133
- attr_accessor :counter
1134
-
1135
- # Write a Data Access (Gin) log
1136
- # Corresponds to the JSON property `dataAccess`
1137
- # @return [Google::Apis::DeploymentmanagerAlpha::LogConfigDataAccessOptions]
1138
- attr_accessor :data_access
1139
-
1140
- def initialize(**args)
1141
- update!(**args)
1142
- end
1143
-
1144
- # Update properties of this object
1145
- def update!(**args)
1146
- @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
1147
- @counter = args[:counter] if args.key?(:counter)
1148
- @data_access = args[:data_access] if args.key?(:data_access)
1149
- end
1150
- end
1151
-
1152
- # Write a Cloud Audit log
1153
- class LogConfigCloudAuditOptions
1154
- include Google::Apis::Core::Hashable
1155
-
1156
- # Authorization-related information used by Cloud Audit Logging.
1157
- # Corresponds to the JSON property `authorizationLoggingOptions`
1158
- # @return [Google::Apis::DeploymentmanagerAlpha::AuthorizationLoggingOptions]
1159
- attr_accessor :authorization_logging_options
1160
-
1161
- # The log_name to populate in the Cloud Audit Record.
1162
- # Corresponds to the JSON property `logName`
1163
- # @return [String]
1164
- attr_accessor :log_name
1165
-
1166
- def initialize(**args)
1167
- update!(**args)
1168
- end
1169
-
1170
- # Update properties of this object
1171
- def update!(**args)
1172
- @authorization_logging_options = args[:authorization_logging_options] if args.key?(:authorization_logging_options)
1173
- @log_name = args[:log_name] if args.key?(:log_name)
1174
- end
1175
- end
1176
-
1177
- # Increment a streamz counter with the specified metric and field names.
1178
- # Metric names should start with a '/', generally be lowercase-only, and end in "
1179
- # _count". Field names should not contain an initial slash. The actual exported
1180
- # metric names will have "/iam/policy" prepended.
1181
- # Field names correspond to IAM request parameters and field values are their
1182
- # respective values.
1183
- # Supported field names: - "authority", which is "[token]" if IAMContext.token
1184
- # is present, otherwise the value of IAMContext.authority_selector if present,
1185
- # and otherwise a representation of IAMContext.principal; or - "iam_principal",
1186
- # a representation of IAMContext.principal even if a token or authority selector
1187
- # is present; or - "" (empty string), resulting in a counter with no fields.
1188
- # Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
1189
- # increment counter /iam/policy/debug_access_count `iam_principal=[value of
1190
- # IAMContext.principal]`
1191
- class LogConfigCounterOptions
1192
- include Google::Apis::Core::Hashable
1193
-
1194
- # Custom fields.
1195
- # Corresponds to the JSON property `customFields`
1196
- # @return [Array<Google::Apis::DeploymentmanagerAlpha::LogConfigCounterOptionsCustomField>]
1197
- attr_accessor :custom_fields
1198
-
1199
- # The field value to attribute.
1200
- # Corresponds to the JSON property `field`
1201
- # @return [String]
1202
- attr_accessor :field
1203
-
1204
- # The metric to update.
1205
- # Corresponds to the JSON property `metric`
1206
- # @return [String]
1207
- attr_accessor :metric
1208
-
1209
- def initialize(**args)
1210
- update!(**args)
1211
- end
1212
-
1213
- # Update properties of this object
1214
- def update!(**args)
1215
- @custom_fields = args[:custom_fields] if args.key?(:custom_fields)
1216
- @field = args[:field] if args.key?(:field)
1217
- @metric = args[:metric] if args.key?(:metric)
1218
- end
1219
- end
1220
-
1221
- # Custom fields. These can be used to create a counter with arbitrary field/
1222
- # value pairs. See: go/rpcsp-custom-fields.
1223
- class LogConfigCounterOptionsCustomField
1224
- include Google::Apis::Core::Hashable
1225
-
1226
- # Name is the field name.
1227
- # Corresponds to the JSON property `name`
1228
- # @return [String]
1229
- attr_accessor :name
1230
-
1231
- # Value is the field value. It is important that in contrast to the
1232
- # CounterOptions.field, the value here is a constant that is not derived from
1233
- # the IAMContext.
1234
- # Corresponds to the JSON property `value`
1235
- # @return [String]
1236
- attr_accessor :value
1237
-
1238
- def initialize(**args)
1239
- update!(**args)
1240
- end
1241
-
1242
- # Update properties of this object
1243
- def update!(**args)
1244
- @name = args[:name] if args.key?(:name)
1245
- @value = args[:value] if args.key?(:value)
1246
- end
1247
- end
1248
-
1249
- # Write a Data Access (Gin) log
1250
- class LogConfigDataAccessOptions
1251
- include Google::Apis::Core::Hashable
1252
-
1253
- #
1254
- # Corresponds to the JSON property `logMode`
1255
- # @return [String]
1256
- attr_accessor :log_mode
1257
-
1258
- def initialize(**args)
1259
- update!(**args)
1260
- end
1261
-
1262
- # Update properties of this object
1263
- def update!(**args)
1264
- @log_mode = args[:log_mode] if args.key?(:log_mode)
1265
- end
1266
- end
1267
-
1268
1006
  #
1269
1007
  class Manifest
1270
1008
  include Google::Apis::Core::Hashable
1271
1009
 
1272
- #
1010
+ # Output only. The YAML configuration for this manifest.
1273
1011
  # Corresponds to the JSON property `config`
1274
1012
  # @return [Google::Apis::DeploymentmanagerAlpha::ConfigFile]
1275
1013
  attr_accessor :config
@@ -1300,8 +1038,7 @@ module Google
1300
1038
  # @return [String]
1301
1039
  attr_accessor :layout
1302
1040
 
1303
- # Output only.
1304
- # The name of the manifest.
1041
+ # Output only. The name of the manifest.
1305
1042
  # Corresponds to the JSON property `name`
1306
1043
  # @return [String]
1307
1044
  attr_accessor :name
@@ -1399,21 +1136,16 @@ module Google
1399
1136
  end
1400
1137
  end
1401
1138
 
1402
- # Represents an Operation resource.
1403
- # Google Compute Engine has three Operation resources:
1404
- # * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
1405
- # Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
1406
- # Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
1407
- # You can use an operation resource to manage asynchronous API requests. For
1408
- # more information, read Handling API responses.
1409
- # Operations can be global, regional or zonal.
1410
- # - For global operations, use the `globalOperations` resource.
1411
- # - For regional operations, use the `regionOperations` resource.
1412
- # - For zonal operations, use the `zonalOperations` resource.
1413
- # For more information, read Global, Regional, and Zonal Resources. (==
1414
- # resource_for `$api_version`.globalOperations ==) (== resource_for `$
1415
- # api_version`.regionOperations ==) (== resource_for `$api_version`.
1416
- # zoneOperations ==)
1139
+ # Represents an Operation resource. Google Compute Engine has three Operation
1140
+ # resources: * [Global](/compute/docs/reference/rest/`$api_version`/
1141
+ # globalOperations) * [Regional](/compute/docs/reference/rest/`$api_version`/
1142
+ # regionOperations) * [Zonal](/compute/docs/reference/rest/`$api_version`/
1143
+ # zoneOperations) You can use an operation resource to manage asynchronous API
1144
+ # requests. For more information, read Handling API responses. Operations can be
1145
+ # global, regional or zonal. - For global operations, use the `globalOperations`
1146
+ # resource. - For regional operations, use the `regionOperations` resource. -
1147
+ # For zonal operations, use the `zonalOperations` resource. For more information,
1148
+ # read Global, Regional, and Zonal Resources.
1417
1149
  class Operation
1418
1150
  include Google::Apis::Core::Hashable
1419
1151
 
@@ -1507,11 +1239,6 @@ module Google
1507
1239
  # @return [String]
1508
1240
  attr_accessor :self_link
1509
1241
 
1510
- # [Output Only] Server-defined URL for this resource with the resource id.
1511
- # Corresponds to the JSON property `selfLinkWithId`
1512
- # @return [String]
1513
- attr_accessor :self_link_with_id
1514
-
1515
1242
  # [Output Only] The time that this operation was started by the server. This
1516
1243
  # value is in RFC3339 text format.
1517
1244
  # Corresponds to the JSON property `startTime`
@@ -1582,7 +1309,6 @@ module Google
1582
1309
  @progress = args[:progress] if args.key?(:progress)
1583
1310
  @region = args[:region] if args.key?(:region)
1584
1311
  @self_link = args[:self_link] if args.key?(:self_link)
1585
- @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
1586
1312
  @start_time = args[:start_time] if args.key?(:start_time)
1587
1313
  @status = args[:status] if args.key?(:status)
1588
1314
  @status_message = args[:status_message] if args.key?(:status_message)
@@ -1655,8 +1381,8 @@ module Google
1655
1381
  # @return [String]
1656
1382
  attr_accessor :code
1657
1383
 
1658
- # [Output Only] Metadata about this warning in key: value format. For example:
1659
- # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
1384
+ # [Output Only] Metadata about this warning in key: value format. For example: "
1385
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
1660
1386
  # Corresponds to the JSON property `data`
1661
1387
  # @return [Array<Google::Apis::DeploymentmanagerAlpha::Operation::Warning::Datum>]
1662
1388
  attr_accessor :data
@@ -1776,35 +1502,32 @@ module Google
1776
1502
  end
1777
1503
 
1778
1504
  # An Identity and Access Management (IAM) policy, which specifies access
1779
- # controls for Google Cloud resources.
1780
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more `
1781
- # members` to a single `role`. Members can be user accounts, service accounts,
1782
- # Google groups, and domains (such as G Suite). A `role` is a named list of
1783
- # permissions; each `role` can be an IAM predefined role or a user-created
1784
- # custom role.
1785
- # For some types of Google Cloud resources, a `binding` can also specify a `
1786
- # condition`, which is a logical expression that allows access to a resource
1787
- # only if the expression evaluates to `true`. A condition can add constraints
1788
- # based on attributes of the request, the resource, or both. To learn which
1789
- # resources support conditions in their IAM policies, see the [IAM documentation]
1790
- # (https://cloud.google.com/iam/help/conditions/resource-policies).
1791
- # **JSON example:**
1792
- # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
1793
- # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1794
- # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1795
- # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1796
- # ], "condition": ` "title": "expirable access", "description": "Does not grant
1797
- # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1798
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
1799
- # **YAML example:**
1800
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
1801
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1802
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1803
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1804
- # access description: Does not grant access after Sep 2020 expression: request.
1805
- # time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
1806
- # For a description of IAM and its features, see the [IAM documentation](https://
1807
- # cloud.google.com/iam/docs/).
1505
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1506
+ # A `binding` binds one or more `members` to a single `role`. Members can be
1507
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
1508
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
1509
+ # role or a user-created custom role. For some types of Google Cloud resources,
1510
+ # a `binding` can also specify a `condition`, which is a logical expression that
1511
+ # allows access to a resource only if the expression evaluates to `true`. A
1512
+ # condition can add constraints based on attributes of the request, the resource,
1513
+ # or both. To learn which resources support conditions in their IAM policies,
1514
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1515
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1516
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1517
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1518
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1519
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1520
+ # title": "expirable access", "description": "Does not grant access after Sep
1521
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1522
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1523
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
1524
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1525
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1526
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
1527
+ # description: Does not grant access after Sep 2020 expression: request.time <
1528
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1529
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
1530
+ # google.com/iam/docs/).
1808
1531
  class Policy
1809
1532
  include Google::Apis::Core::Hashable
1810
1533
 
@@ -1826,51 +1549,31 @@ module Google
1826
1549
  # to perform policy updates in order to avoid race conditions: An `etag` is
1827
1550
  # returned in the response to `getIamPolicy`, and systems are expected to put
1828
1551
  # that etag in the request to `setIamPolicy` to ensure that their change will be
1829
- # applied to the same version of the policy.
1830
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1831
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1832
- # to overwrite a version `3` policy with a version `1` policy, and all of the
1833
- # conditions in the version `3` policy are lost.
1552
+ # applied to the same version of the policy. **Important:** If you use IAM
1553
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
1554
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
1555
+ # with a version `1` policy, and all of the conditions in the version `3` policy
1556
+ # are lost.
1834
1557
  # Corresponds to the JSON property `etag`
1835
1558
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1836
1559
  # @return [String]
1837
1560
  attr_accessor :etag
1838
1561
 
1839
- #
1840
- # Corresponds to the JSON property `iamOwned`
1841
- # @return [Boolean]
1842
- attr_accessor :iam_owned
1843
- alias_method :iam_owned?, :iam_owned
1844
-
1845
- # If more than one rule is specified, the rules are applied in the following
1846
- # manner: - All matching LOG rules are always applied. - If any DENY/
1847
- # DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if
1848
- # one or more matching rule requires logging. - Otherwise, if any ALLOW/
1849
- # ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if
1850
- # one or more matching rule requires logging. - Otherwise, if no rule applies,
1851
- # permission is denied.
1852
- # Corresponds to the JSON property `rules`
1853
- # @return [Array<Google::Apis::DeploymentmanagerAlpha::Rule>]
1854
- attr_accessor :rules
1855
-
1856
- # Specifies the format of the policy.
1857
- # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are
1858
- # rejected.
1859
- # Any operation that affects conditional role bindings must specify version `3`.
1860
- # This requirement applies to the following operations:
1861
- # * Getting a policy that includes a conditional role binding * Adding a
1862
- # conditional role binding to a policy * Changing a conditional role binding in
1863
- # a policy * Removing any role binding, with or without a condition, from a
1864
- # policy that includes conditions
1865
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1562
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
1563
+ # Requests that specify an invalid value are rejected. Any operation that
1564
+ # affects conditional role bindings must specify version `3`. This requirement
1565
+ # applies to the following operations: * Getting a policy that includes a
1566
+ # conditional role binding * Adding a conditional role binding to a policy *
1567
+ # Changing a conditional role binding in a policy * Removing any role binding,
1568
+ # with or without a condition, from a policy that includes conditions **
1569
+ # Important:** If you use IAM Conditions, you must include the `etag` field
1866
1570
  # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1867
1571
  # to overwrite a version `3` policy with a version `1` policy, and all of the
1868
- # conditions in the version `3` policy are lost.
1869
- # If a policy does not include any conditions, operations on that policy may
1870
- # specify any valid version or leave the field unset.
1871
- # To learn which resources support conditions in their IAM policies, see the [
1872
- # IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1873
- # policies).
1572
+ # conditions in the version `3` policy are lost. If a policy does not include
1573
+ # any conditions, operations on that policy may specify any valid version or
1574
+ # leave the field unset. To learn which resources support conditions in their
1575
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
1576
+ # conditions/resource-policies).
1874
1577
  # Corresponds to the JSON property `version`
1875
1578
  # @return [Fixnum]
1876
1579
  attr_accessor :version
@@ -1884,8 +1587,6 @@ module Google
1884
1587
  @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
1885
1588
  @bindings = args[:bindings] if args.key?(:bindings)
1886
1589
  @etag = args[:etag] if args.key?(:etag)
1887
- @iam_owned = args[:iam_owned] if args.key?(:iam_owned)
1888
- @rules = args[:rules] if args.key?(:rules)
1889
1590
  @version = args[:version] if args.key?(:version)
1890
1591
  end
1891
1592
  end
@@ -1995,7 +1696,8 @@ module Google
1995
1696
  # @return [String]
1996
1697
  attr_accessor :type
1997
1698
 
1998
- #
1699
+ # Output only. If Deployment Manager is currently updating or previewing an
1700
+ # update to this resource, the updated configuration appears here.
1999
1701
  # Corresponds to the JSON property `update`
2000
1702
  # @return [Google::Apis::DeploymentmanagerAlpha::ResourceUpdate]
2001
1703
  attr_accessor :update
@@ -2048,8 +1750,8 @@ module Google
2048
1750
  # @return [String]
2049
1751
  attr_accessor :code
2050
1752
 
2051
- # [Output Only] Metadata about this warning in key: value format. For example:
2052
- # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
1753
+ # [Output Only] Metadata about this warning in key: value format. For example: "
1754
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
2053
1755
  # Corresponds to the JSON property `data`
2054
1756
  # @return [Array<Google::Apis::DeploymentmanagerAlpha::Resource::Warning::Datum>]
2055
1757
  attr_accessor :data
@@ -2263,8 +1965,8 @@ module Google
2263
1965
  # @return [String]
2264
1966
  attr_accessor :code
2265
1967
 
2266
- # [Output Only] Metadata about this warning in key: value format. For example:
2267
- # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
1968
+ # [Output Only] Metadata about this warning in key: value format. For example: "
1969
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
2268
1970
  # Corresponds to the JSON property `data`
2269
1971
  # @return [Array<Google::Apis::DeploymentmanagerAlpha::ResourceUpdate::Warning::Datum>]
2270
1972
  attr_accessor :data
@@ -2344,67 +2046,6 @@ module Google
2344
2046
  end
2345
2047
  end
2346
2048
 
2347
- # A rule to be applied in a Policy.
2348
- class Rule
2349
- include Google::Apis::Core::Hashable
2350
-
2351
- # Required
2352
- # Corresponds to the JSON property `action`
2353
- # @return [String]
2354
- attr_accessor :action
2355
-
2356
- # Additional restrictions that must be met. All conditions must pass for the
2357
- # rule to match.
2358
- # Corresponds to the JSON property `conditions`
2359
- # @return [Array<Google::Apis::DeploymentmanagerAlpha::Condition>]
2360
- attr_accessor :conditions
2361
-
2362
- # Human-readable description of the rule.
2363
- # Corresponds to the JSON property `description`
2364
- # @return [String]
2365
- attr_accessor :description
2366
-
2367
- # If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/
2368
- # AUTHORITY_SELECTOR is in at least one of these entries.
2369
- # Corresponds to the JSON property `ins`
2370
- # @return [Array<String>]
2371
- attr_accessor :ins
2372
-
2373
- # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
2374
- # that match the LOG action.
2375
- # Corresponds to the JSON property `logConfigs`
2376
- # @return [Array<Google::Apis::DeploymentmanagerAlpha::LogConfig>]
2377
- attr_accessor :log_configs
2378
-
2379
- # If one or more 'not_in' clauses are specified, the rule matches if the
2380
- # PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
2381
- # Corresponds to the JSON property `notIns`
2382
- # @return [Array<String>]
2383
- attr_accessor :not_ins
2384
-
2385
- # A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value
2386
- # of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.
2387
- # *') matches all verbs.
2388
- # Corresponds to the JSON property `permissions`
2389
- # @return [Array<String>]
2390
- attr_accessor :permissions
2391
-
2392
- def initialize(**args)
2393
- update!(**args)
2394
- end
2395
-
2396
- # Update properties of this object
2397
- def update!(**args)
2398
- @action = args[:action] if args.key?(:action)
2399
- @conditions = args[:conditions] if args.key?(:conditions)
2400
- @description = args[:description] if args.key?(:description)
2401
- @ins = args[:ins] if args.key?(:ins)
2402
- @log_configs = args[:log_configs] if args.key?(:log_configs)
2403
- @not_ins = args[:not_ins] if args.key?(:not_ins)
2404
- @permissions = args[:permissions] if args.key?(:permissions)
2405
- end
2406
- end
2407
-
2408
2049
  # Service Account used as a credential.
2409
2050
  class ServiceAccount
2410
2051
  include Google::Apis::Core::Hashable
@@ -2429,7 +2070,7 @@ module Google
2429
2070
  class TargetConfiguration
2430
2071
  include Google::Apis::Core::Hashable
2431
2072
 
2432
- #
2073
+ # The configuration to use for this deployment.
2433
2074
  # Corresponds to the JSON property `config`
2434
2075
  # @return [Google::Apis::DeploymentmanagerAlpha::ConfigFile]
2435
2076
  attr_accessor :config
@@ -2539,9 +2180,9 @@ module Google
2539
2180
  include Google::Apis::Core::Hashable
2540
2181
 
2541
2182
  # BaseType that describes a service-backed Type.
2542
- # Corresponds to the JSON property `configurableService`
2543
- # @return [Google::Apis::DeploymentmanagerAlpha::ConfigurableService]
2544
- attr_accessor :configurable_service
2183
+ # Corresponds to the JSON property `base`
2184
+ # @return [Google::Apis::DeploymentmanagerAlpha::BaseType]
2185
+ attr_accessor :base
2545
2186
 
2546
2187
  # An optional textual description of the resource; provided by the client when
2547
2188
  # the resource is created.
@@ -2559,11 +2200,11 @@ module Google
2559
2200
  # @return [String]
2560
2201
  attr_accessor :insert_time
2561
2202
 
2562
- # Map of labels; provided by the client when the resource is created or updated.
2563
- # Specifically: Label keys must be between 1 and 63 characters long and must
2564
- # conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`
2565
- # Label values must be between 0 and 63 characters long and must conform to the
2566
- # regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
2203
+ # Map of One Platform labels; provided by the client when the resource is
2204
+ # created or updated. Specifically: Label keys must be between 1 and 63
2205
+ # characters long and must conform to the following regular expression: `[a-z]([-
2206
+ # a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and
2207
+ # must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
2567
2208
  # Corresponds to the JSON property `labels`
2568
2209
  # @return [Array<Google::Apis::DeploymentmanagerAlpha::TypeLabelEntry>]
2569
2210
  attr_accessor :labels
@@ -2573,21 +2214,16 @@ module Google
2573
2214
  # @return [String]
2574
2215
  attr_accessor :name
2575
2216
 
2576
- # Represents an Operation resource.
2577
- # Google Compute Engine has three Operation resources:
2578
- # * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
2579
- # Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
2580
- # Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
2581
- # You can use an operation resource to manage asynchronous API requests. For
2582
- # more information, read Handling API responses.
2583
- # Operations can be global, regional or zonal.
2584
- # - For global operations, use the `globalOperations` resource.
2585
- # - For regional operations, use the `regionOperations` resource.
2586
- # - For zonal operations, use the `zonalOperations` resource.
2587
- # For more information, read Global, Regional, and Zonal Resources. (==
2588
- # resource_for `$api_version`.globalOperations ==) (== resource_for `$
2589
- # api_version`.regionOperations ==) (== resource_for `$api_version`.
2590
- # zoneOperations ==)
2217
+ # Represents an Operation resource. Google Compute Engine has three Operation
2218
+ # resources: * [Global](/compute/docs/reference/rest/`$api_version`/
2219
+ # globalOperations) * [Regional](/compute/docs/reference/rest/`$api_version`/
2220
+ # regionOperations) * [Zonal](/compute/docs/reference/rest/`$api_version`/
2221
+ # zoneOperations) You can use an operation resource to manage asynchronous API
2222
+ # requests. For more information, read Handling API responses. Operations can be
2223
+ # global, regional or zonal. - For global operations, use the `globalOperations`
2224
+ # resource. - For regional operations, use the `regionOperations` resource. -
2225
+ # For zonal operations, use the `zonalOperations` resource. For more information,
2226
+ # read Global, Regional, and Zonal Resources.
2591
2227
  # Corresponds to the JSON property `operation`
2592
2228
  # @return [Google::Apis::DeploymentmanagerAlpha::Operation]
2593
2229
  attr_accessor :operation
@@ -2603,7 +2239,7 @@ module Google
2603
2239
 
2604
2240
  # Update properties of this object
2605
2241
  def update!(**args)
2606
- @configurable_service = args[:configurable_service] if args.key?(:configurable_service)
2242
+ @base = args[:base] if args.key?(:base)
2607
2243
  @description = args[:description] if args.key?(:description)
2608
2244
  @id = args[:id] if args.key?(:id)
2609
2245
  @insert_time = args[:insert_time] if args.key?(:insert_time)
@@ -2641,7 +2277,8 @@ module Google
2641
2277
  # @return [String]
2642
2278
  attr_accessor :name
2643
2279
 
2644
- #
2280
+ # For base types with a collection, we return a schema and documentation link
2281
+ # For template types, we return only a schema
2645
2282
  # Corresponds to the JSON property `schema`
2646
2283
  # @return [Google::Apis::DeploymentmanagerAlpha::TypeInfoSchemaInfo]
2647
2284
  attr_accessor :schema
@@ -2700,16 +2337,16 @@ module Google
2700
2337
  end
2701
2338
  end
2702
2339
 
2703
- #
2340
+ # Label object for Types
2704
2341
  class TypeLabelEntry
2705
2342
  include Google::Apis::Core::Hashable
2706
2343
 
2707
- #
2344
+ # Key of the label
2708
2345
  # Corresponds to the JSON property `key`
2709
2346
  # @return [String]
2710
2347
  attr_accessor :key
2711
2348
 
2712
- #
2349
+ # Value of the label
2713
2350
  # Corresponds to the JSON property `value`
2714
2351
  # @return [String]
2715
2352
  attr_accessor :value
@@ -2771,11 +2408,11 @@ module Google
2771
2408
  # @return [String]
2772
2409
  attr_accessor :insert_time
2773
2410
 
2774
- # Map of labels; provided by the client when the resource is created or updated.
2775
- # Specifically: Label keys must be between 1 and 63 characters long and must
2776
- # conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`
2777
- # Label values must be between 0 and 63 characters long and must conform to the
2778
- # regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
2411
+ # Map of One Platform labels; provided by the client when the resource is
2412
+ # created or updated. Specifically: Label keys must be between 1 and 63
2413
+ # characters long and must conform to the following regular expression: `[a-z]([-
2414
+ # a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and
2415
+ # must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`
2779
2416
  # Corresponds to the JSON property `labels`
2780
2417
  # @return [Array<Google::Apis::DeploymentmanagerAlpha::TypeProviderLabelEntry>]
2781
2418
  attr_accessor :labels
@@ -2790,21 +2427,16 @@ module Google
2790
2427
  # @return [String]
2791
2428
  attr_accessor :name
2792
2429
 
2793
- # Represents an Operation resource.
2794
- # Google Compute Engine has three Operation resources:
2795
- # * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
2796
- # Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
2797
- # Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
2798
- # You can use an operation resource to manage asynchronous API requests. For
2799
- # more information, read Handling API responses.
2800
- # Operations can be global, regional or zonal.
2801
- # - For global operations, use the `globalOperations` resource.
2802
- # - For regional operations, use the `regionOperations` resource.
2803
- # - For zonal operations, use the `zonalOperations` resource.
2804
- # For more information, read Global, Regional, and Zonal Resources. (==
2805
- # resource_for `$api_version`.globalOperations ==) (== resource_for `$
2806
- # api_version`.regionOperations ==) (== resource_for `$api_version`.
2807
- # zoneOperations ==)
2430
+ # Represents an Operation resource. Google Compute Engine has three Operation
2431
+ # resources: * [Global](/compute/docs/reference/rest/`$api_version`/
2432
+ # globalOperations) * [Regional](/compute/docs/reference/rest/`$api_version`/
2433
+ # regionOperations) * [Zonal](/compute/docs/reference/rest/`$api_version`/
2434
+ # zoneOperations) You can use an operation resource to manage asynchronous API
2435
+ # requests. For more information, read Handling API responses. Operations can be
2436
+ # global, regional or zonal. - For global operations, use the `globalOperations`
2437
+ # resource. - For regional operations, use the `regionOperations` resource. -
2438
+ # For zonal operations, use the `zonalOperations` resource. For more information,
2439
+ # read Global, Regional, and Zonal Resources.
2808
2440
  # Corresponds to the JSON property `operation`
2809
2441
  # @return [Google::Apis::DeploymentmanagerAlpha::Operation]
2810
2442
  attr_accessor :operation
@@ -2840,16 +2472,16 @@ module Google
2840
2472
  end
2841
2473
  end
2842
2474
 
2843
- #
2475
+ # Label object for TypeProviders
2844
2476
  class TypeProviderLabelEntry
2845
2477
  include Google::Apis::Core::Hashable
2846
2478
 
2847
- #
2479
+ # Key of the label
2848
2480
  # Corresponds to the JSON property `key`
2849
2481
  # @return [String]
2850
2482
  attr_accessor :key
2851
2483
 
2852
- #
2484
+ # Value of the label
2853
2485
  # Corresponds to the JSON property `value`
2854
2486
  # @return [String]
2855
2487
  attr_accessor :value