2016-03-11 22:41:20 +00:00
|
|
|
# Copyright 2015 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.
|
|
|
|
|
|
|
|
require 'date'
|
|
|
|
require 'google/apis/core/base_service'
|
|
|
|
require 'google/apis/core/json_representation'
|
|
|
|
require 'google/apis/core/hashable'
|
|
|
|
require 'google/apis/errors'
|
|
|
|
|
|
|
|
module Google
|
|
|
|
module Apis
|
|
|
|
module IamV1
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class AuditData
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-25 00:35:00 +00:00
|
|
|
class AuditableService
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Binding
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class BindingDelta
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class CreateRoleRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class CreateServiceAccountKeyRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
class CreateServiceAccountRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Empty
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListRolesResponse
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListServiceAccountKeysResponse
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListServiceAccountsResponse
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Permission
|
2017-03-31 19:53:27 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Policy
|
2016-03-11 22:41:20 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class PolicyDelta
|
2016-03-11 22:41:20 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-25 00:35:00 +00:00
|
|
|
class QueryAuditableServicesRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class QueryAuditableServicesResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class QueryGrantableRolesRequest
|
2016-03-11 22:41:20 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class QueryGrantableRolesResponse
|
2016-03-11 22:41:20 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class QueryTestablePermissionsRequest
|
2016-03-11 22:41:20 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class QueryTestablePermissionsResponse
|
2016-03-11 22:41:20 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Role
|
2016-03-11 22:41:20 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ServiceAccount
|
2016-03-11 22:41:20 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ServiceAccountKey
|
2016-03-11 22:41:20 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetIamPolicyRequest
|
2016-03-11 22:41:20 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SignBlobRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class SignBlobResponse
|
2016-03-11 22:41:20 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class SignJwtRequest
|
2016-03-11 22:41:20 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SignJwtResponse
|
2016-03-11 22:41:20 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class TestIamPermissionsRequest
|
2016-03-11 22:41:20 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class TestIamPermissionsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class UndeleteRoleRequest
|
2016-03-11 22:41:20 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class AuditData
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :policy_delta, as: 'policyDelta', class: Google::Apis::IamV1::PolicyDelta, decorator: Google::Apis::IamV1::PolicyDelta::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-25 00:35:00 +00:00
|
|
|
class AuditableService
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :name, as: 'name'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Binding
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :members, as: 'members'
|
|
|
|
property :role, as: 'role'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BindingDelta
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :action, as: 'action'
|
|
|
|
property :member, as: 'member'
|
|
|
|
property :role, as: 'role'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class CreateRoleRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :role, as: 'role', class: Google::Apis::IamV1::Role, decorator: Google::Apis::IamV1::Role::Representation
|
|
|
|
|
|
|
|
property :role_id, as: 'roleId'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class CreateServiceAccountKeyRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :key_algorithm, as: 'keyAlgorithm'
|
|
|
|
property :private_key_type, as: 'privateKeyType'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
class CreateServiceAccountRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :account_id, as: 'accountId'
|
|
|
|
property :service_account, as: 'serviceAccount', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation
|
2016-03-11 22:41:20 +00:00
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Empty
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
end
|
|
|
|
end
|
2016-03-11 22:41:20 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListRolesResponse
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :roles, as: 'roles', class: Google::Apis::IamV1::Role, decorator: Google::Apis::IamV1::Role::Representation
|
2016-03-11 22:41:20 +00:00
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListServiceAccountKeysResponse
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :keys, as: 'keys', class: Google::Apis::IamV1::ServiceAccountKey, decorator: Google::Apis::IamV1::ServiceAccountKey::Representation
|
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListServiceAccountsResponse
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :accounts, as: 'accounts', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation
|
|
|
|
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Permission
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-01-25 00:35:00 +00:00
|
|
|
property :api_disabled, as: 'apiDisabled'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :custom_roles_support_level, as: 'customRolesSupportLevel'
|
2017-07-12 20:10:42 +00:00
|
|
|
property :description, as: 'description'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :only_in_predefined_roles, as: 'onlyInPredefinedRoles'
|
|
|
|
property :stage, as: 'stage'
|
|
|
|
property :title, as: 'title'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
2017-03-31 19:53:27 +00:00
|
|
|
end
|
2016-03-11 22:41:20 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Policy
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :bindings, as: 'bindings', class: Google::Apis::IamV1::Binding, decorator: Google::Apis::IamV1::Binding::Representation
|
2017-05-26 16:44:32 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :etag, :base64 => true, as: 'etag'
|
|
|
|
property :version, as: 'version'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class PolicyDelta
|
2017-03-31 19:53:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :binding_deltas, as: 'bindingDeltas', class: Google::Apis::IamV1::BindingDelta, decorator: Google::Apis::IamV1::BindingDelta::Representation
|
|
|
|
|
2017-03-31 19:53:27 +00:00
|
|
|
end
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
|
2018-01-25 00:35:00 +00:00
|
|
|
class QueryAuditableServicesRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :full_resource_name, as: 'fullResourceName'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class QueryAuditableServicesResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :services, as: 'services', class: Google::Apis::IamV1::AuditableService, decorator: Google::Apis::IamV1::AuditableService::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class QueryGrantableRolesRequest
|
2016-03-11 22:41:20 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :full_resource_name, as: 'fullResourceName'
|
|
|
|
property :page_size, as: 'pageSize'
|
|
|
|
property :page_token, as: 'pageToken'
|
|
|
|
property :view, as: 'view'
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class QueryGrantableRolesResponse
|
2016-03-11 22:41:20 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :roles, as: 'roles', class: Google::Apis::IamV1::Role, decorator: Google::Apis::IamV1::Role::Representation
|
|
|
|
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class QueryTestablePermissionsRequest
|
2016-03-11 22:41:20 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :full_resource_name, as: 'fullResourceName'
|
|
|
|
property :page_size, as: 'pageSize'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :page_token, as: 'pageToken'
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class QueryTestablePermissionsResponse
|
2016-03-11 22:41:20 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :permissions, as: 'permissions', class: Google::Apis::IamV1::Permission, decorator: Google::Apis::IamV1::Permission::Representation
|
2017-07-12 20:10:42 +00:00
|
|
|
|
2017-02-03 19:29:28 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Role
|
2017-02-03 19:29:28 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :deleted, as: 'deleted'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :etag, :base64 => true, as: 'etag'
|
|
|
|
collection :included_permissions, as: 'includedPermissions'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :stage, as: 'stage'
|
|
|
|
property :title, as: 'title'
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ServiceAccount
|
2016-03-11 22:41:20 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :email, as: 'email'
|
|
|
|
property :etag, :base64 => true, as: 'etag'
|
2017-06-14 17:02:03 +00:00
|
|
|
property :name, as: 'name'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :oauth2_client_id, as: 'oauth2ClientId'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :unique_id, as: 'uniqueId'
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ServiceAccountKey
|
2016-03-11 22:41:20 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :key_algorithm, as: 'keyAlgorithm'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :private_key_data, :base64 => true, as: 'privateKeyData'
|
2017-07-12 20:10:42 +00:00
|
|
|
property :private_key_type, as: 'privateKeyType'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :public_key_data, :base64 => true, as: 'publicKeyData'
|
|
|
|
property :valid_after_time, as: 'validAfterTime'
|
|
|
|
property :valid_before_time, as: 'validBeforeTime'
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetIamPolicyRequest
|
2016-03-11 22:41:20 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :policy, as: 'policy', class: Google::Apis::IamV1::Policy, decorator: Google::Apis::IamV1::Policy::Representation
|
|
|
|
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SignBlobRequest
|
2016-03-11 22:41:20 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :bytes_to_sign, :base64 => true, as: 'bytesToSign'
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SignBlobResponse
|
2016-03-11 22:41:20 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-07-12 20:10:42 +00:00
|
|
|
property :key_id, as: 'keyId'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :signature, :base64 => true, as: 'signature'
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SignJwtRequest
|
2016-03-11 22:41:20 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :payload, as: 'payload'
|
2017-02-03 19:29:28 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SignJwtResponse
|
2017-02-03 19:29:28 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :key_id, as: 'keyId'
|
|
|
|
property :signed_jwt, as: 'signedJwt'
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class TestIamPermissionsRequest
|
2016-03-11 22:41:20 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :permissions, as: 'permissions'
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class TestIamPermissionsResponse
|
2017-02-03 19:29:28 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :permissions, as: 'permissions'
|
2017-02-03 19:29:28 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class UndeleteRoleRequest
|
2016-03-11 22:41:20 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :etag, :base64 => true, as: 'etag'
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|