File tree 3 files changed +23
-12
lines changed
packages/google-devtools-cloudbuild
3 files changed +23
-12
lines changed Original file line number Diff line number Diff line change 12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
//
15
- // ** This file is automatically generated by gapic-generator-typescript . **
16
- // ** https://github.com/googleapis/gapic-generator-typescript **
15
+ // ** This file is automatically generated by synthtool . **
16
+ // ** https://github.com/googleapis/synthtool **
17
17
// ** All changes to this file may be overwritten. **
18
18
19
19
import * as v1 from './v1' ;
20
+
20
21
const CloudBuildClient = v1 . CloudBuildClient ;
22
+
21
23
export { v1 , CloudBuildClient } ;
22
24
export default { v1, CloudBuildClient} ;
23
25
import * as protos from '../protos/protos' ;
Original file line number Diff line number Diff line change 4
4
"git": {
5
5
"name": ".",
6
6
"remote": "
[email protected] :googleapis/nodejs-cloudbuild.git",
7
- "sha": "7b55f19b90423b4e1ab4db41707ad26b036cb935"
7
+ "sha": "7b50a74c098e782393f92140a37e3bd26f45e77d"
8
+ }
9
+ },
10
+ {
11
+ "git": {
12
+ "name": "googleapis",
13
+ "remote": "https://github.com/googleapis/googleapis.git",
14
+ "sha": "a3a0bf0f6291d69f2ff3df7fcd63d28ee20ac727",
15
+ "internalRef": "310060413"
8
16
}
9
17
},
10
18
{
Original file line number Diff line number Diff line change 27
27
gapic = gcp .GAPICMicrogenerator ()
28
28
versions = ['v1' ]
29
29
for version in versions :
30
- library = gapic .typescript_library (
31
- 'cloudbuild' ,
32
- generator_args = {
33
- "grpc-service-config" : "google/devtools/cloudbuild/v1/cloudbuild_grpc_service_config.json" ,
34
- "package-name" : "@google-cloud/cloudbuild"
35
- },
36
- proto_path = '/google/devtools/cloudbuild/v1' ,
37
- version = version )
30
+ library = gapic .typescript_library (
31
+ 'cloudbuild' ,
32
+ generator_args = {
33
+ "grpc-service-config" : "google/devtools/cloudbuild/v1/cloudbuild_grpc_service_config.json" ,
34
+ "package-name" : "@google-cloud/cloudbuild"
35
+ },
36
+ proto_path = '/google/devtools/cloudbuild/v1' ,
37
+ version = version )
38
38
s .copy (library , excludes = ['README.md' , 'package.json' ])
39
39
40
40
# Copy common templates
41
41
common_templates = gcp .CommonTemplates ()
42
- templates = common_templates .node_library (source_location = 'build/src' )
42
+ templates = common_templates .node_library (
43
+ source_location = 'build/src' , versions = versions , default_version = 'v1' )
43
44
s .copy (templates , excludes = [])
44
45
45
46
node .postprocess_gapic_library ()
You can’t perform that action at this time.
0 commit comments