google-apis-dataform_v1beta1 0.61.0 → 0.62.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: 53337cf02b3dad92b3b7052ac8f88c4c04b794431983176fb499cfd4070d21b2
|
|
4
|
+
data.tar.gz: 378e73590358ce2912b747f80c975780fdc39d29e1110c97fc4c06b7b9b57ded
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e91597b4f4c553d0e0dfd7c7798966965d1e0403b798a5b55c00c8047c9edec37954c21a57590e6df812af8dd71cfde2509d870971f193b63a9e2b4fb400aabb
|
|
7
|
+
data.tar.gz: 4e6239d26b52e0c310dfd25b15bc30e28475f50eefae484c00d8d5a5aa4bd119e2d4f3ced135bdaceffdd9ba589b05b6de37b4a292752dfba08ff19d527318da
|
data/CHANGELOG.md
CHANGED
|
@@ -328,6 +328,31 @@ module Google
|
|
|
328
328
|
end
|
|
329
329
|
end
|
|
330
330
|
|
|
331
|
+
# Contains metadata about a branch.
|
|
332
|
+
class BranchMetadata
|
|
333
|
+
include Google::Apis::Core::Hashable
|
|
334
|
+
|
|
335
|
+
# The branch name.
|
|
336
|
+
# Corresponds to the JSON property `branchName`
|
|
337
|
+
# @return [String]
|
|
338
|
+
attr_accessor :branch_name
|
|
339
|
+
|
|
340
|
+
# Represents a single commit log.
|
|
341
|
+
# Corresponds to the JSON property `lastCommit`
|
|
342
|
+
# @return [Google::Apis::DataformV1beta1::CommitLogEntry]
|
|
343
|
+
attr_accessor :last_commit
|
|
344
|
+
|
|
345
|
+
def initialize(**args)
|
|
346
|
+
update!(**args)
|
|
347
|
+
end
|
|
348
|
+
|
|
349
|
+
# Update properties of this object
|
|
350
|
+
def update!(**args)
|
|
351
|
+
@branch_name = args[:branch_name] if args.key?(:branch_name)
|
|
352
|
+
@last_commit = args[:last_commit] if args.key?(:last_commit)
|
|
353
|
+
end
|
|
354
|
+
end
|
|
355
|
+
|
|
331
356
|
# The request message for Operations.CancelOperation.
|
|
332
357
|
class CancelOperationRequest
|
|
333
358
|
include Google::Apis::Core::Hashable
|
|
@@ -367,6 +392,44 @@ module Google
|
|
|
367
392
|
end
|
|
368
393
|
end
|
|
369
394
|
|
|
395
|
+
# `CheckoutWorkspaceBranch` request message.
|
|
396
|
+
class CheckoutWorkspaceBranchRequest
|
|
397
|
+
include Google::Apis::Core::Hashable
|
|
398
|
+
|
|
399
|
+
# Required. The name of the branch in the Git repository to which the workspace
|
|
400
|
+
# should be checked out.
|
|
401
|
+
# Corresponds to the JSON property `branch`
|
|
402
|
+
# @return [String]
|
|
403
|
+
attr_accessor :branch
|
|
404
|
+
|
|
405
|
+
# Optional. If set to true and the branch does not exist, it will be created.
|
|
406
|
+
# Otherwise, an error will be thrown.
|
|
407
|
+
# Corresponds to the JSON property `createIfNotExists`
|
|
408
|
+
# @return [Boolean]
|
|
409
|
+
attr_accessor :create_if_not_exists
|
|
410
|
+
alias_method :create_if_not_exists?, :create_if_not_exists
|
|
411
|
+
|
|
412
|
+
# Optional. The name of the branch in the Git repository from which the new
|
|
413
|
+
# branch should be created. If left unset, the workspace's current branch name
|
|
414
|
+
# will be used. Accepts only branch names from FetchWorkspaceBranches response,
|
|
415
|
+
# and can only be set if `create_if_not_exists` is true. Oherwise, an error will
|
|
416
|
+
# be thrown.
|
|
417
|
+
# Corresponds to the JSON property `sourceBranch`
|
|
418
|
+
# @return [String]
|
|
419
|
+
attr_accessor :source_branch
|
|
420
|
+
|
|
421
|
+
def initialize(**args)
|
|
422
|
+
update!(**args)
|
|
423
|
+
end
|
|
424
|
+
|
|
425
|
+
# Update properties of this object
|
|
426
|
+
def update!(**args)
|
|
427
|
+
@branch = args[:branch] if args.key?(:branch)
|
|
428
|
+
@create_if_not_exists = args[:create_if_not_exists] if args.key?(:create_if_not_exists)
|
|
429
|
+
@source_branch = args[:source_branch] if args.key?(:source_branch)
|
|
430
|
+
end
|
|
431
|
+
end
|
|
432
|
+
|
|
370
433
|
# Configures various aspects of Dataform code compilation.
|
|
371
434
|
class CodeCompilationConfig
|
|
372
435
|
include Google::Apis::Core::Hashable
|
|
@@ -1060,6 +1123,46 @@ module Google
|
|
|
1060
1123
|
end
|
|
1061
1124
|
end
|
|
1062
1125
|
|
|
1126
|
+
# `DeleteBranch` request message.
|
|
1127
|
+
class DeleteBranchRequest
|
|
1128
|
+
include Google::Apis::Core::Hashable
|
|
1129
|
+
|
|
1130
|
+
# Required. The name of the branch in the Git repository to delete.
|
|
1131
|
+
# Corresponds to the JSON property `branch`
|
|
1132
|
+
# @return [String]
|
|
1133
|
+
attr_accessor :branch
|
|
1134
|
+
|
|
1135
|
+
# Optional. If set to true, any non-pushed commits on the branch will be deleted.
|
|
1136
|
+
# Upstream branch name will be the same as the branch to delete.
|
|
1137
|
+
# Corresponds to the JSON property `force`
|
|
1138
|
+
# @return [Boolean]
|
|
1139
|
+
attr_accessor :force
|
|
1140
|
+
alias_method :force?, :force
|
|
1141
|
+
|
|
1142
|
+
def initialize(**args)
|
|
1143
|
+
update!(**args)
|
|
1144
|
+
end
|
|
1145
|
+
|
|
1146
|
+
# Update properties of this object
|
|
1147
|
+
def update!(**args)
|
|
1148
|
+
@branch = args[:branch] if args.key?(:branch)
|
|
1149
|
+
@force = args[:force] if args.key?(:force)
|
|
1150
|
+
end
|
|
1151
|
+
end
|
|
1152
|
+
|
|
1153
|
+
# `DeleteBranch` response message.
|
|
1154
|
+
class DeleteBranchResponse
|
|
1155
|
+
include Google::Apis::Core::Hashable
|
|
1156
|
+
|
|
1157
|
+
def initialize(**args)
|
|
1158
|
+
update!(**args)
|
|
1159
|
+
end
|
|
1160
|
+
|
|
1161
|
+
# Update properties of this object
|
|
1162
|
+
def update!(**args)
|
|
1163
|
+
end
|
|
1164
|
+
end
|
|
1165
|
+
|
|
1063
1166
|
# Represents the delete file operation.
|
|
1064
1167
|
class DeleteFile
|
|
1065
1168
|
include Google::Apis::Core::Hashable
|
|
@@ -1294,6 +1397,25 @@ module Google
|
|
|
1294
1397
|
end
|
|
1295
1398
|
end
|
|
1296
1399
|
|
|
1400
|
+
# Response message for `FetchCurrentWorkspaceBranch` method.
|
|
1401
|
+
class FetchCurrentWorkspaceBranchResponse
|
|
1402
|
+
include Google::Apis::Core::Hashable
|
|
1403
|
+
|
|
1404
|
+
# The name of the current branch for the workspace.
|
|
1405
|
+
# Corresponds to the JSON property `branchName`
|
|
1406
|
+
# @return [String]
|
|
1407
|
+
attr_accessor :branch_name
|
|
1408
|
+
|
|
1409
|
+
def initialize(**args)
|
|
1410
|
+
update!(**args)
|
|
1411
|
+
end
|
|
1412
|
+
|
|
1413
|
+
# Update properties of this object
|
|
1414
|
+
def update!(**args)
|
|
1415
|
+
@branch_name = args[:branch_name] if args.key?(:branch_name)
|
|
1416
|
+
end
|
|
1417
|
+
end
|
|
1418
|
+
|
|
1297
1419
|
# `FetchFileDiff` response message.
|
|
1298
1420
|
class FetchFileDiffResponse
|
|
1299
1421
|
include Google::Apis::Core::Hashable
|
|
@@ -1403,6 +1525,32 @@ module Google
|
|
|
1403
1525
|
end
|
|
1404
1526
|
end
|
|
1405
1527
|
|
|
1528
|
+
# Response message for `FetchWorkspaceBranches` method.
|
|
1529
|
+
class FetchWorkspaceBranchesResponse
|
|
1530
|
+
include Google::Apis::Core::Hashable
|
|
1531
|
+
|
|
1532
|
+
# The branches in the workspace.
|
|
1533
|
+
# Corresponds to the JSON property `branches`
|
|
1534
|
+
# @return [Array<Google::Apis::DataformV1beta1::BranchMetadata>]
|
|
1535
|
+
attr_accessor :branches
|
|
1536
|
+
|
|
1537
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
1538
|
+
# field is omitted, there are no subsequent pages.
|
|
1539
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1540
|
+
# @return [String]
|
|
1541
|
+
attr_accessor :next_page_token
|
|
1542
|
+
|
|
1543
|
+
def initialize(**args)
|
|
1544
|
+
update!(**args)
|
|
1545
|
+
end
|
|
1546
|
+
|
|
1547
|
+
# Update properties of this object
|
|
1548
|
+
def update!(**args)
|
|
1549
|
+
@branches = args[:branches] if args.key?(:branches)
|
|
1550
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1551
|
+
end
|
|
1552
|
+
end
|
|
1553
|
+
|
|
1406
1554
|
# Represents a single file operation to the repository.
|
|
1407
1555
|
class FileOperation
|
|
1408
1556
|
include Google::Apis::Core::Hashable
|
|
@@ -3966,6 +4114,47 @@ module Google
|
|
|
3966
4114
|
end
|
|
3967
4115
|
end
|
|
3968
4116
|
|
|
4117
|
+
# `SyncWorkspaceRefs` request message.
|
|
4118
|
+
class SyncWorkspaceRefsRequest
|
|
4119
|
+
include Google::Apis::Core::Hashable
|
|
4120
|
+
|
|
4121
|
+
# Optional. Can be used to deepen the commit history of shallow clones. Git
|
|
4122
|
+
# documentation: https://git-scm.com/docs/git-fetch#Documentation/git-fetch.txt--
|
|
4123
|
+
# -deependepth
|
|
4124
|
+
# Corresponds to the JSON property `deepen`
|
|
4125
|
+
# @return [Fixnum]
|
|
4126
|
+
attr_accessor :deepen
|
|
4127
|
+
|
|
4128
|
+
# Optional. The name of the branch in the Git remote to which the refs should be
|
|
4129
|
+
# fetched for. If left unset, all remote branches will be fetched.
|
|
4130
|
+
# Corresponds to the JSON property `remoteBranchName`
|
|
4131
|
+
# @return [String]
|
|
4132
|
+
attr_accessor :remote_branch_name
|
|
4133
|
+
|
|
4134
|
+
def initialize(**args)
|
|
4135
|
+
update!(**args)
|
|
4136
|
+
end
|
|
4137
|
+
|
|
4138
|
+
# Update properties of this object
|
|
4139
|
+
def update!(**args)
|
|
4140
|
+
@deepen = args[:deepen] if args.key?(:deepen)
|
|
4141
|
+
@remote_branch_name = args[:remote_branch_name] if args.key?(:remote_branch_name)
|
|
4142
|
+
end
|
|
4143
|
+
end
|
|
4144
|
+
|
|
4145
|
+
# `SyncWorkspaceRefs` response message.
|
|
4146
|
+
class SyncWorkspaceRefsResponse
|
|
4147
|
+
include Google::Apis::Core::Hashable
|
|
4148
|
+
|
|
4149
|
+
def initialize(**args)
|
|
4150
|
+
update!(**args)
|
|
4151
|
+
end
|
|
4152
|
+
|
|
4153
|
+
# Update properties of this object
|
|
4154
|
+
def update!(**args)
|
|
4155
|
+
end
|
|
4156
|
+
end
|
|
4157
|
+
|
|
3969
4158
|
# Represents a table update trigger configuration.
|
|
3970
4159
|
class TableUpdateTrigger
|
|
3971
4160
|
include Google::Apis::Core::Hashable
|
|
@@ -4563,6 +4752,15 @@ module Google
|
|
|
4563
4752
|
# @return [Google::Apis::DataformV1beta1::DataEncryptionState]
|
|
4564
4753
|
attr_accessor :data_encryption_state
|
|
4565
4754
|
|
|
4755
|
+
# Optional. Input only. Immutable. The maximum depth of the Git repository to
|
|
4756
|
+
# checkout for this workspace. If defined and greater than 0, the Git repository
|
|
4757
|
+
# will be created as a shallow clone with the given depth, otherwise a full
|
|
4758
|
+
# clone will be performed. This field is available only for GitHub, Gitlab and
|
|
4759
|
+
# 1p repositories with enabled branch management.
|
|
4760
|
+
# Corresponds to the JSON property `depth`
|
|
4761
|
+
# @return [Fixnum]
|
|
4762
|
+
attr_accessor :depth
|
|
4763
|
+
|
|
4566
4764
|
# Optional. If set to true, workspaces will not be moved if its linked
|
|
4567
4765
|
# Repository is moved. Instead, it will be deleted.
|
|
4568
4766
|
# Corresponds to the JSON property `disableMoves`
|
|
@@ -4570,6 +4768,13 @@ module Google
|
|
|
4570
4768
|
attr_accessor :disable_moves
|
|
4571
4769
|
alias_method :disable_moves?, :disable_moves
|
|
4572
4770
|
|
|
4771
|
+
# Immutable. Controls the enablement of branch checkout for the workspace. When
|
|
4772
|
+
# set to True, the workspace will be allowed to checkout branches.
|
|
4773
|
+
# Corresponds to the JSON property `enableBranchManagement`
|
|
4774
|
+
# @return [Boolean]
|
|
4775
|
+
attr_accessor :enable_branch_management
|
|
4776
|
+
alias_method :enable_branch_management?, :enable_branch_management
|
|
4777
|
+
|
|
4573
4778
|
# Output only. All the metadata information that is used internally to serve the
|
|
4574
4779
|
# resource. For example: timestamps, flags, status fields, etc. The format of
|
|
4575
4780
|
# this field is a JSON string.
|
|
@@ -4582,11 +4787,26 @@ module Google
|
|
|
4582
4787
|
# @return [String]
|
|
4583
4788
|
attr_accessor :name
|
|
4584
4789
|
|
|
4790
|
+
# Optional. Input only. Immutable. The name of the default upstream branch for
|
|
4791
|
+
# all pull/push operations in the remote repository for this workspace. If empty,
|
|
4792
|
+
# the HEAD branch from repository will be used.
|
|
4793
|
+
# Corresponds to the JSON property `originalBranch`
|
|
4794
|
+
# @return [String]
|
|
4795
|
+
attr_accessor :original_branch
|
|
4796
|
+
|
|
4585
4797
|
# Metadata used to identify if a resource is user scoped.
|
|
4586
4798
|
# Corresponds to the JSON property `privateResourceMetadata`
|
|
4587
4799
|
# @return [Google::Apis::DataformV1beta1::PrivateResourceMetadata]
|
|
4588
4800
|
attr_accessor :private_resource_metadata
|
|
4589
4801
|
|
|
4802
|
+
# Output only. If set to true, the workspace was created as a shallow clone.
|
|
4803
|
+
# Will be set to true if the depth field is set to a value greater than 0,
|
|
4804
|
+
# otherwise it will be set to false.
|
|
4805
|
+
# Corresponds to the JSON property `shallow`
|
|
4806
|
+
# @return [Boolean]
|
|
4807
|
+
attr_accessor :shallow
|
|
4808
|
+
alias_method :shallow?, :shallow
|
|
4809
|
+
|
|
4590
4810
|
def initialize(**args)
|
|
4591
4811
|
update!(**args)
|
|
4592
4812
|
end
|
|
@@ -4595,10 +4815,14 @@ module Google
|
|
|
4595
4815
|
def update!(**args)
|
|
4596
4816
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
4597
4817
|
@data_encryption_state = args[:data_encryption_state] if args.key?(:data_encryption_state)
|
|
4818
|
+
@depth = args[:depth] if args.key?(:depth)
|
|
4598
4819
|
@disable_moves = args[:disable_moves] if args.key?(:disable_moves)
|
|
4820
|
+
@enable_branch_management = args[:enable_branch_management] if args.key?(:enable_branch_management)
|
|
4599
4821
|
@internal_metadata = args[:internal_metadata] if args.key?(:internal_metadata)
|
|
4600
4822
|
@name = args[:name] if args.key?(:name)
|
|
4823
|
+
@original_branch = args[:original_branch] if args.key?(:original_branch)
|
|
4601
4824
|
@private_resource_metadata = args[:private_resource_metadata] if args.key?(:private_resource_metadata)
|
|
4825
|
+
@shallow = args[:shallow] if args.key?(:shallow)
|
|
4602
4826
|
end
|
|
4603
4827
|
end
|
|
4604
4828
|
|
|
@@ -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.62.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260819"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -70,6 +70,12 @@ module Google
|
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
|
71
71
|
end
|
|
72
72
|
|
|
73
|
+
class BranchMetadata
|
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
+
end
|
|
78
|
+
|
|
73
79
|
class CancelOperationRequest
|
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
81
|
|
|
@@ -88,6 +94,12 @@ module Google
|
|
|
88
94
|
include Google::Apis::Core::JsonObjectSupport
|
|
89
95
|
end
|
|
90
96
|
|
|
97
|
+
class CheckoutWorkspaceBranchRequest
|
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
+
end
|
|
102
|
+
|
|
91
103
|
class CodeCompilationConfig
|
|
92
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
105
|
|
|
@@ -196,6 +208,18 @@ module Google
|
|
|
196
208
|
include Google::Apis::Core::JsonObjectSupport
|
|
197
209
|
end
|
|
198
210
|
|
|
211
|
+
class DeleteBranchRequest
|
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
213
|
+
|
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
class DeleteBranchResponse
|
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
219
|
+
|
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
221
|
+
end
|
|
222
|
+
|
|
199
223
|
class DeleteFile
|
|
200
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
225
|
|
|
@@ -250,6 +274,12 @@ module Google
|
|
|
250
274
|
include Google::Apis::Core::JsonObjectSupport
|
|
251
275
|
end
|
|
252
276
|
|
|
277
|
+
class FetchCurrentWorkspaceBranchResponse
|
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
279
|
+
|
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
281
|
+
end
|
|
282
|
+
|
|
253
283
|
class FetchFileDiffResponse
|
|
254
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
255
285
|
|
|
@@ -280,6 +310,12 @@ module Google
|
|
|
280
310
|
include Google::Apis::Core::JsonObjectSupport
|
|
281
311
|
end
|
|
282
312
|
|
|
313
|
+
class FetchWorkspaceBranchesResponse
|
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
315
|
+
|
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
317
|
+
end
|
|
318
|
+
|
|
283
319
|
class FileOperation
|
|
284
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
285
321
|
|
|
@@ -742,6 +778,18 @@ module Google
|
|
|
742
778
|
include Google::Apis::Core::JsonObjectSupport
|
|
743
779
|
end
|
|
744
780
|
|
|
781
|
+
class SyncWorkspaceRefsRequest
|
|
782
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
783
|
+
|
|
784
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
785
|
+
end
|
|
786
|
+
|
|
787
|
+
class SyncWorkspaceRefsResponse
|
|
788
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
789
|
+
|
|
790
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
791
|
+
end
|
|
792
|
+
|
|
745
793
|
class TableUpdateTrigger
|
|
746
794
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
747
795
|
|
|
@@ -936,6 +984,15 @@ module Google
|
|
|
936
984
|
end
|
|
937
985
|
end
|
|
938
986
|
|
|
987
|
+
class BranchMetadata
|
|
988
|
+
# @private
|
|
989
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
990
|
+
property :branch_name, as: 'branchName'
|
|
991
|
+
property :last_commit, as: 'lastCommit', class: Google::Apis::DataformV1beta1::CommitLogEntry, decorator: Google::Apis::DataformV1beta1::CommitLogEntry::Representation
|
|
992
|
+
|
|
993
|
+
end
|
|
994
|
+
end
|
|
995
|
+
|
|
939
996
|
class CancelOperationRequest
|
|
940
997
|
# @private
|
|
941
998
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -954,6 +1011,15 @@ module Google
|
|
|
954
1011
|
end
|
|
955
1012
|
end
|
|
956
1013
|
|
|
1014
|
+
class CheckoutWorkspaceBranchRequest
|
|
1015
|
+
# @private
|
|
1016
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1017
|
+
property :branch, as: 'branch'
|
|
1018
|
+
property :create_if_not_exists, as: 'createIfNotExists'
|
|
1019
|
+
property :source_branch, as: 'sourceBranch'
|
|
1020
|
+
end
|
|
1021
|
+
end
|
|
1022
|
+
|
|
957
1023
|
class CodeCompilationConfig
|
|
958
1024
|
# @private
|
|
959
1025
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1158,6 +1224,20 @@ module Google
|
|
|
1158
1224
|
end
|
|
1159
1225
|
end
|
|
1160
1226
|
|
|
1227
|
+
class DeleteBranchRequest
|
|
1228
|
+
# @private
|
|
1229
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1230
|
+
property :branch, as: 'branch'
|
|
1231
|
+
property :force, as: 'force'
|
|
1232
|
+
end
|
|
1233
|
+
end
|
|
1234
|
+
|
|
1235
|
+
class DeleteBranchResponse
|
|
1236
|
+
# @private
|
|
1237
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1238
|
+
end
|
|
1239
|
+
end
|
|
1240
|
+
|
|
1161
1241
|
class DeleteFile
|
|
1162
1242
|
# @private
|
|
1163
1243
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1227,6 +1307,13 @@ module Google
|
|
|
1227
1307
|
end
|
|
1228
1308
|
end
|
|
1229
1309
|
|
|
1310
|
+
class FetchCurrentWorkspaceBranchResponse
|
|
1311
|
+
# @private
|
|
1312
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1313
|
+
property :branch_name, as: 'branchName'
|
|
1314
|
+
end
|
|
1315
|
+
end
|
|
1316
|
+
|
|
1230
1317
|
class FetchFileDiffResponse
|
|
1231
1318
|
# @private
|
|
1232
1319
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1266,6 +1353,15 @@ module Google
|
|
|
1266
1353
|
end
|
|
1267
1354
|
end
|
|
1268
1355
|
|
|
1356
|
+
class FetchWorkspaceBranchesResponse
|
|
1357
|
+
# @private
|
|
1358
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1359
|
+
collection :branches, as: 'branches', class: Google::Apis::DataformV1beta1::BranchMetadata, decorator: Google::Apis::DataformV1beta1::BranchMetadata::Representation
|
|
1360
|
+
|
|
1361
|
+
property :next_page_token, as: 'nextPageToken'
|
|
1362
|
+
end
|
|
1363
|
+
end
|
|
1364
|
+
|
|
1269
1365
|
class FileOperation
|
|
1270
1366
|
# @private
|
|
1271
1367
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1993,6 +2089,20 @@ module Google
|
|
|
1993
2089
|
end
|
|
1994
2090
|
end
|
|
1995
2091
|
|
|
2092
|
+
class SyncWorkspaceRefsRequest
|
|
2093
|
+
# @private
|
|
2094
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2095
|
+
property :deepen, as: 'deepen'
|
|
2096
|
+
property :remote_branch_name, as: 'remoteBranchName'
|
|
2097
|
+
end
|
|
2098
|
+
end
|
|
2099
|
+
|
|
2100
|
+
class SyncWorkspaceRefsResponse
|
|
2101
|
+
# @private
|
|
2102
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2103
|
+
end
|
|
2104
|
+
end
|
|
2105
|
+
|
|
1996
2106
|
class TableUpdateTrigger
|
|
1997
2107
|
# @private
|
|
1998
2108
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2163,11 +2273,15 @@ module Google
|
|
|
2163
2273
|
property :create_time, as: 'createTime'
|
|
2164
2274
|
property :data_encryption_state, as: 'dataEncryptionState', class: Google::Apis::DataformV1beta1::DataEncryptionState, decorator: Google::Apis::DataformV1beta1::DataEncryptionState::Representation
|
|
2165
2275
|
|
|
2276
|
+
property :depth, as: 'depth'
|
|
2166
2277
|
property :disable_moves, as: 'disableMoves'
|
|
2278
|
+
property :enable_branch_management, as: 'enableBranchManagement'
|
|
2167
2279
|
property :internal_metadata, as: 'internalMetadata'
|
|
2168
2280
|
property :name, as: 'name'
|
|
2281
|
+
property :original_branch, as: 'originalBranch'
|
|
2169
2282
|
property :private_resource_metadata, as: 'privateResourceMetadata', class: Google::Apis::DataformV1beta1::PrivateResourceMetadata, decorator: Google::Apis::DataformV1beta1::PrivateResourceMetadata::Representation
|
|
2170
2283
|
|
|
2284
|
+
property :shallow, as: 'shallow'
|
|
2171
2285
|
end
|
|
2172
2286
|
end
|
|
2173
2287
|
|
|
@@ -2139,6 +2139,40 @@ module Google
|
|
|
2139
2139
|
execute_or_queue_command(command, &block)
|
|
2140
2140
|
end
|
|
2141
2141
|
|
|
2142
|
+
# Checkout a branch in a Workspace.
|
|
2143
|
+
# @param [String] name
|
|
2144
|
+
# Required. The workspace resource name. Format: projects/`project`/locations/`
|
|
2145
|
+
# location`/repositories/`repository`/workspaces/`workspace`
|
|
2146
|
+
# @param [Google::Apis::DataformV1beta1::CheckoutWorkspaceBranchRequest] checkout_workspace_branch_request_object
|
|
2147
|
+
# @param [String] fields
|
|
2148
|
+
# Selector specifying which fields to include in a partial response.
|
|
2149
|
+
# @param [String] quota_user
|
|
2150
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2151
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2152
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2153
|
+
# Request-specific options
|
|
2154
|
+
#
|
|
2155
|
+
# @yield [result, err] Result & error if block supplied
|
|
2156
|
+
# @yieldparam result [Google::Apis::DataformV1beta1::Empty] parsed result object
|
|
2157
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2158
|
+
#
|
|
2159
|
+
# @return [Google::Apis::DataformV1beta1::Empty]
|
|
2160
|
+
#
|
|
2161
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2162
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2163
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2164
|
+
def checkout_workspace_branch(name, checkout_workspace_branch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2165
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:checkout', options)
|
|
2166
|
+
command.request_representation = Google::Apis::DataformV1beta1::CheckoutWorkspaceBranchRequest::Representation
|
|
2167
|
+
command.request_object = checkout_workspace_branch_request_object
|
|
2168
|
+
command.response_representation = Google::Apis::DataformV1beta1::Empty::Representation
|
|
2169
|
+
command.response_class = Google::Apis::DataformV1beta1::Empty
|
|
2170
|
+
command.params['name'] = name unless name.nil?
|
|
2171
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2172
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2173
|
+
execute_or_queue_command(command, &block)
|
|
2174
|
+
end
|
|
2175
|
+
|
|
2142
2176
|
# Applies a Git commit for uncommitted files in a Workspace.
|
|
2143
2177
|
# @param [String] name
|
|
2144
2178
|
# Required. The workspace's name.
|
|
@@ -2240,6 +2274,116 @@ module Google
|
|
|
2240
2274
|
execute_or_queue_command(command, &block)
|
|
2241
2275
|
end
|
|
2242
2276
|
|
|
2277
|
+
# Deletes a branch in a Workspace.
|
|
2278
|
+
# @param [String] name
|
|
2279
|
+
# Required. The workspace resource name. Format: projects/`project`/locations/`
|
|
2280
|
+
# location`/repositories/`repository`/workspaces/`workspace`
|
|
2281
|
+
# @param [Google::Apis::DataformV1beta1::DeleteBranchRequest] delete_branch_request_object
|
|
2282
|
+
# @param [String] fields
|
|
2283
|
+
# Selector specifying which fields to include in a partial response.
|
|
2284
|
+
# @param [String] quota_user
|
|
2285
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2286
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2287
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2288
|
+
# Request-specific options
|
|
2289
|
+
#
|
|
2290
|
+
# @yield [result, err] Result & error if block supplied
|
|
2291
|
+
# @yieldparam result [Google::Apis::DataformV1beta1::DeleteBranchResponse] parsed result object
|
|
2292
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2293
|
+
#
|
|
2294
|
+
# @return [Google::Apis::DataformV1beta1::DeleteBranchResponse]
|
|
2295
|
+
#
|
|
2296
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2297
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2298
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2299
|
+
def delete_workspace_branch(name, delete_branch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2300
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:deleteBranch', options)
|
|
2301
|
+
command.request_representation = Google::Apis::DataformV1beta1::DeleteBranchRequest::Representation
|
|
2302
|
+
command.request_object = delete_branch_request_object
|
|
2303
|
+
command.response_representation = Google::Apis::DataformV1beta1::DeleteBranchResponse::Representation
|
|
2304
|
+
command.response_class = Google::Apis::DataformV1beta1::DeleteBranchResponse
|
|
2305
|
+
command.params['name'] = name unless name.nil?
|
|
2306
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2307
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2308
|
+
execute_or_queue_command(command, &block)
|
|
2309
|
+
end
|
|
2310
|
+
|
|
2311
|
+
# Fetches branches in a Workspace.
|
|
2312
|
+
# @param [String] name
|
|
2313
|
+
# Required. The workspace resource name. Format: projects/`project`/locations/`
|
|
2314
|
+
# location`/repositories/`repository`/workspaces/`workspace`
|
|
2315
|
+
# @param [String] filter
|
|
2316
|
+
# Optional. Filter for the returned list.
|
|
2317
|
+
# @param [Fixnum] page_size
|
|
2318
|
+
# Optional. Maximum number of branches to return. The server may return fewer
|
|
2319
|
+
# items than requested. If unspecified, the server will pick an appropriate
|
|
2320
|
+
# default. The maximum value is 1000; values above 1000 will be coerced to 1000.
|
|
2321
|
+
# @param [String] page_token
|
|
2322
|
+
# Optional. Page token received from a previous `FetchWorkspaceBranches` call.
|
|
2323
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
|
2324
|
+
# parameters provided to `FetchWorkspaceBranches`, with the exception of `
|
|
2325
|
+
# page_size`, must match the call that provided the page token.
|
|
2326
|
+
# @param [String] fields
|
|
2327
|
+
# Selector specifying which fields to include in a partial response.
|
|
2328
|
+
# @param [String] quota_user
|
|
2329
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2330
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2331
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2332
|
+
# Request-specific options
|
|
2333
|
+
#
|
|
2334
|
+
# @yield [result, err] Result & error if block supplied
|
|
2335
|
+
# @yieldparam result [Google::Apis::DataformV1beta1::FetchWorkspaceBranchesResponse] parsed result object
|
|
2336
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2337
|
+
#
|
|
2338
|
+
# @return [Google::Apis::DataformV1beta1::FetchWorkspaceBranchesResponse]
|
|
2339
|
+
#
|
|
2340
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2341
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2342
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2343
|
+
def fetch_project_location_repository_workspace_branches(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2344
|
+
command = make_simple_command(:get, 'v1beta1/{+name}:fetchBranches', options)
|
|
2345
|
+
command.response_representation = Google::Apis::DataformV1beta1::FetchWorkspaceBranchesResponse::Representation
|
|
2346
|
+
command.response_class = Google::Apis::DataformV1beta1::FetchWorkspaceBranchesResponse
|
|
2347
|
+
command.params['name'] = name unless name.nil?
|
|
2348
|
+
command.query['filter'] = filter unless filter.nil?
|
|
2349
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2350
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2351
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2352
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2353
|
+
execute_or_queue_command(command, &block)
|
|
2354
|
+
end
|
|
2355
|
+
|
|
2356
|
+
# Fetches the current branch of a Workspace.
|
|
2357
|
+
# @param [String] name
|
|
2358
|
+
# Required. The workspace resource name. Format: projects/`project`/locations/`
|
|
2359
|
+
# location`/repositories/`repository`/workspaces/`workspace`
|
|
2360
|
+
# @param [String] fields
|
|
2361
|
+
# Selector specifying which fields to include in a partial response.
|
|
2362
|
+
# @param [String] quota_user
|
|
2363
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2364
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2365
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2366
|
+
# Request-specific options
|
|
2367
|
+
#
|
|
2368
|
+
# @yield [result, err] Result & error if block supplied
|
|
2369
|
+
# @yieldparam result [Google::Apis::DataformV1beta1::FetchCurrentWorkspaceBranchResponse] parsed result object
|
|
2370
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2371
|
+
#
|
|
2372
|
+
# @return [Google::Apis::DataformV1beta1::FetchCurrentWorkspaceBranchResponse]
|
|
2373
|
+
#
|
|
2374
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2375
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2376
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2377
|
+
def fetch_project_location_repository_workspace_current_branch(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2378
|
+
command = make_simple_command(:get, 'v1beta1/{+name}:fetchCurrentBranch', options)
|
|
2379
|
+
command.response_representation = Google::Apis::DataformV1beta1::FetchCurrentWorkspaceBranchResponse::Representation
|
|
2380
|
+
command.response_class = Google::Apis::DataformV1beta1::FetchCurrentWorkspaceBranchResponse
|
|
2381
|
+
command.params['name'] = name unless name.nil?
|
|
2382
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2383
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2384
|
+
execute_or_queue_command(command, &block)
|
|
2385
|
+
end
|
|
2386
|
+
|
|
2243
2387
|
# Fetches Git diff for an uncommitted file in a Workspace.
|
|
2244
2388
|
# @param [String] workspace
|
|
2245
2389
|
# Required. The workspace's name.
|
|
@@ -2933,6 +3077,40 @@ module Google
|
|
|
2933
3077
|
execute_or_queue_command(command, &block)
|
|
2934
3078
|
end
|
|
2935
3079
|
|
|
3080
|
+
# Syncs the refs of a Workspace.
|
|
3081
|
+
# @param [String] name
|
|
3082
|
+
# Required. The workspace resource name. Format: projects/`project`/locations/`
|
|
3083
|
+
# location`/repositories/`repository`/workspaces/`workspace`
|
|
3084
|
+
# @param [Google::Apis::DataformV1beta1::SyncWorkspaceRefsRequest] sync_workspace_refs_request_object
|
|
3085
|
+
# @param [String] fields
|
|
3086
|
+
# Selector specifying which fields to include in a partial response.
|
|
3087
|
+
# @param [String] quota_user
|
|
3088
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3089
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3090
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3091
|
+
# Request-specific options
|
|
3092
|
+
#
|
|
3093
|
+
# @yield [result, err] Result & error if block supplied
|
|
3094
|
+
# @yieldparam result [Google::Apis::DataformV1beta1::SyncWorkspaceRefsResponse] parsed result object
|
|
3095
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3096
|
+
#
|
|
3097
|
+
# @return [Google::Apis::DataformV1beta1::SyncWorkspaceRefsResponse]
|
|
3098
|
+
#
|
|
3099
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3100
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3101
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3102
|
+
def sync_workspace_refs(name, sync_workspace_refs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3103
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:syncWorkspaceRefs', options)
|
|
3104
|
+
command.request_representation = Google::Apis::DataformV1beta1::SyncWorkspaceRefsRequest::Representation
|
|
3105
|
+
command.request_object = sync_workspace_refs_request_object
|
|
3106
|
+
command.response_representation = Google::Apis::DataformV1beta1::SyncWorkspaceRefsResponse::Representation
|
|
3107
|
+
command.response_class = Google::Apis::DataformV1beta1::SyncWorkspaceRefsResponse
|
|
3108
|
+
command.params['name'] = name unless name.nil?
|
|
3109
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3110
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3111
|
+
execute_or_queue_command(command, &block)
|
|
3112
|
+
end
|
|
3113
|
+
|
|
2936
3114
|
# Returns permissions that a caller has on the specified resource. If the
|
|
2937
3115
|
# resource does not exist, this will return an empty set of permissions, not a `
|
|
2938
3116
|
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.62.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataform_v1beta1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dataform_v1beta1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dataform_v1beta1/v0.62.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataform_v1beta1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|