google-cloud-secure_source_manager-v1 0.a → 0.1.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.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +149 -0
  4. data/README.md +144 -8
  5. data/lib/google/cloud/secure_source_manager/v1/bindings_override.rb +135 -0
  6. data/lib/google/cloud/secure_source_manager/v1/rest.rb +38 -0
  7. data/lib/google/cloud/secure_source_manager/v1/secure_source_manager/client.rb +1538 -0
  8. data/lib/google/cloud/secure_source_manager/v1/secure_source_manager/credentials.rb +47 -0
  9. data/lib/google/cloud/secure_source_manager/v1/secure_source_manager/operations.rb +779 -0
  10. data/lib/google/cloud/secure_source_manager/v1/secure_source_manager/paths.rb +109 -0
  11. data/lib/google/cloud/secure_source_manager/v1/secure_source_manager/rest/client.rb +1440 -0
  12. data/lib/google/cloud/secure_source_manager/v1/secure_source_manager/rest/operations.rb +870 -0
  13. data/lib/google/cloud/secure_source_manager/v1/secure_source_manager/rest/service_stub.rb +701 -0
  14. data/lib/google/cloud/secure_source_manager/v1/secure_source_manager/rest.rb +73 -0
  15. data/lib/google/cloud/secure_source_manager/v1/secure_source_manager.rb +75 -0
  16. data/lib/google/cloud/secure_source_manager/v1/version.rb +7 -2
  17. data/lib/google/cloud/secure_source_manager/v1.rb +45 -0
  18. data/lib/google/cloud/securesourcemanager/v1/secure_source_manager_pb.rb +70 -0
  19. data/lib/google/cloud/securesourcemanager/v1/secure_source_manager_services_pb.rb +93 -0
  20. data/lib/google-cloud-secure_source_manager-v1.rb +21 -0
  21. data/proto_docs/README.md +4 -0
  22. data/proto_docs/google/api/client.rb +394 -0
  23. data/proto_docs/google/api/field_behavior.rb +85 -0
  24. data/proto_docs/google/api/launch_stage.rb +71 -0
  25. data/proto_docs/google/api/resource.rb +222 -0
  26. data/proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb +530 -0
  27. data/proto_docs/google/longrunning/operations.rb +164 -0
  28. data/proto_docs/google/protobuf/any.rb +144 -0
  29. data/proto_docs/google/protobuf/duration.rb +98 -0
  30. data/proto_docs/google/protobuf/empty.rb +34 -0
  31. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  32. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  33. data/proto_docs/google/rpc/status.rb +48 -0
  34. data/proto_docs/google/type/expr.rb +75 -0
  35. metadata +227 -10
@@ -0,0 +1,530 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module SecureSourceManager
23
+ module V1
24
+ # A resource that represents a Secure Source Manager instance.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Optional. A unique identifier for an instance. The name should be of the
28
+ # format:
29
+ # `projects/{project_number}/locations/{location_id}/instances/{instance_id}`
30
+ #
31
+ # `project_number`: Maps to a unique int64 id assigned to each project.
32
+ #
33
+ # `location_id`: Refers to the region where the instance will be deployed.
34
+ # Since Secure Source Manager is a regional service, it must be one of the
35
+ # valid GCP regions.
36
+ #
37
+ # `instance_id`: User provided name for the instance, must be unique for a
38
+ # project_number and location_id combination.
39
+ # @!attribute [r] create_time
40
+ # @return [::Google::Protobuf::Timestamp]
41
+ # Output only. Create timestamp.
42
+ # @!attribute [r] update_time
43
+ # @return [::Google::Protobuf::Timestamp]
44
+ # Output only. Update timestamp.
45
+ # @!attribute [rw] labels
46
+ # @return [::Google::Protobuf::Map{::String => ::String}]
47
+ # Optional. Labels as key value pairs.
48
+ # @!attribute [r] state
49
+ # @return [::Google::Cloud::SecureSourceManager::V1::Instance::State]
50
+ # Output only. Current state of the instance.
51
+ # @!attribute [r] state_note
52
+ # @return [::Google::Cloud::SecureSourceManager::V1::Instance::StateNote]
53
+ # Output only. An optional field providing information about the current
54
+ # instance state.
55
+ # @!attribute [rw] kms_key
56
+ # @return [::String]
57
+ # Optional. Immutable. Customer-managed encryption key name, in the format
58
+ # projects/*/locations/*/keyRings/*/cryptoKeys/*.
59
+ # @!attribute [r] host_config
60
+ # @return [::Google::Cloud::SecureSourceManager::V1::Instance::HostConfig]
61
+ # Output only. A list of hostnames for this instance.
62
+ class Instance
63
+ include ::Google::Protobuf::MessageExts
64
+ extend ::Google::Protobuf::MessageExts::ClassMethods
65
+
66
+ # HostConfig has different instance endpoints.
67
+ # @!attribute [r] html
68
+ # @return [::String]
69
+ # Output only. HTML hostname.
70
+ # @!attribute [r] api
71
+ # @return [::String]
72
+ # Output only. API hostname. This is the hostname to use for **Host: Data
73
+ # Plane** endpoints.
74
+ # @!attribute [r] git_http
75
+ # @return [::String]
76
+ # Output only. Git HTTP hostname.
77
+ # @!attribute [r] git_ssh
78
+ # @return [::String]
79
+ # Output only. Git SSH hostname.
80
+ class HostConfig
81
+ include ::Google::Protobuf::MessageExts
82
+ extend ::Google::Protobuf::MessageExts::ClassMethods
83
+ end
84
+
85
+ # @!attribute [rw] key
86
+ # @return [::String]
87
+ # @!attribute [rw] value
88
+ # @return [::String]
89
+ class LabelsEntry
90
+ include ::Google::Protobuf::MessageExts
91
+ extend ::Google::Protobuf::MessageExts::ClassMethods
92
+ end
93
+
94
+ # Secure Source Manager instance state.
95
+ module State
96
+ # Not set. This should only be the case for incoming requests.
97
+ STATE_UNSPECIFIED = 0
98
+
99
+ # Instance is being created.
100
+ CREATING = 1
101
+
102
+ # Instance is ready.
103
+ ACTIVE = 2
104
+
105
+ # Instance is being deleted.
106
+ DELETING = 3
107
+
108
+ # Instance is paused.
109
+ PAUSED = 4
110
+ end
111
+
112
+ # Provides information about the current instance state.
113
+ module StateNote
114
+ # STATE_NOTE_UNSPECIFIED as the first value of State.
115
+ STATE_NOTE_UNSPECIFIED = 0
116
+
117
+ # CMEK access is unavailable.
118
+ PAUSED_CMEK_UNAVAILABLE = 1
119
+
120
+ # INSTANCE_RESUMING indicates that the instance was previously paused
121
+ # and is under the process of being brought back.
122
+ INSTANCE_RESUMING = 2
123
+ end
124
+ end
125
+
126
+ # Metadata of a Secure Source Manager repository.
127
+ # @!attribute [rw] name
128
+ # @return [::String]
129
+ # Optional. A unique identifier for a repository. The name should be of the
130
+ # format:
131
+ # `projects/{project}/locations/{location_id}/repositories/{repository_id}`
132
+ # @!attribute [rw] description
133
+ # @return [::String]
134
+ # Optional. Description of the repository, which cannot exceed 500
135
+ # characters.
136
+ # @!attribute [r] instance
137
+ # @return [::String]
138
+ # Output only. The name of the instance in which the repository is hosted,
139
+ # formatted as
140
+ # `projects/{project_number}/locations/{location_id}/instances/{instance_id}`
141
+ # @!attribute [r] uid
142
+ # @return [::String]
143
+ # Output only. Unique identifier of the repository.
144
+ # @!attribute [r] create_time
145
+ # @return [::Google::Protobuf::Timestamp]
146
+ # Output only. Create timestamp.
147
+ # @!attribute [r] update_time
148
+ # @return [::Google::Protobuf::Timestamp]
149
+ # Output only. Update timestamp.
150
+ # @!attribute [rw] etag
151
+ # @return [::String]
152
+ # Optional. This checksum is computed by the server based on the value of
153
+ # other fields, and may be sent on update and delete requests to ensure the
154
+ # client has an up-to-date value before proceeding.
155
+ # @!attribute [r] uris
156
+ # @return [::Google::Cloud::SecureSourceManager::V1::Repository::URIs]
157
+ # Output only. URIs for the repository.
158
+ # @!attribute [rw] initial_config
159
+ # @return [::Google::Cloud::SecureSourceManager::V1::Repository::InitialConfig]
160
+ # Input only. Initial configurations for the repository.
161
+ class Repository
162
+ include ::Google::Protobuf::MessageExts
163
+ extend ::Google::Protobuf::MessageExts::ClassMethods
164
+
165
+ # URIs for the repository.
166
+ # @!attribute [r] html
167
+ # @return [::String]
168
+ # Output only. HTML is the URI for user to view the repository in a
169
+ # browser.
170
+ # @!attribute [r] git_https
171
+ # @return [::String]
172
+ # Output only. git_https is the git HTTPS URI for git operations.
173
+ # @!attribute [r] api
174
+ # @return [::String]
175
+ # Output only. API is the URI for API access.
176
+ class URIs
177
+ include ::Google::Protobuf::MessageExts
178
+ extend ::Google::Protobuf::MessageExts::ClassMethods
179
+ end
180
+
181
+ # Repository initialization configuration.
182
+ # @!attribute [rw] default_branch
183
+ # @return [::String]
184
+ # Default branch name of the repository.
185
+ # @!attribute [rw] gitignores
186
+ # @return [::Array<::String>]
187
+ # List of gitignore template names user can choose from.
188
+ # Valid values: actionscript, ada, agda, android,
189
+ # anjuta, ansible, appcelerator-titanium, app-engine, archives,
190
+ # arch-linux-packages, atmel-studio, autotools, backup, bazaar, bazel,
191
+ # bitrix, bricx-cc, c, cake-php, calabash, cf-wheels, chef-cookbook,
192
+ # clojure, cloud9, c-make, code-igniter, code-kit, code-sniffer,
193
+ # common-lisp, composer, concrete5, coq, cordova, cpp, craft-cms, cuda,
194
+ # cvs, d, dart, dart-editor, delphi, diff, dm, dreamweaver, dropbox,
195
+ # drupal, drupal-7, eagle, eclipse, eiffel-studio, elisp, elixir, elm,
196
+ # emacs, ensime, epi-server, erlang, esp-idf, espresso, exercism,
197
+ # expression-engine, ext-js, fancy, finale, flex-builder, force-dot-com,
198
+ # fortran, fuel-php, gcov, git-book, gnome-shell-extension, go, godot, gpg,
199
+ # gradle, grails, gwt, haskell, hugo, iar-ewarm, idris, igor-pro, images,
200
+ # infor-cms, java, jboss, jboss-4, jboss-6, jdeveloper, jekyll,
201
+ # jenkins-home, jenv, jet-brains, jigsaw, joomla, julia, jupyter-notebooks,
202
+ # kate, kdevelop4, kentico, ki-cad, kohana, kotlin, lab-view, laravel,
203
+ # lazarus, leiningen, lemon-stand, libre-office, lilypond, linux, lithium,
204
+ # logtalk, lua, lyx, mac-os, magento, magento-1, magento-2, matlab, maven,
205
+ # mercurial, mercury, metals, meta-programming-system, meteor,
206
+ # microsoft-office, model-sim, momentics, mono-develop, nanoc, net-beans,
207
+ # nikola, nim, ninja, node, notepad-pp, nwjs, objective--c, ocaml, octave,
208
+ # opa, open-cart, openssl, oracle-forms, otto, packer, patch, perl, perl6,
209
+ # phalcon, phoenix, pimcore, play-framework, plone, prestashop, processing,
210
+ # psoc-creator, puppet, pure-script, putty, python, qooxdoo, qt, r, racket,
211
+ # rails, raku, red, redcar, redis, rhodes-rhomobile, ros, ruby, rust, sam,
212
+ # sass, sbt, scala, scheme, scons, scrivener, sdcc, seam-gen, sketch-up,
213
+ # slick-edit, smalltalk, snap, splunk, stata, stella, sublime-text,
214
+ # sugar-crm, svn, swift, symfony, symphony-cms, synopsys-vcs, tags,
215
+ # terraform, tex, text-mate, textpattern, think-php, tortoise-git,
216
+ # turbo-gears-2, typo3, umbraco, unity, unreal-engine, vagrant, vim,
217
+ # virtual-env, virtuoso, visual-studio, visual-studio-code, vue, vvvv, waf,
218
+ # web-methods, windows, word-press, xcode, xilinx, xilinx-ise, xojo,
219
+ # yeoman, yii, zend-framework, zephir.
220
+ # @!attribute [rw] license
221
+ # @return [::String]
222
+ # License template name user can choose from.
223
+ # Valid values: license-0bsd, license-389-exception, aal, abstyles,
224
+ # adobe-2006, adobe-glyph, adsl, afl-1-1, afl-1-2, afl-2-0, afl-2-1,
225
+ # afl-3-0, afmparse, agpl-1-0, agpl-1-0-only, agpl-1-0-or-later,
226
+ # agpl-3-0-only, agpl-3-0-or-later, aladdin, amdplpa, aml, ampas, antlr-pd,
227
+ # antlr-pd-fallback, apache-1-0, apache-1-1, apache-2-0, apafml, apl-1-0,
228
+ # apsl-1-0, apsl-1-1, apsl-1-2, apsl-2-0, artistic-1-0, artistic-1-0-cl8,
229
+ # artistic-1-0-perl, artistic-2-0, autoconf-exception-2-0,
230
+ # autoconf-exception-3-0, bahyph, barr, beerware, bison-exception-2-2,
231
+ # bittorrent-1-0, bittorrent-1-1, blessing, blueoak-1-0-0,
232
+ # bootloader-exception, borceux, bsd-1-clause, bsd-2-clause,
233
+ # bsd-2-clause-freebsd, bsd-2-clause-netbsd, bsd-2-clause-patent,
234
+ # bsd-2-clause-views, bsd-3-clause, bsd-3-clause-attribution,
235
+ # bsd-3-clause-clear, bsd-3-clause-lbnl, bsd-3-clause-modification,
236
+ # bsd-3-clause-no-nuclear-license, bsd-3-clause-no-nuclear-license-2014,
237
+ # bsd-3-clause-no-nuclear-warranty, bsd-3-clause-open-mpi, bsd-4-clause,
238
+ # bsd-4-clause-shortened, bsd-4-clause-uc, bsd-protection, bsd-source-code,
239
+ # bsl-1-0, busl-1-1, cal-1-0, cal-1-0-combined-work-exception, caldera,
240
+ # catosl-1-1, cc0-1-0, cc-by-1-0, cc-by-2-0, cc-by-3-0, cc-by-3-0-at,
241
+ # cc-by-3-0-us, cc-by-4-0, cc-by-nc-1-0, cc-by-nc-2-0, cc-by-nc-3-0,
242
+ # cc-by-nc-4-0, cc-by-nc-nd-1-0, cc-by-nc-nd-2-0, cc-by-nc-nd-3-0,
243
+ # cc-by-nc-nd-3-0-igo, cc-by-nc-nd-4-0, cc-by-nc-sa-1-0, cc-by-nc-sa-2-0,
244
+ # cc-by-nc-sa-3-0, cc-by-nc-sa-4-0, cc-by-nd-1-0, cc-by-nd-2-0,
245
+ # cc-by-nd-3-0, cc-by-nd-4-0, cc-by-sa-1-0, cc-by-sa-2-0, cc-by-sa-2-0-uk,
246
+ # cc-by-sa-2-1-jp, cc-by-sa-3-0, cc-by-sa-3-0-at, cc-by-sa-4-0, cc-pddc,
247
+ # cddl-1-0, cddl-1-1, cdla-permissive-1-0, cdla-sharing-1-0, cecill-1-0,
248
+ # cecill-1-1, cecill-2-0, cecill-2-1, cecill-b, cecill-c, cern-ohl-1-1,
249
+ # cern-ohl-1-2, cern-ohl-p-2-0, cern-ohl-s-2-0, cern-ohl-w-2-0, clartistic,
250
+ # classpath-exception-2-0, clisp-exception-2-0, cnri-jython, cnri-python,
251
+ # cnri-python-gpl-compatible, condor-1-1, copyleft-next-0-3-0,
252
+ # copyleft-next-0-3-1, cpal-1-0, cpl-1-0, cpol-1-02, crossword,
253
+ # crystal-stacker, cua-opl-1-0, cube, c-uda-1-0, curl, d-fsl-1-0, diffmark,
254
+ # digirule-foss-exception, doc, dotseqn, drl-1-0, dsdp, dvipdfm, ecl-1-0,
255
+ # ecl-2-0, ecos-exception-2-0, efl-1-0, efl-2-0, egenix, entessa, epics,
256
+ # epl-1-0, epl-2-0, erlpl-1-1, etalab-2-0, eu-datagrid, eupl-1-0, eupl-1-1,
257
+ # eupl-1-2, eurosym, fair, fawkes-runtime-exception, fltk-exception,
258
+ # font-exception-2-0, frameworx-1-0, freebsd-doc, freeimage,
259
+ # freertos-exception-2-0, fsfap, fsful, fsfullr, ftl, gcc-exception-2-0,
260
+ # gcc-exception-3-1, gd, gfdl-1-1-invariants-only,
261
+ # gfdl-1-1-invariants-or-later, gfdl-1-1-no-invariants-only,
262
+ # gfdl-1-1-no-invariants-or-later, gfdl-1-1-only, gfdl-1-1-or-later,
263
+ # gfdl-1-2-invariants-only, gfdl-1-2-invariants-or-later,
264
+ # gfdl-1-2-no-invariants-only, gfdl-1-2-no-invariants-or-later,
265
+ # gfdl-1-2-only, gfdl-1-2-or-later, gfdl-1-3-invariants-only,
266
+ # gfdl-1-3-invariants-or-later, gfdl-1-3-no-invariants-only,
267
+ # gfdl-1-3-no-invariants-or-later, gfdl-1-3-only, gfdl-1-3-or-later,
268
+ # giftware, gl2ps, glide, glulxe, glwtpl, gnu-javamail-exception, gnuplot,
269
+ # gpl-1-0-only, gpl-1-0-or-later, gpl-2-0-only, gpl-2-0-or-later,
270
+ # gpl-3-0-linking-exception, gpl-3-0-linking-source-exception,
271
+ # gpl-3-0-only, gpl-3-0-or-later, gpl-cc-1-0, gsoap-1-3b, haskell-report,
272
+ # hippocratic-2-1, hpnd, hpnd-sell-variant, htmltidy,
273
+ # i2p-gpl-java-exception, ibm-pibs, icu, ijg, image-magick, imatix, imlib2,
274
+ # info-zip, intel, intel-acpi, interbase-1-0, ipa, ipl-1-0, isc,
275
+ # jasper-2-0, jpnic, json, lal-1-2, lal-1-3, latex2e, leptonica,
276
+ # lgpl-2-0-only, lgpl-2-0-or-later, lgpl-2-1-only, lgpl-2-1-or-later,
277
+ # lgpl-3-0-linking-exception, lgpl-3-0-only, lgpl-3-0-or-later, lgpllr,
278
+ # libpng, libpng-2-0, libselinux-1-0, libtiff, libtool-exception,
279
+ # liliq-p-1-1, liliq-r-1-1, liliq-rplus-1-1, linux-openib,
280
+ # linux-syscall-note, llvm-exception, lpl-1-0, lpl-1-02, lppl-1-0,
281
+ # lppl-1-1, lppl-1-2, lppl-1-3a, lppl-1-3c, lzma-exception, make-index,
282
+ # mif-exception, miros, mit, mit-0, mit-advertising, mit-cmu, mit-enna,
283
+ # mit-feh, mit-modern-variant, mitnfa, mit-open-group, motosoto, mpich2,
284
+ # mpl-1-0, mpl-1-1, mpl-2-0, mpl-2-0-no-copyleft-exception, ms-pl, ms-rl,
285
+ # mtll, mulanpsl-1-0, mulanpsl-2-0, multics, mup, naist-2003, nasa-1-3,
286
+ # naumen, nbpl-1-0, ncgl-uk-2-0, ncsa, netcdf, net-snmp, newsletr, ngpl,
287
+ # nist-pd, nist-pd-fallback, nlod-1-0, nlpl, nokia, nokia-qt-exception-1-1,
288
+ # nosl, noweb, npl-1-0, npl-1-1, nposl-3-0, nrl, ntp, ntp-0,
289
+ # ocaml-lgpl-linking-exception, occt-exception-1-0, occt-pl, oclc-2-0,
290
+ # odbl-1-0, odc-by-1-0, ofl-1-0, ofl-1-0-no-rfn, ofl-1-0-rfn, ofl-1-1,
291
+ # ofl-1-1-no-rfn, ofl-1-1-rfn, ogc-1-0, ogdl-taiwan-1-0, ogl-canada-2-0,
292
+ # ogl-uk-1-0, ogl-uk-2-0, ogl-uk-3-0, ogtsl, oldap-1-1, oldap-1-2,
293
+ # oldap-1-3, oldap-1-4, oldap-2-0, oldap-2-0-1, oldap-2-1, oldap-2-2,
294
+ # oldap-2-2-1, oldap-2-2-2, oldap-2-3, oldap-2-4, oldap-2-7, oml,
295
+ # openjdk-assembly-exception-1-0, openssl, openvpn-openssl-exception,
296
+ # opl-1-0, oset-pl-2-1, osl-1-0, osl-1-1, osl-2-0, osl-2-1, osl-3-0,
297
+ # o-uda-1-0, parity-6-0-0, parity-7-0-0, pddl-1-0, php-3-0, php-3-01,
298
+ # plexus, polyform-noncommercial-1-0-0, polyform-small-business-1-0-0,
299
+ # postgresql, psf-2-0, psfrag, ps-or-pdf-font-exception-20170817, psutils,
300
+ # python-2-0, qhull, qpl-1-0, qt-gpl-exception-1-0, qt-lgpl-exception-1-1,
301
+ # qwt-exception-1-0, rdisc, rhecos-1-1, rpl-1-1, rpsl-1-0, rsa-md, rscpl,
302
+ # ruby, saxpath, sax-pd, scea, sendmail, sendmail-8-23, sgi-b-1-0,
303
+ # sgi-b-1-1, sgi-b-2-0, shl-0-51, shl-2-0, shl-2-1, simpl-2-0, sissl,
304
+ # sissl-1-2, sleepycat, smlnj, smppl, snia, spencer-86, spencer-94,
305
+ # spencer-99, spl-1-0, ssh-openssh, ssh-short, sspl-1-0, sugarcrm-1-1-3,
306
+ # swift-exception, swl, tapr-ohl-1-0, tcl, tcp-wrappers, tmate, torque-1-1,
307
+ # tosl, tu-berlin-1-0, tu-berlin-2-0, u-boot-exception-2-0, ucl-1-0,
308
+ # unicode-dfs-2015, unicode-dfs-2016, unicode-tou,
309
+ # universal-foss-exception-1-0, unlicense, upl-1-0, vim, vostrom, vsl-1-0,
310
+ # w3c, w3c-19980720, w3c-20150513, watcom-1-0, wsuipa, wtfpl,
311
+ # wxwindows-exception-3-1, x11, xerox, xfree86-1-1, xinetd, xnet, xpp,
312
+ # xskat, ypl-1-0, ypl-1-1, zed, zend-2-0, zimbra-1-3, zimbra-1-4, zlib,
313
+ # zlib-acknowledgement, zpl-1-1, zpl-2-0, zpl-2-1.
314
+ # @!attribute [rw] readme
315
+ # @return [::String]
316
+ # README template name.
317
+ # Valid template name(s) are: default.
318
+ class InitialConfig
319
+ include ::Google::Protobuf::MessageExts
320
+ extend ::Google::Protobuf::MessageExts::ClassMethods
321
+ end
322
+ end
323
+
324
+ # ListInstancesRequest is the request to list instances.
325
+ # @!attribute [rw] parent
326
+ # @return [::String]
327
+ # Required. Parent value for ListInstancesRequest.
328
+ # @!attribute [rw] page_size
329
+ # @return [::Integer]
330
+ # Requested page size. Server may return fewer items than requested.
331
+ # If unspecified, server will pick an appropriate default.
332
+ # @!attribute [rw] page_token
333
+ # @return [::String]
334
+ # A token identifying a page of results the server should return.
335
+ # @!attribute [rw] filter
336
+ # @return [::String]
337
+ # Filter for filtering results.
338
+ # @!attribute [rw] order_by
339
+ # @return [::String]
340
+ # Hint for how to order the results.
341
+ class ListInstancesRequest
342
+ include ::Google::Protobuf::MessageExts
343
+ extend ::Google::Protobuf::MessageExts::ClassMethods
344
+ end
345
+
346
+ # @!attribute [rw] instances
347
+ # @return [::Array<::Google::Cloud::SecureSourceManager::V1::Instance>]
348
+ # The list of instances.
349
+ # @!attribute [rw] next_page_token
350
+ # @return [::String]
351
+ # A token identifying a page of results the server should return.
352
+ # @!attribute [rw] unreachable
353
+ # @return [::Array<::String>]
354
+ # Locations that could not be reached.
355
+ class ListInstancesResponse
356
+ include ::Google::Protobuf::MessageExts
357
+ extend ::Google::Protobuf::MessageExts::ClassMethods
358
+ end
359
+
360
+ # GetInstanceRequest is the request for getting an instance.
361
+ # @!attribute [rw] name
362
+ # @return [::String]
363
+ # Required. Name of the resource.
364
+ class GetInstanceRequest
365
+ include ::Google::Protobuf::MessageExts
366
+ extend ::Google::Protobuf::MessageExts::ClassMethods
367
+ end
368
+
369
+ # CreateInstanceRequest is the request for creating an instance.
370
+ # @!attribute [rw] parent
371
+ # @return [::String]
372
+ # Required. Value for parent.
373
+ # @!attribute [rw] instance_id
374
+ # @return [::String]
375
+ # Required. ID of the instance to be created.
376
+ # @!attribute [rw] instance
377
+ # @return [::Google::Cloud::SecureSourceManager::V1::Instance]
378
+ # Required. The resource being created.
379
+ # @!attribute [rw] request_id
380
+ # @return [::String]
381
+ # Optional. An optional request ID to identify requests. Specify a unique
382
+ # request ID so that if you must retry your request, the server will know to
383
+ # ignore the request if it has already been completed. The server will
384
+ # guarantee that for at least 60 minutes since the first request.
385
+ #
386
+ # For example, consider a situation where you make an initial request and
387
+ # the request times out. If you make the request again with the same request
388
+ # ID, the server can check if original operation with the same request ID
389
+ # was received, and if so, will ignore the second request. This prevents
390
+ # clients from accidentally creating duplicate commitments.
391
+ #
392
+ # The request ID must be a valid UUID with the exception that zero UUID is
393
+ # not supported (00000000-0000-0000-0000-000000000000).
394
+ class CreateInstanceRequest
395
+ include ::Google::Protobuf::MessageExts
396
+ extend ::Google::Protobuf::MessageExts::ClassMethods
397
+ end
398
+
399
+ # DeleteInstanceRequest is the request for deleting an instance.
400
+ # @!attribute [rw] name
401
+ # @return [::String]
402
+ # Required. Name of the resource.
403
+ # @!attribute [rw] request_id
404
+ # @return [::String]
405
+ # Optional. An optional request ID to identify requests. Specify a unique
406
+ # request ID so that if you must retry your request, the server will know to
407
+ # ignore the request if it has already been completed. The server will
408
+ # guarantee that for at least 60 minutes after the first request.
409
+ #
410
+ # For example, consider a situation where you make an initial request and
411
+ # the request times out. If you make the request again with the same request
412
+ # ID, the server can check if original operation with the same request ID
413
+ # was received, and if so, will ignore the second request. This prevents
414
+ # clients from accidentally creating duplicate commitments.
415
+ #
416
+ # The request ID must be a valid UUID with the exception that zero UUID is
417
+ # not supported (00000000-0000-0000-0000-000000000000).
418
+ class DeleteInstanceRequest
419
+ include ::Google::Protobuf::MessageExts
420
+ extend ::Google::Protobuf::MessageExts::ClassMethods
421
+ end
422
+
423
+ # Represents the metadata of the long-running operation.
424
+ # @!attribute [r] create_time
425
+ # @return [::Google::Protobuf::Timestamp]
426
+ # Output only. The time the operation was created.
427
+ # @!attribute [r] end_time
428
+ # @return [::Google::Protobuf::Timestamp]
429
+ # Output only. The time the operation finished running.
430
+ # @!attribute [r] target
431
+ # @return [::String]
432
+ # Output only. Server-defined resource path for the target of the operation.
433
+ # @!attribute [r] verb
434
+ # @return [::String]
435
+ # Output only. Name of the verb executed by the operation.
436
+ # @!attribute [r] status_message
437
+ # @return [::String]
438
+ # Output only. Human-readable status of the operation, if any.
439
+ # @!attribute [r] requested_cancellation
440
+ # @return [::Boolean]
441
+ # Output only. Identifies whether the user has requested cancellation
442
+ # of the operation. Operations that have successfully been cancelled
443
+ # have [Operation.error][] value with a
444
+ # {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
445
+ # `Code.CANCELLED`.
446
+ # @!attribute [r] api_version
447
+ # @return [::String]
448
+ # Output only. API version used to start the operation.
449
+ class OperationMetadata
450
+ include ::Google::Protobuf::MessageExts
451
+ extend ::Google::Protobuf::MessageExts::ClassMethods
452
+ end
453
+
454
+ # ListRepositoriesRequest is request to list repositories.
455
+ # @!attribute [rw] parent
456
+ # @return [::String]
457
+ # Required. Parent value for ListRepositoriesRequest.
458
+ # @!attribute [rw] page_size
459
+ # @return [::Integer]
460
+ # Optional. Requested page size. Server may return fewer items than
461
+ # requested. If unspecified, server will pick an appropriate default.
462
+ # @!attribute [rw] page_token
463
+ # @return [::String]
464
+ # A token identifying a page of results the server should return.
465
+ # @!attribute [rw] filter
466
+ # @return [::String]
467
+ # Optional. Filter results.
468
+ class ListRepositoriesRequest
469
+ include ::Google::Protobuf::MessageExts
470
+ extend ::Google::Protobuf::MessageExts::ClassMethods
471
+ end
472
+
473
+ # @!attribute [rw] repositories
474
+ # @return [::Array<::Google::Cloud::SecureSourceManager::V1::Repository>]
475
+ # The list of repositories.
476
+ # @!attribute [rw] next_page_token
477
+ # @return [::String]
478
+ # A token identifying a page of results the server should return.
479
+ class ListRepositoriesResponse
480
+ include ::Google::Protobuf::MessageExts
481
+ extend ::Google::Protobuf::MessageExts::ClassMethods
482
+ end
483
+
484
+ # GetRepositoryRequest is the request for getting a repository.
485
+ # @!attribute [rw] name
486
+ # @return [::String]
487
+ # Required. Name of the repository to retrieve.
488
+ # The format is
489
+ # `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`.
490
+ class GetRepositoryRequest
491
+ include ::Google::Protobuf::MessageExts
492
+ extend ::Google::Protobuf::MessageExts::ClassMethods
493
+ end
494
+
495
+ # CreateRepositoryRequest is the request for creating a repository.
496
+ # @!attribute [rw] parent
497
+ # @return [::String]
498
+ # Required. The project in which to create the repository. Values are of the
499
+ # form `projects/{project_number}/locations/{location_id}`
500
+ # @!attribute [rw] repository
501
+ # @return [::Google::Cloud::SecureSourceManager::V1::Repository]
502
+ # Required. The resource being created.
503
+ # @!attribute [rw] repository_id
504
+ # @return [::String]
505
+ # Required. The ID to use for the repository, which will become the final
506
+ # component of the repository's resource name. This value should be 4-63
507
+ # characters, and valid characters are /[a-z][0-9]-/.
508
+ class CreateRepositoryRequest
509
+ include ::Google::Protobuf::MessageExts
510
+ extend ::Google::Protobuf::MessageExts::ClassMethods
511
+ end
512
+
513
+ # DeleteRepositoryRequest is the request to delete a repository.
514
+ # @!attribute [rw] name
515
+ # @return [::String]
516
+ # Required. Name of the repository to delete.
517
+ # The format is
518
+ # projects/\\{project_number}/locations/\\{location_id}/repositories/\\{repository_id}.
519
+ # @!attribute [rw] allow_missing
520
+ # @return [::Boolean]
521
+ # Optional. If set to true, and the repository is not found, the request will
522
+ # succeed but no action will be taken on the server.
523
+ class DeleteRepositoryRequest
524
+ include ::Google::Protobuf::MessageExts
525
+ extend ::Google::Protobuf::MessageExts::ClassMethods
526
+ end
527
+ end
528
+ end
529
+ end
530
+ end