google-apis-dataform_v1beta1 0.27.0 → 0.28.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: edbd20c942a3153c2ed2d25496f94cd709d073085bb000113613801e12abda5b
4
- data.tar.gz: 4fca3cac204469abf08300052b8ff535c93e661f503bae5cb0a3b12e6ff6aab0
3
+ metadata.gz: 91daaf6e44d265b74e51f65446b3b3625a4ff4a54fb13cacd1d76fe925cc02d3
4
+ data.tar.gz: 62143c61854d13831d774911ebcd6fd8f07c12a2072e79f8bec8153acd47481b
5
5
  SHA512:
6
- metadata.gz: 13b23ee4a94b63b822a600a5078510e034fc33a90689fec6ed399e46528a89031de2325229a4da7ed5b3a372b0c9ec6659856b7cf3f0797d72042e4da51c254d
7
- data.tar.gz: c8b02e3ccfdbdfe3da984191d9fe4d5f2224ac675ff92340f76e485c3de566901de5b6c0f425b1caae2214f2e2cb7ffebd247974188b44b8dd55530b4e859ecb
6
+ metadata.gz: d36d352bb08b3656e75c9e15b0e964021cc85032ae457b8d779d82c195684430817b03d1eb4fa4d16ce4ba402ea6193769e96c0c2ab8c6d46b9371dcb0ad2f68
7
+ data.tar.gz: 55ad53e673706d4531009fee8ce7a6fe64141e950839201049f39e5eca5356d999ea3a715e91cab563bd788c7b4207ba25cac7f5a050e67bcbc898132949eb6a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dataform_v1beta1
2
2
 
3
+ ### v0.28.0 (2024-04-28)
4
+
5
+ * Regenerated from discovery document revision 20240420
6
+
3
7
  ### v0.27.0 (2024-03-31)
4
8
 
5
9
  * Regenerated from discovery document revision 20240323
@@ -78,6 +78,12 @@ module Google
78
78
  class BigQueryAction
79
79
  include Google::Apis::Core::Hashable
80
80
 
81
+ # Output only. The ID of the BigQuery job that executed the SQL in sql_script.
82
+ # Only set once the job has started to run.
83
+ # Corresponds to the JSON property `jobId`
84
+ # @return [String]
85
+ attr_accessor :job_id
86
+
81
87
  # Output only. The generated BigQuery SQL script that will be executed.
82
88
  # Corresponds to the JSON property `sqlScript`
83
89
  # @return [String]
@@ -89,6 +95,7 @@ module Google
89
95
 
90
96
  # Update properties of this object
91
97
  def update!(**args)
98
+ @job_id = args[:job_id] if args.key?(:job_id)
92
99
  @sql_script = args[:sql_script] if args.key?(:sql_script)
93
100
  end
94
101
  end
@@ -234,6 +241,11 @@ module Google
234
241
  # @return [String]
235
242
  attr_accessor :default_location
236
243
 
244
+ #
245
+ # Corresponds to the JSON property `defaultNotebookRuntimeOptions`
246
+ # @return [Google::Apis::DataformV1beta1::NotebookRuntimeOptions]
247
+ attr_accessor :default_notebook_runtime_options
248
+
237
249
  # Optional. The default schema (BigQuery dataset ID).
238
250
  # Corresponds to the JSON property `defaultSchema`
239
251
  # @return [String]
@@ -266,6 +278,7 @@ module Google
266
278
  @database_suffix = args[:database_suffix] if args.key?(:database_suffix)
267
279
  @default_database = args[:default_database] if args.key?(:default_database)
268
280
  @default_location = args[:default_location] if args.key?(:default_location)
281
+ @default_notebook_runtime_options = args[:default_notebook_runtime_options] if args.key?(:default_notebook_runtime_options)
269
282
  @default_schema = args[:default_schema] if args.key?(:default_schema)
270
283
  @schema_suffix = args[:schema_suffix] if args.key?(:schema_suffix)
271
284
  @table_prefix = args[:table_prefix] if args.key?(:table_prefix)
@@ -590,6 +603,11 @@ module Google
590
603
  # @return [String]
591
604
  attr_accessor :file_path
592
605
 
606
+ # The notebook executed by this action.
607
+ # Corresponds to the JSON property `notebook`
608
+ # @return [Google::Apis::DataformV1beta1::Notebook]
609
+ attr_accessor :notebook
610
+
593
611
  # Represents a list of arbitrary database operations.
594
612
  # Corresponds to the JSON property `operations`
595
613
  # @return [Google::Apis::DataformV1beta1::Operations]
@@ -616,6 +634,7 @@ module Google
616
634
  @canonical_target = args[:canonical_target] if args.key?(:canonical_target)
617
635
  @declaration = args[:declaration] if args.key?(:declaration)
618
636
  @file_path = args[:file_path] if args.key?(:file_path)
637
+ @notebook = args[:notebook] if args.key?(:notebook)
619
638
  @operations = args[:operations] if args.key?(:operations)
620
639
  @relation = args[:relation] if args.key?(:relation)
621
640
  @target = args[:target] if args.key?(:target)
@@ -1531,6 +1550,90 @@ module Google
1531
1550
  end
1532
1551
  end
1533
1552
 
1553
+ #
1554
+ class Notebook
1555
+ include Google::Apis::Core::Hashable
1556
+
1557
+ # The contents of the notebook.
1558
+ # Corresponds to the JSON property `contents`
1559
+ # @return [String]
1560
+ attr_accessor :contents
1561
+
1562
+ # A list of actions that this action depends on.
1563
+ # Corresponds to the JSON property `dependencyTargets`
1564
+ # @return [Array<Google::Apis::DataformV1beta1::Target>]
1565
+ attr_accessor :dependency_targets
1566
+
1567
+ # Whether this action is disabled (i.e. should not be run).
1568
+ # Corresponds to the JSON property `disabled`
1569
+ # @return [Boolean]
1570
+ attr_accessor :disabled
1571
+ alias_method :disabled?, :disabled
1572
+
1573
+ # Arbitrary, user-defined tags on this action.
1574
+ # Corresponds to the JSON property `tags`
1575
+ # @return [Array<String>]
1576
+ attr_accessor :tags
1577
+
1578
+ def initialize(**args)
1579
+ update!(**args)
1580
+ end
1581
+
1582
+ # Update properties of this object
1583
+ def update!(**args)
1584
+ @contents = args[:contents] if args.key?(:contents)
1585
+ @dependency_targets = args[:dependency_targets] if args.key?(:dependency_targets)
1586
+ @disabled = args[:disabled] if args.key?(:disabled)
1587
+ @tags = args[:tags] if args.key?(:tags)
1588
+ end
1589
+ end
1590
+
1591
+ # Represents a workflow action that will run against a Notebook runtime.
1592
+ class NotebookAction
1593
+ include Google::Apis::Core::Hashable
1594
+
1595
+ # Output only. The code contents of a Notebook to be run.
1596
+ # Corresponds to the JSON property `contents`
1597
+ # @return [String]
1598
+ attr_accessor :contents
1599
+
1600
+ # Output only. The ID of the Vertex job that executed the notebook in contents
1601
+ # and also the ID used for the outputs created in GCS buckets. Only set once the
1602
+ # job has started to run.
1603
+ # Corresponds to the JSON property `jobId`
1604
+ # @return [String]
1605
+ attr_accessor :job_id
1606
+
1607
+ def initialize(**args)
1608
+ update!(**args)
1609
+ end
1610
+
1611
+ # Update properties of this object
1612
+ def update!(**args)
1613
+ @contents = args[:contents] if args.key?(:contents)
1614
+ @job_id = args[:job_id] if args.key?(:job_id)
1615
+ end
1616
+ end
1617
+
1618
+ #
1619
+ class NotebookRuntimeOptions
1620
+ include Google::Apis::Core::Hashable
1621
+
1622
+ # Optional. The GCS location to upload the result to. Format: `gs://bucket-name`.
1623
+ # Corresponds to the JSON property `gcsOutputBucket`
1624
+ # @return [String]
1625
+ attr_accessor :gcs_output_bucket
1626
+
1627
+ def initialize(**args)
1628
+ update!(**args)
1629
+ end
1630
+
1631
+ # Update properties of this object
1632
+ def update!(**args)
1633
+ @gcs_output_bucket = args[:gcs_output_bucket] if args.key?(:gcs_output_bucket)
1634
+ end
1635
+ end
1636
+
1534
1637
  # Represents the metadata of the long-running operation.
1535
1638
  class OperationMetadata
1536
1639
  include Google::Apis::Core::Hashable
@@ -2762,6 +2865,11 @@ module Google
2762
2865
  # @return [Google::Apis::DataformV1beta1::Interval]
2763
2866
  attr_accessor :invocation_timing
2764
2867
 
2868
+ # Represents a workflow action that will run against a Notebook runtime.
2869
+ # Corresponds to the JSON property `notebookAction`
2870
+ # @return [Google::Apis::DataformV1beta1::NotebookAction]
2871
+ attr_accessor :notebook_action
2872
+
2765
2873
  # Output only. This action's current state.
2766
2874
  # Corresponds to the JSON property `state`
2767
2875
  # @return [String]
@@ -2783,6 +2891,7 @@ module Google
2783
2891
  @canonical_target = args[:canonical_target] if args.key?(:canonical_target)
2784
2892
  @failure_reason = args[:failure_reason] if args.key?(:failure_reason)
2785
2893
  @invocation_timing = args[:invocation_timing] if args.key?(:invocation_timing)
2894
+ @notebook_action = args[:notebook_action] if args.key?(:notebook_action)
2786
2895
  @state = args[:state] if args.key?(:state)
2787
2896
  @target = args[:target] if args.key?(:target)
2788
2897
  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.27.0"
19
+ GEM_VERSION = "0.28.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 = "20240323"
25
+ REVISION = "20240420"
26
26
  end
27
27
  end
28
28
  end
@@ -310,6 +310,24 @@ module Google
310
310
  include Google::Apis::Core::JsonObjectSupport
311
311
  end
312
312
 
313
+ class Notebook
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class NotebookAction
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class NotebookRuntimeOptions
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
313
331
  class OperationMetadata
314
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
333
 
@@ -550,6 +568,7 @@ module Google
550
568
  class BigQueryAction
551
569
  # @private
552
570
  class Representation < Google::Apis::Core::JsonRepresentation
571
+ property :job_id, as: 'jobId'
553
572
  property :sql_script, as: 'sqlScript'
554
573
  end
555
574
  end
@@ -577,6 +596,8 @@ module Google
577
596
  property :database_suffix, as: 'databaseSuffix'
578
597
  property :default_database, as: 'defaultDatabase'
579
598
  property :default_location, as: 'defaultLocation'
599
+ property :default_notebook_runtime_options, as: 'defaultNotebookRuntimeOptions', class: Google::Apis::DataformV1beta1::NotebookRuntimeOptions, decorator: Google::Apis::DataformV1beta1::NotebookRuntimeOptions::Representation
600
+
580
601
  property :default_schema, as: 'defaultSchema'
581
602
  property :schema_suffix, as: 'schemaSuffix'
582
603
  property :table_prefix, as: 'tablePrefix'
@@ -679,6 +700,8 @@ module Google
679
700
  property :declaration, as: 'declaration', class: Google::Apis::DataformV1beta1::Declaration, decorator: Google::Apis::DataformV1beta1::Declaration::Representation
680
701
 
681
702
  property :file_path, as: 'filePath'
703
+ property :notebook, as: 'notebook', class: Google::Apis::DataformV1beta1::Notebook, decorator: Google::Apis::DataformV1beta1::Notebook::Representation
704
+
682
705
  property :operations, as: 'operations', class: Google::Apis::DataformV1beta1::Operations, decorator: Google::Apis::DataformV1beta1::Operations::Representation
683
706
 
684
707
  property :relation, as: 'relation', class: Google::Apis::DataformV1beta1::Relation, decorator: Google::Apis::DataformV1beta1::Relation::Representation
@@ -974,6 +997,32 @@ module Google
974
997
  end
975
998
  end
976
999
 
1000
+ class Notebook
1001
+ # @private
1002
+ class Representation < Google::Apis::Core::JsonRepresentation
1003
+ property :contents, as: 'contents'
1004
+ collection :dependency_targets, as: 'dependencyTargets', class: Google::Apis::DataformV1beta1::Target, decorator: Google::Apis::DataformV1beta1::Target::Representation
1005
+
1006
+ property :disabled, as: 'disabled'
1007
+ collection :tags, as: 'tags'
1008
+ end
1009
+ end
1010
+
1011
+ class NotebookAction
1012
+ # @private
1013
+ class Representation < Google::Apis::Core::JsonRepresentation
1014
+ property :contents, as: 'contents'
1015
+ property :job_id, as: 'jobId'
1016
+ end
1017
+ end
1018
+
1019
+ class NotebookRuntimeOptions
1020
+ # @private
1021
+ class Representation < Google::Apis::Core::JsonRepresentation
1022
+ property :gcs_output_bucket, as: 'gcsOutputBucket'
1023
+ end
1024
+ end
1025
+
977
1026
  class OperationMetadata
978
1027
  # @private
979
1028
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1299,6 +1348,8 @@ module Google
1299
1348
  property :failure_reason, as: 'failureReason'
1300
1349
  property :invocation_timing, as: 'invocationTiming', class: Google::Apis::DataformV1beta1::Interval, decorator: Google::Apis::DataformV1beta1::Interval::Representation
1301
1350
 
1351
+ property :notebook_action, as: 'notebookAction', class: Google::Apis::DataformV1beta1::NotebookAction, decorator: Google::Apis::DataformV1beta1::NotebookAction::Representation
1352
+
1302
1353
  property :state, as: 'state'
1303
1354
  property :target, as: 'target', class: Google::Apis::DataformV1beta1::Target, decorator: Google::Apis::DataformV1beta1::Target::Representation
1304
1355
 
@@ -851,6 +851,10 @@ module Google
851
851
  # format `projects/*/locations/*/repositories/*`.
852
852
  # @param [String] filter
853
853
  # Optional. Filter for the returned list.
854
+ # @param [String] order_by
855
+ # Optional. This field only supports ordering by `name` and `create_time`. If
856
+ # unspecified, the server will choose the ordering. If specified, the default
857
+ # order is ascending for the `name` field.
854
858
  # @param [Fixnum] page_size
855
859
  # Optional. Maximum number of compilation results to return. The server may
856
860
  # return fewer items than requested. If unspecified, the server will pick an
@@ -877,12 +881,13 @@ module Google
877
881
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
878
882
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
879
883
  # @raise [Google::Apis::AuthorizationError] Authorization is required
880
- def list_project_location_repository_compilation_results(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
884
+ def list_project_location_repository_compilation_results(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
881
885
  command = make_simple_command(:get, 'v1beta1/{+parent}/compilationResults', options)
882
886
  command.response_representation = Google::Apis::DataformV1beta1::ListCompilationResultsResponse::Representation
883
887
  command.response_class = Google::Apis::DataformV1beta1::ListCompilationResultsResponse
884
888
  command.params['parent'] = parent unless parent.nil?
885
889
  command.query['filter'] = filter unless filter.nil?
890
+ command.query['orderBy'] = order_by unless order_by.nil?
886
891
  command.query['pageSize'] = page_size unless page_size.nil?
887
892
  command.query['pageToken'] = page_token unless page_token.nil?
888
893
  command.query['fields'] = fields unless fields.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.27.0
4
+ version: 0.28.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-03-31 00:00:00.000000000 Z
11
+ date: 2024-04-28 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.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataform_v1beta1/v0.28.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: []