google-apis-dataform_v1 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: fde513acaad0468f8c6f6b7a7cd0deb8b64247da461fdab00b0b4bf5d0ab26d6
4
- data.tar.gz: '0381939bfc342d2bae64d9d0472e186b9cefb073cb9b61dc395280d71f888d20'
3
+ metadata.gz: bccb14386a176d76f59efca50b26dc946841253a65438688de5d992154e7021c
4
+ data.tar.gz: 33e9da2d046d4670de5ae3de21e210bfa2a3827b36cb241dbb8015b5e04c6788
5
5
  SHA512:
6
- metadata.gz: a00c931b807d2b0070ae0ebbd4ca16d3db6479c1b0ebce7e804555e72c27de431461cc51dc1197bcbc78541e54589a8687a23043704689fd88380f6fe5c03539
7
- data.tar.gz: 15a3d114aee59cea2b02caddb328fe47ad1f0ccf971d3bd371191185868a10f1701e6c2031c6297a94a1c422dd663b92aa17643118c560ca7fd31dcceab6af6e
6
+ metadata.gz: a9051cd8a2d9e39a9f32e58e907912a52ef6978b9f7a0497aef9ed4be573efeece83991d38cbb45704545f8e69ee4ced1a65d10d7003565ddbfd7c99c2c388cf
7
+ data.tar.gz: 6d9e3e174e889262717cee379d03d299e88aa0c0f605c2ab4e93c7cc6a4c4378e8e7addac356e73cdcd900817d6d33700b888829b32f956ff9b0b31d8775703d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dataform_v1
2
2
 
3
+ ### v0.6.0 (2026-03-22)
4
+
5
+ * Regenerated from discovery document revision 20260317
6
+
3
7
  ### v0.5.0 (2026-02-22)
4
8
 
5
9
  * Regenerated from discovery document revision 20260217
@@ -1075,6 +1075,11 @@ module Google
1075
1075
  # @return [String]
1076
1076
  attr_accessor :file
1077
1077
 
1078
+ # Represents metadata for a single entry in a filesystem.
1079
+ # Corresponds to the JSON property `metadata`
1080
+ # @return [Google::Apis::DataformV1::FilesystemEntryMetadata]
1081
+ attr_accessor :metadata
1082
+
1078
1083
  def initialize(**args)
1079
1084
  update!(**args)
1080
1085
  end
@@ -1083,6 +1088,7 @@ module Google
1083
1088
  def update!(**args)
1084
1089
  @directory = args[:directory] if args.key?(:directory)
1085
1090
  @file = args[:file] if args.key?(:file)
1091
+ @metadata = args[:metadata] if args.key?(:metadata)
1086
1092
  end
1087
1093
  end
1088
1094
 
@@ -1354,6 +1360,32 @@ module Google
1354
1360
  end
1355
1361
  end
1356
1362
 
1363
+ # Represents metadata for a single entry in a filesystem.
1364
+ class FilesystemEntryMetadata
1365
+ include Google::Apis::Core::Hashable
1366
+
1367
+ # Output only. Provides the size of the entry in bytes. For directories, this
1368
+ # will be 0.
1369
+ # Corresponds to the JSON property `sizeBytes`
1370
+ # @return [Fixnum]
1371
+ attr_accessor :size_bytes
1372
+
1373
+ # Output only. Represents the time of the last modification of the entry.
1374
+ # Corresponds to the JSON property `updateTime`
1375
+ # @return [String]
1376
+ attr_accessor :update_time
1377
+
1378
+ def initialize(**args)
1379
+ update!(**args)
1380
+ end
1381
+
1382
+ # Update properties of this object
1383
+ def update!(**args)
1384
+ @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
1385
+ @update_time = args[:update_time] if args.key?(:update_time)
1386
+ end
1387
+ end
1388
+
1357
1389
  # Controls Git remote configuration for a repository.
1358
1390
  class GitRemoteSettings
1359
1391
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DataformV1
18
18
  # Version of the google-apis-dataform_v1 gem
19
- GEM_VERSION = "0.5.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.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260217"
25
+ REVISION = "20260317"
26
26
  end
27
27
  end
28
28
  end
@@ -274,6 +274,12 @@ module Google
274
274
  include Google::Apis::Core::JsonObjectSupport
275
275
  end
276
276
 
277
+ class FilesystemEntryMetadata
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
277
283
  class GitRemoteSettings
278
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
285
 
@@ -1027,6 +1033,8 @@ module Google
1027
1033
  class Representation < Google::Apis::Core::JsonRepresentation
1028
1034
  property :directory, as: 'directory'
1029
1035
  property :file, as: 'file'
1036
+ property :metadata, as: 'metadata', class: Google::Apis::DataformV1::FilesystemEntryMetadata, decorator: Google::Apis::DataformV1::FilesystemEntryMetadata::Representation
1037
+
1030
1038
  end
1031
1039
  end
1032
1040
 
@@ -1118,6 +1126,14 @@ module Google
1118
1126
  end
1119
1127
  end
1120
1128
 
1129
+ class FilesystemEntryMetadata
1130
+ # @private
1131
+ class Representation < Google::Apis::Core::JsonRepresentation
1132
+ property :size_bytes, :numeric_string => true, as: 'sizeBytes'
1133
+ property :update_time, as: 'updateTime'
1134
+ end
1135
+ end
1136
+
1121
1137
  class GitRemoteSettings
1122
1138
  # @private
1123
1139
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2294,6 +2294,11 @@ module Google
2294
2294
  # @param [String] path
2295
2295
  # Optional. The directory's full path including directory name, relative to the
2296
2296
  # workspace root. If left unset, the workspace root is used.
2297
+ # @param [String] view
2298
+ # Optional. Specifies the metadata to return for each directory entry. If
2299
+ # unspecified, the default is `DIRECTORY_CONTENTS_VIEW_BASIC`. Currently the `
2300
+ # DIRECTORY_CONTENTS_VIEW_METADATA` view is not supported by CMEK-protected
2301
+ # workspaces.
2297
2302
  # @param [String] fields
2298
2303
  # Selector specifying which fields to include in a partial response.
2299
2304
  # @param [String] quota_user
@@ -2311,7 +2316,7 @@ module Google
2311
2316
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2312
2317
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2313
2318
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2314
- def query_project_location_repository_workspace_directory_contents(workspace, page_size: nil, page_token: nil, path: nil, fields: nil, quota_user: nil, options: nil, &block)
2319
+ def query_project_location_repository_workspace_directory_contents(workspace, page_size: nil, page_token: nil, path: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
2315
2320
  command = make_simple_command(:get, 'v1/{+workspace}:queryDirectoryContents', options)
2316
2321
  command.response_representation = Google::Apis::DataformV1::QueryDirectoryContentsResponse::Representation
2317
2322
  command.response_class = Google::Apis::DataformV1::QueryDirectoryContentsResponse
@@ -2319,6 +2324,7 @@ module Google
2319
2324
  command.query['pageSize'] = page_size unless page_size.nil?
2320
2325
  command.query['pageToken'] = page_token unless page_token.nil?
2321
2326
  command.query['path'] = path unless path.nil?
2327
+ command.query['view'] = view unless view.nil?
2322
2328
  command.query['fields'] = fields unless fields.nil?
2323
2329
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2324
2330
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dataform_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dataform_v1/v0.5.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataform_v1/v0.6.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataform_v1
62
62
  rdoc_options: []
63
63
  require_paths: