Class: Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap::ConsumerPscConfig

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

Overview

Allow the producer to specify which consumers can connect to it.

Defined Under Namespace

Modules: State Classes: ProducerInstanceMetadataEntry, ServiceAttachmentIpAddressMapEntry

Instance Attribute Summary collapse

Instance Attribute Details

#consumer_instance_project::String

Returns Required. The project ID or project number of the consumer project. This project is the one that the consumer uses to interact with the producer instance. From the perspective of a consumer who's created a producer instance, this is the project of the producer instance. Format: 'projects/' Eg. 'projects/consumer-project' or 'projects/1234'.

Returns:

  • (::String)

    Required. The project ID or project number of the consumer project. This project is the one that the consumer uses to interact with the producer instance. From the perspective of a consumer who's created a producer instance, this is the project of the producer instance. Format: 'projects/' Eg. 'projects/consumer-project' or 'projects/1234'



132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 132

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ServiceAttachmentIpAddressMapEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # PSC Consumer Config State.
  module State
    # Default state, when Connection Map is created initially.
    STATE_UNSPECIFIED = 0

    # Set when policy and map configuration is valid,
    # and their matching can lead to allowing creation of PSC Connections
    # subject to other constraints like connections limit.
    VALID = 1

    # No Service Connection Policy found for this network and Service
    # Class
    CONNECTION_POLICY_MISSING = 2

    # Service Connection Policy limit reached for this network and Service
    # Class
    POLICY_LIMIT_REACHED = 3

    # The consumer instance project is not in
    # AllowedGoogleProducersResourceHierarchyLevels of the matching
    # ServiceConnectionPolicy.
    CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED = 4
  end
end

#disable_global_access::Boolean

Returns This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.

Returns:

  • (::Boolean)

    This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.



132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 132

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ServiceAttachmentIpAddressMapEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # PSC Consumer Config State.
  module State
    # Default state, when Connection Map is created initially.
    STATE_UNSPECIFIED = 0

    # Set when policy and map configuration is valid,
    # and their matching can lead to allowing creation of PSC Connections
    # subject to other constraints like connections limit.
    VALID = 1

    # No Service Connection Policy found for this network and Service
    # Class
    CONNECTION_POLICY_MISSING = 2

    # Service Connection Policy limit reached for this network and Service
    # Class
    POLICY_LIMIT_REACHED = 3

    # The consumer instance project is not in
    # AllowedGoogleProducersResourceHierarchyLevels of the matching
    # ServiceConnectionPolicy.
    CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED = 4
  end
end

#ip_version::Google::Cloud::NetworkConnectivity::V1::IPVersion

Returns The requested IP version for the PSC connection.

Returns:



132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 132

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ServiceAttachmentIpAddressMapEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # PSC Consumer Config State.
  module State
    # Default state, when Connection Map is created initially.
    STATE_UNSPECIFIED = 0

    # Set when policy and map configuration is valid,
    # and their matching can lead to allowing creation of PSC Connections
    # subject to other constraints like connections limit.
    VALID = 1

    # No Service Connection Policy found for this network and Service
    # Class
    CONNECTION_POLICY_MISSING = 2

    # Service Connection Policy limit reached for this network and Service
    # Class
    POLICY_LIMIT_REACHED = 3

    # The consumer instance project is not in
    # AllowedGoogleProducersResourceHierarchyLevels of the matching
    # ServiceConnectionPolicy.
    CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED = 4
  end
end

#network::String

Returns The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}.

Returns:

  • (::String)

    The resource path of the consumer network where PSC connections are allowed to be created in. Note, this network does not need be in the ConsumerPscConfig.project in the case of SharedVPC. Example: projects/{projectNumOrId}/global/networks/{networkId}.



132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 132

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ServiceAttachmentIpAddressMapEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # PSC Consumer Config State.
  module State
    # Default state, when Connection Map is created initially.
    STATE_UNSPECIFIED = 0

    # Set when policy and map configuration is valid,
    # and their matching can lead to allowing creation of PSC Connections
    # subject to other constraints like connections limit.
    VALID = 1

    # No Service Connection Policy found for this network and Service
    # Class
    CONNECTION_POLICY_MISSING = 2

    # Service Connection Policy limit reached for this network and Service
    # Class
    POLICY_LIMIT_REACHED = 3

    # The consumer instance project is not in
    # AllowedGoogleProducersResourceHierarchyLevels of the matching
    # ServiceConnectionPolicy.
    CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED = 4
  end
end

#producer_instance_id::String

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.

Returns:

  • (::String)

    Immutable. Deprecated. Use producer_instance_metadata instead. An immutable identifier for the producer instance.



132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 132

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ServiceAttachmentIpAddressMapEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # PSC Consumer Config State.
  module State
    # Default state, when Connection Map is created initially.
    STATE_UNSPECIFIED = 0

    # Set when policy and map configuration is valid,
    # and their matching can lead to allowing creation of PSC Connections
    # subject to other constraints like connections limit.
    VALID = 1

    # No Service Connection Policy found for this network and Service
    # Class
    CONNECTION_POLICY_MISSING = 2

    # Service Connection Policy limit reached for this network and Service
    # Class
    POLICY_LIMIT_REACHED = 3

    # The consumer instance project is not in
    # AllowedGoogleProducersResourceHierarchyLevels of the matching
    # ServiceConnectionPolicy.
    CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED = 4
  end
end

#producer_instance_metadata::Google::Protobuf::Map{::String => ::String}

Returns Immutable. An immutable map for the producer instance metadata.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Immutable. An immutable map for the producer instance metadata.



132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 132

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ServiceAttachmentIpAddressMapEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # PSC Consumer Config State.
  module State
    # Default state, when Connection Map is created initially.
    STATE_UNSPECIFIED = 0

    # Set when policy and map configuration is valid,
    # and their matching can lead to allowing creation of PSC Connections
    # subject to other constraints like connections limit.
    VALID = 1

    # No Service Connection Policy found for this network and Service
    # Class
    CONNECTION_POLICY_MISSING = 2

    # Service Connection Policy limit reached for this network and Service
    # Class
    POLICY_LIMIT_REACHED = 3

    # The consumer instance project is not in
    # AllowedGoogleProducersResourceHierarchyLevels of the matching
    # ServiceConnectionPolicy.
    CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED = 4
  end
end

#project::String

Returns The consumer project where PSC connections are allowed to be created in.

Returns:

  • (::String)

    The consumer project where PSC connections are allowed to be created in.



132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 132

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ServiceAttachmentIpAddressMapEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # PSC Consumer Config State.
  module State
    # Default state, when Connection Map is created initially.
    STATE_UNSPECIFIED = 0

    # Set when policy and map configuration is valid,
    # and their matching can lead to allowing creation of PSC Connections
    # subject to other constraints like connections limit.
    VALID = 1

    # No Service Connection Policy found for this network and Service
    # Class
    CONNECTION_POLICY_MISSING = 2

    # Service Connection Policy limit reached for this network and Service
    # Class
    POLICY_LIMIT_REACHED = 3

    # The consumer instance project is not in
    # AllowedGoogleProducersResourceHierarchyLevels of the matching
    # ServiceConnectionPolicy.
    CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED = 4
  end
end

#service_attachment_ip_address_map::Google::Protobuf::Map{::String => ::String} (readonly)

Returns Output only. A map to store mapping between customer vip and target service attachment. Only service attachment with producer specified ip addresses are stored here.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Output only. A map to store mapping between customer vip and target service attachment. Only service attachment with producer specified ip addresses are stored here.



132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 132

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ServiceAttachmentIpAddressMapEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # PSC Consumer Config State.
  module State
    # Default state, when Connection Map is created initially.
    STATE_UNSPECIFIED = 0

    # Set when policy and map configuration is valid,
    # and their matching can lead to allowing creation of PSC Connections
    # subject to other constraints like connections limit.
    VALID = 1

    # No Service Connection Policy found for this network and Service
    # Class
    CONNECTION_POLICY_MISSING = 2

    # Service Connection Policy limit reached for this network and Service
    # Class
    POLICY_LIMIT_REACHED = 3

    # The consumer instance project is not in
    # AllowedGoogleProducersResourceHierarchyLevels of the matching
    # ServiceConnectionPolicy.
    CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED = 4
  end
end

#state::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap::ConsumerPscConfig::State (readonly)

Returns Output only. Overall state of PSC Connections management for this consumer psc config.

Returns:



132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
# File 'proto_docs/google/cloud/networkconnectivity/v1/cross_network_automation.rb', line 132

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ServiceAttachmentIpAddressMapEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class ProducerInstanceMetadataEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # PSC Consumer Config State.
  module State
    # Default state, when Connection Map is created initially.
    STATE_UNSPECIFIED = 0

    # Set when policy and map configuration is valid,
    # and their matching can lead to allowing creation of PSC Connections
    # subject to other constraints like connections limit.
    VALID = 1

    # No Service Connection Policy found for this network and Service
    # Class
    CONNECTION_POLICY_MISSING = 2

    # Service Connection Policy limit reached for this network and Service
    # Class
    POLICY_LIMIT_REACHED = 3

    # The consumer instance project is not in
    # AllowedGoogleProducersResourceHierarchyLevels of the matching
    # ServiceConnectionPolicy.
    CONSUMER_INSTANCE_PROJECT_NOT_ALLOWLISTED = 4
  end
end