google-apis-dataform_v1beta1 0.32.0 → 0.34.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: bb40e378e9f61279bea776d1c7ce11e4ac40e3707ef5ef3c8dfc8bc96cebbe1b
4
- data.tar.gz: 4c406beb10598119fe97f4ead5026e1bf92bd46211e0d53228caec2e6e84b781
3
+ metadata.gz: ebf9d9df60db4ec84d1453681089dab099a7a38b2a65964d990cc20f0d70d7fb
4
+ data.tar.gz: 8a87ab9b53fe69ad01051b540146b71ec090f9a598a3438bc82447023ceb66d2
5
5
  SHA512:
6
- metadata.gz: 57ee8515e4896f2456ba2509491a3223e54b6ef8a934af67bfad958ba83267eec5ef7eee6d2a15f2e5ecc57fbd5fa7f2d4655d5ab6c0b7327e5307d5189252be
7
- data.tar.gz: a190668727f27130a95e9999bfb44fb610028825e5edc01410b54da6530d5078d3bda0e967a9298e6328c74e1ce9f2972d9b2b2979da7595d623149a01f7baa3
6
+ metadata.gz: fc7a9f2c9fac460bdafe93ca8d46ffef6811274e99402a02a84556413d806795febfa848d16a62d081e8a8fb9b3173c1b87d28011d28aca16768b48094d43626
7
+ data.tar.gz: 7470d92b72d87c5762a7065239d8c297c060056392d6d3bdefb855dd49c4c029b3f6ab0570d9a01cd87afa6abd6c417fa855c477ae39442d392b22fd0f444e58
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-dataform_v1beta1
2
2
 
3
+ ### v0.34.0 (2024-11-03)
4
+
5
+ * Regenerated from discovery document revision 20241020
6
+
7
+ ### v0.33.0 (2024-09-01)
8
+
9
+ * Regenerated from discovery document revision 20240824
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.32.0 (2024-07-25)
4
13
 
5
14
  * Regenerated from discovery document revision 20240629
@@ -691,6 +691,32 @@ module Google
691
691
  end
692
692
  end
693
693
 
694
+ # Config for all repositories in a given project and location.
695
+ class Config
696
+ include Google::Apis::Core::Hashable
697
+
698
+ # Optional. The default KMS key that is used if no encryption key is provided
699
+ # when a repository is created.
700
+ # Corresponds to the JSON property `defaultKmsKeyName`
701
+ # @return [String]
702
+ attr_accessor :default_kms_key_name
703
+
704
+ # Identifier. The config name.
705
+ # Corresponds to the JSON property `name`
706
+ # @return [String]
707
+ attr_accessor :name
708
+
709
+ def initialize(**args)
710
+ update!(**args)
711
+ end
712
+
713
+ # Update properties of this object
714
+ def update!(**args)
715
+ @default_kms_key_name = args[:default_kms_key_name] if args.key?(:default_kms_key_name)
716
+ @name = args[:name] if args.key?(:name)
717
+ end
718
+ end
719
+
694
720
  # Describes encryption state of a resource.
695
721
  class DataEncryptionState
696
722
  include Google::Apis::Core::Hashable
@@ -2241,8 +2267,8 @@ module Google
2241
2267
  attr_accessor :name
2242
2268
 
2243
2269
  # Output only. Records of the 10 most recent scheduled release attempts, ordered
2244
- # in in descending order of `release_time`. Updated whenever automatic creation
2245
- # of a compilation result is triggered by cron_schedule.
2270
+ # in descending order of `release_time`. Updated whenever automatic creation of
2271
+ # a compilation result is triggered by cron_schedule.
2246
2272
  # Corresponds to the JSON property `recentScheduledReleaseRecords`
2247
2273
  # @return [Array<Google::Apis::DataformV1beta1::ScheduledReleaseRecord>]
2248
2274
  attr_accessor :recent_scheduled_release_records
@@ -2349,8 +2375,8 @@ module Google
2349
2375
  # Optional. The reference to a KMS encryption key. If provided, it will be used
2350
2376
  # to encrypt user data in the repository and all child resources. It is not
2351
2377
  # possible to add or update the encryption key after the repository is created.
2352
- # Example: `projects/[kms_project_id]/locations/[region]/keyRings/[key_region]/
2353
- # cryptoKeys/[key]`
2378
+ # Example: `projects/`kms_project`/locations/`location`/keyRings/`key_location`/
2379
+ # cryptoKeys/`key``
2354
2380
  # Corresponds to the JSON property `kmsKeyName`
2355
2381
  # @return [String]
2356
2382
  attr_accessor :kms_key_name
@@ -2810,7 +2836,7 @@ module Google
2810
2836
  attr_accessor :name
2811
2837
 
2812
2838
  # Output only. Records of the 10 most recent scheduled execution attempts,
2813
- # ordered in in descending order of `execution_time`. Updated whenever automatic
2839
+ # ordered in descending order of `execution_time`. Updated whenever automatic
2814
2840
  # creation of a workflow invocation is triggered by cron_schedule.
2815
2841
  # Corresponds to the JSON property `recentScheduledExecutionRecords`
2816
2842
  # @return [Array<Google::Apis::DataformV1beta1::ScheduledExecutionRecord>]
@@ -2985,6 +3011,11 @@ module Google
2985
3011
  class Workspace
2986
3012
  include Google::Apis::Core::Hashable
2987
3013
 
3014
+ # Output only. The timestamp of when the workspace was created.
3015
+ # Corresponds to the JSON property `createTime`
3016
+ # @return [String]
3017
+ attr_accessor :create_time
3018
+
2988
3019
  # Describes encryption state of a resource.
2989
3020
  # Corresponds to the JSON property `dataEncryptionState`
2990
3021
  # @return [Google::Apis::DataformV1beta1::DataEncryptionState]
@@ -3001,6 +3032,7 @@ module Google
3001
3032
 
3002
3033
  # Update properties of this object
3003
3034
  def update!(**args)
3035
+ @create_time = args[:create_time] if args.key?(:create_time)
3004
3036
  @data_encryption_state = args[:data_encryption_state] if args.key?(:data_encryption_state)
3005
3037
  @name = args[:name] if args.key?(:name)
3006
3038
  end
@@ -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.32.0"
19
+ GEM_VERSION = "0.34.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240629"
25
+ REVISION = "20241020"
26
26
  end
27
27
  end
28
28
  end
@@ -118,6 +118,12 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
+ class Config
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
121
127
  class DataEncryptionState
122
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
129
 
@@ -740,6 +746,14 @@ module Google
740
746
  end
741
747
  end
742
748
 
749
+ class Config
750
+ # @private
751
+ class Representation < Google::Apis::Core::JsonRepresentation
752
+ property :default_kms_key_name, as: 'defaultKmsKeyName'
753
+ property :name, as: 'name'
754
+ end
755
+ end
756
+
743
757
  class DataEncryptionState
744
758
  # @private
745
759
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1395,6 +1409,7 @@ module Google
1395
1409
  class Workspace
1396
1410
  # @private
1397
1411
  class Representation < Google::Apis::Core::JsonRepresentation
1412
+ property :create_time, as: 'createTime'
1398
1413
  property :data_encryption_state, as: 'dataEncryptionState', class: Google::Apis::DataformV1beta1::DataEncryptionState, decorator: Google::Apis::DataformV1beta1::DataEncryptionState::Representation
1399
1414
 
1400
1415
  property :name, as: 'name'
@@ -82,6 +82,36 @@ module Google
82
82
  execute_or_queue_command(command, &block)
83
83
  end
84
84
 
85
+ # Get default config for a given project and location.
86
+ # @param [String] name
87
+ # Required. The config name.
88
+ # @param [String] fields
89
+ # Selector specifying which fields to include in a partial response.
90
+ # @param [String] quota_user
91
+ # Available to use for quota purposes for server-side applications. Can be any
92
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
93
+ # @param [Google::Apis::RequestOptions] options
94
+ # Request-specific options
95
+ #
96
+ # @yield [result, err] Result & error if block supplied
97
+ # @yieldparam result [Google::Apis::DataformV1beta1::Config] parsed result object
98
+ # @yieldparam err [StandardError] error object if request failed
99
+ #
100
+ # @return [Google::Apis::DataformV1beta1::Config]
101
+ #
102
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
103
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
104
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
105
+ def get_project_location_config(name, fields: nil, quota_user: nil, options: nil, &block)
106
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
107
+ command.response_representation = Google::Apis::DataformV1beta1::Config::Representation
108
+ command.response_class = Google::Apis::DataformV1beta1::Config
109
+ command.params['name'] = name unless name.nil?
110
+ command.query['fields'] = fields unless fields.nil?
111
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
112
+ execute_or_queue_command(command, &block)
113
+ end
114
+
85
115
  # Lists information about the supported locations for this service.
86
116
  # @param [String] name
87
117
  # The resource that owns the locations collection, if applicable.
@@ -125,6 +155,42 @@ module Google
125
155
  execute_or_queue_command(command, &block)
126
156
  end
127
157
 
158
+ # Update default config for a given project and location.
159
+ # @param [String] name
160
+ # Identifier. The config name.
161
+ # @param [Google::Apis::DataformV1beta1::Config] config_object
162
+ # @param [String] update_mask
163
+ # Optional. Specifies the fields to be updated in the config.
164
+ # @param [String] fields
165
+ # Selector specifying which fields to include in a partial response.
166
+ # @param [String] quota_user
167
+ # Available to use for quota purposes for server-side applications. Can be any
168
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
169
+ # @param [Google::Apis::RequestOptions] options
170
+ # Request-specific options
171
+ #
172
+ # @yield [result, err] Result & error if block supplied
173
+ # @yieldparam result [Google::Apis::DataformV1beta1::Config] parsed result object
174
+ # @yieldparam err [StandardError] error object if request failed
175
+ #
176
+ # @return [Google::Apis::DataformV1beta1::Config]
177
+ #
178
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
179
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
180
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
181
+ def update_project_location_config(name, config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
182
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
183
+ command.request_representation = Google::Apis::DataformV1beta1::Config::Representation
184
+ command.request_object = config_object
185
+ command.response_representation = Google::Apis::DataformV1beta1::Config::Representation
186
+ command.response_class = Google::Apis::DataformV1beta1::Config
187
+ command.params['name'] = name unless name.nil?
188
+ command.query['updateMask'] = update_mask unless update_mask.nil?
189
+ command.query['fields'] = fields unless fields.nil?
190
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
191
+ execute_or_queue_command(command, &block)
192
+ end
193
+
128
194
  # Gets the access control policy for a resource. Returns an empty policy if the
129
195
  # resource exists and does not have a policy set.
130
196
  # @param [String] resource
@@ -394,8 +460,8 @@ module Google
394
460
  # @param [String] page_token
395
461
  # Optional. Page token received from a previous `FetchRepositoryHistory` call.
396
462
  # Provide this to retrieve the subsequent page. When paginating, all other
397
- # parameters provided to `FetchRepositoryHistory` must match the call that
398
- # provided the page token.
463
+ # parameters provided to `FetchRepositoryHistory`, with the exception of `
464
+ # page_size`, must match the call that provided the page token.
399
465
  # @param [String] fields
400
466
  # Selector specifying which fields to include in a partial response.
401
467
  # @param [String] quota_user
@@ -547,8 +613,8 @@ module Google
547
613
  # @param [String] page_token
548
614
  # Optional. Page token received from a previous `ListRepositories` call. Provide
549
615
  # this to retrieve the subsequent page. When paginating, all other parameters
550
- # provided to `ListRepositories` must match the call that provided the page
551
- # token.
616
+ # provided to `ListRepositories`, with the exception of `page_size`, must match
617
+ # the call that provided the page token.
552
618
  # @param [String] fields
553
619
  # Selector specifying which fields to include in a partial response.
554
620
  # @param [String] quota_user
@@ -631,8 +697,8 @@ module Google
631
697
  # Optional. Page token received from a previous `
632
698
  # QueryRepositoryDirectoryContents` call. Provide this to retrieve the
633
699
  # subsequent page. When paginating, all other parameters provided to `
634
- # QueryRepositoryDirectoryContents` must match the call that provided the page
635
- # token.
700
+ # QueryRepositoryDirectoryContents`, with the exception of `page_size`, must
701
+ # match the call that provided the page token.
636
702
  # @param [String] path
637
703
  # Optional. The directory's full path including directory name, relative to root.
638
704
  # If left unset, the root is used.
@@ -1026,8 +1092,8 @@ module Google
1026
1092
  # @param [String] page_token
1027
1093
  # Optional. Page token received from a previous `ListCompilationResults` call.
1028
1094
  # Provide this to retrieve the subsequent page. When paginating, all other
1029
- # parameters provided to `ListCompilationResults` must match the call that
1030
- # provided the page token.
1095
+ # parameters provided to `ListCompilationResults`, with the exception of `
1096
+ # page_size`, must match the call that provided the page token.
1031
1097
  # @param [String] fields
1032
1098
  # Selector specifying which fields to include in a partial response.
1033
1099
  # @param [String] quota_user
@@ -1072,8 +1138,8 @@ module Google
1072
1138
  # @param [String] page_token
1073
1139
  # Optional. Page token received from a previous `QueryCompilationResultActions`
1074
1140
  # call. Provide this to retrieve the subsequent page. When paginating, all other
1075
- # parameters provided to `QueryCompilationResultActions` must match the call
1076
- # that provided the page token.
1141
+ # parameters provided to `QueryCompilationResultActions`, with the exception of `
1142
+ # page_size`, must match the call that provided the page token.
1077
1143
  # @param [String] fields
1078
1144
  # Selector specifying which fields to include in a partial response.
1079
1145
  # @param [String] quota_user
@@ -1213,8 +1279,8 @@ module Google
1213
1279
  # @param [String] page_token
1214
1280
  # Optional. Page token received from a previous `ListReleaseConfigs` call.
1215
1281
  # Provide this to retrieve the subsequent page. When paginating, all other
1216
- # parameters provided to `ListReleaseConfigs` must match the call that provided
1217
- # the page token.
1282
+ # parameters provided to `ListReleaseConfigs`, with the exception of `page_size`,
1283
+ # must match the call that provided the page token.
1218
1284
  # @param [String] fields
1219
1285
  # Selector specifying which fields to include in a partial response.
1220
1286
  # @param [String] quota_user
@@ -1390,8 +1456,8 @@ module Google
1390
1456
  # @param [String] page_token
1391
1457
  # Optional. Page token received from a previous `ListWorkflowConfigs` call.
1392
1458
  # Provide this to retrieve the subsequent page. When paginating, all other
1393
- # parameters provided to `ListWorkflowConfigs` must match the call that provided
1394
- # the page token.
1459
+ # parameters provided to `ListWorkflowConfigs`, with the exception of `page_size`
1460
+ # , must match the call that provided the page token.
1395
1461
  # @param [String] fields
1396
1462
  # Selector specifying which fields to include in a partial response.
1397
1463
  # @param [String] quota_user
@@ -1602,8 +1668,8 @@ module Google
1602
1668
  # @param [String] page_token
1603
1669
  # Optional. Page token received from a previous `ListWorkflowInvocations` call.
1604
1670
  # Provide this to retrieve the subsequent page. When paginating, all other
1605
- # parameters provided to `ListWorkflowInvocations` must match the call that
1606
- # provided the page token.
1671
+ # parameters provided to `ListWorkflowInvocations`, with the exception of `
1672
+ # page_size`, must match the call that provided the page token.
1607
1673
  # @param [String] fields
1608
1674
  # Selector specifying which fields to include in a partial response.
1609
1675
  # @param [String] quota_user
@@ -1645,8 +1711,8 @@ module Google
1645
1711
  # @param [String] page_token
1646
1712
  # Optional. Page token received from a previous `QueryWorkflowInvocationActions`
1647
1713
  # call. Provide this to retrieve the subsequent page. When paginating, all other
1648
- # parameters provided to `QueryWorkflowInvocationActions` must match the call
1649
- # that provided the page token.
1714
+ # parameters provided to `QueryWorkflowInvocationActions`, with the exception of
1715
+ # `page_size`, must match the call that provided the page token.
1650
1716
  # @param [String] fields
1651
1717
  # Selector specifying which fields to include in a partial response.
1652
1718
  # @param [String] quota_user
@@ -2001,7 +2067,8 @@ module Google
2001
2067
  # @param [String] page_token
2002
2068
  # Optional. Page token received from a previous `ListWorkspaces` call. Provide
2003
2069
  # this to retrieve the subsequent page. When paginating, all other parameters
2004
- # provided to `ListWorkspaces` must match the call that provided the page token.
2070
+ # provided to `ListWorkspaces`, with the exception of `page_size`, must match
2071
+ # the call that provided the page token.
2005
2072
  # @param [String] fields
2006
2073
  # Selector specifying which fields to include in a partial response.
2007
2074
  # @param [String] quota_user
@@ -2208,8 +2275,8 @@ module Google
2208
2275
  # @param [String] page_token
2209
2276
  # Optional. Page token received from a previous `QueryDirectoryContents` call.
2210
2277
  # Provide this to retrieve the subsequent page. When paginating, all other
2211
- # parameters provided to `QueryDirectoryContents` must match the call that
2212
- # provided the page token.
2278
+ # parameters provided to `QueryDirectoryContents`, with the exception of `
2279
+ # page_size`, must match the call that provided the page token.
2213
2280
  # @param [String] path
2214
2281
  # Optional. The directory's full path including directory name, relative to the
2215
2282
  # workspace root. If left unset, the workspace root is used.
@@ -2394,8 +2461,8 @@ module Google
2394
2461
  # @param [String] page_token
2395
2462
  # Optional. Page token received from a previous `SearchFilesRequest` call.
2396
2463
  # Provide this to retrieve the subsequent page. When paginating, all other
2397
- # parameters provided to `SearchFilesRequest` must match the call that provided
2398
- # the page token.
2464
+ # parameters provided to `SearchFilesRequest`, with the exception of `page_size`,
2465
+ # must match the call that provided the page token.
2399
2466
  # @param [String] fields
2400
2467
  # Selector specifying which fields to include in a partial response.
2401
2468
  # @param [String] quota_user
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.32.0
4
+ version: 0.34.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: 2024-07-25 00:00:00.000000000 Z
11
+ date: 2024-11-03 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.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataform_v1beta1/v0.34.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.21
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Dataform API V1beta1