JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "ProjectsLocationsRestoreChannelsRestorePlanBindings.php"
Full Path: /home/palsarh/web/palsarh.in/public_html/vendor/google/apiclient-services/src/BackupforGKE/Resource/ProjectsLocationsRestoreChannelsRestorePlanBindings.php
File size: 3.48 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/*
* Copyright 2014 Google Inc.
*
* 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
*
* http://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.
*/
namespace Google\Service\BackupforGKE\Resource;
use Google\Service\BackupforGKE\ListRestorePlanBindingsResponse;
use Google\Service\BackupforGKE\RestorePlanBinding;
/**
* The "restorePlanBindings" collection of methods.
* Typical usage is:
* <code>
* $gkebackupService = new Google\Service\BackupforGKE(...);
* $restorePlanBindings = $gkebackupService->projects_locations_restoreChannels_restorePlanBindings;
* </code>
*/
class ProjectsLocationsRestoreChannelsRestorePlanBindings extends \Google\Service\Resource
{
/**
* Retrieve the details of a single RestorePlanBinding.
* (restorePlanBindings.get)
*
* @param string $name Required. Fully qualified RestorePlanBinding name.
* Format: `projects/locations/restoreChannels/restorePlanBindings`
* @param array $optParams Optional parameters.
* @return RestorePlanBinding
* @throws \Google\Service\Exception
*/
public function get($name, $optParams = [])
{
$params = ['name' => $name];
$params = array_merge($params, $optParams);
return $this->call('get', [$params], RestorePlanBinding::class);
}
/**
* Lists RestorePlanBindings in a given location.
* (restorePlanBindings.listProjectsLocationsRestoreChannelsRestorePlanBindings)
*
* @param string $parent Required. The RestoreChannel that contains the
* ListRestorePlanBindings to list. Format: `projects/locations/restoreChannels`
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Field match expression used to filter the
* results.
* @opt_param string orderBy Optional. Field by which to sort the results.
* @opt_param int pageSize Optional. The target number of results to return in a
* single response. If not specified, a default value will be chosen by the
* service. Note that the response may include a partial list and a caller
* should only rely on the response's next_page_token to determine if there are
* more instances left to be queried.
* @opt_param string pageToken Optional. The value of next_page_token received
* from a previous `ListRestorePlanBindings` call. Provide this to retrieve the
* subsequent page in a multi-page list of results. When paginating, all other
* parameters provided to `ListRestorePlanBindings` must match the call that
* provided the page token.
* @return ListRestorePlanBindingsResponse
* @throws \Google\Service\Exception
*/
public function listProjectsLocationsRestoreChannelsRestorePlanBindings($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], ListRestorePlanBindingsResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsLocationsRestoreChannelsRestorePlanBindings::class, 'Google_Service_BackupforGKE_Resource_ProjectsLocationsRestoreChannelsRestorePlanBindings');