#[allow(unused_imports)]
use super::*;
impl std::fmt::Debug for super::Constraint {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Constraint");
debug_struct.field("name", &self.name);
debug_struct.field("display_name", &self.display_name);
debug_struct.field("description", &self.description);
debug_struct.field("constraint_default", &self.constraint_default);
debug_struct.field("supports_dry_run", &self.supports_dry_run);
debug_struct.field("equivalent_constraint", &self.equivalent_constraint);
debug_struct.field("supports_simulation", &self.supports_simulation);
debug_struct.field("constraint_type", &self.constraint_type);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::constraint::ListConstraint {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListConstraint");
debug_struct.field("supports_in", &self.supports_in);
debug_struct.field("supports_under", &self.supports_under);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::constraint::CustomConstraintDefinition {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("CustomConstraintDefinition");
debug_struct.field("resource_types", &self.resource_types);
debug_struct.field("method_types", &self.method_types);
debug_struct.field("condition", &self.condition);
debug_struct.field("action_type", &self.action_type);
debug_struct.field("parameters", &self.parameters);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::constraint::custom_constraint_definition::Parameter {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Parameter");
debug_struct.field("r#type", &self.r#type);
debug_struct.field("default_value", &self.default_value);
debug_struct.field("valid_values_expr", &self.valid_values_expr);
debug_struct.field("metadata", &self.metadata);
debug_struct.field("item", &self.item);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::constraint::custom_constraint_definition::parameter::Metadata {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Metadata");
debug_struct.field("description", &self.description);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::constraint::BooleanConstraint {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("BooleanConstraint");
debug_struct.field(
"custom_constraint_definition",
&self.custom_constraint_definition,
);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::CustomConstraint {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("CustomConstraint");
debug_struct.field("name", &self.name);
debug_struct.field("resource_types", &self.resource_types);
debug_struct.field("method_types", &self.method_types);
debug_struct.field("condition", &self.condition);
debug_struct.field("action_type", &self.action_type);
debug_struct.field("display_name", &self.display_name);
debug_struct.field("description", &self.description);
debug_struct.field("update_time", &self.update_time);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::Policy {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("Policy");
debug_struct.field("name", &self.name);
debug_struct.field("spec", &self.spec);
debug_struct.field("alternate", &self.alternate);
debug_struct.field("dry_run_spec", &self.dry_run_spec);
debug_struct.field("etag", &self.etag);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::AlternatePolicySpec {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("AlternatePolicySpec");
debug_struct.field("launch", &self.launch);
debug_struct.field("spec", &self.spec);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::PolicySpec {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("PolicySpec");
debug_struct.field("etag", &self.etag);
debug_struct.field("update_time", &self.update_time);
debug_struct.field("rules", &self.rules);
debug_struct.field("inherit_from_parent", &self.inherit_from_parent);
debug_struct.field("reset", &self.reset);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::policy_spec::PolicyRule {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("PolicyRule");
debug_struct.field("condition", &self.condition);
debug_struct.field("parameters", &self.parameters);
debug_struct.field("kind", &self.kind);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::policy_spec::policy_rule::StringValues {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("StringValues");
debug_struct.field("allowed_values", &self.allowed_values);
debug_struct.field("denied_values", &self.denied_values);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListConstraintsRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListConstraintsRequest");
debug_struct.field("parent", &self.parent);
debug_struct.field("page_size", &self.page_size);
debug_struct.field("page_token", &self.page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListConstraintsResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListConstraintsResponse");
debug_struct.field("constraints", &self.constraints);
debug_struct.field("next_page_token", &self.next_page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListPoliciesRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListPoliciesRequest");
debug_struct.field("parent", &self.parent);
debug_struct.field("page_size", &self.page_size);
debug_struct.field("page_token", &self.page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListPoliciesResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListPoliciesResponse");
debug_struct.field("policies", &self.policies);
debug_struct.field("next_page_token", &self.next_page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::GetPolicyRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("GetPolicyRequest");
debug_struct.field("name", &self.name);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::GetEffectivePolicyRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("GetEffectivePolicyRequest");
debug_struct.field("name", &self.name);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::CreatePolicyRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("CreatePolicyRequest");
debug_struct.field("parent", &self.parent);
debug_struct.field("policy", &self.policy);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::UpdatePolicyRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("UpdatePolicyRequest");
debug_struct.field("policy", &self.policy);
debug_struct.field("update_mask", &self.update_mask);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::DeletePolicyRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("DeletePolicyRequest");
debug_struct.field("name", &self.name);
debug_struct.field("etag", &self.etag);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::CreateCustomConstraintRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("CreateCustomConstraintRequest");
debug_struct.field("parent", &self.parent);
debug_struct.field("custom_constraint", &self.custom_constraint);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::GetCustomConstraintRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("GetCustomConstraintRequest");
debug_struct.field("name", &self.name);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListCustomConstraintsRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListCustomConstraintsRequest");
debug_struct.field("parent", &self.parent);
debug_struct.field("page_size", &self.page_size);
debug_struct.field("page_token", &self.page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::ListCustomConstraintsResponse {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("ListCustomConstraintsResponse");
debug_struct.field("custom_constraints", &self.custom_constraints);
debug_struct.field("next_page_token", &self.next_page_token);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::UpdateCustomConstraintRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("UpdateCustomConstraintRequest");
debug_struct.field("custom_constraint", &self.custom_constraint);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}
impl std::fmt::Debug for super::DeleteCustomConstraintRequest {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let mut debug_struct = f.debug_struct("DeleteCustomConstraintRequest");
debug_struct.field("name", &self.name);
if !self._unknown_fields.is_empty() {
debug_struct.field("_unknown_fields", &self._unknown_fields);
}
debug_struct.finish()
}
}