google-api-client 0.23.7 → 0.23.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +32 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  5. data/generated/google/apis/androidpublisher_v2/classes.rb +1 -0
  6. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  7. data/generated/google/apis/androidpublisher_v3/classes.rb +1 -0
  8. data/generated/google/apis/appengine_v1.rb +1 -1
  9. data/generated/google/apis/appengine_v1/classes.rb +5 -3
  10. data/generated/google/apis/appengine_v1beta.rb +1 -1
  11. data/generated/google/apis/appengine_v1beta/classes.rb +31 -3
  12. data/generated/google/apis/appengine_v1beta/representations.rb +15 -0
  13. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  14. data/generated/google/apis/appengine_v1beta4/classes.rb +5 -3
  15. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  16. data/generated/google/apis/appengine_v1beta5/classes.rb +5 -3
  17. data/generated/google/apis/bigquery_v2.rb +1 -1
  18. data/generated/google/apis/bigquery_v2/classes.rb +27 -22
  19. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  20. data/generated/google/apis/cloudkms_v1.rb +1 -1
  21. data/generated/google/apis/{mybusiness_v3.rb → cloudtasks_v2beta3.rb} +12 -10
  22. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +1405 -0
  23. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +421 -0
  24. data/generated/google/apis/cloudtasks_v2beta3/service.rb +855 -0
  25. data/generated/google/apis/compute_alpha/classes.rb +178 -135
  26. data/generated/google/apis/compute_alpha/representations.rb +82 -52
  27. data/generated/google/apis/compute_alpha/service.rb +57 -4
  28. data/generated/google/apis/compute_beta/classes.rb +125 -125
  29. data/generated/google/apis/compute_beta/representations.rb +51 -51
  30. data/generated/google/apis/compute_beta/service.rb +4 -4
  31. data/generated/google/apis/content_v2.rb +1 -1
  32. data/generated/google/apis/content_v2/classes.rb +152 -0
  33. data/generated/google/apis/content_v2/representations.rb +77 -0
  34. data/generated/google/apis/content_v2/service.rb +40 -0
  35. data/generated/google/apis/content_v2sandbox.rb +1 -1
  36. data/generated/google/apis/content_v2sandbox/classes.rb +39 -0
  37. data/generated/google/apis/content_v2sandbox/representations.rb +26 -0
  38. data/generated/google/apis/content_v2sandbox/service.rb +40 -0
  39. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  40. data/generated/google/apis/dataproc_v1.rb +1 -1
  41. data/generated/google/apis/dataproc_v1/classes.rb +299 -0
  42. data/generated/google/apis/dataproc_v1/representations.rb +115 -0
  43. data/generated/google/apis/dataproc_v1/service.rb +540 -0
  44. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  45. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  46. data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -3
  47. data/generated/google/apis/dialogflow_v2beta1/service.rb +226 -0
  48. data/generated/google/apis/dlp_v2.rb +1 -1
  49. data/generated/google/apis/dlp_v2/service.rb +54 -6
  50. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  51. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +85 -0
  52. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +32 -0
  53. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +30 -0
  54. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  55. data/generated/google/apis/iamcredentials_v1/classes.rb +97 -0
  56. data/generated/google/apis/iamcredentials_v1/representations.rb +28 -0
  57. data/generated/google/apis/iamcredentials_v1/service.rb +37 -0
  58. data/generated/google/apis/language_v1beta2.rb +1 -1
  59. data/generated/google/apis/language_v1beta2/classes.rb +8 -0
  60. data/generated/google/apis/redis_v1beta1.rb +1 -1
  61. data/generated/google/apis/redis_v1beta1/classes.rb +9 -0
  62. data/generated/google/apis/redis_v1beta1/representations.rb +1 -0
  63. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  64. data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
  65. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  66. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  67. data/generated/google/apis/servicemanagement_v1/classes.rb +1 -1
  68. data/generated/google/apis/servicemanagement_v1/service.rb +4 -0
  69. data/generated/google/apis/serviceuser_v1.rb +1 -1
  70. data/generated/google/apis/serviceuser_v1/classes.rb +1 -1
  71. data/generated/google/apis/spanner_v1.rb +1 -1
  72. data/generated/google/apis/spanner_v1/classes.rb +56 -1
  73. data/generated/google/apis/spanner_v1/representations.rb +18 -0
  74. data/generated/google/apis/spanner_v1/service.rb +9 -3
  75. data/generated/google/apis/speech_v1.rb +1 -1
  76. data/generated/google/apis/speech_v1/classes.rb +11 -8
  77. data/generated/google/apis/storage_v1.rb +1 -1
  78. data/generated/google/apis/storage_v1/classes.rb +11 -1
  79. data/generated/google/apis/storage_v1/representations.rb +1 -0
  80. data/generated/google/apis/storage_v1/service.rb +1 -2
  81. data/generated/google/apis/testing_v1.rb +1 -1
  82. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  83. data/generated/google/apis/toolresults_v1beta3/classes.rb +14 -14
  84. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  85. data/lib/google/apis/version.rb +1 -1
  86. metadata +6 -6
  87. data/generated/google/apis/mybusiness_v3/classes.rb +0 -1864
  88. data/generated/google/apis/mybusiness_v3/representations.rb +0 -741
  89. data/generated/google/apis/mybusiness_v3/service.rb +0 -961
@@ -454,6 +454,46 @@ module Google
454
454
  execute_or_queue_command(command, &block)
455
455
  end
456
456
 
457
+ # Sandbox only. Cancels a test order for customer-initiated cancellation.
458
+ # @param [Fixnum] merchant_id
459
+ # The ID of the account that manages the order. This cannot be a multi-client
460
+ # account.
461
+ # @param [String] order_id
462
+ # The ID of the test order to cancel.
463
+ # @param [Google::Apis::ContentV2sandbox::OrdersCancelTestOrderByCustomerRequest] orders_cancel_test_order_by_customer_request_object
464
+ # @param [String] fields
465
+ # Selector specifying which fields to include in a partial response.
466
+ # @param [String] quota_user
467
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
468
+ # characters.
469
+ # @param [String] user_ip
470
+ # Deprecated. Please use quotaUser instead.
471
+ # @param [Google::Apis::RequestOptions] options
472
+ # Request-specific options
473
+ #
474
+ # @yield [result, err] Result & error if block supplied
475
+ # @yieldparam result [Google::Apis::ContentV2sandbox::OrdersCancelTestOrderByCustomerResponse] parsed result object
476
+ # @yieldparam err [StandardError] error object if request failed
477
+ #
478
+ # @return [Google::Apis::ContentV2sandbox::OrdersCancelTestOrderByCustomerResponse]
479
+ #
480
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
481
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
482
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
483
+ def canceltestorderbycustomer_order(merchant_id, order_id, orders_cancel_test_order_by_customer_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
484
+ command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/cancelByCustomer', options)
485
+ command.request_representation = Google::Apis::ContentV2sandbox::OrdersCancelTestOrderByCustomerRequest::Representation
486
+ command.request_object = orders_cancel_test_order_by_customer_request_object
487
+ command.response_representation = Google::Apis::ContentV2sandbox::OrdersCancelTestOrderByCustomerResponse::Representation
488
+ command.response_class = Google::Apis::ContentV2sandbox::OrdersCancelTestOrderByCustomerResponse
489
+ command.params['merchantId'] = merchant_id unless merchant_id.nil?
490
+ command.params['orderId'] = order_id unless order_id.nil?
491
+ command.query['fields'] = fields unless fields.nil?
492
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
493
+ command.query['userIp'] = user_ip unless user_ip.nil?
494
+ execute_or_queue_command(command, &block)
495
+ end
496
+
457
497
  # Sandbox only. Creates a test order.
458
498
  # @param [Fixnum] merchant_id
459
499
  # The ID of the account that should manage the order. This cannot be a multi-
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataflow
26
26
  module DataflowV1b3
27
27
  VERSION = 'V1b3'
28
- REVISION = '20180614'
28
+ REVISION = '20180828'
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'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180702'
28
+ REVISION = '20180824'
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'
@@ -55,6 +55,54 @@ module Google
55
55
  end
56
56
  end
57
57
 
58
+ # Associates members with a role.
59
+ class Binding
60
+ include Google::Apis::Core::Hashable
61
+
62
+ # Represents an expression text. Example:
63
+ # title: "User account presence"
64
+ # description: "Determines whether the request has a user account"
65
+ # expression: "size(request.user) > 0"
66
+ # Corresponds to the JSON property `condition`
67
+ # @return [Google::Apis::DataprocV1::Expr]
68
+ attr_accessor :condition
69
+
70
+ # Specifies the identities requesting access for a Cloud Platform resource.
71
+ # members can have the following values:
72
+ # allUsers: A special identifier that represents anyone who is on the internet;
73
+ # with or without a Google account.
74
+ # allAuthenticatedUsers: A special identifier that represents anyone who is
75
+ # authenticated with a Google account or a service account.
76
+ # user:`emailid`: An email address that represents a specific Google account.
77
+ # For example, alice@gmail.com .
78
+ # serviceAccount:`emailid`: An email address that represents a service account.
79
+ # For example, my-other-app@appspot.gserviceaccount.com.
80
+ # group:`emailid`: An email address that represents a Google group. For example,
81
+ # admins@example.com.
82
+ # domain:`domain`: A Google Apps domain name that represents all the users of
83
+ # that domain. For example, google.com or example.com.
84
+ # Corresponds to the JSON property `members`
85
+ # @return [Array<String>]
86
+ attr_accessor :members
87
+
88
+ # Role that is assigned to members. For example, roles/viewer, roles/editor, or
89
+ # roles/owner.
90
+ # Corresponds to the JSON property `role`
91
+ # @return [String]
92
+ attr_accessor :role
93
+
94
+ def initialize(**args)
95
+ update!(**args)
96
+ end
97
+
98
+ # Update properties of this object
99
+ def update!(**args)
100
+ @condition = args[:condition] if args.key?(:condition)
101
+ @members = args[:members] if args.key?(:members)
102
+ @role = args[:role] if args.key?(:role)
103
+ end
104
+ end
105
+
58
106
  # A request to cancel a job.
59
107
  class CancelJobRequest
60
108
  include Google::Apis::Core::Hashable
@@ -152,6 +200,11 @@ module Google
152
200
  # @return [String]
153
201
  attr_accessor :config_bucket
154
202
 
203
+ # Encryption settings for the cluster.
204
+ # Corresponds to the JSON property `encryptionConfig`
205
+ # @return [Google::Apis::DataprocV1::EncryptionConfig]
206
+ attr_accessor :encryption_config
207
+
155
208
  # Common config settings for resources of Compute Engine cluster instances,
156
209
  # applicable to all instances in the cluster.
157
210
  # Corresponds to the JSON property `gceClusterConfig`
@@ -203,6 +256,7 @@ module Google
203
256
  # Update properties of this object
204
257
  def update!(**args)
205
258
  @config_bucket = args[:config_bucket] if args.key?(:config_bucket)
259
+ @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
206
260
  @gce_cluster_config = args[:gce_cluster_config] if args.key?(:gce_cluster_config)
207
261
  @initialization_actions = args[:initialization_actions] if args.key?(:initialization_actions)
208
262
  @master_config = args[:master_config] if args.key?(:master_config)
@@ -496,6 +550,71 @@ module Google
496
550
  end
497
551
  end
498
552
 
553
+ # Encryption settings for the cluster.
554
+ class EncryptionConfig
555
+ include Google::Apis::Core::Hashable
556
+
557
+ # Optional. The Cloud KMS key name to use for PD disk encryption for all
558
+ # instances in the cluster.
559
+ # Corresponds to the JSON property `gcePdKmsKeyName`
560
+ # @return [String]
561
+ attr_accessor :gce_pd_kms_key_name
562
+
563
+ def initialize(**args)
564
+ update!(**args)
565
+ end
566
+
567
+ # Update properties of this object
568
+ def update!(**args)
569
+ @gce_pd_kms_key_name = args[:gce_pd_kms_key_name] if args.key?(:gce_pd_kms_key_name)
570
+ end
571
+ end
572
+
573
+ # Represents an expression text. Example:
574
+ # title: "User account presence"
575
+ # description: "Determines whether the request has a user account"
576
+ # expression: "size(request.user) > 0"
577
+ class Expr
578
+ include Google::Apis::Core::Hashable
579
+
580
+ # An optional description of the expression. This is a longer text which
581
+ # describes the expression, e.g. when hovered over it in a UI.
582
+ # Corresponds to the JSON property `description`
583
+ # @return [String]
584
+ attr_accessor :description
585
+
586
+ # Textual representation of an expression in Common Expression Language syntax.
587
+ # The application context of the containing message determines which well-known
588
+ # feature set of CEL is supported.
589
+ # Corresponds to the JSON property `expression`
590
+ # @return [String]
591
+ attr_accessor :expression
592
+
593
+ # An optional string indicating the location of the expression for error
594
+ # reporting, e.g. a file name and a position in the file.
595
+ # Corresponds to the JSON property `location`
596
+ # @return [String]
597
+ attr_accessor :location
598
+
599
+ # An optional title for the expression, i.e. a short string describing its
600
+ # purpose. This can be used e.g. in UIs which allow to enter the expression.
601
+ # Corresponds to the JSON property `title`
602
+ # @return [String]
603
+ attr_accessor :title
604
+
605
+ def initialize(**args)
606
+ update!(**args)
607
+ end
608
+
609
+ # Update properties of this object
610
+ def update!(**args)
611
+ @description = args[:description] if args.key?(:description)
612
+ @expression = args[:expression] if args.key?(:expression)
613
+ @location = args[:location] if args.key?(:location)
614
+ @title = args[:title] if args.key?(:title)
615
+ end
616
+ end
617
+
499
618
  # Common config settings for resources of Compute Engine cluster instances,
500
619
  # applicable to all instances in the cluster.
501
620
  class GceClusterConfig
@@ -602,6 +721,19 @@ module Google
602
721
  end
603
722
  end
604
723
 
724
+ # Request message for GetIamPolicy method.
725
+ class GetIamPolicyRequest
726
+ include Google::Apis::Core::Hashable
727
+
728
+ def initialize(**args)
729
+ update!(**args)
730
+ end
731
+
732
+ # Update properties of this object
733
+ def update!(**args)
734
+ end
735
+ end
736
+
605
737
  # A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop.
606
738
  # apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/
607
739
  # MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/
@@ -1358,6 +1490,80 @@ module Google
1358
1490
  end
1359
1491
  end
1360
1492
 
1493
+ # Defines an Identity and Access Management (IAM) policy. It is used to specify
1494
+ # access control policies for Cloud Platform resources.A Policy consists of a
1495
+ # list of bindings. A binding binds a list of members to a role, where the
1496
+ # members can be user accounts, Google groups, Google domains, and service
1497
+ # accounts. A role is a named list of permissions defined by IAM.JSON Example
1498
+ # `
1499
+ # "bindings": [
1500
+ # `
1501
+ # "role": "roles/owner",
1502
+ # "members": [
1503
+ # "user:mike@example.com",
1504
+ # "group:admins@example.com",
1505
+ # "domain:google.com",
1506
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
1507
+ # ]
1508
+ # `,
1509
+ # `
1510
+ # "role": "roles/viewer",
1511
+ # "members": ["user:sean@example.com"]
1512
+ # `
1513
+ # ]
1514
+ # `
1515
+ # YAML Example
1516
+ # bindings:
1517
+ # - members:
1518
+ # - user:mike@example.com
1519
+ # - group:admins@example.com
1520
+ # - domain:google.com
1521
+ # - serviceAccount:my-other-app@appspot.gserviceaccount.com
1522
+ # role: roles/owner
1523
+ # - members:
1524
+ # - user:sean@example.com
1525
+ # role: roles/viewer
1526
+ # For a description of IAM and its features, see the IAM developer's guide (
1527
+ # https://cloud.google.com/iam/docs).
1528
+ class Policy
1529
+ include Google::Apis::Core::Hashable
1530
+
1531
+ # Associates a list of members to a role. bindings with no members will result
1532
+ # in an error.
1533
+ # Corresponds to the JSON property `bindings`
1534
+ # @return [Array<Google::Apis::DataprocV1::Binding>]
1535
+ attr_accessor :bindings
1536
+
1537
+ # etag is used for optimistic concurrency control as a way to help prevent
1538
+ # simultaneous updates of a policy from overwriting each other. It is strongly
1539
+ # suggested that systems make use of the etag in the read-modify-write cycle to
1540
+ # perform policy updates in order to avoid race conditions: An etag is returned
1541
+ # in the response to getIamPolicy, and systems are expected to put that etag in
1542
+ # the request to setIamPolicy to ensure that their change will be applied to the
1543
+ # same version of the policy.If no etag is provided in the call to setIamPolicy,
1544
+ # then the existing policy is overwritten blindly.
1545
+ # Corresponds to the JSON property `etag`
1546
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1547
+ # @return [String]
1548
+ attr_accessor :etag
1549
+
1550
+ # Deprecated.
1551
+ # Corresponds to the JSON property `version`
1552
+ # @return [Fixnum]
1553
+ attr_accessor :version
1554
+
1555
+ def initialize(**args)
1556
+ update!(**args)
1557
+ end
1558
+
1559
+ # Update properties of this object
1560
+ def update!(**args)
1561
+ @bindings = args[:bindings] if args.key?(:bindings)
1562
+ @etag = args[:etag] if args.key?(:etag)
1563
+ @version = args[:version] if args.key?(:version)
1564
+ end
1565
+ end
1566
+
1361
1567
  # A Cloud Dataproc job for running Apache PySpark (https://spark.apache.org/docs/
1362
1568
  # 0.9.0/python-programming-guide.html) applications on YARN.
1363
1569
  class PySparkJob
@@ -1461,6 +1667,59 @@ module Google
1461
1667
  end
1462
1668
  end
1463
1669
 
1670
+ # Request message for SetIamPolicy method.
1671
+ class SetIamPolicyRequest
1672
+ include Google::Apis::Core::Hashable
1673
+
1674
+ # Defines an Identity and Access Management (IAM) policy. It is used to specify
1675
+ # access control policies for Cloud Platform resources.A Policy consists of a
1676
+ # list of bindings. A binding binds a list of members to a role, where the
1677
+ # members can be user accounts, Google groups, Google domains, and service
1678
+ # accounts. A role is a named list of permissions defined by IAM.JSON Example
1679
+ # `
1680
+ # "bindings": [
1681
+ # `
1682
+ # "role": "roles/owner",
1683
+ # "members": [
1684
+ # "user:mike@example.com",
1685
+ # "group:admins@example.com",
1686
+ # "domain:google.com",
1687
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
1688
+ # ]
1689
+ # `,
1690
+ # `
1691
+ # "role": "roles/viewer",
1692
+ # "members": ["user:sean@example.com"]
1693
+ # `
1694
+ # ]
1695
+ # `
1696
+ # YAML Example
1697
+ # bindings:
1698
+ # - members:
1699
+ # - user:mike@example.com
1700
+ # - group:admins@example.com
1701
+ # - domain:google.com
1702
+ # - serviceAccount:my-other-app@appspot.gserviceaccount.com
1703
+ # role: roles/owner
1704
+ # - members:
1705
+ # - user:sean@example.com
1706
+ # role: roles/viewer
1707
+ # For a description of IAM and its features, see the IAM developer's guide (
1708
+ # https://cloud.google.com/iam/docs).
1709
+ # Corresponds to the JSON property `policy`
1710
+ # @return [Google::Apis::DataprocV1::Policy]
1711
+ attr_accessor :policy
1712
+
1713
+ def initialize(**args)
1714
+ update!(**args)
1715
+ end
1716
+
1717
+ # Update properties of this object
1718
+ def update!(**args)
1719
+ @policy = args[:policy] if args.key?(:policy)
1720
+ end
1721
+ end
1722
+
1464
1723
  # Specifies the selection and config of software inside the cluster.
1465
1724
  class SoftwareConfig
1466
1725
  include Google::Apis::Core::Hashable
@@ -1723,6 +1982,46 @@ module Google
1723
1982
  end
1724
1983
  end
1725
1984
 
1985
+ # Request message for TestIamPermissions method.
1986
+ class TestIamPermissionsRequest
1987
+ include Google::Apis::Core::Hashable
1988
+
1989
+ # The set of permissions to check for the resource. Permissions with wildcards (
1990
+ # such as '*' or 'storage.*') are not allowed. For more information see IAM
1991
+ # Overview (https://cloud.google.com/iam/docs/overview#permissions).
1992
+ # Corresponds to the JSON property `permissions`
1993
+ # @return [Array<String>]
1994
+ attr_accessor :permissions
1995
+
1996
+ def initialize(**args)
1997
+ update!(**args)
1998
+ end
1999
+
2000
+ # Update properties of this object
2001
+ def update!(**args)
2002
+ @permissions = args[:permissions] if args.key?(:permissions)
2003
+ end
2004
+ end
2005
+
2006
+ # Response message for TestIamPermissions method.
2007
+ class TestIamPermissionsResponse
2008
+ include Google::Apis::Core::Hashable
2009
+
2010
+ # A subset of TestPermissionsRequest.permissions that the caller is allowed.
2011
+ # Corresponds to the JSON property `permissions`
2012
+ # @return [Array<String>]
2013
+ attr_accessor :permissions
2014
+
2015
+ def initialize(**args)
2016
+ update!(**args)
2017
+ end
2018
+
2019
+ # Update properties of this object
2020
+ def update!(**args)
2021
+ @permissions = args[:permissions] if args.key?(:permissions)
2022
+ end
2023
+ end
2024
+
1726
2025
  # The workflow graph.
1727
2026
  class WorkflowGraph
1728
2027
  include Google::Apis::Core::Hashable
@@ -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
 
@@ -100,12 +106,30 @@ module Google
100
106
  include Google::Apis::Core::JsonObjectSupport
101
107
  end
102
108
 
109
+ class EncryptionConfig
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class Expr
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
103
121
  class GceClusterConfig
104
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
123
 
106
124
  include Google::Apis::Core::JsonObjectSupport
107
125
  end
108
126
 
127
+ class GetIamPolicyRequest
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
109
133
  class HadoopJob
110
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
135
 
@@ -202,6 +226,12 @@ module Google
202
226
  include Google::Apis::Core::JsonObjectSupport
203
227
  end
204
228
 
229
+ class Policy
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
205
235
  class PySparkJob
206
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
237
 
@@ -214,6 +244,12 @@ module Google
214
244
  include Google::Apis::Core::JsonObjectSupport
215
245
  end
216
246
 
247
+ class SetIamPolicyRequest
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
217
253
  class SoftwareConfig
218
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
255
 
@@ -244,6 +280,18 @@ module Google
244
280
  include Google::Apis::Core::JsonObjectSupport
245
281
  end
246
282
 
283
+ class TestIamPermissionsRequest
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class TestIamPermissionsResponse
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
247
295
  class WorkflowGraph
248
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
297
 
@@ -276,6 +324,16 @@ module Google
276
324
  end
277
325
  end
278
326
 
327
+ class Binding
328
+ # @private
329
+ class Representation < Google::Apis::Core::JsonRepresentation
330
+ property :condition, as: 'condition', class: Google::Apis::DataprocV1::Expr, decorator: Google::Apis::DataprocV1::Expr::Representation
331
+
332
+ collection :members, as: 'members'
333
+ property :role, as: 'role'
334
+ end
335
+ end
336
+
279
337
  class CancelJobRequest
280
338
  # @private
281
339
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -304,6 +362,8 @@ module Google
304
362
  # @private
305
363
  class Representation < Google::Apis::Core::JsonRepresentation
306
364
  property :config_bucket, as: 'configBucket'
365
+ property :encryption_config, as: 'encryptionConfig', class: Google::Apis::DataprocV1::EncryptionConfig, decorator: Google::Apis::DataprocV1::EncryptionConfig::Representation
366
+
307
367
  property :gce_cluster_config, as: 'gceClusterConfig', class: Google::Apis::DataprocV1::GceClusterConfig, decorator: Google::Apis::DataprocV1::GceClusterConfig::Representation
308
368
 
309
369
  collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1::NodeInitializationAction, decorator: Google::Apis::DataprocV1::NodeInitializationAction::Representation
@@ -400,6 +460,23 @@ module Google
400
460
  end
401
461
  end
402
462
 
463
+ class EncryptionConfig
464
+ # @private
465
+ class Representation < Google::Apis::Core::JsonRepresentation
466
+ property :gce_pd_kms_key_name, as: 'gcePdKmsKeyName'
467
+ end
468
+ end
469
+
470
+ class Expr
471
+ # @private
472
+ class Representation < Google::Apis::Core::JsonRepresentation
473
+ property :description, as: 'description'
474
+ property :expression, as: 'expression'
475
+ property :location, as: 'location'
476
+ property :title, as: 'title'
477
+ end
478
+ end
479
+
403
480
  class GceClusterConfig
404
481
  # @private
405
482
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -414,6 +491,12 @@ module Google
414
491
  end
415
492
  end
416
493
 
494
+ class GetIamPolicyRequest
495
+ # @private
496
+ class Representation < Google::Apis::Core::JsonRepresentation
497
+ end
498
+ end
499
+
417
500
  class HadoopJob
418
501
  # @private
419
502
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -602,6 +685,16 @@ module Google
602
685
  end
603
686
  end
604
687
 
688
+ class Policy
689
+ # @private
690
+ class Representation < Google::Apis::Core::JsonRepresentation
691
+ collection :bindings, as: 'bindings', class: Google::Apis::DataprocV1::Binding, decorator: Google::Apis::DataprocV1::Binding::Representation
692
+
693
+ property :etag, :base64 => true, as: 'etag'
694
+ property :version, as: 'version'
695
+ end
696
+ end
697
+
605
698
  class PySparkJob
606
699
  # @private
607
700
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -624,6 +717,14 @@ module Google
624
717
  end
625
718
  end
626
719
 
720
+ class SetIamPolicyRequest
721
+ # @private
722
+ class Representation < Google::Apis::Core::JsonRepresentation
723
+ property :policy, as: 'policy', class: Google::Apis::DataprocV1::Policy, decorator: Google::Apis::DataprocV1::Policy::Representation
724
+
725
+ end
726
+ end
727
+
627
728
  class SoftwareConfig
628
729
  # @private
629
730
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -679,6 +780,20 @@ module Google
679
780
  end
680
781
  end
681
782
 
783
+ class TestIamPermissionsRequest
784
+ # @private
785
+ class Representation < Google::Apis::Core::JsonRepresentation
786
+ collection :permissions, as: 'permissions'
787
+ end
788
+ end
789
+
790
+ class TestIamPermissionsResponse
791
+ # @private
792
+ class Representation < Google::Apis::Core::JsonRepresentation
793
+ collection :permissions, as: 'permissions'
794
+ end
795
+ end
796
+
682
797
  class WorkflowGraph
683
798
  # @private
684
799
  class Representation < Google::Apis::Core::JsonRepresentation