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.



27872
27873
27874
27875
27876
27877
27878
27879
27880
27881
27882
27883
27884
27885
27886
27887
27888
27889
27890
27891
27892
27893
27894
27895
27896
27897
27898
27899
27900
27901
27902
27903
27904
27905
27906
27907
27908
27909
27910
27911
27912
27913
27914
27915
27916
27917
27918
27919
27920
27921
27922
27923
27924
27925
27926
27927
27928
27929
27930
27931
27932
27933
27934
27935
27936
27937
27938
27939
27940
27941
27942
27943
27944
27945
27946
27947
27948
27949
27950
27951
27952
27953
27954
27955
27956
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27872

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" }



27872
27873
27874
27875
27876
27877
27878
27879
27880
27881
27882
27883
27884
27885
27886
27887
27888
27889
27890
27891
27892
27893
27894
27895
27896
27897
27898
27899
27900
27901
27902
27903
27904
27905
27906
27907
27908
27909
27910
27911
27912
27913
27914
27915
27916
27917
27918
27919
27920
27921
27922
27923
27924
27925
27926
27927
27928
27929
27930
27931
27932
27933
27934
27935
27936
27937
27938
27939
27940
27941
27942
27943
27944
27945
27946
27947
27948
27949
27950
27951
27952
27953
27954
27955
27956
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27872

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.



27872
27873
27874
27875
27876
27877
27878
27879
27880
27881
27882
27883
27884
27885
27886
27887
27888
27889
27890
27891
27892
27893
27894
27895
27896
27897
27898
27899
27900
27901
27902
27903
27904
27905
27906
27907
27908
27909
27910
27911
27912
27913
27914
27915
27916
27917
27918
27919
27920
27921
27922
27923
27924
27925
27926
27927
27928
27929
27930
27931
27932
27933
27934
27935
27936
27937
27938
27939
27940
27941
27942
27943
27944
27945
27946
27947
27948
27949
27950
27951
27952
27953
27954
27955
27956
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27872

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