Class: Google::Cloud::VmwareEngine::V1::ExternalAccessRule

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

Overview

External access firewall rules for filtering incoming traffic destined to ExternalAddress resources.

Defined Under Namespace

Modules: Action, State Classes: IpRange

Instance Attribute Summary collapse

Instance Attribute Details

#action::Google::Cloud::VmwareEngine::V1::ExternalAccessRule::Action

Returns The action that the external access rule performs.

Returns:



534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 534

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

  # An IP range provided in any one of the supported formats.
  # @!attribute [rw] ip_address
  #   @return [::String]
  #     A single IP address. For example: `10.0.0.5`.
  # @!attribute [rw] ip_address_range
  #   @return [::String]
  #     An IP address range in the CIDR format. For example: `10.0.0.0/24`.
  # @!attribute [rw] external_address
  #   @return [::String]
  #     The name of an `ExternalAddress` resource. The external address must
  #     have been reserved in the scope of this external access rule's parent
  #     network policy.  Provide the external address name in the form of
  #     `projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`.
  #     For example:
  #     `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`.
  class IpRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Action determines whether the external access rule permits or blocks
  # traffic, subject to the other components of the rule matching the traffic.
  module Action
    # Defaults to allow.
    ACTION_UNSPECIFIED = 0

    # Allows connections that match the other specified components.
    ALLOW = 1

    # Blocks connections that match the other specified components.
    DENY = 2
  end

  # Defines possible states of external access firewall rules.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # The rule is ready.
    ACTIVE = 1

    # The rule is being created.
    CREATING = 2

    # The rule is being updated.
    UPDATING = 3

    # The rule is being deleted.
    DELETING = 4
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Creation time of this resource.

Returns:



534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 534

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

  # An IP range provided in any one of the supported formats.
  # @!attribute [rw] ip_address
  #   @return [::String]
  #     A single IP address. For example: `10.0.0.5`.
  # @!attribute [rw] ip_address_range
  #   @return [::String]
  #     An IP address range in the CIDR format. For example: `10.0.0.0/24`.
  # @!attribute [rw] external_address
  #   @return [::String]
  #     The name of an `ExternalAddress` resource. The external address must
  #     have been reserved in the scope of this external access rule's parent
  #     network policy.  Provide the external address name in the form of
  #     `projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`.
  #     For example:
  #     `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`.
  class IpRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Action determines whether the external access rule permits or blocks
  # traffic, subject to the other components of the rule matching the traffic.
  module Action
    # Defaults to allow.
    ACTION_UNSPECIFIED = 0

    # Allows connections that match the other specified components.
    ALLOW = 1

    # Blocks connections that match the other specified components.
    DENY = 2
  end

  # Defines possible states of external access firewall rules.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # The rule is ready.
    ACTIVE = 1

    # The rule is being created.
    CREATING = 2

    # The rule is being updated.
    UPDATING = 3

    # The rule is being deleted.
    DELETING = 4
  end
end

#description::String

Returns User-provided description for this external access rule.

Returns:

  • (::String)

    User-provided description for this external access rule.



534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 534

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

  # An IP range provided in any one of the supported formats.
  # @!attribute [rw] ip_address
  #   @return [::String]
  #     A single IP address. For example: `10.0.0.5`.
  # @!attribute [rw] ip_address_range
  #   @return [::String]
  #     An IP address range in the CIDR format. For example: `10.0.0.0/24`.
  # @!attribute [rw] external_address
  #   @return [::String]
  #     The name of an `ExternalAddress` resource. The external address must
  #     have been reserved in the scope of this external access rule's parent
  #     network policy.  Provide the external address name in the form of
  #     `projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`.
  #     For example:
  #     `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`.
  class IpRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Action determines whether the external access rule permits or blocks
  # traffic, subject to the other components of the rule matching the traffic.
  module Action
    # Defaults to allow.
    ACTION_UNSPECIFIED = 0

    # Allows connections that match the other specified components.
    ALLOW = 1

    # Blocks connections that match the other specified components.
    DENY = 2
  end

  # Defines possible states of external access firewall rules.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # The rule is ready.
    ACTIVE = 1

    # The rule is being created.
    CREATING = 2

    # The rule is being updated.
    UPDATING = 3

    # The rule is being deleted.
    DELETING = 4
  end
end

#destination_ip_ranges::Array<::Google::Cloud::VmwareEngine::V1::ExternalAccessRule::IpRange>

Returns If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges. The specified IP addresses must have reserved external IP addresses in the scope of the parent network policy. To match all external IP addresses in the scope of the parent network policy, specify 0.0.0.0/0. To match a specific external IP address, specify it using the IpRange.external_address property.

Returns:

  • (::Array<::Google::Cloud::VmwareEngine::V1::ExternalAccessRule::IpRange>)

    If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges. The specified IP addresses must have reserved external IP addresses in the scope of the parent network policy. To match all external IP addresses in the scope of the parent network policy, specify 0.0.0.0/0. To match a specific external IP address, specify it using the IpRange.external_address property.



534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 534

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

  # An IP range provided in any one of the supported formats.
  # @!attribute [rw] ip_address
  #   @return [::String]
  #     A single IP address. For example: `10.0.0.5`.
  # @!attribute [rw] ip_address_range
  #   @return [::String]
  #     An IP address range in the CIDR format. For example: `10.0.0.0/24`.
  # @!attribute [rw] external_address
  #   @return [::String]
  #     The name of an `ExternalAddress` resource. The external address must
  #     have been reserved in the scope of this external access rule's parent
  #     network policy.  Provide the external address name in the form of
  #     `projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`.
  #     For example:
  #     `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`.
  class IpRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Action determines whether the external access rule permits or blocks
  # traffic, subject to the other components of the rule matching the traffic.
  module Action
    # Defaults to allow.
    ACTION_UNSPECIFIED = 0

    # Allows connections that match the other specified components.
    ALLOW = 1

    # Blocks connections that match the other specified components.
    DENY = 2
  end

  # Defines possible states of external access firewall rules.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # The rule is ready.
    ACTIVE = 1

    # The rule is being created.
    CREATING = 2

    # The rule is being updated.
    UPDATING = 3

    # The rule is being deleted.
    DELETING = 4
  end
end

#destination_ports::Array<::String>

Returns A list of destination ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: ["22"], ["80","443"], or ["12345-12349"]. To match all destination ports, specify ["0-65535"].

Returns:

  • (::Array<::String>)

    A list of destination ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: ["22"], ["80","443"], or ["12345-12349"]. To match all destination ports, specify ["0-65535"].



534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 534

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

  # An IP range provided in any one of the supported formats.
  # @!attribute [rw] ip_address
  #   @return [::String]
  #     A single IP address. For example: `10.0.0.5`.
  # @!attribute [rw] ip_address_range
  #   @return [::String]
  #     An IP address range in the CIDR format. For example: `10.0.0.0/24`.
  # @!attribute [rw] external_address
  #   @return [::String]
  #     The name of an `ExternalAddress` resource. The external address must
  #     have been reserved in the scope of this external access rule's parent
  #     network policy.  Provide the external address name in the form of
  #     `projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`.
  #     For example:
  #     `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`.
  class IpRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Action determines whether the external access rule permits or blocks
  # traffic, subject to the other components of the rule matching the traffic.
  module Action
    # Defaults to allow.
    ACTION_UNSPECIFIED = 0

    # Allows connections that match the other specified components.
    ALLOW = 1

    # Blocks connections that match the other specified components.
    DENY = 2
  end

  # Defines possible states of external access firewall rules.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # The rule is ready.
    ACTIVE = 1

    # The rule is being created.
    CREATING = 2

    # The rule is being updated.
    UPDATING = 3

    # The rule is being deleted.
    DELETING = 4
  end
end

#ip_protocol::String

Returns The IP protocol to which the external access rule applies. This value can be one of the following three protocol strings (not case-sensitive): tcp, udp, or icmp.

Returns:

  • (::String)

    The IP protocol to which the external access rule applies. This value can be one of the following three protocol strings (not case-sensitive): tcp, udp, or icmp.



534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 534

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

  # An IP range provided in any one of the supported formats.
  # @!attribute [rw] ip_address
  #   @return [::String]
  #     A single IP address. For example: `10.0.0.5`.
  # @!attribute [rw] ip_address_range
  #   @return [::String]
  #     An IP address range in the CIDR format. For example: `10.0.0.0/24`.
  # @!attribute [rw] external_address
  #   @return [::String]
  #     The name of an `ExternalAddress` resource. The external address must
  #     have been reserved in the scope of this external access rule's parent
  #     network policy.  Provide the external address name in the form of
  #     `projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`.
  #     For example:
  #     `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`.
  class IpRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Action determines whether the external access rule permits or blocks
  # traffic, subject to the other components of the rule matching the traffic.
  module Action
    # Defaults to allow.
    ACTION_UNSPECIFIED = 0

    # Allows connections that match the other specified components.
    ALLOW = 1

    # Blocks connections that match the other specified components.
    DENY = 2
  end

  # Defines possible states of external access firewall rules.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # The rule is ready.
    ACTIVE = 1

    # The rule is being created.
    CREATING = 2

    # The rule is being updated.
    UPDATING = 3

    # The rule is being deleted.
    DELETING = 4
  end
end

#name::String (readonly)

Returns Output only. The resource name of this external access rule. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule.

Returns:

  • (::String)

    Output only. The resource name of this external access rule. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule



534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 534

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

  # An IP range provided in any one of the supported formats.
  # @!attribute [rw] ip_address
  #   @return [::String]
  #     A single IP address. For example: `10.0.0.5`.
  # @!attribute [rw] ip_address_range
  #   @return [::String]
  #     An IP address range in the CIDR format. For example: `10.0.0.0/24`.
  # @!attribute [rw] external_address
  #   @return [::String]
  #     The name of an `ExternalAddress` resource. The external address must
  #     have been reserved in the scope of this external access rule's parent
  #     network policy.  Provide the external address name in the form of
  #     `projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`.
  #     For example:
  #     `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`.
  class IpRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Action determines whether the external access rule permits or blocks
  # traffic, subject to the other components of the rule matching the traffic.
  module Action
    # Defaults to allow.
    ACTION_UNSPECIFIED = 0

    # Allows connections that match the other specified components.
    ALLOW = 1

    # Blocks connections that match the other specified components.
    DENY = 2
  end

  # Defines possible states of external access firewall rules.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # The rule is ready.
    ACTIVE = 1

    # The rule is being created.
    CREATING = 2

    # The rule is being updated.
    UPDATING = 3

    # The rule is being deleted.
    DELETING = 4
  end
end

#priority::Integer

Returns External access rule priority, which determines the external access rule to use when multiple rules apply. If multiple rules have the same priority, their ordering is non-deterministic. If specific ordering is required, assign unique priorities to enforce such ordering. The external access rule priority is an integer from 100 to 4096, both inclusive. Lower integers indicate higher precedence. For example, a rule with priority 100 has higher precedence than a rule with priority 101.

Returns:

  • (::Integer)

    External access rule priority, which determines the external access rule to use when multiple rules apply. If multiple rules have the same priority, their ordering is non-deterministic. If specific ordering is required, assign unique priorities to enforce such ordering. The external access rule priority is an integer from 100 to 4096, both inclusive. Lower integers indicate higher precedence. For example, a rule with priority 100 has higher precedence than a rule with priority 101.



534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 534

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

  # An IP range provided in any one of the supported formats.
  # @!attribute [rw] ip_address
  #   @return [::String]
  #     A single IP address. For example: `10.0.0.5`.
  # @!attribute [rw] ip_address_range
  #   @return [::String]
  #     An IP address range in the CIDR format. For example: `10.0.0.0/24`.
  # @!attribute [rw] external_address
  #   @return [::String]
  #     The name of an `ExternalAddress` resource. The external address must
  #     have been reserved in the scope of this external access rule's parent
  #     network policy.  Provide the external address name in the form of
  #     `projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`.
  #     For example:
  #     `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`.
  class IpRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Action determines whether the external access rule permits or blocks
  # traffic, subject to the other components of the rule matching the traffic.
  module Action
    # Defaults to allow.
    ACTION_UNSPECIFIED = 0

    # Allows connections that match the other specified components.
    ALLOW = 1

    # Blocks connections that match the other specified components.
    DENY = 2
  end

  # Defines possible states of external access firewall rules.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # The rule is ready.
    ACTIVE = 1

    # The rule is being created.
    CREATING = 2

    # The rule is being updated.
    UPDATING = 3

    # The rule is being deleted.
    DELETING = 4
  end
end

#source_ip_ranges::Array<::Google::Cloud::VmwareEngine::V1::ExternalAccessRule::IpRange>

Returns If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges. These ranges can either be expressed in the CIDR format or as an IP address. As only inbound rules are supported, ExternalAddress resources cannot be the source IP addresses of an external access rule. To match all source addresses, specify 0.0.0.0/0.

Returns:

  • (::Array<::Google::Cloud::VmwareEngine::V1::ExternalAccessRule::IpRange>)

    If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges. These ranges can either be expressed in the CIDR format or as an IP address. As only inbound rules are supported, ExternalAddress resources cannot be the source IP addresses of an external access rule. To match all source addresses, specify 0.0.0.0/0.



534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 534

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

  # An IP range provided in any one of the supported formats.
  # @!attribute [rw] ip_address
  #   @return [::String]
  #     A single IP address. For example: `10.0.0.5`.
  # @!attribute [rw] ip_address_range
  #   @return [::String]
  #     An IP address range in the CIDR format. For example: `10.0.0.0/24`.
  # @!attribute [rw] external_address
  #   @return [::String]
  #     The name of an `ExternalAddress` resource. The external address must
  #     have been reserved in the scope of this external access rule's parent
  #     network policy.  Provide the external address name in the form of
  #     `projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`.
  #     For example:
  #     `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`.
  class IpRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Action determines whether the external access rule permits or blocks
  # traffic, subject to the other components of the rule matching the traffic.
  module Action
    # Defaults to allow.
    ACTION_UNSPECIFIED = 0

    # Allows connections that match the other specified components.
    ALLOW = 1

    # Blocks connections that match the other specified components.
    DENY = 2
  end

  # Defines possible states of external access firewall rules.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # The rule is ready.
    ACTIVE = 1

    # The rule is being created.
    CREATING = 2

    # The rule is being updated.
    UPDATING = 3

    # The rule is being deleted.
    DELETING = 4
  end
end

#source_ports::Array<::String>

Returns A list of source ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: ["22"], ["80","443"], or ["12345-12349"]. To match all source ports, specify ["0-65535"].

Returns:

  • (::Array<::String>)

    A list of source ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: ["22"], ["80","443"], or ["12345-12349"]. To match all source ports, specify ["0-65535"].



534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 534

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

  # An IP range provided in any one of the supported formats.
  # @!attribute [rw] ip_address
  #   @return [::String]
  #     A single IP address. For example: `10.0.0.5`.
  # @!attribute [rw] ip_address_range
  #   @return [::String]
  #     An IP address range in the CIDR format. For example: `10.0.0.0/24`.
  # @!attribute [rw] external_address
  #   @return [::String]
  #     The name of an `ExternalAddress` resource. The external address must
  #     have been reserved in the scope of this external access rule's parent
  #     network policy.  Provide the external address name in the form of
  #     `projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`.
  #     For example:
  #     `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`.
  class IpRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Action determines whether the external access rule permits or blocks
  # traffic, subject to the other components of the rule matching the traffic.
  module Action
    # Defaults to allow.
    ACTION_UNSPECIFIED = 0

    # Allows connections that match the other specified components.
    ALLOW = 1

    # Blocks connections that match the other specified components.
    DENY = 2
  end

  # Defines possible states of external access firewall rules.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # The rule is ready.
    ACTIVE = 1

    # The rule is being created.
    CREATING = 2

    # The rule is being updated.
    UPDATING = 3

    # The rule is being deleted.
    DELETING = 4
  end
end

#state::Google::Cloud::VmwareEngine::V1::ExternalAccessRule::State (readonly)

Returns Output only. The state of the resource.

Returns:



534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 534

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

  # An IP range provided in any one of the supported formats.
  # @!attribute [rw] ip_address
  #   @return [::String]
  #     A single IP address. For example: `10.0.0.5`.
  # @!attribute [rw] ip_address_range
  #   @return [::String]
  #     An IP address range in the CIDR format. For example: `10.0.0.0/24`.
  # @!attribute [rw] external_address
  #   @return [::String]
  #     The name of an `ExternalAddress` resource. The external address must
  #     have been reserved in the scope of this external access rule's parent
  #     network policy.  Provide the external address name in the form of
  #     `projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`.
  #     For example:
  #     `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`.
  class IpRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Action determines whether the external access rule permits or blocks
  # traffic, subject to the other components of the rule matching the traffic.
  module Action
    # Defaults to allow.
    ACTION_UNSPECIFIED = 0

    # Allows connections that match the other specified components.
    ALLOW = 1

    # Blocks connections that match the other specified components.
    DENY = 2
  end

  # Defines possible states of external access firewall rules.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # The rule is ready.
    ACTIVE = 1

    # The rule is being created.
    CREATING = 2

    # The rule is being updated.
    UPDATING = 3

    # The rule is being deleted.
    DELETING = 4
  end
end

#uid::String (readonly)

Returns Output only. System-generated unique identifier for the resource.

Returns:

  • (::String)

    Output only. System-generated unique identifier for the resource.



534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 534

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

  # An IP range provided in any one of the supported formats.
  # @!attribute [rw] ip_address
  #   @return [::String]
  #     A single IP address. For example: `10.0.0.5`.
  # @!attribute [rw] ip_address_range
  #   @return [::String]
  #     An IP address range in the CIDR format. For example: `10.0.0.0/24`.
  # @!attribute [rw] external_address
  #   @return [::String]
  #     The name of an `ExternalAddress` resource. The external address must
  #     have been reserved in the scope of this external access rule's parent
  #     network policy.  Provide the external address name in the form of
  #     `projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`.
  #     For example:
  #     `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`.
  class IpRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Action determines whether the external access rule permits or blocks
  # traffic, subject to the other components of the rule matching the traffic.
  module Action
    # Defaults to allow.
    ACTION_UNSPECIFIED = 0

    # Allows connections that match the other specified components.
    ALLOW = 1

    # Blocks connections that match the other specified components.
    DENY = 2
  end

  # Defines possible states of external access firewall rules.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # The rule is ready.
    ACTIVE = 1

    # The rule is being created.
    CREATING = 2

    # The rule is being updated.
    UPDATING = 3

    # The rule is being deleted.
    DELETING = 4
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Last update time of this resource.

Returns:



534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 534

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

  # An IP range provided in any one of the supported formats.
  # @!attribute [rw] ip_address
  #   @return [::String]
  #     A single IP address. For example: `10.0.0.5`.
  # @!attribute [rw] ip_address_range
  #   @return [::String]
  #     An IP address range in the CIDR format. For example: `10.0.0.0/24`.
  # @!attribute [rw] external_address
  #   @return [::String]
  #     The name of an `ExternalAddress` resource. The external address must
  #     have been reserved in the scope of this external access rule's parent
  #     network policy.  Provide the external address name in the form of
  #     `projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`.
  #     For example:
  #     `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`.
  class IpRange
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Action determines whether the external access rule permits or blocks
  # traffic, subject to the other components of the rule matching the traffic.
  module Action
    # Defaults to allow.
    ACTION_UNSPECIFIED = 0

    # Allows connections that match the other specified components.
    ALLOW = 1

    # Blocks connections that match the other specified components.
    DENY = 2
  end

  # Defines possible states of external access firewall rules.
  module State
    # The default value. This value is used if the state is omitted.
    STATE_UNSPECIFIED = 0

    # The rule is ready.
    ACTIVE = 1

    # The rule is being created.
    CREATING = 2

    # The rule is being updated.
    UPDATING = 3

    # The rule is being deleted.
    DELETING = 4
  end
end