Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1Resource

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV1Resource

Returns a new instance of GoogleCloudSecuritycenterV1Resource.



4140
4141
4142
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4140

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

Instance Attribute Details

#adc_applicationGoogle::Apis::SecuritycenterV1::AdcApplication

Corresponds to the JSON property adcApplication



4043
4044
4045
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4043

def adc_application
  @adc_application
end

#adc_application_templateGoogle::Apis::SecuritycenterV1::AdcApplicationTemplateRevision

Corresponds to the JSON property adcApplicationTemplate



4048
4049
4050
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4048

def adc_application_template
  @adc_application_template
end

#adc_shared_templateGoogle::Apis::SecuritycenterV1::AdcSharedTemplateRevision

Corresponds to the JSON property adcSharedTemplate



4053
4054
4055
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4053

def adc_shared_template
  @adc_shared_template
end

#applicationGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceApplication

Corresponds to the JSON property application



4058
4059
4060
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4058

def application
  @application
end

#aws_metadataGoogle::Apis::SecuritycenterV1::AwsMetadata

Corresponds to the JSON property awsMetadata



4063
4064
4065
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4063

def 
  @aws_metadata
end

#azure_metadataGoogle::Apis::SecuritycenterV1::AzureMetadata

Corresponds to the JSON property azureMetadata



4068
4069
4070
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4068

def 
  @azure_metadata
end

#cloud_providerString

Corresponds to the JSON property cloudProvider

Returns:

  • (String)


4073
4074
4075
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4073

def cloud_provider
  @cloud_provider
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


4078
4079
4080
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4078

def display_name
  @display_name
end

#foldersArray<Google::Apis::SecuritycenterV1::Folder>

Corresponds to the JSON property folders



4083
4084
4085
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4083

def folders
  @folders
end

#locationString

Corresponds to the JSON property location

Returns:

  • (String)


4088
4089
4090
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4088

def location
  @location
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


4093
4094
4095
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4093

def name
  @name
end

#organizationString

Corresponds to the JSON property organization

Returns:

  • (String)


4098
4099
4100
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4098

def organization
  @organization
end

#parentString

Corresponds to the JSON property parent

Returns:

  • (String)


4103
4104
4105
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4103

def parent
  @parent
end

#parent_display_nameString

Corresponds to the JSON property parentDisplayName

Returns:

  • (String)


4108
4109
4110
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4108

def parent_display_name
  @parent_display_name
end

#projectString

Corresponds to the JSON property project

Returns:

  • (String)


4113
4114
4115
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4113

def project
  @project
end

#project_display_nameString

Corresponds to the JSON property projectDisplayName

Returns:

  • (String)


4118
4119
4120
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4118

def project_display_name
  @project_display_name
end

#resource_pathGoogle::Apis::SecuritycenterV1::ResourcePath

Corresponds to the JSON property resourcePath



4123
4124
4125
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4123

def resource_path
  @resource_path
end

#resource_path_stringString

Corresponds to the JSON property resourcePathString

Returns:

  • (String)


4128
4129
4130
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4128

def resource_path_string
  @resource_path_string
end

#serviceString

Corresponds to the JSON property service

Returns:

  • (String)


4133
4134
4135
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4133

def service
  @service
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


4138
4139
4140
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4138

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4145

def update!(**args)
  @adc_application = args[:adc_application] if args.key?(:adc_application)
  @adc_application_template = args[:adc_application_template] if args.key?(:adc_application_template)
  @adc_shared_template = args[:adc_shared_template] if args.key?(:adc_shared_template)
  @application = args[:application] if args.key?(:application)
  @aws_metadata = args[:aws_metadata] if args.key?(:aws_metadata)
  @azure_metadata = args[:azure_metadata] if args.key?(:azure_metadata)
  @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
  @display_name = args[:display_name] if args.key?(:display_name)
  @folders = args[:folders] if args.key?(:folders)
  @location = args[:location] if args.key?(:location)
  @name = args[:name] if args.key?(:name)
  @organization = args[:organization] if args.key?(:organization)
  @parent = args[:parent] if args.key?(:parent)
  @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
  @project = args[:project] if args.key?(:project)
  @project_display_name = args[:project_display_name] if args.key?(:project_display_name)
  @resource_path = args[:resource_path] if args.key?(:resource_path)
  @resource_path_string = args[:resource_path_string] if args.key?(:resource_path_string)
  @service = args[:service] if args.key?(:service)
  @type = args[:type] if args.key?(:type)
end