Class: Google::Apis::NetworksecurityV1beta1::InterceptDeployment
- Inherits:
-
Object
- Object
- Google::Apis::NetworksecurityV1beta1::InterceptDeployment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networksecurity_v1beta1/classes.rb,
lib/google/apis/networksecurity_v1beta1/representations.rb,
lib/google/apis/networksecurity_v1beta1/representations.rb
Overview
Message describing InterceptDeployment object NEXT ID: 10
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#forwarding_rule ⇒ String
Required.
-
#intercept_deployment_group ⇒ String
Required.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Immutable.
-
#reconciling ⇒ Boolean
(also: #reconciling?)
Output only.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InterceptDeployment
constructor
A new instance of InterceptDeployment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InterceptDeployment
Returns a new instance of InterceptDeployment.
1808 1809 1810 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1808 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. [Output only] Create time stamp
Corresponds to the JSON property createTime
1759 1760 1761 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1759 def create_time @create_time end |
#description ⇒ String
Optional. User-provided description of the deployment. Used as additional
context for the deployment.
Corresponds to the JSON property description
1765 1766 1767 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1765 def description @description end |
#forwarding_rule ⇒ String
Required. Immutable. The regional load balancer which the intercepted traffic
should be forwarded to. Format is: projects/project/regions/region/
forwardingRules/forwardingRule
Corresponds to the JSON property forwardingRule
1772 1773 1774 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1772 def forwarding_rule @forwarding_rule end |
#intercept_deployment_group ⇒ String
Required. Immutable. The Intercept Deployment Group that this resource is part
of. Format is: projects/project/locations/global/interceptDeploymentGroups/
interceptDeploymentGroup`
Corresponds to the JSON propertyinterceptDeploymentGroup`
1779 1780 1781 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1779 def intercept_deployment_group @intercept_deployment_group end |
#labels ⇒ Hash<String,String>
Optional. Labels as key value pairs
Corresponds to the JSON property labels
1784 1785 1786 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1784 def labels @labels end |
#name ⇒ String
Immutable. Identifier. The name of the InterceptDeployment.
Corresponds to the JSON property name
1789 1790 1791 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1789 def name @name end |
#reconciling ⇒ Boolean Also known as: reconciling?
Output only. Whether reconciling is in progress, recommended per https://
google.aip.dev/128.
Corresponds to the JSON property reconciling
1795 1796 1797 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1795 def reconciling @reconciling end |
#state ⇒ String
Output only. Current state of the deployment.
Corresponds to the JSON property state
1801 1802 1803 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1801 def state @state end |
#update_time ⇒ String
Output only. [Output only] Update time stamp
Corresponds to the JSON property updateTime
1806 1807 1808 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1806 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 |
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1813 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule) @intercept_deployment_group = args[:intercept_deployment_group] if args.key?(:intercept_deployment_group) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @reconciling = args[:reconciling] if args.key?(:reconciling) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end |