google-apis-dataform_v1beta1 0.28.0 → 0.30.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: 91daaf6e44d265b74e51f65446b3b3625a4ff4a54fb13cacd1d76fe925cc02d3
4
- data.tar.gz: 62143c61854d13831d774911ebcd6fd8f07c12a2072e79f8bec8153acd47481b
3
+ metadata.gz: bd32b8c4ea423223cbf2cd789a313fe131370058ce7f9781169def90c8b01dbb
4
+ data.tar.gz: 5fccc7a7028267ba72406f92f6ea8b1a8899dbcc09b7559fa644ffaea0466e12
5
5
  SHA512:
6
- metadata.gz: d36d352bb08b3656e75c9e15b0e964021cc85032ae457b8d779d82c195684430817b03d1eb4fa4d16ce4ba402ea6193769e96c0c2ab8c6d46b9371dcb0ad2f68
7
- data.tar.gz: 55ad53e673706d4531009fee8ce7a6fe64141e950839201049f39e5eca5356d999ea3a715e91cab563bd788c7b4207ba25cac7f5a050e67bcbc898132949eb6a
6
+ metadata.gz: 2ace1dadcee9de80cf0c71b2c37ee1bad9efa1f1452f41547aa470942973193a0c441bf36a76ae53fa01d9d8d6279d1b3c3b2b9c1326220df43a2ce061c6ac53
7
+ data.tar.gz: 92f2226ec6a307ebf504c3bf3419a9ac10398f5a2455fcaed907b8113b790c683114fedac55855aa993b7d889bfeeb134836011800d1b44ed8fa5be3ab2fb2db
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-dataform_v1beta1
2
2
 
3
+ ### v0.30.0 (2024-05-19)
4
+
5
+ * Regenerated from discovery document revision 20240504
6
+ * Regenerated using generator version 0.15.0
7
+
8
+ ### v0.29.0 (2024-05-05)
9
+
10
+ * Regenerated from discovery document revision 20240427
11
+
3
12
  ### v0.28.0 (2024-04-28)
4
13
 
5
14
  * 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.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240420"
25
+ REVISION = "20240504"
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?
@@ -781,6 +781,88 @@ module Google
781
781
  execute_or_queue_command(command, &block)
782
782
  end
783
783
 
784
+ # Gets the access control policy for a resource. Returns an empty policy if the
785
+ # resource exists and does not have a policy set.
786
+ # @param [String] resource
787
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
788
+ # names](https://cloud.google.com/apis/design/resource_names) for the
789
+ # appropriate value for this field.
790
+ # @param [Fixnum] options_requested_policy_version
791
+ # Optional. The maximum policy version that will be used to format the policy.
792
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
793
+ # rejected. Requests for policies with any conditional role bindings must
794
+ # specify version 3. Policies with no conditional role bindings may specify any
795
+ # valid value or leave the field unset. The policy in the response might use the
796
+ # policy version that you specified, or it might use a lower policy version. For
797
+ # example, if you specify version 3, but the policy has no conditional role
798
+ # bindings, the response uses version 1. To learn which resources support
799
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
800
+ # google.com/iam/help/conditions/resource-policies).
801
+ # @param [String] fields
802
+ # Selector specifying which fields to include in a partial response.
803
+ # @param [String] quota_user
804
+ # Available to use for quota purposes for server-side applications. Can be any
805
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
806
+ # @param [Google::Apis::RequestOptions] options
807
+ # Request-specific options
808
+ #
809
+ # @yield [result, err] Result & error if block supplied
810
+ # @yieldparam result [Google::Apis::DataformV1beta1::Policy] parsed result object
811
+ # @yieldparam err [StandardError] error object if request failed
812
+ #
813
+ # @return [Google::Apis::DataformV1beta1::Policy]
814
+ #
815
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
816
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
817
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
818
+ def get_project_location_repository_comment_thread_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
819
+ command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
820
+ command.response_representation = Google::Apis::DataformV1beta1::Policy::Representation
821
+ command.response_class = Google::Apis::DataformV1beta1::Policy
822
+ command.params['resource'] = resource unless resource.nil?
823
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
824
+ command.query['fields'] = fields unless fields.nil?
825
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
826
+ execute_or_queue_command(command, &block)
827
+ end
828
+
829
+ # Sets the access control policy on the specified resource. Replaces any
830
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
831
+ # PERMISSION_DENIED` errors.
832
+ # @param [String] resource
833
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
834
+ # names](https://cloud.google.com/apis/design/resource_names) for the
835
+ # appropriate value for this field.
836
+ # @param [Google::Apis::DataformV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
837
+ # @param [String] fields
838
+ # Selector specifying which fields to include in a partial response.
839
+ # @param [String] quota_user
840
+ # Available to use for quota purposes for server-side applications. Can be any
841
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
842
+ # @param [Google::Apis::RequestOptions] options
843
+ # Request-specific options
844
+ #
845
+ # @yield [result, err] Result & error if block supplied
846
+ # @yieldparam result [Google::Apis::DataformV1beta1::Policy] parsed result object
847
+ # @yieldparam err [StandardError] error object if request failed
848
+ #
849
+ # @return [Google::Apis::DataformV1beta1::Policy]
850
+ #
851
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
852
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
853
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
854
+ def set_comment_thread_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
855
+ command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
856
+ command.request_representation = Google::Apis::DataformV1beta1::SetIamPolicyRequest::Representation
857
+ command.request_object = set_iam_policy_request_object
858
+ command.response_representation = Google::Apis::DataformV1beta1::Policy::Representation
859
+ command.response_class = Google::Apis::DataformV1beta1::Policy
860
+ command.params['resource'] = resource unless resource.nil?
861
+ command.query['fields'] = fields unless fields.nil?
862
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
863
+ execute_or_queue_command(command, &block)
864
+ end
865
+
784
866
  # Creates a new CompilationResult in a given project and location.
785
867
  # @param [String] parent
786
868
  # Required. The repository in which to create the compilation result. Must be in
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.30.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-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.30.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: []