google-api-client 0.14.1 → 0.14.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 (88) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +33 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -18
  5. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  6. data/generated/google/apis/adexperiencereport_v1/classes.rb +0 -6
  7. data/generated/google/apis/adexperiencereport_v1/representations.rb +0 -1
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +46 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +19 -2
  11. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  12. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +14 -12
  13. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +7 -5
  14. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  15. data/generated/google/apis/androidmanagement_v1/classes.rb +8 -9
  16. data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
  17. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  18. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -2
  19. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  20. data/generated/google/apis/cloudbuild_v1/classes.rb +3 -0
  21. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  22. data/generated/google/apis/container_v1.rb +1 -1
  23. data/generated/google/apis/container_v1/classes.rb +93 -0
  24. data/generated/google/apis/container_v1/representations.rb +58 -0
  25. data/generated/google/apis/container_v1/service.rb +42 -0
  26. data/generated/google/apis/container_v1beta1.rb +1 -1
  27. data/generated/google/apis/container_v1beta1/classes.rb +119 -0
  28. data/generated/google/apis/container_v1beta1/representations.rb +62 -0
  29. data/generated/google/apis/container_v1beta1/service.rb +77 -0
  30. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  31. data/generated/google/apis/dataproc_v1beta2/classes.rb +184 -0
  32. data/generated/google/apis/dataproc_v1beta2/representations.rb +70 -0
  33. data/generated/google/apis/dataproc_v1beta2/service.rb +105 -0
  34. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  35. data/generated/google/apis/deploymentmanager_alpha/classes.rb +63 -64
  36. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  37. data/generated/google/apis/deploymentmanager_v2/classes.rb +51 -50
  38. data/generated/google/apis/deploymentmanager_v2/service.rb +1 -1
  39. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  40. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +62 -62
  41. data/generated/google/apis/dlp_v2beta1.rb +1 -1
  42. data/generated/google/apis/dlp_v2beta1/classes.rb +23 -17
  43. data/generated/google/apis/dlp_v2beta1/service.rb +10 -10
  44. data/generated/google/apis/dns_v1/service.rb +1 -1
  45. data/generated/google/apis/genomics_v1.rb +1 -1
  46. data/generated/google/apis/genomics_v1/classes.rb +1 -1
  47. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  48. data/generated/google/apis/genomics_v1alpha2/classes.rb +1 -1
  49. data/generated/google/apis/gmail_v1.rb +1 -1
  50. data/generated/google/apis/oauth2_v2/service.rb +1 -1
  51. data/generated/google/apis/oslogin_v1alpha.rb +7 -1
  52. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -1
  53. data/generated/google/apis/oslogin_v1alpha/representations.rb +2 -2
  54. data/generated/google/apis/oslogin_v1beta.rb +43 -0
  55. data/generated/google/apis/oslogin_v1beta/classes.rb +202 -0
  56. data/generated/google/apis/oslogin_v1beta/representations.rb +105 -0
  57. data/generated/google/apis/oslogin_v1beta/service.rb +228 -0
  58. data/generated/google/apis/sheets_v4.rb +1 -1
  59. data/generated/google/apis/sheets_v4/classes.rb +906 -0
  60. data/generated/google/apis/sheets_v4/representations.rb +389 -0
  61. data/generated/google/apis/sheets_v4/service.rb +230 -0
  62. data/generated/google/apis/spanner_v1.rb +1 -1
  63. data/generated/google/apis/spanner_v1/classes.rb +73 -2
  64. data/generated/google/apis/spanner_v1/representations.rb +32 -0
  65. data/generated/google/apis/spanner_v1/service.rb +52 -1
  66. data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
  67. data/generated/google/apis/storage_v1.rb +1 -1
  68. data/generated/google/apis/storage_v1/service.rb +15 -13
  69. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  70. data/generated/google/apis/storagetransfer_v1/classes.rb +0 -1
  71. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  72. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  73. data/generated/google/apis/tagmanager_v2.rb +1 -1
  74. data/generated/google/apis/tagmanager_v2/classes.rb +181 -0
  75. data/generated/google/apis/tagmanager_v2/representations.rb +75 -0
  76. data/generated/google/apis/testing_v1.rb +38 -0
  77. data/generated/google/apis/testing_v1/classes.rb +1616 -0
  78. data/generated/google/apis/testing_v1/representations.rb +688 -0
  79. data/generated/google/apis/testing_v1/service.rb +221 -0
  80. data/generated/google/apis/videointelligence_v1beta1.rb +3 -3
  81. data/generated/google/apis/videointelligence_v1beta1/service.rb +2 -2
  82. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  83. data/generated/google/apis/youtube_v3.rb +1 -1
  84. data/generated/google/apis/youtube_v3/classes.rb +9 -0
  85. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  86. data/generated/google/apis/youtube_v3/service.rb +1 -1
  87. data/lib/google/apis/version.rb +1 -1
  88. metadata +11 -3
@@ -88,6 +88,12 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class DailyMaintenanceWindow
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
91
97
  class Empty
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
@@ -136,6 +142,18 @@ module Google
136
142
  include Google::Apis::Core::JsonObjectSupport
137
143
  end
138
144
 
145
+ class MaintenancePolicy
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class MaintenanceWindow
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
139
157
  class MasterAuth
140
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
159
 
@@ -214,6 +232,12 @@ module Google
214
232
  include Google::Apis::Core::JsonObjectSupport
215
233
  end
216
234
 
235
+ class SetMaintenancePolicyRequest
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
217
241
  class SetMasterAuthRequest
218
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
243
 
@@ -319,6 +343,8 @@ module Google
319
343
  property :location, as: 'location'
320
344
  collection :locations, as: 'locations'
321
345
  property :logging_service, as: 'loggingService'
346
+ property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::ContainerV1beta1::MaintenancePolicy, decorator: Google::Apis::ContainerV1beta1::MaintenancePolicy::Representation
347
+
322
348
  property :master_auth, as: 'masterAuth', class: Google::Apis::ContainerV1beta1::MasterAuth, decorator: Google::Apis::ContainerV1beta1::MasterAuth::Representation
323
349
 
324
350
  property :master_authorized_networks_config, as: 'masterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig::Representation
@@ -393,6 +419,14 @@ module Google
393
419
  end
394
420
  end
395
421
 
422
+ class DailyMaintenanceWindow
423
+ # @private
424
+ class Representation < Google::Apis::Core::JsonRepresentation
425
+ property :duration, as: 'duration'
426
+ property :start_time, as: 'startTime'
427
+ end
428
+ end
429
+
396
430
  class Empty
397
431
  # @private
398
432
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -463,6 +497,22 @@ module Google
463
497
  end
464
498
  end
465
499
 
500
+ class MaintenancePolicy
501
+ # @private
502
+ class Representation < Google::Apis::Core::JsonRepresentation
503
+ property :window, as: 'window', class: Google::Apis::ContainerV1beta1::MaintenanceWindow, decorator: Google::Apis::ContainerV1beta1::MaintenanceWindow::Representation
504
+
505
+ end
506
+ end
507
+
508
+ class MaintenanceWindow
509
+ # @private
510
+ class Representation < Google::Apis::Core::JsonRepresentation
511
+ property :daily_maintenance_window, as: 'dailyMaintenanceWindow', class: Google::Apis::ContainerV1beta1::DailyMaintenanceWindow, decorator: Google::Apis::ContainerV1beta1::DailyMaintenanceWindow::Representation
512
+
513
+ end
514
+ end
515
+
466
516
  class MasterAuth
467
517
  # @private
468
518
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -623,6 +673,18 @@ module Google
623
673
  end
624
674
  end
625
675
 
676
+ class SetMaintenancePolicyRequest
677
+ # @private
678
+ class Representation < Google::Apis::Core::JsonRepresentation
679
+ property :cluster_id, as: 'clusterId'
680
+ property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::ContainerV1beta1::MaintenancePolicy, decorator: Google::Apis::ContainerV1beta1::MaintenancePolicy::Representation
681
+
682
+ property :name, as: 'name'
683
+ property :project_id, as: 'projectId'
684
+ property :zone, as: 'zone'
685
+ end
686
+ end
687
+
626
688
  class SetMasterAuthRequest
627
689
  # @private
628
690
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -343,6 +343,41 @@ module Google
343
343
  execute_or_queue_command(command, &block)
344
344
  end
345
345
 
346
+ # Sets the maintenance policy for a cluster.
347
+ # @param [String] name
348
+ # The name (project, location, cluster id) of the cluster to set maintenance
349
+ # policy.
350
+ # Specified in the format 'projects/*/locations/*/clusters/*'.
351
+ # @param [Google::Apis::ContainerV1beta1::SetMaintenancePolicyRequest] set_maintenance_policy_request_object
352
+ # @param [String] fields
353
+ # Selector specifying which fields to include in a partial response.
354
+ # @param [String] quota_user
355
+ # Available to use for quota purposes for server-side applications. Can be any
356
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
357
+ # @param [Google::Apis::RequestOptions] options
358
+ # Request-specific options
359
+ #
360
+ # @yield [result, err] Result & error if block supplied
361
+ # @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
362
+ # @yieldparam err [StandardError] error object if request failed
363
+ #
364
+ # @return [Google::Apis::ContainerV1beta1::Operation]
365
+ #
366
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
367
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
368
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
369
+ def set_project_location_cluster_maintenance_policy(name, set_maintenance_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
370
+ command = make_simple_command(:post, 'v1beta1/{+name}:setMaintenancePolicy', options)
371
+ command.request_representation = Google::Apis::ContainerV1beta1::SetMaintenancePolicyRequest::Representation
372
+ command.request_object = set_maintenance_policy_request_object
373
+ command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
374
+ command.response_class = Google::Apis::ContainerV1beta1::Operation
375
+ command.params['name'] = name unless name.nil?
376
+ command.query['fields'] = fields unless fields.nil?
377
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
378
+ execute_or_queue_command(command, &block)
379
+ end
380
+
346
381
  # Used to set master auth materials. Currently supports :-
347
382
  # Changing the admin password of a specific cluster.
348
383
  # This can be either via password generation or explicitly set.
@@ -1258,6 +1293,48 @@ module Google
1258
1293
  execute_or_queue_command(command, &block)
1259
1294
  end
1260
1295
 
1296
+ # Sets the maintenance policy for a cluster.
1297
+ # @param [String] project_id
1298
+ # The Google Developers Console [project ID or project
1299
+ # number](https://support.google.com/cloud/answer/6158840).
1300
+ # @param [String] zone
1301
+ # The name of the Google Compute Engine
1302
+ # [zone](/compute/docs/zones#available) in which the cluster
1303
+ # resides.
1304
+ # @param [String] cluster_id
1305
+ # The name of the cluster to update.
1306
+ # @param [Google::Apis::ContainerV1beta1::SetMaintenancePolicyRequest] set_maintenance_policy_request_object
1307
+ # @param [String] fields
1308
+ # Selector specifying which fields to include in a partial response.
1309
+ # @param [String] quota_user
1310
+ # Available to use for quota purposes for server-side applications. Can be any
1311
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1312
+ # @param [Google::Apis::RequestOptions] options
1313
+ # Request-specific options
1314
+ #
1315
+ # @yield [result, err] Result & error if block supplied
1316
+ # @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
1317
+ # @yieldparam err [StandardError] error object if request failed
1318
+ #
1319
+ # @return [Google::Apis::ContainerV1beta1::Operation]
1320
+ #
1321
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1322
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1323
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1324
+ def set_project_zone_cluster_maintenance_policy(project_id, zone, cluster_id, set_maintenance_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1325
+ command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy', options)
1326
+ command.request_representation = Google::Apis::ContainerV1beta1::SetMaintenancePolicyRequest::Representation
1327
+ command.request_object = set_maintenance_policy_request_object
1328
+ command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
1329
+ command.response_class = Google::Apis::ContainerV1beta1::Operation
1330
+ command.params['projectId'] = project_id unless project_id.nil?
1331
+ command.params['zone'] = zone unless zone.nil?
1332
+ command.params['clusterId'] = cluster_id unless cluster_id.nil?
1333
+ command.query['fields'] = fields unless fields.nil?
1334
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1335
+ execute_or_queue_command(command, &block)
1336
+ end
1337
+
1261
1338
  # Used to set master auth materials. Currently supports :-
1262
1339
  # Changing the admin password of a specific cluster.
1263
1340
  # This can be either via password generation or explicitly set.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20170822'
28
+ REVISION = '20170919'
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'
@@ -53,6 +53,45 @@ module Google
53
53
  end
54
54
  end
55
55
 
56
+ # Associates members with a role.
57
+ class Binding
58
+ include Google::Apis::Core::Hashable
59
+
60
+ # Specifies the identities requesting access for a Cloud Platform resource.
61
+ # members can have the following values:
62
+ # allUsers: A special identifier that represents anyone who is on the internet;
63
+ # with or without a Google account.
64
+ # allAuthenticatedUsers: A special identifier that represents anyone who is
65
+ # authenticated with a Google account or a service account.
66
+ # user:`emailid`: An email address that represents a specific Google account.
67
+ # For example, alice@gmail.com or joe@example.com.
68
+ # serviceAccount:`emailid`: An email address that represents a service account.
69
+ # For example, my-other-app@appspot.gserviceaccount.com.
70
+ # group:`emailid`: An email address that represents a Google group. For example,
71
+ # admins@example.com.
72
+ # domain:`domain`: A Google Apps domain name that represents all the users of
73
+ # that domain. For example, google.com or example.com.
74
+ # Corresponds to the JSON property `members`
75
+ # @return [Array<String>]
76
+ attr_accessor :members
77
+
78
+ # Role that is assigned to members. For example, roles/viewer, roles/editor, or
79
+ # roles/owner. Required
80
+ # Corresponds to the JSON property `role`
81
+ # @return [String]
82
+ attr_accessor :role
83
+
84
+ def initialize(**args)
85
+ update!(**args)
86
+ end
87
+
88
+ # Update properties of this object
89
+ def update!(**args)
90
+ @members = args[:members] if args.key?(:members)
91
+ @role = args[:role] if args.key?(:role)
92
+ end
93
+ end
94
+
56
95
  # A request to cancel a job.
57
96
  class CancelJobRequest
58
97
  include Google::Apis::Core::Hashable
@@ -1357,6 +1396,69 @@ module Google
1357
1396
  end
1358
1397
  end
1359
1398
 
1399
+ # Defines an Identity and Access Management (IAM) policy. It is used to specify
1400
+ # access control policies for Cloud Platform resources.A Policy consists of a
1401
+ # list of bindings. A Binding binds a list of members to a role, where the
1402
+ # members can be user accounts, Google groups, Google domains, and service
1403
+ # accounts. A role is a named list of permissions defined by IAM.Example
1404
+ # `
1405
+ # "bindings": [
1406
+ # `
1407
+ # "role": "roles/owner",
1408
+ # "members": [
1409
+ # "user:mike@example.com",
1410
+ # "group:admins@example.com",
1411
+ # "domain:google.com",
1412
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
1413
+ # ]
1414
+ # `,
1415
+ # `
1416
+ # "role": "roles/viewer",
1417
+ # "members": ["user:sean@example.com"]
1418
+ # `
1419
+ # ]
1420
+ # `
1421
+ # For a description of IAM and its features, see the IAM developer's guide (
1422
+ # https://cloud.google.com/iam).
1423
+ class Policy
1424
+ include Google::Apis::Core::Hashable
1425
+
1426
+ # Associates a list of members to a role. bindings with no members will result
1427
+ # in an error.
1428
+ # Corresponds to the JSON property `bindings`
1429
+ # @return [Array<Google::Apis::DataprocV1beta2::Binding>]
1430
+ attr_accessor :bindings
1431
+
1432
+ # etag is used for optimistic concurrency control as a way to help prevent
1433
+ # simultaneous updates of a policy from overwriting each other. It is strongly
1434
+ # suggested that systems make use of the etag in the read-modify-write cycle to
1435
+ # perform policy updates in order to avoid race conditions: An etag is returned
1436
+ # in the response to getIamPolicy, and systems are expected to put that etag in
1437
+ # the request to setIamPolicy to ensure that their change will be applied to the
1438
+ # same version of the policy.If no etag is provided in the call to setIamPolicy,
1439
+ # then the existing policy is overwritten blindly.
1440
+ # Corresponds to the JSON property `etag`
1441
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1442
+ # @return [String]
1443
+ attr_accessor :etag
1444
+
1445
+ # Version of the Policy. The default version is 0.
1446
+ # Corresponds to the JSON property `version`
1447
+ # @return [Fixnum]
1448
+ attr_accessor :version
1449
+
1450
+ def initialize(**args)
1451
+ update!(**args)
1452
+ end
1453
+
1454
+ # Update properties of this object
1455
+ def update!(**args)
1456
+ @bindings = args[:bindings] if args.key?(:bindings)
1457
+ @etag = args[:etag] if args.key?(:etag)
1458
+ @version = args[:version] if args.key?(:version)
1459
+ end
1460
+ end
1461
+
1360
1462
  # A Cloud Dataproc job for running Apache PySpark (https://spark.apache.org/docs/
1361
1463
  # 0.9.0/python-programming-guide.html) applications on YARN.
1362
1464
  class PySparkJob
@@ -1460,6 +1562,48 @@ module Google
1460
1562
  end
1461
1563
  end
1462
1564
 
1565
+ # Request message for SetIamPolicy method.
1566
+ class SetIamPolicyRequest
1567
+ include Google::Apis::Core::Hashable
1568
+
1569
+ # Defines an Identity and Access Management (IAM) policy. It is used to specify
1570
+ # access control policies for Cloud Platform resources.A Policy consists of a
1571
+ # list of bindings. A Binding binds a list of members to a role, where the
1572
+ # members can be user accounts, Google groups, Google domains, and service
1573
+ # accounts. A role is a named list of permissions defined by IAM.Example
1574
+ # `
1575
+ # "bindings": [
1576
+ # `
1577
+ # "role": "roles/owner",
1578
+ # "members": [
1579
+ # "user:mike@example.com",
1580
+ # "group:admins@example.com",
1581
+ # "domain:google.com",
1582
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
1583
+ # ]
1584
+ # `,
1585
+ # `
1586
+ # "role": "roles/viewer",
1587
+ # "members": ["user:sean@example.com"]
1588
+ # `
1589
+ # ]
1590
+ # `
1591
+ # For a description of IAM and its features, see the IAM developer's guide (
1592
+ # https://cloud.google.com/iam).
1593
+ # Corresponds to the JSON property `policy`
1594
+ # @return [Google::Apis::DataprocV1beta2::Policy]
1595
+ attr_accessor :policy
1596
+
1597
+ def initialize(**args)
1598
+ update!(**args)
1599
+ end
1600
+
1601
+ # Update properties of this object
1602
+ def update!(**args)
1603
+ @policy = args[:policy] if args.key?(:policy)
1604
+ end
1605
+ end
1606
+
1463
1607
  # Specifies the selection and config of software inside the cluster.
1464
1608
  class SoftwareConfig
1465
1609
  include Google::Apis::Core::Hashable
@@ -1709,6 +1853,46 @@ module Google
1709
1853
  end
1710
1854
  end
1711
1855
 
1856
+ # Request message for TestIamPermissions method.
1857
+ class TestIamPermissionsRequest
1858
+ include Google::Apis::Core::Hashable
1859
+
1860
+ # The set of permissions to check for the resource. Permissions with wildcards (
1861
+ # such as '*' or 'storage.*') are not allowed. For more information see IAM
1862
+ # Overview (https://cloud.google.com/iam/docs/overview#permissions).
1863
+ # Corresponds to the JSON property `permissions`
1864
+ # @return [Array<String>]
1865
+ attr_accessor :permissions
1866
+
1867
+ def initialize(**args)
1868
+ update!(**args)
1869
+ end
1870
+
1871
+ # Update properties of this object
1872
+ def update!(**args)
1873
+ @permissions = args[:permissions] if args.key?(:permissions)
1874
+ end
1875
+ end
1876
+
1877
+ # Response message for TestIamPermissions method.
1878
+ class TestIamPermissionsResponse
1879
+ include Google::Apis::Core::Hashable
1880
+
1881
+ # A subset of TestPermissionsRequest.permissions that the caller is allowed.
1882
+ # Corresponds to the JSON property `permissions`
1883
+ # @return [Array<String>]
1884
+ attr_accessor :permissions
1885
+
1886
+ def initialize(**args)
1887
+ update!(**args)
1888
+ end
1889
+
1890
+ # Update properties of this object
1891
+ def update!(**args)
1892
+ @permissions = args[:permissions] if args.key?(:permissions)
1893
+ end
1894
+ end
1895
+
1712
1896
  # A YARN application created by a job. Application information is a subset of <
1713
1897
  # code>org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto</code>.
1714
1898
  # Beta Feature: This report is available for testing purposes only. It may be
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class Binding
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class CancelJobRequest
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -202,6 +208,12 @@ module Google
202
208
  include Google::Apis::Core::JsonObjectSupport
203
209
  end
204
210
 
211
+ class Policy
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
205
217
  class PySparkJob
206
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
219
 
@@ -214,6 +226,12 @@ module Google
214
226
  include Google::Apis::Core::JsonObjectSupport
215
227
  end
216
228
 
229
+ class SetIamPolicyRequest
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
217
235
  class SoftwareConfig
218
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
237
 
@@ -244,6 +262,18 @@ module Google
244
262
  include Google::Apis::Core::JsonObjectSupport
245
263
  end
246
264
 
265
+ class TestIamPermissionsRequest
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class TestIamPermissionsResponse
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
247
277
  class YarnApplication
248
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
279
 
@@ -258,6 +288,14 @@ module Google
258
288
  end
259
289
  end
260
290
 
291
+ class Binding
292
+ # @private
293
+ class Representation < Google::Apis::Core::JsonRepresentation
294
+ collection :members, as: 'members'
295
+ property :role, as: 'role'
296
+ end
297
+ end
298
+
261
299
  class CancelJobRequest
262
300
  # @private
263
301
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -585,6 +623,16 @@ module Google
585
623
  end
586
624
  end
587
625
 
626
+ class Policy
627
+ # @private
628
+ class Representation < Google::Apis::Core::JsonRepresentation
629
+ collection :bindings, as: 'bindings', class: Google::Apis::DataprocV1beta2::Binding, decorator: Google::Apis::DataprocV1beta2::Binding::Representation
630
+
631
+ property :etag, :base64 => true, as: 'etag'
632
+ property :version, as: 'version'
633
+ end
634
+ end
635
+
588
636
  class PySparkJob
589
637
  # @private
590
638
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -607,6 +655,14 @@ module Google
607
655
  end
608
656
  end
609
657
 
658
+ class SetIamPolicyRequest
659
+ # @private
660
+ class Representation < Google::Apis::Core::JsonRepresentation
661
+ property :policy, as: 'policy', class: Google::Apis::DataprocV1beta2::Policy, decorator: Google::Apis::DataprocV1beta2::Policy::Representation
662
+
663
+ end
664
+ end
665
+
610
666
  class SoftwareConfig
611
667
  # @private
612
668
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -661,6 +717,20 @@ module Google
661
717
  end
662
718
  end
663
719
 
720
+ class TestIamPermissionsRequest
721
+ # @private
722
+ class Representation < Google::Apis::Core::JsonRepresentation
723
+ collection :permissions, as: 'permissions'
724
+ end
725
+ end
726
+
727
+ class TestIamPermissionsResponse
728
+ # @private
729
+ class Representation < Google::Apis::Core::JsonRepresentation
730
+ collection :permissions, as: 'permissions'
731
+ end
732
+ end
733
+
664
734
  class YarnApplication
665
735
  # @private
666
736
  class Representation < Google::Apis::Core::JsonRepresentation