google-apis-dataform_v1beta1 0.5.0 → 0.6.0
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6dae08fe461bbafbf62d4cd9ff7c9de1dc4a7fa68f4f4f7c050c03a464ae642
|
4
|
+
data.tar.gz: 85533fa0db431c5af98e79a82492de0cd40776adb7cb597c88d5db9b6f13d7f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9147ba3d677e223c032f46b385a2c99a3b9776cff8dd6b3b4b01bb6db55e78ff6a81421dce4c7d352531b611d373075d01298ec8644952c9b552560026309ce3
|
7
|
+
data.tar.gz: 542f17087e8ac0a0e59f870b3843264348593fdeccbf86487ab7104e8ad3f19d73a4275d1583e0862fc5cb7f09703796fc06cbe69f687a76beff50061b279f4b
|
data/CHANGELOG.md
CHANGED
@@ -305,6 +305,94 @@ module Google
|
|
305
305
|
end
|
306
306
|
end
|
307
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
|
+
|
308
396
|
# `CommitWorkspaceChanges` request message.
|
309
397
|
class CommitWorkspaceChangesRequest
|
310
398
|
include Google::Apis::Core::Hashable
|
@@ -522,7 +610,20 @@ module Google
|
|
522
610
|
end
|
523
611
|
end
|
524
612
|
|
525
|
-
# Represents
|
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.
|
526
627
|
class DirectoryEntry
|
527
628
|
include Google::Apis::Core::Hashable
|
528
629
|
|
@@ -700,6 +801,57 @@ module Google
|
|
700
801
|
end
|
701
802
|
end
|
702
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
|
+
|
703
855
|
# Controls Git remote configuration for a repository.
|
704
856
|
class GitRemoteSettings
|
705
857
|
include Google::Apis::Core::Hashable
|
@@ -1573,6 +1725,32 @@ module Google
|
|
1573
1725
|
end
|
1574
1726
|
end
|
1575
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
|
+
|
1576
1754
|
# `QueryWorkflowInvocationActions` response message.
|
1577
1755
|
class QueryWorkflowInvocationActionsResponse
|
1578
1756
|
include Google::Apis::Core::Hashable
|
@@ -1619,6 +1797,26 @@ module Google
|
|
1619
1797
|
end
|
1620
1798
|
end
|
1621
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
|
+
|
1622
1820
|
# Represents a database relation.
|
1623
1821
|
class Relation
|
1624
1822
|
include Google::Apis::Core::Hashable
|
@@ -1869,6 +2067,23 @@ module Google
|
|
1869
2067
|
# @return [Google::Apis::DataformV1beta1::GitRemoteSettings]
|
1870
2068
|
attr_accessor :git_remote_settings
|
1871
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
|
+
|
1872
2087
|
# Output only. The repository's name.
|
1873
2088
|
# Corresponds to the JSON property `name`
|
1874
2089
|
# @return [String]
|
@@ -1901,6 +2116,9 @@ module Google
|
|
1901
2116
|
# Update properties of this object
|
1902
2117
|
def update!(**args)
|
1903
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)
|
1904
2122
|
@name = args[:name] if args.key?(:name)
|
1905
2123
|
@npmrc_environment_variables_secret_version = args[:npmrc_environment_variables_secret_version] if args.key?(:npmrc_environment_variables_secret_version)
|
1906
2124
|
@workspace_compilation_overrides = args[:workspace_compilation_overrides] if args.key?(:workspace_compilation_overrides)
|
@@ -2416,6 +2634,26 @@ module Google
|
|
2416
2634
|
end
|
2417
2635
|
end
|
2418
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
|
+
|
2419
2657
|
# `WriteFile` request message.
|
2420
2658
|
class WriteFileRequest
|
2421
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.
|
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 = "
|
25
|
+
REVISION = "20230304"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -64,6 +64,24 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class CommitLogEntry
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class CommitMetadata
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class CommitRepositoryChangesRequest
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
67
85
|
class CommitWorkspaceChangesRequest
|
68
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
87
|
|
@@ -94,6 +112,12 @@ module Google
|
|
94
112
|
include Google::Apis::Core::JsonObjectSupport
|
95
113
|
end
|
96
114
|
|
115
|
+
class DeleteFile
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
97
121
|
class DirectoryEntry
|
98
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
123
|
|
@@ -136,6 +160,18 @@ module Google
|
|
136
160
|
include Google::Apis::Core::JsonObjectSupport
|
137
161
|
end
|
138
162
|
|
163
|
+
class FetchRepositoryHistoryResponse
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class FileOperation
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
139
175
|
class GitRemoteSettings
|
140
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
177
|
|
@@ -298,6 +334,12 @@ module Google
|
|
298
334
|
include Google::Apis::Core::JsonObjectSupport
|
299
335
|
end
|
300
336
|
|
337
|
+
class QueryRepositoryDirectoryContentsResponse
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
301
343
|
class QueryWorkflowInvocationActionsResponse
|
302
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
345
|
|
@@ -310,6 +352,12 @@ module Google
|
|
310
352
|
include Google::Apis::Core::JsonObjectSupport
|
311
353
|
end
|
312
354
|
|
355
|
+
class ReadRepositoryFileResponse
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
313
361
|
class Relation
|
314
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
363
|
|
@@ -430,6 +478,12 @@ module Google
|
|
430
478
|
include Google::Apis::Core::JsonObjectSupport
|
431
479
|
end
|
432
480
|
|
481
|
+
class WriteFile
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
+
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
485
|
+
end
|
486
|
+
|
433
487
|
class WriteFileRequest
|
434
488
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
489
|
|
@@ -511,6 +565,36 @@ module Google
|
|
511
565
|
end
|
512
566
|
end
|
513
567
|
|
568
|
+
class CommitLogEntry
|
569
|
+
# @private
|
570
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
571
|
+
property :author, as: 'author', class: Google::Apis::DataformV1beta1::CommitAuthor, decorator: Google::Apis::DataformV1beta1::CommitAuthor::Representation
|
572
|
+
|
573
|
+
property :commit_message, as: 'commitMessage'
|
574
|
+
property :commit_sha, as: 'commitSha'
|
575
|
+
property :commit_time, as: 'commitTime'
|
576
|
+
end
|
577
|
+
end
|
578
|
+
|
579
|
+
class CommitMetadata
|
580
|
+
# @private
|
581
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
582
|
+
property :author, as: 'author', class: Google::Apis::DataformV1beta1::CommitAuthor, decorator: Google::Apis::DataformV1beta1::CommitAuthor::Representation
|
583
|
+
|
584
|
+
property :commit_message, as: 'commitMessage'
|
585
|
+
end
|
586
|
+
end
|
587
|
+
|
588
|
+
class CommitRepositoryChangesRequest
|
589
|
+
# @private
|
590
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
591
|
+
property :commit_metadata, as: 'commitMetadata', class: Google::Apis::DataformV1beta1::CommitMetadata, decorator: Google::Apis::DataformV1beta1::CommitMetadata::Representation
|
592
|
+
|
593
|
+
hash :file_operations, as: 'fileOperations', class: Google::Apis::DataformV1beta1::FileOperation, decorator: Google::Apis::DataformV1beta1::FileOperation::Representation
|
594
|
+
|
595
|
+
end
|
596
|
+
end
|
597
|
+
|
514
598
|
class CommitWorkspaceChangesRequest
|
515
599
|
# @private
|
516
600
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -575,6 +659,12 @@ module Google
|
|
575
659
|
end
|
576
660
|
end
|
577
661
|
|
662
|
+
class DeleteFile
|
663
|
+
# @private
|
664
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
665
|
+
end
|
666
|
+
end
|
667
|
+
|
578
668
|
class DirectoryEntry
|
579
669
|
# @private
|
580
670
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -629,6 +719,25 @@ module Google
|
|
629
719
|
end
|
630
720
|
end
|
631
721
|
|
722
|
+
class FetchRepositoryHistoryResponse
|
723
|
+
# @private
|
724
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
725
|
+
collection :commits, as: 'commits', class: Google::Apis::DataformV1beta1::CommitLogEntry, decorator: Google::Apis::DataformV1beta1::CommitLogEntry::Representation
|
726
|
+
|
727
|
+
property :next_page_token, as: 'nextPageToken'
|
728
|
+
end
|
729
|
+
end
|
730
|
+
|
731
|
+
class FileOperation
|
732
|
+
# @private
|
733
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
734
|
+
property :delete_file, as: 'deleteFile', class: Google::Apis::DataformV1beta1::DeleteFile, decorator: Google::Apis::DataformV1beta1::DeleteFile::Representation
|
735
|
+
|
736
|
+
property :write_file, as: 'writeFile', class: Google::Apis::DataformV1beta1::WriteFile, decorator: Google::Apis::DataformV1beta1::WriteFile::Representation
|
737
|
+
|
738
|
+
end
|
739
|
+
end
|
740
|
+
|
632
741
|
class GitRemoteSettings
|
633
742
|
# @private
|
634
743
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -875,6 +984,15 @@ module Google
|
|
875
984
|
end
|
876
985
|
end
|
877
986
|
|
987
|
+
class QueryRepositoryDirectoryContentsResponse
|
988
|
+
# @private
|
989
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
990
|
+
collection :directory_entries, as: 'directoryEntries', class: Google::Apis::DataformV1beta1::DirectoryEntry, decorator: Google::Apis::DataformV1beta1::DirectoryEntry::Representation
|
991
|
+
|
992
|
+
property :next_page_token, as: 'nextPageToken'
|
993
|
+
end
|
994
|
+
end
|
995
|
+
|
878
996
|
class QueryWorkflowInvocationActionsResponse
|
879
997
|
# @private
|
880
998
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -891,6 +1009,13 @@ module Google
|
|
891
1009
|
end
|
892
1010
|
end
|
893
1011
|
|
1012
|
+
class ReadRepositoryFileResponse
|
1013
|
+
# @private
|
1014
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1015
|
+
property :contents, :base64 => true, as: 'contents'
|
1016
|
+
end
|
1017
|
+
end
|
1018
|
+
|
894
1019
|
class Relation
|
895
1020
|
# @private
|
896
1021
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -958,6 +1083,10 @@ module Google
|
|
958
1083
|
class Representation < Google::Apis::Core::JsonRepresentation
|
959
1084
|
property :git_remote_settings, as: 'gitRemoteSettings', class: Google::Apis::DataformV1beta1::GitRemoteSettings, decorator: Google::Apis::DataformV1beta1::GitRemoteSettings::Representation
|
960
1085
|
|
1086
|
+
hash :initial_commit_file_contents, as: 'initialCommitFileContents'
|
1087
|
+
property :initial_commit_metadata, as: 'initialCommitMetadata', class: Google::Apis::DataformV1beta1::CommitMetadata, decorator: Google::Apis::DataformV1beta1::CommitMetadata::Representation
|
1088
|
+
|
1089
|
+
hash :labels, as: 'labels'
|
961
1090
|
property :name, as: 'name'
|
962
1091
|
property :npmrc_environment_variables_secret_version, as: 'npmrcEnvironmentVariablesSecretVersion'
|
963
1092
|
property :workspace_compilation_overrides, as: 'workspaceCompilationOverrides', class: Google::Apis::DataformV1beta1::WorkspaceCompilationOverrides, decorator: Google::Apis::DataformV1beta1::WorkspaceCompilationOverrides::Representation
|
@@ -1101,6 +1230,13 @@ module Google
|
|
1101
1230
|
end
|
1102
1231
|
end
|
1103
1232
|
|
1233
|
+
class WriteFile
|
1234
|
+
# @private
|
1235
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1236
|
+
property :contents, :base64 => true, as: 'contents'
|
1237
|
+
end
|
1238
|
+
end
|
1239
|
+
|
1104
1240
|
class WriteFileRequest
|
1105
1241
|
# @private
|
1106
1242
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -125,6 +125,40 @@ module Google
|
|
125
125
|
execute_or_queue_command(command, &block)
|
126
126
|
end
|
127
127
|
|
128
|
+
# Applies a Git commit to a Repository. The Repository must not have a value for
|
129
|
+
# `git_remote_settings.url`.
|
130
|
+
# @param [String] name
|
131
|
+
# Required. The repository's name.
|
132
|
+
# @param [Google::Apis::DataformV1beta1::CommitRepositoryChangesRequest] commit_repository_changes_request_object
|
133
|
+
# @param [String] fields
|
134
|
+
# Selector specifying which fields to include in a partial response.
|
135
|
+
# @param [String] quota_user
|
136
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
137
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
138
|
+
# @param [Google::Apis::RequestOptions] options
|
139
|
+
# Request-specific options
|
140
|
+
#
|
141
|
+
# @yield [result, err] Result & error if block supplied
|
142
|
+
# @yieldparam result [Google::Apis::DataformV1beta1::Empty] parsed result object
|
143
|
+
# @yieldparam err [StandardError] error object if request failed
|
144
|
+
#
|
145
|
+
# @return [Google::Apis::DataformV1beta1::Empty]
|
146
|
+
#
|
147
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
148
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
149
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
150
|
+
def commit_repository_changes(name, commit_repository_changes_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
151
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:commit', options)
|
152
|
+
command.request_representation = Google::Apis::DataformV1beta1::CommitRepositoryChangesRequest::Representation
|
153
|
+
command.request_object = commit_repository_changes_request_object
|
154
|
+
command.response_representation = Google::Apis::DataformV1beta1::Empty::Representation
|
155
|
+
command.response_class = Google::Apis::DataformV1beta1::Empty
|
156
|
+
command.params['name'] = name unless name.nil?
|
157
|
+
command.query['fields'] = fields unless fields.nil?
|
158
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
159
|
+
execute_or_queue_command(command, &block)
|
160
|
+
end
|
161
|
+
|
128
162
|
# Creates a new Repository in a given project and location.
|
129
163
|
# @param [String] parent
|
130
164
|
# Required. The location in which to create the repository. Must be in the
|
@@ -198,6 +232,47 @@ module Google
|
|
198
232
|
execute_or_queue_command(command, &block)
|
199
233
|
end
|
200
234
|
|
235
|
+
# Fetches a Repository's history of changes. The Repository must not have a
|
236
|
+
# value for `git_remote_settings.url`.
|
237
|
+
# @param [String] name
|
238
|
+
# Required. The repository's name.
|
239
|
+
# @param [Fixnum] page_size
|
240
|
+
# Optional. Maximum number of paths to return. The server may return fewer items
|
241
|
+
# than requested. If unspecified, the server will pick an appropriate default.
|
242
|
+
# @param [String] page_token
|
243
|
+
# Optional. Page token received from a previous `FetchRepositoryHistory` call.
|
244
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
245
|
+
# parameters provided to `FetchRepositoryHistory` must match the call that
|
246
|
+
# provided the page token.
|
247
|
+
# @param [String] fields
|
248
|
+
# Selector specifying which fields to include in a partial response.
|
249
|
+
# @param [String] quota_user
|
250
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
251
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
252
|
+
# @param [Google::Apis::RequestOptions] options
|
253
|
+
# Request-specific options
|
254
|
+
#
|
255
|
+
# @yield [result, err] Result & error if block supplied
|
256
|
+
# @yieldparam result [Google::Apis::DataformV1beta1::FetchRepositoryHistoryResponse] parsed result object
|
257
|
+
# @yieldparam err [StandardError] error object if request failed
|
258
|
+
#
|
259
|
+
# @return [Google::Apis::DataformV1beta1::FetchRepositoryHistoryResponse]
|
260
|
+
#
|
261
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
262
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
263
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
264
|
+
def fetch_project_location_repository_history(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
265
|
+
command = make_simple_command(:get, 'v1beta1/{+name}:fetchHistory', options)
|
266
|
+
command.response_representation = Google::Apis::DataformV1beta1::FetchRepositoryHistoryResponse::Representation
|
267
|
+
command.response_class = Google::Apis::DataformV1beta1::FetchRepositoryHistoryResponse
|
268
|
+
command.params['name'] = name unless name.nil?
|
269
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
270
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
271
|
+
command.query['fields'] = fields unless fields.nil?
|
272
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
273
|
+
execute_or_queue_command(command, &block)
|
274
|
+
end
|
275
|
+
|
201
276
|
# Fetches a Repository's remote branches.
|
202
277
|
# @param [String] name
|
203
278
|
# Required. The repository's name.
|
@@ -390,6 +465,94 @@ module Google
|
|
390
465
|
execute_or_queue_command(command, &block)
|
391
466
|
end
|
392
467
|
|
468
|
+
# Returns the contents of a given Repository directory. The Repository must not
|
469
|
+
# have a value for `git_remote_settings.url`.
|
470
|
+
# @param [String] name
|
471
|
+
# Required. The repository's name.
|
472
|
+
# @param [String] commit_sha
|
473
|
+
# Optional. The Commit SHA for the commit to query from. If unset, the directory
|
474
|
+
# will be queried from HEAD.
|
475
|
+
# @param [Fixnum] page_size
|
476
|
+
# Optional. Maximum number of paths to return. The server may return fewer items
|
477
|
+
# than requested. If unspecified, the server will pick an appropriate default.
|
478
|
+
# @param [String] page_token
|
479
|
+
# Optional. Page token received from a previous `
|
480
|
+
# QueryRepositoryDirectoryContents` call. Provide this to retrieve the
|
481
|
+
# subsequent page. When paginating, all other parameters provided to `
|
482
|
+
# QueryRepositoryDirectoryContents` must match the call that provided the page
|
483
|
+
# token.
|
484
|
+
# @param [String] path
|
485
|
+
# Optional. The directory's full path including directory name, relative to root.
|
486
|
+
# If left unset, the root is used.
|
487
|
+
# @param [String] fields
|
488
|
+
# Selector specifying which fields to include in a partial response.
|
489
|
+
# @param [String] quota_user
|
490
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
491
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
492
|
+
# @param [Google::Apis::RequestOptions] options
|
493
|
+
# Request-specific options
|
494
|
+
#
|
495
|
+
# @yield [result, err] Result & error if block supplied
|
496
|
+
# @yieldparam result [Google::Apis::DataformV1beta1::QueryRepositoryDirectoryContentsResponse] parsed result object
|
497
|
+
# @yieldparam err [StandardError] error object if request failed
|
498
|
+
#
|
499
|
+
# @return [Google::Apis::DataformV1beta1::QueryRepositoryDirectoryContentsResponse]
|
500
|
+
#
|
501
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
502
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
503
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
504
|
+
def query_project_location_repository_directory_contents(name, commit_sha: nil, page_size: nil, page_token: nil, path: nil, fields: nil, quota_user: nil, options: nil, &block)
|
505
|
+
command = make_simple_command(:get, 'v1beta1/{+name}:queryDirectoryContents', options)
|
506
|
+
command.response_representation = Google::Apis::DataformV1beta1::QueryRepositoryDirectoryContentsResponse::Representation
|
507
|
+
command.response_class = Google::Apis::DataformV1beta1::QueryRepositoryDirectoryContentsResponse
|
508
|
+
command.params['name'] = name unless name.nil?
|
509
|
+
command.query['commitSha'] = commit_sha unless commit_sha.nil?
|
510
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
511
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
512
|
+
command.query['path'] = path unless path.nil?
|
513
|
+
command.query['fields'] = fields unless fields.nil?
|
514
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
515
|
+
execute_or_queue_command(command, &block)
|
516
|
+
end
|
517
|
+
|
518
|
+
# Returns the contents of a file (inside a Repository). The Repository must not
|
519
|
+
# have a value for `git_remote_settings.url`.
|
520
|
+
# @param [String] name
|
521
|
+
# Required. The repository's name.
|
522
|
+
# @param [String] commit_sha
|
523
|
+
# Optional. The commit SHA for the commit to read from. If unset, the file will
|
524
|
+
# be read from HEAD.
|
525
|
+
# @param [String] path
|
526
|
+
# Required. Full file path to read including filename, from repository root.
|
527
|
+
# @param [String] fields
|
528
|
+
# Selector specifying which fields to include in a partial response.
|
529
|
+
# @param [String] quota_user
|
530
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
531
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
532
|
+
# @param [Google::Apis::RequestOptions] options
|
533
|
+
# Request-specific options
|
534
|
+
#
|
535
|
+
# @yield [result, err] Result & error if block supplied
|
536
|
+
# @yieldparam result [Google::Apis::DataformV1beta1::ReadRepositoryFileResponse] parsed result object
|
537
|
+
# @yieldparam err [StandardError] error object if request failed
|
538
|
+
#
|
539
|
+
# @return [Google::Apis::DataformV1beta1::ReadRepositoryFileResponse]
|
540
|
+
#
|
541
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
542
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
543
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
544
|
+
def read_project_location_repository_file(name, commit_sha: nil, path: nil, fields: nil, quota_user: nil, options: nil, &block)
|
545
|
+
command = make_simple_command(:get, 'v1beta1/{+name}:readFile', options)
|
546
|
+
command.response_representation = Google::Apis::DataformV1beta1::ReadRepositoryFileResponse::Representation
|
547
|
+
command.response_class = Google::Apis::DataformV1beta1::ReadRepositoryFileResponse
|
548
|
+
command.params['name'] = name unless name.nil?
|
549
|
+
command.query['commitSha'] = commit_sha unless commit_sha.nil?
|
550
|
+
command.query['path'] = path unless path.nil?
|
551
|
+
command.query['fields'] = fields unless fields.nil?
|
552
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
553
|
+
execute_or_queue_command(command, &block)
|
554
|
+
end
|
555
|
+
|
393
556
|
# Sets the access control policy on the specified resource. Replaces any
|
394
557
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
395
558
|
# PERMISSION_DENIED` errors.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dataform_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataform_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dataform_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dataform_v1beta1/v0.6.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataform_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|