Skip to content

Commit

Permalink
Add dlp v2 (#935)
Browse files Browse the repository at this point in the history
* Add dlp v2

* Update proto-client dependency

* Update doc gen, fix missing descriptions
  • Loading branch information
michaelbausor authored and dwsupplee committed Mar 15, 2018
1 parent bfe9faf commit 42112df
Show file tree
Hide file tree
Showing 24 changed files with 2,624 additions and 18 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"psr/http-message": "1.0.*",
"ramsey/uuid": "~3",
"google/gax": "^0.30",
"google/proto-client": "^0.33"
"google/proto-client": "^0.34"
},
"require-dev": {
"phpunit/phpunit": "^4.8|^5.0",
Expand Down Expand Up @@ -130,4 +130,4 @@
]
}
}
}
}
10 changes: 10 additions & 0 deletions docs/contents/cloud-dlp.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,15 @@
"title": "DlpServiceClient",
"type": "dlp/v2beta1/dlpserviceclient"
}]
}, {
"title": "v2",
"type": "dlp/v2/readme",
"patterns": [
"dlp/v2/\\w{1,}"
],
"nav": [{
"title": "DlpServiceClient",
"type": "dlp/v2/dlpserviceclient"
}]
}]
}
2 changes: 1 addition & 1 deletion src/Bigtable/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "Apache-2.0",
"minimum-stability": "stable",
"require": {
"google/proto-client": "^0.33",
"google/proto-client": "^0.34",
"google/gax": "^0.30"
},
"suggest": {
Expand Down
2 changes: 1 addition & 1 deletion src/Container/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}
},
"require": {
"google/proto-client": "^0.33",
"google/proto-client": "^0.34",
"google/gax": "^0.30"
}
}
2 changes: 1 addition & 1 deletion src/Dataproc/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}
},
"require": {
"google/proto-client": "^0.33",
"google/proto-client": "^0.34",
"google/gax": "^0.30"
},
"suggest": {
Expand Down
42 changes: 42 additions & 0 deletions src/Dlp/V2/DlpServiceClient.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/*
* GENERATED CODE WARNING
* This file was generated from the file
* https://github.com/google/googleapis/blob/master/google/privacy/dlp/v2/dlp.proto
* and updates to that file get reflected here through a refresh process.
*
* EXPERIMENTAL: This client library class has not yet been declared GA (1.0). This means that
* even though we intend the surface to be stable, we may make backwards incompatible changes
* if necessary.
*
* @experimental
*/

namespace Google\Cloud\Dlp\V2;

use Google\Cloud\Dlp\V2\Gapic\DlpServiceGapicClient;

/**
* {@inheritdoc}
*/
class DlpServiceClient extends DlpServiceGapicClient
{
// This class is intentionally empty, and is intended to hold manual
// additions to the generated {@see DlpServiceClientImpl} class.
}
Loading

0 comments on commit 42112df

Please sign in to comment.