1 | <?php
|
---|
2 | /*
|
---|
3 | * Copyright 2014 Google Inc.
|
---|
4 | *
|
---|
5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
7 | * the License at
|
---|
8 | *
|
---|
9 | * http://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, WITHOUT
|
---|
13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
14 | * License for the specific language governing permissions and limitations under
|
---|
15 | * the License.
|
---|
16 | */
|
---|
17 |
|
---|
18 | namespace Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\Resource;
|
---|
19 |
|
---|
20 | use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\ListSqlIntegrationsResponse;
|
---|
21 | use Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI\SqlIntegration;
|
---|
22 |
|
---|
23 | /**
|
---|
24 | * The "sqlIntegrations" collection of methods.
|
---|
25 | * Typical usage is:
|
---|
26 | * <code>
|
---|
27 | * $managedidentitiesService = new Google\Service\ManagedServiceforMicrosoftActiveDirectoryConsumerAPI(...);
|
---|
28 | * $sqlIntegrations = $managedidentitiesService->projects_locations_global_domains_sqlIntegrations;
|
---|
29 | * </code>
|
---|
30 | */
|
---|
31 | class ProjectsLocationsManagedidentitiesGlobalDomainsSqlIntegrations extends \Google\Service\Resource
|
---|
32 | {
|
---|
33 | /**
|
---|
34 | * Gets details of a single sqlIntegration. (sqlIntegrations.get)
|
---|
35 | *
|
---|
36 | * @param string $name Required. SQLIntegration resource name using the form: `p
|
---|
37 | * rojects/{project_id}/locations/global/domains/{domain}/sqlIntegrations/{name}
|
---|
38 | * `
|
---|
39 | * @param array $optParams Optional parameters.
|
---|
40 | * @return SqlIntegration
|
---|
41 | * @throws \Google\Service\Exception
|
---|
42 | */
|
---|
43 | public function get($name, $optParams = [])
|
---|
44 | {
|
---|
45 | $params = ['name' => $name];
|
---|
46 | $params = array_merge($params, $optParams);
|
---|
47 | return $this->call('get', [$params], SqlIntegration::class);
|
---|
48 | }
|
---|
49 | /**
|
---|
50 | * Lists SqlIntegrations in a given domain. (sqlIntegrations.listProjectsLocatio
|
---|
51 | * nsManagedidentitiesGlobalDomainsSqlIntegrations)
|
---|
52 | *
|
---|
53 | * @param string $parent Required. The resource name of the SqlIntegrations
|
---|
54 | * using the form: `projects/{project_id}/locations/global/domains`
|
---|
55 | * @param array $optParams Optional parameters.
|
---|
56 | *
|
---|
57 | * @opt_param string filter Optional. Filter specifying constraints of a list
|
---|
58 | * operation. For example, `SqlIntegration.name="sql"`.
|
---|
59 | * @opt_param string orderBy Optional. Specifies the ordering of results
|
---|
60 | * following syntax at
|
---|
61 | * https://cloud.google.com/apis/design/design_patterns#sorting_order.
|
---|
62 | * @opt_param int pageSize Optional. The maximum number of items to return. If
|
---|
63 | * not specified, a default value of 1000 will be used by the service.
|
---|
64 | * Regardless of the page_size value, the response may include a partial list
|
---|
65 | * and a caller should only rely on response'ANIZATIONs next_page_token to
|
---|
66 | * determine if there are more instances left to be queried.
|
---|
67 | * @opt_param string pageToken Optional. The next_page_token value returned from
|
---|
68 | * a previous List request, if any.
|
---|
69 | * @return ListSqlIntegrationsResponse
|
---|
70 | * @throws \Google\Service\Exception
|
---|
71 | */
|
---|
72 | public function listProjectsLocationsManagedidentitiesGlobalDomainsSqlIntegrations($parent, $optParams = [])
|
---|
73 | {
|
---|
74 | $params = ['parent' => $parent];
|
---|
75 | $params = array_merge($params, $optParams);
|
---|
76 | return $this->call('list', [$params], ListSqlIntegrationsResponse::class);
|
---|
77 | }
|
---|
78 | }
|
---|
79 |
|
---|
80 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
81 | class_alias(ProjectsLocationsManagedidentitiesGlobalDomainsSqlIntegrations::class, 'Google_Service_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI_Resource_ProjectsLocationsManagedidentitiesGlobalDomainsSqlIntegrations');
|
---|