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

202 lines
7.2 KiB
Ruby

# 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 CloudassetV1p1beta1
class AuditConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AuditLogConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Binding
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Explanation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Expr
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class IamPolicySearchResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Permissions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Policy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SearchAllIamPoliciesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SearchAllResourcesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class StandardResourceMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AuditConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudassetV1p1beta1::AuditLogConfig, decorator: Google::Apis::CloudassetV1p1beta1::AuditLogConfig::Representation
property :service, as: 'service'
end
end
class AuditLogConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :exempted_members, as: 'exemptedMembers'
property :log_type, as: 'logType'
end
end
class Binding
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :condition, as: 'condition', class: Google::Apis::CloudassetV1p1beta1::Expr, decorator: Google::Apis::CloudassetV1p1beta1::Expr::Representation
collection :members, as: 'members'
property :role, as: 'role'
end
end
class Explanation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :matched_permissions, as: 'matchedPermissions', class: Google::Apis::CloudassetV1p1beta1::Permissions, decorator: Google::Apis::CloudassetV1p1beta1::Permissions::Representation
end
end
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 IamPolicySearchResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :explanation, as: 'explanation', class: Google::Apis::CloudassetV1p1beta1::Explanation, decorator: Google::Apis::CloudassetV1p1beta1::Explanation::Representation
property :policy, as: 'policy', class: Google::Apis::CloudassetV1p1beta1::Policy, decorator: Google::Apis::CloudassetV1p1beta1::Policy::Representation
property :project, as: 'project'
property :resource, as: 'resource'
end
end
class Permissions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :permissions, as: 'permissions'
end
end
class Policy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudassetV1p1beta1::AuditConfig, decorator: Google::Apis::CloudassetV1p1beta1::AuditConfig::Representation
collection :bindings, as: 'bindings', class: Google::Apis::CloudassetV1p1beta1::Binding, decorator: Google::Apis::CloudassetV1p1beta1::Binding::Representation
property :etag, :base64 => true, as: 'etag'
property :version, as: 'version'
end
end
class SearchAllIamPoliciesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :results, as: 'results', class: Google::Apis::CloudassetV1p1beta1::IamPolicySearchResult, decorator: Google::Apis::CloudassetV1p1beta1::IamPolicySearchResult::Representation
end
end
class SearchAllResourcesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :results, as: 'results', class: Google::Apis::CloudassetV1p1beta1::StandardResourceMetadata, decorator: Google::Apis::CloudassetV1p1beta1::StandardResourceMetadata::Representation
end
end
class StandardResourceMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :additional_attributes, as: 'additionalAttributes'
property :asset_type, as: 'assetType'
property :description, as: 'description'
property :display_name, as: 'displayName'
hash :labels, as: 'labels'
property :location, as: 'location'
property :name, as: 'name'
collection :network_tags, as: 'networkTags'
property :project, as: 'project'
end
end
end
end
end