google-apis-dataform_v1beta1 0.28.0 → 0.29.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 91daaf6e44d265b74e51f65446b3b3625a4ff4a54fb13cacd1d76fe925cc02d3
4
- data.tar.gz: 62143c61854d13831d774911ebcd6fd8f07c12a2072e79f8bec8153acd47481b
3
+ metadata.gz: 70949b1ebd47fdc0c1809cd90312343d038f7faa91fe92e8adc441efefe4fd3e
4
+ data.tar.gz: af3748f91c6e2224a816d6b31f21968a12b0637f3486833b2b01b8d0ba4d612e
5
5
  SHA512:
6
- metadata.gz: d36d352bb08b3656e75c9e15b0e964021cc85032ae457b8d779d82c195684430817b03d1eb4fa4d16ce4ba402ea6193769e96c0c2ab8c6d46b9371dcb0ad2f68
7
- data.tar.gz: 55ad53e673706d4531009fee8ce7a6fe64141e950839201049f39e5eca5356d999ea3a715e91cab563bd788c7b4207ba25cac7f5a050e67bcbc898132949eb6a
6
+ metadata.gz: 8ba46e81c4d25cecccae56f9ca488064141c6ea366f469f84c97c3d7ee98e18b099521afb3f76e4106e45afe8834f17ada1304b2d494afaec52ff50ef6122230
7
+ data.tar.gz: ae5340ab77cbc7b8d496846eb81bfb0517247ca4c09d9f79f7e3d43d67a95170c75087adfff5dcdaacff2184329b691acf41a2702013548aa30683fab14b789d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dataform_v1beta1
2
2
 
3
+ ### v0.29.0 (2024-05-05)
4
+
5
+ * Regenerated from discovery document revision 20240427
6
+
3
7
  ### v0.28.0 (2024-04-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20240420
@@ -439,6 +439,25 @@ module Google
439
439
  end
440
440
  end
441
441
 
442
+ # `CommitRepositoryChanges` response message.
443
+ class CommitRepositoryChangesResponse
444
+ include Google::Apis::Core::Hashable
445
+
446
+ # The commit SHA of the current commit.
447
+ # Corresponds to the JSON property `commitSha`
448
+ # @return [String]
449
+ attr_accessor :commit_sha
450
+
451
+ def initialize(**args)
452
+ update!(**args)
453
+ end
454
+
455
+ # Update properties of this object
456
+ def update!(**args)
457
+ @commit_sha = args[:commit_sha] if args.key?(:commit_sha)
458
+ end
459
+ end
460
+
442
461
  # `CommitWorkspaceChanges` request message.
443
462
  class CommitWorkspaceChangesRequest
444
463
  include Google::Apis::Core::Hashable
@@ -524,6 +543,11 @@ module Google
524
543
  # @return [Array<Google::Apis::DataformV1beta1::CompilationError>]
525
544
  attr_accessor :compilation_errors
526
545
 
546
+ # Describes encryption state of a resource.
547
+ # Corresponds to the JSON property `dataEncryptionState`
548
+ # @return [Google::Apis::DataformV1beta1::DataEncryptionState]
549
+ attr_accessor :data_encryption_state
550
+
527
551
  # Output only. The version of `@dataform/core` that was used for compilation.
528
552
  # Corresponds to the JSON property `dataformCoreVersion`
529
553
  # @return [String]
@@ -567,6 +591,7 @@ module Google
567
591
  def update!(**args)
568
592
  @code_compilation_config = args[:code_compilation_config] if args.key?(:code_compilation_config)
569
593
  @compilation_errors = args[:compilation_errors] if args.key?(:compilation_errors)
594
+ @data_encryption_state = args[:data_encryption_state] if args.key?(:data_encryption_state)
570
595
  @dataform_core_version = args[:dataform_core_version] if args.key?(:dataform_core_version)
571
596
  @git_commitish = args[:git_commitish] if args.key?(:git_commitish)
572
597
  @name = args[:name] if args.key?(:name)
@@ -660,6 +685,25 @@ module Google
660
685
  end
661
686
  end
662
687
 
688
+ # Describes encryption state of a resource.
689
+ class DataEncryptionState
690
+ include Google::Apis::Core::Hashable
691
+
692
+ # The KMS key version name with which data of a resource is encrypted.
693
+ # Corresponds to the JSON property `kmsKeyVersionName`
694
+ # @return [String]
695
+ attr_accessor :kms_key_version_name
696
+
697
+ def initialize(**args)
698
+ update!(**args)
699
+ end
700
+
701
+ # Update properties of this object
702
+ def update!(**args)
703
+ @kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
704
+ end
705
+ end
706
+
663
707
  # Represents a relation which is not managed by Dataform but which may be
664
708
  # referenced by Dataform actions.
665
709
  class Declaration
@@ -2281,6 +2325,11 @@ module Google
2281
2325
  # @return [String]
2282
2326
  attr_accessor :create_time
2283
2327
 
2328
+ # Describes encryption state of a resource.
2329
+ # Corresponds to the JSON property `dataEncryptionState`
2330
+ # @return [Google::Apis::DataformV1beta1::DataEncryptionState]
2331
+ attr_accessor :data_encryption_state
2332
+
2284
2333
  # Optional. The repository's user-friendly name.
2285
2334
  # Corresponds to the JSON property `displayName`
2286
2335
  # @return [String]
@@ -2291,6 +2340,15 @@ module Google
2291
2340
  # @return [Google::Apis::DataformV1beta1::GitRemoteSettings]
2292
2341
  attr_accessor :git_remote_settings
2293
2342
 
2343
+ # Optional. The reference to a KMS encryption key. If provided, it will be used
2344
+ # to encrypt user data in the repository and all child resources. It is not
2345
+ # possible to add or update the encryption key after the repository is created.
2346
+ # Example: `projects/[kms_project_id]/locations/[region]/keyRings/[key_region]/
2347
+ # cryptoKeys/[key]`
2348
+ # Corresponds to the JSON property `kmsKeyName`
2349
+ # @return [String]
2350
+ attr_accessor :kms_key_name
2351
+
2294
2352
  # Optional. Repository user labels.
2295
2353
  # Corresponds to the JSON property `labels`
2296
2354
  # @return [Hash<String,String>]
@@ -2342,8 +2400,10 @@ module Google
2342
2400
  # Update properties of this object
2343
2401
  def update!(**args)
2344
2402
  @create_time = args[:create_time] if args.key?(:create_time)
2403
+ @data_encryption_state = args[:data_encryption_state] if args.key?(:data_encryption_state)
2345
2404
  @display_name = args[:display_name] if args.key?(:display_name)
2346
2405
  @git_remote_settings = args[:git_remote_settings] if args.key?(:git_remote_settings)
2406
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
2347
2407
  @labels = args[:labels] if args.key?(:labels)
2348
2408
  @name = args[:name] if args.key?(:name)
2349
2409
  @npmrc_environment_variables_secret_version = args[:npmrc_environment_variables_secret_version] if args.key?(:npmrc_environment_variables_secret_version)
@@ -2784,6 +2844,11 @@ module Google
2784
2844
  # @return [String]
2785
2845
  attr_accessor :compilation_result
2786
2846
 
2847
+ # Describes encryption state of a resource.
2848
+ # Corresponds to the JSON property `dataEncryptionState`
2849
+ # @return [Google::Apis::DataformV1beta1::DataEncryptionState]
2850
+ attr_accessor :data_encryption_state
2851
+
2787
2852
  # Includes various configuration options for a workflow invocation. If both `
2788
2853
  # included_targets` and `included_tags` are unset, all actions will be included.
2789
2854
  # Corresponds to the JSON property `invocationConfig`
@@ -2828,6 +2893,7 @@ module Google
2828
2893
  # Update properties of this object
2829
2894
  def update!(**args)
2830
2895
  @compilation_result = args[:compilation_result] if args.key?(:compilation_result)
2896
+ @data_encryption_state = args[:data_encryption_state] if args.key?(:data_encryption_state)
2831
2897
  @invocation_config = args[:invocation_config] if args.key?(:invocation_config)
2832
2898
  @invocation_timing = args[:invocation_timing] if args.key?(:invocation_timing)
2833
2899
  @name = args[:name] if args.key?(:name)
@@ -2901,6 +2967,11 @@ module Google
2901
2967
  class Workspace
2902
2968
  include Google::Apis::Core::Hashable
2903
2969
 
2970
+ # Describes encryption state of a resource.
2971
+ # Corresponds to the JSON property `dataEncryptionState`
2972
+ # @return [Google::Apis::DataformV1beta1::DataEncryptionState]
2973
+ attr_accessor :data_encryption_state
2974
+
2904
2975
  # Identifier. The workspace's name.
2905
2976
  # Corresponds to the JSON property `name`
2906
2977
  # @return [String]
@@ -2912,6 +2983,7 @@ module Google
2912
2983
 
2913
2984
  # Update properties of this object
2914
2985
  def update!(**args)
2986
+ @data_encryption_state = args[:data_encryption_state] if args.key?(:data_encryption_state)
2915
2987
  @name = args[:name] if args.key?(:name)
2916
2988
  end
2917
2989
  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.28.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240420"
25
+ REVISION = "20240427"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class CommitRepositoryChangesResponse
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class CommitWorkspaceChangesRequest
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -112,6 +118,12 @@ module Google
112
118
  include Google::Apis::Core::JsonObjectSupport
113
119
  end
114
120
 
121
+ class DataEncryptionState
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
115
127
  class Declaration
116
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
129
 
@@ -653,6 +665,13 @@ module Google
653
665
  end
654
666
  end
655
667
 
668
+ class CommitRepositoryChangesResponse
669
+ # @private
670
+ class Representation < Google::Apis::Core::JsonRepresentation
671
+ property :commit_sha, as: 'commitSha'
672
+ end
673
+ end
674
+
656
675
  class CommitWorkspaceChangesRequest
657
676
  # @private
658
677
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -681,6 +700,8 @@ module Google
681
700
 
682
701
  collection :compilation_errors, as: 'compilationErrors', class: Google::Apis::DataformV1beta1::CompilationError, decorator: Google::Apis::DataformV1beta1::CompilationError::Representation
683
702
 
703
+ property :data_encryption_state, as: 'dataEncryptionState', class: Google::Apis::DataformV1beta1::DataEncryptionState, decorator: Google::Apis::DataformV1beta1::DataEncryptionState::Representation
704
+
684
705
  property :dataform_core_version, as: 'dataformCoreVersion'
685
706
  property :git_commitish, as: 'gitCommitish'
686
707
  property :name, as: 'name'
@@ -718,6 +739,13 @@ module Google
718
739
  end
719
740
  end
720
741
 
742
+ class DataEncryptionState
743
+ # @private
744
+ class Representation < Google::Apis::Core::JsonRepresentation
745
+ property :kms_key_version_name, as: 'kmsKeyVersionName'
746
+ end
747
+ end
748
+
721
749
  class Declaration
722
750
  # @private
723
751
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1193,9 +1221,12 @@ module Google
1193
1221
  # @private
1194
1222
  class Representation < Google::Apis::Core::JsonRepresentation
1195
1223
  property :create_time, as: 'createTime'
1224
+ property :data_encryption_state, as: 'dataEncryptionState', class: Google::Apis::DataformV1beta1::DataEncryptionState, decorator: Google::Apis::DataformV1beta1::DataEncryptionState::Representation
1225
+
1196
1226
  property :display_name, as: 'displayName'
1197
1227
  property :git_remote_settings, as: 'gitRemoteSettings', class: Google::Apis::DataformV1beta1::GitRemoteSettings, decorator: Google::Apis::DataformV1beta1::GitRemoteSettings::Representation
1198
1228
 
1229
+ property :kms_key_name, as: 'kmsKeyName'
1199
1230
  hash :labels, as: 'labels'
1200
1231
  property :name, as: 'name'
1201
1232
  property :npmrc_environment_variables_secret_version, as: 'npmrcEnvironmentVariablesSecretVersion'
@@ -1327,6 +1358,8 @@ module Google
1327
1358
  # @private
1328
1359
  class Representation < Google::Apis::Core::JsonRepresentation
1329
1360
  property :compilation_result, as: 'compilationResult'
1361
+ property :data_encryption_state, as: 'dataEncryptionState', class: Google::Apis::DataformV1beta1::DataEncryptionState, decorator: Google::Apis::DataformV1beta1::DataEncryptionState::Representation
1362
+
1330
1363
  property :invocation_config, as: 'invocationConfig', class: Google::Apis::DataformV1beta1::InvocationConfig, decorator: Google::Apis::DataformV1beta1::InvocationConfig::Representation
1331
1364
 
1332
1365
  property :invocation_timing, as: 'invocationTiming', class: Google::Apis::DataformV1beta1::Interval, decorator: Google::Apis::DataformV1beta1::Interval::Representation
@@ -1359,6 +1392,8 @@ module Google
1359
1392
  class Workspace
1360
1393
  # @private
1361
1394
  class Representation < Google::Apis::Core::JsonRepresentation
1395
+ property :data_encryption_state, as: 'dataEncryptionState', class: Google::Apis::DataformV1beta1::DataEncryptionState, decorator: Google::Apis::DataformV1beta1::DataEncryptionState::Representation
1396
+
1362
1397
  property :name, as: 'name'
1363
1398
  end
1364
1399
  end
@@ -260,10 +260,10 @@ module Google
260
260
  # Request-specific options
261
261
  #
262
262
  # @yield [result, err] Result & error if block supplied
263
- # @yieldparam result [Google::Apis::DataformV1beta1::Empty] parsed result object
263
+ # @yieldparam result [Google::Apis::DataformV1beta1::CommitRepositoryChangesResponse] parsed result object
264
264
  # @yieldparam err [StandardError] error object if request failed
265
265
  #
266
- # @return [Google::Apis::DataformV1beta1::Empty]
266
+ # @return [Google::Apis::DataformV1beta1::CommitRepositoryChangesResponse]
267
267
  #
268
268
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
269
269
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
@@ -272,8 +272,8 @@ module Google
272
272
  command = make_simple_command(:post, 'v1beta1/{+name}:commit', options)
273
273
  command.request_representation = Google::Apis::DataformV1beta1::CommitRepositoryChangesRequest::Representation
274
274
  command.request_object = commit_repository_changes_request_object
275
- command.response_representation = Google::Apis::DataformV1beta1::Empty::Representation
276
- command.response_class = Google::Apis::DataformV1beta1::Empty
275
+ command.response_representation = Google::Apis::DataformV1beta1::CommitRepositoryChangesResponse::Representation
276
+ command.response_class = Google::Apis::DataformV1beta1::CommitRepositoryChangesResponse
277
277
  command.params['name'] = name unless name.nil?
278
278
  command.query['fields'] = fields unless fields.nil?
279
279
  command.query['quotaUser'] = quota_user unless quota_user.nil?
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.28.0
4
+ version: 0.29.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-04-28 00:00:00.000000000 Z
11
+ date: 2024-05-05 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.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataform_v1beta1/v0.29.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: []