Class: Google::Apis::NetworksecurityV1beta1::InterceptDeployment

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InterceptDeployment

Returns a new instance of InterceptDeployment.



1802
1803
1804
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1802

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#create_timeString

Output only. [Output only] Create time stamp Corresponds to the JSON property createTime

Returns:

  • (String)


1759
1760
1761
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1759

def create_time
  @create_time
end

#forwarding_ruleString

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

Returns:

  • (String)


1766
1767
1768
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1766

def forwarding_rule
  @forwarding_rule
end

#intercept_deployment_groupString

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`

Returns:

  • (String)


1773
1774
1775
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1773

def intercept_deployment_group
  @intercept_deployment_group
end

#labelsHash<String,String>

Optional. Labels as key value pairs Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


1778
1779
1780
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1778

def labels
  @labels
end

#nameString

Immutable. Identifier. The name of the InterceptDeployment. Corresponds to the JSON property name

Returns:

  • (String)


1783
1784
1785
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1783

def name
  @name
end

#reconcilingBoolean Also known as: reconciling?

Output only. Whether reconciling is in progress, recommended per https:// google.aip.dev/128. Corresponds to the JSON property reconciling

Returns:

  • (Boolean)


1789
1790
1791
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1789

def reconciling
  @reconciling
end

#stateString

Output only. Current state of the deployment. Corresponds to the JSON property state

Returns:

  • (String)


1795
1796
1797
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1795

def state
  @state
end

#update_timeString

Output only. [Output only] Update time stamp Corresponds to the JSON property updateTime

Returns:

  • (String)


1800
1801
1802
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1800

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1807

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @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