lib/google/cloud/pubsub/v1/iam_policy/credentials.rb in google-cloud-pubsub-v1-0.11.0 vs lib/google/cloud/pubsub/v1/iam_policy/credentials.rb in google-cloud-pubsub-v1-0.12.0
- old
+ new
@@ -12,19 +12,23 @@
# 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.
-# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
+# Originally auto-generated by gapic-generator-ruby.
require "googleauth"
module Google
module Cloud
module PubSub
module V1
module IAMPolicy
- # Credentials for the IAMPolicy API.
+ ##
+ # @deprecated Call `iam_policy_client` on any of the other client
+ # objects to get a client for IAM policies instead of using this
+ # legacy class.
+ #
class Credentials < ::Google::Auth::Credentials
self.scope = [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/pubsub"
]