google-api-ruby-client/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb

313 lines
10 KiB
Ruby
Raw Normal View History

2015-06-23 23:05:46 +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 CloudresourcemanagerV1beta1
2017-02-13 23:28:52 +00:00
class GetIamPolicyRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2017-02-13 23:28:52 +00:00
class TestIamPermissionsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2017-02-13 23:28:52 +00:00
class GetAncestryResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2017-02-13 23:28:52 +00:00
class OrganizationOwner
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2017-02-13 23:28:52 +00:00
class ListProjectsResponse
2015-12-03 01:10:07 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2017-02-13 23:28:52 +00:00
class GetAncestryRequest
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
2017-02-13 23:28:52 +00:00
class Project
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
end
2017-02-13 23:28:52 +00:00
class TestIamPermissionsRequest
2016-02-25 23:16:53 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
2017-02-13 23:28:52 +00:00
class FolderOperationError
2016-05-25 16:16:15 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2017-02-13 23:28:52 +00:00
class Policy
2016-05-25 16:16:15 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2017-02-13 23:28:52 +00:00
class FolderOperation
2016-05-25 16:16:15 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2017-02-13 23:28:52 +00:00
class ResourceId
2015-07-31 00:05:47 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-07-31 00:05:47 +00:00
end
2017-02-13 23:28:52 +00:00
class Ancestor
2015-07-31 00:05:47 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-07-31 00:05:47 +00:00
end
2017-02-13 23:28:52 +00:00
class ListOrganizationsResponse
2015-07-31 00:05:47 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-07-31 00:05:47 +00:00
end
2017-02-13 23:28:52 +00:00
class SetIamPolicyRequest
2015-07-31 00:05:47 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-07-31 00:05:47 +00:00
end
2017-02-13 23:28:52 +00:00
class Binding
2015-07-31 00:05:47 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-07-31 00:05:47 +00:00
end
2017-02-13 23:28:52 +00:00
class Empty
2015-07-31 00:05:47 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-07-31 00:05:47 +00:00
end
2017-02-13 23:28:52 +00:00
class UndeleteProjectRequest
2015-07-31 00:05:47 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-07-31 00:05:47 +00:00
end
2017-02-13 23:28:52 +00:00
class Organization
2015-07-31 00:05:47 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-07-31 00:05:47 +00:00
end
2017-02-13 23:28:52 +00:00
class ProjectCreationStatus
2015-07-31 00:05:47 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-07-31 00:05:47 +00:00
end
2017-02-13 23:28:52 +00:00
class GetIamPolicyRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
2016-10-04 00:27:26 +00:00
end
2017-02-13 23:28:52 +00:00
class TestIamPermissionsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-02-13 23:28:52 +00:00
collection :permissions, as: 'permissions'
end
2016-10-04 00:27:26 +00:00
end
2017-02-13 23:28:52 +00:00
class GetAncestryResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-02-13 23:28:52 +00:00
collection :ancestor, as: 'ancestor', class: Google::Apis::CloudresourcemanagerV1beta1::Ancestor, decorator: Google::Apis::CloudresourcemanagerV1beta1::Ancestor::Representation
2016-10-04 00:27:26 +00:00
end
2016-10-04 00:27:26 +00:00
end
2017-02-13 23:28:52 +00:00
class OrganizationOwner
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-02-13 23:28:52 +00:00
property :directory_customer_id, as: 'directoryCustomerId'
end
2015-12-03 01:10:07 +00:00
end
2017-02-13 23:28:52 +00:00
class ListProjectsResponse
2015-12-03 01:10:07 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-02-13 23:28:52 +00:00
collection :projects, as: 'projects', class: Google::Apis::CloudresourcemanagerV1beta1::Project, decorator: Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
2017-02-13 23:28:52 +00:00
property :next_page_token, as: 'nextPageToken'
2015-06-23 23:05:46 +00:00
end
end
2017-02-13 23:28:52 +00:00
class GetAncestryRequest
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
end
end
2017-02-13 23:28:52 +00:00
class Project
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
2017-02-13 23:28:52 +00:00
property :project_id, as: 'projectId'
property :lifecycle_state, as: 'lifecycleState'
property :project_number, as: 'projectNumber'
property :parent, as: 'parent', class: Google::Apis::CloudresourcemanagerV1beta1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1beta1::ResourceId::Representation
2015-07-31 00:05:47 +00:00
2017-02-13 23:28:52 +00:00
hash :labels, as: 'labels'
property :create_time, as: 'createTime'
property :name, as: 'name'
2016-02-25 23:16:53 +00:00
end
end
2017-02-13 23:28:52 +00:00
class TestIamPermissionsRequest
2016-05-25 16:16:15 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-02-13 23:28:52 +00:00
collection :permissions, as: 'permissions'
2016-05-25 16:16:15 +00:00
end
end
2017-02-13 23:28:52 +00:00
class FolderOperationError
2016-05-25 16:16:15 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-02-13 23:28:52 +00:00
property :error_message_id, as: 'errorMessageId'
2016-05-25 16:16:15 +00:00
end
end
2017-02-13 23:28:52 +00:00
class Policy
2016-05-25 16:16:15 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-02-13 23:28:52 +00:00
property :etag, :base64 => true, as: 'etag'
property :version, as: 'version'
collection :bindings, as: 'bindings', class: Google::Apis::CloudresourcemanagerV1beta1::Binding, decorator: Google::Apis::CloudresourcemanagerV1beta1::Binding::Representation
2016-05-25 16:16:15 +00:00
end
end
2017-02-13 23:28:52 +00:00
class FolderOperation
2015-07-31 00:05:47 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-02-13 23:28:52 +00:00
property :operation_type, as: 'operationType'
2017-01-13 23:04:35 +00:00
property :display_name, as: 'displayName'
2017-02-13 23:28:52 +00:00
property :source_parent, as: 'sourceParent'
property :destination_parent, as: 'destinationParent'
2015-07-31 00:05:47 +00:00
end
end
2017-02-13 23:28:52 +00:00
class ResourceId
2015-07-31 00:05:47 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-02-13 23:28:52 +00:00
property :type, as: 'type'
property :id, as: 'id'
2015-07-31 00:05:47 +00:00
end
end
2017-02-13 23:28:52 +00:00
class Ancestor
2015-07-31 00:05:47 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-02-13 23:28:52 +00:00
property :resource_id, as: 'resourceId', class: Google::Apis::CloudresourcemanagerV1beta1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1beta1::ResourceId::Representation
2015-07-31 00:05:47 +00:00
end
end
2017-02-13 23:28:52 +00:00
class ListOrganizationsResponse
2015-07-31 00:05:47 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-02-13 23:28:52 +00:00
property :next_page_token, as: 'nextPageToken'
collection :organizations, as: 'organizations', class: Google::Apis::CloudresourcemanagerV1beta1::Organization, decorator: Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation
2015-07-31 00:05:47 +00:00
end
end
2017-02-13 23:28:52 +00:00
class SetIamPolicyRequest
2015-07-31 00:05:47 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-02-13 23:28:52 +00:00
property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1beta1::Policy, decorator: Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
2017-01-13 23:04:35 +00:00
2015-07-31 00:05:47 +00:00
end
end
2017-02-13 23:28:52 +00:00
class Binding
2015-07-31 00:05:47 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-02-13 23:28:52 +00:00
collection :members, as: 'members'
property :role, as: 'role'
2015-07-31 00:05:47 +00:00
end
end
2017-02-13 23:28:52 +00:00
class Empty
2015-07-31 00:05:47 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
2017-02-13 23:28:52 +00:00
class UndeleteProjectRequest
2015-07-31 00:05:47 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-01-13 23:04:35 +00:00
end
end
2017-02-13 23:28:52 +00:00
class Organization
2017-01-13 23:04:35 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-02-13 23:28:52 +00:00
property :owner, as: 'owner', class: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner, decorator: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner::Representation
property :name, as: 'name'
2017-02-13 23:28:52 +00:00
property :organization_id, as: 'organizationId'
property :lifecycle_state, as: 'lifecycleState'
2017-02-13 23:28:52 +00:00
property :display_name, as: 'displayName'
property :creation_time, as: 'creationTime'
2015-07-31 00:05:47 +00:00
end
end
2017-02-13 23:28:52 +00:00
class ProjectCreationStatus
2015-07-31 00:05:47 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-02-13 23:28:52 +00:00
property :ready, as: 'ready'
property :create_time, as: 'createTime'
property :gettable, as: 'gettable'
2015-07-31 00:05:47 +00:00
end
end
2015-06-23 23:05:46 +00:00
end
end
end