Class: AdManagerApi::V202502::CdnConfigurationService::CdnConfigurationServiceRegistry

Inherits:
Object
  • Object
show all
Defined in:
lib/ad_manager_api/v202502/cdn_configuration_service_registry.rb

Constant Summary collapse

CDNCONFIGURATIONSERVICE_METHODS =
{create_cdn_configurations: {input: [{name: :cdn_configurations, type: "CdnConfiguration", min_occurs: 0, max_occurs: :unbounded}], output: {name: "create_cdn_configurations_response", fields: [{name: :rval, type: "CdnConfiguration", min_occurs: 0, max_occurs: :unbounded}]}}, get_cdn_configurations_by_statement: {input: [{name: :statement, type: "Statement", min_occurs: 0, max_occurs: 1}], output: {name: "get_cdn_configurations_by_statement_response", fields: [{name: :rval, type: "CdnConfigurationPage", min_occurs: 0, max_occurs: 1}]}}, perform_cdn_configuration_action: {input: [{name: :cdn_configuration_action, type: "CdnConfigurationAction", min_occurs: 0, max_occurs: 1}, {name: :filter_statement, type: "Statement", min_occurs: 0, max_occurs: 1}], output: {name: "perform_cdn_configuration_action_response", fields: [{name: :rval, type: "UpdateResult", min_occurs: 0, max_occurs: 1}]}}, update_cdn_configurations: {input: [{name: :cdn_configurations, type: "CdnConfiguration", min_occurs: 0, max_occurs: :unbounded}], output: {name: "update_cdn_configurations_response", fields: [{name: :rval, type: "CdnConfiguration", min_occurs: 0, max_occurs: :unbounded}]}}}
CDNCONFIGURATIONSERVICE_TYPES =
{ObjectValue: {fields: [], abstract: true, base: "Value"}, ActivateCdnConfigurations: {fields: [], base: "CdnConfigurationAction"}, ApiError: {fields: [{name: :field_path, type: "string", min_occurs: 0, max_occurs: 1}, {name: :field_path_elements, type: "FieldPathElement", min_occurs: 0, max_occurs: :unbounded}, {name: :trigger, type: "string", min_occurs: 0, max_occurs: 1}, {name: :error_string, type: "string", min_occurs: 0, max_occurs: 1}], abstract: true}, ApiException: {fields: [{name: :errors, type: "ApiError", min_occurs: 0, max_occurs: :unbounded}], base: "ApplicationException"}, ApiVersionError: {fields: [{name: :reason, type: "ApiVersionError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, ApplicationException: {fields: [{name: :message, type: "string", min_occurs: 0, max_occurs: 1}]}, ArchiveCdnConfigurations: {fields: [], base: "CdnConfigurationAction"}, AuthenticationError: {fields: [{name: :reason, type: "AuthenticationError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, BooleanValue: {fields: [{name: :value, type: "boolean", min_occurs: 0, max_occurs: 1}], base: "Value"}, CdnConfigurationAction: {fields: [], abstract: true}, CdnConfiguration: {fields: [{name: :id, type: "long", min_occurs: 0, max_occurs: 1}, {name: :name, type: "string", min_occurs: 0, max_occurs: 1}, {name: :cdn_configuration_type, type: "CdnConfigurationType", min_occurs: 0, max_occurs: 1}, {name: :source_content_configuration, type: "SourceContentConfiguration", min_occurs: 0, max_occurs: 1}, {name: :cdn_configuration_status, type: "CdnConfigurationStatus", min_occurs: 0, max_occurs: 1}]}, CdnConfigurationError: {fields: [{name: :reason, type: "CdnConfigurationError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, CdnConfigurationPage: {fields: [{name: :total_result_set_size, type: "int", min_occurs: 0, max_occurs: 1}, {name: :start_index, type: "int", min_occurs: 0, max_occurs: 1}, {name: :results, type: "CdnConfiguration", min_occurs: 0, max_occurs: :unbounded}]}, CollectionSizeError: {fields: [{name: :reason, type: "CollectionSizeError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, CommonError: {fields: [{name: :reason, type: "CommonError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, Date: {fields: [{name: :year, type: "int", min_occurs: 0, max_occurs: 1}, {name: :month, type: "int", min_occurs: 0, max_occurs: 1}, {name: :day, type: "int", min_occurs: 0, max_occurs: 1}]}, DateTime: {fields: [{name: :date, type: "Date", min_occurs: 0, max_occurs: 1}, {name: :hour, type: "int", min_occurs: 0, max_occurs: 1}, {name: :minute, type: "int", min_occurs: 0, max_occurs: 1}, {name: :second, type: "int", min_occurs: 0, max_occurs: 1}, {name: :time_zone_id, type: "string", min_occurs: 0, max_occurs: 1}]}, DateTimeValue: {fields: [{name: :value, type: "DateTime", min_occurs: 0, max_occurs: 1}], base: "Value"}, DateValue: {fields: [{name: :value, type: "Date", min_occurs: 0, max_occurs: 1}], base: "Value"}, FeatureError: {fields: [{name: :reason, type: "FeatureError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, FieldPathElement: {fields: [{name: :field, type: "string", min_occurs: 0, max_occurs: 1}, {name: :index, type: "int", min_occurs: 0, max_occurs: 1}]}, InternalApiError: {fields: [{name: :reason, type: "InternalApiError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, InvalidUrlError: {fields: [{name: :reason, type: "InvalidUrlError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, MediaLocationSettings: {fields: [{name: :name, type: "string", min_occurs: 0, max_occurs: 1}, {name: :url_prefix, type: "string", min_occurs: 0, max_occurs: 1}, {name: :security_policy, type: "SecurityPolicySettings", min_occurs: 0, max_occurs: 1}]}, NotNullError: {fields: [{name: :reason, type: "NotNullError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, NumberValue: {fields: [{name: :value, type: "string", min_occurs: 0, max_occurs: 1}], base: "Value"}, ParseError: {fields: [{name: :reason, type: "ParseError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, PermissionError: {fields: [{name: :reason, type: "PermissionError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, PublisherQueryLanguageContextError: {fields: [{name: :reason, type: "PublisherQueryLanguageContextError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, PublisherQueryLanguageSyntaxError: {fields: [{name: :reason, type: "PublisherQueryLanguageSyntaxError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, QuotaError: {fields: [{name: :reason, type: "QuotaError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, RequiredCollectionError: {fields: [{name: :reason, type: "RequiredCollectionError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, RequiredError: {fields: [{name: :reason, type: "RequiredError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, SecurityPolicySettings: {fields: [{name: :security_policy_type, type: "SecurityPolicyType", min_occurs: 0, max_occurs: 1}, {name: :token_authentication_key, type: "string", min_occurs: 0, max_occurs: 1}, {name: :disable_server_side_url_signing, type: "boolean", min_occurs: 0, max_occurs: 1}, {name: :origin_forwarding_type, type: "OriginForwardingType", min_occurs: 0, max_occurs: 1}, {name: :origin_path_prefix, type: "string", min_occurs: 0, max_occurs: 1}, {name: :media_playlist_origin_forwarding_type, type: "OriginForwardingType", min_occurs: 0, max_occurs: 1}, {name: :media_playlist_origin_path_prefix, type: "string", min_occurs: 0, max_occurs: 1}, {name: :keyset_name, type: "string", min_occurs: 0, max_occurs: 1}, {name: :signed_request_expiration_ttl_seconds, type: "long", min_occurs: 0, max_occurs: 1}]}, ServerError: {fields: [{name: :reason, type: "ServerError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, SetValue: {fields: [{name: :values, type: "Value", min_occurs: 0, max_occurs: :unbounded}], base: "Value"}, SoapRequestHeader: {fields: [{name: :network_code, type: "string", min_occurs: 0, max_occurs: 1}, {name: :application_name, type: "string", min_occurs: 0, max_occurs: 1}]}, SoapResponseHeader: {fields: [{name: :request_id, type: "string", min_occurs: 0, max_occurs: 1}, {name: :response_time, type: "long", min_occurs: 0, max_occurs: 1}]}, SourceContentConfiguration: {fields: [{name: :ingest_settings, type: "MediaLocationSettings", min_occurs: 0, max_occurs: 1}, {name: :default_delivery_settings, type: "MediaLocationSettings", min_occurs: 0, max_occurs: 1}]}, Statement: {fields: [{name: :query, type: "string", min_occurs: 0, max_occurs: 1}, {name: :values, type: "String_ValueMapEntry", min_occurs: 0, max_occurs: :unbounded}]}, StatementError: {fields: [{name: :reason, type: "StatementError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, StringFormatError: {fields: [{name: :reason, type: "StringFormatError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, StringLengthError: {fields: [{name: :reason, type: "StringLengthError.Reason", min_occurs: 0, max_occurs: 1}], base: "ApiError"}, String_ValueMapEntry: {fields: [{name: :key, type: "string", min_occurs: 0, max_occurs: 1}, {name: :value, type: "Value", min_occurs: 0, max_occurs: 1}]}, TextValue: {fields: [{name: :value, type: "string", min_occurs: 0, max_occurs: 1}], base: "Value"}, UpdateResult: {fields: [{name: :num_changes, type: "int", min_occurs: 0, max_occurs: 1}]}, Value: {fields: [], abstract: true}, "ApiVersionError.Reason": {type: "string", enumerations: ["UPDATE_TO_NEWER_VERSION", "UNKNOWN"]}, "AuthenticationError.Reason": {type: "string", enumerations: ["AMBIGUOUS_SOAP_REQUEST_HEADER", "INVALID_EMAIL", "AUTHENTICATION_FAILED", "INVALID_OAUTH_SIGNATURE", "INVALID_SERVICE", "MISSING_SOAP_REQUEST_HEADER", "MISSING_AUTHENTICATION_HTTP_HEADER", "MISSING_AUTHENTICATION", "NETWORK_API_ACCESS_DISABLED", "NO_NETWORKS_TO_ACCESS", "NETWORK_NOT_FOUND", "NETWORK_CODE_REQUIRED", "CONNECTION_ERROR", "GOOGLE_ACCOUNT_ALREADY_ASSOCIATED_WITH_NETWORK", "UNDER_INVESTIGATION", "UNKNOWN"]}, "CdnConfigurationError.Reason": {type: "string", enumerations: ["URL_SHOULD_NOT_CONTAIN_SCHEME", "INVALID_DELIVERY_LOCATION_NAMES", "CANNOT_ARCHIVE_IF_USED_BY_ACTIVE_CONTENT_SOURCES", "CANNOT_ARCHIVE_IF_USED_BY_ACTIVE_LIVE_STREAMS", "UNSUPPORTED_SECURITY_POLICY_TYPE", "UNKNOWN"]}, CdnConfigurationStatus: {type: "string", enumerations: ["UNKNOWN", "ACTIVE", "ARCHIVED"]}, CdnConfigurationType: {type: "string", enumerations: ["UNKNOWN", "LIVE_STREAM_SOURCE_CONTENT"]}, "CollectionSizeError.Reason": {type: "string", enumerations: ["TOO_LARGE", "UNKNOWN"]}, "CommonError.Reason": {type: "string", enumerations: ["NOT_FOUND", "ALREADY_EXISTS", "NOT_APPLICABLE", "DUPLICATE_OBJECT", "CANNOT_UPDATE", "UNSUPPORTED_OPERATION", "CONCURRENT_MODIFICATION", "UNKNOWN"]}, "FeatureError.Reason": {type: "string", enumerations: ["MISSING_FEATURE", "UNKNOWN"]}, "InternalApiError.Reason": {type: "string", enumerations: ["UNEXPECTED_INTERNAL_API_ERROR", "TRANSIENT_ERROR", "UNKNOWN", "DOWNTIME", "ERROR_GENERATING_RESPONSE"]}, "InvalidUrlError.Reason": {type: "string", enumerations: ["ILLEGAL_CHARACTERS", "INVALID_FORMAT", "INSECURE_SCHEME", "NO_SCHEME", "UNKNOWN"]}, "NotNullError.Reason": {type: "string", enumerations: ["ARG1_NULL", "ARG2_NULL", "ARG3_NULL", "NULL", "UNKNOWN"]}, OriginForwardingType: {type: "string", enumerations: ["ORIGIN_PATH", "CONVENTIONAL", "NONE", "UNKNOWN"]}, "ParseError.Reason": {type: "string", enumerations: ["UNPARSABLE", "UNKNOWN"]}, "PermissionError.Reason": {type: "string", enumerations: ["PERMISSION_DENIED", "UNKNOWN"]}, "PublisherQueryLanguageContextError.Reason": {type: "string", enumerations: ["UNEXECUTABLE", "UNKNOWN"]}, "PublisherQueryLanguageSyntaxError.Reason": {type: "string", enumerations: ["UNPARSABLE", "UNKNOWN"]}, "QuotaError.Reason": {type: "string", enumerations: ["EXCEEDED_QUOTA", "UNKNOWN", "REPORT_JOB_LIMIT", "SEGMENT_POPULATION_LIMIT"]}, "RequiredCollectionError.Reason": {type: "string", enumerations: ["REQUIRED", "TOO_LARGE", "TOO_SMALL", "UNKNOWN"]}, "RequiredError.Reason": {type: "string", enumerations: ["REQUIRED"]}, SecurityPolicyType: {type: "string", enumerations: ["UNKNOWN", "NONE", "AKAMAI", "CLOUD_MEDIA"]}, "ServerError.Reason": {type: "string", enumerations: ["SERVER_ERROR", "SERVER_BUSY", "UNKNOWN"]}, "StatementError.Reason": {type: "string", enumerations: ["VARIABLE_NOT_BOUND_TO_VALUE", "UNKNOWN"]}, "StringFormatError.Reason": {type: "string", enumerations: ["UNKNOWN", "ILLEGAL_CHARS", "INVALID_FORMAT"]}, "StringLengthError.Reason": {type: "string", enumerations: ["TOO_LONG", "TOO_SHORT", "UNKNOWN"]}}
CDNCONFIGURATIONSERVICE_NAMESPACES =
[]

Class Method Summary collapse

Class Method Details

.get_method_signature(method_name) ⇒ Object



18
19
20
# File 'lib/ad_manager_api/v202502/cdn_configuration_service_registry.rb', line 18

def self.get_method_signature(method_name)
  return CDNCONFIGURATIONSERVICE_METHODS[method_name.to_sym]
end

.get_namespace(index) ⇒ Object



26
27
28
# File 'lib/ad_manager_api/v202502/cdn_configuration_service_registry.rb', line 26

def self.get_namespace(index)
  return CDNCONFIGURATIONSERVICE_NAMESPACES[index]
end

.get_type_signature(type_name) ⇒ Object



22
23
24
# File 'lib/ad_manager_api/v202502/cdn_configuration_service_registry.rb', line 22

def self.get_type_signature(type_name)
  return CDNCONFIGURATIONSERVICE_TYPES[type_name.to_sym]
end