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
|
|
|
|
|
2019-05-03 00:37:18 +00:00
|
|
|
class AdminAuditData
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-02-08 00:36:11 +00:00
|
|
|
class AuditConfig
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class AuditData
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-02-08 00:36:11 +00:00
|
|
|
class AuditLogConfig
|
|
|
|
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
|
|
|
|
|
2019-03-08 00:37:10 +00:00
|
|
|
class DisableServiceAccountRequest
|
|
|
|
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
|
|
|
|
|
2019-03-08 00:37:10 +00:00
|
|
|
class EnableServiceAccountRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-08-22 21:14:52 +00:00
|
|
|
class Expr
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LintPolicyRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LintPolicyResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class LintResult
|
|
|
|
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
|
|
|
|
|
2019-03-15 00:36:52 +00:00
|
|
|
class PatchServiceAccountRequest
|
|
|
|
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
|
|
|
|
|
2019-05-03 00:37:18 +00:00
|
|
|
class PermissionDelta
|
|
|
|
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
|
|
|
|
|
2019-02-22 00:36:49 +00:00
|
|
|
class UndeleteServiceAccountRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class UndeleteServiceAccountResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-08-22 00:37:52 +00:00
|
|
|
class UploadServiceAccountKeyRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2019-05-03 00:37:18 +00:00
|
|
|
class AdminAuditData
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :permission_delta, as: 'permissionDelta', class: Google::Apis::IamV1::PermissionDelta, decorator: Google::Apis::IamV1::PermissionDelta::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-02-08 00:36:11 +00:00
|
|
|
class AuditConfig
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::IamV1::AuditLogConfig, decorator: Google::Apis::IamV1::AuditLogConfig::Representation
|
|
|
|
|
|
|
|
property :service, as: 'service'
|
|
|
|
end
|
|
|
|
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-02-08 00:36:11 +00:00
|
|
|
class AuditLogConfig
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :exempted_members, as: 'exemptedMembers'
|
|
|
|
property :log_type, as: 'logType'
|
|
|
|
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
|
2018-08-22 21:14:52 +00:00
|
|
|
property :condition, as: 'condition', class: Google::Apis::IamV1::Expr, decorator: Google::Apis::IamV1::Expr::Representation
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :members, as: 'members'
|
|
|
|
property :role, as: 'role'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class BindingDelta
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :action, as: 'action'
|
2018-08-22 21:14:52 +00:00
|
|
|
property :condition, as: 'condition', class: Google::Apis::IamV1::Expr, decorator: Google::Apis::IamV1::Expr::Representation
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
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
|
|
|
|
|
2019-03-08 00:37:10 +00:00
|
|
|
class DisableServiceAccountRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
|
|
|
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
|
|
|
|
2019-03-08 00:37:10 +00:00
|
|
|
class EnableServiceAccountRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-08-22 21:14:52 +00:00
|
|
|
class Expr
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :expression, as: 'expression'
|
|
|
|
property :location, as: 'location'
|
|
|
|
property :title, as: 'title'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LintPolicyRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :binding, as: 'binding', class: Google::Apis::IamV1::Binding, decorator: Google::Apis::IamV1::Binding::Representation
|
|
|
|
|
|
|
|
property :condition, as: 'condition', class: Google::Apis::IamV1::Expr, decorator: Google::Apis::IamV1::Expr::Representation
|
|
|
|
|
|
|
|
hash :context, as: 'context'
|
|
|
|
property :full_resource_name, as: 'fullResourceName'
|
|
|
|
property :policy, as: 'policy', class: Google::Apis::IamV1::Policy, decorator: Google::Apis::IamV1::Policy::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LintPolicyResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :lint_results, as: 'lintResults', class: Google::Apis::IamV1::LintResult, decorator: Google::Apis::IamV1::LintResult::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class LintResult
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :binding_ordinal, as: 'bindingOrdinal'
|
|
|
|
property :debug_message, as: 'debugMessage'
|
|
|
|
property :field_name, as: 'fieldName'
|
|
|
|
property :level, as: 'level'
|
|
|
|
property :location_offset, as: 'locationOffset'
|
|
|
|
property :severity, as: 'severity'
|
|
|
|
property :validation_unit_name, as: 'validationUnitName'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
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
|
|
|
|
|
2019-03-15 00:36:52 +00:00
|
|
|
class PatchServiceAccountRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :service_account, as: 'serviceAccount', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation
|
|
|
|
|
|
|
|
property :update_mask, as: 'updateMask'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
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'
|
2019-08-07 00:38:02 +00:00
|
|
|
property :primary_permission, as: 'primaryPermission'
|
2017-08-25 19:54:22 +00:00
|
|
|
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
|
|
|
|
2019-05-03 00:37:18 +00:00
|
|
|
class PermissionDelta
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :added_permissions, as: 'addedPermissions'
|
|
|
|
collection :removed_permissions, as: 'removedPermissions'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
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
|
2018-02-08 00:36:11 +00:00
|
|
|
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::IamV1::AuditConfig, decorator: Google::Apis::IamV1::AuditConfig::Representation
|
|
|
|
|
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
|
2019-03-15 00:36:52 +00:00
|
|
|
property :description, as: 'description'
|
2019-02-22 00:36:49 +00:00
|
|
|
property :disabled, as: 'disabled'
|
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'
|
2019-06-12 00:37:34 +00:00
|
|
|
property :key_origin, as: 'keyOrigin'
|
2019-10-31 00:37:11 +00:00
|
|
|
property :key_type, as: 'keyType'
|
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
|
|
|
|
|
2018-02-08 00:36:11 +00:00
|
|
|
property :update_mask, as: 'updateMask'
|
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
|
2019-02-22 00:36:49 +00:00
|
|
|
|
|
|
|
class UndeleteServiceAccountRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class UndeleteServiceAccountResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :restored_account, as: 'restoredAccount', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
2019-08-22 00:37:52 +00:00
|
|
|
|
|
|
|
class UploadServiceAccountKeyRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :public_key_data, :base64 => true, as: 'publicKeyData'
|
|
|
|
end
|
|
|
|
end
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|