class Google::Apis::ManagedidentitiesV1::Peering

Represents a Managed Service for Microsoft Active Directory Peering.

Attributes

authorized_network[RW]

Required. The full names of the Google Compute Engine [networks](/compute/docs/ networks-and-firewalls#networks) to which the instance is connected. Caller needs to make sure that CIDR subnets do not overlap between networks, else peering creation will fail. Corresponds to the JSON property `authorizedNetwork` @return [String]

create_time[RW]

Output only. The time the instance was created. Corresponds to the JSON property `createTime` @return [String]

domain_resource[RW]

Required. Full domain resource path for the Managed AD Domain involved in peering. The resource path should be in the form: `projects/`project_id`/ locations/global/domains/`domain_name“ Corresponds to the JSON property `domainResource` @return [String]

labels[RW]

Optional. Resource labels to represent user-provided metadata. Corresponds to the JSON property `labels` @return [Hash<String,String>]

name[RW]

Output only. Unique name of the peering in this scope including projects and location using the form: `projects/`project_id`/locations/global/peerings/` peering_id“. Corresponds to the JSON property `name` @return [String]

state[RW]

Output only. The current state of this Peering. Corresponds to the JSON property `state` @return [String]

status_message[RW]

Output only. Additional information about the current status of this peering, if available. Corresponds to the JSON property `statusMessage` @return [String]

update_time[RW]

Output only. Last update time. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/managedidentities_v1/classes.rb, line 1552
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/managedidentities_v1/classes.rb, line 1557
def update!(**args)
  @authorized_network = args[:authorized_network] if args.key?(:authorized_network)
  @create_time = args[:create_time] if args.key?(:create_time)
  @domain_resource = args[:domain_resource] if args.key?(:domain_resource)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @state = args[:state] if args.key?(:state)
  @status_message = args[:status_message] if args.key?(:status_message)
  @update_time = args[:update_time] if args.key?(:update_time)
end