Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Access

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Access

Returns a new instance of GoogleCloudSecuritycenterV2Access.



4308
4309
4310
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4308

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

Instance Attribute Details

#caller_ipString

Corresponds to the JSON property callerIp

Returns:

  • (String)


4256
4257
4258
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4256

def caller_ip
  @caller_ip
end

#caller_ip_geoGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Geolocation

Corresponds to the JSON property callerIpGeo



4261
4262
4263
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4261

def caller_ip_geo
  @caller_ip_geo
end

#method_nameString

Corresponds to the JSON property methodName

Returns:

  • (String)


4266
4267
4268
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4266

def method_name
  @method_name
end

#principal_emailString

Corresponds to the JSON property principalEmail

Returns:

  • (String)


4271
4272
4273
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4271

def principal_email
  @principal_email
end

#principal_subjectString

Corresponds to the JSON property principalSubject

Returns:

  • (String)


4276
4277
4278
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4276

def principal_subject
  @principal_subject
end

#service_account_delegation_infoArray<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo>

Corresponds to the JSON property serviceAccountDelegationInfo



4281
4282
4283
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4281

def 
  @service_account_delegation_info
end

#service_account_key_nameString

Corresponds to the JSON property serviceAccountKeyName

Returns:

  • (String)


4286
4287
4288
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4286

def 
  @service_account_key_name
end

#service_nameString

Corresponds to the JSON property serviceName

Returns:

  • (String)


4291
4292
4293
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4291

def service_name
  @service_name
end

#user_agentString

Corresponds to the JSON property userAgent

Returns:

  • (String)


4296
4297
4298
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4296

def user_agent
  @user_agent
end

#user_agent_familyString

Corresponds to the JSON property userAgentFamily

Returns:

  • (String)


4301
4302
4303
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4301

def user_agent_family
  @user_agent_family
end

#user_nameString

Corresponds to the JSON property userName

Returns:

  • (String)


4306
4307
4308
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4306

def user_name
  @user_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4313

def update!(**args)
  @caller_ip = args[:caller_ip] if args.key?(:caller_ip)
  @caller_ip_geo = args[:caller_ip_geo] if args.key?(:caller_ip_geo)
  @method_name = args[:method_name] if args.key?(:method_name)
  @principal_email = args[:principal_email] if args.key?(:principal_email)
  @principal_subject = args[:principal_subject] if args.key?(:principal_subject)
  @service_account_delegation_info = args[:service_account_delegation_info] if args.key?(:service_account_delegation_info)
  @service_account_key_name = args[:service_account_key_name] if args.key?(:service_account_key_name)
  @service_name = args[:service_name] if args.key?(:service_name)
  @user_agent = args[:user_agent] if args.key?(:user_agent)
  @user_agent_family = args[:user_agent_family] if args.key?(:user_agent_family)
  @user_name = args[:user_name] if args.key?(:user_name)
end