Skip to content

Commit 5210356

Browse files
1 parent 10ee0f6 commit 5210356

3 files changed

Lines changed: 0 additions & 314 deletions

File tree

src/Dataform.php

Lines changed: 0 additions & 158 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,13 @@ class Dataform extends \Google\Service
4343
"https://www.googleapis.com/auth/cloud-platform";
4444

4545
public $projects_locations;
46-
public $projects_locations_folders;
4746
public $projects_locations_operations;
4847
public $projects_locations_repositories;
4948
public $projects_locations_repositories_compilationResults;
5049
public $projects_locations_repositories_releaseConfigs;
5150
public $projects_locations_repositories_workflowConfigs;
5251
public $projects_locations_repositories_workflowInvocations;
5352
public $projects_locations_repositories_workspaces;
54-
public $projects_locations_teamFolders;
5553
public $rootUrlTemplate;
5654

5755
/**
@@ -142,50 +140,6 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
142140
]
143141
]
144142
);
145-
$this->projects_locations_folders = new Dataform\Resource\ProjectsLocationsFolders(
146-
$this,
147-
$this->serviceName,
148-
'folders',
149-
[
150-
'methods' => [
151-
'getIamPolicy' => [
152-
'path' => 'v1beta1/{+resource}:getIamPolicy',
153-
'httpMethod' => 'GET',
154-
'parameters' => [
155-
'resource' => [
156-
'location' => 'path',
157-
'type' => 'string',
158-
'required' => true,
159-
],
160-
'options.requestedPolicyVersion' => [
161-
'location' => 'query',
162-
'type' => 'integer',
163-
],
164-
],
165-
],'setIamPolicy' => [
166-
'path' => 'v1beta1/{+resource}:setIamPolicy',
167-
'httpMethod' => 'POST',
168-
'parameters' => [
169-
'resource' => [
170-
'location' => 'path',
171-
'type' => 'string',
172-
'required' => true,
173-
],
174-
],
175-
],'testIamPermissions' => [
176-
'path' => 'v1beta1/{+resource}:testIamPermissions',
177-
'httpMethod' => 'POST',
178-
'parameters' => [
179-
'resource' => [
180-
'location' => 'path',
181-
'type' => 'string',
182-
'required' => true,
183-
],
184-
],
185-
],
186-
]
187-
]
188-
);
189143
$this->projects_locations_operations = new Dataform\Resource\ProjectsLocationsOperations(
190144
$this,
191145
$this->serviceName,
@@ -340,20 +294,6 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
340294
'required' => true,
341295
],
342296
],
343-
],'getIamPolicy' => [
344-
'path' => 'v1beta1/{+resource}:getIamPolicy',
345-
'httpMethod' => 'GET',
346-
'parameters' => [
347-
'resource' => [
348-
'location' => 'path',
349-
'type' => 'string',
350-
'required' => true,
351-
],
352-
'options.requestedPolicyVersion' => [
353-
'location' => 'query',
354-
'type' => 'integer',
355-
],
356-
],
357297
],'list' => [
358298
'path' => 'v1beta1/{+parent}/repositories',
359299
'httpMethod' => 'GET',
@@ -438,26 +378,6 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
438378
'type' => 'string',
439379
],
440380
],
441-
],'setIamPolicy' => [
442-
'path' => 'v1beta1/{+resource}:setIamPolicy',
443-
'httpMethod' => 'POST',
444-
'parameters' => [
445-
'resource' => [
446-
'location' => 'path',
447-
'type' => 'string',
448-
'required' => true,
449-
],
450-
],
451-
],'testIamPermissions' => [
452-
'path' => 'v1beta1/{+resource}:testIamPermissions',
453-
'httpMethod' => 'POST',
454-
'parameters' => [
455-
'resource' => [
456-
'location' => 'path',
457-
'type' => 'string',
458-
'required' => true,
459-
],
460-
],
461381
],
462382
]
463383
]
@@ -874,20 +794,6 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
874794
'required' => true,
875795
],
876796
],
877-
],'getIamPolicy' => [
878-
'path' => 'v1beta1/{+resource}:getIamPolicy',
879-
'httpMethod' => 'GET',
880-
'parameters' => [
881-
'resource' => [
882-
'location' => 'path',
883-
'type' => 'string',
884-
'required' => true,
885-
],
886-
'options.requestedPolicyVersion' => [
887-
'location' => 'query',
888-
'type' => 'integer',
889-
],
890-
],
891797
],'installNpmPackages' => [
892798
'path' => 'v1beta1/{+workspace}:installNpmPackages',
893799
'httpMethod' => 'POST',
@@ -1066,26 +972,6 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
1066972
'type' => 'string',
1067973
],
1068974
],
1069-
],'setIamPolicy' => [
1070-
'path' => 'v1beta1/{+resource}:setIamPolicy',
1071-
'httpMethod' => 'POST',
1072-
'parameters' => [
1073-
'resource' => [
1074-
'location' => 'path',
1075-
'type' => 'string',
1076-
'required' => true,
1077-
],
1078-
],
1079-
],'testIamPermissions' => [
1080-
'path' => 'v1beta1/{+resource}:testIamPermissions',
1081-
'httpMethod' => 'POST',
1082-
'parameters' => [
1083-
'resource' => [
1084-
'location' => 'path',
1085-
'type' => 'string',
1086-
'required' => true,
1087-
],
1088-
],
1089975
],'writeFile' => [
1090976
'path' => 'v1beta1/{+workspace}:writeFile',
1091977
'httpMethod' => 'POST',
@@ -1100,50 +986,6 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
1100986
]
1101987
]
1102988
);
1103-
$this->projects_locations_teamFolders = new Dataform\Resource\ProjectsLocationsTeamFolders(
1104-
$this,
1105-
$this->serviceName,
1106-
'teamFolders',
1107-
[
1108-
'methods' => [
1109-
'getIamPolicy' => [
1110-
'path' => 'v1beta1/{+resource}:getIamPolicy',
1111-
'httpMethod' => 'GET',
1112-
'parameters' => [
1113-
'resource' => [
1114-
'location' => 'path',
1115-
'type' => 'string',
1116-
'required' => true,
1117-
],
1118-
'options.requestedPolicyVersion' => [
1119-
'location' => 'query',
1120-
'type' => 'integer',
1121-
],
1122-
],
1123-
],'setIamPolicy' => [
1124-
'path' => 'v1beta1/{+resource}:setIamPolicy',
1125-
'httpMethod' => 'POST',
1126-
'parameters' => [
1127-
'resource' => [
1128-
'location' => 'path',
1129-
'type' => 'string',
1130-
'required' => true,
1131-
],
1132-
],
1133-
],'testIamPermissions' => [
1134-
'path' => 'v1beta1/{+resource}:testIamPermissions',
1135-
'httpMethod' => 'POST',
1136-
'parameters' => [
1137-
'resource' => [
1138-
'location' => 'path',
1139-
'type' => 'string',
1140-
'required' => true,
1141-
],
1142-
],
1143-
],
1144-
]
1145-
]
1146-
);
1147989
}
1148990
}
1149991

src/Dataform/Resource/ProjectsLocationsRepositories.php

Lines changed: 0 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,9 @@
2424
use Google\Service\Dataform\FetchRemoteBranchesResponse;
2525
use Google\Service\Dataform\FetchRepositoryHistoryResponse;
2626
use Google\Service\Dataform\ListRepositoriesResponse;
27-
use Google\Service\Dataform\Policy;
2827
use Google\Service\Dataform\QueryRepositoryDirectoryContentsResponse;
2928
use Google\Service\Dataform\ReadRepositoryFileResponse;
3029
use Google\Service\Dataform\Repository;
31-
use Google\Service\Dataform\SetIamPolicyRequest;
32-
use Google\Service\Dataform\TestIamPermissionsRequest;
33-
use Google\Service\Dataform\TestIamPermissionsResponse;
3430

3531
/**
3632
* The "repositories" collection of methods.
@@ -166,37 +162,6 @@ public function get($name, $optParams = [])
166162
$params = array_merge($params, $optParams);
167163
return $this->call('get', [$params], Repository::class);
168164
}
169-
/**
170-
* Gets the access control policy for a resource. Returns an empty policy if the
171-
* resource exists and does not have a policy set. (repositories.getIamPolicy)
172-
*
173-
* @param string $resource REQUIRED: The resource for which the policy is being
174-
* requested. See [Resource
175-
* names](https://cloud.google.com/apis/design/resource_names) for the
176-
* appropriate value for this field.
177-
* @param array $optParams Optional parameters.
178-
*
179-
* @opt_param int options.requestedPolicyVersion Optional. The maximum policy
180-
* version that will be used to format the policy. Valid values are 0, 1, and 3.
181-
* Requests specifying an invalid value will be rejected. Requests for policies
182-
* with any conditional role bindings must specify version 3. Policies with no
183-
* conditional role bindings may specify any valid value or leave the field
184-
* unset. The policy in the response might use the policy version that you
185-
* specified, or it might use a lower policy version. For example, if you
186-
* specify version 3, but the policy has no conditional role bindings, the
187-
* response uses version 1. To learn which resources support conditions in their
188-
* IAM policies, see the [IAM
189-
* documentation](https://cloud.google.com/iam/help/conditions/resource-
190-
* policies).
191-
* @return Policy
192-
* @throws \Google\Service\Exception
193-
*/
194-
public function getIamPolicy($resource, $optParams = [])
195-
{
196-
$params = ['resource' => $resource];
197-
$params = array_merge($params, $optParams);
198-
return $this->call('getIamPolicy', [$params], Policy::class);
199-
}
200165
/**
201166
* Lists Repositories in a given project and location. **Note:** *This method
202167
* can return repositories not shown in the [Dataform
@@ -297,49 +262,6 @@ public function readFile($name, $optParams = [])
297262
$params = array_merge($params, $optParams);
298263
return $this->call('readFile', [$params], ReadRepositoryFileResponse::class);
299264
}
300-
/**
301-
* Sets the access control policy on the specified resource. Replaces any
302-
* existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and
303-
* `PERMISSION_DENIED` errors. (repositories.setIamPolicy)
304-
*
305-
* @param string $resource REQUIRED: The resource for which the policy is being
306-
* specified. See [Resource
307-
* names](https://cloud.google.com/apis/design/resource_names) for the
308-
* appropriate value for this field.
309-
* @param SetIamPolicyRequest $postBody
310-
* @param array $optParams Optional parameters.
311-
* @return Policy
312-
* @throws \Google\Service\Exception
313-
*/
314-
public function setIamPolicy($resource, SetIamPolicyRequest $postBody, $optParams = [])
315-
{
316-
$params = ['resource' => $resource, 'postBody' => $postBody];
317-
$params = array_merge($params, $optParams);
318-
return $this->call('setIamPolicy', [$params], Policy::class);
319-
}
320-
/**
321-
* Returns permissions that a caller has on the specified resource. If the
322-
* resource does not exist, this will return an empty set of permissions, not a
323-
* `NOT_FOUND` error. Note: This operation is designed to be used for building
324-
* permission-aware UIs and command-line tools, not for authorization checking.
325-
* This operation may "fail open" without warning.
326-
* (repositories.testIamPermissions)
327-
*
328-
* @param string $resource REQUIRED: The resource for which the policy detail is
329-
* being requested. See [Resource
330-
* names](https://cloud.google.com/apis/design/resource_names) for the
331-
* appropriate value for this field.
332-
* @param TestIamPermissionsRequest $postBody
333-
* @param array $optParams Optional parameters.
334-
* @return TestIamPermissionsResponse
335-
* @throws \Google\Service\Exception
336-
*/
337-
public function testIamPermissions($resource, TestIamPermissionsRequest $postBody, $optParams = [])
338-
{
339-
$params = ['resource' => $resource, 'postBody' => $postBody];
340-
$params = array_merge($params, $optParams);
341-
return $this->call('testIamPermissions', [$params], TestIamPermissionsResponse::class);
342-
}
343265
}
344266

345267
// Adding a class alias for backwards compatibility with the previous class name.

0 commit comments

Comments
 (0)