Skip to content

Commit

Permalink
Regenerate firebaseappcheck client (#5349)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Jul 11, 2024
1 parent 9a5c2ea commit edc0808
Show file tree
Hide file tree
Showing 7 changed files with 618 additions and 0 deletions.
91 changes: 91 additions & 0 deletions src/Firebaseappcheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ class Firebaseappcheck extends \Google\Service
public $projects_apps_recaptchaV3Config;
public $projects_apps_safetyNetConfig;
public $projects_services;
public $projects_services_resourcePolicies;
public $rootUrlTemplate;

/**
Expand Down Expand Up @@ -690,6 +691,96 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
]
]
);
$this->projects_services_resourcePolicies = new Firebaseappcheck\Resource\ProjectsServicesResourcePolicies(
$this,
$this->serviceName,
'resourcePolicies',
[
'methods' => [
'batchUpdate' => [
'path' => 'v1/{+parent}/resourcePolicies:batchUpdate',
'httpMethod' => 'POST',
'parameters' => [
'parent' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'create' => [
'path' => 'v1/{+parent}/resourcePolicies',
'httpMethod' => 'POST',
'parameters' => [
'parent' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'delete' => [
'path' => 'v1/{+name}',
'httpMethod' => 'DELETE',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'etag' => [
'location' => 'query',
'type' => 'string',
],
],
],'get' => [
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'list' => [
'path' => 'v1/{+parent}/resourcePolicies',
'httpMethod' => 'GET',
'parameters' => [
'parent' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'filter' => [
'location' => 'query',
'type' => 'string',
],
'pageSize' => [
'location' => 'query',
'type' => 'integer',
],
'pageToken' => [
'location' => 'query',
'type' => 'string',
],
],
],'patch' => [
'path' => 'v1/{+name}',
'httpMethod' => 'PATCH',
'parameters' => [
'name' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'updateMask' => [
'location' => 'query',
'type' => 'string',
],
],
],
]
]
);
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?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\Firebaseappcheck;

class GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest::class;
protected $requestsDataType = 'array';
/**
* @var string
*/
public $updateMask;

/**
* @param GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest[]
*/
public function getRequests()
{
return $this->requests;
}
/**
* @param string
*/
public function setUpdateMask($updateMask)
{
$this->updateMask = $updateMask;
}
/**
* @return string
*/
public function getUpdateMask()
{
return $this->updateMask;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest');
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?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\Firebaseappcheck;

class GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse extends \Google\Collection
{
protected $collection_key = 'resourcePolicies';
protected $resourcePoliciesType = GoogleFirebaseAppcheckV1ResourcePolicy::class;
protected $resourcePoliciesDataType = 'array';

/**
* @param GoogleFirebaseAppcheckV1ResourcePolicy[]
*/
public function setResourcePolicies($resourcePolicies)
{
$this->resourcePolicies = $resourcePolicies;
}
/**
* @return GoogleFirebaseAppcheckV1ResourcePolicy[]
*/
public function getResourcePolicies()
{
return $this->resourcePolicies;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse');
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?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\Firebaseappcheck;

class GoogleFirebaseAppcheckV1ListResourcePoliciesResponse extends \Google\Collection
{
protected $collection_key = 'resourcePolicies';
/**
* @var string
*/
public $nextPageToken;
protected $resourcePoliciesType = GoogleFirebaseAppcheckV1ResourcePolicy::class;
protected $resourcePoliciesDataType = 'array';

/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param GoogleFirebaseAppcheckV1ResourcePolicy[]
*/
public function setResourcePolicies($resourcePolicies)
{
$this->resourcePolicies = $resourcePolicies;
}
/**
* @return GoogleFirebaseAppcheckV1ResourcePolicy[]
*/
public function getResourcePolicies()
{
return $this->resourcePolicies;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1ListResourcePoliciesResponse::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1ListResourcePoliciesResponse');
116 changes: 116 additions & 0 deletions src/Firebaseappcheck/GoogleFirebaseAppcheckV1ResourcePolicy.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
<?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\Firebaseappcheck;

class GoogleFirebaseAppcheckV1ResourcePolicy extends \Google\Model
{
/**
* @var string
*/
public $enforcementMode;
/**
* @var string
*/
public $etag;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $targetResource;
/**
* @var string
*/
public $updateTime;

/**
* @param string
*/
public function setEnforcementMode($enforcementMode)
{
$this->enforcementMode = $enforcementMode;
}
/**
* @return string
*/
public function getEnforcementMode()
{
return $this->enforcementMode;
}
/**
* @param string
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setTargetResource($targetResource)
{
$this->targetResource = $targetResource;
}
/**
* @return string
*/
public function getTargetResource()
{
return $this->targetResource;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseAppcheckV1ResourcePolicy::class, 'Google_Service_Firebaseappcheck_GoogleFirebaseAppcheckV1ResourcePolicy');
Loading

0 comments on commit edc0808

Please sign in to comment.