google-apis-dataform_v1beta1 0.4.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6eb372f38ccd7649d159a5285eb01d8905e6563e914b1f2575c7a014c242ed0c
4
- data.tar.gz: 506e00f73ac344cc5ed7a20443158488caa44bf7477582048a57f233b74d94ec
3
+ metadata.gz: f6dae08fe461bbafbf62d4cd9ff7c9de1dc4a7fa68f4f4f7c050c03a464ae642
4
+ data.tar.gz: 85533fa0db431c5af98e79a82492de0cd40776adb7cb597c88d5db9b6f13d7f9
5
5
  SHA512:
6
- metadata.gz: 4a4a033e3a88c59270483b1688da4c6c82f14820f154c53a1ee866f598c98b6a7aab3decaad35f39f8da0cd17c45874fd4ebae721edb19702987e6c70d171427
7
- data.tar.gz: aa5b460d739ceee08e837faea313be45e43cfc835806a056c1c32ef638e119899ece8ba8db837e1df7689df1d8ac10037a154b05f425739b649c9be8f7a46435
6
+ metadata.gz: 9147ba3d677e223c032f46b385a2c99a3b9776cff8dd6b3b4b01bb6db55e78ff6a81421dce4c7d352531b611d373075d01298ec8644952c9b552560026309ce3
7
+ data.tar.gz: 542f17087e8ac0a0e59f870b3843264348593fdeccbf86487ab7104e8ad3f19d73a4275d1583e0862fc5cb7f09703796fc06cbe69f687a76beff50061b279f4b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dataform_v1beta1
2
2
 
3
+ ### v0.6.0 (2023-03-12)
4
+
5
+ * Regenerated from discovery document revision 20230304
6
+
7
+ ### v0.5.0 (2023-03-05)
8
+
9
+ * Regenerated from discovery document revision 20230225
10
+
3
11
  ### v0.4.0 (2023-02-19)
4
12
 
5
13
  * Regenerated using generator version 0.12.0
@@ -93,6 +93,82 @@ module Google
93
93
  end
94
94
  end
95
95
 
96
+ # Associates `members`, or principals, with a `role`.
97
+ class Binding
98
+ include Google::Apis::Core::Hashable
99
+
100
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
101
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
102
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
103
+ # "Summary size limit" description: "Determines if a summary is less than 100
104
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
105
+ # Requestor is owner" description: "Determines if requestor is the document
106
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
107
+ # Logic): title: "Public documents" description: "Determine whether the document
108
+ # should be publicly visible" expression: "document.type != 'private' &&
109
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
110
+ # string" description: "Create a notification string with a timestamp."
111
+ # expression: "'New message received at ' + string(document.create_time)" The
112
+ # exact variables and functions that may be referenced within an expression are
113
+ # determined by the service that evaluates it. See the service documentation for
114
+ # additional information.
115
+ # Corresponds to the JSON property `condition`
116
+ # @return [Google::Apis::DataformV1beta1::Expr]
117
+ attr_accessor :condition
118
+
119
+ # Specifies the principals requesting access for a Google Cloud resource. `
120
+ # members` can have the following values: * `allUsers`: A special identifier
121
+ # that represents anyone who is on the internet; with or without a Google
122
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
123
+ # anyone who is authenticated with a Google account or a service account. Does
124
+ # not include identities that come from external identity providers (IdPs)
125
+ # through identity federation. * `user:`emailid``: An email address that
126
+ # represents a specific Google account. For example, `alice@example.com` . * `
127
+ # serviceAccount:`emailid``: An email address that represents a Google service
128
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
129
+ # serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
130
+ # identifier for a [Kubernetes service account](https://cloud.google.com/
131
+ # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
132
+ # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
133
+ # email address that represents a Google group. For example, `admins@example.com`
134
+ # . * `domain:`domain``: The G Suite domain (primary) that represents all the
135
+ # users of that domain. For example, `google.com` or `example.com`. * `deleted:
136
+ # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
137
+ # representing a user that has been recently deleted. For example, `alice@
138
+ # example.com?uid=123456789012345678901`. If the user is recovered, this value
139
+ # reverts to `user:`emailid`` and the recovered user retains the role in the
140
+ # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
141
+ # (plus unique identifier) representing a service account that has been recently
142
+ # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
143
+ # 123456789012345678901`. If the service account is undeleted, this value
144
+ # reverts to `serviceAccount:`emailid`` and the undeleted service account
145
+ # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
146
+ # An email address (plus unique identifier) representing a Google group that has
147
+ # been recently deleted. For example, `admins@example.com?uid=
148
+ # 123456789012345678901`. If the group is recovered, this value reverts to `
149
+ # group:`emailid`` and the recovered group retains the role in the binding.
150
+ # Corresponds to the JSON property `members`
151
+ # @return [Array<String>]
152
+ attr_accessor :members
153
+
154
+ # Role that is assigned to the list of `members`, or principals. For example, `
155
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
156
+ # Corresponds to the JSON property `role`
157
+ # @return [String]
158
+ attr_accessor :role
159
+
160
+ def initialize(**args)
161
+ update!(**args)
162
+ end
163
+
164
+ # Update properties of this object
165
+ def update!(**args)
166
+ @condition = args[:condition] if args.key?(:condition)
167
+ @members = args[:members] if args.key?(:members)
168
+ @role = args[:role] if args.key?(:role)
169
+ end
170
+ end
171
+
96
172
  # `CancelWorkflowInvocation` request message.
97
173
  class CancelWorkflowInvocationRequest
98
174
  include Google::Apis::Core::Hashable
@@ -229,6 +305,94 @@ module Google
229
305
  end
230
306
  end
231
307
 
308
+ # Represents a single commit log.
309
+ class CommitLogEntry
310
+ include Google::Apis::Core::Hashable
311
+
312
+ # Represents the author of a Git commit.
313
+ # Corresponds to the JSON property `author`
314
+ # @return [Google::Apis::DataformV1beta1::CommitAuthor]
315
+ attr_accessor :author
316
+
317
+ # The commit message for this commit log entry.
318
+ # Corresponds to the JSON property `commitMessage`
319
+ # @return [String]
320
+ attr_accessor :commit_message
321
+
322
+ # The commit SHA for this commit log entry.
323
+ # Corresponds to the JSON property `commitSha`
324
+ # @return [String]
325
+ attr_accessor :commit_sha
326
+
327
+ # Commit timestamp.
328
+ # Corresponds to the JSON property `commitTime`
329
+ # @return [String]
330
+ attr_accessor :commit_time
331
+
332
+ def initialize(**args)
333
+ update!(**args)
334
+ end
335
+
336
+ # Update properties of this object
337
+ def update!(**args)
338
+ @author = args[:author] if args.key?(:author)
339
+ @commit_message = args[:commit_message] if args.key?(:commit_message)
340
+ @commit_sha = args[:commit_sha] if args.key?(:commit_sha)
341
+ @commit_time = args[:commit_time] if args.key?(:commit_time)
342
+ end
343
+ end
344
+
345
+ # Represents a Dataform Git commit.
346
+ class CommitMetadata
347
+ include Google::Apis::Core::Hashable
348
+
349
+ # Represents the author of a Git commit.
350
+ # Corresponds to the JSON property `author`
351
+ # @return [Google::Apis::DataformV1beta1::CommitAuthor]
352
+ attr_accessor :author
353
+
354
+ # Optional. The commit's message.
355
+ # Corresponds to the JSON property `commitMessage`
356
+ # @return [String]
357
+ attr_accessor :commit_message
358
+
359
+ def initialize(**args)
360
+ update!(**args)
361
+ end
362
+
363
+ # Update properties of this object
364
+ def update!(**args)
365
+ @author = args[:author] if args.key?(:author)
366
+ @commit_message = args[:commit_message] if args.key?(:commit_message)
367
+ end
368
+ end
369
+
370
+ # `CommitRepositoryChanges` request message.
371
+ class CommitRepositoryChangesRequest
372
+ include Google::Apis::Core::Hashable
373
+
374
+ # Represents a Dataform Git commit.
375
+ # Corresponds to the JSON property `commitMetadata`
376
+ # @return [Google::Apis::DataformV1beta1::CommitMetadata]
377
+ attr_accessor :commit_metadata
378
+
379
+ # A map to the path of the file to the operation. The path is the ull file path
380
+ # including filename, from repository root.
381
+ # Corresponds to the JSON property `fileOperations`
382
+ # @return [Hash<String,Google::Apis::DataformV1beta1::FileOperation>]
383
+ attr_accessor :file_operations
384
+
385
+ def initialize(**args)
386
+ update!(**args)
387
+ end
388
+
389
+ # Update properties of this object
390
+ def update!(**args)
391
+ @commit_metadata = args[:commit_metadata] if args.key?(:commit_metadata)
392
+ @file_operations = args[:file_operations] if args.key?(:file_operations)
393
+ end
394
+ end
395
+
232
396
  # `CommitWorkspaceChanges` request message.
233
397
  class CommitWorkspaceChangesRequest
234
398
  include Google::Apis::Core::Hashable
@@ -446,7 +610,20 @@ module Google
446
610
  end
447
611
  end
448
612
 
449
- # Represents a single entry in a workspace directory.
613
+ # Represents the delete file operation.
614
+ class DeleteFile
615
+ include Google::Apis::Core::Hashable
616
+
617
+ def initialize(**args)
618
+ update!(**args)
619
+ end
620
+
621
+ # Update properties of this object
622
+ def update!(**args)
623
+ end
624
+ end
625
+
626
+ # Represents a single entry in a directory.
450
627
  class DirectoryEntry
451
628
  include Google::Apis::Core::Hashable
452
629
 
@@ -487,6 +664,60 @@ module Google
487
664
  end
488
665
  end
489
666
 
667
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
668
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
669
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
670
+ # "Summary size limit" description: "Determines if a summary is less than 100
671
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
672
+ # Requestor is owner" description: "Determines if requestor is the document
673
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
674
+ # Logic): title: "Public documents" description: "Determine whether the document
675
+ # should be publicly visible" expression: "document.type != 'private' &&
676
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
677
+ # string" description: "Create a notification string with a timestamp."
678
+ # expression: "'New message received at ' + string(document.create_time)" The
679
+ # exact variables and functions that may be referenced within an expression are
680
+ # determined by the service that evaluates it. See the service documentation for
681
+ # additional information.
682
+ class Expr
683
+ include Google::Apis::Core::Hashable
684
+
685
+ # Optional. Description of the expression. This is a longer text which describes
686
+ # the expression, e.g. when hovered over it in a UI.
687
+ # Corresponds to the JSON property `description`
688
+ # @return [String]
689
+ attr_accessor :description
690
+
691
+ # Textual representation of an expression in Common Expression Language syntax.
692
+ # Corresponds to the JSON property `expression`
693
+ # @return [String]
694
+ attr_accessor :expression
695
+
696
+ # Optional. String indicating the location of the expression for error reporting,
697
+ # e.g. a file name and a position in the file.
698
+ # Corresponds to the JSON property `location`
699
+ # @return [String]
700
+ attr_accessor :location
701
+
702
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
703
+ # This can be used e.g. in UIs which allow to enter the expression.
704
+ # Corresponds to the JSON property `title`
705
+ # @return [String]
706
+ attr_accessor :title
707
+
708
+ def initialize(**args)
709
+ update!(**args)
710
+ end
711
+
712
+ # Update properties of this object
713
+ def update!(**args)
714
+ @description = args[:description] if args.key?(:description)
715
+ @expression = args[:expression] if args.key?(:expression)
716
+ @location = args[:location] if args.key?(:location)
717
+ @title = args[:title] if args.key?(:title)
718
+ end
719
+ end
720
+
490
721
  # `FetchFileDiff` response message.
491
722
  class FetchFileDiffResponse
492
723
  include Google::Apis::Core::Hashable
@@ -570,6 +801,57 @@ module Google
570
801
  end
571
802
  end
572
803
 
804
+ # `FetchRepositoryHistory` response message.
805
+ class FetchRepositoryHistoryResponse
806
+ include Google::Apis::Core::Hashable
807
+
808
+ # A list of commit logs, ordered by 'git log' default order.
809
+ # Corresponds to the JSON property `commits`
810
+ # @return [Array<Google::Apis::DataformV1beta1::CommitLogEntry>]
811
+ attr_accessor :commits
812
+
813
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
814
+ # field is omitted, there are no subsequent pages.
815
+ # Corresponds to the JSON property `nextPageToken`
816
+ # @return [String]
817
+ attr_accessor :next_page_token
818
+
819
+ def initialize(**args)
820
+ update!(**args)
821
+ end
822
+
823
+ # Update properties of this object
824
+ def update!(**args)
825
+ @commits = args[:commits] if args.key?(:commits)
826
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
827
+ end
828
+ end
829
+
830
+ # Represents a single file operation to the repository.
831
+ class FileOperation
832
+ include Google::Apis::Core::Hashable
833
+
834
+ # Represents the delete file operation.
835
+ # Corresponds to the JSON property `deleteFile`
836
+ # @return [Google::Apis::DataformV1beta1::DeleteFile]
837
+ attr_accessor :delete_file
838
+
839
+ # Represents the write file operation (for files added or modified).
840
+ # Corresponds to the JSON property `writeFile`
841
+ # @return [Google::Apis::DataformV1beta1::WriteFile]
842
+ attr_accessor :write_file
843
+
844
+ def initialize(**args)
845
+ update!(**args)
846
+ end
847
+
848
+ # Update properties of this object
849
+ def update!(**args)
850
+ @delete_file = args[:delete_file] if args.key?(:delete_file)
851
+ @write_file = args[:write_file] if args.key?(:write_file)
852
+ end
853
+ end
854
+
573
855
  # Controls Git remote configuration for a repository.
574
856
  class GitRemoteSettings
575
857
  include Google::Apis::Core::Hashable
@@ -1256,6 +1538,95 @@ module Google
1256
1538
  end
1257
1539
  end
1258
1540
 
1541
+ # An Identity and Access Management (IAM) policy, which specifies access
1542
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1543
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1544
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1545
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1546
+ # an IAM predefined role or a user-created custom role. For some types of Google
1547
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1548
+ # logical expression that allows access to a resource only if the expression
1549
+ # evaluates to `true`. A condition can add constraints based on attributes of
1550
+ # the request, the resource, or both. To learn which resources support
1551
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1552
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1553
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1554
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1555
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1556
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1557
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1558
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1559
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1560
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1561
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1562
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1563
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1564
+ # access description: Does not grant access after Sep 2020 expression: request.
1565
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1566
+ # a description of IAM and its features, see the [IAM documentation](https://
1567
+ # cloud.google.com/iam/docs/).
1568
+ class Policy
1569
+ include Google::Apis::Core::Hashable
1570
+
1571
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
1572
+ # specify a `condition` that determines how and when the `bindings` are applied.
1573
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
1574
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
1575
+ # can be Google groups. Each occurrence of a principal counts towards these
1576
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
1577
+ # example.com`, and not to any other principal, then you can add another 1,450
1578
+ # principals to the `bindings` in the `Policy`.
1579
+ # Corresponds to the JSON property `bindings`
1580
+ # @return [Array<Google::Apis::DataformV1beta1::Binding>]
1581
+ attr_accessor :bindings
1582
+
1583
+ # `etag` is used for optimistic concurrency control as a way to help prevent
1584
+ # simultaneous updates of a policy from overwriting each other. It is strongly
1585
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
1586
+ # to perform policy updates in order to avoid race conditions: An `etag` is
1587
+ # returned in the response to `getIamPolicy`, and systems are expected to put
1588
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
1589
+ # applied to the same version of the policy. **Important:** If you use IAM
1590
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
1591
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
1592
+ # with a version `1` policy, and all of the conditions in the version `3` policy
1593
+ # are lost.
1594
+ # Corresponds to the JSON property `etag`
1595
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1596
+ # @return [String]
1597
+ attr_accessor :etag
1598
+
1599
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
1600
+ # Requests that specify an invalid value are rejected. Any operation that
1601
+ # affects conditional role bindings must specify version `3`. This requirement
1602
+ # applies to the following operations: * Getting a policy that includes a
1603
+ # conditional role binding * Adding a conditional role binding to a policy *
1604
+ # Changing a conditional role binding in a policy * Removing any role binding,
1605
+ # with or without a condition, from a policy that includes conditions **
1606
+ # Important:** If you use IAM Conditions, you must include the `etag` field
1607
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1608
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
1609
+ # conditions in the version `3` policy are lost. If a policy does not include
1610
+ # any conditions, operations on that policy may specify any valid version or
1611
+ # leave the field unset. To learn which resources support conditions in their
1612
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
1613
+ # conditions/resource-policies).
1614
+ # Corresponds to the JSON property `version`
1615
+ # @return [Fixnum]
1616
+ attr_accessor :version
1617
+
1618
+ def initialize(**args)
1619
+ update!(**args)
1620
+ end
1621
+
1622
+ # Update properties of this object
1623
+ def update!(**args)
1624
+ @bindings = args[:bindings] if args.key?(:bindings)
1625
+ @etag = args[:etag] if args.key?(:etag)
1626
+ @version = args[:version] if args.key?(:version)
1627
+ end
1628
+ end
1629
+
1259
1630
  # `PullGitCommits` request message.
1260
1631
  class PullGitCommitsRequest
1261
1632
  include Google::Apis::Core::Hashable
@@ -1354,6 +1725,32 @@ module Google
1354
1725
  end
1355
1726
  end
1356
1727
 
1728
+ # `QueryRepositoryDirectoryContents` response message.
1729
+ class QueryRepositoryDirectoryContentsResponse
1730
+ include Google::Apis::Core::Hashable
1731
+
1732
+ # List of entries in the directory.
1733
+ # Corresponds to the JSON property `directoryEntries`
1734
+ # @return [Array<Google::Apis::DataformV1beta1::DirectoryEntry>]
1735
+ attr_accessor :directory_entries
1736
+
1737
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1738
+ # field is omitted, there are no subsequent pages.
1739
+ # Corresponds to the JSON property `nextPageToken`
1740
+ # @return [String]
1741
+ attr_accessor :next_page_token
1742
+
1743
+ def initialize(**args)
1744
+ update!(**args)
1745
+ end
1746
+
1747
+ # Update properties of this object
1748
+ def update!(**args)
1749
+ @directory_entries = args[:directory_entries] if args.key?(:directory_entries)
1750
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1751
+ end
1752
+ end
1753
+
1357
1754
  # `QueryWorkflowInvocationActions` response message.
1358
1755
  class QueryWorkflowInvocationActionsResponse
1359
1756
  include Google::Apis::Core::Hashable
@@ -1400,6 +1797,26 @@ module Google
1400
1797
  end
1401
1798
  end
1402
1799
 
1800
+ # `ReadRepositoryFile` response message.
1801
+ class ReadRepositoryFileResponse
1802
+ include Google::Apis::Core::Hashable
1803
+
1804
+ # The file's contents.
1805
+ # Corresponds to the JSON property `contents`
1806
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1807
+ # @return [String]
1808
+ attr_accessor :contents
1809
+
1810
+ def initialize(**args)
1811
+ update!(**args)
1812
+ end
1813
+
1814
+ # Update properties of this object
1815
+ def update!(**args)
1816
+ @contents = args[:contents] if args.key?(:contents)
1817
+ end
1818
+ end
1819
+
1403
1820
  # Represents a database relation.
1404
1821
  class Relation
1405
1822
  include Google::Apis::Core::Hashable
@@ -1650,6 +2067,23 @@ module Google
1650
2067
  # @return [Google::Apis::DataformV1beta1::GitRemoteSettings]
1651
2068
  attr_accessor :git_remote_settings
1652
2069
 
2070
+ # Optional. Input only. The initial commit file contents. Represented as map
2071
+ # from file path to contents. The path is the full file path to commit including
2072
+ # filename, from repository root.
2073
+ # Corresponds to the JSON property `initialCommitFileContents`
2074
+ # @return [Hash<String,String>]
2075
+ attr_accessor :initial_commit_file_contents
2076
+
2077
+ # Represents a Dataform Git commit.
2078
+ # Corresponds to the JSON property `initialCommitMetadata`
2079
+ # @return [Google::Apis::DataformV1beta1::CommitMetadata]
2080
+ attr_accessor :initial_commit_metadata
2081
+
2082
+ # Optional. Repository user labels.
2083
+ # Corresponds to the JSON property `labels`
2084
+ # @return [Hash<String,String>]
2085
+ attr_accessor :labels
2086
+
1653
2087
  # Output only. The repository's name.
1654
2088
  # Corresponds to the JSON property `name`
1655
2089
  # @return [String]
@@ -1682,6 +2116,9 @@ module Google
1682
2116
  # Update properties of this object
1683
2117
  def update!(**args)
1684
2118
  @git_remote_settings = args[:git_remote_settings] if args.key?(:git_remote_settings)
2119
+ @initial_commit_file_contents = args[:initial_commit_file_contents] if args.key?(:initial_commit_file_contents)
2120
+ @initial_commit_metadata = args[:initial_commit_metadata] if args.key?(:initial_commit_metadata)
2121
+ @labels = args[:labels] if args.key?(:labels)
1685
2122
  @name = args[:name] if args.key?(:name)
1686
2123
  @npmrc_environment_variables_secret_version = args[:npmrc_environment_variables_secret_version] if args.key?(:npmrc_environment_variables_secret_version)
1687
2124
  @workspace_compilation_overrides = args[:workspace_compilation_overrides] if args.key?(:workspace_compilation_overrides)
@@ -1792,6 +2229,51 @@ module Google
1792
2229
  end
1793
2230
  end
1794
2231
 
2232
+ # Request message for `SetIamPolicy` method.
2233
+ class SetIamPolicyRequest
2234
+ include Google::Apis::Core::Hashable
2235
+
2236
+ # An Identity and Access Management (IAM) policy, which specifies access
2237
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
2238
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
2239
+ # Principals can be user accounts, service accounts, Google groups, and domains (
2240
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
2241
+ # an IAM predefined role or a user-created custom role. For some types of Google
2242
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
2243
+ # logical expression that allows access to a resource only if the expression
2244
+ # evaluates to `true`. A condition can add constraints based on attributes of
2245
+ # the request, the resource, or both. To learn which resources support
2246
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2247
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
2248
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
2249
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
2250
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
2251
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
2252
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
2253
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
2254
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
2255
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
2256
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
2257
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
2258
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
2259
+ # access description: Does not grant access after Sep 2020 expression: request.
2260
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
2261
+ # a description of IAM and its features, see the [IAM documentation](https://
2262
+ # cloud.google.com/iam/docs/).
2263
+ # Corresponds to the JSON property `policy`
2264
+ # @return [Google::Apis::DataformV1beta1::Policy]
2265
+ attr_accessor :policy
2266
+
2267
+ def initialize(**args)
2268
+ update!(**args)
2269
+ end
2270
+
2271
+ # Update properties of this object
2272
+ def update!(**args)
2273
+ @policy = args[:policy] if args.key?(:policy)
2274
+ end
2275
+ end
2276
+
1795
2277
  # The `Status` type defines a logical error model that is suitable for different
1796
2278
  # programming environments, including REST APIs and RPC APIs. It is used by [
1797
2279
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -1863,6 +2345,46 @@ module Google
1863
2345
  end
1864
2346
  end
1865
2347
 
2348
+ # Request message for `TestIamPermissions` method.
2349
+ class TestIamPermissionsRequest
2350
+ include Google::Apis::Core::Hashable
2351
+
2352
+ # The set of permissions to check for the `resource`. Permissions with wildcards
2353
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
2354
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
2355
+ # Corresponds to the JSON property `permissions`
2356
+ # @return [Array<String>]
2357
+ attr_accessor :permissions
2358
+
2359
+ def initialize(**args)
2360
+ update!(**args)
2361
+ end
2362
+
2363
+ # Update properties of this object
2364
+ def update!(**args)
2365
+ @permissions = args[:permissions] if args.key?(:permissions)
2366
+ end
2367
+ end
2368
+
2369
+ # Response message for `TestIamPermissions` method.
2370
+ class TestIamPermissionsResponse
2371
+ include Google::Apis::Core::Hashable
2372
+
2373
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
2374
+ # Corresponds to the JSON property `permissions`
2375
+ # @return [Array<String>]
2376
+ attr_accessor :permissions
2377
+
2378
+ def initialize(**args)
2379
+ update!(**args)
2380
+ end
2381
+
2382
+ # Update properties of this object
2383
+ def update!(**args)
2384
+ @permissions = args[:permissions] if args.key?(:permissions)
2385
+ end
2386
+ end
2387
+
1866
2388
  # Represents the Git state of a file with uncommitted changes.
1867
2389
  class UncommittedFileChange
1868
2390
  include Google::Apis::Core::Hashable
@@ -2112,6 +2634,26 @@ module Google
2112
2634
  end
2113
2635
  end
2114
2636
 
2637
+ # Represents the write file operation (for files added or modified).
2638
+ class WriteFile
2639
+ include Google::Apis::Core::Hashable
2640
+
2641
+ # The file's contents.
2642
+ # Corresponds to the JSON property `contents`
2643
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2644
+ # @return [String]
2645
+ attr_accessor :contents
2646
+
2647
+ def initialize(**args)
2648
+ update!(**args)
2649
+ end
2650
+
2651
+ # Update properties of this object
2652
+ def update!(**args)
2653
+ @contents = args[:contents] if args.key?(:contents)
2654
+ end
2655
+ end
2656
+
2115
2657
  # `WriteFile` request message.
2116
2658
  class WriteFileRequest
2117
2659
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DataformV1beta1
18
18
  # Version of the google-apis-dataform_v1beta1 gem
19
- GEM_VERSION = "0.4.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230128"
25
+ REVISION = "20230304"
26
26
  end
27
27
  end
28
28
  end