Class: Google::Apis::LookerV1::Instance

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

Overview

A Looker instance. LINT.IfChange

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Instance

Returns a new instance of Instance.



729
730
731
# File 'lib/google/apis/looker_v1/classes.rb', line 729

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

Instance Attribute Details

#admin_settingsGoogle::Apis::LookerV1::AdminSettings

Looker instance Admin settings fields. Corresponds to the JSON property adminSettings



603
604
605
# File 'lib/google/apis/looker_v1/classes.rb', line 603

def admin_settings
  @admin_settings
end

#consumer_networkString

Network name in the consumer project. Format: projects/project/global/ networks/network`. Note that the consumer network may be in a different GCP project than the consumer project that is hosting the Looker Instance. Corresponds to the JSON propertyconsumerNetwork`

Returns:

  • (String)


610
611
612
# File 'lib/google/apis/looker_v1/classes.rb', line 610

def consumer_network
  @consumer_network
end

#create_timeString

Output only. The time when the Looker instance provisioning was first requested. Corresponds to the JSON property createTime

Returns:

  • (String)


616
617
618
# File 'lib/google/apis/looker_v1/classes.rb', line 616

def create_time
  @create_time
end

#custom_domainGoogle::Apis::LookerV1::CustomDomain

Custom domain information. Corresponds to the JSON property customDomain



621
622
623
# File 'lib/google/apis/looker_v1/classes.rb', line 621

def custom_domain
  @custom_domain
end

#deny_maintenance_periodGoogle::Apis::LookerV1::DenyMaintenancePeriod

Specifies the maintenance denial period. Corresponds to the JSON property denyMaintenancePeriod



626
627
628
# File 'lib/google/apis/looker_v1/classes.rb', line 626

def deny_maintenance_period
  @deny_maintenance_period
end

#egress_public_ipString

Output only. Public Egress IP (IPv4). Corresponds to the JSON property egressPublicIp

Returns:

  • (String)


631
632
633
# File 'lib/google/apis/looker_v1/classes.rb', line 631

def egress_public_ip
  @egress_public_ip
end

#encryption_configGoogle::Apis::LookerV1::EncryptionConfig

Encryption configuration (i.e. CMEK). Corresponds to the JSON property encryptionConfig



636
637
638
# File 'lib/google/apis/looker_v1/classes.rb', line 636

def encryption_config
  @encryption_config
end

#ingress_private_ipString

Output only. Private Ingress IP (IPv4). Corresponds to the JSON property ingressPrivateIp

Returns:

  • (String)


641
642
643
# File 'lib/google/apis/looker_v1/classes.rb', line 641

def ingress_private_ip
  @ingress_private_ip
end

#ingress_public_ipString

Output only. Public Ingress IP (IPv4). Corresponds to the JSON property ingressPublicIp

Returns:

  • (String)


646
647
648
# File 'lib/google/apis/looker_v1/classes.rb', line 646

def ingress_public_ip
  @ingress_public_ip
end

#last_deny_maintenance_periodGoogle::Apis::LookerV1::DenyMaintenancePeriod

Specifies the maintenance denial period. Corresponds to the JSON property lastDenyMaintenancePeriod



651
652
653
# File 'lib/google/apis/looker_v1/classes.rb', line 651

def last_deny_maintenance_period
  @last_deny_maintenance_period
end

#linked_lsp_project_numberFixnum

Optional. Linked Google Cloud Project Number for Looker Studio Pro. Corresponds to the JSON property linkedLspProjectNumber

Returns:

  • (Fixnum)


656
657
658
# File 'lib/google/apis/looker_v1/classes.rb', line 656

def linked_lsp_project_number
  @linked_lsp_project_number
end

#looker_uriString

Output only. Looker instance URI which can be used to access the Looker Instance UI. Corresponds to the JSON property lookerUri

Returns:

  • (String)


662
663
664
# File 'lib/google/apis/looker_v1/classes.rb', line 662

def looker_uri
  @looker_uri
end

#looker_versionString

Output only. The Looker version that the instance is using. Corresponds to the JSON property lookerVersion

Returns:

  • (String)


667
668
669
# File 'lib/google/apis/looker_v1/classes.rb', line 667

def looker_version
  @looker_version
end

#maintenance_scheduleGoogle::Apis::LookerV1::MaintenanceSchedule

Published upcoming future maintenance schedule. Corresponds to the JSON property maintenanceSchedule



672
673
674
# File 'lib/google/apis/looker_v1/classes.rb', line 672

def maintenance_schedule
  @maintenance_schedule
end

#maintenance_windowGoogle::Apis::LookerV1::MaintenanceWindow

Specifies the recurring maintenance window. Corresponds to the JSON property maintenanceWindow



677
678
679
# File 'lib/google/apis/looker_v1/classes.rb', line 677

def maintenance_window
  @maintenance_window
end

#nameString

Output only. Format: projects/project/locations/location/instances/ instance`. Corresponds to the JSON propertyname`

Returns:

  • (String)


683
684
685
# File 'lib/google/apis/looker_v1/classes.rb', line 683

def name
  @name
end

#oauth_configGoogle::Apis::LookerV1::OAuthConfig

Looker instance OAuth login settings. Corresponds to the JSON property oauthConfig



688
689
690
# File 'lib/google/apis/looker_v1/classes.rb', line 688

def oauth_config
  @oauth_config
end

#platform_editionString

Platform edition. Corresponds to the JSON property platformEdition

Returns:

  • (String)


693
694
695
# File 'lib/google/apis/looker_v1/classes.rb', line 693

def platform_edition
  @platform_edition
end

#private_ip_enabledBoolean Also known as: private_ip_enabled?

Whether private IP is enabled on the Looker instance. Corresponds to the JSON property privateIpEnabled

Returns:

  • (Boolean)


698
699
700
# File 'lib/google/apis/looker_v1/classes.rb', line 698

def private_ip_enabled
  @private_ip_enabled
end

#public_ip_enabledBoolean Also known as: public_ip_enabled?

Whether public IP is enabled on the Looker instance. Corresponds to the JSON property publicIpEnabled

Returns:

  • (Boolean)


704
705
706
# File 'lib/google/apis/looker_v1/classes.rb', line 704

def public_ip_enabled
  @public_ip_enabled
end

#reserved_rangeString

Name of a reserved IP address range within the Instance.consumer_network, to be used for private services access connection. May or may not be specified in a create request. Corresponds to the JSON property reservedRange

Returns:

  • (String)


712
713
714
# File 'lib/google/apis/looker_v1/classes.rb', line 712

def reserved_range
  @reserved_range
end

#stateString

Output only. The state of the instance. Corresponds to the JSON property state

Returns:

  • (String)


717
718
719
# File 'lib/google/apis/looker_v1/classes.rb', line 717

def state
  @state
end

#update_timeString

Output only. The time when the Looker instance was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


722
723
724
# File 'lib/google/apis/looker_v1/classes.rb', line 722

def update_time
  @update_time
end

#user_metadataGoogle::Apis::LookerV1::UserMetadata

Metadata about users for a Looker instance. Corresponds to the JSON property userMetadata



727
728
729
# File 'lib/google/apis/looker_v1/classes.rb', line 727

def 
  @user_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
# File 'lib/google/apis/looker_v1/classes.rb', line 734

def update!(**args)
  @admin_settings = args[:admin_settings] if args.key?(:admin_settings)
  @consumer_network = args[:consumer_network] if args.key?(:consumer_network)
  @create_time = args[:create_time] if args.key?(:create_time)
  @custom_domain = args[:custom_domain] if args.key?(:custom_domain)
  @deny_maintenance_period = args[:deny_maintenance_period] if args.key?(:deny_maintenance_period)
  @egress_public_ip = args[:egress_public_ip] if args.key?(:egress_public_ip)
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
  @ingress_private_ip = args[:ingress_private_ip] if args.key?(:ingress_private_ip)
  @ingress_public_ip = args[:ingress_public_ip] if args.key?(:ingress_public_ip)
  @last_deny_maintenance_period = args[:last_deny_maintenance_period] if args.key?(:last_deny_maintenance_period)
  @linked_lsp_project_number = args[:linked_lsp_project_number] if args.key?(:linked_lsp_project_number)
  @looker_uri = args[:looker_uri] if args.key?(:looker_uri)
  @looker_version = args[:looker_version] if args.key?(:looker_version)
  @maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
  @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
  @name = args[:name] if args.key?(:name)
  @oauth_config = args[:oauth_config] if args.key?(:oauth_config)
  @platform_edition = args[:platform_edition] if args.key?(:platform_edition)
  @private_ip_enabled = args[:private_ip_enabled] if args.key?(:private_ip_enabled)
  @public_ip_enabled = args[:public_ip_enabled] if args.key?(:public_ip_enabled)
  @reserved_range = args[:reserved_range] if args.key?(:reserved_range)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
  @user_metadata = args[:user_metadata] if args.key?(:user_metadata)
end