google-apis-dataform_v1beta1 0.32.0 → 0.33.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: 413983d1c283b580cd2baf03d2480c60e1b1250a1850b67032bb8ede14b0c63b
4
+ data.tar.gz: f2627c6c4079225324d643193e1f65385d80d78382f20672f0f2def7e6dc2f3a
5
5
  SHA512:
6
- metadata.gz: 57ee8515e4896f2456ba2509491a3223e54b6ef8a934af67bfad958ba83267eec5ef7eee6d2a15f2e5ecc57fbd5fa7f2d4655d5ab6c0b7327e5307d5189252be
7
- data.tar.gz: a190668727f27130a95e9999bfb44fb610028825e5edc01410b54da6530d5078d3bda0e967a9298e6328c74e1ce9f2972d9b2b2979da7595d623149a01f7baa3
6
+ metadata.gz: a46acdfbafead9e7f23ed5c2ee1734f444aac1753e72015b3f9ade03435452780031d3d14ab0830804ba0f3e99d08d2f9b978ddddefb185a7d5cc865bd7af0cb
7
+ data.tar.gz: 637bcfd743e0612c4d57e5ab80435714c109108eea6e62894e724dc48f6f553988abeb54bdbfedc384dcc44c5a908cacb2c8b073c3767f56ad3fc7a398dc1c5d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-dataform_v1beta1
2
2
 
3
+ ### v0.33.0 (2024-09-01)
4
+
5
+ * Regenerated from discovery document revision 20240824
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.32.0 (2024-07-25)
4
9
 
5
10
  * Regenerated from discovery document revision 20240629
@@ -622,6 +622,11 @@ module Google
622
622
  # @return [Google::Apis::DataformV1beta1::Target]
623
623
  attr_accessor :canonical_target
624
624
 
625
+ # Defines a compiled Data Preparation entity
626
+ # Corresponds to the JSON property `dataPreparation`
627
+ # @return [Google::Apis::DataformV1beta1::DataPreparation]
628
+ attr_accessor :data_preparation
629
+
625
630
  # Represents a relation which is not managed by Dataform but which may be
626
631
  # referenced by Dataform actions.
627
632
  # Corresponds to the JSON property `declaration`
@@ -663,6 +668,7 @@ module Google
663
668
  def update!(**args)
664
669
  @assertion = args[:assertion] if args.key?(:assertion)
665
670
  @canonical_target = args[:canonical_target] if args.key?(:canonical_target)
671
+ @data_preparation = args[:data_preparation] if args.key?(:data_preparation)
666
672
  @declaration = args[:declaration] if args.key?(:declaration)
667
673
  @file_path = args[:file_path] if args.key?(:file_path)
668
674
  @notebook = args[:notebook] if args.key?(:notebook)
@@ -691,6 +697,32 @@ module Google
691
697
  end
692
698
  end
693
699
 
700
+ # Config for all repositories in a given project and location.
701
+ class Config
702
+ include Google::Apis::Core::Hashable
703
+
704
+ # Optional. The default KMS key that is used if no encryption key is provided
705
+ # when a repository is created.
706
+ # Corresponds to the JSON property `defaultKmsKeyName`
707
+ # @return [String]
708
+ attr_accessor :default_kms_key_name
709
+
710
+ # Identifier. The config name.
711
+ # Corresponds to the JSON property `name`
712
+ # @return [String]
713
+ attr_accessor :name
714
+
715
+ def initialize(**args)
716
+ update!(**args)
717
+ end
718
+
719
+ # Update properties of this object
720
+ def update!(**args)
721
+ @default_kms_key_name = args[:default_kms_key_name] if args.key?(:default_kms_key_name)
722
+ @name = args[:name] if args.key?(:name)
723
+ end
724
+ end
725
+
694
726
  # Describes encryption state of a resource.
695
727
  class DataEncryptionState
696
728
  include Google::Apis::Core::Hashable
@@ -710,6 +742,45 @@ module Google
710
742
  end
711
743
  end
712
744
 
745
+ # Defines a compiled Data Preparation entity
746
+ class DataPreparation
747
+ include Google::Apis::Core::Hashable
748
+
749
+ # The data preparation definition, stored as a binary encoded proto.
750
+ # Corresponds to the JSON property `contents`
751
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
752
+ # @return [String]
753
+ attr_accessor :contents
754
+
755
+ # A list of actions that this action depends on.
756
+ # Corresponds to the JSON property `dependencyTargets`
757
+ # @return [Array<Google::Apis::DataformV1beta1::Target>]
758
+ attr_accessor :dependency_targets
759
+
760
+ # Whether this action is disabled (i.e. should not be run).
761
+ # Corresponds to the JSON property `disabled`
762
+ # @return [Boolean]
763
+ attr_accessor :disabled
764
+ alias_method :disabled?, :disabled
765
+
766
+ # Arbitrary, user-defined tags on this action.
767
+ # Corresponds to the JSON property `tags`
768
+ # @return [Array<String>]
769
+ attr_accessor :tags
770
+
771
+ def initialize(**args)
772
+ update!(**args)
773
+ end
774
+
775
+ # Update properties of this object
776
+ def update!(**args)
777
+ @contents = args[:contents] if args.key?(:contents)
778
+ @dependency_targets = args[:dependency_targets] if args.key?(:dependency_targets)
779
+ @disabled = args[:disabled] if args.key?(:disabled)
780
+ @tags = args[:tags] if args.key?(:tags)
781
+ end
782
+ end
783
+
713
784
  # Represents a relation which is not managed by Dataform but which may be
714
785
  # referenced by Dataform actions.
715
786
  class Declaration
@@ -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.33.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 = "20240824"
26
26
  end
27
27
  end
28
28
  end
@@ -118,12 +118,24 @@ 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
 
124
130
  include Google::Apis::Core::JsonObjectSupport
125
131
  end
126
132
 
133
+ class DataPreparation
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
127
139
  class Declaration
128
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
141
 
@@ -719,6 +731,8 @@ module Google
719
731
 
720
732
  property :canonical_target, as: 'canonicalTarget', class: Google::Apis::DataformV1beta1::Target, decorator: Google::Apis::DataformV1beta1::Target::Representation
721
733
 
734
+ property :data_preparation, as: 'dataPreparation', class: Google::Apis::DataformV1beta1::DataPreparation, decorator: Google::Apis::DataformV1beta1::DataPreparation::Representation
735
+
722
736
  property :declaration, as: 'declaration', class: Google::Apis::DataformV1beta1::Declaration, decorator: Google::Apis::DataformV1beta1::Declaration::Representation
723
737
 
724
738
  property :file_path, as: 'filePath'
@@ -740,6 +754,14 @@ module Google
740
754
  end
741
755
  end
742
756
 
757
+ class Config
758
+ # @private
759
+ class Representation < Google::Apis::Core::JsonRepresentation
760
+ property :default_kms_key_name, as: 'defaultKmsKeyName'
761
+ property :name, as: 'name'
762
+ end
763
+ end
764
+
743
765
  class DataEncryptionState
744
766
  # @private
745
767
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -747,6 +769,17 @@ module Google
747
769
  end
748
770
  end
749
771
 
772
+ class DataPreparation
773
+ # @private
774
+ class Representation < Google::Apis::Core::JsonRepresentation
775
+ property :contents, :base64 => true, as: 'contents'
776
+ collection :dependency_targets, as: 'dependencyTargets', class: Google::Apis::DataformV1beta1::Target, decorator: Google::Apis::DataformV1beta1::Target::Representation
777
+
778
+ property :disabled, as: 'disabled'
779
+ collection :tags, as: 'tags'
780
+ end
781
+ end
782
+
750
783
  class Declaration
751
784
  # @private
752
785
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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
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.33.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-09-01 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.33.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: []