google-cloud-dataform-v1beta1 0.15.0 → 0.16.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.
@@ -107,7 +107,13 @@ module Google
107
107
  # Required. The Git remote's URL.
108
108
  # @!attribute [rw] default_branch
109
109
  # @return [::String]
110
- # Required. The Git remote's default branch name.
110
+ # Optional. The Git remote's default branch name.
111
+ # If not set, `main` will be used.
112
+ # @!attribute [r] effective_default_branch
113
+ # @return [::String]
114
+ # Output only. The Git remote's effective default branch name.
115
+ # This is the default branch name of the Git remote if it is set,
116
+ # otherwise it is `main`.
111
117
  # @!attribute [rw] authentication_token_secret_version
112
118
  # @return [::String]
113
119
  # Optional. The name of the Secret Manager secret version to use as an
@@ -116,6 +122,11 @@ module Google
116
122
  # @!attribute [rw] ssh_authentication_config
117
123
  # @return [::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::SshAuthenticationConfig]
118
124
  # Optional. Authentication fields for remote uris using SSH protocol.
125
+ # @!attribute [rw] git_repository_link
126
+ # @return [::String]
127
+ # Optional. Resource name for the `GitRepositoryLink` used for machine
128
+ # credentials. Must be in the format
129
+ # `projects/*/locations/*/connections/*/gitRepositoryLinks/*`
119
130
  # @!attribute [r] token_status
120
131
  # @deprecated This field is deprecated and may be removed in the next major version update.
121
132
  # @return [::Google::Cloud::Dataform::V1beta1::Repository::GitRemoteSettings::TokenStatus]
@@ -320,6 +331,30 @@ module Google
320
331
  extend ::Google::Protobuf::MessageExts::ClassMethods
321
332
  end
322
333
 
334
+ # `DeleteRepositoryLongRunning` response message.
335
+ class DeleteRepositoryLongRunningResponse
336
+ include ::Google::Protobuf::MessageExts
337
+ extend ::Google::Protobuf::MessageExts::ClassMethods
338
+ end
339
+
340
+ # `DeleteRepositoryLongRunning` request message.
341
+ # @!attribute [rw] name
342
+ # @return [::String]
343
+ # Required. The repository's name.
344
+ # @!attribute [rw] force
345
+ # @return [::Boolean]
346
+ # Optional. If set to true, child resources of this repository (compilation
347
+ # results and workflow invocations) will also be deleted. Otherwise, the
348
+ # request will only succeed if the repository has no child resources.
349
+ #
350
+ # **Note:** *This flag doesn't support deletion of workspaces, release
351
+ # configs or workflow configs. If any of such resources exists in the
352
+ # repository, the request will fail.*
353
+ class DeleteRepositoryLongRunningRequest
354
+ include ::Google::Protobuf::MessageExts
355
+ extend ::Google::Protobuf::MessageExts::ClassMethods
356
+ end
357
+
323
358
  # `CommitRepositoryChanges` request message.
324
359
  # @!attribute [rw] name
325
360
  # @return [::String]
@@ -555,6 +590,9 @@ module Google
555
590
 
556
591
  # The token was used successfully to authenticate against the Git remote.
557
592
  VALID = 3
593
+
594
+ # The token is not accessible due to permission issues.
595
+ PERMISSION_DENIED = 4
558
596
  end
559
597
  end
560
598
 
@@ -907,6 +945,12 @@ module Google
907
945
  # When paginating, all other parameters provided to
908
946
  # `QueryDirectoryContents`, with the exception of `page_size`, must match the
909
947
  # call that provided the page token.
948
+ # @!attribute [rw] view
949
+ # @return [::Google::Cloud::Dataform::V1beta1::DirectoryContentsView]
950
+ # Optional. Specifies the metadata to return for each directory entry.
951
+ # If unspecified, the default is `DIRECTORY_CONTENTS_VIEW_BASIC`.
952
+ # Currently the `DIRECTORY_CONTENTS_VIEW_METADATA` view is not supported by
953
+ # CMEK-protected workspaces.
910
954
  class QueryDirectoryContentsRequest
911
955
  include ::Google::Protobuf::MessageExts
912
956
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -928,19 +972,37 @@ module Google
928
972
  # Represents a single entry in a directory.
929
973
  # @!attribute [rw] file
930
974
  # @return [::String]
931
- # A file in the directory.
975
+ # A file in the directory. The path is returned including the full
976
+ # folder structure from the root.
932
977
  #
933
978
  # Note: The following fields are mutually exclusive: `file`, `directory`. If a field in that set is populated, all other fields in the set will automatically be cleared.
934
979
  # @!attribute [rw] directory
935
980
  # @return [::String]
936
- # A child directory in the directory.
981
+ # A child directory in the directory. The path is returned including
982
+ # the full folder structure from the root.
937
983
  #
938
984
  # Note: The following fields are mutually exclusive: `directory`, `file`. If a field in that set is populated, all other fields in the set will automatically be cleared.
985
+ # @!attribute [rw] metadata
986
+ # @return [::Google::Cloud::Dataform::V1beta1::FilesystemEntryMetadata]
987
+ # Entry with metadata.
939
988
  class DirectoryEntry
940
989
  include ::Google::Protobuf::MessageExts
941
990
  extend ::Google::Protobuf::MessageExts::ClassMethods
942
991
  end
943
992
 
993
+ # Represents metadata for a single entry in a filesystem.
994
+ # @!attribute [r] size_bytes
995
+ # @return [::Integer]
996
+ # Output only. Provides the size of the entry in bytes. For directories, this
997
+ # will be 0.
998
+ # @!attribute [r] update_time
999
+ # @return [::Google::Protobuf::Timestamp]
1000
+ # Output only. Represents the time of the last modification of the entry.
1001
+ class FilesystemEntryMetadata
1002
+ include ::Google::Protobuf::MessageExts
1003
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1004
+ end
1005
+
944
1006
  # Configuration containing file search request parameters.
945
1007
  # @!attribute [rw] workspace
946
1008
  # @return [::String]
@@ -2470,9 +2532,10 @@ module Google
2470
2532
  # Output only. The code contents of a Notebook to be run.
2471
2533
  # @!attribute [r] job_id
2472
2534
  # @return [::String]
2473
- # Output only. The ID of the Vertex job that executed the notebook in
2474
- # contents and also the ID used for the outputs created in Google Cloud
2475
- # Storage buckets. Only set once the job has started to run.
2535
+ # Output only. The ID of the Gemini Enterprise Agent Platform job that
2536
+ # executed the notebook in contents and also the ID used for the outputs
2537
+ # created in Google Cloud Storage buckets. Only set once the job has
2538
+ # started to run.
2476
2539
  class NotebookAction
2477
2540
  include ::Google::Protobuf::MessageExts
2478
2541
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2692,8 +2755,8 @@ module Google
2692
2755
  # Optional. The containing Folder resource name. This should take
2693
2756
  # the format: projects/\\{project}/locations/\\{location}/folders/\\{folder},
2694
2757
  # projects/\\{project}/locations/\\{location}/teamFolders/\\{teamFolder}, or just
2695
- # projects/\\{project}/locations/\\{location} if this is a root Folder. This
2696
- # field can only be updated through MoveFolder.
2758
+ # "" if this is a root Folder. This field can only be updated through
2759
+ # MoveFolder.
2697
2760
  # @!attribute [r] team_folder_name
2698
2761
  # @return [::String]
2699
2762
  # Output only. The resource name of the TeamFolder that this Folder is
@@ -2729,7 +2792,10 @@ module Google
2729
2792
  # @return [::Google::Cloud::Dataform::V1beta1::Folder]
2730
2793
  # Required. The Folder to create.
2731
2794
  # @!attribute [rw] folder_id
2795
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2732
2796
  # @return [::String]
2797
+ # Deprecated: This field is not used. The resource name is generated
2798
+ # automatically.
2733
2799
  # The ID to use for the Folder, which will become the final component of
2734
2800
  # the Folder's resource name.
2735
2801
  class CreateFolderRequest
@@ -2784,10 +2850,91 @@ module Google
2784
2850
  extend ::Google::Protobuf::MessageExts::ClassMethods
2785
2851
  end
2786
2852
 
2853
+ # `DeleteFolderTree` request message.
2854
+ # @!attribute [rw] name
2855
+ # @return [::String]
2856
+ # Required. The Folder's name.
2857
+ # Format: projects/\\{project}/locations/\\{location}/folders/\\{folder}
2858
+ # @!attribute [rw] force
2859
+ # @return [::Boolean]
2860
+ # Optional. If `false` (default): The operation will fail if any
2861
+ # Repository within the folder hierarchy has associated Release Configs or
2862
+ # Workflow Configs.
2863
+ #
2864
+ # If `true`: The operation will attempt to delete everything, including any
2865
+ # Release Configs and Workflow Configs linked to Repositories within the
2866
+ # folder hierarchy. This permanently removes schedules and resources.
2867
+ class DeleteFolderTreeRequest
2868
+ include ::Google::Protobuf::MessageExts
2869
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2870
+ end
2871
+
2872
+ # `DeleteTeamFolderTree` request message.
2873
+ # @!attribute [rw] name
2874
+ # @return [::String]
2875
+ # Required. The TeamFolder's name.
2876
+ # Format: projects/\\{project}/locations/\\{location}/teamFolders/\\{team_folder}
2877
+ # @!attribute [rw] force
2878
+ # @return [::Boolean]
2879
+ # Optional. If `false` (default): The operation will fail if any
2880
+ # Repository within the folder hierarchy has associated Release Configs or
2881
+ # Workflow Configs.
2882
+ #
2883
+ # If `true`: The operation will attempt to delete everything, including any
2884
+ # Release Configs and Workflow Configs linked to Repositories within the
2885
+ # folder hierarchy. This permanently removes schedules and resources.
2886
+ class DeleteTeamFolderTreeRequest
2887
+ include ::Google::Protobuf::MessageExts
2888
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2889
+ end
2890
+
2891
+ # Contains metadata about the progress of the DeleteFolderTree Long-running
2892
+ # operations.
2893
+ # @!attribute [r] create_time
2894
+ # @return [::Google::Protobuf::Timestamp]
2895
+ # Output only. The time the operation was created.
2896
+ # @!attribute [r] end_time
2897
+ # @return [::Google::Protobuf::Timestamp]
2898
+ # Output only. The time the operation finished running.
2899
+ # @!attribute [r] target
2900
+ # @return [::String]
2901
+ # Output only. Resource name of the target of the operation.
2902
+ # Format: projects/\\{project}/locations/\\{location}/folders/\\{folder} or
2903
+ # projects/\\{project}/locations/\\{location}/teamFolders/\\{team_folder}
2904
+ # @!attribute [r] state
2905
+ # @return [::Google::Cloud::Dataform::V1beta1::DeleteFolderTreeMetadata::State]
2906
+ # Output only. The state of the operation.
2907
+ # @!attribute [r] percent_complete
2908
+ # @return [::Integer]
2909
+ # Output only. Percent complete of the operation [0, 100].
2910
+ class DeleteFolderTreeMetadata
2911
+ include ::Google::Protobuf::MessageExts
2912
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2913
+
2914
+ # Different states of the DeleteFolderTree operation.
2915
+ module State
2916
+ # The state is unspecified.
2917
+ STATE_UNSPECIFIED = 0
2918
+
2919
+ # The operation was initialized and recorded by the server, but not yet
2920
+ # started.
2921
+ INITIALIZED = 1
2922
+
2923
+ # The operation is in progress.
2924
+ IN_PROGRESS = 2
2925
+
2926
+ # The operation has completed successfully.
2927
+ SUCCEEDED = 3
2928
+
2929
+ # The operation has failed.
2930
+ FAILED = 4
2931
+ end
2932
+ end
2933
+
2787
2934
  # `QueryFolderContents` request message.
2788
2935
  # @!attribute [rw] folder
2789
2936
  # @return [::String]
2790
- # Required. Name of the folder whose contents to list.
2937
+ # Required. Resource name of the Folder to list contents for.
2791
2938
  # Format: projects/*/locations/*/folders/*
2792
2939
  # @!attribute [rw] page_size
2793
2940
  # @return [::Integer]
@@ -2809,15 +2956,17 @@ module Google
2809
2956
  # order. Supported keywords: display_name (default), create_time,
2810
2957
  # last_modified_time.
2811
2958
  # Examples:
2812
- # - `orderBy="display_name"`
2813
- # - `orderBy="display_name desc"`
2959
+ #
2960
+ # * `orderBy="display_name"`
2961
+ # * `orderBy="display_name desc"`
2814
2962
  # @!attribute [rw] filter
2815
2963
  # @return [::String]
2816
2964
  # Optional. Optional filtering for the returned list. Filtering is currently
2817
2965
  # only supported on the `display_name` field.
2818
2966
  #
2819
2967
  # Example:
2820
- # - `filter="display_name="MyFolder""`
2968
+ #
2969
+ # * `filter="display_name="MyFolder""`
2821
2970
  class QueryFolderContentsRequest
2822
2971
  include ::Google::Protobuf::MessageExts
2823
2972
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2855,7 +3004,7 @@ module Google
2855
3004
  # `QueryUserRootContents` request message.
2856
3005
  # @!attribute [rw] location
2857
3006
  # @return [::String]
2858
- # Required. Location of the user root folder whose contents to list.
3007
+ # Required. Location of the user root folder to list contents for.
2859
3008
  # Format: projects/*/locations/*
2860
3009
  # @!attribute [rw] page_size
2861
3010
  # @return [::Integer]
@@ -2876,15 +3025,17 @@ module Google
2876
3025
  # Will order Folders before Repositories, and then by `order_by` in ascending
2877
3026
  # order. Supported keywords: display_name (default), created_at,
2878
3027
  # last_modified_at. Examples:
2879
- # - `orderBy="display_name"`
2880
- # - `orderBy="display_name desc"`
3028
+ #
3029
+ # * `orderBy="display_name"`
3030
+ # * `orderBy="display_name desc"`
2881
3031
  # @!attribute [rw] filter
2882
3032
  # @return [::String]
2883
3033
  # Optional. Optional filtering for the returned list. Filtering is currently
2884
3034
  # only supported on the `display_name` field.
2885
3035
  #
2886
3036
  # Example:
2887
- # - `filter="display_name="MyFolder""`
3037
+ #
3038
+ # * `filter="display_name="MyFolder""`
2888
3039
  class QueryUserRootContentsRequest
2889
3040
  include ::Google::Protobuf::MessageExts
2890
3041
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2956,7 +3107,10 @@ module Google
2956
3107
  # @return [::Google::Cloud::Dataform::V1beta1::TeamFolder]
2957
3108
  # Required. The TeamFolder to create.
2958
3109
  # @!attribute [rw] team_folder_id
3110
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2959
3111
  # @return [::String]
3112
+ # Deprecated: This field is not used. The resource name is generated
3113
+ # automatically.
2960
3114
  # The ID to use for the TeamFolder, which will become the final component of
2961
3115
  # the TeamFolder's resource name.
2962
3116
  class CreateTeamFolderRequest
@@ -2998,7 +3152,7 @@ module Google
2998
3152
  # `QueryTeamFolderContents` request message.
2999
3153
  # @!attribute [rw] team_folder
3000
3154
  # @return [::String]
3001
- # Required. Name of the team_folder whose contents to list.
3155
+ # Required. Resource name of the TeamFolder to list contents for.
3002
3156
  # Format: `projects/*/locations/*/teamFolders/*`.
3003
3157
  # @!attribute [rw] page_size
3004
3158
  # @return [::Integer]
@@ -3020,15 +3174,17 @@ module Google
3020
3174
  # order. Supported keywords: `display_name` (default), `create_time`,
3021
3175
  # last_modified_time.
3022
3176
  # Examples:
3023
- # - `orderBy="display_name"`
3024
- # - `orderBy="display_name desc"`
3177
+ #
3178
+ # * `orderBy="display_name"`
3179
+ # * `orderBy="display_name desc"`
3025
3180
  # @!attribute [rw] filter
3026
3181
  # @return [::String]
3027
3182
  # Optional. Optional filtering for the returned list. Filtering is currently
3028
3183
  # only supported on the `display_name` field.
3029
3184
  #
3030
3185
  # Example:
3031
- # - `filter="display_name="MyFolder""`
3186
+ #
3187
+ # * `filter="display_name="MyFolder""`
3032
3188
  class QueryTeamFolderContentsRequest
3033
3189
  include ::Google::Protobuf::MessageExts
3034
3190
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3070,9 +3226,9 @@ module Google
3070
3226
  # Format: `projects/*/locations/*`.
3071
3227
  # @!attribute [rw] page_size
3072
3228
  # @return [::Integer]
3073
- # Optional. Maximum number of TeamFolders to return. The server may return
3074
- # fewer items than requested. If unspecified, the server will pick an
3075
- # appropriate default.
3229
+ # Optional. Maximum number of `TeamFolders` to return. The server may return
3230
+ # fewer items than requested. If unspecified, the server will pick a default
3231
+ # of `page_size` = 50.
3076
3232
  # @!attribute [rw] page_token
3077
3233
  # @return [::String]
3078
3234
  # Optional. Page token received from a previous `SearchTeamFolders` call.
@@ -3086,15 +3242,17 @@ module Google
3086
3242
  # Optional. Field to additionally sort results by.
3087
3243
  # Supported keywords: `display_name` (default), `create_time`,
3088
3244
  # `last_modified_time`. Examples:
3089
- # - `orderBy="display_name"`
3090
- # - `orderBy="display_name desc"`
3245
+ #
3246
+ # * `orderBy="display_name"`
3247
+ # * `orderBy="display_name desc"`
3091
3248
  # @!attribute [rw] filter
3092
3249
  # @return [::String]
3093
3250
  # Optional. Optional filtering for the returned list. Filtering is currently
3094
3251
  # only supported on the `display_name` field.
3095
3252
  #
3096
3253
  # Example:
3097
- # - `filter="display_name="MyFolder""`
3254
+ #
3255
+ # * `filter="display_name="MyFolder""`
3098
3256
  class SearchTeamFoldersRequest
3099
3257
  include ::Google::Protobuf::MessageExts
3100
3258
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3201,6 +3359,64 @@ module Google
3201
3359
  FAILED = 4
3202
3360
  end
3203
3361
  end
3362
+
3363
+ # Represents metadata about the progress of the DeleteRepository long-running
3364
+ # operation.
3365
+ # @!attribute [r] create_time
3366
+ # @return [::Google::Protobuf::Timestamp]
3367
+ # Output only. The time the operation was created.
3368
+ # @!attribute [r] end_time
3369
+ # @return [::Google::Protobuf::Timestamp]
3370
+ # Output only. The time the operation finished running.
3371
+ # @!attribute [r] target
3372
+ # @return [::String]
3373
+ # Output only. Server-defined resource path for the target of the operation.
3374
+ # Format: projects/\\{project}/locations/\\{location}/repositories/\\{repository}
3375
+ # @!attribute [r] state
3376
+ # @return [::Google::Cloud::Dataform::V1beta1::DeleteRepositoryLongRunningMetadata::State]
3377
+ # Output only. The state of the operation.
3378
+ # @!attribute [r] percent_complete
3379
+ # @return [::Integer]
3380
+ # Output only. Percent complete of the operation [0, 100].
3381
+ # @!attribute [r] child_resources_count
3382
+ # @return [::Integer]
3383
+ # Output only. The total number of child resources (Compilation Results,
3384
+ # Workflow Executions) that will be deleted.
3385
+ # @!attribute [r] remaining_child_resources_count
3386
+ # @return [::Integer]
3387
+ # Output only. The remaining number of child resources to be deleted.
3388
+ class DeleteRepositoryLongRunningMetadata
3389
+ include ::Google::Protobuf::MessageExts
3390
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3391
+
3392
+ # Different states of the DeleteRepositoryLongRunning operation.
3393
+ module State
3394
+ # The state is unspecified.
3395
+ STATE_UNSPECIFIED = 0
3396
+
3397
+ # The operation is running.
3398
+ RUNNING = 1
3399
+
3400
+ # The operation has completed successfully.
3401
+ SUCCEEDED = 2
3402
+
3403
+ # The operation has failed.
3404
+ FAILED = 3
3405
+ end
3406
+ end
3407
+
3408
+ # Represents the level of detail to return for directory contents.
3409
+ module DirectoryContentsView
3410
+ # The default unset value. Defaults to DIRECTORY_CONTENTS_VIEW_BASIC.
3411
+ DIRECTORY_CONTENTS_VIEW_UNSPECIFIED = 0
3412
+
3413
+ # Includes only the file or directory name. This is the default behavior.
3414
+ DIRECTORY_CONTENTS_VIEW_BASIC = 1
3415
+
3416
+ # Includes all metadata for each file or directory. Currently not supported
3417
+ # by CMEK-protected workspaces.
3418
+ DIRECTORY_CONTENTS_VIEW_METADATA = 2
3419
+ end
3204
3420
  end
3205
3421
  end
3206
3422
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dataform-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC