Class: Google::Apis::ManagedidentitiesV1alpha1::Domain

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Domain

Returns a new instance of Domain.



251
252
253
# File 'generated/google/apis/managedidentities_v1alpha1/classes.rb', line 251

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

Instance Attribute Details

#authorized_networksArray<String>

Optional. The full names of the Google Compute Engine networks to which the instance is connected. Network can be added using UpdateDomain later. Domain is only available on network part of authorized_networks. Caller needs to make sure that CIDR subnets do not overlap between networks, else domain creation will fail. Corresponds to the JSON property authorizedNetworks

Returns:

  • (Array<String>)


179
180
181
# File 'generated/google/apis/managedidentities_v1alpha1/classes.rb', line 179

def authorized_networks
  @authorized_networks
end

#create_timeString

Output only. The time the instance was created. Synthetic field is populated automatically by CCFE. go/ccfe-synthetic-field-user-guide Corresponds to the JSON property createTime

Returns:

  • (String)


185
186
187
# File 'generated/google/apis/managedidentities_v1alpha1/classes.rb', line 185

def create_time
  @create_time
end

#fqdnString

Output only. Fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory that is set up on an internal network. Corresponds to the JSON property fqdn

Returns:

  • (String)


192
193
194
# File 'generated/google/apis/managedidentities_v1alpha1/classes.rb', line 192

def fqdn
  @fqdn
end

#labelsHash<String,String>

Optional. Resource labels to represent user provided metadata Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


197
198
199
# File 'generated/google/apis/managedidentities_v1alpha1/classes.rb', line 197

def labels
  @labels
end

#locationsArray<String>

Required. Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block. Corresponds to the JSON property locations

Returns:

  • (Array<String>)


206
207
208
# File 'generated/google/apis/managedidentities_v1alpha1/classes.rb', line 206

def locations
  @locations
end

#managed_identities_admin_nameString

Optional. Name of customer-visible admin used to perform Active Directory operations. If not specified setupadmin would be used. Corresponds to the JSON property managedIdentitiesAdminName

Returns:

  • (String)


212
213
214
# File 'generated/google/apis/managedidentities_v1alpha1/classes.rb', line 212

def managed_identities_admin_name
  @managed_identities_admin_name
end

#nameString

Output only. Unique name of the domain in this scope including projects and location using the form: projects/project_id/locations/global/domains/domain_name`. Corresponds to the JSON propertyname`

Returns:

  • (String)


219
220
221
# File 'generated/google/apis/managedidentities_v1alpha1/classes.rb', line 219

def name
  @name
end

#reserved_ip_rangeString

Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks]. Corresponds to the JSON property reservedIpRange

Returns:

  • (String)


227
228
229
# File 'generated/google/apis/managedidentities_v1alpha1/classes.rb', line 227

def reserved_ip_range
  @reserved_ip_range
end

#stateString

Output only. The current state of this domain. Corresponds to the JSON property state

Returns:

  • (String)


232
233
234
# File 'generated/google/apis/managedidentities_v1alpha1/classes.rb', line 232

def state
  @state
end

#status_messageString

Output only. Additional information about the current status of this domain, if available. Corresponds to the JSON property statusMessage

Returns:

  • (String)


238
239
240
# File 'generated/google/apis/managedidentities_v1alpha1/classes.rb', line 238

def status_message
  @status_message
end

#trustsArray<Google::Apis::ManagedidentitiesV1alpha1::TrustProp>

Output only. The current trusts associated with the domain. Corresponds to the JSON property trusts



243
244
245
# File 'generated/google/apis/managedidentities_v1alpha1/classes.rb', line 243

def trusts
  @trusts
end

#update_timeString

Output only. Last update time. Synthetic field is populated automatically by CCFE. Corresponds to the JSON property updateTime

Returns:

  • (String)


249
250
251
# File 'generated/google/apis/managedidentities_v1alpha1/classes.rb', line 249

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



256
257
258
259
260
261
262
263
264
265
266
267
268
269
# File 'generated/google/apis/managedidentities_v1alpha1/classes.rb', line 256

def update!(**args)
  @authorized_networks = args[:authorized_networks] if args.key?(:authorized_networks)
  @create_time = args[:create_time] if args.key?(:create_time)
  @fqdn = args[:fqdn] if args.key?(:fqdn)
  @labels = args[:labels] if args.key?(:labels)
  @locations = args[:locations] if args.key?(:locations)
  @managed_identities_admin_name = args[:managed_identities_admin_name] if args.key?(:managed_identities_admin_name)
  @name = args[:name] if args.key?(:name)
  @reserved_ip_range = args[:reserved_ip_range] if args.key?(:reserved_ip_range)
  @state = args[:state] if args.key?(:state)
  @status_message = args[:status_message] if args.key?(:status_message)
  @trusts = args[:trusts] if args.key?(:trusts)
  @update_time = args[:update_time] if args.key?(:update_time)
end