Class: Google::Apis::WorkloadmanagerV1::LocationDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/workloadmanager_v1/classes.rb,
lib/google/apis/workloadmanager_v1/representations.rb,
lib/google/apis/workloadmanager_v1/representations.rb

Overview

Message for SAP instance details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LocationDetails

Returns a new instance of LocationDetails.



1985
1986
1987
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1985

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

Instance Attribute Details

#create_comms_firewallBoolean Also known as: create_comms_firewall?

Optional. Create firewall. If true, creates a firewall for the deployment. This field provides an option to not always create a firewall for the deployment. Corresponds to the JSON property createCommsFirewall

Returns:

  • (Boolean)


1925
1926
1927
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1925

def create_comms_firewall
  @create_comms_firewall
end

#custom_tagsArray<String>

Optional. Network tags. Corresponds to the JSON property customTags

Returns:

  • (Array<String>)


1931
1932
1933
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1931

def custom_tags
  @custom_tags
end

#deployment_dns_enabledBoolean Also known as: deployment_dns_enabled?

Optional. When the user skips DNS configuration in the UI, deployment_dns_enabled is false; otherwise deployment_dns_enabled is true. Corresponds to the JSON property deploymentDnsEnabled

Returns:

  • (Boolean)


1937
1938
1939
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1937

def deployment_dns_enabled
  @deployment_dns_enabled
end

#dns_zoneString

Optional. DNS zone name. Corresponds to the JSON property dnsZone

Returns:

  • (String)


1943
1944
1945
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1943

def dns_zone
  @dns_zone
end

#dns_zone_name_suffixString

Optional. DNS zone name suffix. Corresponds to the JSON property dnsZoneNameSuffix

Returns:

  • (String)


1948
1949
1950
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1948

def dns_zone_name_suffix
  @dns_zone_name_suffix
end

#internet_accessString

Corresponds to the JSON property internetAccess

Returns:

  • (String)


1953
1954
1955
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1953

def internet_access
  @internet_access
end

#network_projectString

Optional. Network project. Corresponds to the JSON property networkProject

Returns:

  • (String)


1958
1959
1960
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1958

def network_project
  @network_project
end

#region_nameString

Required. Region name. Corresponds to the JSON property regionName

Returns:

  • (String)


1963
1964
1965
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1963

def region_name
  @region_name
end

#subnet_nameString

Required. Subnet name. Corresponds to the JSON property subnetName

Returns:

  • (String)


1968
1969
1970
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1968

def subnet_name
  @subnet_name
end

#vpc_nameString

Required. VPC name. Corresponds to the JSON property vpcName

Returns:

  • (String)


1973
1974
1975
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1973

def vpc_name
  @vpc_name
end

#zone1_nameString

Required. Zone 1 name. Corresponds to the JSON property zone1Name

Returns:

  • (String)


1978
1979
1980
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1978

def zone1_name
  @zone1_name
end

#zone2_nameString

Optional. Zone 2 name. Corresponds to the JSON property zone2Name

Returns:

  • (String)


1983
1984
1985
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1983

def zone2_name
  @zone2_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1990

def update!(**args)
  @create_comms_firewall = args[:create_comms_firewall] if args.key?(:create_comms_firewall)
  @custom_tags = args[:custom_tags] if args.key?(:custom_tags)
  @deployment_dns_enabled = args[:deployment_dns_enabled] if args.key?(:deployment_dns_enabled)
  @dns_zone = args[:dns_zone] if args.key?(:dns_zone)
  @dns_zone_name_suffix = args[:dns_zone_name_suffix] if args.key?(:dns_zone_name_suffix)
  @internet_access = args[:internet_access] if args.key?(:internet_access)
  @network_project = args[:network_project] if args.key?(:network_project)
  @region_name = args[:region_name] if args.key?(:region_name)
  @subnet_name = args[:subnet_name] if args.key?(:subnet_name)
  @vpc_name = args[:vpc_name] if args.key?(:vpc_name)
  @zone1_name = args[:zone1_name] if args.key?(:zone1_name)
  @zone2_name = args[:zone2_name] if args.key?(:zone2_name)
end