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
|
||||
|
||||
@@ -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
|
||||
@@ -30,10 +30,16 @@ class Google_Service_Pubsub_ListSubscriptionsResponse extends Google_Collection
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Pubsub_Subscription
|
||||
*/
|
||||
public function setSubscriptions($subscriptions)
|
||||
{
|
||||
$this->subscriptions = $subscriptions;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Pubsub_Subscription
|
||||
*/
|
||||
public function getSubscriptions()
|
||||
{
|
||||
return $this->subscriptions;
|
||||
|
||||
@@ -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
|
||||
@@ -30,10 +30,16 @@ class Google_Service_Pubsub_ListTopicsResponse extends Google_Collection
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Pubsub_Topic
|
||||
*/
|
||||
public function setTopics($topics)
|
||||
{
|
||||
$this->topics = $topics;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Pubsub_Topic
|
||||
*/
|
||||
public function getTopics()
|
||||
{
|
||||
return $this->topics;
|
||||
|
||||
@@ -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
|
||||
@@ -20,10 +20,16 @@ class Google_Service_Pubsub_ModifyPushConfigRequest extends Google_Model
|
||||
protected $pushConfigType = 'Google_Service_Pubsub_PushConfig';
|
||||
protected $pushConfigDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Pubsub_PushConfig
|
||||
*/
|
||||
public function setPushConfig(Google_Service_Pubsub_PushConfig $pushConfig)
|
||||
{
|
||||
$this->pushConfig = $pushConfig;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Pubsub_PushConfig
|
||||
*/
|
||||
public function getPushConfig()
|
||||
{
|
||||
return $this->pushConfig;
|
||||
|
||||
@@ -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
|
||||
@@ -23,10 +23,16 @@ class Google_Service_Pubsub_Policy extends Google_Collection
|
||||
public $etag;
|
||||
public $version;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Pubsub_Binding
|
||||
*/
|
||||
public function setBindings($bindings)
|
||||
{
|
||||
$this->bindings = $bindings;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Pubsub_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_Pubsub_PublishRequest extends Google_Collection
|
||||
protected $messagesType = 'Google_Service_Pubsub_PubsubMessage';
|
||||
protected $messagesDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Pubsub_PubsubMessage
|
||||
*/
|
||||
public function setMessages($messages)
|
||||
{
|
||||
$this->messages = $messages;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Pubsub_PubsubMessage
|
||||
*/
|
||||
public function getMessages()
|
||||
{
|
||||
return $this->messages;
|
||||
|
||||
@@ -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
|
||||
@@ -21,10 +21,16 @@ class Google_Service_Pubsub_PullResponse extends Google_Collection
|
||||
protected $receivedMessagesType = 'Google_Service_Pubsub_ReceivedMessage';
|
||||
protected $receivedMessagesDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Pubsub_ReceivedMessage
|
||||
*/
|
||||
public function setReceivedMessages($receivedMessages)
|
||||
{
|
||||
$this->receivedMessages = $receivedMessages;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Pubsub_ReceivedMessage
|
||||
*/
|
||||
public function getReceivedMessages()
|
||||
{
|
||||
return $this->receivedMessages;
|
||||
|
||||
@@ -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_Pubsub_ReceivedMessage extends Google_Model
|
||||
{
|
||||
return $this->ackId;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Pubsub_PubsubMessage
|
||||
*/
|
||||
public function setMessage(Google_Service_Pubsub_PubsubMessage $message)
|
||||
{
|
||||
$this->message = $message;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Pubsub_PubsubMessage
|
||||
*/
|
||||
public function getMessage()
|
||||
{
|
||||
return $this->message;
|
||||
|
||||
@@ -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
|
||||
@@ -25,13 +25,76 @@
|
||||
*/
|
||||
class Google_Service_Pubsub_Resource_ProjectsSnapshots extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* [ALPHA] This method is a part of a closed Alpha API. Creates a snapshot from
|
||||
* the requested subscription. If the snapshot already exists, returns
|
||||
* `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns
|
||||
* `NOT_FOUND`. If the backlog in the subscription is too old -- and the
|
||||
* resulting snapshot would expire in less than 1 hour -- then
|
||||
* `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field.
|
||||
*
|
||||
* If the name is not provided in the request, the server will assign a random
|
||||
* name for this snapshot on the same project as the subscription, conforming to
|
||||
* the [resource name
|
||||
* format](https://cloud.google.com/pubsub/docs/overview#names). The generated
|
||||
* name is populated in the returned Snapshot object. Note that for REST API
|
||||
* requests, you must specify a name in the request. (snapshots.create)
|
||||
*
|
||||
* @param string $name Optional user-provided name for this snapshot. If the
|
||||
* name is not provided in the request, the server will assign a random name for
|
||||
* this snapshot on the same project as the subscription. Note that for REST API
|
||||
* requests, you must specify a name. Format is
|
||||
* `projects/{project}/snapshots/{snap}`.
|
||||
* @param Google_Service_Pubsub_CreateSnapshotRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Pubsub_Snapshot
|
||||
*/
|
||||
public function create($name, Google_Service_Pubsub_CreateSnapshotRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('create', array($params), "Google_Service_Pubsub_Snapshot");
|
||||
}
|
||||
/**
|
||||
* Removes an existing snapshot. All messages retained in the snapshot are
|
||||
* immediately dropped. After a snapshot is deleted, a new one may be created
|
||||
* with the same name, but the new one has no association with the old snapshot
|
||||
* or its subscription, unless the same subscription is specified. [ALPHA] This
|
||||
* method is a part of a closed Alpha API. (snapshots.delete)
|
||||
*
|
||||
* @param string $snapshot The name of the snapshot to delete. Format is
|
||||
* `projects/{project}/snapshots/{snap}`.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Pubsub_PubsubEmpty
|
||||
*/
|
||||
public function delete($snapshot, $optParams = array())
|
||||
{
|
||||
$params = array('snapshot' => $snapshot);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('delete', array($params), "Google_Service_Pubsub_PubsubEmpty");
|
||||
}
|
||||
/**
|
||||
* Gets the configuration details of a snapshot. [ALPHA] This method is a part
|
||||
* of a closed Alpha API. (snapshots.get)
|
||||
*
|
||||
* @param string $snapshot The name of the snapshot to get. Format is
|
||||
* `projects/{project}/snapshots/{snap}`.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Pubsub_Snapshot
|
||||
*/
|
||||
public function get($snapshot, $optParams = array())
|
||||
{
|
||||
$params = array('snapshot' => $snapshot);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Pubsub_Snapshot");
|
||||
}
|
||||
/**
|
||||
* Gets the access control policy for a resource. Returns an empty policy if the
|
||||
* resource exists and does not have a policy set. (snapshots.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_Pubsub_Policy
|
||||
*/
|
||||
@@ -41,13 +104,50 @@ class Google_Service_Pubsub_Resource_ProjectsSnapshots extends Google_Service_Re
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('getIamPolicy', array($params), "Google_Service_Pubsub_Policy");
|
||||
}
|
||||
/**
|
||||
* Lists the existing snapshots. [ALPHA] This method is a part of a closed Alpha
|
||||
* API. (snapshots.listProjectsSnapshots)
|
||||
*
|
||||
* @param string $project The name of the cloud project that snapshots belong
|
||||
* to. Format is `projects/{project}`.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int pageSize Maximum number of snapshots to return.
|
||||
* @opt_param string pageToken The value returned by the last
|
||||
* `ListSnapshotsResponse`; indicates that this is a continuation of a prior
|
||||
* `ListSnapshots` call, and that the system should return the next page of
|
||||
* data.
|
||||
* @return Google_Service_Pubsub_ListSnapshotsResponse
|
||||
*/
|
||||
public function listProjectsSnapshots($project, $optParams = array())
|
||||
{
|
||||
$params = array('project' => $project);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Pubsub_ListSnapshotsResponse");
|
||||
}
|
||||
/**
|
||||
* Updates an existing snapshot. Note that certain properties of a snapshot are
|
||||
* not modifiable. [ALPHA] This method is a part of a closed Alpha API.
|
||||
* (snapshots.patch)
|
||||
*
|
||||
* @param string $name The name of the snapshot.
|
||||
* @param Google_Service_Pubsub_UpdateSnapshotRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Pubsub_Snapshot
|
||||
*/
|
||||
public function patch($name, Google_Service_Pubsub_UpdateSnapshotRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('patch', array($params), "Google_Service_Pubsub_Snapshot");
|
||||
}
|
||||
/**
|
||||
* Sets the access control policy on the specified resource. Replaces any
|
||||
* existing policy. (snapshots.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_Pubsub_SetIamPolicyRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Pubsub_Policy
|
||||
@@ -68,8 +168,8 @@ class Google_Service_Pubsub_Resource_ProjectsSnapshots extends Google_Service_Re
|
||||
* "fail open" without warning. (snapshots.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_Pubsub_TestIamPermissionsRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Pubsub_TestIamPermissionsResponse
|
||||
|
||||
@@ -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
|
||||
@@ -111,8 +111,8 @@ class Google_Service_Pubsub_Resource_ProjectsSubscriptions extends Google_Servic
|
||||
* resource exists and does not have a policy set. (subscriptions.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_Pubsub_Policy
|
||||
*/
|
||||
@@ -183,6 +183,26 @@ class Google_Service_Pubsub_Resource_ProjectsSubscriptions extends Google_Servic
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('modifyPushConfig', array($params), "Google_Service_Pubsub_PubsubEmpty");
|
||||
}
|
||||
/**
|
||||
* Updates an existing subscription. Note that certain properties of a
|
||||
* subscription, such as its topic, are not modifiable. (subscriptions.patch)
|
||||
*
|
||||
* @param string $name The name of the subscription. It must have the format
|
||||
* `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must
|
||||
* start with a letter, and contain only letters (`[A-Za-z]`), numbers
|
||||
* (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus
|
||||
* (`+`) or percent signs (`%`). It must be between 3 and 255 characters in
|
||||
* length, and it must not start with `"goog"`.
|
||||
* @param Google_Service_Pubsub_UpdateSubscriptionRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Pubsub_Subscription
|
||||
*/
|
||||
public function patch($name, Google_Service_Pubsub_UpdateSubscriptionRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('name' => $name, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('patch', array($params), "Google_Service_Pubsub_Subscription");
|
||||
}
|
||||
/**
|
||||
* Pulls messages from the server. Returns an empty list if there are no
|
||||
* messages available in the backlog. The server may return `UNAVAILABLE` if
|
||||
@@ -201,13 +221,29 @@ class Google_Service_Pubsub_Resource_ProjectsSubscriptions extends Google_Servic
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('pull', array($params), "Google_Service_Pubsub_PullResponse");
|
||||
}
|
||||
/**
|
||||
* Seeks an existing subscription to a point in time or to a given snapshot,
|
||||
* whichever is provided in the request. [ALPHA] This method is a part of a
|
||||
* closed Alpha API. (subscriptions.seek)
|
||||
*
|
||||
* @param string $subscription The subscription to affect.
|
||||
* @param Google_Service_Pubsub_SeekRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Pubsub_SeekResponse
|
||||
*/
|
||||
public function seek($subscription, Google_Service_Pubsub_SeekRequest $postBody, $optParams = array())
|
||||
{
|
||||
$params = array('subscription' => $subscription, 'postBody' => $postBody);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('seek', array($params), "Google_Service_Pubsub_SeekResponse");
|
||||
}
|
||||
/**
|
||||
* Sets the access control policy on the specified resource. Replaces any
|
||||
* existing policy. (subscriptions.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_Pubsub_SetIamPolicyRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Pubsub_Policy
|
||||
@@ -228,8 +264,8 @@ class Google_Service_Pubsub_Resource_ProjectsSubscriptions extends Google_Servic
|
||||
* "fail open" without warning. (subscriptions.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_Pubsub_TestIamPermissionsRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Pubsub_TestIamPermissionsResponse
|
||||
|
||||
@@ -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
|
||||
@@ -81,8 +81,8 @@ class Google_Service_Pubsub_Resource_ProjectsTopics extends Google_Service_Resou
|
||||
* resource exists and does not have a policy set. (topics.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_Pubsub_Policy
|
||||
*/
|
||||
@@ -99,10 +99,10 @@ class Google_Service_Pubsub_Resource_ProjectsTopics extends Google_Service_Resou
|
||||
* Format is `projects/{project}`.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param int pageSize Maximum number of topics to return.
|
||||
* @opt_param string pageToken The value returned by the last
|
||||
* `ListTopicsResponse`; indicates that this is a continuation of a prior
|
||||
* `ListTopics` call, and that the system should return the next page of data.
|
||||
* @opt_param int pageSize Maximum number of topics to return.
|
||||
* @return Google_Service_Pubsub_ListTopicsResponse
|
||||
*/
|
||||
public function listProjectsTopics($project, $optParams = array())
|
||||
@@ -133,8 +133,8 @@ class Google_Service_Pubsub_Resource_ProjectsTopics extends Google_Service_Resou
|
||||
* existing policy. (topics.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_Pubsub_SetIamPolicyRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Pubsub_Policy
|
||||
@@ -155,8 +155,8 @@ class Google_Service_Pubsub_Resource_ProjectsTopics extends Google_Service_Resou
|
||||
* "fail open" without warning. (topics.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_Pubsub_TestIamPermissionsRequest $postBody
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Pubsub_TestIamPermissionsResponse
|
||||
|
||||
@@ -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
|
||||
@@ -26,7 +26,7 @@
|
||||
class Google_Service_Pubsub_Resource_ProjectsTopicsSubscriptions extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Lists the name of the subscriptions for this topic.
|
||||
* Lists the names of the subscriptions on this topic.
|
||||
* (subscriptions.listProjectsTopicsSubscriptions)
|
||||
*
|
||||
* @param string $topic The name of the topic that subscriptions are attached
|
||||
|
||||
@@ -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_Pubsub_SetIamPolicyRequest extends Google_Model
|
||||
protected $policyType = 'Google_Service_Pubsub_Policy';
|
||||
protected $policyDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Pubsub_Policy
|
||||
*/
|
||||
public function setPolicy(Google_Service_Pubsub_Policy $policy)
|
||||
{
|
||||
$this->policy = $policy;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Pubsub_Policy
|
||||
*/
|
||||
public function getPolicy()
|
||||
{
|
||||
return $this->policy;
|
||||
|
||||
@@ -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,9 +18,11 @@
|
||||
class Google_Service_Pubsub_Subscription extends Google_Model
|
||||
{
|
||||
public $ackDeadlineSeconds;
|
||||
public $messageRetentionDuration;
|
||||
public $name;
|
||||
protected $pushConfigType = 'Google_Service_Pubsub_PushConfig';
|
||||
protected $pushConfigDataType = '';
|
||||
public $retainAckedMessages;
|
||||
public $topic;
|
||||
|
||||
public function setAckDeadlineSeconds($ackDeadlineSeconds)
|
||||
@@ -31,6 +33,14 @@ class Google_Service_Pubsub_Subscription extends Google_Model
|
||||
{
|
||||
return $this->ackDeadlineSeconds;
|
||||
}
|
||||
public function setMessageRetentionDuration($messageRetentionDuration)
|
||||
{
|
||||
$this->messageRetentionDuration = $messageRetentionDuration;
|
||||
}
|
||||
public function getMessageRetentionDuration()
|
||||
{
|
||||
return $this->messageRetentionDuration;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
@@ -39,14 +49,28 @@ class Google_Service_Pubsub_Subscription extends Google_Model
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Pubsub_PushConfig
|
||||
*/
|
||||
public function setPushConfig(Google_Service_Pubsub_PushConfig $pushConfig)
|
||||
{
|
||||
$this->pushConfig = $pushConfig;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Pubsub_PushConfig
|
||||
*/
|
||||
public function getPushConfig()
|
||||
{
|
||||
return $this->pushConfig;
|
||||
}
|
||||
public function setRetainAckedMessages($retainAckedMessages)
|
||||
{
|
||||
$this->retainAckedMessages = $retainAckedMessages;
|
||||
}
|
||||
public function getRetainAckedMessages()
|
||||
{
|
||||
return $this->retainAckedMessages;
|
||||
}
|
||||
public function setTopic($topic)
|
||||
{
|
||||
$this->topic = $topic;
|
||||
|
||||
@@ -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