Skip to content

Commit

Permalink
Autogenerated update (2020-01-16)
Browse files Browse the repository at this point in the history
Update:
- accessapproval:v1
- accesscontextmanager:v1
- datafusion:v1beta1
- serviceconsumermanagement:v1
- servicenetworking:v1
- serviceusage:v1
- translate:v3
  • Loading branch information
googleapis-publisher committed Jan 16, 2020
1 parent 88e3d56 commit 77bdb3c
Show file tree
Hide file tree
Showing 69 changed files with 2,147 additions and 780 deletions.
54 changes: 27 additions & 27 deletions src/Google/Service/AccessApproval.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

/**
* Service definition for AccessApproval (v1beta1).
* Service definition for AccessApproval (v1).
*
* <p>
* An API for controlling access to data by Google personnel.</p>
Expand Down Expand Up @@ -53,7 +53,7 @@ public function __construct(Google_Client $client, $rootUrl = null)
$this->rootUrl = $rootUrl ?: 'https://accessapproval.googleapis.com/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v1beta1';
$this->version = 'v1';
$this->serviceName = 'accessapproval';

$this->folders = new Google_Service_AccessApproval_Resource_Folders(
Expand All @@ -63,7 +63,7 @@ public function __construct(Google_Client $client, $rootUrl = null)
array(
'methods' => array(
'deleteAccessApprovalSettings' => array(
'path' => 'v1beta1/{+name}',
'path' => 'v1/{+name}',
'httpMethod' => 'DELETE',
'parameters' => array(
'name' => array(
Expand All @@ -73,7 +73,7 @@ public function __construct(Google_Client $client, $rootUrl = null)
),
),
),'getAccessApprovalSettings' => array(
'path' => 'v1beta1/{+name}',
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
Expand All @@ -83,7 +83,7 @@ public function __construct(Google_Client $client, $rootUrl = null)
),
),
),'updateAccessApprovalSettings' => array(
'path' => 'v1beta1/{+name}',
'path' => 'v1/{+name}',
'httpMethod' => 'PATCH',
'parameters' => array(
'name' => array(
Expand All @@ -107,7 +107,7 @@ public function __construct(Google_Client $client, $rootUrl = null)
array(
'methods' => array(
'approve' => array(
'path' => 'v1beta1/{+name}:approve',
'path' => 'v1/{+name}:approve',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
Expand All @@ -117,7 +117,7 @@ public function __construct(Google_Client $client, $rootUrl = null)
),
),
),'dismiss' => array(
'path' => 'v1beta1/{+name}:dismiss',
'path' => 'v1/{+name}:dismiss',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
Expand All @@ -127,7 +127,7 @@ public function __construct(Google_Client $client, $rootUrl = null)
),
),
),'get' => array(
'path' => 'v1beta1/{+name}',
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
Expand All @@ -137,7 +137,7 @@ public function __construct(Google_Client $client, $rootUrl = null)
),
),
),'list' => array(
'path' => 'v1beta1/{+parent}/approvalRequests',
'path' => 'v1/{+parent}/approvalRequests',
'httpMethod' => 'GET',
'parameters' => array(
'parent' => array(
Expand Down Expand Up @@ -169,7 +169,7 @@ public function __construct(Google_Client $client, $rootUrl = null)
array(
'methods' => array(
'deleteAccessApprovalSettings' => array(
'path' => 'v1beta1/{+name}',
'path' => 'v1/{+name}',
'httpMethod' => 'DELETE',
'parameters' => array(
'name' => array(
Expand All @@ -179,7 +179,7 @@ public function __construct(Google_Client $client, $rootUrl = null)
),
),
),'getAccessApprovalSettings' => array(
'path' => 'v1beta1/{+name}',
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
Expand All @@ -189,7 +189,7 @@ public function __construct(Google_Client $client, $rootUrl = null)
),
),
),'updateAccessApprovalSettings' => array(
'path' => 'v1beta1/{+name}',
'path' => 'v1/{+name}',
'httpMethod' => 'PATCH',
'parameters' => array(
'name' => array(
Expand All @@ -213,7 +213,7 @@ public function __construct(Google_Client $client, $rootUrl = null)
array(
'methods' => array(
'approve' => array(
'path' => 'v1beta1/{+name}:approve',
'path' => 'v1/{+name}:approve',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
Expand All @@ -223,7 +223,7 @@ public function __construct(Google_Client $client, $rootUrl = null)
),
),
),'dismiss' => array(
'path' => 'v1beta1/{+name}:dismiss',
'path' => 'v1/{+name}:dismiss',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
Expand All @@ -233,7 +233,7 @@ public function __construct(Google_Client $client, $rootUrl = null)
),
),
),'get' => array(
'path' => 'v1beta1/{+name}',
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
Expand All @@ -243,7 +243,7 @@ public function __construct(Google_Client $client, $rootUrl = null)
),
),
),'list' => array(
'path' => 'v1beta1/{+parent}/approvalRequests',
'path' => 'v1/{+parent}/approvalRequests',
'httpMethod' => 'GET',
'parameters' => array(
'parent' => array(
Expand Down Expand Up @@ -275,7 +275,7 @@ public function __construct(Google_Client $client, $rootUrl = null)
array(
'methods' => array(
'deleteAccessApprovalSettings' => array(
'path' => 'v1beta1/{+name}',
'path' => 'v1/{+name}',
'httpMethod' => 'DELETE',
'parameters' => array(
'name' => array(
Expand All @@ -285,7 +285,7 @@ public function __construct(Google_Client $client, $rootUrl = null)
),
),
),'getAccessApprovalSettings' => array(
'path' => 'v1beta1/{+name}',
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
Expand All @@ -295,7 +295,7 @@ public function __construct(Google_Client $client, $rootUrl = null)
),
),
),'updateAccessApprovalSettings' => array(
'path' => 'v1beta1/{+name}',
'path' => 'v1/{+name}',
'httpMethod' => 'PATCH',
'parameters' => array(
'name' => array(
Expand All @@ -319,7 +319,7 @@ public function __construct(Google_Client $client, $rootUrl = null)
array(
'methods' => array(
'approve' => array(
'path' => 'v1beta1/{+name}:approve',
'path' => 'v1/{+name}:approve',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
Expand All @@ -329,7 +329,7 @@ public function __construct(Google_Client $client, $rootUrl = null)
),
),
),'dismiss' => array(
'path' => 'v1beta1/{+name}:dismiss',
'path' => 'v1/{+name}:dismiss',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
Expand All @@ -339,7 +339,7 @@ public function __construct(Google_Client $client, $rootUrl = null)
),
),
),'get' => array(
'path' => 'v1beta1/{+name}',
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
Expand All @@ -349,14 +349,18 @@ public function __construct(Google_Client $client, $rootUrl = null)
),
),
),'list' => array(
'path' => 'v1beta1/{+parent}/approvalRequests',
'path' => 'v1/{+parent}/approvalRequests',
'httpMethod' => 'GET',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'filter' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
Expand All @@ -365,10 +369,6 @@ public function __construct(Google_Client $client, $rootUrl = null)
'location' => 'query',
'type' => 'integer',
),
'filter' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,16 @@ public function get($name, $optParams = array())
* "organizations/{organization_id}".
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken A token identifying the page of results to
* return.
* @opt_param int pageSize Requested page size.
* @opt_param string filter A filter on the type of approval requests to
* retrieve. Must be one of the following values:
*
* [not set]: Requests that are pending or have active approvals. ALL: All
* requests. PENDING: Only pending requests. ACTIVE: Only active (i.e.
* currently approved) requests. DISMISSED: Only dismissed (including expired)
* requests.
* @opt_param string pageToken A token identifying the page of results to
* return.
* @opt_param int pageSize Requested page size.
* @return Google_Service_AccessApproval_ListApprovalRequestsResponse
*/
public function listProjectsApprovalRequests($parent, $optParams = array())
Expand Down
24 changes: 12 additions & 12 deletions src/Google/Service/AccessContextManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,6 @@ public function __construct(Google_Client $client, $rootUrl = null)
'path' => 'v1/accessPolicies',
'httpMethod' => 'GET',
'parameters' => array(
'parent' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
Expand All @@ -101,6 +97,10 @@ public function __construct(Google_Client $client, $rootUrl = null)
'location' => 'query',
'type' => 'integer',
),
'parent' => array(
'location' => 'query',
'type' => 'string',
),
),
),'patch' => array(
'path' => 'v1/{+name}',
Expand Down Expand Up @@ -169,10 +169,6 @@ public function __construct(Google_Client $client, $rootUrl = null)
'type' => 'string',
'required' => true,
),
'accessLevelFormat' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
Expand All @@ -181,6 +177,10 @@ public function __construct(Google_Client $client, $rootUrl = null)
'location' => 'query',
'type' => 'integer',
),
'accessLevelFormat' => array(
'location' => 'query',
'type' => 'string',
),
),
),'patch' => array(
'path' => 'v1/{+name}',
Expand Down Expand Up @@ -317,10 +317,6 @@ public function __construct(Google_Client $client, $rootUrl = null)
'type' => 'string',
'required' => true,
),
'filter' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
Expand All @@ -329,6 +325,10 @@ public function __construct(Google_Client $client, $rootUrl = null)
'location' => 'query',
'type' => 'integer',
),
'filter' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
Expand Down
16 changes: 16 additions & 0 deletions src/Google/Service/AccessContextManager/AccessLevel.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ class Google_Service_AccessContextManager_AccessLevel extends Google_Model
protected $basicType = 'Google_Service_AccessContextManager_BasicLevel';
protected $basicDataType = '';
public $createTime;
protected $customType = 'Google_Service_AccessContextManager_CustomLevel';
protected $customDataType = '';
public $description;
public $name;
public $title;
Expand Down Expand Up @@ -47,6 +49,20 @@ public function getCreateTime()
{
return $this->createTime;
}
/**
* @param Google_Service_AccessContextManager_CustomLevel
*/
public function setCustom(Google_Service_AccessContextManager_CustomLevel $custom)
{
$this->custom = $custom;
}
/**
* @return Google_Service_AccessContextManager_CustomLevel
*/
public function getCustom()
{
return $this->custom;
}
public function setDescription($description)
{
$this->description = $description;
Expand Down
37 changes: 37 additions & 0 deletions src/Google/Service/AccessContextManager/CustomLevel.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?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.
*/

class Google_Service_AccessContextManager_CustomLevel extends Google_Model
{
protected $exprType = 'Google_Service_AccessContextManager_Expr';
protected $exprDataType = '';

/**
* @param Google_Service_AccessContextManager_Expr
*/
public function setExpr(Google_Service_AccessContextManager_Expr $expr)
{
$this->expr = $expr;
}
/**
* @return Google_Service_AccessContextManager_Expr
*/
public function getExpr()
{
return $this->expr;
}
}
Loading

0 comments on commit 77bdb3c

Please sign in to comment.