google-api-client 0.36.1 → 0.36.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +45 -0
  3. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  4. data/generated/google/apis/androidenterprise_v1/classes.rb +29 -58
  5. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  6. data/generated/google/apis/androidmanagement_v1/classes.rb +188 -0
  7. data/generated/google/apis/androidmanagement_v1/representations.rb +67 -0
  8. data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
  9. data/generated/google/apis/bigquery_v2.rb +1 -1
  10. data/generated/google/apis/bigquery_v2/classes.rb +6 -0
  11. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  12. data/generated/google/apis/bigquery_v2/service.rb +19 -2
  13. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  14. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +6 -0
  15. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +1 -0
  16. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  17. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +6 -0
  18. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
  19. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  20. data/generated/google/apis/cloudbuild_v1alpha1.rb +34 -0
  21. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1174 -0
  22. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +435 -0
  23. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +223 -0
  24. data/generated/google/apis/compute_alpha.rb +1 -1
  25. data/generated/google/apis/compute_alpha/classes.rb +234 -240
  26. data/generated/google/apis/compute_alpha/representations.rb +7 -47
  27. data/generated/google/apis/compute_alpha/service.rb +1233 -1068
  28. data/generated/google/apis/compute_beta.rb +1 -1
  29. data/generated/google/apis/compute_beta/classes.rb +936 -164
  30. data/generated/google/apis/compute_beta/representations.rb +371 -0
  31. data/generated/google/apis/compute_beta/service.rb +1394 -899
  32. data/generated/google/apis/compute_v1.rb +1 -1
  33. data/generated/google/apis/compute_v1/classes.rb +479 -147
  34. data/generated/google/apis/compute_v1/representations.rb +127 -0
  35. data/generated/google/apis/compute_v1/service.rb +813 -748
  36. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  37. data/generated/google/apis/datacatalog_v1beta1/classes.rb +9 -7
  38. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  39. data/generated/google/apis/datacatalog_v1beta1/service.rb +8 -3
  40. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  41. data/generated/google/apis/dataflow_v1b3/classes.rb +69 -0
  42. data/generated/google/apis/dataflow_v1b3/representations.rb +34 -0
  43. data/generated/google/apis/dataproc_v1.rb +1 -1
  44. data/generated/google/apis/dataproc_v1/classes.rb +73 -43
  45. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  46. data/generated/google/apis/dataproc_v1beta2/classes.rb +73 -43
  47. data/generated/google/apis/dialogflow_v2.rb +1 -1
  48. data/generated/google/apis/dialogflow_v2/classes.rb +44 -11
  49. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  50. data/generated/google/apis/dialogflow_v2beta1/classes.rb +44 -11
  51. data/generated/google/apis/dialogflow_v2beta1/service.rb +20 -0
  52. data/generated/google/apis/dns_v1.rb +1 -1
  53. data/generated/google/apis/dns_v1/classes.rb +70 -0
  54. data/generated/google/apis/dns_v1/representations.rb +32 -0
  55. data/generated/google/apis/dns_v2beta1.rb +1 -1
  56. data/generated/google/apis/dns_v2beta1/classes.rb +70 -0
  57. data/generated/google/apis/dns_v2beta1/representations.rb +32 -0
  58. data/generated/google/apis/docs_v1.rb +1 -1
  59. data/generated/google/apis/docs_v1/classes.rb +152 -0
  60. data/generated/google/apis/docs_v1/representations.rb +56 -0
  61. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  62. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  63. data/generated/google/apis/driveactivity_v2.rb +1 -1
  64. data/generated/google/apis/driveactivity_v2/classes.rb +6 -0
  65. data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
  66. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  67. data/generated/google/apis/firestore_v1.rb +1 -1
  68. data/generated/google/apis/firestore_v1/classes.rb +1 -1
  69. data/generated/google/apis/firestore_v1/service.rb +24 -22
  70. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  71. data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
  72. data/generated/google/apis/firestore_v1beta1/service.rb +16 -14
  73. data/generated/google/apis/fitness_v1.rb +11 -11
  74. data/generated/google/apis/games_management_v1management.rb +1 -1
  75. data/generated/google/apis/games_management_v1management/service.rb +5 -7
  76. data/generated/google/apis/iam_v1.rb +1 -1
  77. data/generated/google/apis/iam_v1/classes.rb +83 -141
  78. data/generated/google/apis/iam_v1/representations.rb +0 -6
  79. data/generated/google/apis/iam_v1/service.rb +11 -21
  80. data/generated/google/apis/language_v1beta2.rb +1 -1
  81. data/generated/google/apis/language_v1beta2/classes.rb +15 -0
  82. data/generated/google/apis/language_v1beta2/representations.rb +2 -0
  83. data/generated/google/apis/logging_v2.rb +3 -2
  84. data/generated/google/apis/logging_v2/service.rb +2 -1
  85. data/generated/google/apis/{surveys_v2.rb → prod_tt_sasportal_v1alpha1.rb} +9 -15
  86. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1084 -0
  87. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +503 -0
  88. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1322 -0
  89. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  90. data/generated/google/apis/recommender_v1beta1/classes.rb +6 -0
  91. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  92. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  93. data/generated/google/apis/run_v1alpha1.rb +1 -1
  94. data/generated/google/apis/run_v1alpha1/classes.rb +424 -0
  95. data/generated/google/apis/run_v1alpha1/representations.rb +161 -0
  96. data/generated/google/apis/run_v1alpha1/service.rb +862 -46
  97. data/generated/google/apis/run_v1beta1.rb +1 -1
  98. data/generated/google/apis/run_v1beta1/classes.rb +1 -1
  99. data/generated/google/apis/sasportal_v1alpha1.rb +34 -0
  100. data/generated/google/apis/sasportal_v1alpha1/classes.rb +1084 -0
  101. data/generated/google/apis/sasportal_v1alpha1/representations.rb +503 -0
  102. data/generated/google/apis/sasportal_v1alpha1/service.rb +1322 -0
  103. data/generated/google/apis/securitycenter_v1.rb +1 -1
  104. data/generated/google/apis/securitycenter_v1/classes.rb +18 -0
  105. data/generated/google/apis/securitycenter_v1/representations.rb +3 -0
  106. data/generated/google/apis/securitycenter_v1/service.rb +6 -0
  107. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  108. data/generated/google/apis/servicemanagement_v1/classes.rb +16 -1
  109. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  110. data/generated/google/apis/sheets_v4.rb +1 -1
  111. data/generated/google/apis/sheets_v4/classes.rb +187 -2
  112. data/generated/google/apis/sheets_v4/representations.rb +47 -0
  113. data/generated/google/apis/spanner_v1.rb +1 -1
  114. data/generated/google/apis/spanner_v1/classes.rb +104 -51
  115. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  116. data/generated/google/apis/spanner_v1/service.rb +6 -1
  117. data/generated/google/apis/sql_v1beta4.rb +1 -1
  118. data/generated/google/apis/sql_v1beta4/classes.rb +75 -4
  119. data/generated/google/apis/sql_v1beta4/representations.rb +32 -0
  120. data/generated/google/apis/sql_v1beta4/service.rb +83 -2
  121. data/generated/google/apis/toolresults_v1.rb +31 -0
  122. data/generated/google/apis/toolresults_v1/classes.rb +696 -0
  123. data/generated/google/apis/toolresults_v1/representations.rb +438 -0
  124. data/generated/google/apis/toolresults_v1/service.rb +59 -0
  125. data/generated/google/apis/vision_v1.rb +1 -1
  126. data/generated/google/apis/vision_v1/service.rb +1 -1
  127. data/lib/google/apis/version.rb +1 -1
  128. metadata +19 -7
  129. data/generated/google/apis/surveys_v2/classes.rb +0 -691
  130. data/generated/google/apis/surveys_v2/representations.rb +0 -305
  131. data/generated/google/apis/surveys_v2/service.rb +0 -348
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/data-catalog/docs/
27
27
  module DatacatalogV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20191205'
29
+ REVISION = '20191217'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -758,13 +758,8 @@ module Google
758
758
 
759
759
  # Denotes one policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined
760
760
  # in a hierarchy. For example, consider the following hierachy:
761
- # Geolocation
762
- # |
763
- # ------------------------------------
764
- # | | |
765
- # LatLong City ZipCode
766
- # PolicyTag "Geolocation" contains three child policy tags: "LatLong",
767
- # "City", and "ZipCode".
761
+ # Geolocation -> (LatLong, City, ZipCode). PolicyTag "Geolocation"
762
+ # contains three child policy tags: "LatLong", "City", and "ZipCode".
768
763
  class GoogleCloudDatacatalogV1beta1PolicyTag
769
764
  include Google::Apis::Core::Hashable
770
765
 
@@ -1350,6 +1345,12 @@ module Google
1350
1345
  # @return [String]
1351
1346
  attr_accessor :display_name
1352
1347
 
1348
+ # Whether this is a required field. Defaults to false.
1349
+ # Corresponds to the JSON property `isRequired`
1350
+ # @return [Boolean]
1351
+ attr_accessor :is_required
1352
+ alias_method :is_required?, :is_required
1353
+
1353
1354
  # Output only. The resource name of the tag template field in URL format.
1354
1355
  # Example:
1355
1356
  # * projects/`project_id`/locations/`location`/tagTemplates/`tag_template`/
@@ -1372,6 +1373,7 @@ module Google
1372
1373
  # Update properties of this object
1373
1374
  def update!(**args)
1374
1375
  @display_name = args[:display_name] if args.key?(:display_name)
1376
+ @is_required = args[:is_required] if args.key?(:is_required)
1375
1377
  @name = args[:name] if args.key?(:name)
1376
1378
  @type = args[:type] if args.key?(:type)
1377
1379
  end
@@ -641,6 +641,7 @@ module Google
641
641
  # @private
642
642
  class Representation < Google::Apis::Core::JsonRepresentation
643
643
  property :display_name, as: 'displayName'
644
+ property :is_required, as: 'isRequired'
644
645
  property :name, as: 'name'
645
646
  property :type, as: 'type', class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1FieldType, decorator: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1FieldType::Representation
646
647
 
@@ -192,6 +192,8 @@ module Google
192
192
  # @param [String] name
193
193
  # Required. The name of the entry group. For example,
194
194
  # `projects/`project_id`/locations/`location`/entryGroups/`entry_group_id``.
195
+ # @param [Boolean] force
196
+ # Optional. If true, deletes all entries in the entry group.
195
197
  # @param [String] fields
196
198
  # Selector specifying which fields to include in a partial response.
197
199
  # @param [String] quota_user
@@ -209,11 +211,12 @@ module Google
209
211
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
210
212
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
211
213
  # @raise [Google::Apis::AuthorizationError] Authorization is required
212
- def delete_project_location_entry_group(name, fields: nil, quota_user: nil, options: nil, &block)
214
+ def delete_project_location_entry_group(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
213
215
  command = make_simple_command(:delete, 'v1beta1/{+name}', options)
214
216
  command.response_representation = Google::Apis::DatacatalogV1beta1::Empty::Representation
215
217
  command.response_class = Google::Apis::DatacatalogV1beta1::Empty
216
218
  command.params['name'] = name unless name.nil?
219
+ command.query['force'] = force unless force.nil?
217
220
  command.query['fields'] = fields unless fields.nil?
218
221
  command.query['quotaUser'] = quota_user unless quota_user.nil?
219
222
  execute_or_queue_command(command, &block)
@@ -1259,15 +1262,17 @@ module Google
1259
1262
  # fields/`tag_template_field_id`
1260
1263
  # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField] google_cloud_datacatalog_v1beta1_tag_template_field_object
1261
1264
  # @param [String] update_mask
1262
- # The field mask specifies the parts of the template to be updated.
1265
+ # Optional. The field mask specifies the parts of the template to be updated.
1263
1266
  # Allowed fields:
1264
1267
  # * `display_name`
1265
1268
  # * `type.enum_type`
1269
+ # * `is_required`
1266
1270
  # If `update_mask` is not set or empty, all of the allowed fields above will
1267
1271
  # be updated.
1268
1272
  # When updating an enum type, the provided values will be merged with the
1269
1273
  # existing values. Therefore, enum values can only be added, existing enum
1270
- # values cannot be deleted nor renamed.
1274
+ # values cannot be deleted nor renamed. Updating a template field from
1275
+ # optional to required is NOT allowed.
1271
1276
  # @param [String] fields
1272
1277
  # Selector specifying which fields to include in a partial response.
1273
1278
  # @param [String] quota_user
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataflow
26
26
  module DataflowV1b3
27
27
  VERSION = 'V1b3'
28
- REVISION = '20190927'
28
+ REVISION = '20191204'
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'
@@ -1483,6 +1483,11 @@ module Google
1483
1483
  # @return [Google::Apis::DataflowV1b3::TemplateMetadata]
1484
1484
  attr_accessor :metadata
1485
1485
 
1486
+ # RuntimeMetadata describing a runtime environment.
1487
+ # Corresponds to the JSON property `runtimeMetadata`
1488
+ # @return [Google::Apis::DataflowV1b3::RuntimeMetadata]
1489
+ attr_accessor :runtime_metadata
1490
+
1486
1491
  # The `Status` type defines a logical error model that is suitable for
1487
1492
  # different programming environments, including REST APIs and RPC APIs. It is
1488
1493
  # used by [gRPC](https://github.com/grpc). Each `Status` message contains
@@ -1493,6 +1498,11 @@ module Google
1493
1498
  # @return [Google::Apis::DataflowV1b3::Status]
1494
1499
  attr_accessor :status
1495
1500
 
1501
+ # Template Type.
1502
+ # Corresponds to the JSON property `templateType`
1503
+ # @return [String]
1504
+ attr_accessor :template_type
1505
+
1496
1506
  def initialize(**args)
1497
1507
  update!(**args)
1498
1508
  end
@@ -1500,7 +1510,9 @@ module Google
1500
1510
  # Update properties of this object
1501
1511
  def update!(**args)
1502
1512
  @metadata = args[:metadata] if args.key?(:metadata)
1513
+ @runtime_metadata = args[:runtime_metadata] if args.key?(:runtime_metadata)
1503
1514
  @status = args[:status] if args.key?(:status)
1515
+ @template_type = args[:template_type] if args.key?(:template_type)
1504
1516
  end
1505
1517
  end
1506
1518
 
@@ -2895,6 +2907,12 @@ module Google
2895
2907
  # @return [String]
2896
2908
  attr_accessor :name
2897
2909
 
2910
+ # Optional. The type of the parameter.
2911
+ # Used for selecting input picker.
2912
+ # Corresponds to the JSON property `paramType`
2913
+ # @return [String]
2914
+ attr_accessor :param_type
2915
+
2898
2916
  # Optional. Regexes that the parameter must match.
2899
2917
  # Corresponds to the JSON property `regexes`
2900
2918
  # @return [Array<String>]
@@ -2910,6 +2928,7 @@ module Google
2910
2928
  @is_optional = args[:is_optional] if args.key?(:is_optional)
2911
2929
  @label = args[:label] if args.key?(:label)
2912
2930
  @name = args[:name] if args.key?(:name)
2931
+ @param_type = args[:param_type] if args.key?(:param_type)
2913
2932
  @regexes = args[:regexes] if args.key?(:regexes)
2914
2933
  end
2915
2934
  end
@@ -3436,6 +3455,56 @@ module Google
3436
3455
  end
3437
3456
  end
3438
3457
 
3458
+ # RuntimeMetadata describing a runtime environment.
3459
+ class RuntimeMetadata
3460
+ include Google::Apis::Core::Hashable
3461
+
3462
+ # The parameters for the template.
3463
+ # Corresponds to the JSON property `parameters`
3464
+ # @return [Array<Google::Apis::DataflowV1b3::ParameterMetadata>]
3465
+ attr_accessor :parameters
3466
+
3467
+ # SDK Information.
3468
+ # Corresponds to the JSON property `sdkInfo`
3469
+ # @return [Google::Apis::DataflowV1b3::SdkInfo]
3470
+ attr_accessor :sdk_info
3471
+
3472
+ def initialize(**args)
3473
+ update!(**args)
3474
+ end
3475
+
3476
+ # Update properties of this object
3477
+ def update!(**args)
3478
+ @parameters = args[:parameters] if args.key?(:parameters)
3479
+ @sdk_info = args[:sdk_info] if args.key?(:sdk_info)
3480
+ end
3481
+ end
3482
+
3483
+ # SDK Information.
3484
+ class SdkInfo
3485
+ include Google::Apis::Core::Hashable
3486
+
3487
+ # Required. The SDK Language.
3488
+ # Corresponds to the JSON property `language`
3489
+ # @return [String]
3490
+ attr_accessor :language
3491
+
3492
+ # Optional. The SDK version.
3493
+ # Corresponds to the JSON property `version`
3494
+ # @return [String]
3495
+ attr_accessor :version
3496
+
3497
+ def initialize(**args)
3498
+ update!(**args)
3499
+ end
3500
+
3501
+ # Update properties of this object
3502
+ def update!(**args)
3503
+ @language = args[:language] if args.key?(:language)
3504
+ @version = args[:version] if args.key?(:version)
3505
+ end
3506
+ end
3507
+
3439
3508
  # The version of the SDK used to run the job.
3440
3509
  class SdkVersion
3441
3510
  include Google::Apis::Core::Hashable
@@ -508,6 +508,18 @@ module Google
508
508
  include Google::Apis::Core::JsonObjectSupport
509
509
  end
510
510
 
511
+ class RuntimeMetadata
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
517
+ class SdkInfo
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
511
523
  class SdkVersion
512
524
  class Representation < Google::Apis::Core::JsonRepresentation; end
513
525
 
@@ -1246,8 +1258,11 @@ module Google
1246
1258
  class Representation < Google::Apis::Core::JsonRepresentation
1247
1259
  property :metadata, as: 'metadata', class: Google::Apis::DataflowV1b3::TemplateMetadata, decorator: Google::Apis::DataflowV1b3::TemplateMetadata::Representation
1248
1260
 
1261
+ property :runtime_metadata, as: 'runtimeMetadata', class: Google::Apis::DataflowV1b3::RuntimeMetadata, decorator: Google::Apis::DataflowV1b3::RuntimeMetadata::Representation
1262
+
1249
1263
  property :status, as: 'status', class: Google::Apis::DataflowV1b3::Status, decorator: Google::Apis::DataflowV1b3::Status::Representation
1250
1264
 
1265
+ property :template_type, as: 'templateType'
1251
1266
  end
1252
1267
  end
1253
1268
 
@@ -1615,6 +1630,7 @@ module Google
1615
1630
  property :is_optional, as: 'isOptional'
1616
1631
  property :label, as: 'label'
1617
1632
  property :name, as: 'name'
1633
+ property :param_type, as: 'paramType'
1618
1634
  collection :regexes, as: 'regexes'
1619
1635
  end
1620
1636
  end
@@ -1751,6 +1767,24 @@ module Google
1751
1767
  end
1752
1768
  end
1753
1769
 
1770
+ class RuntimeMetadata
1771
+ # @private
1772
+ class Representation < Google::Apis::Core::JsonRepresentation
1773
+ collection :parameters, as: 'parameters', class: Google::Apis::DataflowV1b3::ParameterMetadata, decorator: Google::Apis::DataflowV1b3::ParameterMetadata::Representation
1774
+
1775
+ property :sdk_info, as: 'sdkInfo', class: Google::Apis::DataflowV1b3::SdkInfo, decorator: Google::Apis::DataflowV1b3::SdkInfo::Representation
1776
+
1777
+ end
1778
+ end
1779
+
1780
+ class SdkInfo
1781
+ # @private
1782
+ class Representation < Google::Apis::Core::JsonRepresentation
1783
+ property :language, as: 'language'
1784
+ property :version, as: 'version'
1785
+ end
1786
+ end
1787
+
1754
1788
  class SdkVersion
1755
1789
  # @private
1756
1790
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1
27
27
  VERSION = 'V1'
28
- REVISION = '20191120'
28
+ REVISION = '20191210'
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'
@@ -247,6 +247,22 @@ module Google
247
247
  # For example, my-other-app@appspot.gserviceaccount.com.
248
248
  # group:`emailid`: An email address that represents a Google group. For example,
249
249
  # admins@example.com.
250
+ # deleted:user:`emailid`?uid=`uniqueid`: An email address (plus unique
251
+ # identifier) representing a user that has been recently deleted. For example,
252
+ # alice@example.com?uid=123456789012345678901. If the user is recovered, this
253
+ # value reverts to user:`emailid` and the recovered user retains the role in
254
+ # the binding.
255
+ # deleted:serviceAccount:`emailid`?uid=`uniqueid`: An email address (plus
256
+ # unique identifier) representing a service account that has been recently
257
+ # deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=
258
+ # 123456789012345678901. If the service account is undeleted, this value
259
+ # reverts to serviceAccount:`emailid` and the undeleted service account retains
260
+ # the role in the binding.
261
+ # deleted:group:`emailid`?uid=`uniqueid`: An email address (plus unique
262
+ # identifier) representing a Google group that has been recently deleted. For
263
+ # example, admins@example.com?uid=123456789012345678901. If the group is
264
+ # recovered, this value reverts to group:`emailid` and the recovered group
265
+ # retains the role in the binding.
250
266
  # domain:`domain`: The G Suite domain (primary) that represents all the users
251
267
  # of that domain. For example, google.com or example.com.
252
268
  # Corresponds to the JSON property `members`
@@ -2190,14 +2206,15 @@ module Google
2190
2206
  end
2191
2207
  end
2192
2208
 
2193
- # Defines an Identity and Access Management (IAM) policy. It is used to specify
2194
- # access control policies for Cloud Platform resources.A Policy is a collection
2195
- # of bindings. A binding binds one or more members to a single role. Members can
2196
- # be user accounts, service accounts, Google groups, and domains (such as G
2197
- # Suite). A role is a named list of permissions (defined by IAM or configured by
2198
- # users). A binding can optionally specify a condition, which is a logic
2199
- # expression that further constrains the role binding based on attributes about
2200
- # the request and/or target resource.JSON Example
2209
+ # An Identity and Access Management (IAM) policy, which specifies access
2210
+ # controls for Google Cloud resources.A Policy is a collection of bindings. A
2211
+ # binding binds one or more members to a single role. Members can be user
2212
+ # accounts, service accounts, Google groups, and domains (such as G Suite). A
2213
+ # role is a named list of permissions; each role can be an IAM predefined role
2214
+ # or a user-created custom role.Optionally, a binding can specify a condition,
2215
+ # which is a logical expression that allows access to a resource only if the
2216
+ # expression evaluates to true. A condition can add constraints based on
2217
+ # attributes of the request, the resource, or both.JSON example:
2201
2218
  # `
2202
2219
  # "bindings": [
2203
2220
  # `
@@ -2215,13 +2232,14 @@ module Google
2215
2232
  # "condition": `
2216
2233
  # "title": "expirable access",
2217
2234
  # "description": "Does not grant access after Sep 2020",
2218
- # "expression": "request.time <
2219
- # timestamp('2020-10-01T00:00:00.000Z')",
2235
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')",
2220
2236
  # `
2221
2237
  # `
2222
- # ]
2238
+ # ],
2239
+ # "etag": "BwWWja0YfJA=",
2240
+ # "version": 3
2223
2241
  # `
2224
- # YAML Example
2242
+ # YAML example:
2225
2243
  # bindings:
2226
2244
  # - members:
2227
2245
  # - user:mike@example.com
@@ -2236,14 +2254,16 @@ module Google
2236
2254
  # title: expirable access
2237
2255
  # description: Does not grant access after Sep 2020
2238
2256
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2239
- # For a description of IAM and its features, see the IAM developer's guide (
2240
- # https://cloud.google.com/iam/docs).
2257
+ # - etag: BwWWja0YfJA=
2258
+ # - version: 3
2259
+ # For a description of IAM and its features, see the IAM documentation (https://
2260
+ # cloud.google.com/iam/docs/).
2241
2261
  class Policy
2242
2262
  include Google::Apis::Core::Hashable
2243
2263
 
2244
- # Associates a list of members to a role. Optionally may specify a condition
2245
- # that determines when binding is in effect. bindings with no members will
2246
- # result in an error.
2264
+ # Associates a list of members to a role. Optionally, may specify a condition
2265
+ # that determines how and when the bindings are applied. Each of the bindings
2266
+ # must contain at least one member.
2247
2267
  # Corresponds to the JSON property `bindings`
2248
2268
  # @return [Array<Google::Apis::DataprocV1::Binding>]
2249
2269
  attr_accessor :bindings
@@ -2254,23 +2274,29 @@ module Google
2254
2274
  # perform policy updates in order to avoid race conditions: An etag is returned
2255
2275
  # in the response to getIamPolicy, and systems are expected to put that etag in
2256
2276
  # the request to setIamPolicy to ensure that their change will be applied to the
2257
- # same version of the policy.If no etag is provided in the call to setIamPolicy,
2258
- # then the existing policy is overwritten. Due to blind-set semantics of an etag-
2259
- # less policy, 'setIamPolicy' will not fail even if the incoming policy version
2260
- # does not meet the requirements for modifying the stored policy.
2277
+ # same version of the policy.Important: If you use IAM Conditions, you must
2278
+ # include the etag field whenever you call setIamPolicy. If you omit this field,
2279
+ # then IAM allows you to overwrite a version 3 policy with a version 1 policy,
2280
+ # and all of the conditions in the version 3 policy are lost.
2261
2281
  # Corresponds to the JSON property `etag`
2262
2282
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2263
2283
  # @return [String]
2264
2284
  attr_accessor :etag
2265
2285
 
2266
- # Specifies the format of the policy.Valid values are 0, 1, and 3. Requests
2267
- # specifying an invalid value will be rejected.Operations affecting conditional
2268
- # bindings must specify version 3. This can be either setting a conditional
2269
- # policy, modifying a conditional binding, or removing a binding (conditional or
2270
- # unconditional) from the stored conditional policy. Operations on non-
2271
- # conditional policies may specify any valid value or leave the field unset.If
2272
- # no etag is provided in the call to setIamPolicy, version compliance checks
2273
- # against the stored policy is skipped.
2286
+ # Specifies the format of the policy.Valid values are 0, 1, and 3. Requests that
2287
+ # specify an invalid value are rejected.Any operation that affects conditional
2288
+ # role bindings must specify version 3. This requirement applies to the
2289
+ # following operations:
2290
+ # Getting a policy that includes a conditional role binding
2291
+ # Adding a conditional role binding to a policy
2292
+ # Changing a conditional role binding in a policy
2293
+ # Removing any role binding, with or without a condition, from a policy that
2294
+ # includes conditionsImportant: If you use IAM Conditions, you must include the
2295
+ # etag field whenever you call setIamPolicy. If you omit this field, then IAM
2296
+ # allows you to overwrite a version 3 policy with a version 1 policy, and all of
2297
+ # the conditions in the version 3 policy are lost.If a policy does not include
2298
+ # any conditions, operations on that policy may specify any valid version or
2299
+ # leave the field unset.
2274
2300
  # Corresponds to the JSON property `version`
2275
2301
  # @return [Fixnum]
2276
2302
  attr_accessor :version
@@ -2465,14 +2491,15 @@ module Google
2465
2491
  class SetIamPolicyRequest
2466
2492
  include Google::Apis::Core::Hashable
2467
2493
 
2468
- # Defines an Identity and Access Management (IAM) policy. It is used to specify
2469
- # access control policies for Cloud Platform resources.A Policy is a collection
2470
- # of bindings. A binding binds one or more members to a single role. Members can
2471
- # be user accounts, service accounts, Google groups, and domains (such as G
2472
- # Suite). A role is a named list of permissions (defined by IAM or configured by
2473
- # users). A binding can optionally specify a condition, which is a logic
2474
- # expression that further constrains the role binding based on attributes about
2475
- # the request and/or target resource.JSON Example
2494
+ # An Identity and Access Management (IAM) policy, which specifies access
2495
+ # controls for Google Cloud resources.A Policy is a collection of bindings. A
2496
+ # binding binds one or more members to a single role. Members can be user
2497
+ # accounts, service accounts, Google groups, and domains (such as G Suite). A
2498
+ # role is a named list of permissions; each role can be an IAM predefined role
2499
+ # or a user-created custom role.Optionally, a binding can specify a condition,
2500
+ # which is a logical expression that allows access to a resource only if the
2501
+ # expression evaluates to true. A condition can add constraints based on
2502
+ # attributes of the request, the resource, or both.JSON example:
2476
2503
  # `
2477
2504
  # "bindings": [
2478
2505
  # `
@@ -2490,13 +2517,14 @@ module Google
2490
2517
  # "condition": `
2491
2518
  # "title": "expirable access",
2492
2519
  # "description": "Does not grant access after Sep 2020",
2493
- # "expression": "request.time <
2494
- # timestamp('2020-10-01T00:00:00.000Z')",
2520
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')",
2495
2521
  # `
2496
2522
  # `
2497
- # ]
2523
+ # ],
2524
+ # "etag": "BwWWja0YfJA=",
2525
+ # "version": 3
2498
2526
  # `
2499
- # YAML Example
2527
+ # YAML example:
2500
2528
  # bindings:
2501
2529
  # - members:
2502
2530
  # - user:mike@example.com
@@ -2511,8 +2539,10 @@ module Google
2511
2539
  # title: expirable access
2512
2540
  # description: Does not grant access after Sep 2020
2513
2541
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2514
- # For a description of IAM and its features, see the IAM developer's guide (
2515
- # https://cloud.google.com/iam/docs).
2542
+ # - etag: BwWWja0YfJA=
2543
+ # - version: 3
2544
+ # For a description of IAM and its features, see the IAM documentation (https://
2545
+ # cloud.google.com/iam/docs/).
2516
2546
  # Corresponds to the JSON property `policy`
2517
2547
  # @return [Google::Apis::DataprocV1::Policy]
2518
2548
  attr_accessor :policy