Class: Google::Cloud::Compute::V1::Warning

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Overview

[Output Only] Informational warning message.

Defined Under Namespace

Modules: Code

Instance Attribute Summary collapse

Instance Attribute Details

#code::String

Returns [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. Check the Code enum for the list of possible values.

Returns:

  • (::String)

    [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. Check the Code enum for the list of possible values.



26555
26556
26557
26558
26559
26560
26561
26562
26563
26564
26565
26566
26567
26568
26569
26570
26571
26572
26573
26574
26575
26576
26577
26578
26579
26580
26581
26582
26583
26584
26585
26586
26587
26588
26589
26590
26591
26592
26593
26594
26595
26596
26597
26598
26599
26600
26601
26602
26603
26604
26605
26606
26607
26608
26609
26610
26611
26612
26613
26614
26615
26616
26617
26618
26619
26620
26621
26622
26623
26624
26625
26626
26627
26628
26629
26630
26631
26632
26633
26634
26635
26636
26637
26638
26639
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26555

class Warning
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
  module Code
    # A value indicating that the enum field is not set.
    UNDEFINED_CODE = 0

    # Warning about failed cleanup of transient changes made by a failed operation.
    CLEANUP_FAILED = 150308440

    # A link to a deprecated resource was created.
    DEPRECATED_RESOURCE_USED = 391835586

    # When deploying and at least one of the resources has a type marked as deprecated
    DEPRECATED_TYPE_USED = 346526230

    # The user created a boot disk that is larger than image size.
    DISK_SIZE_LARGER_THAN_IMAGE_SIZE = 369442967

    # When deploying and at least one of the resources has a type marked as experimental
    EXPERIMENTAL_TYPE_USED = 451954443

    # Warning that is present in an external api call
    EXTERNAL_API_WARNING = 175546307

    # Warning that value of a field has been overridden. Deprecated unused field.
    FIELD_VALUE_OVERRIDEN = 329669423

    # The operation involved use of an injected kernel, which is deprecated.
    INJECTED_KERNELS_DEPRECATED = 417377419

    # When deploying a deployment with a exceedingly large number of resources
    LARGE_DEPLOYMENT_WARNING = 481440678

    # A resource depends on a missing type
    MISSING_TYPE_DEPENDENCY = 344505463

    # The route's nextHopIp address is not assigned to an instance on the network.
    NEXT_HOP_ADDRESS_NOT_ASSIGNED = 324964999

    # The route's next hop instance cannot ip forward.
    NEXT_HOP_CANNOT_IP_FORWARD = 383382887

    # The route's nextHopInstance URL refers to an instance that does not exist.
    NEXT_HOP_INSTANCE_NOT_FOUND = 464250446

    # The route's nextHopInstance URL refers to an instance that is not on the same network as the route.
    NEXT_HOP_INSTANCE_NOT_ON_NETWORK = 243758146

    # The route's next hop instance does not have a status of RUNNING.
    NEXT_HOP_NOT_RUNNING = 417081265

    # Error which is not critical. We decided to continue the process despite the mentioned error.
    NOT_CRITICAL_ERROR = 105763924

    # No results are present on a particular list page.
    NO_RESULTS_ON_PAGE = 30036744

    # Success is reported, but some results may be missing due to errors
    PARTIAL_SUCCESS = 39966469

    # The user attempted to use a resource that requires a TOS they have not accepted.
    REQUIRED_TOS_AGREEMENT = 3745539

    # Warning that a resource is in use.
    RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING = 496728641

    # One or more of the resources set to auto-delete could not be deleted because they were in use.
    RESOURCE_NOT_DELETED = 168598460

    # When a resource schema validation is ignored.
    SCHEMA_VALIDATION_IGNORED = 275245642

    # Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.
    SINGLE_INSTANCE_PROPERTY_TEMPLATE = 268305617

    # When undeclared properties in the schema are present
    UNDECLARED_PROPERTIES = 390513439

    # A given scope cannot be reached.
    UNREACHABLE = 13328052
  end
end

#data::Array<::Google::Cloud::Compute::V1::Data>

Returns [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }.

Returns:

  • (::Array<::Google::Cloud::Compute::V1::Data>)

    [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }



26555
26556
26557
26558
26559
26560
26561
26562
26563
26564
26565
26566
26567
26568
26569
26570
26571
26572
26573
26574
26575
26576
26577
26578
26579
26580
26581
26582
26583
26584
26585
26586
26587
26588
26589
26590
26591
26592
26593
26594
26595
26596
26597
26598
26599
26600
26601
26602
26603
26604
26605
26606
26607
26608
26609
26610
26611
26612
26613
26614
26615
26616
26617
26618
26619
26620
26621
26622
26623
26624
26625
26626
26627
26628
26629
26630
26631
26632
26633
26634
26635
26636
26637
26638
26639
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26555

class Warning
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
  module Code
    # A value indicating that the enum field is not set.
    UNDEFINED_CODE = 0

    # Warning about failed cleanup of transient changes made by a failed operation.
    CLEANUP_FAILED = 150308440

    # A link to a deprecated resource was created.
    DEPRECATED_RESOURCE_USED = 391835586

    # When deploying and at least one of the resources has a type marked as deprecated
    DEPRECATED_TYPE_USED = 346526230

    # The user created a boot disk that is larger than image size.
    DISK_SIZE_LARGER_THAN_IMAGE_SIZE = 369442967

    # When deploying and at least one of the resources has a type marked as experimental
    EXPERIMENTAL_TYPE_USED = 451954443

    # Warning that is present in an external api call
    EXTERNAL_API_WARNING = 175546307

    # Warning that value of a field has been overridden. Deprecated unused field.
    FIELD_VALUE_OVERRIDEN = 329669423

    # The operation involved use of an injected kernel, which is deprecated.
    INJECTED_KERNELS_DEPRECATED = 417377419

    # When deploying a deployment with a exceedingly large number of resources
    LARGE_DEPLOYMENT_WARNING = 481440678

    # A resource depends on a missing type
    MISSING_TYPE_DEPENDENCY = 344505463

    # The route's nextHopIp address is not assigned to an instance on the network.
    NEXT_HOP_ADDRESS_NOT_ASSIGNED = 324964999

    # The route's next hop instance cannot ip forward.
    NEXT_HOP_CANNOT_IP_FORWARD = 383382887

    # The route's nextHopInstance URL refers to an instance that does not exist.
    NEXT_HOP_INSTANCE_NOT_FOUND = 464250446

    # The route's nextHopInstance URL refers to an instance that is not on the same network as the route.
    NEXT_HOP_INSTANCE_NOT_ON_NETWORK = 243758146

    # The route's next hop instance does not have a status of RUNNING.
    NEXT_HOP_NOT_RUNNING = 417081265

    # Error which is not critical. We decided to continue the process despite the mentioned error.
    NOT_CRITICAL_ERROR = 105763924

    # No results are present on a particular list page.
    NO_RESULTS_ON_PAGE = 30036744

    # Success is reported, but some results may be missing due to errors
    PARTIAL_SUCCESS = 39966469

    # The user attempted to use a resource that requires a TOS they have not accepted.
    REQUIRED_TOS_AGREEMENT = 3745539

    # Warning that a resource is in use.
    RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING = 496728641

    # One or more of the resources set to auto-delete could not be deleted because they were in use.
    RESOURCE_NOT_DELETED = 168598460

    # When a resource schema validation is ignored.
    SCHEMA_VALIDATION_IGNORED = 275245642

    # Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.
    SINGLE_INSTANCE_PROPERTY_TEMPLATE = 268305617

    # When undeclared properties in the schema are present
    UNDECLARED_PROPERTIES = 390513439

    # A given scope cannot be reached.
    UNREACHABLE = 13328052
  end
end

#message::String

Returns [Output Only] A human-readable description of the warning code.

Returns:

  • (::String)

    [Output Only] A human-readable description of the warning code.



26555
26556
26557
26558
26559
26560
26561
26562
26563
26564
26565
26566
26567
26568
26569
26570
26571
26572
26573
26574
26575
26576
26577
26578
26579
26580
26581
26582
26583
26584
26585
26586
26587
26588
26589
26590
26591
26592
26593
26594
26595
26596
26597
26598
26599
26600
26601
26602
26603
26604
26605
26606
26607
26608
26609
26610
26611
26612
26613
26614
26615
26616
26617
26618
26619
26620
26621
26622
26623
26624
26625
26626
26627
26628
26629
26630
26631
26632
26633
26634
26635
26636
26637
26638
26639
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26555

class Warning
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
  module Code
    # A value indicating that the enum field is not set.
    UNDEFINED_CODE = 0

    # Warning about failed cleanup of transient changes made by a failed operation.
    CLEANUP_FAILED = 150308440

    # A link to a deprecated resource was created.
    DEPRECATED_RESOURCE_USED = 391835586

    # When deploying and at least one of the resources has a type marked as deprecated
    DEPRECATED_TYPE_USED = 346526230

    # The user created a boot disk that is larger than image size.
    DISK_SIZE_LARGER_THAN_IMAGE_SIZE = 369442967

    # When deploying and at least one of the resources has a type marked as experimental
    EXPERIMENTAL_TYPE_USED = 451954443

    # Warning that is present in an external api call
    EXTERNAL_API_WARNING = 175546307

    # Warning that value of a field has been overridden. Deprecated unused field.
    FIELD_VALUE_OVERRIDEN = 329669423

    # The operation involved use of an injected kernel, which is deprecated.
    INJECTED_KERNELS_DEPRECATED = 417377419

    # When deploying a deployment with a exceedingly large number of resources
    LARGE_DEPLOYMENT_WARNING = 481440678

    # A resource depends on a missing type
    MISSING_TYPE_DEPENDENCY = 344505463

    # The route's nextHopIp address is not assigned to an instance on the network.
    NEXT_HOP_ADDRESS_NOT_ASSIGNED = 324964999

    # The route's next hop instance cannot ip forward.
    NEXT_HOP_CANNOT_IP_FORWARD = 383382887

    # The route's nextHopInstance URL refers to an instance that does not exist.
    NEXT_HOP_INSTANCE_NOT_FOUND = 464250446

    # The route's nextHopInstance URL refers to an instance that is not on the same network as the route.
    NEXT_HOP_INSTANCE_NOT_ON_NETWORK = 243758146

    # The route's next hop instance does not have a status of RUNNING.
    NEXT_HOP_NOT_RUNNING = 417081265

    # Error which is not critical. We decided to continue the process despite the mentioned error.
    NOT_CRITICAL_ERROR = 105763924

    # No results are present on a particular list page.
    NO_RESULTS_ON_PAGE = 30036744

    # Success is reported, but some results may be missing due to errors
    PARTIAL_SUCCESS = 39966469

    # The user attempted to use a resource that requires a TOS they have not accepted.
    REQUIRED_TOS_AGREEMENT = 3745539

    # Warning that a resource is in use.
    RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING = 496728641

    # One or more of the resources set to auto-delete could not be deleted because they were in use.
    RESOURCE_NOT_DELETED = 168598460

    # When a resource schema validation is ignored.
    SCHEMA_VALIDATION_IGNORED = 275245642

    # Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.
    SINGLE_INSTANCE_PROPERTY_TEMPLATE = 268305617

    # When undeclared properties in the schema are present
    UNDECLARED_PROPERTIES = 390513439

    # A given scope cannot be reached.
    UNREACHABLE = 13328052
  end
end