hanzoai 8.5.156
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CLAUDE.md +18 -0
- data/Gemfile +5 -0
- data/LICENSE +201 -0
- data/LLM.md +1 -0
- data/README.md +119 -0
- data/SECURITY.md +5 -0
- data/examples/catalog.rb +16 -0
- data/examples/models.rb +14 -0
- data/hanzo.yml +9 -0
- data/hanzoai.gemspec +41 -0
- data/lib/hanzoai/api/account_api.rb +645 -0
- data/lib/hanzoai/api/ad_api.rb +469 -0
- data/lib/hanzoai/api/affiliate_api.rb +647 -0
- data/lib/hanzoai/api/agents_api.rb +2503 -0
- data/lib/hanzoai/api/ai_api.rb +17385 -0
- data/lib/hanzoai/api/allowance_api.rb +79 -0
- data/lib/hanzoai/api/ask_api.rb +152 -0
- data/lib/hanzoai/api/audit_api.rb +106 -0
- data/lib/hanzoai/api/author_api.rb +343 -0
- data/lib/hanzoai/api/authz_api.rb +187 -0
- data/lib/hanzoai/api/auto_api.rb +1123 -0
- data/lib/hanzoai/api/base_api.rb +199 -0
- data/lib/hanzoai/api/benchmark_api.rb +609 -0
- data/lib/hanzoai/api/billing_api.rb +2774 -0
- data/lib/hanzoai/api/blueprint_api.rb +191 -0
- data/lib/hanzoai/api/books_api.rb +1604 -0
- data/lib/hanzoai/api/bot_api.rb +197 -0
- data/lib/hanzoai/api/campaign_api.rb +745 -0
- data/lib/hanzoai/api/captable_api.rb +1990 -0
- data/lib/hanzoai/api/catalog_api.rb +109 -0
- data/lib/hanzoai/api/channels_api.rb +456 -0
- data/lib/hanzoai/api/cloudflare_api.rb +2178 -0
- data/lib/hanzoai/api/code_api.rb +481 -0
- data/lib/hanzoai/api/commerce_api.rb +10870 -0
- data/lib/hanzoai/api/company_api.rb +1544 -0
- data/lib/hanzoai/api/compliance_api.rb +1095 -0
- data/lib/hanzoai/api/content_api.rb +421 -0
- data/lib/hanzoai/api/crawl_api.rb +90 -0
- data/lib/hanzoai/api/crm_api.rb +1318 -0
- data/lib/hanzoai/api/dataroom_api.rb +1697 -0
- data/lib/hanzoai/api/dataset_api.rb +477 -0
- data/lib/hanzoai/api/deploy_api.rb +1202 -0
- data/lib/hanzoai/api/destination_api.rb +338 -0
- data/lib/hanzoai/api/dns_api.rb +754 -0
- data/lib/hanzoai/api/domain_api.rb +471 -0
- data/lib/hanzoai/api/engine_api.rb +253 -0
- data/lib/hanzoai/api/entitlement_api.rb +216 -0
- data/lib/hanzoai/api/esign_api.rb +908 -0
- data/lib/hanzoai/api/eval_api.rb +1075 -0
- data/lib/hanzoai/api/event_api.rb +778 -0
- data/lib/hanzoai/api/exec_api.rb +263 -0
- data/lib/hanzoai/api/experiment_api.rb +488 -0
- data/lib/hanzoai/api/explorer_api.rb +136 -0
- data/lib/hanzoai/api/flags_api.rb +528 -0
- data/lib/hanzoai/api/flow_api.rb +538 -0
- data/lib/hanzoai/api/framework_api.rb +1254 -0
- data/lib/hanzoai/api/functions_api.rb +707 -0
- data/lib/hanzoai/api/gateway_api.rb +204 -0
- data/lib/hanzoai/api/git_api.rb +2936 -0
- data/lib/hanzoai/api/graph_api.rb +478 -0
- data/lib/hanzoai/api/guide_api.rb +1159 -0
- data/lib/hanzoai/api/help_api.rb +273 -0
- data/lib/hanzoai/api/iam_api.rb +9656 -0
- data/lib/hanzoai/api/index_api.rb +1135 -0
- data/lib/hanzoai/api/ingress_api.rb +1173 -0
- data/lib/hanzoai/api/integrations_api.rb +3047 -0
- data/lib/hanzoai/api/kms_api.rb +341 -0
- data/lib/hanzoai/api/knowledge_api.rb +580 -0
- data/lib/hanzoai/api/kv_api.rb +442 -0
- data/lib/hanzoai/api/label_api.rb +492 -0
- data/lib/hanzoai/api/leaderboard_api.rb +353 -0
- data/lib/hanzoai/api/legal_api.rb +727 -0
- data/lib/hanzoai/api/licensing_api.rb +722 -0
- data/lib/hanzoai/api/link_api.rb +710 -0
- data/lib/hanzoai/api/lsp_api.rb +362 -0
- data/lib/hanzoai/api/marketing_api.rb +2325 -0
- data/lib/hanzoai/api/marketplace_api.rb +401 -0
- data/lib/hanzoai/api/meet_api.rb +456 -0
- data/lib/hanzoai/api/metrics_api.rb +627 -0
- data/lib/hanzoai/api/ml_api.rb +448 -0
- data/lib/hanzoai/api/mq_api.rb +1040 -0
- data/lib/hanzoai/api/network_api.rb +256 -0
- data/lib/hanzoai/api/node_api.rb +250 -0
- data/lib/hanzoai/api/notify_api.rb +283 -0
- data/lib/hanzoai/api/o11y_api.rb +25688 -0
- data/lib/hanzoai/api/openapi_api.rb +316 -0
- data/lib/hanzoai/api/plan_api.rb +832 -0
- data/lib/hanzoai/api/platform_api.rb +2522 -0
- data/lib/hanzoai/api/pref_api.rb +134 -0
- data/lib/hanzoai/api/pricing_api.rb +1646 -0
- data/lib/hanzoai/api/projects_api.rb +1942 -0
- data/lib/hanzoai/api/prompt_api.rb +385 -0
- data/lib/hanzoai/api/provisioning_api.rb +1765 -0
- data/lib/hanzoai/api/pubsub_api.rb +158 -0
- data/lib/hanzoai/api/reference_api.rb +424 -0
- data/lib/hanzoai/api/referral_api.rb +147 -0
- data/lib/hanzoai/api/registry_api.rb +381 -0
- data/lib/hanzoai/api/risk_api.rb +711 -0
- data/lib/hanzoai/api/s3_api.rb +408 -0
- data/lib/hanzoai/api/sandbox_api.rb +1252 -0
- data/lib/hanzoai/api/sbom_api.rb +147 -0
- data/lib/hanzoai/api/search_api.rb +90 -0
- data/lib/hanzoai/api/security_api.rb +456 -0
- data/lib/hanzoai/api/seo_api.rb +487 -0
- data/lib/hanzoai/api/settings_api.rb +159 -0
- data/lib/hanzoai/api/share_api.rb +136 -0
- data/lib/hanzoai/api/social_api.rb +857 -0
- data/lib/hanzoai/api/standing_api.rb +90 -0
- data/lib/hanzoai/api/sync_api.rb +408 -0
- data/lib/hanzoai/api/tasks_api.rb +297 -0
- data/lib/hanzoai/api/taxonomy_api.rb +356 -0
- data/lib/hanzoai/api/team_api.rb +1248 -0
- data/lib/hanzoai/api/tel_api.rb +649 -0
- data/lib/hanzoai/api/template_api.rb +345 -0
- data/lib/hanzoai/api/todo_api.rb +917 -0
- data/lib/hanzoai/api/tools_api.rb +1226 -0
- data/lib/hanzoai/api/translate_api.rb +211 -0
- data/lib/hanzoai/api/treasury_api.rb +142 -0
- data/lib/hanzoai/api/trust_api.rb +1056 -0
- data/lib/hanzoai/api/usage_api.rb +354 -0
- data/lib/hanzoai/api/validator_api.rb +273 -0
- data/lib/hanzoai/api/visor_api.rb +2147 -0
- data/lib/hanzoai/api/wallet_api.rb +555 -0
- data/lib/hanzoai/api/web3_api.rb +285 -0
- data/lib/hanzoai/api/webhook_api.rb +540 -0
- data/lib/hanzoai/api/websearch_api.rb +420 -0
- data/lib/hanzoai/api/world_api.rb +376 -0
- data/lib/hanzoai/api/x402_api.rb +85 -0
- data/lib/hanzoai/api_client.rb +437 -0
- data/lib/hanzoai/api_error.rb +58 -0
- data/lib/hanzoai/configuration.rb +392 -0
- data/lib/hanzoai/models/acc_list.rb +233 -0
- data/lib/hanzoai/models/acc_view.rb +321 -0
- data/lib/hanzoai/models/account.rb +251 -0
- data/lib/hanzoai/models/account_list.rb +223 -0
- data/lib/hanzoai/models/account_view.rb +231 -0
- data/lib/hanzoai/models/accounts.rb +249 -0
- data/lib/hanzoai/models/accounts_out.rb +243 -0
- data/lib/hanzoai/models/accounts_total.rb +271 -0
- data/lib/hanzoai/models/accounts_usage.rb +253 -0
- data/lib/hanzoai/models/accreditation_decision.rb +231 -0
- data/lib/hanzoai/models/accreditation_req.rb +281 -0
- data/lib/hanzoai/models/action_record.rb +291 -0
- data/lib/hanzoai/models/actions_view.rb +223 -0
- data/lib/hanzoai/models/activation_req.rb +235 -0
- data/lib/hanzoai/models/activation_set.rb +223 -0
- data/lib/hanzoai/models/activity_feed.rb +223 -0
- data/lib/hanzoai/models/activity_out.rb +223 -0
- data/lib/hanzoai/models/activity_point.rb +251 -0
- data/lib/hanzoai/models/activity_row.rb +271 -0
- data/lib/hanzoai/models/activity_totals.rb +271 -0
- data/lib/hanzoai/models/activity_view.rb +261 -0
- data/lib/hanzoai/models/ad_campaign.rb +321 -0
- data/lib/hanzoai/models/ad_summary.rb +251 -0
- data/lib/hanzoai/models/add_domain_req.rb +241 -0
- data/lib/hanzoai/models/admission.rb +263 -0
- data/lib/hanzoai/models/advance_in.rb +221 -0
- data/lib/hanzoai/models/affiliate_board.rb +243 -0
- data/lib/hanzoai/models/affiliate_earnings.rb +285 -0
- data/lib/hanzoai/models/affiliate_links.rb +253 -0
- data/lib/hanzoai/models/affiliate_self.rb +377 -0
- data/lib/hanzoai/models/affiliate_standing.rb +363 -0
- data/lib/hanzoai/models/agent_binding.rb +331 -0
- data/lib/hanzoai/models/agent_detail.rb +352 -0
- data/lib/hanzoai/models/agent_list.rb +223 -0
- data/lib/hanzoai/models/agent_run_view.rb +351 -0
- data/lib/hanzoai/models/agent_view.rb +343 -0
- data/lib/hanzoai/models/ai_mcp_app.rb +231 -0
- data/lib/hanzoai/models/ai_mcp_surface.rb +245 -0
- data/lib/hanzoai/models/alert.rb +373 -0
- data/lib/hanzoai/models/alert_patch.rb +292 -0
- data/lib/hanzoai/models/alert_spec.rb +292 -0
- data/lib/hanzoai/models/allowance.rb +271 -0
- data/lib/hanzoai/models/allowlist_put_in.rb +277 -0
- data/lib/hanzoai/models/allowlist_view.rb +279 -0
- data/lib/hanzoai/models/analysis.rb +273 -0
- data/lib/hanzoai/models/analytics_view.rb +233 -0
- data/lib/hanzoai/models/analyze_query.rb +261 -0
- data/lib/hanzoai/models/answer.rb +329 -0
- data/lib/hanzoai/models/api_key.rb +263 -0
- data/lib/hanzoai/models/api_key_list.rb +223 -0
- data/lib/hanzoai/models/app_view.rb +475 -0
- data/lib/hanzoai/models/appearance.rb +241 -0
- data/lib/hanzoai/models/application.rb +271 -0
- data/lib/hanzoai/models/application_list.rb +223 -0
- data/lib/hanzoai/models/applied_resource.rb +241 -0
- data/lib/hanzoai/models/apply_request.rb +221 -0
- data/lib/hanzoai/models/approve_pairing_in.rb +231 -0
- data/lib/hanzoai/models/argo_app.rb +261 -0
- data/lib/hanzoai/models/argo_app_list.rb +253 -0
- data/lib/hanzoai/models/argo_cluster.rb +251 -0
- data/lib/hanzoai/models/argo_cluster_info.rb +241 -0
- data/lib/hanzoai/models/argo_cluster_list.rb +233 -0
- data/lib/hanzoai/models/argo_connection_state.rb +241 -0
- data/lib/hanzoai/models/argo_destination.rb +241 -0
- data/lib/hanzoai/models/argo_group_kind.rb +231 -0
- data/lib/hanzoai/models/argo_health.rb +231 -0
- data/lib/hanzoai/models/argo_info_item.rb +231 -0
- data/lib/hanzoai/models/argo_list_meta.rb +221 -0
- data/lib/hanzoai/models/argo_meta.rb +263 -0
- data/lib/hanzoai/models/argo_node.rb +331 -0
- data/lib/hanzoai/models/argo_project.rb +260 -0
- data/lib/hanzoai/models/argo_project_list.rb +233 -0
- data/lib/hanzoai/models/argo_project_spec.rb +257 -0
- data/lib/hanzoai/models/argo_resource_ref.rb +271 -0
- data/lib/hanzoai/models/argo_resource_status.rb +281 -0
- data/lib/hanzoai/models/argo_revision_metadata.rb +263 -0
- data/lib/hanzoai/models/argo_source.rb +241 -0
- data/lib/hanzoai/models/argo_spec.rb +241 -0
- data/lib/hanzoai/models/argo_status.rb +263 -0
- data/lib/hanzoai/models/argo_summary.rb +223 -0
- data/lib/hanzoai/models/argo_sync_status.rb +231 -0
- data/lib/hanzoai/models/argo_sync_windows.rb +245 -0
- data/lib/hanzoai/models/argo_tree.rb +247 -0
- data/lib/hanzoai/models/arm.rb +251 -0
- data/lib/hanzoai/models/ask_answer.rb +253 -0
- data/lib/hanzoai/models/ask_post_in.rb +231 -0
- data/lib/hanzoai/models/ask_request.rb +312 -0
- data/lib/hanzoai/models/ask_response.rb +257 -0
- data/lib/hanzoai/models/assignment.rb +261 -0
- data/lib/hanzoai/models/attribute_request.rb +221 -0
- data/lib/hanzoai/models/attribution.rb +251 -0
- data/lib/hanzoai/models/audience.rb +271 -0
- data/lib/hanzoai/models/audience_list.rb +223 -0
- data/lib/hanzoai/models/audience_preview.rb +283 -0
- data/lib/hanzoai/models/audit_list.rb +233 -0
- data/lib/hanzoai/models/author_repo.rb +271 -0
- data/lib/hanzoai/models/authored_plugin.rb +271 -0
- data/lib/hanzoai/models/authored_plugin_list.rb +223 -0
- data/lib/hanzoai/models/authored_skill_list.rb +223 -0
- data/lib/hanzoai/models/authorize_out.rb +221 -0
- data/lib/hanzoai/models/backend.rb +231 -0
- data/lib/hanzoai/models/backend_status.rb +261 -0
- data/lib/hanzoai/models/balance_line.rb +251 -0
- data/lib/hanzoai/models/balance_sheet.rb +297 -0
- data/lib/hanzoai/models/balances.rb +241 -0
- data/lib/hanzoai/models/bank_question.rb +261 -0
- data/lib/hanzoai/models/bank_tally.rb +271 -0
- data/lib/hanzoai/models/bank_txn_row.rb +311 -0
- data/lib/hanzoai/models/base_health.rb +231 -0
- data/lib/hanzoai/models/base_view.rb +241 -0
- data/lib/hanzoai/models/begin_in.rb +251 -0
- data/lib/hanzoai/models/benchmark.rb +271 -0
- data/lib/hanzoai/models/benchmark_catalog.rb +233 -0
- data/lib/hanzoai/models/billing_account.rb +275 -0
- data/lib/hanzoai/models/billing_invoice.rb +439 -0
- data/lib/hanzoai/models/binary_spec.rb +283 -0
- data/lib/hanzoai/models/bind_agent_req.rb +241 -0
- data/lib/hanzoai/models/binding_list.rb +223 -0
- data/lib/hanzoai/models/blob.rb +253 -0
- data/lib/hanzoai/models/blob_json.rb +271 -0
- data/lib/hanzoai/models/blog.rb +261 -0
- data/lib/hanzoai/models/blueprint.rb +311 -0
- data/lib/hanzoai/models/blueprint_counts.rb +261 -0
- data/lib/hanzoai/models/blueprint_health.rb +251 -0
- data/lib/hanzoai/models/blueprint_index.rb +223 -0
- data/lib/hanzoai/models/blueprint_row.rb +241 -0
- data/lib/hanzoai/models/blueprint_versions_view.rb +233 -0
- data/lib/hanzoai/models/blueprint_view.rb +251 -0
- data/lib/hanzoai/models/board.rb +285 -0
- data/lib/hanzoai/models/board_item.rb +271 -0
- data/lib/hanzoai/models/board_page.rb +233 -0
- data/lib/hanzoai/models/board_point.rb +261 -0
- data/lib/hanzoai/models/board_range.rb +251 -0
- data/lib/hanzoai/models/board_resp.rb +315 -0
- data/lib/hanzoai/models/board_scope.rb +241 -0
- data/lib/hanzoai/models/board_totals.rb +301 -0
- data/lib/hanzoai/models/book_request.rb +241 -0
- data/lib/hanzoai/models/book_response.rb +231 -0
- data/lib/hanzoai/models/bot_list.rb +223 -0
- data/lib/hanzoai/models/bot_member.rb +261 -0
- data/lib/hanzoai/models/bot_roster.rb +223 -0
- data/lib/hanzoai/models/bot_run.rb +271 -0
- data/lib/hanzoai/models/bot_runs.rb +223 -0
- data/lib/hanzoai/models/bot_stopped.rb +231 -0
- data/lib/hanzoai/models/bot_sync.rb +231 -0
- data/lib/hanzoai/models/bot_view.rb +357 -0
- data/lib/hanzoai/models/breakdown.rb +253 -0
- data/lib/hanzoai/models/breakdown_row.rb +251 -0
- data/lib/hanzoai/models/browser_tag_out.rb +238 -0
- data/lib/hanzoai/models/bucket_create_in.rb +221 -0
- data/lib/hanzoai/models/bucket_in.rb +221 -0
- data/lib/hanzoai/models/bucket_item.rb +231 -0
- data/lib/hanzoai/models/bucket_list.rb +233 -0
- data/lib/hanzoai/models/bucket_record.rb +251 -0
- data/lib/hanzoai/models/bucket_write.rb +251 -0
- data/lib/hanzoai/models/build_board.rb +223 -0
- data/lib/hanzoai/models/build_list.rb +223 -0
- data/lib/hanzoai/models/build_out.rb +241 -0
- data/lib/hanzoai/models/build_request.rb +251 -0
- data/lib/hanzoai/models/build_row.rb +271 -0
- data/lib/hanzoai/models/build_summary.rb +311 -0
- data/lib/hanzoai/models/build_turn.rb +281 -0
- data/lib/hanzoai/models/build_view.rb +333 -0
- data/lib/hanzoai/models/bus_ack.rb +251 -0
- data/lib/hanzoai/models/bus_message.rb +263 -0
- data/lib/hanzoai/models/bus_publish.rb +243 -0
- data/lib/hanzoai/models/bus_request.rb +253 -0
- data/lib/hanzoai/models/buy_input.rb +221 -0
- data/lib/hanzoai/models/byo_gpu.rb +251 -0
- data/lib/hanzoai/models/byo_worker.rb +425 -0
- data/lib/hanzoai/models/calendar_post.rb +311 -0
- data/lib/hanzoai/models/call.rb +271 -0
- data/lib/hanzoai/models/call_input.rb +261 -0
- data/lib/hanzoai/models/call_list.rb +223 -0
- data/lib/hanzoai/models/campaign.rb +311 -0
- data/lib/hanzoai/models/campaign_input.rb +281 -0
- data/lib/hanzoai/models/campaign_list.rb +223 -0
- data/lib/hanzoai/models/campaign_page.rb +223 -0
- data/lib/hanzoai/models/campaign_record.rb +315 -0
- data/lib/hanzoai/models/campaign_results.rb +413 -0
- data/lib/hanzoai/models/campaign_summary.rb +253 -0
- data/lib/hanzoai/models/campaign_update.rb +279 -0
- data/lib/hanzoai/models/campaign_write.rb +275 -0
- data/lib/hanzoai/models/cap_verdict.rb +256 -0
- data/lib/hanzoai/models/capabilities.rb +261 -0
- data/lib/hanzoai/models/capability.rb +247 -0
- data/lib/hanzoai/models/captable_class_holding.rb +261 -0
- data/lib/hanzoai/models/captable_company.rb +291 -0
- data/lib/hanzoai/models/captable_company_update.rb +251 -0
- data/lib/hanzoai/models/captable_convertible_in.rb +321 -0
- data/lib/hanzoai/models/captable_convertibles.rb +231 -0
- data/lib/hanzoai/models/captable_created.rb +241 -0
- data/lib/hanzoai/models/captable_deleted.rb +221 -0
- data/lib/hanzoai/models/captable_equity_plan.rb +301 -0
- data/lib/hanzoai/models/captable_equity_plan_in.rb +281 -0
- data/lib/hanzoai/models/captable_equity_plans.rb +223 -0
- data/lib/hanzoai/models/captable_holding.rb +271 -0
- data/lib/hanzoai/models/captable_instrument_total.rb +231 -0
- data/lib/hanzoai/models/captable_invested.rb +251 -0
- data/lib/hanzoai/models/captable_investment.rb +291 -0
- data/lib/hanzoai/models/captable_investment_in.rb +261 -0
- data/lib/hanzoai/models/captable_investments.rb +223 -0
- data/lib/hanzoai/models/captable_note.rb +321 -0
- data/lib/hanzoai/models/captable_notes.rb +223 -0
- data/lib/hanzoai/models/captable_option.rb +351 -0
- data/lib/hanzoai/models/captable_option_in.rb +361 -0
- data/lib/hanzoai/models/captable_options.rb +223 -0
- data/lib/hanzoai/models/captable_round.rb +321 -0
- data/lib/hanzoai/models/captable_round_close_request.rb +231 -0
- data/lib/hanzoai/models/captable_round_detail.rb +233 -0
- data/lib/hanzoai/models/captable_round_in.rb +271 -0
- data/lib/hanzoai/models/captable_round_investment.rb +281 -0
- data/lib/hanzoai/models/captable_round_totals.rb +231 -0
- data/lib/hanzoai/models/captable_rounds.rb +223 -0
- data/lib/hanzoai/models/captable_safe.rb +331 -0
- data/lib/hanzoai/models/captable_safe_in.rb +311 -0
- data/lib/hanzoai/models/captable_safes.rb +223 -0
- data/lib/hanzoai/models/captable_share.rb +343 -0
- data/lib/hanzoai/models/captable_share_class.rb +351 -0
- data/lib/hanzoai/models/captable_share_class_amend.rb +351 -0
- data/lib/hanzoai/models/captable_share_class_in.rb +341 -0
- data/lib/hanzoai/models/captable_share_in.rb +383 -0
- data/lib/hanzoai/models/captable_share_transfer.rb +251 -0
- data/lib/hanzoai/models/captable_shares.rb +223 -0
- data/lib/hanzoai/models/captable_stakeholder.rb +351 -0
- data/lib/hanzoai/models/captable_stakeholder_patch.rb +321 -0
- data/lib/hanzoai/models/captable_summary.rb +275 -0
- data/lib/hanzoai/models/captable_summary_company.rb +231 -0
- data/lib/hanzoai/models/captable_totals.rb +261 -0
- data/lib/hanzoai/models/captable_transferred.rb +251 -0
- data/lib/hanzoai/models/captable_updated.rb +231 -0
- data/lib/hanzoai/models/capture_batch.rb +233 -0
- data/lib/hanzoai/models/capture_event.rb +564 -0
- data/lib/hanzoai/models/capture_result.rb +229 -0
- data/lib/hanzoai/models/captured_error.rb +331 -0
- data/lib/hanzoai/models/cart.rb +373 -0
- data/lib/hanzoai/models/cart_item.rb +281 -0
- data/lib/hanzoai/models/cart_item_set.rb +251 -0
- data/lib/hanzoai/models/cart_open.rb +251 -0
- data/lib/hanzoai/models/catalog.rb +231 -0
- data/lib/hanzoai/models/catalog_entry.rb +261 -0
- data/lib/hanzoai/models/catalog_list.rb +223 -0
- data/lib/hanzoai/models/catalog_out.rb +223 -0
- data/lib/hanzoai/models/catalog_page.rb +245 -0
- data/lib/hanzoai/models/category.rb +285 -0
- data/lib/hanzoai/models/category_in.rb +263 -0
- data/lib/hanzoai/models/category_spend.rb +241 -0
- data/lib/hanzoai/models/cd_app.rb +340 -0
- data/lib/hanzoai/models/cd_resp.rb +222 -0
- data/lib/hanzoai/models/centre.rb +367 -0
- data/lib/hanzoai/models/chain.rb +241 -0
- data/lib/hanzoai/models/chain_list.rb +223 -0
- data/lib/hanzoai/models/chain_status.rb +258 -0
- data/lib/hanzoai/models/challenge_view.rb +261 -0
- data/lib/hanzoai/models/channel.rb +251 -0
- data/lib/hanzoai/models/channel_add.rb +251 -0
- data/lib/hanzoai/models/channel_list.rb +223 -0
- data/lib/hanzoai/models/channel_metric.rb +271 -0
- data/lib/hanzoai/models/channel_result.rb +261 -0
- data/lib/hanzoai/models/channel_spec.rb +271 -0
- data/lib/hanzoai/models/channel_view.rb +291 -0
- data/lib/hanzoai/models/charge.rb +291 -0
- data/lib/hanzoai/models/charged.rb +261 -0
- data/lib/hanzoai/models/chat_channels.rb +223 -0
- data/lib/hanzoai/models/chat_request.rb +221 -0
- data/lib/hanzoai/models/chat_response.rb +243 -0
- data/lib/hanzoai/models/check_list.rb +233 -0
- data/lib/hanzoai/models/check_view.rb +311 -0
- data/lib/hanzoai/models/citation.rb +261 -0
- data/lib/hanzoai/models/claim.rb +241 -0
- data/lib/hanzoai/models/claim_key_out.rb +231 -0
- data/lib/hanzoai/models/claim_request.rb +221 -0
- data/lib/hanzoai/models/claim_row.rb +301 -0
- data/lib/hanzoai/models/claim_view.rb +261 -0
- data/lib/hanzoai/models/claims_out.rb +233 -0
- data/lib/hanzoai/models/clause_coverage.rb +363 -0
- data/lib/hanzoai/models/clause_row.rb +263 -0
- data/lib/hanzoai/models/clear_reference_out.rb +251 -0
- data/lib/hanzoai/models/click_count.rb +221 -0
- data/lib/hanzoai/models/click_request.rb +221 -0
- data/lib/hanzoai/models/clip_body.rb +238 -0
- data/lib/hanzoai/models/cluster_attach.rb +251 -0
- data/lib/hanzoai/models/cluster_detached.rb +221 -0
- data/lib/hanzoai/models/cluster_detail_view.rb +333 -0
- data/lib/hanzoai/models/cluster_list.rb +235 -0
- data/lib/hanzoai/models/cluster_view.rb +333 -0
- data/lib/hanzoai/models/code_file.rb +251 -0
- data/lib/hanzoai/models/code_result.rb +253 -0
- data/lib/hanzoai/models/code_run.rb +319 -0
- data/lib/hanzoai/models/code_view.rb +281 -0
- data/lib/hanzoai/models/coding_start_in.rb +331 -0
- data/lib/hanzoai/models/coding_started.rb +261 -0
- data/lib/hanzoai/models/collab_payload.rb +245 -0
- data/lib/hanzoai/models/collab_request.rb +241 -0
- data/lib/hanzoai/models/collab_result.rb +233 -0
- data/lib/hanzoai/models/collected.rb +281 -0
- data/lib/hanzoai/models/commerce_overview.rb +271 -0
- data/lib/hanzoai/models/commit_json.rb +271 -0
- data/lib/hanzoai/models/commits_json.rb +223 -0
- data/lib/hanzoai/models/company.rb +341 -0
- data/lib/hanzoai/models/company_list.rb +223 -0
- data/lib/hanzoai/models/company_req.rb +321 -0
- data/lib/hanzoai/models/completion.rb +241 -0
- data/lib/hanzoai/models/config.rb +303 -0
- data/lib/hanzoai/models/conn_view.rb +293 -0
- data/lib/hanzoai/models/connect_in.rb +241 -0
- data/lib/hanzoai/models/connect_out.rb +273 -0
- data/lib/hanzoai/models/connect_request.rb +241 -0
- data/lib/hanzoai/models/connection_out.rb +241 -0
- data/lib/hanzoai/models/connection_view.rb +253 -0
- data/lib/hanzoai/models/connector_action.rb +249 -0
- data/lib/hanzoai/models/connector_auth.rb +229 -0
- data/lib/hanzoai/models/connector_metadata.rb +298 -0
- data/lib/hanzoai/models/connector_provider_view.rb +275 -0
- data/lib/hanzoai/models/connector_providers_out.rb +223 -0
- data/lib/hanzoai/models/connector_token_out.rb +251 -0
- data/lib/hanzoai/models/connector_trigger.rb +258 -0
- data/lib/hanzoai/models/connector_view.rb +291 -0
- data/lib/hanzoai/models/connectors_out.rb +223 -0
- data/lib/hanzoai/models/console_settings.rb +371 -0
- data/lib/hanzoai/models/console_settings_dex_config.rb +223 -0
- data/lib/hanzoai/models/console_settings_google_analytics.rb +230 -0
- data/lib/hanzoai/models/console_settings_help.rb +241 -0
- data/lib/hanzoai/models/consumer.rb +311 -0
- data/lib/hanzoai/models/contact.rb +331 -0
- data/lib/hanzoai/models/contact_list.rb +223 -0
- data/lib/hanzoai/models/contact_req.rb +311 -0
- data/lib/hanzoai/models/contacts.rb +251 -0
- data/lib/hanzoai/models/context_bundle.rb +263 -0
- data/lib/hanzoai/models/context_in.rb +241 -0
- data/lib/hanzoai/models/control_command_view.rb +251 -0
- data/lib/hanzoai/models/control_drain.rb +233 -0
- data/lib/hanzoai/models/control_in.rb +241 -0
- data/lib/hanzoai/models/control_list.rb +293 -0
- data/lib/hanzoai/models/control_result.rb +241 -0
- data/lib/hanzoai/models/cookie_ack.rb +221 -0
- data/lib/hanzoai/models/corpus_view.rb +243 -0
- data/lib/hanzoai/models/cost_line.rb +233 -0
- data/lib/hanzoai/models/cover_row.rb +331 -0
- data/lib/hanzoai/models/crawl_document.rb +251 -0
- data/lib/hanzoai/models/crawl_request.rb +221 -0
- data/lib/hanzoai/models/crawl_result.rb +241 -0
- data/lib/hanzoai/models/create_account_in.rb +221 -0
- data/lib/hanzoai/models/create_agent_in.rb +303 -0
- data/lib/hanzoai/models/create_app_req.rb +365 -0
- data/lib/hanzoai/models/create_body.rb +334 -0
- data/lib/hanzoai/models/create_cluster_req.rb +250 -0
- data/lib/hanzoai/models/create_cluster_req_node_pool.rb +239 -0
- data/lib/hanzoai/models/create_endpoint_in.rb +253 -0
- data/lib/hanzoai/models/create_flow_req.rb +251 -0
- data/lib/hanzoai/models/create_link_request.rb +231 -0
- data/lib/hanzoai/models/create_req.rb +251 -0
- data/lib/hanzoai/models/create_server_req.rb +261 -0
- data/lib/hanzoai/models/create_version_in.rb +241 -0
- data/lib/hanzoai/models/create_wallet_in.rb +271 -0
- data/lib/hanzoai/models/credential_in.rb +261 -0
- data/lib/hanzoai/models/credential_out.rb +231 -0
- data/lib/hanzoai/models/credit_balance.rb +231 -0
- data/lib/hanzoai/models/credit_entry.rb +229 -0
- data/lib/hanzoai/models/credit_grant.rb +328 -0
- data/lib/hanzoai/models/credit_grants.rb +231 -0
- data/lib/hanzoai/models/crm_summary.rb +241 -0
- data/lib/hanzoai/models/crypto_asset.rb +241 -0
- data/lib/hanzoai/models/crypto_deposit.rb +274 -0
- data/lib/hanzoai/models/crypto_options.rb +233 -0
- data/lib/hanzoai/models/csrf_resp.rb +231 -0
- data/lib/hanzoai/models/curate_req.rb +261 -0
- data/lib/hanzoai/models/curriculum.rb +243 -0
- data/lib/hanzoai/models/curriculum_view.rb +231 -0
- data/lib/hanzoai/models/d1_query.rb +233 -0
- data/lib/hanzoai/models/dash_resp.rb +315 -0
- data/lib/hanzoai/models/database_create_in.rb +221 -0
- data/lib/hanzoai/models/dataroom_add_document.rb +241 -0
- data/lib/hanzoai/models/dataroom_create.rb +231 -0
- data/lib/hanzoai/models/dataroom_document.rb +301 -0
- data/lib/hanzoai/models/dataroom_document_one.rb +221 -0
- data/lib/hanzoai/models/dataroom_documents.rb +223 -0
- data/lib/hanzoai/models/dataroom_link.rb +355 -0
- data/lib/hanzoai/models/dataroom_link_create.rb +305 -0
- data/lib/hanzoai/models/dataroom_link_one.rb +221 -0
- data/lib/hanzoai/models/dataroom_link_stats.rb +253 -0
- data/lib/hanzoai/models/dataroom_links.rb +223 -0
- data/lib/hanzoai/models/dataroom_liveness.rb +231 -0
- data/lib/hanzoai/models/dataroom_member.rb +321 -0
- data/lib/hanzoai/models/dataroom_membership.rb +241 -0
- data/lib/hanzoai/models/dataroom_page_stat.rb +251 -0
- data/lib/hanzoai/models/dataroom_room.rb +271 -0
- data/lib/hanzoai/models/dataroom_room_detail.rb +283 -0
- data/lib/hanzoai/models/dataroom_room_detail_one.rb +221 -0
- data/lib/hanzoai/models/dataroom_room_one.rb +221 -0
- data/lib/hanzoai/models/dataroom_rooms.rb +223 -0
- data/lib/hanzoai/models/dataroom_stats.rb +253 -0
- data/lib/hanzoai/models/dataset_list.rb +223 -0
- data/lib/hanzoai/models/dataset_req.rb +260 -0
- data/lib/hanzoai/models/dataset_view.rb +273 -0
- data/lib/hanzoai/models/decide_body.rb +238 -0
- data/lib/hanzoai/models/decision_in.rb +231 -0
- data/lib/hanzoai/models/deck_out.rb +220 -0
- data/lib/hanzoai/models/declaration.rb +334 -0
- data/lib/hanzoai/models/declare_env.rb +239 -0
- data/lib/hanzoai/models/declared.rb +332 -0
- data/lib/hanzoai/models/declared_resp.rb +241 -0
- data/lib/hanzoai/models/def_row.rb +261 -0
- data/lib/hanzoai/models/definition.rb +340 -0
- data/lib/hanzoai/models/defs_out.rb +223 -0
- data/lib/hanzoai/models/deleted.rb +221 -0
- data/lib/hanzoai/models/deleted_out.rb +221 -0
- data/lib/hanzoai/models/delivery.rb +283 -0
- data/lib/hanzoai/models/delivery_list.rb +223 -0
- data/lib/hanzoai/models/delivery_row.rb +301 -0
- data/lib/hanzoai/models/deploy_health.rb +251 -0
- data/lib/hanzoai/models/deploy_logs.rb +241 -0
- data/lib/hanzoai/models/deploy_record.rb +271 -0
- data/lib/hanzoai/models/deploy_req.rb +251 -0
- data/lib/hanzoai/models/deploy_request.rb +231 -0
- data/lib/hanzoai/models/deployment_view.rb +331 -0
- data/lib/hanzoai/models/destination_disconnected.rb +221 -0
- data/lib/hanzoai/models/destination_field.rb +251 -0
- data/lib/hanzoai/models/destination_list.rb +223 -0
- data/lib/hanzoai/models/destination_status.rb +327 -0
- data/lib/hanzoai/models/destination_test.rb +251 -0
- data/lib/hanzoai/models/detachment.rb +231 -0
- data/lib/hanzoai/models/device_poll_out.rb +241 -0
- data/lib/hanzoai/models/device_start_in.rb +231 -0
- data/lib/hanzoai/models/device_start_out.rb +261 -0
- data/lib/hanzoai/models/device_view.rb +273 -0
- data/lib/hanzoai/models/diagnostic.rb +261 -0
- data/lib/hanzoai/models/disconnect_out.rb +221 -0
- data/lib/hanzoai/models/doc_field.rb +310 -0
- data/lib/hanzoai/models/doc_perm.rb +274 -0
- data/lib/hanzoai/models/doc_row.rb +311 -0
- data/lib/hanzoai/models/doc_type.rb +305 -0
- data/lib/hanzoai/models/doc_type_list.rb +223 -0
- data/lib/hanzoai/models/document_list.rb +223 -0
- data/lib/hanzoai/models/document_page.rb +233 -0
- data/lib/hanzoai/models/document_reply.rb +231 -0
- data/lib/hanzoai/models/document_summary.rb +311 -0
- data/lib/hanzoai/models/document_view.rb +321 -0
- data/lib/hanzoai/models/domain_add_in.rb +231 -0
- data/lib/hanzoai/models/domain_view.rb +303 -0
- data/lib/hanzoai/models/drift_board.rb +233 -0
- data/lib/hanzoai/models/drift_flag.rb +241 -0
- data/lib/hanzoai/models/drift_tally.rb +241 -0
- data/lib/hanzoai/models/dropped.rb +241 -0
- data/lib/hanzoai/models/durable.rb +321 -0
- data/lib/hanzoai/models/edge_state.rb +285 -0
- data/lib/hanzoai/models/ein.rb +283 -0
- data/lib/hanzoai/models/ein_in.rb +241 -0
- data/lib/hanzoai/models/embed_status_resp.rb +271 -0
- data/lib/hanzoai/models/enable_resp.rb +251 -0
- data/lib/hanzoai/models/enablement_board.rb +245 -0
- data/lib/hanzoai/models/enablement_opt_ref.rb +231 -0
- data/lib/hanzoai/models/end_in.rb +231 -0
- data/lib/hanzoai/models/endpoint.rb +323 -0
- data/lib/hanzoai/models/endpoint_list.rb +223 -0
- data/lib/hanzoai/models/endpoint_req.rb +241 -0
- data/lib/hanzoai/models/endpoint_view.rb +241 -0
- data/lib/hanzoai/models/engine_advertisement.rb +255 -0
- data/lib/hanzoai/models/engine_status.rb +231 -0
- data/lib/hanzoai/models/enroll_input.rb +251 -0
- data/lib/hanzoai/models/enroll_req.rb +291 -0
- data/lib/hanzoai/models/enroll_result.rb +251 -0
- data/lib/hanzoai/models/enrollment.rb +301 -0
- data/lib/hanzoai/models/enrollment_list.rb +223 -0
- data/lib/hanzoai/models/enrolment.rb +301 -0
- data/lib/hanzoai/models/entitlements_view.rb +223 -0
- data/lib/hanzoai/models/entry.rb +401 -0
- data/lib/hanzoai/models/env_var_json.rb +241 -0
- data/lib/hanzoai/models/environment_board.rb +223 -0
- data/lib/hanzoai/models/environment_row.rb +273 -0
- data/lib/hanzoai/models/error_list.rb +223 -0
- data/lib/hanzoai/models/esign_complete_in.rb +221 -0
- data/lib/hanzoai/models/esign_completion.rb +241 -0
- data/lib/hanzoai/models/esign_document.rb +345 -0
- data/lib/hanzoai/models/esign_documents.rb +223 -0
- data/lib/hanzoai/models/esign_event.rb +271 -0
- data/lib/hanzoai/models/esign_field.rb +321 -0
- data/lib/hanzoai/models/esign_field_in.rb +291 -0
- data/lib/hanzoai/models/esign_health.rb +231 -0
- data/lib/hanzoai/models/esign_insertion.rb +231 -0
- data/lib/hanzoai/models/esign_invite.rb +261 -0
- data/lib/hanzoai/models/esign_link.rb +261 -0
- data/lib/hanzoai/models/esign_links.rb +243 -0
- data/lib/hanzoai/models/esign_out.rb +241 -0
- data/lib/hanzoai/models/esign_pdf.rb +261 -0
- data/lib/hanzoai/models/esign_placement.rb +251 -0
- data/lib/hanzoai/models/esign_recipient.rb +311 -0
- data/lib/hanzoai/models/esign_recipient_in.rb +251 -0
- data/lib/hanzoai/models/esign_reject_in.rb +221 -0
- data/lib/hanzoai/models/esign_rejection.rb +231 -0
- data/lib/hanzoai/models/esign_session.rb +253 -0
- data/lib/hanzoai/models/esign_signer.rb +261 -0
- data/lib/hanzoai/models/esign_state.rb +241 -0
- data/lib/hanzoai/models/esign_trail.rb +233 -0
- data/lib/hanzoai/models/esign_upload_in.rb +271 -0
- data/lib/hanzoai/models/esign_value_in.rb +231 -0
- data/lib/hanzoai/models/evaluate_in.rb +241 -0
- data/lib/hanzoai/models/evaluator_list.rb +223 -0
- data/lib/hanzoai/models/evaluator_req.rb +268 -0
- data/lib/hanzoai/models/evaluator_view.rb +271 -0
- data/lib/hanzoai/models/event.rb +258 -0
- data/lib/hanzoai/models/event_in.rb +251 -0
- data/lib/hanzoai/models/event_list.rb +223 -0
- data/lib/hanzoai/models/event_view.rb +281 -0
- data/lib/hanzoai/models/exception.rb +258 -0
- data/lib/hanzoai/models/exec_request.rb +273 -0
- data/lib/hanzoai/models/exec_result.rb +241 -0
- data/lib/hanzoai/models/experiment_list.rb +233 -0
- data/lib/hanzoai/models/extracted.rb +293 -0
- data/lib/hanzoai/models/faq_list.rb +223 -0
- data/lib/hanzoai/models/field.rb +231 -0
- data/lib/hanzoai/models/figure.rb +241 -0
- data/lib/hanzoai/models/file_content.rb +251 -0
- data/lib/hanzoai/models/file_input.rb +231 -0
- data/lib/hanzoai/models/file_json.rb +261 -0
- data/lib/hanzoai/models/files_json.rb +233 -0
- data/lib/hanzoai/models/filing.rb +261 -0
- data/lib/hanzoai/models/filing_page.rb +233 -0
- data/lib/hanzoai/models/filing_reply.rb +231 -0
- data/lib/hanzoai/models/filing_request.rb +233 -0
- data/lib/hanzoai/models/filters.rb +247 -0
- data/lib/hanzoai/models/finance_ledger_entry.rb +274 -0
- data/lib/hanzoai/models/financial_package.rb +293 -0
- data/lib/hanzoai/models/finding_list.rb +223 -0
- data/lib/hanzoai/models/finding_view.rb +311 -0
- data/lib/hanzoai/models/fleet_board.rb +223 -0
- data/lib/hanzoai/models/fleet_metrics.rb +261 -0
- data/lib/hanzoai/models/fleet_spec.rb +271 -0
- data/lib/hanzoai/models/fleet_summary.rb +231 -0
- data/lib/hanzoai/models/fleet_unit.rb +321 -0
- data/lib/hanzoai/models/flow.rb +294 -0
- data/lib/hanzoai/models/flow_action.rb +275 -0
- data/lib/hanzoai/models/flow_create.rb +241 -0
- data/lib/hanzoai/models/flow_page.rb +223 -0
- data/lib/hanzoai/models/flow_run.rb +251 -0
- data/lib/hanzoai/models/flow_status.rb +231 -0
- data/lib/hanzoai/models/flow_trigger.rb +275 -0
- data/lib/hanzoai/models/flow_update.rb +261 -0
- data/lib/hanzoai/models/flow_version.rb +292 -0
- data/lib/hanzoai/models/fn_list.rb +223 -0
- data/lib/hanzoai/models/form.rb +251 -0
- data/lib/hanzoai/models/formation.rb +407 -0
- data/lib/hanzoai/models/formation_view.rb +233 -0
- data/lib/hanzoai/models/founder.rb +271 -0
- data/lib/hanzoai/models/founders_in.rb +223 -0
- data/lib/hanzoai/models/frame.rb +247 -0
- data/lib/hanzoai/models/framework_list.rb +223 -0
- data/lib/hanzoai/models/framework_row.rb +281 -0
- data/lib/hanzoai/models/function_detail.rb +391 -0
- data/lib/hanzoai/models/function_view.rb +371 -0
- data/lib/hanzoai/models/funnel.rb +281 -0
- data/lib/hanzoai/models/fusion.rb +265 -0
- data/lib/hanzoai/models/gc_out.rb +241 -0
- data/lib/hanzoai/models/generate_input.rb +331 -0
- data/lib/hanzoai/models/generate_request.rb +233 -0
- data/lib/hanzoai/models/generate_result.rb +241 -0
- data/lib/hanzoai/models/genesis.rb +281 -0
- data/lib/hanzoai/models/git_ops_app.rb +363 -0
- data/lib/hanzoai/models/git_ops_deploy.rb +261 -0
- data/lib/hanzoai/models/git_ops_operation.rb +261 -0
- data/lib/hanzoai/models/git_ops_plane.rb +243 -0
- data/lib/hanzoai/models/git_origin.rb +231 -0
- data/lib/hanzoai/models/git_source.rb +241 -0
- data/lib/hanzoai/models/github_backfill_in.rb +221 -0
- data/lib/hanzoai/models/github_backfill_result.rb +271 -0
- data/lib/hanzoai/models/github_claim_in.rb +233 -0
- data/lib/hanzoai/models/github_claim_out.rb +235 -0
- data/lib/hanzoai/models/github_fork_out.rb +261 -0
- data/lib/hanzoai/models/github_fork_req.rb +231 -0
- data/lib/hanzoai/models/github_import_in.rb +233 -0
- data/lib/hanzoai/models/github_import_out.rb +233 -0
- data/lib/hanzoai/models/github_installation_view.rb +261 -0
- data/lib/hanzoai/models/github_installations_out.rb +233 -0
- data/lib/hanzoai/models/github_pages_build_out.rb +241 -0
- data/lib/hanzoai/models/github_pages_disabled_out.rb +231 -0
- data/lib/hanzoai/models/github_pages_enable_req.rb +251 -0
- data/lib/hanzoai/models/github_pages_source.rb +231 -0
- data/lib/hanzoai/models/github_pages_update_req.rb +271 -0
- data/lib/hanzoai/models/github_pages_updated_out.rb +231 -0
- data/lib/hanzoai/models/github_pages_view.rb +291 -0
- data/lib/hanzoai/models/github_repo_view.rb +291 -0
- data/lib/hanzoai/models/github_repos_out.rb +235 -0
- data/lib/hanzoai/models/github_search_hit.rb +291 -0
- data/lib/hanzoai/models/github_search_out.rb +233 -0
- data/lib/hanzoai/models/github_search_req.rb +231 -0
- data/lib/hanzoai/models/gitlab_project_view.rb +291 -0
- data/lib/hanzoai/models/gitlab_projects_out.rb +233 -0
- data/lib/hanzoai/models/gl_row.rb +301 -0
- data/lib/hanzoai/models/gpu.rb +241 -0
- data/lib/hanzoai/models/gpu_alert_list.rb +223 -0
- data/lib/hanzoai/models/gpu_job.rb +341 -0
- data/lib/hanzoai/models/gpu_list.rb +223 -0
- data/lib/hanzoai/models/gpu_view.rb +301 -0
- data/lib/hanzoai/models/graph_assert_in.rb +223 -0
- data/lib/hanzoai/models/graph_assert_out.rb +253 -0
- data/lib/hanzoai/models/graph_edge.rb +241 -0
- data/lib/hanzoai/models/graph_fact.rb +301 -0
- data/lib/hanzoai/models/graph_neighbors_in.rb +263 -0
- data/lib/hanzoai/models/graph_neighbors_out.rb +253 -0
- data/lib/hanzoai/models/graph_node.rb +261 -0
- data/lib/hanzoai/models/graph_out.rb +245 -0
- data/lib/hanzoai/models/graph_ql_error.rb +231 -0
- data/lib/hanzoai/models/graph_ql_out.rb +232 -0
- data/lib/hanzoai/models/graph_qlin.rb +239 -0
- data/lib/hanzoai/models/graph_read_out.rb +223 -0
- data/lib/hanzoai/models/graph_resolve_in.rb +241 -0
- data/lib/hanzoai/models/graph_resolve_out.rb +293 -0
- data/lib/hanzoai/models/graph_vocabulary_out.rb +245 -0
- data/lib/hanzoai/models/handle_request.rb +221 -0
- data/lib/hanzoai/models/handle_set.rb +221 -0
- data/lib/hanzoai/models/health.rb +231 -0
- data/lib/hanzoai/models/health_lens.rb +231 -0
- data/lib/hanzoai/models/health_lenses.rb +231 -0
- data/lib/hanzoai/models/health_out.rb +231 -0
- data/lib/hanzoai/models/health_plane.rb +251 -0
- data/lib/hanzoai/models/health_report.rb +291 -0
- data/lib/hanzoai/models/health_view.rb +231 -0
- data/lib/hanzoai/models/help_article.rb +271 -0
- data/lib/hanzoai/models/help_article_card.rb +261 -0
- data/lib/hanzoai/models/help_article_list.rb +223 -0
- data/lib/hanzoai/models/help_category.rb +231 -0
- data/lib/hanzoai/models/help_category_list.rb +223 -0
- data/lib/hanzoai/models/help_ticket_filed.rb +231 -0
- data/lib/hanzoai/models/help_ticket_intake.rb +251 -0
- data/lib/hanzoai/models/history_out.rb +243 -0
- data/lib/hanzoai/models/hit.rb +281 -0
- data/lib/hanzoai/models/holder.rb +256 -0
- data/lib/hanzoai/models/holding.rb +293 -0
- data/lib/hanzoai/models/holdings.rb +223 -0
- data/lib/hanzoai/models/iam_account_body.rb +247 -0
- data/lib/hanzoai/models/iam_account_item.rb +265 -0
- data/lib/hanzoai/models/iam_address.rb +274 -0
- data/lib/hanzoai/models/iam_answer.rb +283 -0
- data/lib/hanzoai/models/iam_application.rb +1048 -0
- data/lib/hanzoai/models/iam_application_list_result.rb +222 -0
- data/lib/hanzoai/models/iam_assume_body.rb +220 -0
- data/lib/hanzoai/models/iam_audit_log.rb +373 -0
- data/lib/hanzoai/models/iam_bulk.rb +238 -0
- data/lib/hanzoai/models/iam_cart_item.rb +256 -0
- data/lib/hanzoai/models/iam_cert.rb +391 -0
- data/lib/hanzoai/models/iam_certs_delete_output.rb +220 -0
- data/lib/hanzoai/models/iam_certs_list_output.rb +231 -0
- data/lib/hanzoai/models/iam_config.rb +296 -0
- data/lib/hanzoai/models/iam_consent_record.rb +231 -0
- data/lib/hanzoai/models/iam_create_input.rb +229 -0
- data/lib/hanzoai/models/iam_create_organization_input.rb +782 -0
- data/lib/hanzoai/models/iam_create_session_in.rb +309 -0
- data/lib/hanzoai/models/iam_delete_organization_output.rb +220 -0
- data/lib/hanzoai/models/iam_delete_output.rb +220 -0
- data/lib/hanzoai/models/iam_delete_response.rb +220 -0
- data/lib/hanzoai/models/iam_delete_result.rb +220 -0
- data/lib/hanzoai/models/iam_delete_session_out.rb +220 -0
- data/lib/hanzoai/models/iam_face_id.rb +240 -0
- data/lib/hanzoai/models/iam_filter.rb +229 -0
- data/lib/hanzoai/models/iam_input.rb +337 -0
- data/lib/hanzoai/models/iam_invitation.rb +391 -0
- data/lib/hanzoai/models/iam_invitations_delete_output.rb +220 -0
- data/lib/hanzoai/models/iam_invitations_input.rb +355 -0
- data/lib/hanzoai/models/iam_invitations_list_output.rb +231 -0
- data/lib/hanzoai/models/iam_jwt_item.rb +247 -0
- data/lib/hanzoai/models/iam_key.rb +400 -0
- data/lib/hanzoai/models/iam_list_organizations_output.rb +231 -0
- data/lib/hanzoai/models/iam_list_output.rb +231 -0
- data/lib/hanzoai/models/iam_list_providers_out.rb +222 -0
- data/lib/hanzoai/models/iam_list_response.rb +260 -0
- data/lib/hanzoai/models/iam_list_sessions_out.rb +222 -0
- data/lib/hanzoai/models/iam_list_tokens_out.rb +222 -0
- data/lib/hanzoai/models/iam_list_webauthn_credentials_out.rb +222 -0
- data/lib/hanzoai/models/iam_managed_account.rb +238 -0
- data/lib/hanzoai/models/iam_mfa_account.rb +238 -0
- data/lib/hanzoai/models/iam_mfa_item.rb +229 -0
- data/lib/hanzoai/models/iam_mfa_props.rb +265 -0
- data/lib/hanzoai/models/iam_mutation_result.rb +229 -0
- data/lib/hanzoai/models/iam_organization.rb +786 -0
- data/lib/hanzoai/models/iam_password_body.rb +261 -0
- data/lib/hanzoai/models/iam_permission.rb +444 -0
- data/lib/hanzoai/models/iam_permission_delete_response.rb +220 -0
- data/lib/hanzoai/models/iam_permission_list_response.rb +222 -0
- data/lib/hanzoai/models/iam_person.rb +283 -0
- data/lib/hanzoai/models/iam_project.rb +339 -0
- data/lib/hanzoai/models/iam_projects_delete_output.rb +220 -0
- data/lib/hanzoai/models/iam_projects_input.rb +303 -0
- data/lib/hanzoai/models/iam_projects_list_output.rb +231 -0
- data/lib/hanzoai/models/iam_provider.rb +647 -0
- data/lib/hanzoai/models/iam_provider_item.rb +314 -0
- data/lib/hanzoai/models/iam_provider_result.rb +220 -0
- data/lib/hanzoai/models/iam_registration.rb +336 -0
- data/lib/hanzoai/models/iam_reply.rb +247 -0
- data/lib/hanzoai/models/iam_role.rb +345 -0
- data/lib/hanzoai/models/iam_roles_delete_output.rb +220 -0
- data/lib/hanzoai/models/iam_roles_input.rb +309 -0
- data/lib/hanzoai/models/iam_roles_list_output.rb +231 -0
- data/lib/hanzoai/models/iam_saml_item.rb +238 -0
- data/lib/hanzoai/models/iam_scheme.rb +247 -0
- data/lib/hanzoai/models/iam_scope_description.rb +238 -0
- data/lib/hanzoai/models/iam_scope_item.rb +249 -0
- data/lib/hanzoai/models/iam_session.rb +304 -0
- data/lib/hanzoai/models/iam_set_avatar_input.rb +247 -0
- data/lib/hanzoai/models/iam_signin_item.rb +274 -0
- data/lib/hanzoai/models/iam_signin_method.rb +238 -0
- data/lib/hanzoai/models/iam_signup_item.rb +312 -0
- data/lib/hanzoai/models/iam_theme_data.rb +256 -0
- data/lib/hanzoai/models/iam_toggle.rb +220 -0
- data/lib/hanzoai/models/iam_token.rb +486 -0
- data/lib/hanzoai/models/iam_token_mutation.rb +229 -0
- data/lib/hanzoai/models/iam_token_result.rb +220 -0
- data/lib/hanzoai/models/iam_update_input.rb +229 -0
- data/lib/hanzoai/models/iam_update_organization_input.rb +782 -0
- data/lib/hanzoai/models/iam_update_session_in.rb +300 -0
- data/lib/hanzoai/models/iam_user.rb +1936 -0
- data/lib/hanzoai/models/iam_users_delete_output.rb +220 -0
- data/lib/hanzoai/models/iam_users_list_output.rb +231 -0
- data/lib/hanzoai/models/iam_webauthn_credential.rb +403 -0
- data/lib/hanzoai/models/iam_webauthn_credential_mutation_result.rb +229 -0
- data/lib/hanzoai/models/iam_webauthn_credential_result.rb +220 -0
- data/lib/hanzoai/models/iam_workspace.rb +339 -0
- data/lib/hanzoai/models/iam_workspaces_delete_output.rb +220 -0
- data/lib/hanzoai/models/iam_workspaces_input.rb +303 -0
- data/lib/hanzoai/models/iam_workspaces_list_output.rb +231 -0
- data/lib/hanzoai/models/image_origin.rb +231 -0
- data/lib/hanzoai/models/image_view.rb +231 -0
- data/lib/hanzoai/models/import_cap_table_in.rb +231 -0
- data/lib/hanzoai/models/import_cap_table_out.rb +241 -0
- data/lib/hanzoai/models/import_documents_in.rb +221 -0
- data/lib/hanzoai/models/import_documents_out.rb +231 -0
- data/lib/hanzoai/models/inbox_item.rb +291 -0
- data/lib/hanzoai/models/inbox_out.rb +223 -0
- data/lib/hanzoai/models/inbox_page.rb +233 -0
- data/lib/hanzoai/models/inbox_view.rb +311 -0
- data/lib/hanzoai/models/index.rb +260 -0
- data/lib/hanzoai/models/index_count.rb +231 -0
- data/lib/hanzoai/models/index_documents.rb +253 -0
- data/lib/hanzoai/models/index_enqueued.rb +261 -0
- data/lib/hanzoai/models/index_filter.rb +223 -0
- data/lib/hanzoai/models/index_health.rb +221 -0
- data/lib/hanzoai/models/index_hits.rb +273 -0
- data/lib/hanzoai/models/index_in.rb +243 -0
- data/lib/hanzoai/models/index_list.rb +253 -0
- data/lib/hanzoai/models/index_new.rb +231 -0
- data/lib/hanzoai/models/index_query.rb +251 -0
- data/lib/hanzoai/models/index_result.rb +301 -0
- data/lib/hanzoai/models/index_settings.rb +223 -0
- data/lib/hanzoai/models/index_stats.rb +233 -0
- data/lib/hanzoai/models/index_task.rb +271 -0
- data/lib/hanzoai/models/index_version.rb +241 -0
- data/lib/hanzoai/models/index_view.rb +251 -0
- data/lib/hanzoai/models/indexer_view.rb +281 -0
- data/lib/hanzoai/models/indexers_out.rb +223 -0
- data/lib/hanzoai/models/info_out.rb +271 -0
- data/lib/hanzoai/models/ingest_req.rb +412 -0
- data/lib/hanzoai/models/ingest_resp.rb +243 -0
- data/lib/hanzoai/models/ingress_middlewares.rb +223 -0
- data/lib/hanzoai/models/ingress_routes.rb +223 -0
- data/lib/hanzoai/models/ingress_services.rb +223 -0
- data/lib/hanzoai/models/ingress_status.rb +301 -0
- data/lib/hanzoai/models/ingress_tls.rb +283 -0
- data/lib/hanzoai/models/insights_body.rb +269 -0
- data/lib/hanzoai/models/insights_event.rb +258 -0
- data/lib/hanzoai/models/insights_status.rb +241 -0
- data/lib/hanzoai/models/install.rb +242 -0
- data/lib/hanzoai/models/install_req.rb +221 -0
- data/lib/hanzoai/models/install_state.rb +231 -0
- data/lib/hanzoai/models/invocation_list.rb +223 -0
- data/lib/hanzoai/models/invocation_view.rb +271 -0
- data/lib/hanzoai/models/invoice.rb +333 -0
- data/lib/hanzoai/models/invoice_line.rb +251 -0
- data/lib/hanzoai/models/invoice_line_item.rb +320 -0
- data/lib/hanzoai/models/invoices.rb +231 -0
- data/lib/hanzoai/models/invoke_req.rb +221 -0
- data/lib/hanzoai/models/issue_edit.rb +271 -0
- data/lib/hanzoai/models/issue_hit.rb +321 -0
- data/lib/hanzoai/models/issue_hits.rb +233 -0
- data/lib/hanzoai/models/issue_view.rb +393 -0
- data/lib/hanzoai/models/item_list.rb +223 -0
- data/lib/hanzoai/models/item_req.rb +263 -0
- data/lib/hanzoai/models/item_result.rb +261 -0
- data/lib/hanzoai/models/item_view.rb +293 -0
- data/lib/hanzoai/models/job_cancel.rb +241 -0
- data/lib/hanzoai/models/job_canceled.rb +231 -0
- data/lib/hanzoai/models/job_list.rb +223 -0
- data/lib/hanzoai/models/journey_step.rb +325 -0
- data/lib/hanzoai/models/judge_spec.rb +241 -0
- data/lib/hanzoai/models/kb_authorize_out.rb +221 -0
- data/lib/hanzoai/models/kb_connectors_out.rb +223 -0
- data/lib/hanzoai/models/kb_sync_out.rb +231 -0
- data/lib/hanzoai/models/key_list.rb +223 -0
- data/lib/hanzoai/models/key_type_in.rb +233 -0
- data/lib/hanzoai/models/key_view.rb +261 -0
- data/lib/hanzoai/models/kit_list.rb +223 -0
- data/lib/hanzoai/models/kms_config.rb +251 -0
- data/lib/hanzoai/models/kms_health.rb +261 -0
- data/lib/hanzoai/models/kms_login.rb +231 -0
- data/lib/hanzoai/models/kms_put.rb +251 -0
- data/lib/hanzoai/models/kms_secrets.rb +245 -0
- data/lib/hanzoai/models/kms_stored.rb +241 -0
- data/lib/hanzoai/models/kms_token.rb +241 -0
- data/lib/hanzoai/models/kv_ack.rb +221 -0
- data/lib/hanzoai/models/kv_entry.rb +261 -0
- data/lib/hanzoai/models/kv_page.rb +223 -0
- data/lib/hanzoai/models/kv_write.rb +241 -0
- data/lib/hanzoai/models/kyc_refresh_out.rb +231 -0
- data/lib/hanzoai/models/kyc_session.rb +251 -0
- data/lib/hanzoai/models/kyc_start_out.rb +243 -0
- data/lib/hanzoai/models/last_event_view.rb +261 -0
- data/lib/hanzoai/models/latency_stat.rb +251 -0
- data/lib/hanzoai/models/leader_row.rb +341 -0
- data/lib/hanzoai/models/leaderboard.rb +233 -0
- data/lib/hanzoai/models/leaderboard_row.rb +261 -0
- data/lib/hanzoai/models/leaderboard_view.rb +323 -0
- data/lib/hanzoai/models/lease_in.rb +261 -0
- data/lib/hanzoai/models/leased.rb +261 -0
- data/lib/hanzoai/models/leg.rb +241 -0
- data/lib/hanzoai/models/legal_filing.rb +294 -0
- data/lib/hanzoai/models/legal_health.rb +231 -0
- data/lib/hanzoai/models/legal_signer.rb +229 -0
- data/lib/hanzoai/models/legal_template.rb +285 -0
- data/lib/hanzoai/models/level_view.rb +241 -0
- data/lib/hanzoai/models/licensing_device_signals.rb +292 -0
- data/lib/hanzoai/models/licensing_fingerprint_request.rb +221 -0
- data/lib/hanzoai/models/licensing_fingerprint_response.rb +231 -0
- data/lib/hanzoai/models/licensing_health_view.rb +251 -0
- data/lib/hanzoai/models/licensing_issue_request.rb +288 -0
- data/lib/hanzoai/models/licensing_issue_response.rb +283 -0
- data/lib/hanzoai/models/licensing_jwk.rb +251 -0
- data/lib/hanzoai/models/licensing_pubkey_view.rb +273 -0
- data/lib/hanzoai/models/licensing_release.rb +332 -0
- data/lib/hanzoai/models/licensing_release_asset.rb +248 -0
- data/lib/hanzoai/models/licensing_release_list.rb +223 -0
- data/lib/hanzoai/models/licensing_revocation_entry.rb +256 -0
- data/lib/hanzoai/models/licensing_revoke_request.rb +275 -0
- data/lib/hanzoai/models/licensing_revoke_response.rb +231 -0
- data/lib/hanzoai/models/licensing_verify_request.rb +248 -0
- data/lib/hanzoai/models/licensing_verify_response.rb +303 -0
- data/lib/hanzoai/models/limits_block.rb +251 -0
- data/lib/hanzoai/models/limits_view.rb +241 -0
- data/lib/hanzoai/models/line_item.rb +231 -0
- data/lib/hanzoai/models/link.rb +220 -0
- data/lib/hanzoai/models/link_list.rb +235 -0
- data/lib/hanzoai/models/link_mint.rb +221 -0
- data/lib/hanzoai/models/link_view.rb +361 -0
- data/lib/hanzoai/models/list_out.rb +223 -0
- data/lib/hanzoai/models/listing.rb +231 -0
- data/lib/hanzoai/models/listing_page.rb +223 -0
- data/lib/hanzoai/models/liveness.rb +231 -0
- data/lib/hanzoai/models/llm.rb +291 -0
- data/lib/hanzoai/models/llm_overview.rb +321 -0
- data/lib/hanzoai/models/location.rb +241 -0
- data/lib/hanzoai/models/log_body.rb +238 -0
- data/lib/hanzoai/models/log_lines.rb +221 -0
- data/lib/hanzoai/models/loss.rb +231 -0
- data/lib/hanzoai/models/machine_list.rb +223 -0
- data/lib/hanzoai/models/machine_view.rb +351 -0
- data/lib/hanzoai/models/make_in.rb +320 -0
- data/lib/hanzoai/models/market_catalog.rb +223 -0
- data/lib/hanzoai/models/market_item.rb +305 -0
- data/lib/hanzoai/models/mcp_catalog.rb +253 -0
- data/lib/hanzoai/models/mcp_catalog_sync.rb +251 -0
- data/lib/hanzoai/models/mcp_error.rb +239 -0
- data/lib/hanzoai/models/mcp_listing.rb +387 -0
- data/lib/hanzoai/models/mcp_package.rb +261 -0
- data/lib/hanzoai/models/mcp_remote.rb +231 -0
- data/lib/hanzoai/models/mcp_request.rb +250 -0
- data/lib/hanzoai/models/mcp_response.rb +250 -0
- data/lib/hanzoai/models/mcp_server.rb +301 -0
- data/lib/hanzoai/models/mcp_server_list.rb +223 -0
- data/lib/hanzoai/models/meet_health.rb +241 -0
- data/lib/hanzoai/models/memory_entry.rb +291 -0
- data/lib/hanzoai/models/memory_page.rb +223 -0
- data/lib/hanzoai/models/mesh_service_list.rb +223 -0
- data/lib/hanzoai/models/mesh_view.rb +251 -0
- data/lib/hanzoai/models/message_input.rb +253 -0
- data/lib/hanzoai/models/message_list.rb +223 -0
- data/lib/hanzoai/models/metric_body.rb +240 -0
- data/lib/hanzoai/models/metric_list.rb +223 -0
- data/lib/hanzoai/models/metric_row.rb +271 -0
- data/lib/hanzoai/models/metrics.rb +281 -0
- data/lib/hanzoai/models/metrics_response.rb +383 -0
- data/lib/hanzoai/models/metrics_view.rb +243 -0
- data/lib/hanzoai/models/middleware.rb +243 -0
- data/lib/hanzoai/models/minted_key.rb +253 -0
- data/lib/hanzoai/models/mirror_list.rb +223 -0
- data/lib/hanzoai/models/mirror_req.rb +241 -0
- data/lib/hanzoai/models/mirror_target_req.rb +241 -0
- data/lib/hanzoai/models/mirror_target_view.rb +261 -0
- data/lib/hanzoai/models/ml_create.rb +243 -0
- data/lib/hanzoai/models/ml_resource.rb +255 -0
- data/lib/hanzoai/models/ml_resource_list.rb +223 -0
- data/lib/hanzoai/models/mode.rb +247 -0
- data/lib/hanzoai/models/mode_in.rb +220 -0
- data/lib/hanzoai/models/model_history.rb +243 -0
- data/lib/hanzoai/models/model_row.rb +271 -0
- data/lib/hanzoai/models/model_stat.rb +351 -0
- data/lib/hanzoai/models/module_info.rb +231 -0
- data/lib/hanzoai/models/module_list.rb +223 -0
- data/lib/hanzoai/models/module_state.rb +242 -0
- data/lib/hanzoai/models/mutate_req.rb +235 -0
- data/lib/hanzoai/models/my_referral_view.rb +261 -0
- data/lib/hanzoai/models/my_referrals.rb +253 -0
- data/lib/hanzoai/models/namespace_create_in.rb +221 -0
- data/lib/hanzoai/models/network_list.rb +223 -0
- data/lib/hanzoai/models/network_view.rb +251 -0
- data/lib/hanzoai/models/new_issue.rb +261 -0
- data/lib/hanzoai/models/news_item.rb +281 -0
- data/lib/hanzoai/models/news_response.rb +223 -0
- data/lib/hanzoai/models/next_in.rb +261 -0
- data/lib/hanzoai/models/node_list.rb +223 -0
- data/lib/hanzoai/models/node_pool_view.rb +281 -0
- data/lib/hanzoai/models/node_view.rb +285 -0
- data/lib/hanzoai/models/nodes_view.rb +223 -0
- data/lib/hanzoai/models/notify_health.rb +231 -0
- data/lib/hanzoai/models/notify_send.rb +303 -0
- data/lib/hanzoai/models/number.rb +293 -0
- data/lib/hanzoai/models/number_list.rb +223 -0
- data/lib/hanzoai/models/o11y_account.rb +295 -0
- data/lib/hanzoai/models/o11y_account_config.rb +238 -0
- data/lib/hanzoai/models/o11y_add_items_in.rb +233 -0
- data/lib/hanzoai/models/o11y_agent_report.rb +231 -0
- data/lib/hanzoai/models/o11y_aggregate_attribute_response.rb +222 -0
- data/lib/hanzoai/models/o11y_alert.rb +260 -0
- data/lib/hanzoai/models/o11y_alert_status.rb +242 -0
- data/lib/hanzoai/models/o11y_alertmanagertypes_receiver.rb +231 -0
- data/lib/hanzoai/models/o11y_ann_item_list.rb +233 -0
- data/lib/hanzoai/models/o11y_ann_item_view.rb +331 -0
- data/lib/hanzoai/models/o11y_ann_items_created.rb +223 -0
- data/lib/hanzoai/models/o11y_ann_queue_deleted.rb +221 -0
- data/lib/hanzoai/models/o11y_ann_queue_detail_view.rb +305 -0
- data/lib/hanzoai/models/o11y_ann_queue_list.rb +233 -0
- data/lib/hanzoai/models/o11y_ann_queue_view.rb +273 -0
- data/lib/hanzoai/models/o11y_associated_component.rb +230 -0
- data/lib/hanzoai/models/o11y_attribute_key.rb +256 -0
- data/lib/hanzoai/models/o11y_attributes_component_entry.rb +231 -0
- data/lib/hanzoai/models/o11y_authorization.rb +249 -0
- data/lib/hanzoai/models/o11y_availability_point.rb +241 -0
- data/lib/hanzoai/models/o11y_availability_response.rb +264 -0
- data/lib/hanzoai/models/o11y_availability_response_range.rb +230 -0
- data/lib/hanzoai/models/o11y_aws_account_config.rb +222 -0
- data/lib/hanzoai/models/o11y_aws_cloud_watch_logs_subscription.rb +231 -0
- data/lib/hanzoai/models/o11y_aws_cloud_watch_metric_stream_filter.rb +232 -0
- data/lib/hanzoai/models/o11y_aws_connection_artifact.rb +220 -0
- data/lib/hanzoai/models/o11y_aws_integration_config.rb +231 -0
- data/lib/hanzoai/models/o11y_aws_logs_collection_strategy.rb +222 -0
- data/lib/hanzoai/models/o11y_aws_metrics_collection_strategy.rb +223 -0
- data/lib/hanzoai/models/o11y_aws_postable_account_config.rb +231 -0
- data/lib/hanzoai/models/o11y_aws_service_config.rb +229 -0
- data/lib/hanzoai/models/o11y_aws_service_logs_config.rb +231 -0
- data/lib/hanzoai/models/o11y_aws_service_metrics_config.rb +220 -0
- data/lib/hanzoai/models/o11y_aws_telemetry_collection_strategy.rb +241 -0
- data/lib/hanzoai/models/o11y_azure_account_config.rb +231 -0
- data/lib/hanzoai/models/o11y_azure_connection_artifact.rb +229 -0
- data/lib/hanzoai/models/o11y_azure_integration_config.rb +242 -0
- data/lib/hanzoai/models/o11y_azure_logs_collection_strategy.rb +223 -0
- data/lib/hanzoai/models/o11y_azure_service_config.rb +229 -0
- data/lib/hanzoai/models/o11y_azure_service_logs_config.rb +220 -0
- data/lib/hanzoai/models/o11y_azure_service_metrics_config.rb +220 -0
- data/lib/hanzoai/models/o11y_azure_telemetry_collection_strategy.rb +248 -0
- data/lib/hanzoai/models/o11y_basic_auth.rb +268 -0
- data/lib/hanzoai/models/o11y_builder_query.rb +448 -0
- data/lib/hanzoai/models/o11y_channel.rb +275 -0
- data/lib/hanzoai/models/o11y_checks.rb +296 -0
- data/lib/hanzoai/models/o11y_cloud_integration_service.rb +268 -0
- data/lib/hanzoai/models/o11y_cluster_list_record.rb +267 -0
- data/lib/hanzoai/models/o11y_cluster_list_request.rb +278 -0
- data/lib/hanzoai/models/o11y_cluster_list_response.rb +240 -0
- data/lib/hanzoai/models/o11y_cluster_record.rb +286 -0
- data/lib/hanzoai/models/o11y_clusters.rb +259 -0
- data/lib/hanzoai/models/o11y_collected_log_attribute.rb +238 -0
- data/lib/hanzoai/models/o11y_collected_metric.rb +247 -0
- data/lib/hanzoai/models/o11y_composite_query.rb +293 -0
- data/lib/hanzoai/models/o11y_connection_artifact.rb +239 -0
- data/lib/hanzoai/models/o11y_create_queue_req.rb +243 -0
- data/lib/hanzoai/models/o11y_credentials.rb +248 -0
- data/lib/hanzoai/models/o11y_daemon_set_list_record.rb +312 -0
- data/lib/hanzoai/models/o11y_daemon_set_list_request.rb +278 -0
- data/lib/hanzoai/models/o11y_daemon_set_list_response.rb +240 -0
- data/lib/hanzoai/models/o11y_daemon_set_record.rb +312 -0
- data/lib/hanzoai/models/o11y_daemon_sets.rb +259 -0
- data/lib/hanzoai/models/o11y_data_collected.rb +233 -0
- data/lib/hanzoai/models/o11y_data_collected_for_integration.rb +233 -0
- data/lib/hanzoai/models/o11y_datastore_query.rb +238 -0
- data/lib/hanzoai/models/o11y_deployment.rb +231 -0
- data/lib/hanzoai/models/o11y_deployment_list_record.rb +312 -0
- data/lib/hanzoai/models/o11y_deployment_list_request.rb +278 -0
- data/lib/hanzoai/models/o11y_deployment_list_response.rb +240 -0
- data/lib/hanzoai/models/o11y_deployment_record.rb +312 -0
- data/lib/hanzoai/models/o11y_deployments.rb +259 -0
- data/lib/hanzoai/models/o11y_deprecated_gettable_alert.rb +249 -0
- data/lib/hanzoai/models/o11y_discord_config.rb +293 -0
- data/lib/hanzoai/models/o11y_email_config.rb +380 -0
- data/lib/hanzoai/models/o11y_event.rb +249 -0
- data/lib/hanzoai/models/o11y_filter.rb +221 -0
- data/lib/hanzoai/models/o11y_filter_attribute_key_response.rb +222 -0
- data/lib/hanzoai/models/o11y_filter_attribute_value_request.rb +332 -0
- data/lib/hanzoai/models/o11y_filter_attribute_value_response.rb +253 -0
- data/lib/hanzoai/models/o11y_filter_item.rb +238 -0
- data/lib/hanzoai/models/o11y_filter_set.rb +231 -0
- data/lib/hanzoai/models/o11y_flamegraph_span.rb +307 -0
- data/lib/hanzoai/models/o11y_format_options.rb +229 -0
- data/lib/hanzoai/models/o11y_function.rb +242 -0
- data/lib/hanzoai/models/o11y_funnel_step.rb +304 -0
- data/lib/hanzoai/models/o11y_gcp_account_config.rb +243 -0
- data/lib/hanzoai/models/o11y_gcp_service_config.rb +229 -0
- data/lib/hanzoai/models/o11y_gcp_service_logs_config.rb +220 -0
- data/lib/hanzoai/models/o11y_gcp_service_metrics_config.rb +220 -0
- data/lib/hanzoai/models/o11y_gettable_account_with_connection_artifact.rb +230 -0
- data/lib/hanzoai/models/o11y_gettable_accounts.rb +222 -0
- data/lib/hanzoai/models/o11y_gettable_agent_check_in.rb +284 -0
- data/lib/hanzoai/models/o11y_gettable_created_ingestion_key.rb +229 -0
- data/lib/hanzoai/models/o11y_gettable_created_ingestion_key_limit.rb +220 -0
- data/lib/hanzoai/models/o11y_gettable_field_keys.rb +231 -0
- data/lib/hanzoai/models/o11y_gettable_field_values.rb +229 -0
- data/lib/hanzoai/models/o11y_gettable_flamegraph_trace.rb +249 -0
- data/lib/hanzoai/models/o11y_gettable_funnel.rb +312 -0
- data/lib/hanzoai/models/o11y_gettable_host.rb +249 -0
- data/lib/hanzoai/models/o11y_gettable_ingestion_keys.rb +231 -0
- data/lib/hanzoai/models/o11y_gettable_route_policy.rb +315 -0
- data/lib/hanzoai/models/o11y_gettable_rule_state_history.rb +305 -0
- data/lib/hanzoai/models/o11y_gettable_rule_state_history_contributor.rb +258 -0
- data/lib/hanzoai/models/o11y_gettable_rule_state_history_stats.rb +283 -0
- data/lib/hanzoai/models/o11y_gettable_rule_state_timeline.rb +240 -0
- data/lib/hanzoai/models/o11y_gettable_rule_state_window.rb +239 -0
- data/lib/hanzoai/models/o11y_gettable_services_metadata.rb +222 -0
- data/lib/hanzoai/models/o11y_gettable_span_mapper_groups.rb +222 -0
- data/lib/hanzoai/models/o11y_gettable_span_mappers.rb +222 -0
- data/lib/hanzoai/models/o11y_gettable_test_rule.rb +229 -0
- data/lib/hanzoai/models/o11y_gettable_trace_aggregations.rb +222 -0
- data/lib/hanzoai/models/o11y_gettable_waterfall_trace.rb +305 -0
- data/lib/hanzoai/models/o11y_google_chat_receiver_config.rb +257 -0
- data/lib/hanzoai/models/o11y_group_by_key.rb +285 -0
- data/lib/hanzoai/models/o11y_having.rb +238 -0
- data/lib/hanzoai/models/o11y_host.rb +238 -0
- data/lib/hanzoai/models/o11y_host_filter.rb +230 -0
- data/lib/hanzoai/models/o11y_host_list_record.rb +285 -0
- data/lib/hanzoai/models/o11y_host_list_request.rb +278 -0
- data/lib/hanzoai/models/o11y_host_list_response.rb +289 -0
- data/lib/hanzoai/models/o11y_host_record.rb +304 -0
- data/lib/hanzoai/models/o11y_hosts.rb +259 -0
- data/lib/hanzoai/models/o11y_http_client_config.rb +340 -0
- data/lib/hanzoai/models/o11y_incidentio_config.rb +287 -0
- data/lib/hanzoai/models/o11y_ingestion_key.rb +296 -0
- data/lib/hanzoai/models/o11y_install_integration_request.rb +231 -0
- data/lib/hanzoai/models/o11y_installed_integration.rb +259 -0
- data/lib/hanzoai/models/o11y_integration.rb +323 -0
- data/lib/hanzoai/models/o11y_integration_assets.rb +242 -0
- data/lib/hanzoai/models/o11y_integration_author.rb +238 -0
- data/lib/hanzoai/models/o11y_integration_config.rb +233 -0
- data/lib/hanzoai/models/o11y_integration_config_step.rb +229 -0
- data/lib/hanzoai/models/o11y_integration_connection_status.rb +229 -0
- data/lib/hanzoai/models/o11y_integration_connection_tests.rb +232 -0
- data/lib/hanzoai/models/o11y_integrations_collected_log_attribute.rb +238 -0
- data/lib/hanzoai/models/o11y_integrations_collected_metric.rb +247 -0
- data/lib/hanzoai/models/o11y_integrations_list_item.rb +265 -0
- data/lib/hanzoai/models/o11y_integrations_list_response.rb +222 -0
- data/lib/hanzoai/models/o11y_item_input.rb +271 -0
- data/lib/hanzoai/models/o11y_jira_config.rb +352 -0
- data/lib/hanzoai/models/o11y_jira_field_config.rb +231 -0
- data/lib/hanzoai/models/o11y_job_list_record.rb +330 -0
- data/lib/hanzoai/models/o11y_job_list_request.rb +278 -0
- data/lib/hanzoai/models/o11y_job_list_response.rb +240 -0
- data/lib/hanzoai/models/o11y_job_record.rb +330 -0
- data/lib/hanzoai/models/o11y_jobs.rb +259 -0
- data/lib/hanzoai/models/o11y_label.rb +229 -0
- data/lib/hanzoai/models/o11y_limit.rb +286 -0
- data/lib/hanzoai/models/o11y_limit_config.rb +229 -0
- data/lib/hanzoai/models/o11y_limit_metric.rb +229 -0
- data/lib/hanzoai/models/o11y_limit_metric_value.rb +229 -0
- data/lib/hanzoai/models/o11y_limit_value.rb +229 -0
- data/lib/hanzoai/models/o11y_list_meta.rb +251 -0
- data/lib/hanzoai/models/o11y_logs_assets.rb +222 -0
- data/lib/hanzoai/models/o11y_logs_connection_test.rb +229 -0
- data/lib/hanzoai/models/o11y_mattermost_attachment.rb +339 -0
- data/lib/hanzoai/models/o11y_mattermost_config.rb +331 -0
- data/lib/hanzoai/models/o11y_mattermost_field.rb +238 -0
- data/lib/hanzoai/models/o11y_mattermost_priority.rb +238 -0
- data/lib/hanzoai/models/o11y_mattermost_props.rb +220 -0
- data/lib/hanzoai/models/o11y_metrics_component_entry.rb +231 -0
- data/lib/hanzoai/models/o11y_metrics_response.rb +257 -0
- data/lib/hanzoai/models/o11y_metrics_response_range.rb +230 -0
- data/lib/hanzoai/models/o11y_metrics_response_series.rb +256 -0
- data/lib/hanzoai/models/o11y_metrics_response_summary.rb +248 -0
- data/lib/hanzoai/models/o11y_metrics_response_usage.rb +250 -0
- data/lib/hanzoai/models/o11y_missing_attributes_component_entry.rb +249 -0
- data/lib/hanzoai/models/o11y_missing_metrics_component_entry.rb +249 -0
- data/lib/hanzoai/models/o11y_ms_teams_config.rb +275 -0
- data/lib/hanzoai/models/o11y_ms_teams_v2_config.rb +266 -0
- data/lib/hanzoai/models/o11y_namespace_list_record.rb +258 -0
- data/lib/hanzoai/models/o11y_namespace_list_request.rb +278 -0
- data/lib/hanzoai/models/o11y_namespace_list_response.rb +240 -0
- data/lib/hanzoai/models/o11y_namespace_record.rb +258 -0
- data/lib/hanzoai/models/o11y_namespaces.rb +259 -0
- data/lib/hanzoai/models/o11y_node_count_by_condition.rb +238 -0
- data/lib/hanzoai/models/o11y_node_counts_by_readiness.rb +229 -0
- data/lib/hanzoai/models/o11y_node_list_record.rb +276 -0
- data/lib/hanzoai/models/o11y_node_list_request.rb +278 -0
- data/lib/hanzoai/models/o11y_node_list_response.rb +240 -0
- data/lib/hanzoai/models/o11y_node_record.rb +295 -0
- data/lib/hanzoai/models/o11y_nodes.rb +259 -0
- data/lib/hanzoai/models/o11y_notifier_config.rb +220 -0
- data/lib/hanzoai/models/o11y_o11y_account_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_accounts_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_ack.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_affected_asset.rb +263 -0
- data/lib/hanzoai/models/o11y_o11y_affected_widget.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_agent_check_in_in.rb +259 -0
- data/lib/hanzoai/models/o11y_o11y_agent_check_in_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_aggregate_attributes_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_aggregation.rb +301 -0
- data/lib/hanzoai/models/o11y_o11y_aggregation_meta.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_alerts_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_analyze_in.rb +265 -0
- data/lib/hanzoai/models/o11y_o11y_analyze_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_apdex_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_apdex_set_in.rb +241 -0
- data/lib/hanzoai/models/o11y_o11y_apdex_set_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_apdex_settings.rb +261 -0
- data/lib/hanzoai/models/o11y_o11y_api_key.rb +281 -0
- data/lib/hanzoai/models/o11y_o11y_api_key_create_in.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_api_key_create_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_api_key_secret.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_api_key_update_in.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_api_keys_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_attribute_key.rb +261 -0
- data/lib/hanzoai/models/o11y_o11y_attribute_keys_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_attribute_mapping.rb +251 -0
- data/lib/hanzoai/models/o11y_o11y_attribute_values_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_auth_domain.rb +281 -0
- data/lib/hanzoai/models/o11y_o11y_auth_domain_config.rb +271 -0
- data/lib/hanzoai/models/o11y_o11y_auth_domain_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_auth_domains_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_auth_n_provider_info.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_auth_n_support.rb +235 -0
- data/lib/hanzoai/models/o11y_o11y_bulk_invite_in.rb +223 -0
- data/lib/hanzoai/models/o11y_o11y_callback_auth_n.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_change_password_in.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_channel_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_channel_update_in.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_channels_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_check_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_cluster_list_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_column_info.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_connection_status_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_create_account_in.rb +229 -0
- data/lib/hanzoai/models/o11y_o11y_create_account_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_create_limit_in.rb +240 -0
- data/lib/hanzoai/models/o11y_o11y_created.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_created_ingestion_key_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_created_limit_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_created_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_credentials_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_daemon_set_list_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard.rb +343 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_display.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_list.rb +245 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_list_for_user.rb +245 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_list_for_user_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_list_item.rb +343 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_list_item_for_user.rb +340 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_list_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_list_spec.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_patch_in.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_patch_op.rb +251 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_postable.rb +273 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_postable_tag.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_tag.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_update_in.rb +269 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_var_values.rb +223 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_vars_in.rb +250 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_vars_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_view.rb +271 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_view_data.rb +251 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_view_list.rb +223 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_view_list_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_view_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_view_postable.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_dashboard_view_update_in.rb +239 -0
- data/lib/hanzoai/models/o11y_o11y_dependency.rb +311 -0
- data/lib/hanzoai/models/o11y_o11y_dependency_graph_in.rb +277 -0
- data/lib/hanzoai/models/o11y_o11y_deployment_list_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_deprecated_user.rb +301 -0
- data/lib/hanzoai/models/o11y_o11y_deprecated_user_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_deprecated_user_update.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_deprecated_users_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_discover_in.rb +314 -0
- data/lib/hanzoai/models/o11y_o11y_discover_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_disk.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_domain_filter.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_domain_group_by.rb +271 -0
- data/lib/hanzoai/models/o11y_o11y_domains_answer.rb +251 -0
- data/lib/hanzoai/models/o11y_o11y_domains_data.rb +223 -0
- data/lib/hanzoai/models/o11y_o11y_domains_in.rb +283 -0
- data/lib/hanzoai/models/o11y_o11y_domains_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_downtime_schedule_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_downtime_schedules_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_downtime_update_in.rb +259 -0
- data/lib/hanzoai/models/o11y_o11y_draft_funnel_in.rb +263 -0
- data/lib/hanzoai/models/o11y_o11y_email_password_session_in.rb +241 -0
- data/lib/hanzoai/models/o11y_o11y_error_detail.rb +285 -0
- data/lib/hanzoai/models/o11y_o11y_error_gettable_issue.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_error_gettable_issue_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_error_issue.rb +401 -0
- data/lib/hanzoai/models/o11y_o11y_error_issue_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_error_issues.rb +253 -0
- data/lib/hanzoai/models/o11y_o11y_error_issues_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_error_item.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_error_update_issue_in.rb +258 -0
- data/lib/hanzoai/models/o11y_o11y_error_with_span.rb +311 -0
- data/lib/hanzoai/models/o11y_o11y_errors_count_in.rb +263 -0
- data/lib/hanzoai/models/o11y_o11y_errors_list_in.rb +303 -0
- data/lib/hanzoai/models/o11y_o11y_event.rb +465 -0
- data/lib/hanzoai/models/o11y_o11y_event_in.rb +270 -0
- data/lib/hanzoai/models/o11y_o11y_event_user.rb +251 -0
- data/lib/hanzoai/models/o11y_o11y_events.rb +223 -0
- data/lib/hanzoai/models/o11y_o11y_feature.rb +283 -0
- data/lib/hanzoai/models/o11y_o11y_features_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_field_catalog_out.rb +235 -0
- data/lib/hanzoai/models/o11y_o11y_field_keys_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_field_setting.rb +322 -0
- data/lib/hanzoai/models/o11y_o11y_field_values_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_filter.rb +241 -0
- data/lib/hanzoai/models/o11y_o11y_filter_item.rb +241 -0
- data/lib/hanzoai/models/o11y_o11y_filter_key.rb +261 -0
- data/lib/hanzoai/models/o11y_o11y_filter_set.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_filter_suggestions.rb +235 -0
- data/lib/hanzoai/models/o11y_o11y_filter_suggestions_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_forgot_password_in.rb +241 -0
- data/lib/hanzoai/models/o11y_o11y_frame.rb +261 -0
- data/lib/hanzoai/models/o11y_o11y_funnel_create_in.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_funnel_delete_out.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_funnel_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_funnel_row.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_funnel_rows_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_funnel_step_window_in.rb +247 -0
- data/lib/hanzoai/models/o11y_o11y_funnel_steps_update_in.rb +263 -0
- data/lib/hanzoai/models/o11y_o11y_funnel_update_in.rb +241 -0
- data/lib/hanzoai/models/o11y_o11y_funnel_window_in.rb +229 -0
- data/lib/hanzoai/models/o11y_o11y_funnels_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_gettable_host_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_global_config.rb +261 -0
- data/lib/hanzoai/models/o11y_o11y_global_config_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_google_config.rb +305 -0
- data/lib/hanzoai/models/o11y_o11y_health_out.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_host_list_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_ident_n.rb +241 -0
- data/lib/hanzoai/models/o11y_o11y_identifiable.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_identifiable_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_infra_attribute_keys_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_infra_attribute_values_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_infra_checks_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_infra_clusters_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_infra_daemon_sets_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_infra_deployments_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_infra_hosts_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_infra_jobs_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_infra_namespaces_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_infra_nodes_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_infra_pods_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_infra_stateful_sets_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_infra_volumes_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_ingestion_keys_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_install_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_integration_ack.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_integration_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_integrations_list_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_invite.rb +301 -0
- data/lib/hanzoai/models/o11y_o11y_invite_in.rb +251 -0
- data/lib/hanzoai/models/o11y_o11y_invite_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_job_list_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_k8s_onboarding.rb +263 -0
- data/lib/hanzoai/models/o11y_o11y_license_active_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_licenses_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_list_error.rb +281 -0
- data/lib/hanzoai/models/o11y_o11y_llm_annotation.rb +301 -0
- data/lib/hanzoai/models/o11y_o11y_llm_annotation_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_llm_annotations_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_llm_annotations_page.rb +253 -0
- data/lib/hanzoai/models/o11y_o11y_llm_ingest_annotation.rb +261 -0
- data/lib/hanzoai/models/o11y_o11y_llm_ingest_score.rb +291 -0
- data/lib/hanzoai/models/o11y_o11y_llm_observation.rb +381 -0
- data/lib/hanzoai/models/o11y_o11y_llm_observations_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_llm_observations_page.rb +243 -0
- data/lib/hanzoai/models/o11y_o11y_llm_pricing_cache_costs.rb +241 -0
- data/lib/hanzoai/models/o11y_o11y_llm_pricing_rule.rb +363 -0
- data/lib/hanzoai/models/o11y_o11y_llm_pricing_rule_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_llm_pricing_rules_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_llm_pricing_rules_page.rb +253 -0
- data/lib/hanzoai/models/o11y_o11y_llm_rule_pricing.rb +241 -0
- data/lib/hanzoai/models/o11y_o11y_llm_score.rb +341 -0
- data/lib/hanzoai/models/o11y_o11y_llm_score_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_llm_scores_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_llm_scores_page.rb +253 -0
- data/lib/hanzoai/models/o11y_o11y_llm_session.rb +291 -0
- data/lib/hanzoai/models/o11y_o11y_llm_sessions_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_llm_sessions_page.rb +243 -0
- data/lib/hanzoai/models/o11y_o11y_llm_trace.rb +311 -0
- data/lib/hanzoai/models/o11y_o11y_llm_traces_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_llm_traces_page.rb +243 -0
- data/lib/hanzoai/models/o11y_o11y_llm_updatable_pricing_rule.rb +303 -0
- data/lib/hanzoai/models/o11y_o11y_llm_updatable_pricing_rules.rb +223 -0
- data/lib/hanzoai/models/o11y_o11y_llm_user.rb +291 -0
- data/lib/hanzoai/models/o11y_o11y_llm_users_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_llm_users_page.rb +243 -0
- data/lib/hanzoai/models/o11y_o11y_log_aggregate_bucket.rb +243 -0
- data/lib/hanzoai/models/o11y_o11y_log_aggregate_out.rb +223 -0
- data/lib/hanzoai/models/o11y_o11y_log_config_version.rb +351 -0
- data/lib/hanzoai/models/o11y_o11y_log_filter.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_log_filter_item.rb +241 -0
- data/lib/hanzoai/models/o11y_o11y_log_filter_key.rb +261 -0
- data/lib/hanzoai/models/o11y_o11y_log_parse_from.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_log_pipeline.rb +333 -0
- data/lib/hanzoai/models/o11y_o11y_log_pipeline_create_in.rb +223 -0
- data/lib/hanzoai/models/o11y_o11y_log_pipeline_operator.rb +517 -0
- data/lib/hanzoai/models/o11y_o11y_log_pipeline_preview.rb +235 -0
- data/lib/hanzoai/models/o11y_o11y_log_pipeline_preview_in.rb +235 -0
- data/lib/hanzoai/models/o11y_o11y_log_pipeline_preview_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_log_pipeline_route.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_log_pipelines.rb +375 -0
- data/lib/hanzoai/models/o11y_o11y_log_pipelines_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_log_postable_pipeline.rb +293 -0
- data/lib/hanzoai/models/o11y_o11y_log_promote_index.rb +241 -0
- data/lib/hanzoai/models/o11y_o11y_log_promote_out.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_log_promote_path.rb +243 -0
- data/lib/hanzoai/models/o11y_o11y_log_promoted_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_log_record.rb +351 -0
- data/lib/hanzoai/models/o11y_o11y_log_records_out.rb +223 -0
- data/lib/hanzoai/models/o11y_o11y_logs_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_message.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_metric_ack_out.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_metric_alert.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_metric_alerts.rb +223 -0
- data/lib/hanzoai/models/o11y_o11y_metric_alerts_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_metric_attribute.rb +243 -0
- data/lib/hanzoai/models/o11y_o11y_metric_attributes.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_metric_attributes_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_metric_dashboards.rb +223 -0
- data/lib/hanzoai/models/o11y_o11y_metric_dashboards_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_metric_field.rb +271 -0
- data/lib/hanzoai/models/o11y_o11y_metric_filter.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_metric_highlights.rb +251 -0
- data/lib/hanzoai/models/o11y_o11y_metric_highlights_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_metric_inspect_in.rb +302 -0
- data/lib/hanzoai/models/o11y_o11y_metric_inspect_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_metric_label.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_metric_list.rb +223 -0
- data/lib/hanzoai/models/o11y_o11y_metric_list_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_metric_metadata.rb +261 -0
- data/lib/hanzoai/models/o11y_o11y_metric_metadata_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_metric_metadata_save_in.rb +288 -0
- data/lib/hanzoai/models/o11y_o11y_metric_onboarding.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_metric_onboarding_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_metric_order.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_metric_panel.rb +275 -0
- data/lib/hanzoai/models/o11y_o11y_metric_point.rb +253 -0
- data/lib/hanzoai/models/o11y_o11y_metric_series.rb +235 -0
- data/lib/hanzoai/models/o11y_o11y_metric_series_set.rb +223 -0
- data/lib/hanzoai/models/o11y_o11y_metric_stat.rb +271 -0
- data/lib/hanzoai/models/o11y_o11y_metric_stats.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_metric_stats_in.rb +322 -0
- data/lib/hanzoai/models/o11y_o11y_metric_stats_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_metric_summary.rb +271 -0
- data/lib/hanzoai/models/o11y_o11y_metric_treemap.rb +235 -0
- data/lib/hanzoai/models/o11y_o11y_metric_treemap_in.rb +329 -0
- data/lib/hanzoai/models/o11y_o11y_metric_treemap_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_metrics_query_range_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_my_service_account_update_in.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_namespace_list_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_next_prev_error_ids.rb +261 -0
- data/lib/hanzoai/models/o11y_o11y_node_list_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_object.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_object_group.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_occurrence.rb +395 -0
- data/lib/hanzoai/models/o11y_o11y_occurrence_frame.rb +281 -0
- data/lib/hanzoai/models/o11y_o11y_oidc_config.rb +281 -0
- data/lib/hanzoai/models/o11y_o11y_onboarding_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_operation.rb +271 -0
- data/lib/hanzoai/models/o11y_o11y_operations_in.rb +263 -0
- data/lib/hanzoai/models/o11y_o11y_operations_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_org_stats_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_organization.rb +281 -0
- data/lib/hanzoai/models/o11y_o11y_organization_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_overall_state_transitions_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_password_auth_n.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_percentile_position.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_percentiles.rb +241 -0
- data/lib/hanzoai/models/o11y_o11y_pod_list_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_pod_onboarding.rb +331 -0
- data/lib/hanzoai/models/o11y_o11y_postable_auth_domain.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_postable_user.rb +253 -0
- data/lib/hanzoai/models/o11y_o11y_preference.rb +285 -0
- data/lib/hanzoai/models/o11y_o11y_preference_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_preferences_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_process_list_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_prom_query_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_prom_result.rb +241 -0
- data/lib/hanzoai/models/o11y_o11y_public_dashboard.rb +241 -0
- data/lib/hanzoai/models/o11y_o11y_public_dashboard_data.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_public_dashboard_data_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_public_dashboard_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_public_dashboard_v1.rb +301 -0
- data/lib/hanzoai/models/o11y_o11y_public_dashboard_write_in.rb +239 -0
- data/lib/hanzoai/models/o11y_o11y_pvc_list_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_query_filter_analysis.rb +235 -0
- data/lib/hanzoai/models/o11y_o11y_query_range.rb +251 -0
- data/lib/hanzoai/models/o11y_o11y_query_range_data.rb +223 -0
- data/lib/hanzoai/models/o11y_o11y_query_range_format_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_query_range_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_query_range_preview_in.rb +296 -0
- data/lib/hanzoai/models/o11y_o11y_query_range_preview_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_query_stats.rb +253 -0
- data/lib/hanzoai/models/o11y_o11y_query_warning.rb +243 -0
- data/lib/hanzoai/models/o11y_o11y_query_warning_note.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_queue_check.rb +241 -0
- data/lib/hanzoai/models/o11y_o11y_queue_checks_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_queue_filter_key.rb +261 -0
- data/lib/hanzoai/models/o11y_o11y_queue_filter_rule.rb +241 -0
- data/lib/hanzoai/models/o11y_o11y_queue_filter_set.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_queue_in.rb +253 -0
- data/lib/hanzoai/models/o11y_o11y_queue_list_in.rb +251 -0
- data/lib/hanzoai/models/o11y_o11y_queue_row.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_queue_rows_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_quick_filters_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_reduction_rule.rb +353 -0
- data/lib/hanzoai/models/o11y_o11y_reduction_rule_create_in.rb +294 -0
- data/lib/hanzoai/models/o11y_o11y_reduction_rule_list_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_reduction_rule_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_reduction_rule_preview.rb +285 -0
- data/lib/hanzoai/models/o11y_o11y_reduction_rule_preview_in.rb +304 -0
- data/lib/hanzoai/models/o11y_o11y_reduction_rule_preview_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_reduction_rule_save_in.rb +294 -0
- data/lib/hanzoai/models/o11y_o11y_reduction_rules.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_reduction_series_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_reduction_series_result.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_reduction_stats.rb +261 -0
- data/lib/hanzoai/models/o11y_o11y_reduction_stats_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_register_in.rb +278 -0
- data/lib/hanzoai/models/o11y_o11y_register_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_reset_password_in.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_reset_token.rb +251 -0
- data/lib/hanzoai/models/o11y_o11y_reset_token_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_reset_token_ref.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_resource_ref.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_retention_match.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_retention_out.rb +293 -0
- data/lib/hanzoai/models/o11y_o11y_retention_rule.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_retention_set_in.rb +263 -0
- data/lib/hanzoai/models/o11y_o11y_retention_set_out.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_retry.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_role.rb +281 -0
- data/lib/hanzoai/models/o11y_o11y_role_create_in.rb +243 -0
- data/lib/hanzoai/models/o11y_o11y_role_create_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_role_detail.rb +293 -0
- data/lib/hanzoai/models/o11y_o11y_role_id.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_role_mapping.rb +243 -0
- data/lib/hanzoai/models/o11y_o11y_role_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_role_update_in.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_roles_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_rotate_session_in.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_route_policies_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_route_policy_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_route_policy_update_in.rb +270 -0
- data/lib/hanzoai/models/o11y_o11y_rule_history_contributors_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_rule_history_filter_keys_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_rule_history_filter_values_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_rule_history_overall_status_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_rule_history_query_in.rb +274 -0
- data/lib/hanzoai/models/o11y_o11y_rule_history_stats_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_rule_history_timeline_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_rule_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_rule_state_contributors_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_rule_state_timeline_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_rule_stats_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_rules_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_saml_config.rb +261 -0
- data/lib/hanzoai/models/o11y_o11y_saved_view_create_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_saved_view_delete_out.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_saved_view_list_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_saved_view_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_saved_view_update_in.rb +323 -0
- data/lib/hanzoai/models/o11y_o11y_sentry_event_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_sentry_issue_events_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_sentry_postable_project.rb +258 -0
- data/lib/hanzoai/models/o11y_o11y_sentry_project.rb +291 -0
- data/lib/hanzoai/models/o11y_o11y_sentry_project_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_sentry_projects.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_sentry_projects_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_sentry_update_issue_in.rb +258 -0
- data/lib/hanzoai/models/o11y_o11y_service.rb +311 -0
- data/lib/hanzoai/models/o11y_o11y_service_account.rb +281 -0
- data/lib/hanzoai/models/o11y_o11y_service_account_create_in.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_service_account_create_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_service_account_detail.rb +293 -0
- data/lib/hanzoai/models/o11y_o11y_service_account_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_service_account_role.rb +271 -0
- data/lib/hanzoai/models/o11y_o11y_service_account_role_grant_in.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_service_account_roles_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_service_account_update_in.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_service_accounts_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_service_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_service_tag.rb +277 -0
- data/lib/hanzoai/models/o11y_o11y_service_warning.rb +223 -0
- data/lib/hanzoai/models/o11y_o11y_services_in.rb +243 -0
- data/lib/hanzoai/models/o11y_o11y_services_metadata_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_services_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_session_context.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_session_context_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_session_org.rb +251 -0
- data/lib/hanzoai/models/o11y_o11y_set_role_in.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_signal_filters.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_signal_filters_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_span_mapper_create_in.rb +248 -0
- data/lib/hanzoai/models/o11y_o11y_span_mapper_group_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_span_mapper_group_update_in.rb +238 -0
- data/lib/hanzoai/models/o11y_o11y_span_mapper_groups_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_span_mapper_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_span_mapper_update_in.rb +239 -0
- data/lib/hanzoai/models/o11y_o11y_span_mappers_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_span_percentile.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_span_percentile_in.rb +307 -0
- data/lib/hanzoai/models/o11y_o11y_span_percentile_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_stat.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_stateful_set_list_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_stats.rb +223 -0
- data/lib/hanzoai/models/o11y_o11y_stats_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_substitute_vars_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_table.rb +235 -0
- data/lib/hanzoai/models/o11y_o11y_tag_filter.rb +277 -0
- data/lib/hanzoai/models/o11y_o11y_tag_query.rb +277 -0
- data/lib/hanzoai/models/o11y_o11y_telemetry_field.rb +241 -0
- data/lib/hanzoai/models/o11y_o11y_test_notification_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_test_notification_result.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_test_rule_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_toggle.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_token.rb +251 -0
- data/lib/hanzoai/models/o11y_o11y_token_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_top_level_ops_in.rb +241 -0
- data/lib/hanzoai/models/o11y_o11y_trace.rb +261 -0
- data/lib/hanzoai/models/o11y_o11y_trace_aggregations_in.rb +222 -0
- data/lib/hanzoai/models/o11y_o11y_trace_aggregations_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_trace_detail.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_trace_flamegraph_in.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_trace_flamegraph_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_trace_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_trace_span_window.rb +265 -0
- data/lib/hanzoai/models/o11y_o11y_trace_waterfall_in.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_trace_waterfall_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_traces.rb +223 -0
- data/lib/hanzoai/models/o11y_o11y_traces_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_transaction.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_transaction_group.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_transaction_result.rb +241 -0
- data/lib/hanzoai/models/o11y_o11y_treemap_entry.rb +241 -0
- data/lib/hanzoai/models/o11y_o11y_updatable_auth_domain.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_updatable_preference.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_updatable_quick_filters.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_updatable_user.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_update_account_in.rb +220 -0
- data/lib/hanzoai/models/o11y_o11y_update_ingestion_key_in.rb +240 -0
- data/lib/hanzoai/models/o11y_o11y_update_limit_in.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_update_service_in.rb +220 -0
- data/lib/hanzoai/models/o11y_o11y_usage_item.rb +241 -0
- data/lib/hanzoai/models/o11y_o11y_user.rb +291 -0
- data/lib/hanzoai/models/o11y_o11y_user_role.rb +271 -0
- data/lib/hanzoai/models/o11y_o11y_user_update.rb +221 -0
- data/lib/hanzoai/models/o11y_o11y_user_with_roles.rb +303 -0
- data/lib/hanzoai/models/o11y_o11y_user_with_roles_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o11y_users_out.rb +233 -0
- data/lib/hanzoai/models/o11y_o11y_version_out.rb +241 -0
- data/lib/hanzoai/models/o11y_o11y_widget_query_range.rb +251 -0
- data/lib/hanzoai/models/o11y_o11y_widget_query_range_out.rb +231 -0
- data/lib/hanzoai/models/o11y_o_auth2.rb +418 -0
- data/lib/hanzoai/models/o11y_old_aws_collection_strategy.rb +249 -0
- data/lib/hanzoai/models/o11y_old_aws_logs_strategy.rb +222 -0
- data/lib/hanzoai/models/o11y_old_aws_logs_strategy_cloudwatch_logs_subscriptions_inner.rb +229 -0
- data/lib/hanzoai/models/o11y_old_aws_metrics_strategy.rb +222 -0
- data/lib/hanzoai/models/o11y_old_aws_metrics_strategy_cloudwatch_metric_stream_filters_inner.rb +231 -0
- data/lib/hanzoai/models/o11y_ops_genie_config.rb +361 -0
- data/lib/hanzoai/models/o11y_ops_genie_config_responder.rb +249 -0
- data/lib/hanzoai/models/o11y_order_by.rb +229 -0
- data/lib/hanzoai/models/o11y_order_by_key.rb +285 -0
- data/lib/hanzoai/models/o11y_otel_span_ref.rb +238 -0
- data/lib/hanzoai/models/o11y_pagerduty_config.rb +392 -0
- data/lib/hanzoai/models/o11y_pagerduty_image.rb +238 -0
- data/lib/hanzoai/models/o11y_pagerduty_link.rb +229 -0
- data/lib/hanzoai/models/o11y_pagination.rb +247 -0
- data/lib/hanzoai/models/o11y_pod_count_by_phase.rb +256 -0
- data/lib/hanzoai/models/o11y_pod_counts_by_phase.rb +256 -0
- data/lib/hanzoai/models/o11y_pod_list_record.rb +303 -0
- data/lib/hanzoai/models/o11y_pod_list_request.rb +278 -0
- data/lib/hanzoai/models/o11y_pod_list_response.rb +240 -0
- data/lib/hanzoai/models/o11y_pod_record.rb +313 -0
- data/lib/hanzoai/models/o11y_pods.rb +259 -0
- data/lib/hanzoai/models/o11y_point.rb +231 -0
- data/lib/hanzoai/models/o11y_postable_account_config.rb +248 -0
- data/lib/hanzoai/models/o11y_postable_channel.rb +231 -0
- data/lib/hanzoai/models/o11y_postable_clusters.rb +276 -0
- data/lib/hanzoai/models/o11y_postable_daemon_sets.rb +276 -0
- data/lib/hanzoai/models/o11y_postable_deployments.rb +276 -0
- data/lib/hanzoai/models/o11y_postable_host.rb +220 -0
- data/lib/hanzoai/models/o11y_postable_hosts.rb +276 -0
- data/lib/hanzoai/models/o11y_postable_ingestion_key.rb +240 -0
- data/lib/hanzoai/models/o11y_postable_jobs.rb +276 -0
- data/lib/hanzoai/models/o11y_postable_namespaces.rb +276 -0
- data/lib/hanzoai/models/o11y_postable_nodes.rb +276 -0
- data/lib/hanzoai/models/o11y_postable_pipeline.rb +285 -0
- data/lib/hanzoai/models/o11y_postable_planned_maintenance.rb +259 -0
- data/lib/hanzoai/models/o11y_postable_pods.rb +276 -0
- data/lib/hanzoai/models/o11y_postable_profile.rb +294 -0
- data/lib/hanzoai/models/o11y_postable_route_policy.rb +270 -0
- data/lib/hanzoai/models/o11y_postable_span_mapper_group.rb +238 -0
- data/lib/hanzoai/models/o11y_postable_stateful_sets.rb +276 -0
- data/lib/hanzoai/models/o11y_postable_volumes.rb +276 -0
- data/lib/hanzoai/models/o11y_process_list_record.rb +276 -0
- data/lib/hanzoai/models/o11y_process_list_request.rb +278 -0
- data/lib/hanzoai/models/o11y_process_list_response.rb +240 -0
- data/lib/hanzoai/models/o11y_prom_query.rb +247 -0
- data/lib/hanzoai/models/o11y_provider_integration_config.rb +238 -0
- data/lib/hanzoai/models/o11y_pushover_config.rb +375 -0
- data/lib/hanzoai/models/o11y_query_envelope.rb +231 -0
- data/lib/hanzoai/models/o11y_query_range_params_v3.rb +277 -0
- data/lib/hanzoai/models/o11y_query_range_request.rb +292 -0
- data/lib/hanzoai/models/o11y_query_warn_data.rb +240 -0
- data/lib/hanzoai/models/o11y_query_warn_data_additional.rb +220 -0
- data/lib/hanzoai/models/o11y_querybuildertypesv5_composite_query.rb +223 -0
- data/lib/hanzoai/models/o11y_querybuildertypesv5_order_by.rb +231 -0
- data/lib/hanzoai/models/o11y_receiver.rb +419 -0
- data/lib/hanzoai/models/o11y_rele_state_item.rb +239 -0
- data/lib/hanzoai/models/o11y_rocketchat_attachment_action.rb +292 -0
- data/lib/hanzoai/models/o11y_rocketchat_attachment_field.rb +238 -0
- data/lib/hanzoai/models/o11y_rocketchat_config.rb +399 -0
- data/lib/hanzoai/models/o11y_rule_state_history.rb +322 -0
- data/lib/hanzoai/models/o11y_rule_state_history_contributor.rb +257 -0
- data/lib/hanzoai/models/o11y_rule_state_timeline.rb +242 -0
- data/lib/hanzoai/models/o11y_saved_view.rb +314 -0
- data/lib/hanzoai/models/o11y_series.rb +244 -0
- data/lib/hanzoai/models/o11y_service.rb +284 -0
- data/lib/hanzoai/models/o11y_service_assets.rb +222 -0
- data/lib/hanzoai/models/o11y_service_config.rb +238 -0
- data/lib/hanzoai/models/o11y_service_dashboard.rb +238 -0
- data/lib/hanzoai/models/o11y_service_metadata.rb +248 -0
- data/lib/hanzoai/models/o11y_service_up.rb +231 -0
- data/lib/hanzoai/models/o11y_sig_v4_config.rb +284 -0
- data/lib/hanzoai/models/o11y_signal_connection_status.rb +231 -0
- data/lib/hanzoai/models/o11y_slack_action.rb +274 -0
- data/lib/hanzoai/models/o11y_slack_config.rb +474 -0
- data/lib/hanzoai/models/o11y_slack_confirmation_field.rb +247 -0
- data/lib/hanzoai/models/o11y_slack_field.rb +238 -0
- data/lib/hanzoai/models/o11y_sns_config.rb +303 -0
- data/lib/hanzoai/models/o11y_span_aggregation.rb +230 -0
- data/lib/hanzoai/models/o11y_span_aggregation_result.rb +241 -0
- data/lib/hanzoai/models/o11y_span_mapper.rb +304 -0
- data/lib/hanzoai/models/o11y_span_mapper_config.rb +222 -0
- data/lib/hanzoai/models/o11y_span_mapper_group.rb +294 -0
- data/lib/hanzoai/models/o11y_span_mapper_group_condition.rb +233 -0
- data/lib/hanzoai/models/o11y_span_mapper_source.rb +249 -0
- data/lib/hanzoai/models/o11y_stateful_set_list_record.rb +312 -0
- data/lib/hanzoai/models/o11y_stateful_set_list_request.rb +278 -0
- data/lib/hanzoai/models/o11y_stateful_set_list_response.rb +240 -0
- data/lib/hanzoai/models/o11y_stateful_set_record.rb +312 -0
- data/lib/hanzoai/models/o11y_stateful_sets.rb +259 -0
- data/lib/hanzoai/models/o11y_stats.rb +283 -0
- data/lib/hanzoai/models/o11y_status_component.rb +241 -0
- data/lib/hanzoai/models/o11y_status_incident.rb +293 -0
- data/lib/hanzoai/models/o11y_status_maintenance.rb +303 -0
- data/lib/hanzoai/models/o11y_status_result.rb +273 -0
- data/lib/hanzoai/models/o11y_status_summary.rb +277 -0
- data/lib/hanzoai/models/o11y_storable_funnel.rb +314 -0
- data/lib/hanzoai/models/o11y_storable_integration_dashboard.rb +266 -0
- data/lib/hanzoai/models/o11y_supported_signals.rb +229 -0
- data/lib/hanzoai/models/o11y_telegram_config.rb +312 -0
- data/lib/hanzoai/models/o11y_telemetry_field_key.rb +285 -0
- data/lib/hanzoai/models/o11y_telemetry_field_values.rb +255 -0
- data/lib/hanzoai/models/o11y_threading_config.rb +229 -0
- data/lib/hanzoai/models/o11y_time_series.rb +233 -0
- data/lib/hanzoai/models/o11y_tls_config.rb +341 -0
- data/lib/hanzoai/models/o11y_trace_row.rb +261 -0
- data/lib/hanzoai/models/o11y_traces_out.rb +253 -0
- data/lib/hanzoai/models/o11y_uninstall_integration_request.rb +220 -0
- data/lib/hanzoai/models/o11y_updatable_account_config.rb +238 -0
- data/lib/hanzoai/models/o11y_updatable_azure_account_config.rb +222 -0
- data/lib/hanzoai/models/o11y_updatable_gcp_account_config.rb +243 -0
- data/lib/hanzoai/models/o11y_update_item_in.rb +251 -0
- data/lib/hanzoai/models/o11y_update_queue_in.rb +253 -0
- data/lib/hanzoai/models/o11y_usage_bucket.rb +251 -0
- data/lib/hanzoai/models/o11y_user.rb +287 -0
- data/lib/hanzoai/models/o11y_variable_item.rb +230 -0
- data/lib/hanzoai/models/o11y_victor_ops_config.rb +314 -0
- data/lib/hanzoai/models/o11y_volume_list_record.rb +285 -0
- data/lib/hanzoai/models/o11y_volume_list_request.rb +278 -0
- data/lib/hanzoai/models/o11y_volume_list_response.rb +240 -0
- data/lib/hanzoai/models/o11y_volume_record.rb +285 -0
- data/lib/hanzoai/models/o11y_volumes.rb +259 -0
- data/lib/hanzoai/models/o11y_waterfall_span.rb +481 -0
- data/lib/hanzoai/models/o11y_webex_config.rb +257 -0
- data/lib/hanzoai/models/o11y_webhook_config.rb +268 -0
- data/lib/hanzoai/models/o11y_wechat_config.rb +321 -0
- data/lib/hanzoai/models/oauth_bundle_in.rb +241 -0
- data/lib/hanzoai/models/object_item.rb +261 -0
- data/lib/hanzoai/models/object_list.rb +253 -0
- data/lib/hanzoai/models/obligation.rb +301 -0
- data/lib/hanzoai/models/offer.rb +281 -0
- data/lib/hanzoai/models/onboard_req.rb +231 -0
- data/lib/hanzoai/models/onboard_resp.rb +261 -0
- data/lib/hanzoai/models/op.rb +247 -0
- data/lib/hanzoai/models/open_req.rb +261 -0
- data/lib/hanzoai/models/opp_list.rb +223 -0
- data/lib/hanzoai/models/opp_req.rb +291 -0
- data/lib/hanzoai/models/opportunity.rb +311 -0
- data/lib/hanzoai/models/optin_view.rb +231 -0
- data/lib/hanzoai/models/oracle_view.rb +281 -0
- data/lib/hanzoai/models/oracles_out.rb +223 -0
- data/lib/hanzoai/models/order.rb +258 -0
- data/lib/hanzoai/models/org_earning_view.rb +231 -0
- data/lib/hanzoai/models/org_optin_req.rb +231 -0
- data/lib/hanzoai/models/org_optin_view.rb +241 -0
- data/lib/hanzoai/models/org_view.rb +271 -0
- data/lib/hanzoai/models/outcome.rb +301 -0
- data/lib/hanzoai/models/overview.rb +291 -0
- data/lib/hanzoai/models/overview_view.rb +273 -0
- data/lib/hanzoai/models/page.rb +251 -0
- data/lib/hanzoai/models/pages_build_config.rb +241 -0
- data/lib/hanzoai/models/pages_d1_binding.rb +221 -0
- data/lib/hanzoai/models/pages_deploy.rb +220 -0
- data/lib/hanzoai/models/pages_deployment_config.rb +281 -0
- data/lib/hanzoai/models/pages_deployment_configs.rb +231 -0
- data/lib/hanzoai/models/pages_env_var.rb +231 -0
- data/lib/hanzoai/models/pages_kv_binding.rb +221 -0
- data/lib/hanzoai/models/pages_project_create.rb +251 -0
- data/lib/hanzoai/models/pages_r2_binding.rb +221 -0
- data/lib/hanzoai/models/pairing.rb +311 -0
- data/lib/hanzoai/models/pairing_approved.rb +231 -0
- data/lib/hanzoai/models/pairing_queue.rb +223 -0
- data/lib/hanzoai/models/pairing_view.rb +261 -0
- data/lib/hanzoai/models/patch_application_in.rb +251 -0
- data/lib/hanzoai/models/patch_flow_in.rb +261 -0
- data/lib/hanzoai/models/patch_in.rb +231 -0
- data/lib/hanzoai/models/patch_session_in.rb +291 -0
- data/lib/hanzoai/models/patch_sync_in.rb +281 -0
- data/lib/hanzoai/models/patch_target_in.rb +291 -0
- data/lib/hanzoai/models/path_in.rb +231 -0
- data/lib/hanzoai/models/payment_config.rb +256 -0
- data/lib/hanzoai/models/payment_in.rb +251 -0
- data/lib/hanzoai/models/payment_out.rb +261 -0
- data/lib/hanzoai/models/payment_record.rb +291 -0
- data/lib/hanzoai/models/payout.rb +329 -0
- data/lib/hanzoai/models/period_earning_view.rb +241 -0
- data/lib/hanzoai/models/pick_out.rb +233 -0
- data/lib/hanzoai/models/pipeline_board.rb +223 -0
- data/lib/hanzoai/models/pipeline_req.rb +233 -0
- data/lib/hanzoai/models/pipeline_row.rb +271 -0
- data/lib/hanzoai/models/pipeline_view.rb +283 -0
- data/lib/hanzoai/models/plan_entitlements.rb +243 -0
- data/lib/hanzoai/models/plan_health.rb +231 -0
- data/lib/hanzoai/models/plan_info.rb +271 -0
- data/lib/hanzoai/models/plan_list.rb +223 -0
- data/lib/hanzoai/models/plan_region_list.rb +223 -0
- data/lib/hanzoai/models/plan_resolution.rb +263 -0
- data/lib/hanzoai/models/plan_schemas.rb +231 -0
- data/lib/hanzoai/models/plan_tier_list.rb +223 -0
- data/lib/hanzoai/models/plan_tool_list.rb +223 -0
- data/lib/hanzoai/models/plan_vocab.rb +247 -0
- data/lib/hanzoai/models/plugin_deleted.rb +221 -0
- data/lib/hanzoai/models/plugin_mount.rb +243 -0
- data/lib/hanzoai/models/plugin_mount_list.rb +223 -0
- data/lib/hanzoai/models/pn_l.rb +285 -0
- data/lib/hanzoai/models/pn_l_line.rb +251 -0
- data/lib/hanzoai/models/point_view.rb +231 -0
- data/lib/hanzoai/models/policy.rb +317 -0
- data/lib/hanzoai/models/policy_list.rb +223 -0
- data/lib/hanzoai/models/pool_create.rb +291 -0
- data/lib/hanzoai/models/pool_scale.rb +251 -0
- data/lib/hanzoai/models/populated_flow.rb +310 -0
- data/lib/hanzoai/models/position.rb +231 -0
- data/lib/hanzoai/models/post_event_request.rb +107 -0
- data/lib/hanzoai/models/post_list.rb +223 -0
- data/lib/hanzoai/models/prefs_view.rb +231 -0
- data/lib/hanzoai/models/preset.rb +275 -0
- data/lib/hanzoai/models/preset_accepted.rb +251 -0
- data/lib/hanzoai/models/preset_list.rb +223 -0
- data/lib/hanzoai/models/presign_response.rb +251 -0
- data/lib/hanzoai/models/preview_req.rb +251 -0
- data/lib/hanzoai/models/preview_view.rb +251 -0
- data/lib/hanzoai/models/price.rb +241 -0
- data/lib/hanzoai/models/pricing_health.rb +231 -0
- data/lib/hanzoai/models/pricing_model_list.rb +243 -0
- data/lib/hanzoai/models/pricing_plan_list.rb +223 -0
- data/lib/hanzoai/models/pricing_preset_list.rb +223 -0
- data/lib/hanzoai/models/pricing_provider_list.rb +233 -0
- data/lib/hanzoai/models/pricing_region_list.rb +223 -0
- data/lib/hanzoai/models/pricing_sync_out.rb +231 -0
- data/lib/hanzoai/models/pricing_tier_list.rb +223 -0
- data/lib/hanzoai/models/pricing_tool_list.rb +223 -0
- data/lib/hanzoai/models/principle.rb +291 -0
- data/lib/hanzoai/models/product_event.rb +311 -0
- data/lib/hanzoai/models/product_row.rb +251 -0
- data/lib/hanzoai/models/profile_metrics.rb +251 -0
- data/lib/hanzoai/models/profile_response.rb +243 -0
- data/lib/hanzoai/models/program_application.rb +375 -0
- data/lib/hanzoai/models/progress_view.rb +251 -0
- data/lib/hanzoai/models/project_view.rb +271 -0
- data/lib/hanzoai/models/projection_view.rb +233 -0
- data/lib/hanzoai/models/projects_bound_domains.rb +255 -0
- data/lib/hanzoai/models/projects_build_site.rb +251 -0
- data/lib/hanzoai/models/projects_complete.rb +303 -0
- data/lib/hanzoai/models/projects_create.rb +300 -0
- data/lib/hanzoai/models/projects_create_repo.rb +230 -0
- data/lib/hanzoai/models/projects_deploy_site.rb +243 -0
- data/lib/hanzoai/models/projects_deploy_start.rb +231 -0
- data/lib/hanzoai/models/projects_deployment.rb +361 -0
- data/lib/hanzoai/models/projects_domain.rb +283 -0
- data/lib/hanzoai/models/projects_domains.rb +255 -0
- data/lib/hanzoai/models/projects_domains_bind.rb +233 -0
- data/lib/hanzoai/models/projects_file.rb +231 -0
- data/lib/hanzoai/models/projects_fork.rb +251 -0
- data/lib/hanzoai/models/projects_project.rb +473 -0
- data/lib/hanzoai/models/projects_publish.rb +231 -0
- data/lib/hanzoai/models/projects_release.rb +291 -0
- data/lib/hanzoai/models/projects_repo.rb +241 -0
- data/lib/hanzoai/models/projects_site.rb +261 -0
- data/lib/hanzoai/models/projects_site_deploy.rb +273 -0
- data/lib/hanzoai/models/projects_star.rb +221 -0
- data/lib/hanzoai/models/projects_update.rb +332 -0
- data/lib/hanzoai/models/projects_update_repo.rb +230 -0
- data/lib/hanzoai/models/projects_upload_grant.rb +263 -0
- data/lib/hanzoai/models/promo.rb +291 -0
- data/lib/hanzoai/models/promo_list.rb +223 -0
- data/lib/hanzoai/models/promo_status.rb +241 -0
- data/lib/hanzoai/models/promote_req.rb +251 -0
- data/lib/hanzoai/models/prompt_detail.rb +307 -0
- data/lib/hanzoai/models/prompt_list.rb +223 -0
- data/lib/hanzoai/models/prompt_meta.rb +277 -0
- data/lib/hanzoai/models/prompt_req.rb +265 -0
- data/lib/hanzoai/models/prop_spec.rb +257 -0
- data/lib/hanzoai/models/provenance.rb +241 -0
- data/lib/hanzoai/models/provider_breakdown.rb +243 -0
- data/lib/hanzoai/models/provider_info.rb +231 -0
- data/lib/hanzoai/models/provider_row.rb +251 -0
- data/lib/hanzoai/models/provider_view.rb +281 -0
- data/lib/hanzoai/models/provision_request.rb +231 -0
- data/lib/hanzoai/models/provision_result.rb +311 -0
- data/lib/hanzoai/models/provisioned_resource.rb +291 -0
- data/lib/hanzoai/models/provisioned_summary.rb +281 -0
- data/lib/hanzoai/models/publish_input.rb +241 -0
- data/lib/hanzoai/models/publish_kit_in.rb +325 -0
- data/lib/hanzoai/models/publish_req.rb +291 -0
- data/lib/hanzoai/models/publish_result.rb +257 -0
- data/lib/hanzoai/models/published_claim.rb +271 -0
- data/lib/hanzoai/models/pull_list.rb +223 -0
- data/lib/hanzoai/models/pull_view.rb +321 -0
- data/lib/hanzoai/models/purge.rb +241 -0
- data/lib/hanzoai/models/purge_in.rb +243 -0
- data/lib/hanzoai/models/purge_out.rb +221 -0
- data/lib/hanzoai/models/push.rb +256 -0
- data/lib/hanzoai/models/push_file.rb +241 -0
- data/lib/hanzoai/models/push_pusher.rb +229 -0
- data/lib/hanzoai/models/push_repository.rb +229 -0
- data/lib/hanzoai/models/push_req.rb +253 -0
- data/lib/hanzoai/models/push_resp.rb +251 -0
- data/lib/hanzoai/models/put_claims_in.rb +233 -0
- data/lib/hanzoai/models/put_claims_out.rb +233 -0
- data/lib/hanzoai/models/query.rb +271 -0
- data/lib/hanzoai/models/question.rb +271 -0
- data/lib/hanzoai/models/questions_response.rb +223 -0
- data/lib/hanzoai/models/quote.rb +301 -0
- data/lib/hanzoai/models/quote_list.rb +223 -0
- data/lib/hanzoai/models/raise_in.rb +253 -0
- data/lib/hanzoai/models/ran.rb +241 -0
- data/lib/hanzoai/models/range.rb +231 -0
- data/lib/hanzoai/models/rate_card.rb +241 -0
- data/lib/hanzoai/models/reachability.rb +281 -0
- data/lib/hanzoai/models/read_out.rb +223 -0
- data/lib/hanzoai/models/readiness.rb +261 -0
- data/lib/hanzoai/models/reading_req.rb +421 -0
- data/lib/hanzoai/models/reading_view.rb +401 -0
- data/lib/hanzoai/models/readme_json.rb +241 -0
- data/lib/hanzoai/models/receipt.rb +331 -0
- data/lib/hanzoai/models/recharge.rb +243 -0
- data/lib/hanzoai/models/recharged.rb +274 -0
- data/lib/hanzoai/models/reconcile_report.rb +303 -0
- data/lib/hanzoai/models/reconcile_source.rb +241 -0
- data/lib/hanzoai/models/record.rb +241 -0
- data/lib/hanzoai/models/record_in.rb +238 -0
- data/lib/hanzoai/models/record_list.rb +245 -0
- data/lib/hanzoai/models/recording.rb +281 -0
- data/lib/hanzoai/models/redeem_input.rb +231 -0
- data/lib/hanzoai/models/redeem_result.rb +251 -0
- data/lib/hanzoai/models/redemption.rb +261 -0
- data/lib/hanzoai/models/ref_json.rb +231 -0
- data/lib/hanzoai/models/reference_answer.rb +343 -0
- data/lib/hanzoai/models/reference_out.rb +243 -0
- data/lib/hanzoai/models/reference_override.rb +261 -0
- data/lib/hanzoai/models/reference_override_in.rb +241 -0
- data/lib/hanzoai/models/reference_receipt.rb +261 -0
- data/lib/hanzoai/models/reference_set.rb +343 -0
- data/lib/hanzoai/models/reference_sets_out.rb +247 -0
- data/lib/hanzoai/models/reference_source.rb +291 -0
- data/lib/hanzoai/models/reference_taken.rb +281 -0
- data/lib/hanzoai/models/reference_version.rb +261 -0
- data/lib/hanzoai/models/refresh_out.rb +231 -0
- data/lib/hanzoai/models/refresh_reference_in.rb +243 -0
- data/lib/hanzoai/models/refresh_reference_out.rb +253 -0
- data/lib/hanzoai/models/refs_json.rb +245 -0
- data/lib/hanzoai/models/register_counts.rb +233 -0
- data/lib/hanzoai/models/register_key_req.rb +231 -0
- data/lib/hanzoai/models/register_page.rb +253 -0
- data/lib/hanzoai/models/register_req.rb +381 -0
- data/lib/hanzoai/models/register_result.rb +231 -0
- data/lib/hanzoai/models/registrant.rb +331 -0
- data/lib/hanzoai/models/registration.rb +271 -0
- data/lib/hanzoai/models/registration_view.rb +241 -0
- data/lib/hanzoai/models/registry_image.rb +231 -0
- data/lib/hanzoai/models/registry_image_list.rb +233 -0
- data/lib/hanzoai/models/registry_mint.rb +221 -0
- data/lib/hanzoai/models/registry_package.rb +251 -0
- data/lib/hanzoai/models/registry_package_list.rb +223 -0
- data/lib/hanzoai/models/registry_project.rb +241 -0
- data/lib/hanzoai/models/registry_project_list.rb +223 -0
- data/lib/hanzoai/models/registry_status.rb +271 -0
- data/lib/hanzoai/models/registry_tag_list.rb +243 -0
- data/lib/hanzoai/models/registry_token.rb +241 -0
- data/lib/hanzoai/models/release_board.rb +223 -0
- data/lib/hanzoai/models/release_row.rb +271 -0
- data/lib/hanzoai/models/remittance.rb +271 -0
- data/lib/hanzoai/models/renew_req.rb +248 -0
- data/lib/hanzoai/models/renew_result.rb +231 -0
- data/lib/hanzoai/models/replace_kit_in.rb +325 -0
- data/lib/hanzoai/models/replay_body.rb +249 -0
- data/lib/hanzoai/models/repo_list.rb +223 -0
- data/lib/hanzoai/models/repo_tree.rb +233 -0
- data/lib/hanzoai/models/repo_view.rb +353 -0
- data/lib/hanzoai/models/report.rb +265 -0
- data/lib/hanzoai/models/report_out.rb +221 -0
- data/lib/hanzoai/models/report_req.rb +433 -0
- data/lib/hanzoai/models/report_resp.rb +231 -0
- data/lib/hanzoai/models/report_run_in.rb +291 -0
- data/lib/hanzoai/models/request.rb +283 -0
- data/lib/hanzoai/models/resolve_reference_in.rb +235 -0
- data/lib/hanzoai/models/resolve_reference_out.rb +259 -0
- data/lib/hanzoai/models/resource_usage.rb +251 -0
- data/lib/hanzoai/models/responsible.rb +251 -0
- data/lib/hanzoai/models/restart_ref.rb +231 -0
- data/lib/hanzoai/models/restarted.rb +261 -0
- data/lib/hanzoai/models/review_queue.rb +233 -0
- data/lib/hanzoai/models/review_request.rb +273 -0
- data/lib/hanzoai/models/revoke_resp.rb +243 -0
- data/lib/hanzoai/models/revoked_key.rb +231 -0
- data/lib/hanzoai/models/risk_adopt_in.rb +221 -0
- data/lib/hanzoai/models/risk_aggregates.rb +251 -0
- data/lib/hanzoai/models/risk_appetite_in.rb +241 -0
- data/lib/hanzoai/models/risk_band.rb +291 -0
- data/lib/hanzoai/models/risk_catalog.rb +267 -0
- data/lib/hanzoai/models/risk_cause.rb +311 -0
- data/lib/hanzoai/models/risk_dataset.rb +341 -0
- data/lib/hanzoai/models/risk_dataset_disposal.rb +241 -0
- data/lib/hanzoai/models/risk_dataset_list.rb +223 -0
- data/lib/hanzoai/models/risk_dataset_row.rb +273 -0
- data/lib/hanzoai/models/risk_dataset_rows.rb +285 -0
- data/lib/hanzoai/models/risk_dataset_spec.rb +305 -0
- data/lib/hanzoai/models/risk_dataset_versions.rb +233 -0
- data/lib/hanzoai/models/risk_dispose_in.rb +221 -0
- data/lib/hanzoai/models/risk_dispose_out.rb +281 -0
- data/lib/hanzoai/models/risk_event.rb +281 -0
- data/lib/hanzoai/models/risk_hold_in.rb +233 -0
- data/lib/hanzoai/models/risk_hold_out.rb +251 -0
- data/lib/hanzoai/models/risk_label_coverage.rb +363 -0
- data/lib/hanzoai/models/risk_label_event.rb +241 -0
- data/lib/hanzoai/models/risk_label_fact.rb +291 -0
- data/lib/hanzoai/models/risk_label_in.rb +223 -0
- data/lib/hanzoai/models/risk_label_out.rb +273 -0
- data/lib/hanzoai/models/risk_label_record.rb +341 -0
- data/lib/hanzoai/models/risk_label_result.rb +241 -0
- data/lib/hanzoai/models/risk_label_vocabulary.rb +269 -0
- data/lib/hanzoai/models/risk_labels_out.rb +233 -0
- data/lib/hanzoai/models/risk_learn_in.rb +223 -0
- data/lib/hanzoai/models/risk_learn_out.rb +221 -0
- data/lib/hanzoai/models/risk_lineage.rb +351 -0
- data/lib/hanzoai/models/risk_model_feature.rb +301 -0
- data/lib/hanzoai/models/risk_model_state.rb +397 -0
- data/lib/hanzoai/models/risk_model_value.rb +271 -0
- data/lib/hanzoai/models/risk_org_feature.rb +291 -0
- data/lib/hanzoai/models/risk_policy_out.rb +273 -0
- data/lib/hanzoai/models/risk_policy_version.rb +271 -0
- data/lib/hanzoai/models/risk_publish_out.rb +241 -0
- data/lib/hanzoai/models/risk_resolve_in.rb +243 -0
- data/lib/hanzoai/models/risk_resolve_out.rb +263 -0
- data/lib/hanzoai/models/risk_resolved.rb +333 -0
- data/lib/hanzoai/models/risk_score_in.rb +221 -0
- data/lib/hanzoai/models/risk_score_out.rb +315 -0
- data/lib/hanzoai/models/risk_search_in.rb +221 -0
- data/lib/hanzoai/models/risk_search_report.rb +313 -0
- data/lib/hanzoai/models/risk_search_run.rb +241 -0
- data/lib/hanzoai/models/risk_source_coverage.rb +241 -0
- data/lib/hanzoai/models/risk_split_counts.rb +291 -0
- data/lib/hanzoai/models/risk_surface.rb +271 -0
- data/lib/hanzoai/models/risk_topology.rb +271 -0
- data/lib/hanzoai/models/risk_trial.rb +313 -0
- data/lib/hanzoai/models/risk_value.rb +271 -0
- data/lib/hanzoai/models/role_assignment.rb +231 -0
- data/lib/hanzoai/models/role_list.rb +223 -0
- data/lib/hanzoai/models/rollback_req.rb +241 -0
- data/lib/hanzoai/models/rollup.rb +294 -0
- data/lib/hanzoai/models/rollup_allotment.rb +247 -0
- data/lib/hanzoai/models/rollup_balance.rb +238 -0
- data/lib/hanzoai/models/room_work.rb +263 -0
- data/lib/hanzoai/models/root.rb +233 -0
- data/lib/hanzoai/models/round_input.rb +271 -0
- data/lib/hanzoai/models/round_out.rb +221 -0
- data/lib/hanzoai/models/route.rb +283 -0
- data/lib/hanzoai/models/route_candidate.rb +321 -0
- data/lib/hanzoai/models/route_create_in.rb +241 -0
- data/lib/hanzoai/models/route_plan.rb +243 -0
- data/lib/hanzoai/models/routed_run_out.rb +291 -0
- data/lib/hanzoai/models/routed_usage.rb +301 -0
- data/lib/hanzoai/models/router_list.rb +223 -0
- data/lib/hanzoai/models/router_view.rb +251 -0
- data/lib/hanzoai/models/rpc_error.rb +231 -0
- data/lib/hanzoai/models/rpc_in.rb +261 -0
- data/lib/hanzoai/models/rpc_out.rb +251 -0
- data/lib/hanzoai/models/rule.rb +241 -0
- data/lib/hanzoai/models/rule_list.rb +223 -0
- data/lib/hanzoai/models/rule_view.rb +251 -0
- data/lib/hanzoai/models/rules_out.rb +223 -0
- data/lib/hanzoai/models/ruleset.rb +231 -0
- data/lib/hanzoai/models/run_in.rb +253 -0
- data/lib/hanzoai/models/run_list.rb +223 -0
- data/lib/hanzoai/models/run_page.rb +223 -0
- data/lib/hanzoai/models/run_point.rb +261 -0
- data/lib/hanzoai/models/run_record.rb +301 -0
- data/lib/hanzoai/models/run_req.rb +303 -0
- data/lib/hanzoai/models/run_request.rb +295 -0
- data/lib/hanzoai/models/run_resp.rb +241 -0
- data/lib/hanzoai/models/run_summary.rb +293 -0
- data/lib/hanzoai/models/run_view.rb +261 -0
- data/lib/hanzoai/models/runner_build_req.rb +355 -0
- data/lib/hanzoai/models/runner_build_resp.rb +271 -0
- data/lib/hanzoai/models/runs.rb +223 -0
- data/lib/hanzoai/models/s3_health.rb +261 -0
- data/lib/hanzoai/models/safe_in.rb +235 -0
- data/lib/hanzoai/models/safe_out.rb +231 -0
- data/lib/hanzoai/models/safe_proposal.rb +261 -0
- data/lib/hanzoai/models/safe_tx_in.rb +261 -0
- data/lib/hanzoai/models/sample_accepted.rb +221 -0
- data/lib/hanzoai/models/sample_ingest.rb +281 -0
- data/lib/hanzoai/models/sample_list.rb +223 -0
- data/lib/hanzoai/models/sample_req.rb +421 -0
- data/lib/hanzoai/models/sample_view.rb +371 -0
- data/lib/hanzoai/models/sandbox.rb +351 -0
- data/lib/hanzoai/models/sandbox_list.rb +223 -0
- data/lib/hanzoai/models/sbom_health.rb +251 -0
- data/lib/hanzoai/models/sbom_ingest.rb +271 -0
- data/lib/hanzoai/models/sbom_ingested.rb +231 -0
- data/lib/hanzoai/models/scan.rb +231 -0
- data/lib/hanzoai/models/scan_detail.rb +233 -0
- data/lib/hanzoai/models/scan_draft.rb +285 -0
- data/lib/hanzoai/models/scan_list.rb +223 -0
- data/lib/hanzoai/models/scan_view.rb +301 -0
- data/lib/hanzoai/models/schedule_input.rb +231 -0
- data/lib/hanzoai/models/scope.rb +221 -0
- data/lib/hanzoai/models/score_config_list.rb +223 -0
- data/lib/hanzoai/models/score_config_req.rb +280 -0
- data/lib/hanzoai/models/score_config_view.rb +283 -0
- data/lib/hanzoai/models/score_list.rb +223 -0
- data/lib/hanzoai/models/score_req.rb +318 -0
- data/lib/hanzoai/models/score_view.rb +301 -0
- data/lib/hanzoai/models/screen_result.rb +301 -0
- data/lib/hanzoai/models/search_in.rb +253 -0
- data/lib/hanzoai/models/search_out.rb +233 -0
- data/lib/hanzoai/models/search_results.rb +253 -0
- data/lib/hanzoai/models/secret_list.rb +223 -0
- data/lib/hanzoai/models/secret_meta.rb +251 -0
- data/lib/hanzoai/models/secret_view.rb +241 -0
- data/lib/hanzoai/models/section.rb +261 -0
- data/lib/hanzoai/models/section_write.rb +251 -0
- data/lib/hanzoai/models/self_rank.rb +301 -0
- data/lib/hanzoai/models/seo_audit_in.rb +221 -0
- data/lib/hanzoai/models/seo_audit_out.rb +293 -0
- data/lib/hanzoai/models/seo_backlink_in.rb +221 -0
- data/lib/hanzoai/models/seo_backlink_out.rb +301 -0
- data/lib/hanzoai/models/seo_charge.rb +241 -0
- data/lib/hanzoai/models/seo_competitor_in.rb +253 -0
- data/lib/hanzoai/models/seo_competitor_out.rb +243 -0
- data/lib/hanzoai/models/seo_domain.rb +261 -0
- data/lib/hanzoai/models/seo_idea_in.rb +253 -0
- data/lib/hanzoai/models/seo_idea_out.rb +243 -0
- data/lib/hanzoai/models/seo_keyword_in.rb +243 -0
- data/lib/hanzoai/models/seo_keyword_out.rb +233 -0
- data/lib/hanzoai/models/seo_metric.rb +271 -0
- data/lib/hanzoai/models/seo_rank_in.rb +251 -0
- data/lib/hanzoai/models/seo_rank_out.rb +243 -0
- data/lib/hanzoai/models/seo_ranking.rb +271 -0
- data/lib/hanzoai/models/seo_rate_out.rb +223 -0
- data/lib/hanzoai/models/sequence.rb +261 -0
- data/lib/hanzoai/models/sequence_list.rb +223 -0
- data/lib/hanzoai/models/sequence_status.rb +231 -0
- data/lib/hanzoai/models/sequence_view.rb +233 -0
- data/lib/hanzoai/models/sequences.rb +231 -0
- data/lib/hanzoai/models/series_line.rb +233 -0
- data/lib/hanzoai/models/series_point.rb +231 -0
- data/lib/hanzoai/models/session_detail.rb +487 -0
- data/lib/hanzoai/models/session_ended.rb +231 -0
- data/lib/hanzoai/models/session_list.rb +223 -0
- data/lib/hanzoai/models/session_progress.rb +261 -0
- data/lib/hanzoai/models/session_user.rb +273 -0
- data/lib/hanzoai/models/session_view.rb +491 -0
- data/lib/hanzoai/models/set_env_req.rb +243 -0
- data/lib/hanzoai/models/set_reference_in.rb +223 -0
- data/lib/hanzoai/models/set_reference_out.rb +241 -0
- data/lib/hanzoai/models/settings_req.rb +245 -0
- data/lib/hanzoai/models/settings_view.rb +263 -0
- data/lib/hanzoai/models/share_policy.rb +229 -0
- data/lib/hanzoai/models/share_view.rb +261 -0
- data/lib/hanzoai/models/shares_out.rb +223 -0
- data/lib/hanzoai/models/sign_in.rb +231 -0
- data/lib/hanzoai/models/sign_reply.rb +241 -0
- data/lib/hanzoai/models/sign_request.rb +233 -0
- data/lib/hanzoai/models/signature.rb +251 -0
- data/lib/hanzoai/models/signer.rb +231 -0
- data/lib/hanzoai/models/skill.rb +271 -0
- data/lib/hanzoai/models/skill_deleted.rb +221 -0
- data/lib/hanzoai/models/skill_in.rb +241 -0
- data/lib/hanzoai/models/skill_written.rb +221 -0
- data/lib/hanzoai/models/slot_view.rb +331 -0
- data/lib/hanzoai/models/sms.rb +271 -0
- data/lib/hanzoai/models/social_account.rb +271 -0
- data/lib/hanzoai/models/social_account_body.rb +241 -0
- data/lib/hanzoai/models/social_account_write.rb +241 -0
- data/lib/hanzoai/models/social_accounts.rb +223 -0
- data/lib/hanzoai/models/social_post.rb +323 -0
- data/lib/hanzoai/models/social_post_body.rb +263 -0
- data/lib/hanzoai/models/social_post_write.rb +263 -0
- data/lib/hanzoai/models/social_posts.rb +223 -0
- data/lib/hanzoai/models/social_provider.rb +243 -0
- data/lib/hanzoai/models/social_providers.rb +223 -0
- data/lib/hanzoai/models/social_summary.rb +251 -0
- data/lib/hanzoai/models/source.rb +261 -0
- data/lib/hanzoai/models/source_failure.rb +231 -0
- data/lib/hanzoai/models/source_state.rb +251 -0
- data/lib/hanzoai/models/source_tool_list.rb +233 -0
- data/lib/hanzoai/models/sources.rb +231 -0
- data/lib/hanzoai/models/span.rb +311 -0
- data/lib/hanzoai/models/span_body.rb +265 -0
- data/lib/hanzoai/models/spec.rb +263 -0
- data/lib/hanzoai/models/spend.rb +305 -0
- data/lib/hanzoai/models/spend_point.rb +231 -0
- data/lib/hanzoai/models/stage_event.rb +261 -0
- data/lib/hanzoai/models/starter_kit.rb +355 -0
- data/lib/hanzoai/models/state.rb +301 -0
- data/lib/hanzoai/models/state_graph.rb +255 -0
- data/lib/hanzoai/models/stats_out.rb +241 -0
- data/lib/hanzoai/models/stats_sessions.rb +223 -0
- data/lib/hanzoai/models/stats_user.rb +221 -0
- data/lib/hanzoai/models/status_breakdown.rb +241 -0
- data/lib/hanzoai/models/status_counts.rb +241 -0
- data/lib/hanzoai/models/status_view.rb +241 -0
- data/lib/hanzoai/models/step.rb +281 -0
- data/lib/hanzoai/models/step_input.rb +251 -0
- data/lib/hanzoai/models/step_list.rb +223 -0
- data/lib/hanzoai/models/step_settings.rb +258 -0
- data/lib/hanzoai/models/step_view.rb +377 -0
- data/lib/hanzoai/models/stop_in.rb +221 -0
- data/lib/hanzoai/models/stopped.rb +221 -0
- data/lib/hanzoai/models/storefront_result.rb +251 -0
- data/lib/hanzoai/models/strategy.rb +313 -0
- data/lib/hanzoai/models/strategy_view.rb +263 -0
- data/lib/hanzoai/models/stream.rb +251 -0
- data/lib/hanzoai/models/streams.rb +233 -0
- data/lib/hanzoai/models/structure_in.rb +241 -0
- data/lib/hanzoai/models/subdomain_set_in.rb +231 -0
- data/lib/hanzoai/models/subject.rb +291 -0
- data/lib/hanzoai/models/subject_list.rb +223 -0
- data/lib/hanzoai/models/subject_req.rb +251 -0
- data/lib/hanzoai/models/subject_summary.rb +261 -0
- data/lib/hanzoai/models/submit_req.rb +250 -0
- data/lib/hanzoai/models/subprocessor_list.rb +223 -0
- data/lib/hanzoai/models/subscribe_req.rb +243 -0
- data/lib/hanzoai/models/subscription.rb +374 -0
- data/lib/hanzoai/models/subscription_list.rb +223 -0
- data/lib/hanzoai/models/subscription_plan.rb +256 -0
- data/lib/hanzoai/models/subscription_ref.rb +230 -0
- data/lib/hanzoai/models/subscription_view.rb +263 -0
- data/lib/hanzoai/models/subscriptions.rb +232 -0
- data/lib/hanzoai/models/suggest_response.rb +265 -0
- data/lib/hanzoai/models/suggestion.rb +271 -0
- data/lib/hanzoai/models/suite.rb +270 -0
- data/lib/hanzoai/models/summary.rb +241 -0
- data/lib/hanzoai/models/summary_resp.rb +273 -0
- data/lib/hanzoai/models/summary_view.rb +231 -0
- data/lib/hanzoai/models/suppression.rb +251 -0
- data/lib/hanzoai/models/suppression_list.rb +223 -0
- data/lib/hanzoai/models/symbol.rb +251 -0
- data/lib/hanzoai/models/sync_list.rb +223 -0
- data/lib/hanzoai/models/sync_queued.rb +231 -0
- data/lib/hanzoai/models/sync_req.rb +281 -0
- data/lib/hanzoai/models/sync_tally.rb +231 -0
- data/lib/hanzoai/models/sync_view.rb +301 -0
- data/lib/hanzoai/models/tag_config.rb +222 -0
- data/lib/hanzoai/models/target_deleted.rb +231 -0
- data/lib/hanzoai/models/target_list.rb +223 -0
- data/lib/hanzoai/models/target_req.rb +281 -0
- data/lib/hanzoai/models/target_view.rb +341 -0
- data/lib/hanzoai/models/tariff.rb +283 -0
- data/lib/hanzoai/models/tariff_in.rb +251 -0
- data/lib/hanzoai/models/taxon.rb +335 -0
- data/lib/hanzoai/models/taxon_in.rb +325 -0
- data/lib/hanzoai/models/taxonomy.rb +223 -0
- data/lib/hanzoai/models/team_room.rb +315 -0
- data/lib/hanzoai/models/team_room_bind.rb +253 -0
- data/lib/hanzoai/models/team_rooms.rb +223 -0
- data/lib/hanzoai/models/template_catalog.rb +233 -0
- data/lib/hanzoai/models/template_override.rb +273 -0
- data/lib/hanzoai/models/template_reply.rb +231 -0
- data/lib/hanzoai/models/template_view.rb +283 -0
- data/lib/hanzoai/models/test_result.rb +251 -0
- data/lib/hanzoai/models/ticket_grant.rb +241 -0
- data/lib/hanzoai/models/tier.rb +249 -0
- data/lib/hanzoai/models/tier_balance.rb +256 -0
- data/lib/hanzoai/models/tier_limits.rb +268 -0
- data/lib/hanzoai/models/timeseries.rb +283 -0
- data/lib/hanzoai/models/tls_config.rb +243 -0
- data/lib/hanzoai/models/todo_project.rb +281 -0
- data/lib/hanzoai/models/tool.rb +281 -0
- data/lib/hanzoai/models/tool_call.rb +233 -0
- data/lib/hanzoai/models/tool_list.rb +223 -0
- data/lib/hanzoai/models/tool_result.rb +231 -0
- data/lib/hanzoai/models/top.rb +301 -0
- data/lib/hanzoai/models/top_models.rb +243 -0
- data/lib/hanzoai/models/top_products.rb +253 -0
- data/lib/hanzoai/models/topup_in.rb +251 -0
- data/lib/hanzoai/models/total_view.rb +311 -0
- data/lib/hanzoai/models/trace_list.rb +223 -0
- data/lib/hanzoai/models/trace_view.rb +361 -0
- data/lib/hanzoai/models/traffic_caller.rb +281 -0
- data/lib/hanzoai/models/traffic_view.rb +355 -0
- data/lib/hanzoai/models/trail_page.rb +253 -0
- data/lib/hanzoai/models/transaction.rb +293 -0
- data/lib/hanzoai/models/transactions.rb +240 -0
- data/lib/hanzoai/models/transactions_out.rb +223 -0
- data/lib/hanzoai/models/transfer_req.rb +275 -0
- data/lib/hanzoai/models/transition_in.rb +251 -0
- data/lib/hanzoai/models/transition_result.rb +271 -0
- data/lib/hanzoai/models/treasury_report.rb +273 -0
- data/lib/hanzoai/models/tree_entry.rb +241 -0
- data/lib/hanzoai/models/tree_entry_json.rb +261 -0
- data/lib/hanzoai/models/tree_json.rb +223 -0
- data/lib/hanzoai/models/tree_node.rb +233 -0
- data/lib/hanzoai/models/trial.rb +353 -0
- data/lib/hanzoai/models/trial_balance.rb +273 -0
- data/lib/hanzoai/models/trial_balance_row.rb +301 -0
- data/lib/hanzoai/models/trigger_list.rb +223 -0
- data/lib/hanzoai/models/trigger_view.rb +271 -0
- data/lib/hanzoai/models/trust_ask.rb +271 -0
- data/lib/hanzoai/models/trust_ask_view.rb +341 -0
- data/lib/hanzoai/models/trust_asked.rb +231 -0
- data/lib/hanzoai/models/trust_coverage.rb +253 -0
- data/lib/hanzoai/models/trust_decision.rb +241 -0
- data/lib/hanzoai/models/trust_desk.rb +287 -0
- data/lib/hanzoai/models/trust_documents.rb +223 -0
- data/lib/hanzoai/models/trust_edit.rb +291 -0
- data/lib/hanzoai/models/trust_grant_view.rb +261 -0
- data/lib/hanzoai/models/trust_granted.rb +251 -0
- data/lib/hanzoai/models/trust_item.rb +301 -0
- data/lib/hanzoai/models/trust_item_view.rb +331 -0
- data/lib/hanzoai/models/trust_page.rb +253 -0
- data/lib/hanzoai/models/trust_publish.rb +291 -0
- data/lib/hanzoai/models/trust_refused.rb +221 -0
- data/lib/hanzoai/models/trust_settings.rb +251 -0
- data/lib/hanzoai/models/trust_tally.rb +271 -0
- data/lib/hanzoai/models/txn.rb +291 -0
- data/lib/hanzoai/models/unreadable.rb +220 -0
- data/lib/hanzoai/models/unreconciled_out.rb +235 -0
- data/lib/hanzoai/models/unsubscribed.rb +241 -0
- data/lib/hanzoai/models/update_agent_in.rb +303 -0
- data/lib/hanzoai/models/update_campaign_in.rb +281 -0
- data/lib/hanzoai/models/update_endpoint_in.rb +253 -0
- data/lib/hanzoai/models/update_list.rb +223 -0
- data/lib/hanzoai/models/upkeep.rb +273 -0
- data/lib/hanzoai/models/upkeep_in.rb +241 -0
- data/lib/hanzoai/models/upload_in.rb +231 -0
- data/lib/hanzoai/models/upstream.rb +243 -0
- data/lib/hanzoai/models/usage.rb +243 -0
- data/lib/hanzoai/models/usage_analytics_access.rb +231 -0
- data/lib/hanzoai/models/usage_analytics_grant.rb +241 -0
- data/lib/hanzoai/models/usage_analytics_view.rb +291 -0
- data/lib/hanzoai/models/usage_point.rb +251 -0
- data/lib/hanzoai/models/usage_repo.rb +241 -0
- data/lib/hanzoai/models/usage_scope.rb +231 -0
- data/lib/hanzoai/models/usage_summary.rb +301 -0
- data/lib/hanzoai/models/usage_view.rb +243 -0
- data/lib/hanzoai/models/usage_window_view.rb +401 -0
- data/lib/hanzoai/models/user_enablement_item.rb +271 -0
- data/lib/hanzoai/models/user_optin_req.rb +231 -0
- data/lib/hanzoai/models/user_optin_view.rb +241 -0
- data/lib/hanzoai/models/utm.rb +256 -0
- data/lib/hanzoai/models/validator_claim.rb +241 -0
- data/lib/hanzoai/models/validator_list.rb +233 -0
- data/lib/hanzoai/models/variant.rb +261 -0
- data/lib/hanzoai/models/vendor_row.rb +243 -0
- data/lib/hanzoai/models/vendors_out.rb +223 -0
- data/lib/hanzoai/models/venue.rb +241 -0
- data/lib/hanzoai/models/verdict.rb +274 -0
- data/lib/hanzoai/models/verification_decision.rb +231 -0
- data/lib/hanzoai/models/verification_req.rb +261 -0
- data/lib/hanzoai/models/verification_tally.rb +233 -0
- data/lib/hanzoai/models/verify_out.rb +273 -0
- data/lib/hanzoai/models/verify_request.rb +221 -0
- data/lib/hanzoai/models/version_message.rb +261 -0
- data/lib/hanzoai/models/version_meta.rb +241 -0
- data/lib/hanzoai/models/version_page.rb +223 -0
- data/lib/hanzoai/models/version_view.rb +241 -0
- data/lib/hanzoai/models/voucher.rb +263 -0
- data/lib/hanzoai/models/waiting.rb +281 -0
- data/lib/hanzoai/models/wallet.rb +327 -0
- data/lib/hanzoai/models/wallet_account.rb +251 -0
- data/lib/hanzoai/models/wallet_list.rb +223 -0
- data/lib/hanzoai/models/web_engine.rb +241 -0
- data/lib/hanzoai/models/web_overview.rb +271 -0
- data/lib/hanzoai/models/web_question.rb +263 -0
- data/lib/hanzoai/models/web_result.rb +251 -0
- data/lib/hanzoai/models/web_search_query.rb +231 -0
- data/lib/hanzoai/models/web_search_results.rb +255 -0
- data/lib/hanzoai/models/window.rb +256 -0
- data/lib/hanzoai/models/wire.rb +421 -0
- data/lib/hanzoai/models/wire_fact.rb +331 -0
- data/lib/hanzoai/models/wire_instructions.rb +292 -0
- data/lib/hanzoai/models/worker_list.rb +223 -0
- data/lib/hanzoai/models/worker_script_put.rb +263 -0
- data/lib/hanzoai/models/world_index.rb +243 -0
- data/lib/hanzoai/models/world_wire.rb +261 -0
- data/lib/hanzoai/models/write_in.rb +241 -0
- data/lib/hanzoai/models/written.rb +241 -0
- data/lib/hanzoai/models/wrote.rb +231 -0
- data/lib/hanzoai/models/zap_proc_req.rb +238 -0
- data/lib/hanzoai/version.rb +15 -0
- data/lib/hanzoai.rb +2487 -0
- data/scripts/bootstrap +24 -0
- data/scripts/generate.sh +23 -0
- data/scripts/test +22 -0
- metadata +2578 -0
|
@@ -0,0 +1,2522 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Hanzo Cloud API
|
|
3
|
+
|
|
4
|
+
#The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.14.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'cgi'
|
|
14
|
+
|
|
15
|
+
module Hanzoai
|
|
16
|
+
class PlatformApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Deletes an application and tears down what it runs.
|
|
23
|
+
# Deletes an application and tears down what it runs. It removes the application record and tears down what it owns in the org's tenant namespace — its operator Service CR and its KMSSecret — then answers 204. An app this org and project do not have is 404, never a silent success. Teardown is best-effort by design: a cluster that refuses or is unreachable does not block the delete, so the record cannot be left orphaned behind a broken cluster; the failure is logged for operators and the orphan reaper reconciles it. Requires a validated principal; 403 without one.
|
|
24
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
25
|
+
# @param app [String] App is the application's slug, from the path.
|
|
26
|
+
# @param [Hash] opts the optional parameters
|
|
27
|
+
# @return [nil]
|
|
28
|
+
def delete_platform_projects_by_project_apps_by_app(project, app, opts = {})
|
|
29
|
+
delete_platform_projects_by_project_apps_by_app_with_http_info(project, app, opts)
|
|
30
|
+
nil
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Deletes an application and tears down what it runs.
|
|
34
|
+
# Deletes an application and tears down what it runs. It removes the application record and tears down what it owns in the org's tenant namespace — its operator Service CR and its KMSSecret — then answers 204. An app this org and project do not have is 404, never a silent success. Teardown is best-effort by design: a cluster that refuses or is unreachable does not block the delete, so the record cannot be left orphaned behind a broken cluster; the failure is logged for operators and the orphan reaper reconciles it. Requires a validated principal; 403 without one.
|
|
35
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
36
|
+
# @param app [String] App is the application's slug, from the path.
|
|
37
|
+
# @param [Hash] opts the optional parameters
|
|
38
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
39
|
+
def delete_platform_projects_by_project_apps_by_app_with_http_info(project, app, opts = {})
|
|
40
|
+
if @api_client.config.debugging
|
|
41
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.delete_platform_projects_by_project_apps_by_app ...'
|
|
42
|
+
end
|
|
43
|
+
# verify the required parameter 'project' is set
|
|
44
|
+
if @api_client.config.client_side_validation && project.nil?
|
|
45
|
+
fail ArgumentError, "Missing the required parameter 'project' when calling PlatformApi.delete_platform_projects_by_project_apps_by_app"
|
|
46
|
+
end
|
|
47
|
+
# verify the required parameter 'app' is set
|
|
48
|
+
if @api_client.config.client_side_validation && app.nil?
|
|
49
|
+
fail ArgumentError, "Missing the required parameter 'app' when calling PlatformApi.delete_platform_projects_by_project_apps_by_app"
|
|
50
|
+
end
|
|
51
|
+
# resource path
|
|
52
|
+
local_var_path = '/v1/platform/projects/{project}/apps/{app}'.sub('{' + 'project' + '}', CGI.escape(project.to_s)).sub('{' + 'app' + '}', CGI.escape(app.to_s))
|
|
53
|
+
|
|
54
|
+
# query parameters
|
|
55
|
+
query_params = opts[:query_params] || {}
|
|
56
|
+
|
|
57
|
+
# header parameters
|
|
58
|
+
header_params = opts[:header_params] || {}
|
|
59
|
+
|
|
60
|
+
# form parameters
|
|
61
|
+
form_params = opts[:form_params] || {}
|
|
62
|
+
|
|
63
|
+
# http body (model)
|
|
64
|
+
post_body = opts[:debug_body]
|
|
65
|
+
|
|
66
|
+
# return_type
|
|
67
|
+
return_type = opts[:debug_return_type]
|
|
68
|
+
|
|
69
|
+
# auth_names
|
|
70
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
71
|
+
|
|
72
|
+
new_options = opts.merge(
|
|
73
|
+
:operation => :"PlatformApi.delete_platform_projects_by_project_apps_by_app",
|
|
74
|
+
:header_params => header_params,
|
|
75
|
+
:query_params => query_params,
|
|
76
|
+
:form_params => form_params,
|
|
77
|
+
:body => post_body,
|
|
78
|
+
:auth_names => auth_names,
|
|
79
|
+
:return_type => return_type
|
|
80
|
+
)
|
|
81
|
+
|
|
82
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
83
|
+
if @api_client.config.debugging
|
|
84
|
+
@api_client.config.logger.debug "API called: PlatformApi#delete_platform_projects_by_project_apps_by_app\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
85
|
+
end
|
|
86
|
+
return data, status_code, headers
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# Detaches a hostname and releases the claim.
|
|
90
|
+
# Detaches a hostname and releases the claim. It drops the host from the app's ingress and releases any custom claim on it, so the name becomes claimable again — by this org or any other. Answers 204. The default host is permanent and cannot be removed: that is 400, not 404. A host that is neither attached nor claimed here is 404. Requires a validated principal; 403 without one.
|
|
91
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
92
|
+
# @param app [String] App is the application's slug, from the path.
|
|
93
|
+
# @param host [String] Host is the hostname, from the path.
|
|
94
|
+
# @param [Hash] opts the optional parameters
|
|
95
|
+
# @return [nil]
|
|
96
|
+
def delete_platform_projects_by_project_apps_by_app_domains_by_host(project, app, host, opts = {})
|
|
97
|
+
delete_platform_projects_by_project_apps_by_app_domains_by_host_with_http_info(project, app, host, opts)
|
|
98
|
+
nil
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Detaches a hostname and releases the claim.
|
|
102
|
+
# Detaches a hostname and releases the claim. It drops the host from the app's ingress and releases any custom claim on it, so the name becomes claimable again — by this org or any other. Answers 204. The default host is permanent and cannot be removed: that is 400, not 404. A host that is neither attached nor claimed here is 404. Requires a validated principal; 403 without one.
|
|
103
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
104
|
+
# @param app [String] App is the application's slug, from the path.
|
|
105
|
+
# @param host [String] Host is the hostname, from the path.
|
|
106
|
+
# @param [Hash] opts the optional parameters
|
|
107
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
108
|
+
def delete_platform_projects_by_project_apps_by_app_domains_by_host_with_http_info(project, app, host, opts = {})
|
|
109
|
+
if @api_client.config.debugging
|
|
110
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.delete_platform_projects_by_project_apps_by_app_domains_by_host ...'
|
|
111
|
+
end
|
|
112
|
+
# verify the required parameter 'project' is set
|
|
113
|
+
if @api_client.config.client_side_validation && project.nil?
|
|
114
|
+
fail ArgumentError, "Missing the required parameter 'project' when calling PlatformApi.delete_platform_projects_by_project_apps_by_app_domains_by_host"
|
|
115
|
+
end
|
|
116
|
+
# verify the required parameter 'app' is set
|
|
117
|
+
if @api_client.config.client_side_validation && app.nil?
|
|
118
|
+
fail ArgumentError, "Missing the required parameter 'app' when calling PlatformApi.delete_platform_projects_by_project_apps_by_app_domains_by_host"
|
|
119
|
+
end
|
|
120
|
+
# verify the required parameter 'host' is set
|
|
121
|
+
if @api_client.config.client_side_validation && host.nil?
|
|
122
|
+
fail ArgumentError, "Missing the required parameter 'host' when calling PlatformApi.delete_platform_projects_by_project_apps_by_app_domains_by_host"
|
|
123
|
+
end
|
|
124
|
+
# resource path
|
|
125
|
+
local_var_path = '/v1/platform/projects/{project}/apps/{app}/domains/{host}'.sub('{' + 'project' + '}', CGI.escape(project.to_s)).sub('{' + 'app' + '}', CGI.escape(app.to_s)).sub('{' + 'host' + '}', CGI.escape(host.to_s))
|
|
126
|
+
|
|
127
|
+
# query parameters
|
|
128
|
+
query_params = opts[:query_params] || {}
|
|
129
|
+
|
|
130
|
+
# header parameters
|
|
131
|
+
header_params = opts[:header_params] || {}
|
|
132
|
+
|
|
133
|
+
# form parameters
|
|
134
|
+
form_params = opts[:form_params] || {}
|
|
135
|
+
|
|
136
|
+
# http body (model)
|
|
137
|
+
post_body = opts[:debug_body]
|
|
138
|
+
|
|
139
|
+
# return_type
|
|
140
|
+
return_type = opts[:debug_return_type]
|
|
141
|
+
|
|
142
|
+
# auth_names
|
|
143
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
144
|
+
|
|
145
|
+
new_options = opts.merge(
|
|
146
|
+
:operation => :"PlatformApi.delete_platform_projects_by_project_apps_by_app_domains_by_host",
|
|
147
|
+
:header_params => header_params,
|
|
148
|
+
:query_params => query_params,
|
|
149
|
+
:form_params => form_params,
|
|
150
|
+
:body => post_body,
|
|
151
|
+
:auth_names => auth_names,
|
|
152
|
+
:return_type => return_type
|
|
153
|
+
)
|
|
154
|
+
|
|
155
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
156
|
+
if @api_client.config.debugging
|
|
157
|
+
@api_client.config.logger.debug "API called: PlatformApi#delete_platform_projects_by_project_apps_by_app_domains_by_host\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
158
|
+
end
|
|
159
|
+
return data, status_code, headers
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
# Answers what this organisation has declared, joined with what the delivery plane has done about it.
|
|
163
|
+
# Answers what this organisation has declared, joined with what the delivery plane has done about it. The join is best-effort BY DESIGN and says so when it is missing: the declarations ARE the answer to \"what have I deployed\", so refusing the whole board because the cluster is unreadable would lose the half that is readable. What must never happen is a silent null — an unreadable plane is reported as `cd.unavailable` carrying the reason, never as an app with no reconciliation.
|
|
164
|
+
# @param [Hash] opts the optional parameters
|
|
165
|
+
# @option opts [String] :org Org names the organisation whose declarations to read, defaulting to the caller's own. Only a SuperAdmin may name one that is not theirs; anyone else naming a foreign org is refused, so this widens nothing by itself.
|
|
166
|
+
# @return [DeclaredResp]
|
|
167
|
+
def get_platform_apps(opts = {})
|
|
168
|
+
data, _status_code, _headers = get_platform_apps_with_http_info(opts)
|
|
169
|
+
data
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
# Answers what this organisation has declared, joined with what the delivery plane has done about it.
|
|
173
|
+
# Answers what this organisation has declared, joined with what the delivery plane has done about it. The join is best-effort BY DESIGN and says so when it is missing: the declarations ARE the answer to \"what have I deployed\", so refusing the whole board because the cluster is unreadable would lose the half that is readable. What must never happen is a silent null — an unreadable plane is reported as `cd.unavailable` carrying the reason, never as an app with no reconciliation.
|
|
174
|
+
# @param [Hash] opts the optional parameters
|
|
175
|
+
# @option opts [String] :org Org names the organisation whose declarations to read, defaulting to the caller's own. Only a SuperAdmin may name one that is not theirs; anyone else naming a foreign org is refused, so this widens nothing by itself.
|
|
176
|
+
# @return [Array<(DeclaredResp, Integer, Hash)>] DeclaredResp data, response status code and response headers
|
|
177
|
+
def get_platform_apps_with_http_info(opts = {})
|
|
178
|
+
if @api_client.config.debugging
|
|
179
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_platform_apps ...'
|
|
180
|
+
end
|
|
181
|
+
# resource path
|
|
182
|
+
local_var_path = '/v1/platform/apps'
|
|
183
|
+
|
|
184
|
+
# query parameters
|
|
185
|
+
query_params = opts[:query_params] || {}
|
|
186
|
+
query_params[:'org'] = opts[:'org'] if !opts[:'org'].nil?
|
|
187
|
+
|
|
188
|
+
# header parameters
|
|
189
|
+
header_params = opts[:header_params] || {}
|
|
190
|
+
# HTTP header 'Accept' (if needed)
|
|
191
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
192
|
+
|
|
193
|
+
# form parameters
|
|
194
|
+
form_params = opts[:form_params] || {}
|
|
195
|
+
|
|
196
|
+
# http body (model)
|
|
197
|
+
post_body = opts[:debug_body]
|
|
198
|
+
|
|
199
|
+
# return_type
|
|
200
|
+
return_type = opts[:debug_return_type] || 'DeclaredResp'
|
|
201
|
+
|
|
202
|
+
# auth_names
|
|
203
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
204
|
+
|
|
205
|
+
new_options = opts.merge(
|
|
206
|
+
:operation => :"PlatformApi.get_platform_apps",
|
|
207
|
+
:header_params => header_params,
|
|
208
|
+
:query_params => query_params,
|
|
209
|
+
:form_params => form_params,
|
|
210
|
+
:body => post_body,
|
|
211
|
+
:auth_names => auth_names,
|
|
212
|
+
:return_type => return_type
|
|
213
|
+
)
|
|
214
|
+
|
|
215
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
216
|
+
if @api_client.config.debugging
|
|
217
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_platform_apps\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
218
|
+
end
|
|
219
|
+
return data, status_code, headers
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
# Answers ONE declaration — what git says this app is, before the delivery plane has had any say in it.
|
|
223
|
+
# Answers ONE declaration — what git says this app is, before the delivery plane has had any say in it.
|
|
224
|
+
# @param app [String] App is the DNS-1123 label of the declaration. The URL is the addressing authority — a path segment binds after the body and after the query — so the address decides which app is read whatever else is sent.
|
|
225
|
+
# @param [Hash] opts the optional parameters
|
|
226
|
+
# @option opts [String] :org Org names the organisation the declaration lives in, defaulting to the caller's own and subject to the same SuperAdmin rule as the listing.
|
|
227
|
+
# @return [Declaration]
|
|
228
|
+
def get_platform_apps_by_app(app, opts = {})
|
|
229
|
+
data, _status_code, _headers = get_platform_apps_by_app_with_http_info(app, opts)
|
|
230
|
+
data
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
# Answers ONE declaration — what git says this app is, before the delivery plane has had any say in it.
|
|
234
|
+
# Answers ONE declaration — what git says this app is, before the delivery plane has had any say in it.
|
|
235
|
+
# @param app [String] App is the DNS-1123 label of the declaration. The URL is the addressing authority — a path segment binds after the body and after the query — so the address decides which app is read whatever else is sent.
|
|
236
|
+
# @param [Hash] opts the optional parameters
|
|
237
|
+
# @option opts [String] :org Org names the organisation the declaration lives in, defaulting to the caller's own and subject to the same SuperAdmin rule as the listing.
|
|
238
|
+
# @return [Array<(Declaration, Integer, Hash)>] Declaration data, response status code and response headers
|
|
239
|
+
def get_platform_apps_by_app_with_http_info(app, opts = {})
|
|
240
|
+
if @api_client.config.debugging
|
|
241
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_platform_apps_by_app ...'
|
|
242
|
+
end
|
|
243
|
+
# verify the required parameter 'app' is set
|
|
244
|
+
if @api_client.config.client_side_validation && app.nil?
|
|
245
|
+
fail ArgumentError, "Missing the required parameter 'app' when calling PlatformApi.get_platform_apps_by_app"
|
|
246
|
+
end
|
|
247
|
+
# resource path
|
|
248
|
+
local_var_path = '/v1/platform/apps/{app}'.sub('{' + 'app' + '}', CGI.escape(app.to_s))
|
|
249
|
+
|
|
250
|
+
# query parameters
|
|
251
|
+
query_params = opts[:query_params] || {}
|
|
252
|
+
query_params[:'org'] = opts[:'org'] if !opts[:'org'].nil?
|
|
253
|
+
|
|
254
|
+
# header parameters
|
|
255
|
+
header_params = opts[:header_params] || {}
|
|
256
|
+
# HTTP header 'Accept' (if needed)
|
|
257
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
258
|
+
|
|
259
|
+
# form parameters
|
|
260
|
+
form_params = opts[:form_params] || {}
|
|
261
|
+
|
|
262
|
+
# http body (model)
|
|
263
|
+
post_body = opts[:debug_body]
|
|
264
|
+
|
|
265
|
+
# return_type
|
|
266
|
+
return_type = opts[:debug_return_type] || 'Declaration'
|
|
267
|
+
|
|
268
|
+
# auth_names
|
|
269
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
270
|
+
|
|
271
|
+
new_options = opts.merge(
|
|
272
|
+
:operation => :"PlatformApi.get_platform_apps_by_app",
|
|
273
|
+
:header_params => header_params,
|
|
274
|
+
:query_params => query_params,
|
|
275
|
+
:form_params => form_params,
|
|
276
|
+
:body => post_body,
|
|
277
|
+
:auth_names => auth_names,
|
|
278
|
+
:return_type => return_type
|
|
279
|
+
)
|
|
280
|
+
|
|
281
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
282
|
+
if @api_client.config.debugging
|
|
283
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_platform_apps_by_app\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
284
|
+
end
|
|
285
|
+
return data, status_code, headers
|
|
286
|
+
end
|
|
287
|
+
|
|
288
|
+
# Answers ONE app's reconciliation alone — the poll a deploy console makes while it waits, without re-reading the whole inventory each time.
|
|
289
|
+
# Answers ONE app's reconciliation alone — the poll a deploy console makes while it waits, without re-reading the whole inventory each time.
|
|
290
|
+
# @param app [String] App is the DNS-1123 label of the declaration. The URL is the addressing authority — a path segment binds after the body and after the query — so the address decides which app is read whatever else is sent.
|
|
291
|
+
# @param [Hash] opts the optional parameters
|
|
292
|
+
# @option opts [String] :org Org names the organisation the declaration lives in, defaulting to the caller's own and subject to the same SuperAdmin rule as the listing.
|
|
293
|
+
# @return [CDApp]
|
|
294
|
+
def get_platform_apps_by_app_cd(app, opts = {})
|
|
295
|
+
data, _status_code, _headers = get_platform_apps_by_app_cd_with_http_info(app, opts)
|
|
296
|
+
data
|
|
297
|
+
end
|
|
298
|
+
|
|
299
|
+
# Answers ONE app's reconciliation alone — the poll a deploy console makes while it waits, without re-reading the whole inventory each time.
|
|
300
|
+
# Answers ONE app's reconciliation alone — the poll a deploy console makes while it waits, without re-reading the whole inventory each time.
|
|
301
|
+
# @param app [String] App is the DNS-1123 label of the declaration. The URL is the addressing authority — a path segment binds after the body and after the query — so the address decides which app is read whatever else is sent.
|
|
302
|
+
# @param [Hash] opts the optional parameters
|
|
303
|
+
# @option opts [String] :org Org names the organisation the declaration lives in, defaulting to the caller's own and subject to the same SuperAdmin rule as the listing.
|
|
304
|
+
# @return [Array<(CDApp, Integer, Hash)>] CDApp data, response status code and response headers
|
|
305
|
+
def get_platform_apps_by_app_cd_with_http_info(app, opts = {})
|
|
306
|
+
if @api_client.config.debugging
|
|
307
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_platform_apps_by_app_cd ...'
|
|
308
|
+
end
|
|
309
|
+
# verify the required parameter 'app' is set
|
|
310
|
+
if @api_client.config.client_side_validation && app.nil?
|
|
311
|
+
fail ArgumentError, "Missing the required parameter 'app' when calling PlatformApi.get_platform_apps_by_app_cd"
|
|
312
|
+
end
|
|
313
|
+
# resource path
|
|
314
|
+
local_var_path = '/v1/platform/apps/{app}/cd'.sub('{' + 'app' + '}', CGI.escape(app.to_s))
|
|
315
|
+
|
|
316
|
+
# query parameters
|
|
317
|
+
query_params = opts[:query_params] || {}
|
|
318
|
+
query_params[:'org'] = opts[:'org'] if !opts[:'org'].nil?
|
|
319
|
+
|
|
320
|
+
# header parameters
|
|
321
|
+
header_params = opts[:header_params] || {}
|
|
322
|
+
# HTTP header 'Accept' (if needed)
|
|
323
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
324
|
+
|
|
325
|
+
# form parameters
|
|
326
|
+
form_params = opts[:form_params] || {}
|
|
327
|
+
|
|
328
|
+
# http body (model)
|
|
329
|
+
post_body = opts[:debug_body]
|
|
330
|
+
|
|
331
|
+
# return_type
|
|
332
|
+
return_type = opts[:debug_return_type] || 'CDApp'
|
|
333
|
+
|
|
334
|
+
# auth_names
|
|
335
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
336
|
+
|
|
337
|
+
new_options = opts.merge(
|
|
338
|
+
:operation => :"PlatformApi.get_platform_apps_by_app_cd",
|
|
339
|
+
:header_params => header_params,
|
|
340
|
+
:query_params => query_params,
|
|
341
|
+
:form_params => form_params,
|
|
342
|
+
:body => post_body,
|
|
343
|
+
:auth_names => auth_names,
|
|
344
|
+
:return_type => return_type
|
|
345
|
+
)
|
|
346
|
+
|
|
347
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
348
|
+
if @api_client.config.debugging
|
|
349
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_platform_apps_by_app_cd\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
350
|
+
end
|
|
351
|
+
return data, status_code, headers
|
|
352
|
+
end
|
|
353
|
+
|
|
354
|
+
# Returns real build records for your org.
|
|
355
|
+
# Returns real build records for your org. It lists the org's BuildKit build records — the git build step behind a deploy — each with the repo it built, the short commit, its status, when it started and how long it took. These are real records or an honest empty list; a build appears here because one ran, never because a page needed a row. Builds are created only by /deploy and the push-to-deploy hook. Requires a validated principal; 403 without one.
|
|
356
|
+
# @param [Hash] opts the optional parameters
|
|
357
|
+
# @return [BuildBoard]
|
|
358
|
+
def get_platform_builds(opts = {})
|
|
359
|
+
data, _status_code, _headers = get_platform_builds_with_http_info(opts)
|
|
360
|
+
data
|
|
361
|
+
end
|
|
362
|
+
|
|
363
|
+
# Returns real build records for your org.
|
|
364
|
+
# Returns real build records for your org. It lists the org's BuildKit build records — the git build step behind a deploy — each with the repo it built, the short commit, its status, when it started and how long it took. These are real records or an honest empty list; a build appears here because one ran, never because a page needed a row. Builds are created only by /deploy and the push-to-deploy hook. Requires a validated principal; 403 without one.
|
|
365
|
+
# @param [Hash] opts the optional parameters
|
|
366
|
+
# @return [Array<(BuildBoard, Integer, Hash)>] BuildBoard data, response status code and response headers
|
|
367
|
+
def get_platform_builds_with_http_info(opts = {})
|
|
368
|
+
if @api_client.config.debugging
|
|
369
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_platform_builds ...'
|
|
370
|
+
end
|
|
371
|
+
# resource path
|
|
372
|
+
local_var_path = '/v1/platform/builds'
|
|
373
|
+
|
|
374
|
+
# query parameters
|
|
375
|
+
query_params = opts[:query_params] || {}
|
|
376
|
+
|
|
377
|
+
# header parameters
|
|
378
|
+
header_params = opts[:header_params] || {}
|
|
379
|
+
# HTTP header 'Accept' (if needed)
|
|
380
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
381
|
+
|
|
382
|
+
# form parameters
|
|
383
|
+
form_params = opts[:form_params] || {}
|
|
384
|
+
|
|
385
|
+
# http body (model)
|
|
386
|
+
post_body = opts[:debug_body]
|
|
387
|
+
|
|
388
|
+
# return_type
|
|
389
|
+
return_type = opts[:debug_return_type] || 'BuildBoard'
|
|
390
|
+
|
|
391
|
+
# auth_names
|
|
392
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
393
|
+
|
|
394
|
+
new_options = opts.merge(
|
|
395
|
+
:operation => :"PlatformApi.get_platform_builds",
|
|
396
|
+
:header_params => header_params,
|
|
397
|
+
:query_params => query_params,
|
|
398
|
+
:form_params => form_params,
|
|
399
|
+
:body => post_body,
|
|
400
|
+
:auth_names => auth_names,
|
|
401
|
+
:return_type => return_type
|
|
402
|
+
)
|
|
403
|
+
|
|
404
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
405
|
+
if @api_client.config.debugging
|
|
406
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_platform_builds\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
407
|
+
end
|
|
408
|
+
return data, status_code, headers
|
|
409
|
+
end
|
|
410
|
+
|
|
411
|
+
# Answers every Application the delivery plane holds.
|
|
412
|
+
# Answers every Application the delivery plane holds. Scoped to the namespaces the caller's own validated org owns: the ROLE admits the caller and the tenant boundary is applied inside, so an admin of one org never observes another's.
|
|
413
|
+
# @param [Hash] opts the optional parameters
|
|
414
|
+
# @return [CdResp]
|
|
415
|
+
def get_platform_cd(opts = {})
|
|
416
|
+
data, _status_code, _headers = get_platform_cd_with_http_info(opts)
|
|
417
|
+
data
|
|
418
|
+
end
|
|
419
|
+
|
|
420
|
+
# Answers every Application the delivery plane holds.
|
|
421
|
+
# Answers every Application the delivery plane holds. Scoped to the namespaces the caller's own validated org owns: the ROLE admits the caller and the tenant boundary is applied inside, so an admin of one org never observes another's.
|
|
422
|
+
# @param [Hash] opts the optional parameters
|
|
423
|
+
# @return [Array<(CdResp, Integer, Hash)>] CdResp data, response status code and response headers
|
|
424
|
+
def get_platform_cd_with_http_info(opts = {})
|
|
425
|
+
if @api_client.config.debugging
|
|
426
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_platform_cd ...'
|
|
427
|
+
end
|
|
428
|
+
# resource path
|
|
429
|
+
local_var_path = '/v1/platform/cd'
|
|
430
|
+
|
|
431
|
+
# query parameters
|
|
432
|
+
query_params = opts[:query_params] || {}
|
|
433
|
+
|
|
434
|
+
# header parameters
|
|
435
|
+
header_params = opts[:header_params] || {}
|
|
436
|
+
# HTTP header 'Accept' (if needed)
|
|
437
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
438
|
+
|
|
439
|
+
# form parameters
|
|
440
|
+
form_params = opts[:form_params] || {}
|
|
441
|
+
|
|
442
|
+
# http body (model)
|
|
443
|
+
post_body = opts[:debug_body]
|
|
444
|
+
|
|
445
|
+
# return_type
|
|
446
|
+
return_type = opts[:debug_return_type] || 'CdResp'
|
|
447
|
+
|
|
448
|
+
# auth_names
|
|
449
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
450
|
+
|
|
451
|
+
new_options = opts.merge(
|
|
452
|
+
:operation => :"PlatformApi.get_platform_cd",
|
|
453
|
+
:header_params => header_params,
|
|
454
|
+
:query_params => query_params,
|
|
455
|
+
:form_params => form_params,
|
|
456
|
+
:body => post_body,
|
|
457
|
+
:auth_names => auth_names,
|
|
458
|
+
:return_type => return_type
|
|
459
|
+
)
|
|
460
|
+
|
|
461
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
462
|
+
if @api_client.config.debugging
|
|
463
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_platform_cd\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
464
|
+
end
|
|
465
|
+
return data, status_code, headers
|
|
466
|
+
end
|
|
467
|
+
|
|
468
|
+
# Continuous integration (not wired)
|
|
469
|
+
# Answers 501. The forge's Actions runs need a Forgejo API client and this deployment has none; an empty run list would be indistinguishable from a forge with no runs.
|
|
470
|
+
# @param [Hash] opts the optional parameters
|
|
471
|
+
# @return [nil]
|
|
472
|
+
def get_platform_ci(opts = {})
|
|
473
|
+
get_platform_ci_with_http_info(opts)
|
|
474
|
+
nil
|
|
475
|
+
end
|
|
476
|
+
|
|
477
|
+
# Continuous integration (not wired)
|
|
478
|
+
# Answers 501. The forge's Actions runs need a Forgejo API client and this deployment has none; an empty run list would be indistinguishable from a forge with no runs.
|
|
479
|
+
# @param [Hash] opts the optional parameters
|
|
480
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
481
|
+
def get_platform_ci_with_http_info(opts = {})
|
|
482
|
+
if @api_client.config.debugging
|
|
483
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_platform_ci ...'
|
|
484
|
+
end
|
|
485
|
+
# resource path
|
|
486
|
+
local_var_path = '/v1/platform/ci'
|
|
487
|
+
|
|
488
|
+
# query parameters
|
|
489
|
+
query_params = opts[:query_params] || {}
|
|
490
|
+
|
|
491
|
+
# header parameters
|
|
492
|
+
header_params = opts[:header_params] || {}
|
|
493
|
+
|
|
494
|
+
# form parameters
|
|
495
|
+
form_params = opts[:form_params] || {}
|
|
496
|
+
|
|
497
|
+
# http body (model)
|
|
498
|
+
post_body = opts[:debug_body]
|
|
499
|
+
|
|
500
|
+
# return_type
|
|
501
|
+
return_type = opts[:debug_return_type]
|
|
502
|
+
|
|
503
|
+
# auth_names
|
|
504
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
505
|
+
|
|
506
|
+
new_options = opts.merge(
|
|
507
|
+
:operation => :"PlatformApi.get_platform_ci",
|
|
508
|
+
:header_params => header_params,
|
|
509
|
+
:query_params => query_params,
|
|
510
|
+
:form_params => form_params,
|
|
511
|
+
:body => post_body,
|
|
512
|
+
:auth_names => auth_names,
|
|
513
|
+
:return_type => return_type
|
|
514
|
+
)
|
|
515
|
+
|
|
516
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
517
|
+
if @api_client.config.debugging
|
|
518
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_platform_ci\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
519
|
+
end
|
|
520
|
+
return data, status_code, headers
|
|
521
|
+
end
|
|
522
|
+
|
|
523
|
+
# Returns your deploy targets, and what is running on each.
|
|
524
|
+
# Returns your deploy targets, and what is running on each. It returns the org's environments — the distinct deploy targets its applications name, `production` for anything that names none — each aggregating the apps that target it, a rolled-up status and when it last changed. An environment is DERIVED, not stored: there is nothing to create or delete here, and an environment exists exactly as long as an app points at it. Requires a validated principal; 403 without one.
|
|
525
|
+
# @param [Hash] opts the optional parameters
|
|
526
|
+
# @return [EnvironmentBoard]
|
|
527
|
+
def get_platform_environments(opts = {})
|
|
528
|
+
data, _status_code, _headers = get_platform_environments_with_http_info(opts)
|
|
529
|
+
data
|
|
530
|
+
end
|
|
531
|
+
|
|
532
|
+
# Returns your deploy targets, and what is running on each.
|
|
533
|
+
# Returns your deploy targets, and what is running on each. It returns the org's environments — the distinct deploy targets its applications name, `production` for anything that names none — each aggregating the apps that target it, a rolled-up status and when it last changed. An environment is DERIVED, not stored: there is nothing to create or delete here, and an environment exists exactly as long as an app points at it. Requires a validated principal; 403 without one.
|
|
534
|
+
# @param [Hash] opts the optional parameters
|
|
535
|
+
# @return [Array<(EnvironmentBoard, Integer, Hash)>] EnvironmentBoard data, response status code and response headers
|
|
536
|
+
def get_platform_environments_with_http_info(opts = {})
|
|
537
|
+
if @api_client.config.debugging
|
|
538
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_platform_environments ...'
|
|
539
|
+
end
|
|
540
|
+
# resource path
|
|
541
|
+
local_var_path = '/v1/platform/environments'
|
|
542
|
+
|
|
543
|
+
# query parameters
|
|
544
|
+
query_params = opts[:query_params] || {}
|
|
545
|
+
|
|
546
|
+
# header parameters
|
|
547
|
+
header_params = opts[:header_params] || {}
|
|
548
|
+
# HTTP header 'Accept' (if needed)
|
|
549
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
550
|
+
|
|
551
|
+
# form parameters
|
|
552
|
+
form_params = opts[:form_params] || {}
|
|
553
|
+
|
|
554
|
+
# http body (model)
|
|
555
|
+
post_body = opts[:debug_body]
|
|
556
|
+
|
|
557
|
+
# return_type
|
|
558
|
+
return_type = opts[:debug_return_type] || 'EnvironmentBoard'
|
|
559
|
+
|
|
560
|
+
# auth_names
|
|
561
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
562
|
+
|
|
563
|
+
new_options = opts.merge(
|
|
564
|
+
:operation => :"PlatformApi.get_platform_environments",
|
|
565
|
+
:header_params => header_params,
|
|
566
|
+
:query_params => query_params,
|
|
567
|
+
:form_params => form_params,
|
|
568
|
+
:body => post_body,
|
|
569
|
+
:auth_names => auth_names,
|
|
570
|
+
:return_type => return_type
|
|
571
|
+
)
|
|
572
|
+
|
|
573
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
574
|
+
if @api_client.config.debugging
|
|
575
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_platform_environments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
576
|
+
end
|
|
577
|
+
return data, status_code, headers
|
|
578
|
+
end
|
|
579
|
+
|
|
580
|
+
# Returns the platform's own service tier, and where it has drifted.
|
|
581
|
+
# Returns the platform's own service tier, and where it has drifted. It returns the board for the services the PLATFORM itself runs — iam, kms, gateway and the rest — as `{apps, summary}`: per service its environment, health, phase, the image tag its CR DECLARES, the tag actually running, and the drift between them, plus a summary counting the board green, yellow and red. This is not a customer surface. `/v1/platform/projects/:project/apps` is a tenant's apps; this is the tier those tenants run ON, which is why the two are named differently rather than sharing a prefix. Admission is scoped at the SCAN, before any CR is read: a platform SuperAdmin observes the whole fleet, an org admin observes only their own org's namespaces, and an org that owns none gets an empty board — a non-super caller never even lists another org's services. Narrow further with `env`, `health`, `org`, or `drift=1` for only what has drifted. It degrades honestly rather than failing whole: a namespace that does not exist is skipped, and a running-state read the caller cannot make leaves the running tag empty — an unknown, never a guess — while the declared, health and phase columns still render.
|
|
582
|
+
# @param [Hash] opts the optional parameters
|
|
583
|
+
# @option opts [String] :env Env narrows to one lifecycle env: main, test or dev.
|
|
584
|
+
# @option opts [String] :health Health narrows to one health colour: green, yellow or red.
|
|
585
|
+
# @option opts [String] :org Org narrows to one image namespace.
|
|
586
|
+
# @option opts [String] :drift Drift is `1` or `true` to show only rows that have actually drifted. It is a STRING and not a bool because those two spellings are exactly what the board has always accepted, and a bool would silently widen that to `?drift` alone and to `TRUE` — a behaviour change wearing a type change's clothes.
|
|
587
|
+
# @return [DriftBoard]
|
|
588
|
+
def get_platform_fleet(opts = {})
|
|
589
|
+
data, _status_code, _headers = get_platform_fleet_with_http_info(opts)
|
|
590
|
+
data
|
|
591
|
+
end
|
|
592
|
+
|
|
593
|
+
# Returns the platform's own service tier, and where it has drifted.
|
|
594
|
+
# Returns the platform's own service tier, and where it has drifted. It returns the board for the services the PLATFORM itself runs — iam, kms, gateway and the rest — as `{apps, summary}`: per service its environment, health, phase, the image tag its CR DECLARES, the tag actually running, and the drift between them, plus a summary counting the board green, yellow and red. This is not a customer surface. `/v1/platform/projects/:project/apps` is a tenant's apps; this is the tier those tenants run ON, which is why the two are named differently rather than sharing a prefix. Admission is scoped at the SCAN, before any CR is read: a platform SuperAdmin observes the whole fleet, an org admin observes only their own org's namespaces, and an org that owns none gets an empty board — a non-super caller never even lists another org's services. Narrow further with `env`, `health`, `org`, or `drift=1` for only what has drifted. It degrades honestly rather than failing whole: a namespace that does not exist is skipped, and a running-state read the caller cannot make leaves the running tag empty — an unknown, never a guess — while the declared, health and phase columns still render.
|
|
595
|
+
# @param [Hash] opts the optional parameters
|
|
596
|
+
# @option opts [String] :env Env narrows to one lifecycle env: main, test or dev.
|
|
597
|
+
# @option opts [String] :health Health narrows to one health colour: green, yellow or red.
|
|
598
|
+
# @option opts [String] :org Org narrows to one image namespace.
|
|
599
|
+
# @option opts [String] :drift Drift is `1` or `true` to show only rows that have actually drifted. It is a STRING and not a bool because those two spellings are exactly what the board has always accepted, and a bool would silently widen that to `?drift` alone and to `TRUE` — a behaviour change wearing a type change's clothes.
|
|
600
|
+
# @return [Array<(DriftBoard, Integer, Hash)>] DriftBoard data, response status code and response headers
|
|
601
|
+
def get_platform_fleet_with_http_info(opts = {})
|
|
602
|
+
if @api_client.config.debugging
|
|
603
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_platform_fleet ...'
|
|
604
|
+
end
|
|
605
|
+
# resource path
|
|
606
|
+
local_var_path = '/v1/platform/fleet'
|
|
607
|
+
|
|
608
|
+
# query parameters
|
|
609
|
+
query_params = opts[:query_params] || {}
|
|
610
|
+
query_params[:'env'] = opts[:'env'] if !opts[:'env'].nil?
|
|
611
|
+
query_params[:'health'] = opts[:'health'] if !opts[:'health'].nil?
|
|
612
|
+
query_params[:'org'] = opts[:'org'] if !opts[:'org'].nil?
|
|
613
|
+
query_params[:'drift'] = opts[:'drift'] if !opts[:'drift'].nil?
|
|
614
|
+
|
|
615
|
+
# header parameters
|
|
616
|
+
header_params = opts[:header_params] || {}
|
|
617
|
+
# HTTP header 'Accept' (if needed)
|
|
618
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
619
|
+
|
|
620
|
+
# form parameters
|
|
621
|
+
form_params = opts[:form_params] || {}
|
|
622
|
+
|
|
623
|
+
# http body (model)
|
|
624
|
+
post_body = opts[:debug_body]
|
|
625
|
+
|
|
626
|
+
# return_type
|
|
627
|
+
return_type = opts[:debug_return_type] || 'DriftBoard'
|
|
628
|
+
|
|
629
|
+
# auth_names
|
|
630
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
631
|
+
|
|
632
|
+
new_options = opts.merge(
|
|
633
|
+
:operation => :"PlatformApi.get_platform_fleet",
|
|
634
|
+
:header_params => header_params,
|
|
635
|
+
:query_params => query_params,
|
|
636
|
+
:form_params => form_params,
|
|
637
|
+
:body => post_body,
|
|
638
|
+
:auth_names => auth_names,
|
|
639
|
+
:return_type => return_type
|
|
640
|
+
)
|
|
641
|
+
|
|
642
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
643
|
+
if @api_client.config.debugging
|
|
644
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_platform_fleet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
645
|
+
end
|
|
646
|
+
return data, status_code, headers
|
|
647
|
+
end
|
|
648
|
+
|
|
649
|
+
# Returns one platform service, resolved to production by default.
|
|
650
|
+
# Returns one platform service, resolved to production by default. It returns a single platform service by its CR name, with the same declared-versus-running and drift facts the board carries. The name must be a DNS-1123 label; anything else is 400. Namespaces are scanned in lifecycle order — main, then test, then dev — and the first match wins, so a bare name resolves to PRODUCTION. The scan covers only the namespaces the caller is authorized for, so an org admin can never read a service outside their own org, and a name found in none of them is 404 rather than a leak.
|
|
651
|
+
# @param app [String] App is the service's CR name, from the path. It must be a DNS-1123 label.
|
|
652
|
+
# @param [Hash] opts the optional parameters
|
|
653
|
+
# @option opts [String] :env Env narrows the scan to one lifecycle env: main, test or dev. Omitted, the namespaces are scanned in lifecycle order and the first match wins, so a bare name resolves to PRODUCTION.
|
|
654
|
+
# @return [AppView]
|
|
655
|
+
def get_platform_fleet_by_app(app, opts = {})
|
|
656
|
+
data, _status_code, _headers = get_platform_fleet_by_app_with_http_info(app, opts)
|
|
657
|
+
data
|
|
658
|
+
end
|
|
659
|
+
|
|
660
|
+
# Returns one platform service, resolved to production by default.
|
|
661
|
+
# Returns one platform service, resolved to production by default. It returns a single platform service by its CR name, with the same declared-versus-running and drift facts the board carries. The name must be a DNS-1123 label; anything else is 400. Namespaces are scanned in lifecycle order — main, then test, then dev — and the first match wins, so a bare name resolves to PRODUCTION. The scan covers only the namespaces the caller is authorized for, so an org admin can never read a service outside their own org, and a name found in none of them is 404 rather than a leak.
|
|
662
|
+
# @param app [String] App is the service's CR name, from the path. It must be a DNS-1123 label.
|
|
663
|
+
# @param [Hash] opts the optional parameters
|
|
664
|
+
# @option opts [String] :env Env narrows the scan to one lifecycle env: main, test or dev. Omitted, the namespaces are scanned in lifecycle order and the first match wins, so a bare name resolves to PRODUCTION.
|
|
665
|
+
# @return [Array<(AppView, Integer, Hash)>] AppView data, response status code and response headers
|
|
666
|
+
def get_platform_fleet_by_app_with_http_info(app, opts = {})
|
|
667
|
+
if @api_client.config.debugging
|
|
668
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_platform_fleet_by_app ...'
|
|
669
|
+
end
|
|
670
|
+
# verify the required parameter 'app' is set
|
|
671
|
+
if @api_client.config.client_side_validation && app.nil?
|
|
672
|
+
fail ArgumentError, "Missing the required parameter 'app' when calling PlatformApi.get_platform_fleet_by_app"
|
|
673
|
+
end
|
|
674
|
+
# resource path
|
|
675
|
+
local_var_path = '/v1/platform/fleet/{app}'.sub('{' + 'app' + '}', CGI.escape(app.to_s))
|
|
676
|
+
|
|
677
|
+
# query parameters
|
|
678
|
+
query_params = opts[:query_params] || {}
|
|
679
|
+
query_params[:'env'] = opts[:'env'] if !opts[:'env'].nil?
|
|
680
|
+
|
|
681
|
+
# header parameters
|
|
682
|
+
header_params = opts[:header_params] || {}
|
|
683
|
+
# HTTP header 'Accept' (if needed)
|
|
684
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
685
|
+
|
|
686
|
+
# form parameters
|
|
687
|
+
form_params = opts[:form_params] || {}
|
|
688
|
+
|
|
689
|
+
# http body (model)
|
|
690
|
+
post_body = opts[:debug_body]
|
|
691
|
+
|
|
692
|
+
# return_type
|
|
693
|
+
return_type = opts[:debug_return_type] || 'AppView'
|
|
694
|
+
|
|
695
|
+
# auth_names
|
|
696
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
697
|
+
|
|
698
|
+
new_options = opts.merge(
|
|
699
|
+
:operation => :"PlatformApi.get_platform_fleet_by_app",
|
|
700
|
+
:header_params => header_params,
|
|
701
|
+
:query_params => query_params,
|
|
702
|
+
:form_params => form_params,
|
|
703
|
+
:body => post_body,
|
|
704
|
+
:auth_names => auth_names,
|
|
705
|
+
:return_type => return_type
|
|
706
|
+
)
|
|
707
|
+
|
|
708
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
709
|
+
if @api_client.config.debugging
|
|
710
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_platform_fleet_by_app\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
711
|
+
end
|
|
712
|
+
return data, status_code, headers
|
|
713
|
+
end
|
|
714
|
+
|
|
715
|
+
# Reports whether this control plane can actually deploy anything.
|
|
716
|
+
# Reports whether this control plane can actually deploy anything. A real probe, not a status page. It answers 200 only when the metadata store is open AND the cluster is genuinely reachable — proved by LISTING the operator App CRD, which settles reachability and CRD presence in one bounded call, and which is the exact question every deploy depends on. Anything else is 503 carrying the real reason and whether the CRD was found. A constructed cluster client proves nothing — it is built from a kubeconfig, not from a reachable apiserver — so this deliberately spends a round trip rather than reporting `ok` while every deploy fails. Not admin-gated: liveness has to be probe-able without a credential.
|
|
717
|
+
# @param [Hash] opts the optional parameters
|
|
718
|
+
# @return [Readiness]
|
|
719
|
+
def get_platform_health(opts = {})
|
|
720
|
+
data, _status_code, _headers = get_platform_health_with_http_info(opts)
|
|
721
|
+
data
|
|
722
|
+
end
|
|
723
|
+
|
|
724
|
+
# Reports whether this control plane can actually deploy anything.
|
|
725
|
+
# Reports whether this control plane can actually deploy anything. A real probe, not a status page. It answers 200 only when the metadata store is open AND the cluster is genuinely reachable — proved by LISTING the operator App CRD, which settles reachability and CRD presence in one bounded call, and which is the exact question every deploy depends on. Anything else is 503 carrying the real reason and whether the CRD was found. A constructed cluster client proves nothing — it is built from a kubeconfig, not from a reachable apiserver — so this deliberately spends a round trip rather than reporting `ok` while every deploy fails. Not admin-gated: liveness has to be probe-able without a credential.
|
|
726
|
+
# @param [Hash] opts the optional parameters
|
|
727
|
+
# @return [Array<(Readiness, Integer, Hash)>] Readiness data, response status code and response headers
|
|
728
|
+
def get_platform_health_with_http_info(opts = {})
|
|
729
|
+
if @api_client.config.debugging
|
|
730
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_platform_health ...'
|
|
731
|
+
end
|
|
732
|
+
# resource path
|
|
733
|
+
local_var_path = '/v1/platform/health'
|
|
734
|
+
|
|
735
|
+
# query parameters
|
|
736
|
+
query_params = opts[:query_params] || {}
|
|
737
|
+
|
|
738
|
+
# header parameters
|
|
739
|
+
header_params = opts[:header_params] || {}
|
|
740
|
+
# HTTP header 'Accept' (if needed)
|
|
741
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
742
|
+
|
|
743
|
+
# form parameters
|
|
744
|
+
form_params = opts[:form_params] || {}
|
|
745
|
+
|
|
746
|
+
# http body (model)
|
|
747
|
+
post_body = opts[:debug_body]
|
|
748
|
+
|
|
749
|
+
# return_type
|
|
750
|
+
return_type = opts[:debug_return_type] || 'Readiness'
|
|
751
|
+
|
|
752
|
+
# auth_names
|
|
753
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
754
|
+
|
|
755
|
+
new_options = opts.merge(
|
|
756
|
+
:operation => :"PlatformApi.get_platform_health",
|
|
757
|
+
:header_params => header_params,
|
|
758
|
+
:query_params => query_params,
|
|
759
|
+
:form_params => form_params,
|
|
760
|
+
:body => post_body,
|
|
761
|
+
:auth_names => auth_names,
|
|
762
|
+
:return_type => return_type
|
|
763
|
+
)
|
|
764
|
+
|
|
765
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
766
|
+
if @api_client.config.debugging
|
|
767
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_platform_health\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
768
|
+
end
|
|
769
|
+
return data, status_code, headers
|
|
770
|
+
end
|
|
771
|
+
|
|
772
|
+
# Returns one build-and-deploy pipeline per app, with its latest run.
|
|
773
|
+
# Returns one build-and-deploy pipeline per app, with its latest run. It returns one pipeline per application in the caller's org — its repo or image source, its current status, and when its most recent deployment ran and how long it took. A pipeline is a PROJECTION of an app plus its newest deployment, not a separate record: it comes into existence with the app and is triggered only through /deploy, never here. Requires a validated principal; 403 without one.
|
|
774
|
+
# @param [Hash] opts the optional parameters
|
|
775
|
+
# @return [PipelineBoard]
|
|
776
|
+
def get_platform_pipelines(opts = {})
|
|
777
|
+
data, _status_code, _headers = get_platform_pipelines_with_http_info(opts)
|
|
778
|
+
data
|
|
779
|
+
end
|
|
780
|
+
|
|
781
|
+
# Returns one build-and-deploy pipeline per app, with its latest run.
|
|
782
|
+
# Returns one build-and-deploy pipeline per app, with its latest run. It returns one pipeline per application in the caller's org — its repo or image source, its current status, and when its most recent deployment ran and how long it took. A pipeline is a PROJECTION of an app plus its newest deployment, not a separate record: it comes into existence with the app and is triggered only through /deploy, never here. Requires a validated principal; 403 without one.
|
|
783
|
+
# @param [Hash] opts the optional parameters
|
|
784
|
+
# @return [Array<(PipelineBoard, Integer, Hash)>] PipelineBoard data, response status code and response headers
|
|
785
|
+
def get_platform_pipelines_with_http_info(opts = {})
|
|
786
|
+
if @api_client.config.debugging
|
|
787
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_platform_pipelines ...'
|
|
788
|
+
end
|
|
789
|
+
# resource path
|
|
790
|
+
local_var_path = '/v1/platform/pipelines'
|
|
791
|
+
|
|
792
|
+
# query parameters
|
|
793
|
+
query_params = opts[:query_params] || {}
|
|
794
|
+
|
|
795
|
+
# header parameters
|
|
796
|
+
header_params = opts[:header_params] || {}
|
|
797
|
+
# HTTP header 'Accept' (if needed)
|
|
798
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
799
|
+
|
|
800
|
+
# form parameters
|
|
801
|
+
form_params = opts[:form_params] || {}
|
|
802
|
+
|
|
803
|
+
# http body (model)
|
|
804
|
+
post_body = opts[:debug_body]
|
|
805
|
+
|
|
806
|
+
# return_type
|
|
807
|
+
return_type = opts[:debug_return_type] || 'PipelineBoard'
|
|
808
|
+
|
|
809
|
+
# auth_names
|
|
810
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
811
|
+
|
|
812
|
+
new_options = opts.merge(
|
|
813
|
+
:operation => :"PlatformApi.get_platform_pipelines",
|
|
814
|
+
:header_params => header_params,
|
|
815
|
+
:query_params => query_params,
|
|
816
|
+
:form_params => form_params,
|
|
817
|
+
:body => post_body,
|
|
818
|
+
:auth_names => auth_names,
|
|
819
|
+
:return_type => return_type
|
|
820
|
+
)
|
|
821
|
+
|
|
822
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
823
|
+
if @api_client.config.debugging
|
|
824
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_platform_pipelines\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
825
|
+
end
|
|
826
|
+
return data, status_code, headers
|
|
827
|
+
end
|
|
828
|
+
|
|
829
|
+
# Returns your org's projects, each with how many apps live under it.
|
|
830
|
+
# Returns your org's projects, each with how many apps live under it. It lists the caller org's projects with the number of platform applications in each. A project is IAM's resource — it is created and deleted at /v1/iam/projects, never here — so this is the ONE projection IAM cannot serve: the project plus what the platform has put under it. Requires a validated principal; 403 without one, and the org comes from that validated identity rather than a request header. This is the console's first authenticated read, so a project store that is not yet initialised degrades to an EMPTY list rather than a 500 — a new org genuinely has zero projects — and the real cause is surfaced to operators instead of to the caller.
|
|
831
|
+
# @param [Hash] opts the optional parameters
|
|
832
|
+
# @return [Array<ProjectView>]
|
|
833
|
+
def get_platform_projects(opts = {})
|
|
834
|
+
data, _status_code, _headers = get_platform_projects_with_http_info(opts)
|
|
835
|
+
data
|
|
836
|
+
end
|
|
837
|
+
|
|
838
|
+
# Returns your org's projects, each with how many apps live under it.
|
|
839
|
+
# Returns your org's projects, each with how many apps live under it. It lists the caller org's projects with the number of platform applications in each. A project is IAM's resource — it is created and deleted at /v1/iam/projects, never here — so this is the ONE projection IAM cannot serve: the project plus what the platform has put under it. Requires a validated principal; 403 without one, and the org comes from that validated identity rather than a request header. This is the console's first authenticated read, so a project store that is not yet initialised degrades to an EMPTY list rather than a 500 — a new org genuinely has zero projects — and the real cause is surfaced to operators instead of to the caller.
|
|
840
|
+
# @param [Hash] opts the optional parameters
|
|
841
|
+
# @return [Array<(Array<ProjectView>, Integer, Hash)>] Array<ProjectView> data, response status code and response headers
|
|
842
|
+
def get_platform_projects_with_http_info(opts = {})
|
|
843
|
+
if @api_client.config.debugging
|
|
844
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_platform_projects ...'
|
|
845
|
+
end
|
|
846
|
+
# resource path
|
|
847
|
+
local_var_path = '/v1/platform/projects'
|
|
848
|
+
|
|
849
|
+
# query parameters
|
|
850
|
+
query_params = opts[:query_params] || {}
|
|
851
|
+
|
|
852
|
+
# header parameters
|
|
853
|
+
header_params = opts[:header_params] || {}
|
|
854
|
+
# HTTP header 'Accept' (if needed)
|
|
855
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
856
|
+
|
|
857
|
+
# form parameters
|
|
858
|
+
form_params = opts[:form_params] || {}
|
|
859
|
+
|
|
860
|
+
# http body (model)
|
|
861
|
+
post_body = opts[:debug_body]
|
|
862
|
+
|
|
863
|
+
# return_type
|
|
864
|
+
return_type = opts[:debug_return_type] || 'Array<ProjectView>'
|
|
865
|
+
|
|
866
|
+
# auth_names
|
|
867
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
868
|
+
|
|
869
|
+
new_options = opts.merge(
|
|
870
|
+
:operation => :"PlatformApi.get_platform_projects",
|
|
871
|
+
:header_params => header_params,
|
|
872
|
+
:query_params => query_params,
|
|
873
|
+
:form_params => form_params,
|
|
874
|
+
:body => post_body,
|
|
875
|
+
:auth_names => auth_names,
|
|
876
|
+
:return_type => return_type
|
|
877
|
+
)
|
|
878
|
+
|
|
879
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
880
|
+
if @api_client.config.debugging
|
|
881
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_platform_projects\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
882
|
+
end
|
|
883
|
+
return data, status_code, headers
|
|
884
|
+
end
|
|
885
|
+
|
|
886
|
+
# Returns one project and its app count.
|
|
887
|
+
# Returns one project and its app count. It returns a single project of the caller's org with the number of platform applications under it. A project this org does not have is 404, which is also what another tenant's project looks like from here. Requires a validated principal; 403 without one.
|
|
888
|
+
# @param project [String] Project is the project's name, from the path.
|
|
889
|
+
# @param [Hash] opts the optional parameters
|
|
890
|
+
# @return [ProjectView]
|
|
891
|
+
def get_platform_projects_by_project(project, opts = {})
|
|
892
|
+
data, _status_code, _headers = get_platform_projects_by_project_with_http_info(project, opts)
|
|
893
|
+
data
|
|
894
|
+
end
|
|
895
|
+
|
|
896
|
+
# Returns one project and its app count.
|
|
897
|
+
# Returns one project and its app count. It returns a single project of the caller's org with the number of platform applications under it. A project this org does not have is 404, which is also what another tenant's project looks like from here. Requires a validated principal; 403 without one.
|
|
898
|
+
# @param project [String] Project is the project's name, from the path.
|
|
899
|
+
# @param [Hash] opts the optional parameters
|
|
900
|
+
# @return [Array<(ProjectView, Integer, Hash)>] ProjectView data, response status code and response headers
|
|
901
|
+
def get_platform_projects_by_project_with_http_info(project, opts = {})
|
|
902
|
+
if @api_client.config.debugging
|
|
903
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_platform_projects_by_project ...'
|
|
904
|
+
end
|
|
905
|
+
# verify the required parameter 'project' is set
|
|
906
|
+
if @api_client.config.client_side_validation && project.nil?
|
|
907
|
+
fail ArgumentError, "Missing the required parameter 'project' when calling PlatformApi.get_platform_projects_by_project"
|
|
908
|
+
end
|
|
909
|
+
# resource path
|
|
910
|
+
local_var_path = '/v1/platform/projects/{project}'.sub('{' + 'project' + '}', CGI.escape(project.to_s))
|
|
911
|
+
|
|
912
|
+
# query parameters
|
|
913
|
+
query_params = opts[:query_params] || {}
|
|
914
|
+
|
|
915
|
+
# header parameters
|
|
916
|
+
header_params = opts[:header_params] || {}
|
|
917
|
+
# HTTP header 'Accept' (if needed)
|
|
918
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
919
|
+
|
|
920
|
+
# form parameters
|
|
921
|
+
form_params = opts[:form_params] || {}
|
|
922
|
+
|
|
923
|
+
# http body (model)
|
|
924
|
+
post_body = opts[:debug_body]
|
|
925
|
+
|
|
926
|
+
# return_type
|
|
927
|
+
return_type = opts[:debug_return_type] || 'ProjectView'
|
|
928
|
+
|
|
929
|
+
# auth_names
|
|
930
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
931
|
+
|
|
932
|
+
new_options = opts.merge(
|
|
933
|
+
:operation => :"PlatformApi.get_platform_projects_by_project",
|
|
934
|
+
:header_params => header_params,
|
|
935
|
+
:query_params => query_params,
|
|
936
|
+
:form_params => form_params,
|
|
937
|
+
:body => post_body,
|
|
938
|
+
:auth_names => auth_names,
|
|
939
|
+
:return_type => return_type
|
|
940
|
+
)
|
|
941
|
+
|
|
942
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
943
|
+
if @api_client.config.debugging
|
|
944
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_platform_projects_by_project\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
945
|
+
end
|
|
946
|
+
return data, status_code, headers
|
|
947
|
+
end
|
|
948
|
+
|
|
949
|
+
# Returns the applications in one project, with what the cluster says about them.
|
|
950
|
+
# Returns the applications in one project, with what the cluster says about them. It lists the caller org's applications under one project. Each row carries the stored record and, for an app that is live or deploying, the LIVE phase and health read from its operator Service CR; an app with sealed env also carries its secret-sync state. Those cluster reads are best-effort — an unreachable cluster leaves those fields empty and never blocks the listing. The project must exist in IAM for this org, or the answer is 404; the `default` project is implicit and always accepted, because it is part of what an org IS. Requires a validated principal; 403 without one.
|
|
951
|
+
# @param project [String] Project is the project's name, from the path.
|
|
952
|
+
# @param [Hash] opts the optional parameters
|
|
953
|
+
# @return [Array<AppView>]
|
|
954
|
+
def get_platform_projects_by_project_apps(project, opts = {})
|
|
955
|
+
data, _status_code, _headers = get_platform_projects_by_project_apps_with_http_info(project, opts)
|
|
956
|
+
data
|
|
957
|
+
end
|
|
958
|
+
|
|
959
|
+
# Returns the applications in one project, with what the cluster says about them.
|
|
960
|
+
# Returns the applications in one project, with what the cluster says about them. It lists the caller org's applications under one project. Each row carries the stored record and, for an app that is live or deploying, the LIVE phase and health read from its operator Service CR; an app with sealed env also carries its secret-sync state. Those cluster reads are best-effort — an unreachable cluster leaves those fields empty and never blocks the listing. The project must exist in IAM for this org, or the answer is 404; the `default` project is implicit and always accepted, because it is part of what an org IS. Requires a validated principal; 403 without one.
|
|
961
|
+
# @param project [String] Project is the project's name, from the path.
|
|
962
|
+
# @param [Hash] opts the optional parameters
|
|
963
|
+
# @return [Array<(Array<AppView>, Integer, Hash)>] Array<AppView> data, response status code and response headers
|
|
964
|
+
def get_platform_projects_by_project_apps_with_http_info(project, opts = {})
|
|
965
|
+
if @api_client.config.debugging
|
|
966
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_platform_projects_by_project_apps ...'
|
|
967
|
+
end
|
|
968
|
+
# verify the required parameter 'project' is set
|
|
969
|
+
if @api_client.config.client_side_validation && project.nil?
|
|
970
|
+
fail ArgumentError, "Missing the required parameter 'project' when calling PlatformApi.get_platform_projects_by_project_apps"
|
|
971
|
+
end
|
|
972
|
+
# resource path
|
|
973
|
+
local_var_path = '/v1/platform/projects/{project}/apps'.sub('{' + 'project' + '}', CGI.escape(project.to_s))
|
|
974
|
+
|
|
975
|
+
# query parameters
|
|
976
|
+
query_params = opts[:query_params] || {}
|
|
977
|
+
|
|
978
|
+
# header parameters
|
|
979
|
+
header_params = opts[:header_params] || {}
|
|
980
|
+
# HTTP header 'Accept' (if needed)
|
|
981
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
982
|
+
|
|
983
|
+
# form parameters
|
|
984
|
+
form_params = opts[:form_params] || {}
|
|
985
|
+
|
|
986
|
+
# http body (model)
|
|
987
|
+
post_body = opts[:debug_body]
|
|
988
|
+
|
|
989
|
+
# return_type
|
|
990
|
+
return_type = opts[:debug_return_type] || 'Array<AppView>'
|
|
991
|
+
|
|
992
|
+
# auth_names
|
|
993
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
994
|
+
|
|
995
|
+
new_options = opts.merge(
|
|
996
|
+
:operation => :"PlatformApi.get_platform_projects_by_project_apps",
|
|
997
|
+
:header_params => header_params,
|
|
998
|
+
:query_params => query_params,
|
|
999
|
+
:form_params => form_params,
|
|
1000
|
+
:body => post_body,
|
|
1001
|
+
:auth_names => auth_names,
|
|
1002
|
+
:return_type => return_type
|
|
1003
|
+
)
|
|
1004
|
+
|
|
1005
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1006
|
+
if @api_client.config.debugging
|
|
1007
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_platform_projects_by_project_apps\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1008
|
+
end
|
|
1009
|
+
return data, status_code, headers
|
|
1010
|
+
end
|
|
1011
|
+
|
|
1012
|
+
# Returns one application, with its live phase, health and secret sync.
|
|
1013
|
+
# Returns one application, with its live phase, health and secret sync. It returns a single application of the caller's org together with what the cluster currently reports for it: the operator Service CR's phase and health, and whether its sealed env has synced. An app this org and project do not have is 404. Requires a validated principal; 403 without one.
|
|
1014
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
1015
|
+
# @param app [String] App is the application's slug, from the path.
|
|
1016
|
+
# @param [Hash] opts the optional parameters
|
|
1017
|
+
# @return [AppView]
|
|
1018
|
+
def get_platform_projects_by_project_apps_by_app(project, app, opts = {})
|
|
1019
|
+
data, _status_code, _headers = get_platform_projects_by_project_apps_by_app_with_http_info(project, app, opts)
|
|
1020
|
+
data
|
|
1021
|
+
end
|
|
1022
|
+
|
|
1023
|
+
# Returns one application, with its live phase, health and secret sync.
|
|
1024
|
+
# Returns one application, with its live phase, health and secret sync. It returns a single application of the caller's org together with what the cluster currently reports for it: the operator Service CR's phase and health, and whether its sealed env has synced. An app this org and project do not have is 404. Requires a validated principal; 403 without one.
|
|
1025
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
1026
|
+
# @param app [String] App is the application's slug, from the path.
|
|
1027
|
+
# @param [Hash] opts the optional parameters
|
|
1028
|
+
# @return [Array<(AppView, Integer, Hash)>] AppView data, response status code and response headers
|
|
1029
|
+
def get_platform_projects_by_project_apps_by_app_with_http_info(project, app, opts = {})
|
|
1030
|
+
if @api_client.config.debugging
|
|
1031
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_platform_projects_by_project_apps_by_app ...'
|
|
1032
|
+
end
|
|
1033
|
+
# verify the required parameter 'project' is set
|
|
1034
|
+
if @api_client.config.client_side_validation && project.nil?
|
|
1035
|
+
fail ArgumentError, "Missing the required parameter 'project' when calling PlatformApi.get_platform_projects_by_project_apps_by_app"
|
|
1036
|
+
end
|
|
1037
|
+
# verify the required parameter 'app' is set
|
|
1038
|
+
if @api_client.config.client_side_validation && app.nil?
|
|
1039
|
+
fail ArgumentError, "Missing the required parameter 'app' when calling PlatformApi.get_platform_projects_by_project_apps_by_app"
|
|
1040
|
+
end
|
|
1041
|
+
# resource path
|
|
1042
|
+
local_var_path = '/v1/platform/projects/{project}/apps/{app}'.sub('{' + 'project' + '}', CGI.escape(project.to_s)).sub('{' + 'app' + '}', CGI.escape(app.to_s))
|
|
1043
|
+
|
|
1044
|
+
# query parameters
|
|
1045
|
+
query_params = opts[:query_params] || {}
|
|
1046
|
+
|
|
1047
|
+
# header parameters
|
|
1048
|
+
header_params = opts[:header_params] || {}
|
|
1049
|
+
# HTTP header 'Accept' (if needed)
|
|
1050
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1051
|
+
|
|
1052
|
+
# form parameters
|
|
1053
|
+
form_params = opts[:form_params] || {}
|
|
1054
|
+
|
|
1055
|
+
# http body (model)
|
|
1056
|
+
post_body = opts[:debug_body]
|
|
1057
|
+
|
|
1058
|
+
# return_type
|
|
1059
|
+
return_type = opts[:debug_return_type] || 'AppView'
|
|
1060
|
+
|
|
1061
|
+
# auth_names
|
|
1062
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
1063
|
+
|
|
1064
|
+
new_options = opts.merge(
|
|
1065
|
+
:operation => :"PlatformApi.get_platform_projects_by_project_apps_by_app",
|
|
1066
|
+
:header_params => header_params,
|
|
1067
|
+
:query_params => query_params,
|
|
1068
|
+
:form_params => form_params,
|
|
1069
|
+
:body => post_body,
|
|
1070
|
+
:auth_names => auth_names,
|
|
1071
|
+
:return_type => return_type
|
|
1072
|
+
)
|
|
1073
|
+
|
|
1074
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1075
|
+
if @api_client.config.debugging
|
|
1076
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_platform_projects_by_project_apps_by_app\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1077
|
+
end
|
|
1078
|
+
return data, status_code, headers
|
|
1079
|
+
end
|
|
1080
|
+
|
|
1081
|
+
# Returns an app's deployment history.
|
|
1082
|
+
# Returns an app's deployment history. It lists every deployment recorded for one of the caller org's applications, newest version first, each with its version, status, source, commit and image. Failed and superseded attempts are included — that is the point of a history. Requires a validated principal; 403 without one.
|
|
1083
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
1084
|
+
# @param app [String] App is the application's slug, from the path.
|
|
1085
|
+
# @param [Hash] opts the optional parameters
|
|
1086
|
+
# @return [Array<DeploymentView>]
|
|
1087
|
+
def get_platform_projects_by_project_apps_by_app_deployments(project, app, opts = {})
|
|
1088
|
+
data, _status_code, _headers = get_platform_projects_by_project_apps_by_app_deployments_with_http_info(project, app, opts)
|
|
1089
|
+
data
|
|
1090
|
+
end
|
|
1091
|
+
|
|
1092
|
+
# Returns an app's deployment history.
|
|
1093
|
+
# Returns an app's deployment history. It lists every deployment recorded for one of the caller org's applications, newest version first, each with its version, status, source, commit and image. Failed and superseded attempts are included — that is the point of a history. Requires a validated principal; 403 without one.
|
|
1094
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
1095
|
+
# @param app [String] App is the application's slug, from the path.
|
|
1096
|
+
# @param [Hash] opts the optional parameters
|
|
1097
|
+
# @return [Array<(Array<DeploymentView>, Integer, Hash)>] Array<DeploymentView> data, response status code and response headers
|
|
1098
|
+
def get_platform_projects_by_project_apps_by_app_deployments_with_http_info(project, app, opts = {})
|
|
1099
|
+
if @api_client.config.debugging
|
|
1100
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_platform_projects_by_project_apps_by_app_deployments ...'
|
|
1101
|
+
end
|
|
1102
|
+
# verify the required parameter 'project' is set
|
|
1103
|
+
if @api_client.config.client_side_validation && project.nil?
|
|
1104
|
+
fail ArgumentError, "Missing the required parameter 'project' when calling PlatformApi.get_platform_projects_by_project_apps_by_app_deployments"
|
|
1105
|
+
end
|
|
1106
|
+
# verify the required parameter 'app' is set
|
|
1107
|
+
if @api_client.config.client_side_validation && app.nil?
|
|
1108
|
+
fail ArgumentError, "Missing the required parameter 'app' when calling PlatformApi.get_platform_projects_by_project_apps_by_app_deployments"
|
|
1109
|
+
end
|
|
1110
|
+
# resource path
|
|
1111
|
+
local_var_path = '/v1/platform/projects/{project}/apps/{app}/deployments'.sub('{' + 'project' + '}', CGI.escape(project.to_s)).sub('{' + 'app' + '}', CGI.escape(app.to_s))
|
|
1112
|
+
|
|
1113
|
+
# query parameters
|
|
1114
|
+
query_params = opts[:query_params] || {}
|
|
1115
|
+
|
|
1116
|
+
# header parameters
|
|
1117
|
+
header_params = opts[:header_params] || {}
|
|
1118
|
+
# HTTP header 'Accept' (if needed)
|
|
1119
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1120
|
+
|
|
1121
|
+
# form parameters
|
|
1122
|
+
form_params = opts[:form_params] || {}
|
|
1123
|
+
|
|
1124
|
+
# http body (model)
|
|
1125
|
+
post_body = opts[:debug_body]
|
|
1126
|
+
|
|
1127
|
+
# return_type
|
|
1128
|
+
return_type = opts[:debug_return_type] || 'Array<DeploymentView>'
|
|
1129
|
+
|
|
1130
|
+
# auth_names
|
|
1131
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
1132
|
+
|
|
1133
|
+
new_options = opts.merge(
|
|
1134
|
+
:operation => :"PlatformApi.get_platform_projects_by_project_apps_by_app_deployments",
|
|
1135
|
+
:header_params => header_params,
|
|
1136
|
+
:query_params => query_params,
|
|
1137
|
+
:form_params => form_params,
|
|
1138
|
+
:body => post_body,
|
|
1139
|
+
:auth_names => auth_names,
|
|
1140
|
+
:return_type => return_type
|
|
1141
|
+
)
|
|
1142
|
+
|
|
1143
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1144
|
+
if @api_client.config.debugging
|
|
1145
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_platform_projects_by_project_apps_by_app_deployments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1146
|
+
end
|
|
1147
|
+
return data, status_code, headers
|
|
1148
|
+
end
|
|
1149
|
+
|
|
1150
|
+
# Returns one deployment of one app.
|
|
1151
|
+
# Returns one deployment of one app. It returns a single deployment by id, scoped to the named application of the caller's org — so an id belonging to another app or another tenant is 404, not a read. Requires a validated principal; 403 without one.
|
|
1152
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
1153
|
+
# @param app [String] App is the application's slug, from the path.
|
|
1154
|
+
# @param id [String] ID is the deployment's id, from the path.
|
|
1155
|
+
# @param [Hash] opts the optional parameters
|
|
1156
|
+
# @return [DeploymentView]
|
|
1157
|
+
def get_platform_projects_by_project_apps_by_app_deployments_by_id(project, app, id, opts = {})
|
|
1158
|
+
data, _status_code, _headers = get_platform_projects_by_project_apps_by_app_deployments_by_id_with_http_info(project, app, id, opts)
|
|
1159
|
+
data
|
|
1160
|
+
end
|
|
1161
|
+
|
|
1162
|
+
# Returns one deployment of one app.
|
|
1163
|
+
# Returns one deployment of one app. It returns a single deployment by id, scoped to the named application of the caller's org — so an id belonging to another app or another tenant is 404, not a read. Requires a validated principal; 403 without one.
|
|
1164
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
1165
|
+
# @param app [String] App is the application's slug, from the path.
|
|
1166
|
+
# @param id [String] ID is the deployment's id, from the path.
|
|
1167
|
+
# @param [Hash] opts the optional parameters
|
|
1168
|
+
# @return [Array<(DeploymentView, Integer, Hash)>] DeploymentView data, response status code and response headers
|
|
1169
|
+
def get_platform_projects_by_project_apps_by_app_deployments_by_id_with_http_info(project, app, id, opts = {})
|
|
1170
|
+
if @api_client.config.debugging
|
|
1171
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_platform_projects_by_project_apps_by_app_deployments_by_id ...'
|
|
1172
|
+
end
|
|
1173
|
+
# verify the required parameter 'project' is set
|
|
1174
|
+
if @api_client.config.client_side_validation && project.nil?
|
|
1175
|
+
fail ArgumentError, "Missing the required parameter 'project' when calling PlatformApi.get_platform_projects_by_project_apps_by_app_deployments_by_id"
|
|
1176
|
+
end
|
|
1177
|
+
# verify the required parameter 'app' is set
|
|
1178
|
+
if @api_client.config.client_side_validation && app.nil?
|
|
1179
|
+
fail ArgumentError, "Missing the required parameter 'app' when calling PlatformApi.get_platform_projects_by_project_apps_by_app_deployments_by_id"
|
|
1180
|
+
end
|
|
1181
|
+
# verify the required parameter 'id' is set
|
|
1182
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1183
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.get_platform_projects_by_project_apps_by_app_deployments_by_id"
|
|
1184
|
+
end
|
|
1185
|
+
# resource path
|
|
1186
|
+
local_var_path = '/v1/platform/projects/{project}/apps/{app}/deployments/{id}'.sub('{' + 'project' + '}', CGI.escape(project.to_s)).sub('{' + 'app' + '}', CGI.escape(app.to_s)).sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1187
|
+
|
|
1188
|
+
# query parameters
|
|
1189
|
+
query_params = opts[:query_params] || {}
|
|
1190
|
+
|
|
1191
|
+
# header parameters
|
|
1192
|
+
header_params = opts[:header_params] || {}
|
|
1193
|
+
# HTTP header 'Accept' (if needed)
|
|
1194
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1195
|
+
|
|
1196
|
+
# form parameters
|
|
1197
|
+
form_params = opts[:form_params] || {}
|
|
1198
|
+
|
|
1199
|
+
# http body (model)
|
|
1200
|
+
post_body = opts[:debug_body]
|
|
1201
|
+
|
|
1202
|
+
# return_type
|
|
1203
|
+
return_type = opts[:debug_return_type] || 'DeploymentView'
|
|
1204
|
+
|
|
1205
|
+
# auth_names
|
|
1206
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
1207
|
+
|
|
1208
|
+
new_options = opts.merge(
|
|
1209
|
+
:operation => :"PlatformApi.get_platform_projects_by_project_apps_by_app_deployments_by_id",
|
|
1210
|
+
:header_params => header_params,
|
|
1211
|
+
:query_params => query_params,
|
|
1212
|
+
:form_params => form_params,
|
|
1213
|
+
:body => post_body,
|
|
1214
|
+
:auth_names => auth_names,
|
|
1215
|
+
:return_type => return_type
|
|
1216
|
+
)
|
|
1217
|
+
|
|
1218
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1219
|
+
if @api_client.config.debugging
|
|
1220
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_platform_projects_by_project_apps_by_app_deployments_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1221
|
+
end
|
|
1222
|
+
return data, status_code, headers
|
|
1223
|
+
end
|
|
1224
|
+
|
|
1225
|
+
# Returns real logs for a deployment — the build's, then the app's.
|
|
1226
|
+
# Returns real logs for a deployment — the build's, then the app's. It returns the deployment's recorded status timeline together with LIVE pod logs pulled from the cluster: the build pod's output while a git build is running, and the running app's output once it is deployed. The `source` field says which of the two the body is — `build`, `app` or `none` — so a console can label the pane honestly. It never fabricates log content. When no pod exists yet, or the cluster is unreachable, it degrades to the recorded timeline and says so. Every cluster read is confined to the caller org's own namespaces and time-boxed. Requires a validated principal; 403 without one.
|
|
1227
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
1228
|
+
# @param app [String] App is the application's slug, from the path.
|
|
1229
|
+
# @param id [String] ID is the deployment's id, from the path.
|
|
1230
|
+
# @param [Hash] opts the optional parameters
|
|
1231
|
+
# @return [DeployLogs]
|
|
1232
|
+
def get_platform_projects_by_project_apps_by_app_deployments_by_id_logs(project, app, id, opts = {})
|
|
1233
|
+
data, _status_code, _headers = get_platform_projects_by_project_apps_by_app_deployments_by_id_logs_with_http_info(project, app, id, opts)
|
|
1234
|
+
data
|
|
1235
|
+
end
|
|
1236
|
+
|
|
1237
|
+
# Returns real logs for a deployment — the build's, then the app's.
|
|
1238
|
+
# Returns real logs for a deployment — the build's, then the app's. It returns the deployment's recorded status timeline together with LIVE pod logs pulled from the cluster: the build pod's output while a git build is running, and the running app's output once it is deployed. The `source` field says which of the two the body is — `build`, `app` or `none` — so a console can label the pane honestly. It never fabricates log content. When no pod exists yet, or the cluster is unreachable, it degrades to the recorded timeline and says so. Every cluster read is confined to the caller org's own namespaces and time-boxed. Requires a validated principal; 403 without one.
|
|
1239
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
1240
|
+
# @param app [String] App is the application's slug, from the path.
|
|
1241
|
+
# @param id [String] ID is the deployment's id, from the path.
|
|
1242
|
+
# @param [Hash] opts the optional parameters
|
|
1243
|
+
# @return [Array<(DeployLogs, Integer, Hash)>] DeployLogs data, response status code and response headers
|
|
1244
|
+
def get_platform_projects_by_project_apps_by_app_deployments_by_id_logs_with_http_info(project, app, id, opts = {})
|
|
1245
|
+
if @api_client.config.debugging
|
|
1246
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_platform_projects_by_project_apps_by_app_deployments_by_id_logs ...'
|
|
1247
|
+
end
|
|
1248
|
+
# verify the required parameter 'project' is set
|
|
1249
|
+
if @api_client.config.client_side_validation && project.nil?
|
|
1250
|
+
fail ArgumentError, "Missing the required parameter 'project' when calling PlatformApi.get_platform_projects_by_project_apps_by_app_deployments_by_id_logs"
|
|
1251
|
+
end
|
|
1252
|
+
# verify the required parameter 'app' is set
|
|
1253
|
+
if @api_client.config.client_side_validation && app.nil?
|
|
1254
|
+
fail ArgumentError, "Missing the required parameter 'app' when calling PlatformApi.get_platform_projects_by_project_apps_by_app_deployments_by_id_logs"
|
|
1255
|
+
end
|
|
1256
|
+
# verify the required parameter 'id' is set
|
|
1257
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1258
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.get_platform_projects_by_project_apps_by_app_deployments_by_id_logs"
|
|
1259
|
+
end
|
|
1260
|
+
# resource path
|
|
1261
|
+
local_var_path = '/v1/platform/projects/{project}/apps/{app}/deployments/{id}/logs'.sub('{' + 'project' + '}', CGI.escape(project.to_s)).sub('{' + 'app' + '}', CGI.escape(app.to_s)).sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1262
|
+
|
|
1263
|
+
# query parameters
|
|
1264
|
+
query_params = opts[:query_params] || {}
|
|
1265
|
+
|
|
1266
|
+
# header parameters
|
|
1267
|
+
header_params = opts[:header_params] || {}
|
|
1268
|
+
# HTTP header 'Accept' (if needed)
|
|
1269
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1270
|
+
|
|
1271
|
+
# form parameters
|
|
1272
|
+
form_params = opts[:form_params] || {}
|
|
1273
|
+
|
|
1274
|
+
# http body (model)
|
|
1275
|
+
post_body = opts[:debug_body]
|
|
1276
|
+
|
|
1277
|
+
# return_type
|
|
1278
|
+
return_type = opts[:debug_return_type] || 'DeployLogs'
|
|
1279
|
+
|
|
1280
|
+
# auth_names
|
|
1281
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
1282
|
+
|
|
1283
|
+
new_options = opts.merge(
|
|
1284
|
+
:operation => :"PlatformApi.get_platform_projects_by_project_apps_by_app_deployments_by_id_logs",
|
|
1285
|
+
:header_params => header_params,
|
|
1286
|
+
:query_params => query_params,
|
|
1287
|
+
:form_params => form_params,
|
|
1288
|
+
:body => post_body,
|
|
1289
|
+
:auth_names => auth_names,
|
|
1290
|
+
:return_type => return_type
|
|
1291
|
+
)
|
|
1292
|
+
|
|
1293
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1294
|
+
if @api_client.config.debugging
|
|
1295
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_platform_projects_by_project_apps_by_app_deployments_by_id_logs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1296
|
+
end
|
|
1297
|
+
return data, status_code, headers
|
|
1298
|
+
end
|
|
1299
|
+
|
|
1300
|
+
# Returns every hostname this app answers on.
|
|
1301
|
+
# Returns every hostname this app answers on. It lists the app's hosts: the permanent default host it was born with, any org-subtree hosts attached to it, and every custom host claimed for it with its verification state and, while pending, the DNS challenge records to publish. Live endpoint status for each host is observed from the cluster. Requires a validated principal; 403 without one.
|
|
1302
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
1303
|
+
# @param app [String] App is the application's slug, from the path.
|
|
1304
|
+
# @param [Hash] opts the optional parameters
|
|
1305
|
+
# @return [Array<DomainView>]
|
|
1306
|
+
def get_platform_projects_by_project_apps_by_app_domains(project, app, opts = {})
|
|
1307
|
+
data, _status_code, _headers = get_platform_projects_by_project_apps_by_app_domains_with_http_info(project, app, opts)
|
|
1308
|
+
data
|
|
1309
|
+
end
|
|
1310
|
+
|
|
1311
|
+
# Returns every hostname this app answers on.
|
|
1312
|
+
# Returns every hostname this app answers on. It lists the app's hosts: the permanent default host it was born with, any org-subtree hosts attached to it, and every custom host claimed for it with its verification state and, while pending, the DNS challenge records to publish. Live endpoint status for each host is observed from the cluster. Requires a validated principal; 403 without one.
|
|
1313
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
1314
|
+
# @param app [String] App is the application's slug, from the path.
|
|
1315
|
+
# @param [Hash] opts the optional parameters
|
|
1316
|
+
# @return [Array<(Array<DomainView>, Integer, Hash)>] Array<DomainView> data, response status code and response headers
|
|
1317
|
+
def get_platform_projects_by_project_apps_by_app_domains_with_http_info(project, app, opts = {})
|
|
1318
|
+
if @api_client.config.debugging
|
|
1319
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_platform_projects_by_project_apps_by_app_domains ...'
|
|
1320
|
+
end
|
|
1321
|
+
# verify the required parameter 'project' is set
|
|
1322
|
+
if @api_client.config.client_side_validation && project.nil?
|
|
1323
|
+
fail ArgumentError, "Missing the required parameter 'project' when calling PlatformApi.get_platform_projects_by_project_apps_by_app_domains"
|
|
1324
|
+
end
|
|
1325
|
+
# verify the required parameter 'app' is set
|
|
1326
|
+
if @api_client.config.client_side_validation && app.nil?
|
|
1327
|
+
fail ArgumentError, "Missing the required parameter 'app' when calling PlatformApi.get_platform_projects_by_project_apps_by_app_domains"
|
|
1328
|
+
end
|
|
1329
|
+
# resource path
|
|
1330
|
+
local_var_path = '/v1/platform/projects/{project}/apps/{app}/domains'.sub('{' + 'project' + '}', CGI.escape(project.to_s)).sub('{' + 'app' + '}', CGI.escape(app.to_s))
|
|
1331
|
+
|
|
1332
|
+
# query parameters
|
|
1333
|
+
query_params = opts[:query_params] || {}
|
|
1334
|
+
|
|
1335
|
+
# header parameters
|
|
1336
|
+
header_params = opts[:header_params] || {}
|
|
1337
|
+
# HTTP header 'Accept' (if needed)
|
|
1338
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1339
|
+
|
|
1340
|
+
# form parameters
|
|
1341
|
+
form_params = opts[:form_params] || {}
|
|
1342
|
+
|
|
1343
|
+
# http body (model)
|
|
1344
|
+
post_body = opts[:debug_body]
|
|
1345
|
+
|
|
1346
|
+
# return_type
|
|
1347
|
+
return_type = opts[:debug_return_type] || 'Array<DomainView>'
|
|
1348
|
+
|
|
1349
|
+
# auth_names
|
|
1350
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
1351
|
+
|
|
1352
|
+
new_options = opts.merge(
|
|
1353
|
+
:operation => :"PlatformApi.get_platform_projects_by_project_apps_by_app_domains",
|
|
1354
|
+
:header_params => header_params,
|
|
1355
|
+
:query_params => query_params,
|
|
1356
|
+
:form_params => form_params,
|
|
1357
|
+
:body => post_body,
|
|
1358
|
+
:auth_names => auth_names,
|
|
1359
|
+
:return_type => return_type
|
|
1360
|
+
)
|
|
1361
|
+
|
|
1362
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1363
|
+
if @api_client.config.debugging
|
|
1364
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_platform_projects_by_project_apps_by_app_domains\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1365
|
+
end
|
|
1366
|
+
return data, status_code, headers
|
|
1367
|
+
end
|
|
1368
|
+
|
|
1369
|
+
# Returns the versions that actually reached the cluster.
|
|
1370
|
+
# Returns the versions that actually reached the cluster. It lists the org's releases: the deployments that were genuinely applied to the cluster, with the app they belong to, their version, environment, status and when they were released. A deployment that failed or is still building is NOT a release and is excluded — reaching the cluster is what makes one. Requires a validated principal; 403 without one.
|
|
1371
|
+
# @param [Hash] opts the optional parameters
|
|
1372
|
+
# @return [ReleaseBoard]
|
|
1373
|
+
def get_platform_releases(opts = {})
|
|
1374
|
+
data, _status_code, _headers = get_platform_releases_with_http_info(opts)
|
|
1375
|
+
data
|
|
1376
|
+
end
|
|
1377
|
+
|
|
1378
|
+
# Returns the versions that actually reached the cluster.
|
|
1379
|
+
# Returns the versions that actually reached the cluster. It lists the org's releases: the deployments that were genuinely applied to the cluster, with the app they belong to, their version, environment, status and when they were released. A deployment that failed or is still building is NOT a release and is excluded — reaching the cluster is what makes one. Requires a validated principal; 403 without one.
|
|
1380
|
+
# @param [Hash] opts the optional parameters
|
|
1381
|
+
# @return [Array<(ReleaseBoard, Integer, Hash)>] ReleaseBoard data, response status code and response headers
|
|
1382
|
+
def get_platform_releases_with_http_info(opts = {})
|
|
1383
|
+
if @api_client.config.debugging
|
|
1384
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_platform_releases ...'
|
|
1385
|
+
end
|
|
1386
|
+
# resource path
|
|
1387
|
+
local_var_path = '/v1/platform/releases'
|
|
1388
|
+
|
|
1389
|
+
# query parameters
|
|
1390
|
+
query_params = opts[:query_params] || {}
|
|
1391
|
+
|
|
1392
|
+
# header parameters
|
|
1393
|
+
header_params = opts[:header_params] || {}
|
|
1394
|
+
# HTTP header 'Accept' (if needed)
|
|
1395
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1396
|
+
|
|
1397
|
+
# form parameters
|
|
1398
|
+
form_params = opts[:form_params] || {}
|
|
1399
|
+
|
|
1400
|
+
# http body (model)
|
|
1401
|
+
post_body = opts[:debug_body]
|
|
1402
|
+
|
|
1403
|
+
# return_type
|
|
1404
|
+
return_type = opts[:debug_return_type] || 'ReleaseBoard'
|
|
1405
|
+
|
|
1406
|
+
# auth_names
|
|
1407
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
1408
|
+
|
|
1409
|
+
new_options = opts.merge(
|
|
1410
|
+
:operation => :"PlatformApi.get_platform_releases",
|
|
1411
|
+
:header_params => header_params,
|
|
1412
|
+
:query_params => query_params,
|
|
1413
|
+
:form_params => form_params,
|
|
1414
|
+
:body => post_body,
|
|
1415
|
+
:auth_names => auth_names,
|
|
1416
|
+
:return_type => return_type
|
|
1417
|
+
)
|
|
1418
|
+
|
|
1419
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1420
|
+
if @api_client.config.debugging
|
|
1421
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_platform_releases\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1422
|
+
end
|
|
1423
|
+
return data, status_code, headers
|
|
1424
|
+
end
|
|
1425
|
+
|
|
1426
|
+
# Deploy an app through cd.hanzo.ai
|
|
1427
|
+
# Builds a git repository into an image and writes the declaration that names it — a values file in `hanzoai/universe` under `charts/app/values/<namespace>/<name>.yaml`, which the `fleet` ApplicationSet renders as one Application. That file IS the deployment: nothing else has to be applied. `mode` decides whether anything can go live. The default, `branch`, pushes to `deploy/<namespace>/<name>/<tag>` and returns a review URL; the generator reads main, so a branch declaration deploys NOTHING and merging the review is the deliberate act. `commit` writes main, and proves the image is pullable first — a declaration naming an image the registry cannot serve is an ImagePullBackOff with no rollback path. Omit `tag` to build; give it to declare an image an earlier call already built, which is how a green build is released without rebuilding it. An org is its name: the values DIRECTORY, the destination NAMESPACE and the AppProject FENCE are all `<org>`, and the image is `<registry>/<org>/<app>`. None of them is a request field — the directory decides what CD admits the sync under and the repository decides what the cluster pulls, so a caller who could name either could reach outside its own org. `org` is an ACT-AS, not a placement field: it defaults to the caller's own, and naming another requires SuperAdmin. So does naming a RESERVED org — the platform's own namespace family (the brands and their environments, the control and delivery planes, `admin`) — even when it is the caller's own, because an IAM org named `kube-system` does not own Kubernetes. Both refuse rather than downgrade, so an escape attempt is never indistinguishable from a normal request. A host outside the caller's org subtree is refused: claim and verify a custom domain first.
|
|
1428
|
+
# @param [Hash] opts the optional parameters
|
|
1429
|
+
# @return [nil]
|
|
1430
|
+
def post_platform_apps(opts = {})
|
|
1431
|
+
post_platform_apps_with_http_info(opts)
|
|
1432
|
+
nil
|
|
1433
|
+
end
|
|
1434
|
+
|
|
1435
|
+
# Deploy an app through cd.hanzo.ai
|
|
1436
|
+
# Builds a git repository into an image and writes the declaration that names it — a values file in `hanzoai/universe` under `charts/app/values/<namespace>/<name>.yaml`, which the `fleet` ApplicationSet renders as one Application. That file IS the deployment: nothing else has to be applied. `mode` decides whether anything can go live. The default, `branch`, pushes to `deploy/<namespace>/<name>/<tag>` and returns a review URL; the generator reads main, so a branch declaration deploys NOTHING and merging the review is the deliberate act. `commit` writes main, and proves the image is pullable first — a declaration naming an image the registry cannot serve is an ImagePullBackOff with no rollback path. Omit `tag` to build; give it to declare an image an earlier call already built, which is how a green build is released without rebuilding it. An org is its name: the values DIRECTORY, the destination NAMESPACE and the AppProject FENCE are all `<org>`, and the image is `<registry>/<org>/<app>`. None of them is a request field — the directory decides what CD admits the sync under and the repository decides what the cluster pulls, so a caller who could name either could reach outside its own org. `org` is an ACT-AS, not a placement field: it defaults to the caller's own, and naming another requires SuperAdmin. So does naming a RESERVED org — the platform's own namespace family (the brands and their environments, the control and delivery planes, `admin`) — even when it is the caller's own, because an IAM org named `kube-system` does not own Kubernetes. Both refuse rather than downgrade, so an escape attempt is never indistinguishable from a normal request. A host outside the caller's org subtree is refused: claim and verify a custom domain first.
|
|
1437
|
+
# @param [Hash] opts the optional parameters
|
|
1438
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
1439
|
+
def post_platform_apps_with_http_info(opts = {})
|
|
1440
|
+
if @api_client.config.debugging
|
|
1441
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.post_platform_apps ...'
|
|
1442
|
+
end
|
|
1443
|
+
# resource path
|
|
1444
|
+
local_var_path = '/v1/platform/apps'
|
|
1445
|
+
|
|
1446
|
+
# query parameters
|
|
1447
|
+
query_params = opts[:query_params] || {}
|
|
1448
|
+
|
|
1449
|
+
# header parameters
|
|
1450
|
+
header_params = opts[:header_params] || {}
|
|
1451
|
+
|
|
1452
|
+
# form parameters
|
|
1453
|
+
form_params = opts[:form_params] || {}
|
|
1454
|
+
|
|
1455
|
+
# http body (model)
|
|
1456
|
+
post_body = opts[:debug_body]
|
|
1457
|
+
|
|
1458
|
+
# return_type
|
|
1459
|
+
return_type = opts[:debug_return_type]
|
|
1460
|
+
|
|
1461
|
+
# auth_names
|
|
1462
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
1463
|
+
|
|
1464
|
+
new_options = opts.merge(
|
|
1465
|
+
:operation => :"PlatformApi.post_platform_apps",
|
|
1466
|
+
:header_params => header_params,
|
|
1467
|
+
:query_params => query_params,
|
|
1468
|
+
:form_params => form_params,
|
|
1469
|
+
:body => post_body,
|
|
1470
|
+
:auth_names => auth_names,
|
|
1471
|
+
:return_type => return_type
|
|
1472
|
+
)
|
|
1473
|
+
|
|
1474
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1475
|
+
if @api_client.config.debugging
|
|
1476
|
+
@api_client.config.logger.debug "API called: PlatformApi#post_platform_apps\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1477
|
+
end
|
|
1478
|
+
return data, status_code, headers
|
|
1479
|
+
end
|
|
1480
|
+
|
|
1481
|
+
# Rolls a platform service's pods, in a named environment.
|
|
1482
|
+
# Rolls a platform service's pods, in a named environment. It triggers a rolling restart of one platform service's Deployment by stamping a fresh restart annotation, and answers 202 with the app, the namespace, the environment and the timestamp. It restarts pods; it does NOT change the image — a version change is the release path, not this. SuperAdmin ONLY, and deliberately narrower than the read gate beside it. The only namespaces this board touches are the platform's own tier, so a restart here recycles a SHARED service every tenant depends on. A brand-org admin is a customer-org admin, not a platform operator: observing the board is bounded and audited, and restarting production identity is not. `?env=main|test|dev` is REQUIRED — a bare call does not default to production, which is what closes the fat-finger and confused-deputy hazard — and any other value is 400. A service with no Deployment to restart in that environment is 404.
|
|
1483
|
+
# @param app [String] App is the service's CR name, from the path. It must be a DNS-1123 label.
|
|
1484
|
+
# @param restart_ref [RestartRef]
|
|
1485
|
+
# @param [Hash] opts the optional parameters
|
|
1486
|
+
# @return [Restarted]
|
|
1487
|
+
def post_platform_fleet_by_app_deploy(app, restart_ref, opts = {})
|
|
1488
|
+
data, _status_code, _headers = post_platform_fleet_by_app_deploy_with_http_info(app, restart_ref, opts)
|
|
1489
|
+
data
|
|
1490
|
+
end
|
|
1491
|
+
|
|
1492
|
+
# Rolls a platform service's pods, in a named environment.
|
|
1493
|
+
# Rolls a platform service's pods, in a named environment. It triggers a rolling restart of one platform service's Deployment by stamping a fresh restart annotation, and answers 202 with the app, the namespace, the environment and the timestamp. It restarts pods; it does NOT change the image — a version change is the release path, not this. SuperAdmin ONLY, and deliberately narrower than the read gate beside it. The only namespaces this board touches are the platform's own tier, so a restart here recycles a SHARED service every tenant depends on. A brand-org admin is a customer-org admin, not a platform operator: observing the board is bounded and audited, and restarting production identity is not. `?env=main|test|dev` is REQUIRED — a bare call does not default to production, which is what closes the fat-finger and confused-deputy hazard — and any other value is 400. A service with no Deployment to restart in that environment is 404.
|
|
1494
|
+
# @param app [String] App is the service's CR name, from the path. It must be a DNS-1123 label.
|
|
1495
|
+
# @param restart_ref [RestartRef]
|
|
1496
|
+
# @param [Hash] opts the optional parameters
|
|
1497
|
+
# @return [Array<(Restarted, Integer, Hash)>] Restarted data, response status code and response headers
|
|
1498
|
+
def post_platform_fleet_by_app_deploy_with_http_info(app, restart_ref, opts = {})
|
|
1499
|
+
if @api_client.config.debugging
|
|
1500
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.post_platform_fleet_by_app_deploy ...'
|
|
1501
|
+
end
|
|
1502
|
+
# verify the required parameter 'app' is set
|
|
1503
|
+
if @api_client.config.client_side_validation && app.nil?
|
|
1504
|
+
fail ArgumentError, "Missing the required parameter 'app' when calling PlatformApi.post_platform_fleet_by_app_deploy"
|
|
1505
|
+
end
|
|
1506
|
+
# verify the required parameter 'restart_ref' is set
|
|
1507
|
+
if @api_client.config.client_side_validation && restart_ref.nil?
|
|
1508
|
+
fail ArgumentError, "Missing the required parameter 'restart_ref' when calling PlatformApi.post_platform_fleet_by_app_deploy"
|
|
1509
|
+
end
|
|
1510
|
+
# resource path
|
|
1511
|
+
local_var_path = '/v1/platform/fleet/{app}/deploy'.sub('{' + 'app' + '}', CGI.escape(app.to_s))
|
|
1512
|
+
|
|
1513
|
+
# query parameters
|
|
1514
|
+
query_params = opts[:query_params] || {}
|
|
1515
|
+
|
|
1516
|
+
# header parameters
|
|
1517
|
+
header_params = opts[:header_params] || {}
|
|
1518
|
+
# HTTP header 'Accept' (if needed)
|
|
1519
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1520
|
+
# HTTP header 'Content-Type'
|
|
1521
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1522
|
+
if !content_type.nil?
|
|
1523
|
+
header_params['Content-Type'] = content_type
|
|
1524
|
+
end
|
|
1525
|
+
|
|
1526
|
+
# form parameters
|
|
1527
|
+
form_params = opts[:form_params] || {}
|
|
1528
|
+
|
|
1529
|
+
# http body (model)
|
|
1530
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(restart_ref)
|
|
1531
|
+
|
|
1532
|
+
# return_type
|
|
1533
|
+
return_type = opts[:debug_return_type] || 'Restarted'
|
|
1534
|
+
|
|
1535
|
+
# auth_names
|
|
1536
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
1537
|
+
|
|
1538
|
+
new_options = opts.merge(
|
|
1539
|
+
:operation => :"PlatformApi.post_platform_fleet_by_app_deploy",
|
|
1540
|
+
:header_params => header_params,
|
|
1541
|
+
:query_params => query_params,
|
|
1542
|
+
:form_params => form_params,
|
|
1543
|
+
:body => post_body,
|
|
1544
|
+
:auth_names => auth_names,
|
|
1545
|
+
:return_type => return_type
|
|
1546
|
+
)
|
|
1547
|
+
|
|
1548
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1549
|
+
if @api_client.config.debugging
|
|
1550
|
+
@api_client.config.logger.debug "API called: PlatformApi#post_platform_fleet_by_app_deploy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1551
|
+
end
|
|
1552
|
+
return data, status_code, headers
|
|
1553
|
+
end
|
|
1554
|
+
|
|
1555
|
+
# Receive a push from the forge and trigger its build
|
|
1556
|
+
# The forge's push-to-deploy endpoint. git.hanzo.ai runs as a separate server, so its pushes never reach this fleet's own receive-pack; without this a push to the host we call canonical builds nothing. A verified push is handed to the SAME two clients a native push travels — the single-registrant deploy trigger, and the many-subscriber lifecycle stream that notifies and indexes — and the build decision itself stays downstream in the one place that knows what a push means. PUBLIC at the JWT layer, because the forge carries no Hanzo session: AUTHENTICATION IS THE SIGNATURE. The HMAC covers the raw bytes and is verified BEFORE the payload is parsed, so an unauthenticated body is never decoded. The secret is read from KMS; a deployment that cannot read it answers 503 and processes nothing, rather than trusting a delivery it could not check. The body is read UNCOMPRESSED — a request declaring a Content-Encoding is refused 415 before it is touched, because decoding one is unbounded work bought with a few bytes and no credential. A bad signature is 401, a payload over 8 MiB is 413, and a malformed one 400. A verified push that reaches both clients answers 200 with fired true and the NUMBER OF BUILDS it launched — zero is ordinary, since most pushes track no application, and it is the answer 'fired' cannot give. A push that could not be dispatched answers 500: the delivery page shows it red, and the Replay that prompts reaches a fresh attempt rather than being declined as already landed. The deliveries deliberately ignored answer 200 with a reason and nothing else: a payload that is not a push, a ref DELETE (a zero `after` has no commit to build), a BOT-authored push (release automation pushes as the forge's own Actions user, and a release must never rebuild itself), a push from a forge namespace that maps to no org, and a redelivery of a push already fired. Branches and tags both reach the build trigger, because releases are cut by tag and filtering here would silently stop publishing.
|
|
1557
|
+
# @param [Hash] opts the optional parameters
|
|
1558
|
+
# @option opts [Push] :push
|
|
1559
|
+
# @return [Verdict]
|
|
1560
|
+
def post_platform_hook(opts = {})
|
|
1561
|
+
data, _status_code, _headers = post_platform_hook_with_http_info(opts)
|
|
1562
|
+
data
|
|
1563
|
+
end
|
|
1564
|
+
|
|
1565
|
+
# Receive a push from the forge and trigger its build
|
|
1566
|
+
# The forge's push-to-deploy endpoint. git.hanzo.ai runs as a separate server, so its pushes never reach this fleet's own receive-pack; without this a push to the host we call canonical builds nothing. A verified push is handed to the SAME two clients a native push travels — the single-registrant deploy trigger, and the many-subscriber lifecycle stream that notifies and indexes — and the build decision itself stays downstream in the one place that knows what a push means. PUBLIC at the JWT layer, because the forge carries no Hanzo session: AUTHENTICATION IS THE SIGNATURE. The HMAC covers the raw bytes and is verified BEFORE the payload is parsed, so an unauthenticated body is never decoded. The secret is read from KMS; a deployment that cannot read it answers 503 and processes nothing, rather than trusting a delivery it could not check. The body is read UNCOMPRESSED — a request declaring a Content-Encoding is refused 415 before it is touched, because decoding one is unbounded work bought with a few bytes and no credential. A bad signature is 401, a payload over 8 MiB is 413, and a malformed one 400. A verified push that reaches both clients answers 200 with fired true and the NUMBER OF BUILDS it launched — zero is ordinary, since most pushes track no application, and it is the answer 'fired' cannot give. A push that could not be dispatched answers 500: the delivery page shows it red, and the Replay that prompts reaches a fresh attempt rather than being declined as already landed. The deliveries deliberately ignored answer 200 with a reason and nothing else: a payload that is not a push, a ref DELETE (a zero `after` has no commit to build), a BOT-authored push (release automation pushes as the forge's own Actions user, and a release must never rebuild itself), a push from a forge namespace that maps to no org, and a redelivery of a push already fired. Branches and tags both reach the build trigger, because releases are cut by tag and filtering here would silently stop publishing.
|
|
1567
|
+
# @param [Hash] opts the optional parameters
|
|
1568
|
+
# @option opts [Push] :push
|
|
1569
|
+
# @return [Array<(Verdict, Integer, Hash)>] Verdict data, response status code and response headers
|
|
1570
|
+
def post_platform_hook_with_http_info(opts = {})
|
|
1571
|
+
if @api_client.config.debugging
|
|
1572
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.post_platform_hook ...'
|
|
1573
|
+
end
|
|
1574
|
+
# resource path
|
|
1575
|
+
local_var_path = '/v1/platform/hook'
|
|
1576
|
+
|
|
1577
|
+
# query parameters
|
|
1578
|
+
query_params = opts[:query_params] || {}
|
|
1579
|
+
|
|
1580
|
+
# header parameters
|
|
1581
|
+
header_params = opts[:header_params] || {}
|
|
1582
|
+
# HTTP header 'Accept' (if needed)
|
|
1583
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1584
|
+
# HTTP header 'Content-Type'
|
|
1585
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1586
|
+
if !content_type.nil?
|
|
1587
|
+
header_params['Content-Type'] = content_type
|
|
1588
|
+
end
|
|
1589
|
+
|
|
1590
|
+
# form parameters
|
|
1591
|
+
form_params = opts[:form_params] || {}
|
|
1592
|
+
|
|
1593
|
+
# http body (model)
|
|
1594
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'push'])
|
|
1595
|
+
|
|
1596
|
+
# return_type
|
|
1597
|
+
return_type = opts[:debug_return_type] || 'Verdict'
|
|
1598
|
+
|
|
1599
|
+
# auth_names
|
|
1600
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
1601
|
+
|
|
1602
|
+
new_options = opts.merge(
|
|
1603
|
+
:operation => :"PlatformApi.post_platform_hook",
|
|
1604
|
+
:header_params => header_params,
|
|
1605
|
+
:query_params => query_params,
|
|
1606
|
+
:form_params => form_params,
|
|
1607
|
+
:body => post_body,
|
|
1608
|
+
:auth_names => auth_names,
|
|
1609
|
+
:return_type => return_type
|
|
1610
|
+
)
|
|
1611
|
+
|
|
1612
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1613
|
+
if @api_client.config.debugging
|
|
1614
|
+
@api_client.config.logger.debug "API called: PlatformApi#post_platform_hook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1615
|
+
end
|
|
1616
|
+
return data, status_code, headers
|
|
1617
|
+
end
|
|
1618
|
+
|
|
1619
|
+
# Creates an application from a git repo or a container image.
|
|
1620
|
+
# Creates an application from a git repo or a container image. It registers a new application under one of the caller org's projects and answers 201 with it. Creating does NOT deploy: the app lands in `draft` and nothing reaches the cluster until /deploy. `source` is `git` — which requires `repo.url` — or `image`, which requires `image.repository`; anything else is 400. A git app builds with zero-config `pack` by default and may opt into `dockerfile`; an image app never builds. The repo URL and Dockerfile path are validated here against the SAME allowlist the privileged build enforces, so an unsafe source is refused before it is ever persisted. The `slug` is the app's identity in the cluster: given or derived from `name`, it must match `^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$`, and a slug already used in this project is 409. `replicas` and `storageGb` are clamped to the deployment's limits rather than refused. Env keys must match `^[A-Za-z_][A-Za-z0-9_]*$`. A variable marked `secret: true` is SEALED into KMS and its plaintext is never written to the database — and if KMS is unavailable the create fails 503 rather than falling back to storing a secret in the clear. The app is seeded with its canonical default host, so it has a working HTTPS URL the moment it deploys. A bare custom domain cannot be attached here — it has to go through add-domain and DNS verification first. Requires a validated principal; 403 without one, and every cluster object it will later create lands in that org's own `tenant-<org>` namespace.
|
|
1621
|
+
# @param project [String] Project is the project to create the application under, from the path.
|
|
1622
|
+
# @param create_app_req [CreateAppReq]
|
|
1623
|
+
# @param [Hash] opts the optional parameters
|
|
1624
|
+
# @return [AppView]
|
|
1625
|
+
def post_platform_projects_by_project_apps(project, create_app_req, opts = {})
|
|
1626
|
+
data, _status_code, _headers = post_platform_projects_by_project_apps_with_http_info(project, create_app_req, opts)
|
|
1627
|
+
data
|
|
1628
|
+
end
|
|
1629
|
+
|
|
1630
|
+
# Creates an application from a git repo or a container image.
|
|
1631
|
+
# Creates an application from a git repo or a container image. It registers a new application under one of the caller org's projects and answers 201 with it. Creating does NOT deploy: the app lands in `draft` and nothing reaches the cluster until /deploy. `source` is `git` — which requires `repo.url` — or `image`, which requires `image.repository`; anything else is 400. A git app builds with zero-config `pack` by default and may opt into `dockerfile`; an image app never builds. The repo URL and Dockerfile path are validated here against the SAME allowlist the privileged build enforces, so an unsafe source is refused before it is ever persisted. The `slug` is the app's identity in the cluster: given or derived from `name`, it must match `^[a-z0-9]([a-z0-9-]{0,38}[a-z0-9])?$`, and a slug already used in this project is 409. `replicas` and `storageGb` are clamped to the deployment's limits rather than refused. Env keys must match `^[A-Za-z_][A-Za-z0-9_]*$`. A variable marked `secret: true` is SEALED into KMS and its plaintext is never written to the database — and if KMS is unavailable the create fails 503 rather than falling back to storing a secret in the clear. The app is seeded with its canonical default host, so it has a working HTTPS URL the moment it deploys. A bare custom domain cannot be attached here — it has to go through add-domain and DNS verification first. Requires a validated principal; 403 without one, and every cluster object it will later create lands in that org's own `tenant-<org>` namespace.
|
|
1632
|
+
# @param project [String] Project is the project to create the application under, from the path.
|
|
1633
|
+
# @param create_app_req [CreateAppReq]
|
|
1634
|
+
# @param [Hash] opts the optional parameters
|
|
1635
|
+
# @return [Array<(AppView, Integer, Hash)>] AppView data, response status code and response headers
|
|
1636
|
+
def post_platform_projects_by_project_apps_with_http_info(project, create_app_req, opts = {})
|
|
1637
|
+
if @api_client.config.debugging
|
|
1638
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.post_platform_projects_by_project_apps ...'
|
|
1639
|
+
end
|
|
1640
|
+
# verify the required parameter 'project' is set
|
|
1641
|
+
if @api_client.config.client_side_validation && project.nil?
|
|
1642
|
+
fail ArgumentError, "Missing the required parameter 'project' when calling PlatformApi.post_platform_projects_by_project_apps"
|
|
1643
|
+
end
|
|
1644
|
+
# verify the required parameter 'create_app_req' is set
|
|
1645
|
+
if @api_client.config.client_side_validation && create_app_req.nil?
|
|
1646
|
+
fail ArgumentError, "Missing the required parameter 'create_app_req' when calling PlatformApi.post_platform_projects_by_project_apps"
|
|
1647
|
+
end
|
|
1648
|
+
# resource path
|
|
1649
|
+
local_var_path = '/v1/platform/projects/{project}/apps'.sub('{' + 'project' + '}', CGI.escape(project.to_s))
|
|
1650
|
+
|
|
1651
|
+
# query parameters
|
|
1652
|
+
query_params = opts[:query_params] || {}
|
|
1653
|
+
|
|
1654
|
+
# header parameters
|
|
1655
|
+
header_params = opts[:header_params] || {}
|
|
1656
|
+
# HTTP header 'Accept' (if needed)
|
|
1657
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1658
|
+
# HTTP header 'Content-Type'
|
|
1659
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1660
|
+
if !content_type.nil?
|
|
1661
|
+
header_params['Content-Type'] = content_type
|
|
1662
|
+
end
|
|
1663
|
+
|
|
1664
|
+
# form parameters
|
|
1665
|
+
form_params = opts[:form_params] || {}
|
|
1666
|
+
|
|
1667
|
+
# http body (model)
|
|
1668
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(create_app_req)
|
|
1669
|
+
|
|
1670
|
+
# return_type
|
|
1671
|
+
return_type = opts[:debug_return_type] || 'AppView'
|
|
1672
|
+
|
|
1673
|
+
# auth_names
|
|
1674
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
1675
|
+
|
|
1676
|
+
new_options = opts.merge(
|
|
1677
|
+
:operation => :"PlatformApi.post_platform_projects_by_project_apps",
|
|
1678
|
+
:header_params => header_params,
|
|
1679
|
+
:query_params => query_params,
|
|
1680
|
+
:form_params => form_params,
|
|
1681
|
+
:body => post_body,
|
|
1682
|
+
:auth_names => auth_names,
|
|
1683
|
+
:return_type => return_type
|
|
1684
|
+
)
|
|
1685
|
+
|
|
1686
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1687
|
+
if @api_client.config.debugging
|
|
1688
|
+
@api_client.config.logger.debug "API called: PlatformApi#post_platform_projects_by_project_apps\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1689
|
+
end
|
|
1690
|
+
return data, status_code, headers
|
|
1691
|
+
end
|
|
1692
|
+
|
|
1693
|
+
# Deploys the app — building it first if it comes from git.
|
|
1694
|
+
# Deploys the app — building it first if it comes from git. It starts a new, monotonically versioned deployment of the app and answers 202 with the deployment record. A 202 is an ACCEPTED deployment, not a live one. An IMAGE app deploys the tag you name (falling back to the app's tag, then `latest`) by writing its operator Service CR; the operator reconciles it to running. A GIT app launches an in-cluster BuildKit Job at `commit` — or the app's branch — and comes back in `building`; the Service CR is applied later, by the reconciler, once the Job succeeds. The reconciler is restart-safe, so a build in flight survives a cloud restart. Deploys are bounded per org: over the concurrent-deploy cap is 429 and NOTHING is recorded, so a rejected deploy leaves no phantom in the history. An unreachable cluster is 503 but still records an honest `error` deployment, because a deploy that was attempted and failed must not be indistinguishable from one never made. Every other failure is likewise recorded in its real terminal state. This is metered work: a git build is billed to the org's ledger in wall-clock build minutes once the Job finishes, and the running deployment is billed for its compute per tick for as long as it stays live. Requires a validated principal; 403 without one, and everything is written into that org's own `tenant-<org>` namespace.
|
|
1695
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
1696
|
+
# @param app [String] App is the application's slug, from the path.
|
|
1697
|
+
# @param deploy_req [DeployReq]
|
|
1698
|
+
# @param [Hash] opts the optional parameters
|
|
1699
|
+
# @return [DeploymentView]
|
|
1700
|
+
def post_platform_projects_by_project_apps_by_app_deploy(project, app, deploy_req, opts = {})
|
|
1701
|
+
data, _status_code, _headers = post_platform_projects_by_project_apps_by_app_deploy_with_http_info(project, app, deploy_req, opts)
|
|
1702
|
+
data
|
|
1703
|
+
end
|
|
1704
|
+
|
|
1705
|
+
# Deploys the app — building it first if it comes from git.
|
|
1706
|
+
# Deploys the app — building it first if it comes from git. It starts a new, monotonically versioned deployment of the app and answers 202 with the deployment record. A 202 is an ACCEPTED deployment, not a live one. An IMAGE app deploys the tag you name (falling back to the app's tag, then `latest`) by writing its operator Service CR; the operator reconciles it to running. A GIT app launches an in-cluster BuildKit Job at `commit` — or the app's branch — and comes back in `building`; the Service CR is applied later, by the reconciler, once the Job succeeds. The reconciler is restart-safe, so a build in flight survives a cloud restart. Deploys are bounded per org: over the concurrent-deploy cap is 429 and NOTHING is recorded, so a rejected deploy leaves no phantom in the history. An unreachable cluster is 503 but still records an honest `error` deployment, because a deploy that was attempted and failed must not be indistinguishable from one never made. Every other failure is likewise recorded in its real terminal state. This is metered work: a git build is billed to the org's ledger in wall-clock build minutes once the Job finishes, and the running deployment is billed for its compute per tick for as long as it stays live. Requires a validated principal; 403 without one, and everything is written into that org's own `tenant-<org>` namespace.
|
|
1707
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
1708
|
+
# @param app [String] App is the application's slug, from the path.
|
|
1709
|
+
# @param deploy_req [DeployReq]
|
|
1710
|
+
# @param [Hash] opts the optional parameters
|
|
1711
|
+
# @return [Array<(DeploymentView, Integer, Hash)>] DeploymentView data, response status code and response headers
|
|
1712
|
+
def post_platform_projects_by_project_apps_by_app_deploy_with_http_info(project, app, deploy_req, opts = {})
|
|
1713
|
+
if @api_client.config.debugging
|
|
1714
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.post_platform_projects_by_project_apps_by_app_deploy ...'
|
|
1715
|
+
end
|
|
1716
|
+
# verify the required parameter 'project' is set
|
|
1717
|
+
if @api_client.config.client_side_validation && project.nil?
|
|
1718
|
+
fail ArgumentError, "Missing the required parameter 'project' when calling PlatformApi.post_platform_projects_by_project_apps_by_app_deploy"
|
|
1719
|
+
end
|
|
1720
|
+
# verify the required parameter 'app' is set
|
|
1721
|
+
if @api_client.config.client_side_validation && app.nil?
|
|
1722
|
+
fail ArgumentError, "Missing the required parameter 'app' when calling PlatformApi.post_platform_projects_by_project_apps_by_app_deploy"
|
|
1723
|
+
end
|
|
1724
|
+
# verify the required parameter 'deploy_req' is set
|
|
1725
|
+
if @api_client.config.client_side_validation && deploy_req.nil?
|
|
1726
|
+
fail ArgumentError, "Missing the required parameter 'deploy_req' when calling PlatformApi.post_platform_projects_by_project_apps_by_app_deploy"
|
|
1727
|
+
end
|
|
1728
|
+
# resource path
|
|
1729
|
+
local_var_path = '/v1/platform/projects/{project}/apps/{app}/deploy'.sub('{' + 'project' + '}', CGI.escape(project.to_s)).sub('{' + 'app' + '}', CGI.escape(app.to_s))
|
|
1730
|
+
|
|
1731
|
+
# query parameters
|
|
1732
|
+
query_params = opts[:query_params] || {}
|
|
1733
|
+
|
|
1734
|
+
# header parameters
|
|
1735
|
+
header_params = opts[:header_params] || {}
|
|
1736
|
+
# HTTP header 'Accept' (if needed)
|
|
1737
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1738
|
+
# HTTP header 'Content-Type'
|
|
1739
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1740
|
+
if !content_type.nil?
|
|
1741
|
+
header_params['Content-Type'] = content_type
|
|
1742
|
+
end
|
|
1743
|
+
|
|
1744
|
+
# form parameters
|
|
1745
|
+
form_params = opts[:form_params] || {}
|
|
1746
|
+
|
|
1747
|
+
# http body (model)
|
|
1748
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(deploy_req)
|
|
1749
|
+
|
|
1750
|
+
# return_type
|
|
1751
|
+
return_type = opts[:debug_return_type] || 'DeploymentView'
|
|
1752
|
+
|
|
1753
|
+
# auth_names
|
|
1754
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
1755
|
+
|
|
1756
|
+
new_options = opts.merge(
|
|
1757
|
+
:operation => :"PlatformApi.post_platform_projects_by_project_apps_by_app_deploy",
|
|
1758
|
+
:header_params => header_params,
|
|
1759
|
+
:query_params => query_params,
|
|
1760
|
+
:form_params => form_params,
|
|
1761
|
+
:body => post_body,
|
|
1762
|
+
:auth_names => auth_names,
|
|
1763
|
+
:return_type => return_type
|
|
1764
|
+
)
|
|
1765
|
+
|
|
1766
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1767
|
+
if @api_client.config.debugging
|
|
1768
|
+
@api_client.config.logger.debug "API called: PlatformApi#post_platform_projects_by_project_apps_by_app_deploy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1769
|
+
end
|
|
1770
|
+
return data, status_code, headers
|
|
1771
|
+
end
|
|
1772
|
+
|
|
1773
|
+
# Attaches a hostname — instantly if you already own it, otherwise with a DNS challenge.
|
|
1774
|
+
# Attaches a hostname — instantly if you already own it, otherwise with a DNS challenge. It attaches `host` to the app, and which of two things happens depends on who owns the name. A host inside the caller org's own subtree is structurally owned, so it goes ACTIVE immediately and answers 201. A bring-your-own host is claimed as PENDING and answers the DNS challenge records to publish; it is NOT rendered into the app's ingress until /verify passes. Claims are globally unique. A host already claimed by another organization is 409, and so is one claimed by a different app in your own; re-adding this app's OWN claim is idempotent and answers its current state at 200. The default host is always attached and re-adding it is 409. A host under the platform's shared apex that is not the caller's own subtree is 403 — it belongs to whoever owns that subtree and can never be grabbed through the custom path. `host` must be a valid DNS hostname; anything else is 400. Requires a validated principal; 403 without one.
|
|
1775
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
1776
|
+
# @param app [String] App is the application's slug, from the path.
|
|
1777
|
+
# @param add_domain_req [AddDomainReq]
|
|
1778
|
+
# @param [Hash] opts the optional parameters
|
|
1779
|
+
# @return [DomainView]
|
|
1780
|
+
def post_platform_projects_by_project_apps_by_app_domains(project, app, add_domain_req, opts = {})
|
|
1781
|
+
data, _status_code, _headers = post_platform_projects_by_project_apps_by_app_domains_with_http_info(project, app, add_domain_req, opts)
|
|
1782
|
+
data
|
|
1783
|
+
end
|
|
1784
|
+
|
|
1785
|
+
# Attaches a hostname — instantly if you already own it, otherwise with a DNS challenge.
|
|
1786
|
+
# Attaches a hostname — instantly if you already own it, otherwise with a DNS challenge. It attaches `host` to the app, and which of two things happens depends on who owns the name. A host inside the caller org's own subtree is structurally owned, so it goes ACTIVE immediately and answers 201. A bring-your-own host is claimed as PENDING and answers the DNS challenge records to publish; it is NOT rendered into the app's ingress until /verify passes. Claims are globally unique. A host already claimed by another organization is 409, and so is one claimed by a different app in your own; re-adding this app's OWN claim is idempotent and answers its current state at 200. The default host is always attached and re-adding it is 409. A host under the platform's shared apex that is not the caller's own subtree is 403 — it belongs to whoever owns that subtree and can never be grabbed through the custom path. `host` must be a valid DNS hostname; anything else is 400. Requires a validated principal; 403 without one.
|
|
1787
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
1788
|
+
# @param app [String] App is the application's slug, from the path.
|
|
1789
|
+
# @param add_domain_req [AddDomainReq]
|
|
1790
|
+
# @param [Hash] opts the optional parameters
|
|
1791
|
+
# @return [Array<(DomainView, Integer, Hash)>] DomainView data, response status code and response headers
|
|
1792
|
+
def post_platform_projects_by_project_apps_by_app_domains_with_http_info(project, app, add_domain_req, opts = {})
|
|
1793
|
+
if @api_client.config.debugging
|
|
1794
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.post_platform_projects_by_project_apps_by_app_domains ...'
|
|
1795
|
+
end
|
|
1796
|
+
# verify the required parameter 'project' is set
|
|
1797
|
+
if @api_client.config.client_side_validation && project.nil?
|
|
1798
|
+
fail ArgumentError, "Missing the required parameter 'project' when calling PlatformApi.post_platform_projects_by_project_apps_by_app_domains"
|
|
1799
|
+
end
|
|
1800
|
+
# verify the required parameter 'app' is set
|
|
1801
|
+
if @api_client.config.client_side_validation && app.nil?
|
|
1802
|
+
fail ArgumentError, "Missing the required parameter 'app' when calling PlatformApi.post_platform_projects_by_project_apps_by_app_domains"
|
|
1803
|
+
end
|
|
1804
|
+
# verify the required parameter 'add_domain_req' is set
|
|
1805
|
+
if @api_client.config.client_side_validation && add_domain_req.nil?
|
|
1806
|
+
fail ArgumentError, "Missing the required parameter 'add_domain_req' when calling PlatformApi.post_platform_projects_by_project_apps_by_app_domains"
|
|
1807
|
+
end
|
|
1808
|
+
# resource path
|
|
1809
|
+
local_var_path = '/v1/platform/projects/{project}/apps/{app}/domains'.sub('{' + 'project' + '}', CGI.escape(project.to_s)).sub('{' + 'app' + '}', CGI.escape(app.to_s))
|
|
1810
|
+
|
|
1811
|
+
# query parameters
|
|
1812
|
+
query_params = opts[:query_params] || {}
|
|
1813
|
+
|
|
1814
|
+
# header parameters
|
|
1815
|
+
header_params = opts[:header_params] || {}
|
|
1816
|
+
# HTTP header 'Accept' (if needed)
|
|
1817
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1818
|
+
# HTTP header 'Content-Type'
|
|
1819
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1820
|
+
if !content_type.nil?
|
|
1821
|
+
header_params['Content-Type'] = content_type
|
|
1822
|
+
end
|
|
1823
|
+
|
|
1824
|
+
# form parameters
|
|
1825
|
+
form_params = opts[:form_params] || {}
|
|
1826
|
+
|
|
1827
|
+
# http body (model)
|
|
1828
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(add_domain_req)
|
|
1829
|
+
|
|
1830
|
+
# return_type
|
|
1831
|
+
return_type = opts[:debug_return_type] || 'DomainView'
|
|
1832
|
+
|
|
1833
|
+
# auth_names
|
|
1834
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
1835
|
+
|
|
1836
|
+
new_options = opts.merge(
|
|
1837
|
+
:operation => :"PlatformApi.post_platform_projects_by_project_apps_by_app_domains",
|
|
1838
|
+
:header_params => header_params,
|
|
1839
|
+
:query_params => query_params,
|
|
1840
|
+
:form_params => form_params,
|
|
1841
|
+
:body => post_body,
|
|
1842
|
+
:auth_names => auth_names,
|
|
1843
|
+
:return_type => return_type
|
|
1844
|
+
)
|
|
1845
|
+
|
|
1846
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1847
|
+
if @api_client.config.debugging
|
|
1848
|
+
@api_client.config.logger.debug "API called: PlatformApi#post_platform_projects_by_project_apps_by_app_domains\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1849
|
+
end
|
|
1850
|
+
return data, status_code, headers
|
|
1851
|
+
end
|
|
1852
|
+
|
|
1853
|
+
# Checks a custom domain's DNS and turns it on if it passes.
|
|
1854
|
+
# Checks a custom domain's DNS and turns it on if it passes. It runs the DNS challenge check for a pending custom host and, when it passes, marks the host verified and renders it into the app's ingress so it starts serving. A check that RAN and did not pass is not an error: it answers 200 with the host still pending and the reason in `detail`, so a console can show the operator what DNS is actually returning. An already-verified host answers as-is without re-checking. A host not claimed by this app is 404. Requires a validated principal; 403 without one.
|
|
1855
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
1856
|
+
# @param app [String] App is the application's slug, from the path.
|
|
1857
|
+
# @param host [String] Host is the hostname, from the path.
|
|
1858
|
+
# @param [Hash] opts the optional parameters
|
|
1859
|
+
# @return [DomainView]
|
|
1860
|
+
def post_platform_projects_by_project_apps_by_app_domains_by_host_verify(project, app, host, opts = {})
|
|
1861
|
+
data, _status_code, _headers = post_platform_projects_by_project_apps_by_app_domains_by_host_verify_with_http_info(project, app, host, opts)
|
|
1862
|
+
data
|
|
1863
|
+
end
|
|
1864
|
+
|
|
1865
|
+
# Checks a custom domain's DNS and turns it on if it passes.
|
|
1866
|
+
# Checks a custom domain's DNS and turns it on if it passes. It runs the DNS challenge check for a pending custom host and, when it passes, marks the host verified and renders it into the app's ingress so it starts serving. A check that RAN and did not pass is not an error: it answers 200 with the host still pending and the reason in `detail`, so a console can show the operator what DNS is actually returning. An already-verified host answers as-is without re-checking. A host not claimed by this app is 404. Requires a validated principal; 403 without one.
|
|
1867
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
1868
|
+
# @param app [String] App is the application's slug, from the path.
|
|
1869
|
+
# @param host [String] Host is the hostname, from the path.
|
|
1870
|
+
# @param [Hash] opts the optional parameters
|
|
1871
|
+
# @return [Array<(DomainView, Integer, Hash)>] DomainView data, response status code and response headers
|
|
1872
|
+
def post_platform_projects_by_project_apps_by_app_domains_by_host_verify_with_http_info(project, app, host, opts = {})
|
|
1873
|
+
if @api_client.config.debugging
|
|
1874
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.post_platform_projects_by_project_apps_by_app_domains_by_host_verify ...'
|
|
1875
|
+
end
|
|
1876
|
+
# verify the required parameter 'project' is set
|
|
1877
|
+
if @api_client.config.client_side_validation && project.nil?
|
|
1878
|
+
fail ArgumentError, "Missing the required parameter 'project' when calling PlatformApi.post_platform_projects_by_project_apps_by_app_domains_by_host_verify"
|
|
1879
|
+
end
|
|
1880
|
+
# verify the required parameter 'app' is set
|
|
1881
|
+
if @api_client.config.client_side_validation && app.nil?
|
|
1882
|
+
fail ArgumentError, "Missing the required parameter 'app' when calling PlatformApi.post_platform_projects_by_project_apps_by_app_domains_by_host_verify"
|
|
1883
|
+
end
|
|
1884
|
+
# verify the required parameter 'host' is set
|
|
1885
|
+
if @api_client.config.client_side_validation && host.nil?
|
|
1886
|
+
fail ArgumentError, "Missing the required parameter 'host' when calling PlatformApi.post_platform_projects_by_project_apps_by_app_domains_by_host_verify"
|
|
1887
|
+
end
|
|
1888
|
+
# resource path
|
|
1889
|
+
local_var_path = '/v1/platform/projects/{project}/apps/{app}/domains/{host}/verify'.sub('{' + 'project' + '}', CGI.escape(project.to_s)).sub('{' + 'app' + '}', CGI.escape(app.to_s)).sub('{' + 'host' + '}', CGI.escape(host.to_s))
|
|
1890
|
+
|
|
1891
|
+
# query parameters
|
|
1892
|
+
query_params = opts[:query_params] || {}
|
|
1893
|
+
|
|
1894
|
+
# header parameters
|
|
1895
|
+
header_params = opts[:header_params] || {}
|
|
1896
|
+
# HTTP header 'Accept' (if needed)
|
|
1897
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1898
|
+
|
|
1899
|
+
# form parameters
|
|
1900
|
+
form_params = opts[:form_params] || {}
|
|
1901
|
+
|
|
1902
|
+
# http body (model)
|
|
1903
|
+
post_body = opts[:debug_body]
|
|
1904
|
+
|
|
1905
|
+
# return_type
|
|
1906
|
+
return_type = opts[:debug_return_type] || 'DomainView'
|
|
1907
|
+
|
|
1908
|
+
# auth_names
|
|
1909
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
1910
|
+
|
|
1911
|
+
new_options = opts.merge(
|
|
1912
|
+
:operation => :"PlatformApi.post_platform_projects_by_project_apps_by_app_domains_by_host_verify",
|
|
1913
|
+
:header_params => header_params,
|
|
1914
|
+
:query_params => query_params,
|
|
1915
|
+
:form_params => form_params,
|
|
1916
|
+
:body => post_body,
|
|
1917
|
+
:auth_names => auth_names,
|
|
1918
|
+
:return_type => return_type
|
|
1919
|
+
)
|
|
1920
|
+
|
|
1921
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1922
|
+
if @api_client.config.debugging
|
|
1923
|
+
@api_client.config.logger.debug "API called: PlatformApi#post_platform_projects_by_project_apps_by_app_domains_by_host_verify\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1924
|
+
end
|
|
1925
|
+
return data, status_code, headers
|
|
1926
|
+
end
|
|
1927
|
+
|
|
1928
|
+
# Puts a branch on its own URL.
|
|
1929
|
+
# Puts a branch on its own URL. It deploys an already-built `image` to a per-branch preview and answers its URL, the branch, the preview's slug and the deployment. The preview is a FIRST-CLASS application named `<app>-<branch>` in the same project and tenant namespace, with its own default host — so it is completely isolated from production while reusing the same deploy mechanic. Re-previewing a branch converges that same target in place rather than stacking another one. It carries NO environment variables, deliberately: a preview never inherits production's secrets. It also does not build — `image` is required and must already exist, and `branch` defaults to the parent app's. A branch that does not resolve to a valid slug distinct from the parent's is 400. Requires a validated principal; 403 without one.
|
|
1930
|
+
# @param project [String] Project is the project the parent application lives under, from the path.
|
|
1931
|
+
# @param app [String] App is the parent application's slug, from the path.
|
|
1932
|
+
# @param preview_req [PreviewReq]
|
|
1933
|
+
# @param [Hash] opts the optional parameters
|
|
1934
|
+
# @return [PreviewView]
|
|
1935
|
+
def post_platform_projects_by_project_apps_by_app_preview(project, app, preview_req, opts = {})
|
|
1936
|
+
data, _status_code, _headers = post_platform_projects_by_project_apps_by_app_preview_with_http_info(project, app, preview_req, opts)
|
|
1937
|
+
data
|
|
1938
|
+
end
|
|
1939
|
+
|
|
1940
|
+
# Puts a branch on its own URL.
|
|
1941
|
+
# Puts a branch on its own URL. It deploys an already-built `image` to a per-branch preview and answers its URL, the branch, the preview's slug and the deployment. The preview is a FIRST-CLASS application named `<app>-<branch>` in the same project and tenant namespace, with its own default host — so it is completely isolated from production while reusing the same deploy mechanic. Re-previewing a branch converges that same target in place rather than stacking another one. It carries NO environment variables, deliberately: a preview never inherits production's secrets. It also does not build — `image` is required and must already exist, and `branch` defaults to the parent app's. A branch that does not resolve to a valid slug distinct from the parent's is 400. Requires a validated principal; 403 without one.
|
|
1942
|
+
# @param project [String] Project is the project the parent application lives under, from the path.
|
|
1943
|
+
# @param app [String] App is the parent application's slug, from the path.
|
|
1944
|
+
# @param preview_req [PreviewReq]
|
|
1945
|
+
# @param [Hash] opts the optional parameters
|
|
1946
|
+
# @return [Array<(PreviewView, Integer, Hash)>] PreviewView data, response status code and response headers
|
|
1947
|
+
def post_platform_projects_by_project_apps_by_app_preview_with_http_info(project, app, preview_req, opts = {})
|
|
1948
|
+
if @api_client.config.debugging
|
|
1949
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.post_platform_projects_by_project_apps_by_app_preview ...'
|
|
1950
|
+
end
|
|
1951
|
+
# verify the required parameter 'project' is set
|
|
1952
|
+
if @api_client.config.client_side_validation && project.nil?
|
|
1953
|
+
fail ArgumentError, "Missing the required parameter 'project' when calling PlatformApi.post_platform_projects_by_project_apps_by_app_preview"
|
|
1954
|
+
end
|
|
1955
|
+
# verify the required parameter 'app' is set
|
|
1956
|
+
if @api_client.config.client_side_validation && app.nil?
|
|
1957
|
+
fail ArgumentError, "Missing the required parameter 'app' when calling PlatformApi.post_platform_projects_by_project_apps_by_app_preview"
|
|
1958
|
+
end
|
|
1959
|
+
# verify the required parameter 'preview_req' is set
|
|
1960
|
+
if @api_client.config.client_side_validation && preview_req.nil?
|
|
1961
|
+
fail ArgumentError, "Missing the required parameter 'preview_req' when calling PlatformApi.post_platform_projects_by_project_apps_by_app_preview"
|
|
1962
|
+
end
|
|
1963
|
+
# resource path
|
|
1964
|
+
local_var_path = '/v1/platform/projects/{project}/apps/{app}/preview'.sub('{' + 'project' + '}', CGI.escape(project.to_s)).sub('{' + 'app' + '}', CGI.escape(app.to_s))
|
|
1965
|
+
|
|
1966
|
+
# query parameters
|
|
1967
|
+
query_params = opts[:query_params] || {}
|
|
1968
|
+
|
|
1969
|
+
# header parameters
|
|
1970
|
+
header_params = opts[:header_params] || {}
|
|
1971
|
+
# HTTP header 'Accept' (if needed)
|
|
1972
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1973
|
+
# HTTP header 'Content-Type'
|
|
1974
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
1975
|
+
if !content_type.nil?
|
|
1976
|
+
header_params['Content-Type'] = content_type
|
|
1977
|
+
end
|
|
1978
|
+
|
|
1979
|
+
# form parameters
|
|
1980
|
+
form_params = opts[:form_params] || {}
|
|
1981
|
+
|
|
1982
|
+
# http body (model)
|
|
1983
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(preview_req)
|
|
1984
|
+
|
|
1985
|
+
# return_type
|
|
1986
|
+
return_type = opts[:debug_return_type] || 'PreviewView'
|
|
1987
|
+
|
|
1988
|
+
# auth_names
|
|
1989
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
1990
|
+
|
|
1991
|
+
new_options = opts.merge(
|
|
1992
|
+
:operation => :"PlatformApi.post_platform_projects_by_project_apps_by_app_preview",
|
|
1993
|
+
:header_params => header_params,
|
|
1994
|
+
:query_params => query_params,
|
|
1995
|
+
:form_params => form_params,
|
|
1996
|
+
:body => post_body,
|
|
1997
|
+
:auth_names => auth_names,
|
|
1998
|
+
:return_type => return_type
|
|
1999
|
+
)
|
|
2000
|
+
|
|
2001
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
2002
|
+
if @api_client.config.debugging
|
|
2003
|
+
@api_client.config.logger.debug "API called: PlatformApi#post_platform_projects_by_project_apps_by_app_preview\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2004
|
+
end
|
|
2005
|
+
return data, status_code, headers
|
|
2006
|
+
end
|
|
2007
|
+
|
|
2008
|
+
# Promotes an already-built release to the app.
|
|
2009
|
+
# Promotes an already-built release to the app. It redeploys an image that already exists — named either by `deploymentId`, which promotes that deployment's exact built image, or by `tag`, resolved the same way a deploy resolves one. One of the two is required; neither is 400. Promotion never builds. A deployment that carries no built image cannot be promoted and is 400, and a deployment id outside this app is 404. It runs through the same deploy core as everything else, so it takes a NEW version number and is subject to the same per-org concurrency cap. Requires a validated principal; 403 without one.
|
|
2010
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
2011
|
+
# @param app [String] App is the application's slug, from the path.
|
|
2012
|
+
# @param promote_req [PromoteReq]
|
|
2013
|
+
# @param [Hash] opts the optional parameters
|
|
2014
|
+
# @return [DeploymentView]
|
|
2015
|
+
def post_platform_projects_by_project_apps_by_app_promote(project, app, promote_req, opts = {})
|
|
2016
|
+
data, _status_code, _headers = post_platform_projects_by_project_apps_by_app_promote_with_http_info(project, app, promote_req, opts)
|
|
2017
|
+
data
|
|
2018
|
+
end
|
|
2019
|
+
|
|
2020
|
+
# Promotes an already-built release to the app.
|
|
2021
|
+
# Promotes an already-built release to the app. It redeploys an image that already exists — named either by `deploymentId`, which promotes that deployment's exact built image, or by `tag`, resolved the same way a deploy resolves one. One of the two is required; neither is 400. Promotion never builds. A deployment that carries no built image cannot be promoted and is 400, and a deployment id outside this app is 404. It runs through the same deploy core as everything else, so it takes a NEW version number and is subject to the same per-org concurrency cap. Requires a validated principal; 403 without one.
|
|
2022
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
2023
|
+
# @param app [String] App is the application's slug, from the path.
|
|
2024
|
+
# @param promote_req [PromoteReq]
|
|
2025
|
+
# @param [Hash] opts the optional parameters
|
|
2026
|
+
# @return [Array<(DeploymentView, Integer, Hash)>] DeploymentView data, response status code and response headers
|
|
2027
|
+
def post_platform_projects_by_project_apps_by_app_promote_with_http_info(project, app, promote_req, opts = {})
|
|
2028
|
+
if @api_client.config.debugging
|
|
2029
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.post_platform_projects_by_project_apps_by_app_promote ...'
|
|
2030
|
+
end
|
|
2031
|
+
# verify the required parameter 'project' is set
|
|
2032
|
+
if @api_client.config.client_side_validation && project.nil?
|
|
2033
|
+
fail ArgumentError, "Missing the required parameter 'project' when calling PlatformApi.post_platform_projects_by_project_apps_by_app_promote"
|
|
2034
|
+
end
|
|
2035
|
+
# verify the required parameter 'app' is set
|
|
2036
|
+
if @api_client.config.client_side_validation && app.nil?
|
|
2037
|
+
fail ArgumentError, "Missing the required parameter 'app' when calling PlatformApi.post_platform_projects_by_project_apps_by_app_promote"
|
|
2038
|
+
end
|
|
2039
|
+
# verify the required parameter 'promote_req' is set
|
|
2040
|
+
if @api_client.config.client_side_validation && promote_req.nil?
|
|
2041
|
+
fail ArgumentError, "Missing the required parameter 'promote_req' when calling PlatformApi.post_platform_projects_by_project_apps_by_app_promote"
|
|
2042
|
+
end
|
|
2043
|
+
# resource path
|
|
2044
|
+
local_var_path = '/v1/platform/projects/{project}/apps/{app}/promote'.sub('{' + 'project' + '}', CGI.escape(project.to_s)).sub('{' + 'app' + '}', CGI.escape(app.to_s))
|
|
2045
|
+
|
|
2046
|
+
# query parameters
|
|
2047
|
+
query_params = opts[:query_params] || {}
|
|
2048
|
+
|
|
2049
|
+
# header parameters
|
|
2050
|
+
header_params = opts[:header_params] || {}
|
|
2051
|
+
# HTTP header 'Accept' (if needed)
|
|
2052
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2053
|
+
# HTTP header 'Content-Type'
|
|
2054
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2055
|
+
if !content_type.nil?
|
|
2056
|
+
header_params['Content-Type'] = content_type
|
|
2057
|
+
end
|
|
2058
|
+
|
|
2059
|
+
# form parameters
|
|
2060
|
+
form_params = opts[:form_params] || {}
|
|
2061
|
+
|
|
2062
|
+
# http body (model)
|
|
2063
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(promote_req)
|
|
2064
|
+
|
|
2065
|
+
# return_type
|
|
2066
|
+
return_type = opts[:debug_return_type] || 'DeploymentView'
|
|
2067
|
+
|
|
2068
|
+
# auth_names
|
|
2069
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
2070
|
+
|
|
2071
|
+
new_options = opts.merge(
|
|
2072
|
+
:operation => :"PlatformApi.post_platform_projects_by_project_apps_by_app_promote",
|
|
2073
|
+
:header_params => header_params,
|
|
2074
|
+
:query_params => query_params,
|
|
2075
|
+
:form_params => form_params,
|
|
2076
|
+
:body => post_body,
|
|
2077
|
+
:auth_names => auth_names,
|
|
2078
|
+
:return_type => return_type
|
|
2079
|
+
)
|
|
2080
|
+
|
|
2081
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
2082
|
+
if @api_client.config.debugging
|
|
2083
|
+
@api_client.config.logger.debug "API called: PlatformApi#post_platform_projects_by_project_apps_by_app_promote\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2084
|
+
end
|
|
2085
|
+
return data, status_code, headers
|
|
2086
|
+
end
|
|
2087
|
+
|
|
2088
|
+
# Goes back to the previous release.
|
|
2089
|
+
# Goes back to the previous release. It redeploys a prior image: the one named by `deploymentId`, or — with no body — the newest earlier deployment that carries a real built image and did not error, skipping the release currently live. An app with nothing earlier to return to is 400. A rollback is a deploy of an old image, not a rewind: it takes a NEW version number and appends to the history rather than erasing what came after. Both lookups are scoped to this app and org, so another tenant's image can never be rolled in. Requires a validated principal; 403 without one.
|
|
2090
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
2091
|
+
# @param app [String] App is the application's slug, from the path.
|
|
2092
|
+
# @param rollback_req [RollbackReq]
|
|
2093
|
+
# @param [Hash] opts the optional parameters
|
|
2094
|
+
# @return [DeploymentView]
|
|
2095
|
+
def post_platform_projects_by_project_apps_by_app_rollback(project, app, rollback_req, opts = {})
|
|
2096
|
+
data, _status_code, _headers = post_platform_projects_by_project_apps_by_app_rollback_with_http_info(project, app, rollback_req, opts)
|
|
2097
|
+
data
|
|
2098
|
+
end
|
|
2099
|
+
|
|
2100
|
+
# Goes back to the previous release.
|
|
2101
|
+
# Goes back to the previous release. It redeploys a prior image: the one named by `deploymentId`, or — with no body — the newest earlier deployment that carries a real built image and did not error, skipping the release currently live. An app with nothing earlier to return to is 400. A rollback is a deploy of an old image, not a rewind: it takes a NEW version number and appends to the history rather than erasing what came after. Both lookups are scoped to this app and org, so another tenant's image can never be rolled in. Requires a validated principal; 403 without one.
|
|
2102
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
2103
|
+
# @param app [String] App is the application's slug, from the path.
|
|
2104
|
+
# @param rollback_req [RollbackReq]
|
|
2105
|
+
# @param [Hash] opts the optional parameters
|
|
2106
|
+
# @return [Array<(DeploymentView, Integer, Hash)>] DeploymentView data, response status code and response headers
|
|
2107
|
+
def post_platform_projects_by_project_apps_by_app_rollback_with_http_info(project, app, rollback_req, opts = {})
|
|
2108
|
+
if @api_client.config.debugging
|
|
2109
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.post_platform_projects_by_project_apps_by_app_rollback ...'
|
|
2110
|
+
end
|
|
2111
|
+
# verify the required parameter 'project' is set
|
|
2112
|
+
if @api_client.config.client_side_validation && project.nil?
|
|
2113
|
+
fail ArgumentError, "Missing the required parameter 'project' when calling PlatformApi.post_platform_projects_by_project_apps_by_app_rollback"
|
|
2114
|
+
end
|
|
2115
|
+
# verify the required parameter 'app' is set
|
|
2116
|
+
if @api_client.config.client_side_validation && app.nil?
|
|
2117
|
+
fail ArgumentError, "Missing the required parameter 'app' when calling PlatformApi.post_platform_projects_by_project_apps_by_app_rollback"
|
|
2118
|
+
end
|
|
2119
|
+
# verify the required parameter 'rollback_req' is set
|
|
2120
|
+
if @api_client.config.client_side_validation && rollback_req.nil?
|
|
2121
|
+
fail ArgumentError, "Missing the required parameter 'rollback_req' when calling PlatformApi.post_platform_projects_by_project_apps_by_app_rollback"
|
|
2122
|
+
end
|
|
2123
|
+
# resource path
|
|
2124
|
+
local_var_path = '/v1/platform/projects/{project}/apps/{app}/rollback'.sub('{' + 'project' + '}', CGI.escape(project.to_s)).sub('{' + 'app' + '}', CGI.escape(app.to_s))
|
|
2125
|
+
|
|
2126
|
+
# query parameters
|
|
2127
|
+
query_params = opts[:query_params] || {}
|
|
2128
|
+
|
|
2129
|
+
# header parameters
|
|
2130
|
+
header_params = opts[:header_params] || {}
|
|
2131
|
+
# HTTP header 'Accept' (if needed)
|
|
2132
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2133
|
+
# HTTP header 'Content-Type'
|
|
2134
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2135
|
+
if !content_type.nil?
|
|
2136
|
+
header_params['Content-Type'] = content_type
|
|
2137
|
+
end
|
|
2138
|
+
|
|
2139
|
+
# form parameters
|
|
2140
|
+
form_params = opts[:form_params] || {}
|
|
2141
|
+
|
|
2142
|
+
# http body (model)
|
|
2143
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(rollback_req)
|
|
2144
|
+
|
|
2145
|
+
# return_type
|
|
2146
|
+
return_type = opts[:debug_return_type] || 'DeploymentView'
|
|
2147
|
+
|
|
2148
|
+
# auth_names
|
|
2149
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
2150
|
+
|
|
2151
|
+
new_options = opts.merge(
|
|
2152
|
+
:operation => :"PlatformApi.post_platform_projects_by_project_apps_by_app_rollback",
|
|
2153
|
+
:header_params => header_params,
|
|
2154
|
+
:query_params => query_params,
|
|
2155
|
+
:form_params => form_params,
|
|
2156
|
+
:body => post_body,
|
|
2157
|
+
:auth_names => auth_names,
|
|
2158
|
+
:return_type => return_type
|
|
2159
|
+
)
|
|
2160
|
+
|
|
2161
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
2162
|
+
if @api_client.config.debugging
|
|
2163
|
+
@api_client.config.logger.debug "API called: PlatformApi#post_platform_projects_by_project_apps_by_app_rollback\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2164
|
+
end
|
|
2165
|
+
return data, status_code, headers
|
|
2166
|
+
end
|
|
2167
|
+
|
|
2168
|
+
# Starts a stopped app back up.
|
|
2169
|
+
# Starts a stopped app back up. It scales the app's Service back to its configured replica count and marks it live, answering the updated application. It does not redeploy: the image already on the Service CR is what comes back. The billing watermark is reset to now as part of starting, so the org is charged for THIS live span and never for the gap the app spent stopped. An app with no Service CR is 404, an unreachable cluster is 503, and a cluster that refuses the scale is 502. Requires a validated principal; 403 without one.
|
|
2170
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
2171
|
+
# @param app [String] App is the application's slug, from the path.
|
|
2172
|
+
# @param [Hash] opts the optional parameters
|
|
2173
|
+
# @return [AppView]
|
|
2174
|
+
def post_platform_projects_by_project_apps_by_app_start(project, app, opts = {})
|
|
2175
|
+
data, _status_code, _headers = post_platform_projects_by_project_apps_by_app_start_with_http_info(project, app, opts)
|
|
2176
|
+
data
|
|
2177
|
+
end
|
|
2178
|
+
|
|
2179
|
+
# Starts a stopped app back up.
|
|
2180
|
+
# Starts a stopped app back up. It scales the app's Service back to its configured replica count and marks it live, answering the updated application. It does not redeploy: the image already on the Service CR is what comes back. The billing watermark is reset to now as part of starting, so the org is charged for THIS live span and never for the gap the app spent stopped. An app with no Service CR is 404, an unreachable cluster is 503, and a cluster that refuses the scale is 502. Requires a validated principal; 403 without one.
|
|
2181
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
2182
|
+
# @param app [String] App is the application's slug, from the path.
|
|
2183
|
+
# @param [Hash] opts the optional parameters
|
|
2184
|
+
# @return [Array<(AppView, Integer, Hash)>] AppView data, response status code and response headers
|
|
2185
|
+
def post_platform_projects_by_project_apps_by_app_start_with_http_info(project, app, opts = {})
|
|
2186
|
+
if @api_client.config.debugging
|
|
2187
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.post_platform_projects_by_project_apps_by_app_start ...'
|
|
2188
|
+
end
|
|
2189
|
+
# verify the required parameter 'project' is set
|
|
2190
|
+
if @api_client.config.client_side_validation && project.nil?
|
|
2191
|
+
fail ArgumentError, "Missing the required parameter 'project' when calling PlatformApi.post_platform_projects_by_project_apps_by_app_start"
|
|
2192
|
+
end
|
|
2193
|
+
# verify the required parameter 'app' is set
|
|
2194
|
+
if @api_client.config.client_side_validation && app.nil?
|
|
2195
|
+
fail ArgumentError, "Missing the required parameter 'app' when calling PlatformApi.post_platform_projects_by_project_apps_by_app_start"
|
|
2196
|
+
end
|
|
2197
|
+
# resource path
|
|
2198
|
+
local_var_path = '/v1/platform/projects/{project}/apps/{app}/start'.sub('{' + 'project' + '}', CGI.escape(project.to_s)).sub('{' + 'app' + '}', CGI.escape(app.to_s))
|
|
2199
|
+
|
|
2200
|
+
# query parameters
|
|
2201
|
+
query_params = opts[:query_params] || {}
|
|
2202
|
+
|
|
2203
|
+
# header parameters
|
|
2204
|
+
header_params = opts[:header_params] || {}
|
|
2205
|
+
# HTTP header 'Accept' (if needed)
|
|
2206
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2207
|
+
|
|
2208
|
+
# form parameters
|
|
2209
|
+
form_params = opts[:form_params] || {}
|
|
2210
|
+
|
|
2211
|
+
# http body (model)
|
|
2212
|
+
post_body = opts[:debug_body]
|
|
2213
|
+
|
|
2214
|
+
# return_type
|
|
2215
|
+
return_type = opts[:debug_return_type] || 'AppView'
|
|
2216
|
+
|
|
2217
|
+
# auth_names
|
|
2218
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
2219
|
+
|
|
2220
|
+
new_options = opts.merge(
|
|
2221
|
+
:operation => :"PlatformApi.post_platform_projects_by_project_apps_by_app_start",
|
|
2222
|
+
:header_params => header_params,
|
|
2223
|
+
:query_params => query_params,
|
|
2224
|
+
:form_params => form_params,
|
|
2225
|
+
:body => post_body,
|
|
2226
|
+
:auth_names => auth_names,
|
|
2227
|
+
:return_type => return_type
|
|
2228
|
+
)
|
|
2229
|
+
|
|
2230
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
2231
|
+
if @api_client.config.debugging
|
|
2232
|
+
@api_client.config.logger.debug "API called: PlatformApi#post_platform_projects_by_project_apps_by_app_start\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2233
|
+
end
|
|
2234
|
+
return data, status_code, headers
|
|
2235
|
+
end
|
|
2236
|
+
|
|
2237
|
+
# Stops an app without deleting it.
|
|
2238
|
+
# Stops an app without deleting it. It scales the app's Service to zero replicas and marks it stopped, answering the updated application. Nothing else is removed — the record, its env, its domains and its deployment history all survive, and /start brings it back at the same replica count. An app that is not deployed has no Service CR to scale and is 404. An unreachable cluster is 503 and a cluster that refuses the scale is 502. Because the pods stop, so does the compute metering. Requires a validated principal; 403 without one.
|
|
2239
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
2240
|
+
# @param app [String] App is the application's slug, from the path.
|
|
2241
|
+
# @param [Hash] opts the optional parameters
|
|
2242
|
+
# @return [AppView]
|
|
2243
|
+
def post_platform_projects_by_project_apps_by_app_stop(project, app, opts = {})
|
|
2244
|
+
data, _status_code, _headers = post_platform_projects_by_project_apps_by_app_stop_with_http_info(project, app, opts)
|
|
2245
|
+
data
|
|
2246
|
+
end
|
|
2247
|
+
|
|
2248
|
+
# Stops an app without deleting it.
|
|
2249
|
+
# Stops an app without deleting it. It scales the app's Service to zero replicas and marks it stopped, answering the updated application. Nothing else is removed — the record, its env, its domains and its deployment history all survive, and /start brings it back at the same replica count. An app that is not deployed has no Service CR to scale and is 404. An unreachable cluster is 503 and a cluster that refuses the scale is 502. Because the pods stop, so does the compute metering. Requires a validated principal; 403 without one.
|
|
2250
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
2251
|
+
# @param app [String] App is the application's slug, from the path.
|
|
2252
|
+
# @param [Hash] opts the optional parameters
|
|
2253
|
+
# @return [Array<(AppView, Integer, Hash)>] AppView data, response status code and response headers
|
|
2254
|
+
def post_platform_projects_by_project_apps_by_app_stop_with_http_info(project, app, opts = {})
|
|
2255
|
+
if @api_client.config.debugging
|
|
2256
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.post_platform_projects_by_project_apps_by_app_stop ...'
|
|
2257
|
+
end
|
|
2258
|
+
# verify the required parameter 'project' is set
|
|
2259
|
+
if @api_client.config.client_side_validation && project.nil?
|
|
2260
|
+
fail ArgumentError, "Missing the required parameter 'project' when calling PlatformApi.post_platform_projects_by_project_apps_by_app_stop"
|
|
2261
|
+
end
|
|
2262
|
+
# verify the required parameter 'app' is set
|
|
2263
|
+
if @api_client.config.client_side_validation && app.nil?
|
|
2264
|
+
fail ArgumentError, "Missing the required parameter 'app' when calling PlatformApi.post_platform_projects_by_project_apps_by_app_stop"
|
|
2265
|
+
end
|
|
2266
|
+
# resource path
|
|
2267
|
+
local_var_path = '/v1/platform/projects/{project}/apps/{app}/stop'.sub('{' + 'project' + '}', CGI.escape(project.to_s)).sub('{' + 'app' + '}', CGI.escape(app.to_s))
|
|
2268
|
+
|
|
2269
|
+
# query parameters
|
|
2270
|
+
query_params = opts[:query_params] || {}
|
|
2271
|
+
|
|
2272
|
+
# header parameters
|
|
2273
|
+
header_params = opts[:header_params] || {}
|
|
2274
|
+
# HTTP header 'Accept' (if needed)
|
|
2275
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2276
|
+
|
|
2277
|
+
# form parameters
|
|
2278
|
+
form_params = opts[:form_params] || {}
|
|
2279
|
+
|
|
2280
|
+
# http body (model)
|
|
2281
|
+
post_body = opts[:debug_body]
|
|
2282
|
+
|
|
2283
|
+
# return_type
|
|
2284
|
+
return_type = opts[:debug_return_type] || 'AppView'
|
|
2285
|
+
|
|
2286
|
+
# auth_names
|
|
2287
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
2288
|
+
|
|
2289
|
+
new_options = opts.merge(
|
|
2290
|
+
:operation => :"PlatformApi.post_platform_projects_by_project_apps_by_app_stop",
|
|
2291
|
+
:header_params => header_params,
|
|
2292
|
+
:query_params => query_params,
|
|
2293
|
+
:form_params => form_params,
|
|
2294
|
+
:body => post_body,
|
|
2295
|
+
:auth_names => auth_names,
|
|
2296
|
+
:return_type => return_type
|
|
2297
|
+
)
|
|
2298
|
+
|
|
2299
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
2300
|
+
if @api_client.config.debugging
|
|
2301
|
+
@api_client.config.logger.debug "API called: PlatformApi#post_platform_projects_by_project_apps_by_app_stop\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2302
|
+
end
|
|
2303
|
+
return data, status_code, headers
|
|
2304
|
+
end
|
|
2305
|
+
|
|
2306
|
+
# Runs a container image and gives back a URL.
|
|
2307
|
+
# Runs a container image and gives back a URL. The one-call shortcut over project → app → deploy: give it a `name` and an `image` and it creates or updates an image-source application in your org's DEFAULT project, deploys it through the same operator Service-CR writer everything else uses, and answers its id, name, live URL, status and shape. Re-running the same name UPDATES it in place, so the call is idempotent by name. What it produces is a first-class application, not a special object: it is listable, stoppable and redeployable through the /v1/platform routes like any other app. `minScale` is the replica floor. `maxScale` above it declares an autoscaling ceiling; `maxScale: 0` means no autoscaler at all — a fixed run at the floor. Both are clamped to the deployment's limits. `runtime` and `shape` are accepted for the client contract and echoed back: the image is the runtime unit and sizing is the operator's default. It is BILLING-GATED before it touches the cluster: a flat per-run fee is authorized against the org's own prepaid balance first, so an org that cannot pay is refused without anything being created. An unreachable cluster is 503 — a run never reports a URL it did not create. Secret env is sealed into KMS and fails closed without it. Requires a validated principal; 403 without one. The org is resolved from that validated identity and is what both pays and owns the namespace — it is never read from the body.
|
|
2308
|
+
# @param run_req [RunReq]
|
|
2309
|
+
# @param [Hash] opts the optional parameters
|
|
2310
|
+
# @return [RunView]
|
|
2311
|
+
def post_platform_run(run_req, opts = {})
|
|
2312
|
+
data, _status_code, _headers = post_platform_run_with_http_info(run_req, opts)
|
|
2313
|
+
data
|
|
2314
|
+
end
|
|
2315
|
+
|
|
2316
|
+
# Runs a container image and gives back a URL.
|
|
2317
|
+
# Runs a container image and gives back a URL. The one-call shortcut over project → app → deploy: give it a `name` and an `image` and it creates or updates an image-source application in your org's DEFAULT project, deploys it through the same operator Service-CR writer everything else uses, and answers its id, name, live URL, status and shape. Re-running the same name UPDATES it in place, so the call is idempotent by name. What it produces is a first-class application, not a special object: it is listable, stoppable and redeployable through the /v1/platform routes like any other app. `minScale` is the replica floor. `maxScale` above it declares an autoscaling ceiling; `maxScale: 0` means no autoscaler at all — a fixed run at the floor. Both are clamped to the deployment's limits. `runtime` and `shape` are accepted for the client contract and echoed back: the image is the runtime unit and sizing is the operator's default. It is BILLING-GATED before it touches the cluster: a flat per-run fee is authorized against the org's own prepaid balance first, so an org that cannot pay is refused without anything being created. An unreachable cluster is 503 — a run never reports a URL it did not create. Secret env is sealed into KMS and fails closed without it. Requires a validated principal; 403 without one. The org is resolved from that validated identity and is what both pays and owns the namespace — it is never read from the body.
|
|
2318
|
+
# @param run_req [RunReq]
|
|
2319
|
+
# @param [Hash] opts the optional parameters
|
|
2320
|
+
# @return [Array<(RunView, Integer, Hash)>] RunView data, response status code and response headers
|
|
2321
|
+
def post_platform_run_with_http_info(run_req, opts = {})
|
|
2322
|
+
if @api_client.config.debugging
|
|
2323
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.post_platform_run ...'
|
|
2324
|
+
end
|
|
2325
|
+
# verify the required parameter 'run_req' is set
|
|
2326
|
+
if @api_client.config.client_side_validation && run_req.nil?
|
|
2327
|
+
fail ArgumentError, "Missing the required parameter 'run_req' when calling PlatformApi.post_platform_run"
|
|
2328
|
+
end
|
|
2329
|
+
# resource path
|
|
2330
|
+
local_var_path = '/v1/platform/run'
|
|
2331
|
+
|
|
2332
|
+
# query parameters
|
|
2333
|
+
query_params = opts[:query_params] || {}
|
|
2334
|
+
|
|
2335
|
+
# header parameters
|
|
2336
|
+
header_params = opts[:header_params] || {}
|
|
2337
|
+
# HTTP header 'Accept' (if needed)
|
|
2338
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2339
|
+
# HTTP header 'Content-Type'
|
|
2340
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2341
|
+
if !content_type.nil?
|
|
2342
|
+
header_params['Content-Type'] = content_type
|
|
2343
|
+
end
|
|
2344
|
+
|
|
2345
|
+
# form parameters
|
|
2346
|
+
form_params = opts[:form_params] || {}
|
|
2347
|
+
|
|
2348
|
+
# http body (model)
|
|
2349
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(run_req)
|
|
2350
|
+
|
|
2351
|
+
# return_type
|
|
2352
|
+
return_type = opts[:debug_return_type] || 'RunView'
|
|
2353
|
+
|
|
2354
|
+
# auth_names
|
|
2355
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
2356
|
+
|
|
2357
|
+
new_options = opts.merge(
|
|
2358
|
+
:operation => :"PlatformApi.post_platform_run",
|
|
2359
|
+
:header_params => header_params,
|
|
2360
|
+
:query_params => query_params,
|
|
2361
|
+
:form_params => form_params,
|
|
2362
|
+
:body => post_body,
|
|
2363
|
+
:auth_names => auth_names,
|
|
2364
|
+
:return_type => return_type
|
|
2365
|
+
)
|
|
2366
|
+
|
|
2367
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
2368
|
+
if @api_client.config.debugging
|
|
2369
|
+
@api_client.config.logger.debug "API called: PlatformApi#post_platform_run\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2370
|
+
end
|
|
2371
|
+
return data, status_code, headers
|
|
2372
|
+
end
|
|
2373
|
+
|
|
2374
|
+
# Triggers a native build — an image, or the binaries a repo declares.
|
|
2375
|
+
# Triggers a native build — an image, or the binaries a repo declares. The fabric's own build trigger, and what `hanzo build` and git-push-to-deploy call. It answers 202 with the build job id: a queued build, not a pushed artifact. Two lanes, and a build is exactly one of them. The IMAGE lane takes `repo` and the output `image` and launches a BuildKit Job that pushes it. The ARTIFACT lane takes `binaries` — the same recipe the repo's hanzo.yml declares — and publishes to object storage instead; it must carry no `image`, because a build produces binaries or an image, never both. PRIVILEGED, and A BUILD BELONGS TO THE ORGANIZATION ITS CREDENTIAL NAMES. Two credentials, never a third: - one that NAMES an organization — a person who administers it (the `hanzo build` path, so one IAM login authorizes a build with no separate build token), or that organization's own machine identity (the pipeline path). The build is attributed to that org and confined to what it owns. - the shared build-callback token, compared in constant time. It names NO organization, which is both why the fabric's own release can publish across brands with it and why anything that CAN name one is read first. Both are bounded by the owned-registry allowlist. The org path is bounded again, by the org: the image's registry namespace must be one that organization owns, so it publishes into its own brand and can never overwrite another's through the shared push credential. The same confinement applies to the artifact lane's repo owner. There is no request field naming an organization — the attribution is read off the credential, so there is nothing for a caller to write it with. The output image is parsed and validated as a single well-formed OCI ref before any authorization decision reads it, so a crafted ref cannot smuggle a build-exporter attribute past the check.
|
|
2376
|
+
# @param runner_build_req [RunnerBuildReq]
|
|
2377
|
+
# @param [Hash] opts the optional parameters
|
|
2378
|
+
# @return [RunnerBuildResp]
|
|
2379
|
+
def post_platform_runner(runner_build_req, opts = {})
|
|
2380
|
+
data, _status_code, _headers = post_platform_runner_with_http_info(runner_build_req, opts)
|
|
2381
|
+
data
|
|
2382
|
+
end
|
|
2383
|
+
|
|
2384
|
+
# Triggers a native build — an image, or the binaries a repo declares.
|
|
2385
|
+
# Triggers a native build — an image, or the binaries a repo declares. The fabric's own build trigger, and what `hanzo build` and git-push-to-deploy call. It answers 202 with the build job id: a queued build, not a pushed artifact. Two lanes, and a build is exactly one of them. The IMAGE lane takes `repo` and the output `image` and launches a BuildKit Job that pushes it. The ARTIFACT lane takes `binaries` — the same recipe the repo's hanzo.yml declares — and publishes to object storage instead; it must carry no `image`, because a build produces binaries or an image, never both. PRIVILEGED, and A BUILD BELONGS TO THE ORGANIZATION ITS CREDENTIAL NAMES. Two credentials, never a third: - one that NAMES an organization — a person who administers it (the `hanzo build` path, so one IAM login authorizes a build with no separate build token), or that organization's own machine identity (the pipeline path). The build is attributed to that org and confined to what it owns. - the shared build-callback token, compared in constant time. It names NO organization, which is both why the fabric's own release can publish across brands with it and why anything that CAN name one is read first. Both are bounded by the owned-registry allowlist. The org path is bounded again, by the org: the image's registry namespace must be one that organization owns, so it publishes into its own brand and can never overwrite another's through the shared push credential. The same confinement applies to the artifact lane's repo owner. There is no request field naming an organization — the attribution is read off the credential, so there is nothing for a caller to write it with. The output image is parsed and validated as a single well-formed OCI ref before any authorization decision reads it, so a crafted ref cannot smuggle a build-exporter attribute past the check.
|
|
2386
|
+
# @param runner_build_req [RunnerBuildReq]
|
|
2387
|
+
# @param [Hash] opts the optional parameters
|
|
2388
|
+
# @return [Array<(RunnerBuildResp, Integer, Hash)>] RunnerBuildResp data, response status code and response headers
|
|
2389
|
+
def post_platform_runner_with_http_info(runner_build_req, opts = {})
|
|
2390
|
+
if @api_client.config.debugging
|
|
2391
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.post_platform_runner ...'
|
|
2392
|
+
end
|
|
2393
|
+
# verify the required parameter 'runner_build_req' is set
|
|
2394
|
+
if @api_client.config.client_side_validation && runner_build_req.nil?
|
|
2395
|
+
fail ArgumentError, "Missing the required parameter 'runner_build_req' when calling PlatformApi.post_platform_runner"
|
|
2396
|
+
end
|
|
2397
|
+
# resource path
|
|
2398
|
+
local_var_path = '/v1/platform/runner'
|
|
2399
|
+
|
|
2400
|
+
# query parameters
|
|
2401
|
+
query_params = opts[:query_params] || {}
|
|
2402
|
+
|
|
2403
|
+
# header parameters
|
|
2404
|
+
header_params = opts[:header_params] || {}
|
|
2405
|
+
# HTTP header 'Accept' (if needed)
|
|
2406
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2407
|
+
# HTTP header 'Content-Type'
|
|
2408
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2409
|
+
if !content_type.nil?
|
|
2410
|
+
header_params['Content-Type'] = content_type
|
|
2411
|
+
end
|
|
2412
|
+
|
|
2413
|
+
# form parameters
|
|
2414
|
+
form_params = opts[:form_params] || {}
|
|
2415
|
+
|
|
2416
|
+
# http body (model)
|
|
2417
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(runner_build_req)
|
|
2418
|
+
|
|
2419
|
+
# return_type
|
|
2420
|
+
return_type = opts[:debug_return_type] || 'RunnerBuildResp'
|
|
2421
|
+
|
|
2422
|
+
# auth_names
|
|
2423
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
2424
|
+
|
|
2425
|
+
new_options = opts.merge(
|
|
2426
|
+
:operation => :"PlatformApi.post_platform_runner",
|
|
2427
|
+
:header_params => header_params,
|
|
2428
|
+
:query_params => query_params,
|
|
2429
|
+
:form_params => form_params,
|
|
2430
|
+
:body => post_body,
|
|
2431
|
+
:auth_names => auth_names,
|
|
2432
|
+
:return_type => return_type
|
|
2433
|
+
)
|
|
2434
|
+
|
|
2435
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
2436
|
+
if @api_client.config.debugging
|
|
2437
|
+
@api_client.config.logger.debug "API called: PlatformApi#post_platform_runner\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2438
|
+
end
|
|
2439
|
+
return data, status_code, headers
|
|
2440
|
+
end
|
|
2441
|
+
|
|
2442
|
+
# Replaces an app's environment variables.
|
|
2443
|
+
# Replaces an app's environment variables. It writes the app's whole environment set and answers the updated application. This is the one post-create write path for env, and it REPLACES rather than merges: a variable absent from the body is gone, and a secret dropped from the set leaves the app's Secret on its next deploy. Keys must match `^[A-Za-z_][A-Za-z0-9_]*$`. A value marked `secret: true` is sealed into KMS and blanked in the database, so plaintext is never persisted — and the write fails 503 if KMS is unavailable rather than storing one in the clear. The rule worth knowing: this does not restart anything. Once the app has been deployed the secret sync is re-declared immediately so the operator re-materialises the Secret, but RUNNING pods keep the environment they started with until their next deploy or restart. Requires a validated principal; 403 without one.
|
|
2444
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
2445
|
+
# @param app [String] App is the application's slug, from the path.
|
|
2446
|
+
# @param set_env_req [SetEnvReq]
|
|
2447
|
+
# @param [Hash] opts the optional parameters
|
|
2448
|
+
# @return [AppView]
|
|
2449
|
+
def put_platform_projects_by_project_apps_by_app_env(project, app, set_env_req, opts = {})
|
|
2450
|
+
data, _status_code, _headers = put_platform_projects_by_project_apps_by_app_env_with_http_info(project, app, set_env_req, opts)
|
|
2451
|
+
data
|
|
2452
|
+
end
|
|
2453
|
+
|
|
2454
|
+
# Replaces an app's environment variables.
|
|
2455
|
+
# Replaces an app's environment variables. It writes the app's whole environment set and answers the updated application. This is the one post-create write path for env, and it REPLACES rather than merges: a variable absent from the body is gone, and a secret dropped from the set leaves the app's Secret on its next deploy. Keys must match `^[A-Za-z_][A-Za-z0-9_]*$`. A value marked `secret: true` is sealed into KMS and blanked in the database, so plaintext is never persisted — and the write fails 503 if KMS is unavailable rather than storing one in the clear. The rule worth knowing: this does not restart anything. Once the app has been deployed the secret sync is re-declared immediately so the operator re-materialises the Secret, but RUNNING pods keep the environment they started with until their next deploy or restart. Requires a validated principal; 403 without one.
|
|
2456
|
+
# @param project [String] Project is the project the application lives under, from the path.
|
|
2457
|
+
# @param app [String] App is the application's slug, from the path.
|
|
2458
|
+
# @param set_env_req [SetEnvReq]
|
|
2459
|
+
# @param [Hash] opts the optional parameters
|
|
2460
|
+
# @return [Array<(AppView, Integer, Hash)>] AppView data, response status code and response headers
|
|
2461
|
+
def put_platform_projects_by_project_apps_by_app_env_with_http_info(project, app, set_env_req, opts = {})
|
|
2462
|
+
if @api_client.config.debugging
|
|
2463
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.put_platform_projects_by_project_apps_by_app_env ...'
|
|
2464
|
+
end
|
|
2465
|
+
# verify the required parameter 'project' is set
|
|
2466
|
+
if @api_client.config.client_side_validation && project.nil?
|
|
2467
|
+
fail ArgumentError, "Missing the required parameter 'project' when calling PlatformApi.put_platform_projects_by_project_apps_by_app_env"
|
|
2468
|
+
end
|
|
2469
|
+
# verify the required parameter 'app' is set
|
|
2470
|
+
if @api_client.config.client_side_validation && app.nil?
|
|
2471
|
+
fail ArgumentError, "Missing the required parameter 'app' when calling PlatformApi.put_platform_projects_by_project_apps_by_app_env"
|
|
2472
|
+
end
|
|
2473
|
+
# verify the required parameter 'set_env_req' is set
|
|
2474
|
+
if @api_client.config.client_side_validation && set_env_req.nil?
|
|
2475
|
+
fail ArgumentError, "Missing the required parameter 'set_env_req' when calling PlatformApi.put_platform_projects_by_project_apps_by_app_env"
|
|
2476
|
+
end
|
|
2477
|
+
# resource path
|
|
2478
|
+
local_var_path = '/v1/platform/projects/{project}/apps/{app}/env'.sub('{' + 'project' + '}', CGI.escape(project.to_s)).sub('{' + 'app' + '}', CGI.escape(app.to_s))
|
|
2479
|
+
|
|
2480
|
+
# query parameters
|
|
2481
|
+
query_params = opts[:query_params] || {}
|
|
2482
|
+
|
|
2483
|
+
# header parameters
|
|
2484
|
+
header_params = opts[:header_params] || {}
|
|
2485
|
+
# HTTP header 'Accept' (if needed)
|
|
2486
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
2487
|
+
# HTTP header 'Content-Type'
|
|
2488
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
2489
|
+
if !content_type.nil?
|
|
2490
|
+
header_params['Content-Type'] = content_type
|
|
2491
|
+
end
|
|
2492
|
+
|
|
2493
|
+
# form parameters
|
|
2494
|
+
form_params = opts[:form_params] || {}
|
|
2495
|
+
|
|
2496
|
+
# http body (model)
|
|
2497
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_env_req)
|
|
2498
|
+
|
|
2499
|
+
# return_type
|
|
2500
|
+
return_type = opts[:debug_return_type] || 'AppView'
|
|
2501
|
+
|
|
2502
|
+
# auth_names
|
|
2503
|
+
auth_names = opts[:debug_auth_names] || ['bearer']
|
|
2504
|
+
|
|
2505
|
+
new_options = opts.merge(
|
|
2506
|
+
:operation => :"PlatformApi.put_platform_projects_by_project_apps_by_app_env",
|
|
2507
|
+
:header_params => header_params,
|
|
2508
|
+
:query_params => query_params,
|
|
2509
|
+
:form_params => form_params,
|
|
2510
|
+
:body => post_body,
|
|
2511
|
+
:auth_names => auth_names,
|
|
2512
|
+
:return_type => return_type
|
|
2513
|
+
)
|
|
2514
|
+
|
|
2515
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2516
|
+
if @api_client.config.debugging
|
|
2517
|
+
@api_client.config.logger.debug "API called: PlatformApi#put_platform_projects_by_project_apps_by_app_env\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2518
|
+
end
|
|
2519
|
+
return data, status_code, headers
|
|
2520
|
+
end
|
|
2521
|
+
end
|
|
2522
|
+
end
|