Mise à jour des librairies vendor
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -20,10 +20,16 @@ class Google_Service_Iam_AuditData extends Google_Model
|
||||
protected $policyDeltaType = 'Google_Service_Iam_PolicyDelta';
|
||||
protected $policyDeltaDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Iam_PolicyDelta
|
||||
*/
|
||||
public function setPolicyDelta(Google_Service_Iam_PolicyDelta $policyDelta)
|
||||
{
|
||||
$this->policyDelta = $policyDelta;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Iam_PolicyDelta
|
||||
*/
|
||||
public function getPolicyDelta()
|
||||
{
|
||||
return $this->policyDelta;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Iam_CloudAuditOptions extends Google_Model
|
||||
{
|
||||
}
|
||||
@@ -1,76 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Iam_Condition extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'values';
|
||||
public $iam;
|
||||
public $op;
|
||||
public $svc;
|
||||
public $sys;
|
||||
public $value;
|
||||
public $values;
|
||||
|
||||
public function setIam($iam)
|
||||
{
|
||||
$this->iam = $iam;
|
||||
}
|
||||
public function getIam()
|
||||
{
|
||||
return $this->iam;
|
||||
}
|
||||
public function setOp($op)
|
||||
{
|
||||
$this->op = $op;
|
||||
}
|
||||
public function getOp()
|
||||
{
|
||||
return $this->op;
|
||||
}
|
||||
public function setSvc($svc)
|
||||
{
|
||||
$this->svc = $svc;
|
||||
}
|
||||
public function getSvc()
|
||||
{
|
||||
return $this->svc;
|
||||
}
|
||||
public function setSys($sys)
|
||||
{
|
||||
$this->sys = $sys;
|
||||
}
|
||||
public function getSys()
|
||||
{
|
||||
return $this->sys;
|
||||
}
|
||||
public function setValue($value)
|
||||
{
|
||||
$this->value = $value;
|
||||
}
|
||||
public function getValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
public function setValues($values)
|
||||
{
|
||||
$this->values = $values;
|
||||
}
|
||||
public function getValues()
|
||||
{
|
||||
return $this->values;
|
||||
}
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Iam_CounterOptions extends Google_Model
|
||||
{
|
||||
public $field;
|
||||
public $metric;
|
||||
|
||||
public function setField($field)
|
||||
{
|
||||
$this->field = $field;
|
||||
}
|
||||
public function getField()
|
||||
{
|
||||
return $this->field;
|
||||
}
|
||||
public function setMetric($metric)
|
||||
{
|
||||
$this->metric = $metric;
|
||||
}
|
||||
public function getMetric()
|
||||
{
|
||||
return $this->metric;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -29,10 +29,16 @@ class Google_Service_Iam_CreateServiceAccountRequest extends Google_Model
|
||||
{
|
||||
return $this->accountId;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Iam_ServiceAccount
|
||||
*/
|
||||
public function setServiceAccount(Google_Service_Iam_ServiceAccount $serviceAccount)
|
||||
{
|
||||
$this->serviceAccount = $serviceAccount;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Iam_ServiceAccount
|
||||
*/
|
||||
public function getServiceAccount()
|
||||
{
|
||||
return $this->serviceAccount;
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Iam_DataAccessOptions extends Google_Model
|
||||
{
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -21,10 +21,16 @@ class Google_Service_Iam_ListServiceAccountKeysResponse extends Google_Collectio
|
||||
protected $keysType = 'Google_Service_Iam_ServiceAccountKey';
|
||||
protected $keysDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Iam_ServiceAccountKey
|
||||
*/
|
||||
public function setKeys($keys)
|
||||
{
|
||||
$this->keys = $keys;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Iam_ServiceAccountKey
|
||||
*/
|
||||
public function getKeys()
|
||||
{
|
||||
return $this->keys;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -22,10 +22,16 @@ class Google_Service_Iam_ListServiceAccountsResponse extends Google_Collection
|
||||
protected $accountsDataType = 'array';
|
||||
public $nextPageToken;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Iam_ServiceAccount
|
||||
*/
|
||||
public function setAccounts($accounts)
|
||||
{
|
||||
$this->accounts = $accounts;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Iam_ServiceAccount
|
||||
*/
|
||||
public function getAccounts()
|
||||
{
|
||||
return $this->accounts;
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Iam_LogConfig extends Google_Model
|
||||
{
|
||||
protected $cloudAuditType = 'Google_Service_Iam_CloudAuditOptions';
|
||||
protected $cloudAuditDataType = '';
|
||||
protected $counterType = 'Google_Service_Iam_CounterOptions';
|
||||
protected $counterDataType = '';
|
||||
protected $dataAccessType = 'Google_Service_Iam_DataAccessOptions';
|
||||
protected $dataAccessDataType = '';
|
||||
|
||||
public function setCloudAudit(Google_Service_Iam_CloudAuditOptions $cloudAudit)
|
||||
{
|
||||
$this->cloudAudit = $cloudAudit;
|
||||
}
|
||||
public function getCloudAudit()
|
||||
{
|
||||
return $this->cloudAudit;
|
||||
}
|
||||
public function setCounter(Google_Service_Iam_CounterOptions $counter)
|
||||
{
|
||||
$this->counter = $counter;
|
||||
}
|
||||
public function getCounter()
|
||||
{
|
||||
return $this->counter;
|
||||
}
|
||||
public function setDataAccess(Google_Service_Iam_DataAccessOptions $dataAccess)
|
||||
{
|
||||
$this->dataAccess = $dataAccess;
|
||||
}
|
||||
public function getDataAccess()
|
||||
{
|
||||
return $this->dataAccess;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -18,15 +18,37 @@
|
||||
class Google_Service_Iam_Policy extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'bindings';
|
||||
protected $auditConfigsType = 'Google_Service_Iam_AuditConfig';
|
||||
protected $auditConfigsDataType = 'array';
|
||||
protected $bindingsType = 'Google_Service_Iam_Binding';
|
||||
protected $bindingsDataType = 'array';
|
||||
public $etag;
|
||||
public $version;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Iam_AuditConfig
|
||||
*/
|
||||
public function setAuditConfigs($auditConfigs)
|
||||
{
|
||||
$this->auditConfigs = $auditConfigs;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Iam_AuditConfig
|
||||
*/
|
||||
public function getAuditConfigs()
|
||||
{
|
||||
return $this->auditConfigs;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Iam_Binding
|
||||
*/
|
||||
public function setBindings($bindings)
|
||||
{
|
||||
$this->bindings = $bindings;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Iam_Binding
|
||||
*/
|
||||
public function getBindings()
|
||||
{
|
||||
return $this->bindings;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -21,10 +21,16 @@ class Google_Service_Iam_PolicyDelta extends Google_Collection
|
||||
protected $bindingDeltasType = 'Google_Service_Iam_BindingDelta';
|
||||
protected $bindingDeltasDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Iam_BindingDelta
|
||||
*/
|
||||
public function setBindingDeltas($bindingDeltas)
|
||||
{
|
||||
$this->bindingDeltas = $bindingDeltas;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Iam_BindingDelta
|
||||
*/
|
||||
public function getBindingDeltas()
|
||||
{
|
||||
return $this->bindingDeltas;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -18,6 +18,9 @@
|
||||
class Google_Service_Iam_QueryGrantableRolesRequest extends Google_Model
|
||||
{
|
||||
public $fullResourceName;
|
||||
public $pageSize;
|
||||
public $pageToken;
|
||||
public $view;
|
||||
|
||||
public function setFullResourceName($fullResourceName)
|
||||
{
|
||||
@@ -27,4 +30,28 @@ class Google_Service_Iam_QueryGrantableRolesRequest extends Google_Model
|
||||
{
|
||||
return $this->fullResourceName;
|
||||
}
|
||||
public function setPageSize($pageSize)
|
||||
{
|
||||
$this->pageSize = $pageSize;
|
||||
}
|
||||
public function getPageSize()
|
||||
{
|
||||
return $this->pageSize;
|
||||
}
|
||||
public function setPageToken($pageToken)
|
||||
{
|
||||
$this->pageToken = $pageToken;
|
||||
}
|
||||
public function getPageToken()
|
||||
{
|
||||
return $this->pageToken;
|
||||
}
|
||||
public function setView($view)
|
||||
{
|
||||
$this->view = $view;
|
||||
}
|
||||
public function getView()
|
||||
{
|
||||
return $this->view;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -18,13 +18,28 @@
|
||||
class Google_Service_Iam_QueryGrantableRolesResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'roles';
|
||||
public $nextPageToken;
|
||||
protected $rolesType = 'Google_Service_Iam_Role';
|
||||
protected $rolesDataType = 'array';
|
||||
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Iam_Role
|
||||
*/
|
||||
public function setRoles($roles)
|
||||
{
|
||||
$this->roles = $roles;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Iam_Role
|
||||
*/
|
||||
public function getRoles()
|
||||
{
|
||||
return $this->roles;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -44,10 +44,10 @@ class Google_Service_Iam_Resource_ProjectsServiceAccounts extends Google_Service
|
||||
* Deletes a ServiceAccount. (serviceAccounts.delete)
|
||||
*
|
||||
* @param string $name The resource name of the service account in the following
|
||||
* format: `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.
|
||||
* Using `-` as a wildcard for the project will infer the project from the
|
||||
* account. The `account` value can be the `email` address or the `unique_id` of
|
||||
* the service account.
|
||||
* format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a
|
||||
* wildcard for the `PROJECT_ID` will infer the project from the account. The
|
||||
* `ACCOUNT` value can be the `email` address or the `unique_id` of the service
|
||||
* account.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Iam_IamEmpty
|
||||
*/
|
||||
@@ -61,10 +61,10 @@ class Google_Service_Iam_Resource_ProjectsServiceAccounts extends Google_Service
|
||||
* Gets a ServiceAccount. (serviceAccounts.get)
|
||||
*
|
||||
* @param string $name The resource name of the service account in the following
|
||||
* format: `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.
|
||||
* Using `-` as a wildcard for the project will infer the project from the
|
||||
* account. The `account` value can be the `email` address or the `unique_id` of
|
||||
* the service account.
|
||||
* format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a
|
||||
* wildcard for the `PROJECT_ID` will infer the project from the account. The
|
||||
* `ACCOUNT` value can be the `email` address or the `unique_id` of the service
|
||||
* account.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Iam_ServiceAccount
|
||||
*/
|
||||
@@ -79,8 +79,8 @@ class Google_Service_Iam_Resource_ProjectsServiceAccounts extends Google_Service
|
||||
* (serviceAccounts.getIamPolicy)
|
||||
*
|
||||
* @param string $resource REQUIRED: The resource for which the policy is being
|
||||
* requested. `resource` is usually specified as a path. For example, a Project
|
||||
* resource is specified as `projects/{project}`.
|
||||
* requested. See the operation documentation for the appropriate value for this
|
||||
* field.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Iam_Policy
|
||||
*/
|
||||
@@ -117,8 +117,8 @@ class Google_Service_Iam_Resource_ProjectsServiceAccounts extends Google_Service
|
||||
* (serviceAccounts.setIamPolicy)
|
||||
*
|
||||
* @param string $resource REQUIRED: The resource for which the policy is being
|
||||
* specified. `resource` is usually specified as a path. For example, a Project
|
||||
* resource is specified as `projects/{project}`.
|
||||
* specified. See the operation documentation for the appropriate value for this
|
||||
* field.
|
||||
* @param Google_Service_Iam_SetIamPolicyRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Iam_Policy
|
||||
@@ -134,10 +134,10 @@ class Google_Service_Iam_Resource_ProjectsServiceAccounts extends Google_Service
|
||||
* (serviceAccounts.signBlob)
|
||||
*
|
||||
* @param string $name The resource name of the service account in the following
|
||||
* format: `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.
|
||||
* Using `-` as a wildcard for the project will infer the project from the
|
||||
* account. The `account` value can be the `email` address or the `unique_id` of
|
||||
* the service account.
|
||||
* format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a
|
||||
* wildcard for the `PROJECT_ID` will infer the project from the account. The
|
||||
* `ACCOUNT` value can be the `email` address or the `unique_id` of the service
|
||||
* account.
|
||||
* @param Google_Service_Iam_SignBlobRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Iam_SignBlobResponse
|
||||
@@ -156,10 +156,10 @@ class Google_Service_Iam_Resource_ProjectsServiceAccounts extends Google_Service
|
||||
* than one hour, the request will fail. (serviceAccounts.signJwt)
|
||||
*
|
||||
* @param string $name The resource name of the service account in the following
|
||||
* format: `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.
|
||||
* Using `-` as a wildcard for the project will infer the project from the
|
||||
* account. The `account` value can be the `email` address or the `unique_id` of
|
||||
* the service account.
|
||||
* format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a
|
||||
* wildcard for the `PROJECT_ID` will infer the project from the account. The
|
||||
* `ACCOUNT` value can be the `email` address or the `unique_id` of the service
|
||||
* account.
|
||||
* @param Google_Service_Iam_SignJwtRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Iam_SignJwtResponse
|
||||
@@ -175,8 +175,8 @@ class Google_Service_Iam_Resource_ProjectsServiceAccounts extends Google_Service
|
||||
* ServiceAccount. (serviceAccounts.testIamPermissions)
|
||||
*
|
||||
* @param string $resource REQUIRED: The resource for which the policy detail is
|
||||
* being requested. `resource` is usually specified as a path. For example, a
|
||||
* Project resource is specified as `projects/{project}`.
|
||||
* being requested. See the operation documentation for the appropriate value
|
||||
* for this field.
|
||||
* @param Google_Service_Iam_TestIamPermissionsRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Iam_TestIamPermissionsResponse
|
||||
@@ -194,14 +194,14 @@ class Google_Service_Iam_Resource_ProjectsServiceAccounts extends Google_Service
|
||||
* `etag` is mandatory. (serviceAccounts.update)
|
||||
*
|
||||
* @param string $name The resource name of the service account in the following
|
||||
* format: `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.
|
||||
* format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
|
||||
*
|
||||
* Requests using `-` as a wildcard for the project will infer the project from
|
||||
* the `account` and the `account` value can be the `email` address or the
|
||||
* Requests using `-` as a wildcard for the `PROJECT_ID` will infer the project
|
||||
* from the `account` and the `ACCOUNT` value can be the `email` address or the
|
||||
* `unique_id` of the service account.
|
||||
*
|
||||
* In responses the resource name will always be in the format
|
||||
* `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.
|
||||
* `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
|
||||
* @param Google_Service_Iam_ServiceAccount $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Iam_ServiceAccount
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -29,10 +29,10 @@ class Google_Service_Iam_Resource_ProjectsServiceAccountsKeys extends Google_Ser
|
||||
* Creates a ServiceAccountKey and returns it. (keys.create)
|
||||
*
|
||||
* @param string $name The resource name of the service account in the following
|
||||
* format: `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.
|
||||
* Using `-` as a wildcard for the project will infer the project from the
|
||||
* account. The `account` value can be the `email` address or the `unique_id` of
|
||||
* the service account.
|
||||
* format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. Using `-` as a
|
||||
* wildcard for the `PROJECT_ID` will infer the project from the account. The
|
||||
* `ACCOUNT` value can be the `email` address or the `unique_id` of the service
|
||||
* account.
|
||||
* @param Google_Service_Iam_CreateServiceAccountKeyRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Iam_ServiceAccountKey
|
||||
@@ -48,10 +48,10 @@ class Google_Service_Iam_Resource_ProjectsServiceAccountsKeys extends Google_Ser
|
||||
*
|
||||
* @param string $name The resource name of the service account key in the
|
||||
* following format:
|
||||
* `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.
|
||||
* Using `-` as a wildcard for the project will infer the project from the
|
||||
* account. The `account` value can be the `email` address or the `unique_id` of
|
||||
* the service account.
|
||||
* `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`. Using `-` as a
|
||||
* wildcard for the `PROJECT_ID` will infer the project from the account. The
|
||||
* `ACCOUNT` value can be the `email` address or the `unique_id` of the service
|
||||
* account.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Iam_IamEmpty
|
||||
*/
|
||||
@@ -66,10 +66,10 @@ class Google_Service_Iam_Resource_ProjectsServiceAccountsKeys extends Google_Ser
|
||||
*
|
||||
* @param string $name The resource name of the service account key in the
|
||||
* following format:
|
||||
* `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.
|
||||
* `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}`.
|
||||
*
|
||||
* Using `-` as a wildcard for the project will infer the project from the
|
||||
* account. The `account` value can be the `email` address or the `unique_id` of
|
||||
* Using `-` as a wildcard for the `PROJECT_ID` will infer the project from the
|
||||
* account. The `ACCOUNT` value can be the `email` address or the `unique_id` of
|
||||
* the service account.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
@@ -87,10 +87,10 @@ class Google_Service_Iam_Resource_ProjectsServiceAccountsKeys extends Google_Ser
|
||||
* Lists ServiceAccountKeys. (keys.listProjectsServiceAccountsKeys)
|
||||
*
|
||||
* @param string $name The resource name of the service account in the following
|
||||
* format: `projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.
|
||||
* format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
|
||||
*
|
||||
* Using `-` as a wildcard for the project, will infer the project from the
|
||||
* account. The `account` value can be the `email` address or the `unique_id` of
|
||||
* Using `-` as a wildcard for the `PROJECT_ID`, will infer the project from the
|
||||
* account. The `ACCOUNT` value can be the `email` address or the `unique_id` of
|
||||
* the service account.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -25,6 +25,44 @@
|
||||
*/
|
||||
class Google_Service_Iam_Resource_Roles extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Gets a Role definition. (roles.get)
|
||||
*
|
||||
* @param string $name The resource name of the role in one of the following
|
||||
* formats: `roles/{ROLE_NAME}`
|
||||
* `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}`
|
||||
* `projects/{PROJECT_ID}/roles/{ROLE_NAME}`
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Iam_Role
|
||||
*/
|
||||
public function get($name, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Iam_Role");
|
||||
}
|
||||
/**
|
||||
* Lists the Roles defined on a resource. (roles.listRoles)
|
||||
*
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int pageSize Optional limit on the number of roles to include in
|
||||
* the response.
|
||||
* @opt_param string view Optional view for the returned Role objects.
|
||||
* @opt_param string parent The resource name of the parent resource in one of
|
||||
* the following formats: `` (empty string) -- this refers to curated roles.
|
||||
* `organizations/{ORGANIZATION_ID}` `projects/{PROJECT_ID}`
|
||||
* @opt_param bool showDeleted Include Roles that have been deleted.
|
||||
* @opt_param string pageToken Optional pagination token returned in an earlier
|
||||
* ListRolesResponse.
|
||||
* @return Google_Service_Iam_ListRolesResponse
|
||||
*/
|
||||
public function listRoles($optParams = array())
|
||||
{
|
||||
$params = array();
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Iam_ListRolesResponse");
|
||||
}
|
||||
/**
|
||||
* Queries roles that can be granted on a particular resource. A role is
|
||||
* grantable if it can be used as the role in a binding for a policy for that
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -15,12 +15,25 @@
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Iam_Role extends Google_Model
|
||||
class Google_Service_Iam_Role extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'includedPermissions';
|
||||
public $deleted;
|
||||
public $description;
|
||||
public $etag;
|
||||
public $includedPermissions;
|
||||
public $name;
|
||||
public $stage;
|
||||
public $title;
|
||||
|
||||
public function setDeleted($deleted)
|
||||
{
|
||||
$this->deleted = $deleted;
|
||||
}
|
||||
public function getDeleted()
|
||||
{
|
||||
return $this->deleted;
|
||||
}
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
@@ -29,6 +42,22 @@ class Google_Service_Iam_Role extends Google_Model
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
public function setEtag($etag)
|
||||
{
|
||||
$this->etag = $etag;
|
||||
}
|
||||
public function getEtag()
|
||||
{
|
||||
return $this->etag;
|
||||
}
|
||||
public function setIncludedPermissions($includedPermissions)
|
||||
{
|
||||
$this->includedPermissions = $includedPermissions;
|
||||
}
|
||||
public function getIncludedPermissions()
|
||||
{
|
||||
return $this->includedPermissions;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
@@ -37,6 +66,14 @@ class Google_Service_Iam_Role extends Google_Model
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setStage($stage)
|
||||
{
|
||||
$this->stage = $stage;
|
||||
}
|
||||
public function getStage()
|
||||
{
|
||||
return $this->stage;
|
||||
}
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
|
||||
@@ -1,87 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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_Iam_Rule extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'permissions';
|
||||
public $action;
|
||||
protected $conditionsType = 'Google_Service_Iam_Condition';
|
||||
protected $conditionsDataType = 'array';
|
||||
public $description;
|
||||
public $in;
|
||||
protected $logConfigType = 'Google_Service_Iam_LogConfig';
|
||||
protected $logConfigDataType = 'array';
|
||||
public $notIn;
|
||||
public $permissions;
|
||||
|
||||
public function setAction($action)
|
||||
{
|
||||
$this->action = $action;
|
||||
}
|
||||
public function getAction()
|
||||
{
|
||||
return $this->action;
|
||||
}
|
||||
public function setConditions($conditions)
|
||||
{
|
||||
$this->conditions = $conditions;
|
||||
}
|
||||
public function getConditions()
|
||||
{
|
||||
return $this->conditions;
|
||||
}
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
}
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
public function setIn($in)
|
||||
{
|
||||
$this->in = $in;
|
||||
}
|
||||
public function getIn()
|
||||
{
|
||||
return $this->in;
|
||||
}
|
||||
public function setLogConfig($logConfig)
|
||||
{
|
||||
$this->logConfig = $logConfig;
|
||||
}
|
||||
public function getLogConfig()
|
||||
{
|
||||
return $this->logConfig;
|
||||
}
|
||||
public function setNotIn($notIn)
|
||||
{
|
||||
$this->notIn = $notIn;
|
||||
}
|
||||
public function getNotIn()
|
||||
{
|
||||
return $this->notIn;
|
||||
}
|
||||
public function setPermissions($permissions)
|
||||
{
|
||||
$this->permissions = $permissions;
|
||||
}
|
||||
public function getPermissions()
|
||||
{
|
||||
return $this->permissions;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -19,13 +19,28 @@ class Google_Service_Iam_SetIamPolicyRequest extends Google_Model
|
||||
{
|
||||
protected $policyType = 'Google_Service_Iam_Policy';
|
||||
protected $policyDataType = '';
|
||||
public $updateMask;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Iam_Policy
|
||||
*/
|
||||
public function setPolicy(Google_Service_Iam_Policy $policy)
|
||||
{
|
||||
$this->policy = $policy;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Iam_Policy
|
||||
*/
|
||||
public function getPolicy()
|
||||
{
|
||||
return $this->policy;
|
||||
}
|
||||
public function setUpdateMask($updateMask)
|
||||
{
|
||||
$this->updateMask = $updateMask;
|
||||
}
|
||||
public function getUpdateMask()
|
||||
{
|
||||
return $this->updateMask;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
Reference in New Issue
Block a user