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 CloudresourcemanagerV1
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class GetEffectiveOrgPolicyRequest
|
2017-05-26 16:44:32 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class ListOrgPoliciesRequest
|
2017-05-26 16:44:32 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class AuditConfig
|
2017-05-26 16:44:32 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class Operation
|
2017-05-26 16:44:32 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class ListLiensResponse
|
2017-05-26 16:44:32 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class Constraint
|
2017-05-26 16:44:32 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class Status
|
2017-05-26 16:44:32 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class Binding
|
2017-05-26 16:44:32 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class GetOrgPolicyRequest
|
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 RestoreDefault
|
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 ClearOrgPolicyRequest
|
2017-03-27 22:14:47 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class UndeleteProjectRequest
|
2017-05-26 16:44:32 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class ProjectCreationStatus
|
2017-03-27 22:14:47 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class BooleanConstraint
|
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 TestIamPermissionsResponse
|
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 GetIamPolicyRequest
|
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 OrganizationOwner
|
2017-01-13 23:04:35 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class ListProjectsResponse
|
2016-10-04 00:27:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class Project
|
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 SearchOrganizationsResponse
|
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 ListOrgPoliciesResponse
|
2017-03-27 22:14:47 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class FolderOperationError
|
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 OrgPolicy
|
2017-03-27 22:14:47 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class BooleanPolicy
|
2017-03-27 22:14:47 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class Lien
|
2017-01-13 23:04:35 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class Ancestor
|
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 ListConstraint
|
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 SetOrgPolicyRequest
|
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 SetIamPolicyRequest
|
2017-03-27 22:14:47 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class Empty
|
2016-06-23 19:42:56 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class Organization
|
2017-03-27 22:14:47 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class ListAvailableOrgPolicyConstraintsResponse
|
2017-03-27 22:14:47 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class ListPolicy
|
2017-03-27 22:14:47 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class GetAncestryResponse
|
2016-06-23 19:42:56 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class AuditLogConfig
|
2016-10-04 00:27:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class SearchOrganizationsRequest
|
2017-03-27 22:14:47 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class GetAncestryRequest
|
2016-10-04 00:27:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class TestIamPermissionsRequest
|
2016-10-04 00:27:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class FolderOperation
|
2016-10-04 00:27:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class Policy
|
2016-10-04 00:27:26 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class ListAvailableOrgPolicyConstraintsRequest
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class ResourceId
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class GetEffectiveOrgPolicyRequest
|
2017-05-26 16:44:32 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :constraint, as: 'constraint'
|
2017-05-26 16:44:32 +00:00
|
|
|
end
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class ListOrgPoliciesRequest
|
2017-05-26 16:44:32 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :page_token, as: 'pageToken'
|
|
|
|
property :page_size, as: 'pageSize'
|
2017-05-26 16:44:32 +00:00
|
|
|
end
|
|
|
|
end
|
2017-03-10 21:11:09 +00:00
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class AuditConfig
|
2017-05-26 16:44:32 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudresourcemanagerV1::AuditLogConfig, decorator: Google::Apis::CloudresourcemanagerV1::AuditLogConfig::Representation
|
|
|
|
|
|
|
|
property :service, as: 'service'
|
2017-05-26 16:44:32 +00:00
|
|
|
end
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class Operation
|
2017-05-26 16:44:32 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :done, as: 'done'
|
|
|
|
hash :response, as: 'response'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :error, as: 'error', class: Google::Apis::CloudresourcemanagerV1::Status, decorator: Google::Apis::CloudresourcemanagerV1::Status::Representation
|
2016-10-04 00:27:26 +00:00
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
hash :metadata, as: 'metadata'
|
2017-06-02 06:11:31 +00:00
|
|
|
end
|
|
|
|
end
|
2017-01-13 23:04:35 +00:00
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class ListLiensResponse
|
2017-06-02 06:11:31 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :liens, as: 'liens', class: Google::Apis::CloudresourcemanagerV1::Lien, decorator: Google::Apis::CloudresourcemanagerV1::Lien::Representation
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
end
|
2017-01-13 23:04:35 +00:00
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class Constraint
|
2017-05-26 16:44:32 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :version, as: 'version'
|
|
|
|
property :list_constraint, as: 'listConstraint', class: Google::Apis::CloudresourcemanagerV1::ListConstraint, decorator: Google::Apis::CloudresourcemanagerV1::ListConstraint::Representation
|
|
|
|
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :boolean_constraint, as: 'booleanConstraint', class: Google::Apis::CloudresourcemanagerV1::BooleanConstraint, decorator: Google::Apis::CloudresourcemanagerV1::BooleanConstraint::Representation
|
2017-06-02 06:11:31 +00:00
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
property :constraint_default, as: 'constraintDefault'
|
|
|
|
property :name, as: 'name'
|
2017-05-26 16:44:32 +00:00
|
|
|
end
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class Status
|
2017-05-26 16:44:32 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
collection :details, as: 'details'
|
|
|
|
property :code, as: 'code'
|
|
|
|
property :message, as: 'message'
|
2017-05-26 16:44:32 +00:00
|
|
|
end
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class Binding
|
2017-05-26 16:44:32 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
collection :members, as: 'members'
|
|
|
|
property :role, as: 'role'
|
2017-05-26 16:44:32 +00:00
|
|
|
end
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class GetOrgPolicyRequest
|
2017-05-26 16:44:32 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :constraint, as: 'constraint'
|
2017-05-26 16:44:32 +00:00
|
|
|
end
|
2017-03-31 19:53:27 +00:00
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class RestoreDefault
|
2017-03-27 22:14:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class ClearOrgPolicyRequest
|
2017-03-27 22:14:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :etag, :base64 => true, as: 'etag'
|
|
|
|
property :constraint, as: 'constraint'
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class UndeleteProjectRequest
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class ProjectCreationStatus
|
2017-05-26 16:44:32 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :ready, as: 'ready'
|
|
|
|
property :create_time, as: 'createTime'
|
|
|
|
property :gettable, as: 'gettable'
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class BooleanConstraint
|
2016-03-11 22:41:20 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class TestIamPermissionsResponse
|
2016-03-11 22:41:20 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
collection :permissions, as: 'permissions'
|
2016-10-04 00:27:26 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class GetIamPolicyRequest
|
2017-01-28 03:38:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class OrganizationOwner
|
2016-10-04 00:27:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :directory_customer_id, as: 'directoryCustomerId'
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class ListProjectsResponse
|
2016-03-11 22:41:20 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
collection :projects, as: 'projects', class: Google::Apis::CloudresourcemanagerV1::Project, decorator: Google::Apis::CloudresourcemanagerV1::Project::Representation
|
2017-06-02 06:11:31 +00:00
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
2017-02-03 19:29:28 +00:00
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class Project
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :project_number, :numeric_string => true, as: 'projectNumber'
|
|
|
|
property :parent, as: 'parent', class: Google::Apis::CloudresourcemanagerV1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1::ResourceId::Representation
|
|
|
|
|
|
|
|
property :create_time, as: 'createTime'
|
|
|
|
hash :labels, as: 'labels'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :lifecycle_state, as: 'lifecycleState'
|
2017-01-13 23:04:35 +00:00
|
|
|
end
|
|
|
|
end
|
2016-10-04 00:27:26 +00:00
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class SearchOrganizationsResponse
|
2017-01-13 23:04:35 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :organizations, as: 'organizations', class: Google::Apis::CloudresourcemanagerV1::Organization, decorator: Google::Apis::CloudresourcemanagerV1::Organization::Representation
|
|
|
|
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class ListOrgPoliciesResponse
|
2017-03-27 22:14:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
collection :policies, as: 'policies', class: Google::Apis::CloudresourcemanagerV1::OrgPolicy, decorator: Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
|
|
|
|
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class FolderOperationError
|
2016-03-11 22:41:20 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :error_message_id, as: 'errorMessageId'
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class OrgPolicy
|
2017-03-27 22:14:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :version, as: 'version'
|
|
|
|
property :restore_default, as: 'restoreDefault', class: Google::Apis::CloudresourcemanagerV1::RestoreDefault, decorator: Google::Apis::CloudresourcemanagerV1::RestoreDefault::Representation
|
2017-06-02 06:11:31 +00:00
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
property :list_policy, as: 'listPolicy', class: Google::Apis::CloudresourcemanagerV1::ListPolicy, decorator: Google::Apis::CloudresourcemanagerV1::ListPolicy::Representation
|
|
|
|
|
|
|
|
property :etag, :base64 => true, as: 'etag'
|
|
|
|
property :constraint, as: 'constraint'
|
|
|
|
property :boolean_policy, as: 'booleanPolicy', class: Google::Apis::CloudresourcemanagerV1::BooleanPolicy, decorator: Google::Apis::CloudresourcemanagerV1::BooleanPolicy::Representation
|
|
|
|
|
|
|
|
property :update_time, as: 'updateTime'
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class BooleanPolicy
|
2017-03-27 22:14:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :enforced, as: 'enforced'
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class Lien
|
2016-03-11 22:41:20 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :parent, as: 'parent'
|
|
|
|
property :create_time, as: 'createTime'
|
|
|
|
property :origin, as: 'origin'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :reason, as: 'reason'
|
|
|
|
collection :restrictions, as: 'restrictions'
|
2017-01-13 23:04:35 +00:00
|
|
|
end
|
|
|
|
end
|
2016-03-11 22:41:20 +00:00
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class Ancestor
|
2017-01-13 23:04:35 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :resource_id, as: 'resourceId', class: Google::Apis::CloudresourcemanagerV1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1::ResourceId::Representation
|
2017-03-10 21:11:09 +00:00
|
|
|
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class ListConstraint
|
2016-03-11 22:41:20 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :suggested_value, as: 'suggestedValue'
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class SetOrgPolicyRequest
|
2016-03-11 22:41:20 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1::OrgPolicy, decorator: Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
|
|
|
|
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class SetIamPolicyRequest
|
2017-03-27 22:14:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1::Policy, decorator: Google::Apis::CloudresourcemanagerV1::Policy::Representation
|
|
|
|
|
|
|
|
property :update_mask, as: 'updateMask'
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
|
|
|
end
|
2017-04-03 20:18:48 +00:00
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class Empty
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class Organization
|
2017-03-27 22:14:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :creation_time, as: 'creationTime'
|
|
|
|
property :owner, as: 'owner', class: Google::Apis::CloudresourcemanagerV1::OrganizationOwner, decorator: Google::Apis::CloudresourcemanagerV1::OrganizationOwner::Representation
|
|
|
|
|
|
|
|
property :lifecycle_state, as: 'lifecycleState'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :display_name, as: 'displayName'
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class ListAvailableOrgPolicyConstraintsResponse
|
2017-03-27 22:14:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :constraints, as: 'constraints', class: Google::Apis::CloudresourcemanagerV1::Constraint, decorator: Google::Apis::CloudresourcemanagerV1::Constraint::Representation
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class ListPolicy
|
2017-03-27 22:14:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :all_values, as: 'allValues'
|
|
|
|
collection :allowed_values, as: 'allowedValues'
|
|
|
|
property :suggested_value, as: 'suggestedValue'
|
|
|
|
property :inherit_from_parent, as: 'inheritFromParent'
|
|
|
|
collection :denied_values, as: 'deniedValues'
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class GetAncestryResponse
|
2016-03-11 22:41:20 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
collection :ancestor, as: 'ancestor', class: Google::Apis::CloudresourcemanagerV1::Ancestor, decorator: Google::Apis::CloudresourcemanagerV1::Ancestor::Representation
|
|
|
|
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
end
|
2016-06-23 19:42:56 +00:00
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class AuditLogConfig
|
2016-06-23 19:42:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
collection :exempted_members, as: 'exemptedMembers'
|
|
|
|
property :log_type, as: 'logType'
|
2016-06-23 19:42:56 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class SearchOrganizationsRequest
|
2017-03-27 22:14:47 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :filter, as: 'filter'
|
|
|
|
property :page_token, as: 'pageToken'
|
|
|
|
property :page_size, as: 'pageSize'
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class GetAncestryRequest
|
2016-10-04 00:27:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
2017-02-03 19:29:28 +00:00
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class TestIamPermissionsRequest
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
collection :permissions, as: 'permissions'
|
2017-02-13 23:28:52 +00:00
|
|
|
end
|
|
|
|
end
|
2017-02-03 19:29:28 +00:00
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class FolderOperation
|
2017-02-13 23:28:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :operation_type, as: 'operationType'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :source_parent, as: 'sourceParent'
|
|
|
|
property :destination_parent, as: 'destinationParent'
|
2016-10-04 00:27:26 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class Policy
|
2016-10-04 00:27:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :etag, :base64 => true, as: 'etag'
|
|
|
|
property :version, as: 'version'
|
|
|
|
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudresourcemanagerV1::AuditConfig, decorator: Google::Apis::CloudresourcemanagerV1::AuditConfig::Representation
|
|
|
|
|
|
|
|
collection :bindings, as: 'bindings', class: Google::Apis::CloudresourcemanagerV1::Binding, decorator: Google::Apis::CloudresourcemanagerV1::Binding::Representation
|
2017-06-02 06:11:31 +00:00
|
|
|
|
2016-10-04 00:27:26 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class ListAvailableOrgPolicyConstraintsRequest
|
2016-10-04 00:27:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :page_token, as: 'pageToken'
|
|
|
|
property :page_size, as: 'pageSize'
|
2016-10-04 00:27:26 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class ResourceId
|
2016-10-04 00:27:26 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-14 17:02:03 +00:00
|
|
|
property :type, as: 'type'
|
|
|
|
property :id, as: 'id'
|
2016-10-04 00:27:26 +00:00
|
|
|
end
|
|
|
|
end
|
2016-03-11 22:41:20 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|